Bug fixes.
[bpt/guile.git] / guile-aclocal.sh
CommitLineData
65545721
ML
1#!/bin/sh
2
3temp=/tmp/guile-aclocal.$$
4trap "rm -rf $temp" 0 1 2 15
5
6mkdir $temp
7[ -d $temp ] || {
8 echo "guile-aclocal.sh: cannot create temp directory"
9 exit 1
10}
11
12# copy all installed aclocal files into $temp
13cp `aclocal --print-ac-dir`/*.m4 $temp
14
15# remove the .m4 files installed by Guile from $temp, so they don't
16# cause conflicts
17rm -f ${temp}/guile.m4 ${temp}/qthreads.m4
18
19aclocal --acdir=$temp -I .