aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-23 21:12:32 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-23 21:12:32 +0000
commitecbb8aad039fdb567bebbe4ddc1bb960ffda5d95 (patch)
treeadfe2fdb3aa27433364f9dd18eaa3b356e65e971 /autogen.sh
parent83a388be904a5f469559c3397425a10070d6544a (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6071 f5534014-38df-0310-8fa8-9805f1628bb7
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