summaryrefslogtreecommitdiff
path: root/Build/source/texk/m4/kpse_maint.m4
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2008-01-30 13:46:16 +0000
committerMartin Schröder <martin@oneiros.de>2008-01-30 13:46:16 +0000
commit439959587de13ada54151587673e869870ae48e0 (patch)
tree3777ce568076232a5ed2faf6bef16a74f6bf0841 /Build/source/texk/m4/kpse_maint.m4
parenteff226cc4c60f428692c3b6c799aefcb6f6d1326 (diff)
First step in converting to autoconf 2.61++ from peb
git-svn-id: svn://tug.org/texlive/trunk@6448 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/m4/kpse_maint.m4')
-rw-r--r--Build/source/texk/m4/kpse_maint.m435
1 files changed, 35 insertions, 0 deletions
diff --git a/Build/source/texk/m4/kpse_maint.m4 b/Build/source/texk/m4/kpse_maint.m4
new file mode 100644
index 00000000000..bf0ca3f5f17
--- /dev/null
+++ b/Build/source/texk/m4/kpse_maint.m4
@@ -0,0 +1,35 @@
+# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
+# From Jim Meyering
+
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 4
+
+# Adapted for kpathsea
+
+# AM_MAINTAINER_MODE
+# ------------------
+# Check whether to enable maintainer-specific portions of Makefiles.
+AC_DEFUN([AM_MAINTAINER_MODE],
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+ dnl maintainer-mode is disabled by default
+ AC_ARG_ENABLE(maintainer-mode,
+[ --enable-maintainer-mode enable make rules and dependencies not useful
+ (and sometimes confusing) to the casual installer],
+ USE_MAINTAINER_MODE=$enableval,
+ USE_MAINTAINER_MODE=no)
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+ if test "x$USE_MAINTAINER_MODE" = xyes; then
+ MAINT=
+ else
+ MAINT='#M#'
+ fi
+ AC_SUBST(MAINT)dnl
+]
+)
+