Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script.
|
---|
2 | AC_INIT(acgeneral.m4)
|
---|
3 |
|
---|
4 | AC_ARG_PROGRAM
|
---|
5 |
|
---|
6 | dnl We use a path for GNU m4 so even if users have another m4 first in
|
---|
7 | dnl their path, the installer can configure with a path that has GNU m4
|
---|
8 | dnl first and get that path embedded in the installed autoconf and
|
---|
9 | dnl autoheader scripts.
|
---|
10 | AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
---|
11 | AC_PROG_AWK
|
---|
12 |
|
---|
13 | dnl We use a path for perl so the #! line in autoscan will work.
|
---|
14 | AC_PATH_PROG(PERL, perl, no)
|
---|
15 | AC_SUBST(PERL)dnl
|
---|
16 | AC_SUBST(SCRIPTS)dnl
|
---|
17 | if test "$PERL" != no; then
|
---|
18 | SCRIPTS=autoscan
|
---|
19 | else
|
---|
20 | AC_MSG_WARN(autoscan will not be built since perl is not found)
|
---|
21 | fi
|
---|
22 |
|
---|
23 | AC_PROG_INSTALL
|
---|
24 |
|
---|
25 | # Work with the GNU or Cygnus source tree layout.
|
---|
26 | if test -f $srcdir/standards.texi; then
|
---|
27 | standards_info=standards.info standards_dvi=standards.dvi
|
---|
28 | fi
|
---|
29 | AC_SUBST(standards_info)dnl
|
---|
30 | AC_SUBST(standards_dvi)dnl
|
---|
31 |
|
---|
32 | AC_OUTPUT(Makefile testsuite/Makefile)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.