From a4908d56f4b3d80da1671603b34ec5e73f02aa8d Mon Sep 17 00:00:00 2001 From: Keisuke Nishida Date: Mon, 11 Sep 2000 09:18:49 +0000 Subject: [PATCH] * autogen.sh: Run aclocal with check where guile.m4 is installed. --- autogen.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 15741faed..7aa465ef2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,16 @@ #!/bin/sh -aclocal +if test -f "`aclocal --print-ac-dir`/guile.m4"; then + aclocal +else + if test -f "`guile-config info datadir`/aclocal/guile.m4"; then + aclocal -I "`guile-config info datadir`/aclocal" + else + echo "Cannot find guile.m4"; + exit; + fi +fi + autoheader automake -a autoconf -- 2.20.1