Cleanups.
[tinc] / autogen.sh
index 6375e6f..09e5ecd 100644 (file)
@@ -94,11 +94,15 @@ do
       aclocalinclude="$ACLOCAL_FLAGS"
       for k in $macrodirs; do
        if test -d $k; then
+         if test -f $k/Makefile.am.in; then
+           make -C $k -f Makefile.am.in Makefile.am
+         fi
           aclocalinclude="$aclocalinclude -I $k"
        ##else 
        ##  echo "**Warning**: No such directory \`$k'.  Ignored."
         fi
       done
+      touch ChangeLog
       if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then
        if grep "sed.*POTFILES" configure.in >/dev/null; then
          : do nothing -- we still have an old unmodified configure.in