Source
1
1
#!/bin/sh
2
2
3
3
# Run this script to generate 'configure'
4
4
5
+
usage()
6
+
{
7
+
echo "usage: $0 [tests]"
8
+
exit 1
9
+
}
10
+
11
+
case $# in
12
+
0)
13
+
# disable tests
14
+
rm -f m4/conf_tests.m4
15
+
;;
16
+
1)
17
+
[ $1 = "tests" ] || usage
18
+
19
+
# enable tests
20
+
cp -f tests/conf_tests.m4 m4/ || exit $?
21
+
;;
22
+
*)
23
+
usage
24
+
;;
25
+
esac
26
+
5
27
aclocal -I m4
6
28
autoconf
7
29
autoheader
8
30
automake -a
9
31
automake