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