From: Mike Frysinger Date: Thu, 9 Sep 2021 20:40:36 +0000 (-0400) Subject: etc: rename configure.in to configure.ac X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c163f0b83a14ae4651ad37bf3487831a34029b3;p=binutils-gdb.git etc: rename configure.in to configure.ac The .in name has been deprecated for a long time in favor of .ac. --- diff --git a/etc/configure.ac b/etc/configure.ac new file mode 100644 index 00000000000..0e39559aa2e --- /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) diff --git a/etc/configure.in b/etc/configure.in deleted file mode 100644 index 0e39559aa2e..00000000000 --- a/etc/configure.in +++ /dev/null @@ -1,26 +0,0 @@ -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)