summaryrefslogtreecommitdiff
path: root/etc/configure.ac
diff options
context:
space:
mode:
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 0e39559aa2e..ce972ec088e 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