From 365bb11df4a8b2a1afc15d5067aae5a04d7550fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Fri, 23 Aug 2002 21:12:32 +0000 Subject: Allow running autogen.sh on systems that do not have gtk.m4 installed. That way it should be possible to build tethereal from cvs. Also, Fallback files may be added to the aclocal-fallback/ directory in case other optional packages come up. svn path=/trunk/; revision=6071 --- autogen.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 5b1766db02..fca12dafd2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,7 +2,7 @@ # # Run this to generate all the initial makefiles. # -# $Id: autogen.sh,v 1.15 2001/12/09 21:05:54 guy Exp $ +# $Id: autogen.sh,v 1.16 2002/08/23 21:12:07 jmayer Exp $ DIE=true PROJECT="Ethereal" @@ -92,7 +92,12 @@ for dir in . epan wiretap ; do echo processing $dir ( cd $dir - aclocalinclude="$ACLOCAL_FLAGS $aclocal_flags"; \ + if [ "$dir" = "." ] ; then + topdir=. + else + topdir=.. + fi + aclocalinclude="$ACLOCAL_FLAGS $aclocal_flags -I $topdir/aclocal-fallback"; \ echo aclocal $aclocalinclude aclocal $aclocalinclude || exit 1 echo autoheader -- cgit v1.2.3