New build path variable
[freeradius.git] / autogen.sh
index 02d81c7..9cba642 100755 (executable)
@@ -6,7 +6,8 @@ cd $parentdir
 parentdir=`pwd`
 
 libtoolize -f -c
-aclocal
+#aclocal
+autoheader
 autoconf
 
 mysubdirs="$mysubdirs `find src/modules/ -name configure -print | sed 's%/configure%%'`"
@@ -15,5 +16,6 @@ mysubdirs=`echo $mysubdirs`
 for F in $mysubdirs
 do
        echo "Configuring in $F..."
+       (cd $F && grep "^AC_CONFIG_HEADER" configure.in > /dev/null && autoheader -I$parentdir)
        (cd $F && autoconf -I$parentdir)
 done