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