1dnl Process this file with autoconf to produce a configure script. 2AC_PREREQ(2.5) 3AC_INIT(Makefile.in) 4 5AC_PROG_INSTALL 6 7# Command-line options. 8# Very limited version of AC_MAINTAINER_MODE. 9AC_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='#']) 20AC_SUBST([MAINT])dnl 21 22AC_SUBST(datarootdir) 23AC_SUBST(docdir) 24AC_SUBST(htmldir) 25AC_SUBST(pdfdir) 26 27AC_OUTPUT(Makefile) 28