| 1 | dnl Process this file with autoconf to produce a configure script. |
| 2 | AC_INIT(Makefile.in) |
| 3 | |
| 4 | AC_PROG_INSTALL |
| 5 | |
| 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 | |
| 21 | AC_SUBST(datarootdir) |
| 22 | AC_SUBST(docdir) |
| 23 | AC_SUBST(htmldir) |
| 24 | AC_SUBST(pdfdir) |
| 25 | |
| 26 | AC_OUTPUT(Makefile) |