Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_PREREQ(2.5) | |
3 | AC_INIT(Makefile.in) | |
4 | ||
5 | AC_PROG_INSTALL | |
6 | ||
1983cb9a RW |
7 | # Command-line options. |
8 | # Very limited version of AC_MAINTAINER_MODE. | |
9 | AC_ARG_ENABLE([maintainer-mode], | |
10 | [AC_HELP_STRING([--enable-maintainer-mode], | |
11 | [enable make rules and dependencies not useful (and | |
12 | sometimes confusing) to the casual installer])], | |
13 | [case ${enable_maintainer_mode} in | |
14 | yes) MAINT='' ;; | |
15 | no) MAINT='#' ;; | |
16 | *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;; | |
17 | esac | |
18 | maintainer_mode=${enableval}], | |
19 | [MAINT='#']) | |
20 | AC_SUBST([MAINT])dnl | |
21 | ||
108a6f8e CD |
22 | AC_SUBST(datarootdir) |
23 | AC_SUBST(docdir) | |
24 | AC_SUBST(htmldir) | |
31dd3154 | 25 | AC_SUBST(pdfdir) |
108a6f8e | 26 | |
252b5132 | 27 | AC_OUTPUT(Makefile) |