Commit | Line | Data |
---|---|---|
65545721 ML |
1 | #!/bin/sh |
2 | ||
3 | temp=/tmp/guile-aclocal.$$ | |
4 | trap "rm -rf $temp" 0 1 2 15 | |
5 | ||
6 | mkdir $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 | |
13 | cp `aclocal --print-ac-dir`/*.m4 $temp | |
14 | ||
15 | # remove the .m4 files installed by Guile from $temp, so they don't | |
16 | # cause conflicts | |
17 | rm -f ${temp}/guile.m4 ${temp}/qthreads.m4 | |
18 | ||
19 | aclocal --acdir=$temp -I . |