aboutsummaryrefslogtreecommitdiff
path: root/etc/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-09 16:43:28 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-09 23:30:12 -0400
commitfe11221b54cc73e6fbc6eb9c246251dd8e9560a9 (patch)
treeff5ccd1ad989e574886b4c2bdd5cbbb7f45ea4d7 /etc/configure.ac
parent9c163f0b83a14ae4651ad37bf3487831a34029b3 (diff)
downloadgdb-fe11221b54cc73e6fbc6eb9c246251dd8e9560a9.zip
gdb-fe11221b54cc73e6fbc6eb9c246251dd8e9560a9.tar.gz
gdb-fe11221b54cc73e6fbc6eb9c246251dd8e9560a9.tar.bz2
etc: switch to automake
There's no content in here currently, so switching to automake is pretty easy with a stub file.
Diffstat (limited to 'etc/configure.ac')
-rw-r--r--etc/configure.ac29
1 files changed, 6 insertions, 23 deletions
diff --git a/etc/configure.ac b/etc/configure.ac
index 0e39559..ce972ec 100644
--- a/etc/configure.ac
+++ b/etc/configure.ac
@@ -1,26 +1,9 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(Makefile.in)
+AC_INIT([etc], [0])
-AC_PROG_INSTALL
+AM_MAINTAINER_MODE
+AM_INIT_AUTOMAKE
+AM_SILENT_RULES([yes])
-# 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)
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT