dnl # The version of the software
RADIUSD_MAJOR_VERSION=0
-RADIUSD_MINOR_VERSION=9-pre1
+RADIUSD_MINOR_VERSION=9.0-pre3
RADIUSD_VERSION="${RADIUSD_MAJOR_VERSION}.${RADIUSD_MINOR_VERSION}"
dnl #############################################################
dnl # Figure out where libtool is located,
dnl #
top_builddir=`pwd`
+export top_builddir
AC_MSG_RESULT([top_builddir=$top_builddir])
AC_SUBST(top_builddir)
AC_SUBST(LIBLTDL)
mysubdirs=
if test "x$EXPERIMENTAL" = "xyes"; then
- for foo in `find src/modules/rlm_* -maxdepth 1 -name configure -print`; do
- bar=`echo $foo | sed 's%/configure$%%g'`
- mysubdirs="$mysubdirs $bar"
- done
+ bar=`ls -1 src/modules/rlm_*/configure | sed 's%/configure%%'`
+ dnl # get rid of LF's.
+ mysubdirs=`echo $bar`
else
- dnl #
- dnl # Find 'configure' in ONLY the stable modules
- dnl #
- for foo in `find \`cat src/modules/stable | sed 's%rlm%src/modules/rlm%g'\` -maxdepth 1 -name configure -print`; do
- bar=`echo $foo | sed 's%/configure$%%g'`
- mysubdirs="$mysubdirs $bar"
+ dnl #
+ dnl # Find 'configure' in ONLY the stable modules
+ dnl #
+ for bar in `cat src/modules/stable`; do
+ if test -f src/modules/$bar/configure; then
+ mysubdirs="$mysubdirs src/modules/$bar"
+ fi
done
fi
dnl #############################################################
MODULES=
if test "x$EXPERIMENTAL" = "xyes"; then
- for foo in `ls src/modules | grep rlm_`; do
+ for foo in `ls -1d src/modules | grep rlm_`; do
MODULES="$MODULES $foo"
done
else