summaryrefslogtreecommitdiff
path: root/libgomp/aclocal.m4
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2006-01-24 08:52:09 -0800
committerRichard Henderson <rth@gcc.gnu.org>2006-01-24 08:52:09 -0800
commitc41303c6819e0699b032922bd7a14ebfe3a45b14 (patch)
tree0f63012709bf497014e6115b56884f3d879e975a /libgomp/aclocal.m4
parent0b63b11283593b7b914c2b364dae245fb1aad955 (diff)
re PR libgomp/25942 (SVN checked out GCC does not bootstrap)
PR libgomp/25942 * configure.ac: Add AM_MAINTAINER_MODE. * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild. From-SVN: r110176
Diffstat (limited to 'libgomp/aclocal.m4')
-rw-r--r--libgomp/aclocal.m429
1 files changed, 29 insertions, 0 deletions
diff --git a/libgomp/aclocal.m4 b/libgomp/aclocal.m4
index 696001cbb46..95667ef84c1 100644
--- a/libgomp/aclocal.m4
+++ b/libgomp/aclocal.m4
@@ -468,6 +468,35 @@ AC_DEFUN([AM_PROG_INSTALL_SH],
install_sh=${install_sh-"$am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
+# 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
+
+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])
+ AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+ MAINT=$MAINTAINER_MODE_TRUE
+ AC_SUBST(MAINT)dnl
+]
+)
+
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.