diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 16:52:09 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 16:52:09 +0000 |
commit | a263d1abcf2eec73c3db2bb9b92f4218f5258313 (patch) | |
tree | 0f63012709bf497014e6115b56884f3d879e975a /libgomp/aclocal.m4 | |
parent | 3072961312a33b4c831b5591257589c03c3771b4 (diff) | |
download | gcc-a263d1abcf2eec73c3db2bb9b92f4218f5258313.tar.gz |
PR libgomp/25942
* configure.ac: Add AM_MAINTAINER_MODE.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110176 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/aclocal.m4')
-rw-r--r-- | libgomp/aclocal.m4 | 29 |
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. |