mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 06:49:18 -04:00
24 lines
727 B
Text
24 lines
727 B
Text
--- configure.orig Thu Nov 29 10:36:33 2007
|
|
+++ configure Sat Jan 12 16:57:04 2008
|
|
@@ -1488,7 +1488,7 @@
|
|
if test -z "$ac_cv_prog_CC"; then
|
|
ac_ct_CC=$CC
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
-set dummy gcc; ac_word=$2
|
|
+set dummy $CXX; ac_word=$2
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
@@ -6781,9 +6781,10 @@
|
|
no_lua="yes"
|
|
;;
|
|
*)
|
|
- CXXFLAGS="-I$with_liblua/include $CXXFLAGS"
|
|
- LDFLAGS="-L$with_liblua/lib $LDFLAGS"
|
|
+ CXXFLAGS="-I${LUA_INCDIR} $CXXFLAGS"
|
|
+ LDFLAGS="-L${LUA_LIBDIR} $LDFLAGS"
|
|
have_lua=yes
|
|
+ LIBLUA_LIBS="-llua"
|
|
;;
|
|
esac
|
|
|