Fixed generating LDFLAGS in configure.in
This commit is contained in:
parent
fb71b5a463
commit
b3097da7eb
1 changed files with 4 additions and 4 deletions
|
@ -6,6 +6,10 @@ CXXFLAGS=$CXXFLAGS
|
|||
AC_PROG_CXX
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
test "$prefix" = "NONE" && prefix=/usr/local
|
||||
datarootdir=.
|
||||
test "$datadir" = "NONE" && datadir=$datarootdir
|
||||
|
||||
PATH=$prefix/bin:$PATH
|
||||
LDFLAGS="$LDFLAGS -L$prefix/lib -L$prefix/bin"
|
||||
|
||||
|
@ -243,10 +247,6 @@ if test "$ARCH" = "win32"; then
|
|||
fi
|
||||
fi
|
||||
|
||||
test "$prefix" = "NONE" && prefix=/usr/local
|
||||
datarootdir=.
|
||||
test "$datadir" = "NONE" && datadir=$datarootdir
|
||||
|
||||
dnl --- LUA includes -----------
|
||||
AC_ARG_WITH(lua-includes, [ --with-lua-includes=DIR [Location of lua include directiories
|
||||
(default: check [PREFIX/include/lua51], [PREFIX/include/lua5.1] and [/usr/include/lua51], [/usr/include/lua5.1])]], LUA_INCLUDES="$withval")
|
||||
|
|
Loading…
Add table
Reference in a new issue