]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - etc/configure.in
Merge commit 'upstream/2.20'
[msp430-binutils.git] / etc / configure.in
index 38bc65902e7ce79e80a1d787345fe6db6cb8cd72..6b94aac00c7b9e2c647aa74213ead26c897cafab 100644 (file)
@@ -4,9 +4,24 @@ 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)