diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-09-09 16:40:36 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-09-09 23:30:12 -0400 |
commit | 9c163f0b83a14ae4651ad37bf3487831a34029b3 (patch) | |
tree | 3dee8205e2487ccd52128e9516f0a7eaea8c36ec /etc/configure.ac | |
parent | 58f3b6a3495074da39ba6e19935e4401dcbacf88 (diff) | |
download | gdb-9c163f0b83a14ae4651ad37bf3487831a34029b3.zip gdb-9c163f0b83a14ae4651ad37bf3487831a34029b3.tar.gz gdb-9c163f0b83a14ae4651ad37bf3487831a34029b3.tar.bz2 |
etc: rename configure.in to configure.ac
The .in name has been deprecated for a long time in favor of .ac.
Diffstat (limited to 'etc/configure.ac')
-rw-r--r-- | etc/configure.ac | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/configure.ac b/etc/configure.ac new file mode 100644 index 0000000..0e39559 --- /dev/null +++ b/etc/configure.ac @@ -0,0 +1,26 @@ +dnl Process this file with autoconf to produce a configure script. +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) |