X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=etc%2Fconfigure.in;h=0e39559aa2eba5fc88cae21574bd69c9e7885cf0;hb=7d7167ce1b93f8bb151daa2572314987eaeb9e3c;hp=b785068009ebc8effec594abf5228c5ebd9bb137;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=deliverable%2Fbinutils-gdb.git diff --git a/etc/configure.in b/etc/configure.in index b785068009..0e39559aa2 100644 --- a/etc/configure.in +++ b/etc/configure.in @@ -1,7 +1,26 @@ dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.5) AC_INIT(Makefile.in) AC_PROG_INSTALL +# Command-line options. +# Very limited version of AC_MAINTAINER_MODE. +AC_ARG_ENABLE([maintainer-mode], + [AC_HELP_STRING([--enable-maintainer-mode], + [enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer])], + [case ${enable_maintainer_mode} in + yes) MAINT='' ;; + no) MAINT='#' ;; + *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;; + esac + maintainer_mode=${enableval}], + [MAINT='#']) +AC_SUBST([MAINT])dnl + +AC_SUBST(datarootdir) +AC_SUBST(docdir) +AC_SUBST(htmldir) +AC_SUBST(pdfdir) + AC_OUTPUT(Makefile)