39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
--- configure.orig 2013-02-14 14:30:22.000000000 +0100
|
|
+++ configure 2013-06-28 08:33:36.000000000 +0200
|
|
@@ -17696,6 +17696,9 @@
|
|
*-apple-darwin* )
|
|
CFLAGS="${CFLAGS} -fno-common -Wall"
|
|
;;
|
|
+ *alpha*-freebsd* )
|
|
+ CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall"
|
|
+ ;;
|
|
*-freebsd* )
|
|
CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math"
|
|
;;
|
|
@@ -21518,7 +21521,9 @@
|
|
|
|
LUA_INCLUDES=""
|
|
LUA_LIBS=""
|
|
- LUA_INSTALL_DIR=""
|
|
+ if test -z "$LUA_INSTALL_DIR" ; then
|
|
+ LUA_INSTALL_DIR=""
|
|
+ fi
|
|
|
|
if test -n "$lua_inc"; then
|
|
CFLAGS="$CFLAGS -I$lua_inc"
|
|
@@ -21580,13 +21585,13 @@
|
|
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
|
if test "x$?" == "x0" ; then
|
|
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
|
- LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
|
|
+ LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags-only-I lua$l`
|
|
LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
|
|
LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/`$PKGCONFIG --variable=V lua`"
|
|
|
|
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
|
|
if test "x$?" == "x0"; then
|
|
- LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
|
+ LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags-only-I lualib$l`
|
|
LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
|
fi
|
|
break
|