-# From configure.in Revision: 1.153
+# From configure.in Revision: 1.154
RADIUSD_MAJOR_VERSION=0
RADIUSD_MINOR_VERSION=6
RADIUSD_VERSION="${RADIUSD_MAJOR_VERSION}.${RADIUSD_MINOR_VERSION}"
echo "$ac_t""no" 1>&6
fi
-if test "x$ac_cv_path_PERL" = "x" ; then
+if test "x$ac_cv_path_PERL" = "x"; then
echo "configure: warning: perl not found - Simultaneous-Use and checkrad.pl may not work" 1>&2
fi
# Extract the first word of "snmpget", so it can be a program name with args.
echo "$ac_t""no" 1>&6
fi
-if test "x$ac_cv_path_SNMPGET" = "x" ; then
+if test "x$ac_cv_path_SNMPGET" = "x"; then
echo "configure: warning: snmpget not found - Simultaneous-Use and checkrad.pl may not work" 1>&2
fi
echo "$ac_t""no" 1>&6
fi
-if test "x$ac_cv_path_SNMPWALK" = "x" ; then
+if test "x$ac_cv_path_SNMPWALK" = "x"; then
echo "configure: warning: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work" 1>&2
fi
top_builddir=`pwd`
-top_srcdir="$top_builddir"
+if test "x$INCLTDL" != "x";then
+ INCLTDL='-I${top_builddir}/''libltdl'
+fi
if test "$WITH_THREAD_POOL" = "yes"; then
s%@LIBLTDL@%$LIBLTDL%g
s%@INCLTDL@%$INCLTDL%g
s%@top_builddir@%$top_builddir%g
-s%@top_srcdir@%$top_srcdir%g
s%@MODULES@%$MODULES%g
s%@INSTALLSTRIP@%$INSTALLSTRIP%g
s%@USE_SHARED_LIBS@%$USE_SHARED_LIBS%g
CHECKRAD=checkrad.pl
AC_PATH_PROG(PERL, perl, /usr/local/bin/perl)
-if test [ "x$ac_cv_path_PERL" = "x" ]; then
+if test "x$ac_cv_path_PERL" = "x"; then
AC_MSG_WARN(perl not found - Simultaneous-Use and checkrad.pl may not work)
fi
AC_PATH_PROG(SNMPGET, snmpget)
-if test [ "x$ac_cv_path_SNMPGET" = "x" ]; then
+if test "x$ac_cv_path_SNMPGET" = "x"; then
AC_MSG_WARN(snmpget not found - Simultaneous-Use and checkrad.pl may not work)
fi
AC_PATH_PROG(SNMPWALK, snmpwalk)
-if test [ "x$ac_cv_path_SNMPWALK" = "x" ]; then
+if test "x$ac_cv_path_SNMPWALK" = "x"; then
AC_MSG_WARN(snmpwalk not found - Simultaneous-Use and checkrad.pl may not work)
fi
AC_SUBST(LIBLTDL)
AC_SUBST(INCLTDL)
top_builddir=`pwd`
-top_srcdir="$top_builddir"
AC_SUBST(top_builddir)
-AC_SUBST(top_srcdir)
+
+dnl #
+dnl # Work around stupid autoconf crap
+dnl #
+if test "x$INCLTDL" != "x";then
+ INCLTDL='-I${top_builddir}/''libltdl'
+fi
dnl import libtool stuff