configure: Add the module path defines as late as possible

In some (weird?) cases these flags could make the libperl and libsasl2
checks fail.

Thanks to darix for reporting this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1400 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-02-25 16:35:50 +00:00
parent e0a8f83e19
commit b0f94ba49c
2 changed files with 6 additions and 6 deletions
Vendored
+3 -3
View File
@@ -3082,9 +3082,6 @@ echo "$as_me: error: could not find dlopen. Try --disable-modules" >&2;}
# (dynamic_lookup might only work on 10.4 and later)
fi
appendCXX "-D_MODDIR_=\\\"${MODDIR}\\\""
appendCXX "-D_DATADIR_=\\\"${DATADIR}\\\""
if test -z "$NOPERL"; then
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
@@ -3274,6 +3271,9 @@ echo "$as_me: error: could not find libsasl2. Try --disable-sasl." >&2;}
fi
fi
appendCXX "-D_MODDIR_=\\\"${MODDIR}\\\""
appendCXX "-D_DATADIR_=\\\"${DATADIR}\\\""
fi
VERSION=0.067
+3 -3
View File
@@ -198,9 +198,6 @@ if test "$MODULES" = "yes"; then
# (dynamic_lookup might only work on 10.4 and later)
fi
appendCXX "-D_MODDIR_=\\\"${MODDIR}\\\""
appendCXX "-D_DATADIR_=\\\"${DATADIR}\\\""
if test -z "$NOPERL"; then
AC_PATH_PROG([PERL], [perl], [])
if test -n "$PERL"; then
@@ -217,6 +214,9 @@ if test "$MODULES" = "yes"; then
[: Dont let autoconf add -lsasl2, Makefile handles that],
AC_MSG_ERROR([could not find libsasl2. Try --disable-sasl.]))
fi
appendCXX "-D_MODDIR_=\\\"${MODDIR}\\\""
appendCXX "-D_DATADIR_=\\\"${DATADIR}\\\""
fi
VERSION=AC_PACKAGE_VERSION