X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=autogen.sh;h=344fbfa09b37504fdfa277658378f173bec370af;hp=6375e6f88413872e8594a2777f4493a0d5e59147;hb=b3074590b184c141419cf4926820dc0d78380535;hpb=62d5384ee01ae818906f2f8ba1456372a13a2420 diff --git a/autogen.sh b/autogen.sh index 6375e6f8..344fbfa0 100644 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ DIE=0 -srcdir="`pwd`" +srcdir="`/bin/pwd`" (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo @@ -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