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