aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2002-08-23 21:12:32 +0000
committerJörg Mayer <jmayer@loplof.de>2002-08-23 21:12:32 +0000
commit365bb11df4a8b2a1afc15d5067aae5a04d7550fb (patch)
treeadfe2fdb3aa27433364f9dd18eaa3b356e65e971 /autogen.sh
parent9ff9891c02ffd8437f5ea88b59779139b9b45fad (diff)
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
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh9
1 files changed, 7 insertions, 2 deletions
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