Revision: | 1.1 |
Committed: | Mon Nov 24 17:28:07 2003 UTC (20 years, 7 months ago) by pcg |
Branch: | MAIN |
CVS Tags: | rel-2_0, rel-1-9, stable, rel-1-3, rel-1-2, rxvt-2-0, rel-1_9 |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | pcg | 1.1 | #!/bin/sh |
2 | |||
3 | # | ||
4 | # run autoheader | ||
5 | # | ||
6 | newah=0 | ||
7 | autoheader --version | grep -q autoheader && newah=1 | ||
8 | |||
9 | if test $newah = 1; then | ||
10 | cmd="autoheader --include=autoconf autoconf/configure.in" | ||
11 | else | ||
12 | cmd="autoheader --localdir=autoconf autoconf/configure.in > autoconf/config.h.in" | ||
13 | fi | ||
14 | echo $cmd | ||
15 | eval $cmd | ||
16 | chmod 644 autoconf/config.h.in | ||
17 | |||
18 | # | ||
19 | # run autoconf | ||
20 | # | ||
21 | newac=0 | ||
22 | autoconf --version | grep -q autoconf && newac=1 | ||
23 | |||
24 | if test $newac = 1; then | ||
25 | cmd="autoconf --include=autoconf autoconf/configure.in > configure" | ||
26 | else | ||
27 | cmd="autoconf --localdir=autoconf autoconf/configure.in > configure" | ||
28 | fi | ||
29 | echo $cmd | ||
30 | eval $cmd | ||
31 | chmod 755 configure |