From 271be4000a6f9e9bc254f73175efb3f5d2ed9609 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 3 May 2002 09:08:41 +0000 Subject: [PATCH] Rewrite as single call to aclocal. --- guile-aclocal.sh | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/guile-aclocal.sh b/guile-aclocal.sh index d0b49c746..017011bfb 100755 --- a/guile-aclocal.sh +++ b/guile-aclocal.sh @@ -1,19 +1,7 @@ #!/bin/sh -temp=/tmp/guile-aclocal.$$ -trap "rm -rf $temp" 0 1 2 15 +# This trivial script exists to have a single place where the +# invocation of aclocal is specified. It is called from both +# autogen.sh and the Makefile. -mkdir $temp -[ -d $temp ] || { - echo "guile-aclocal.sh: cannot create temp directory" - exit 1 -} - -# copy all installed aclocal files into $temp -cp `aclocal --print-ac-dir`/*.m4 $temp - -# remove the .m4 files installed by Guile from $temp, so they don't -# cause conflicts -rm -f ${temp}/guile.m4 ${temp}/qthreads.m4 - -aclocal --acdir=$temp -I . +aclocal -I guile-config