diff options
author | Tobias Burnus <burnus@net-b.de> | 2013-10-30 01:09:21 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2013-10-30 01:09:21 +0100 |
commit | 8a1a4544e92e1268314a0f27dd36bd7df5444759 (patch) | |
tree | 4acac1fa7a8e83a490e8db50a6c161c32034efca /libcilkrts/aclocal.m4 | |
parent | be0ec0a5dc9e35e245d46f913af59c736ab30bf9 (diff) | |
download | gcc-8a1a4544e92e1268314a0f27dd36bd7df5444759.tar.gz |
gcc_update (files_and_dependencies): Add rules for libcilkrts.
2013-10-29 Tobias Burnus <burnus@net-b.de>
* gcc_update (files_and_dependencies): Add rules for
libcilkrts.
2013-10-29 Tobias Burnus <burnus@net-b.de>
* configure.ac: Add AM_MAINTAINER_MODE.
* aclocal.m4: Regenerate.
* configure.ac: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r204189
Diffstat (limited to 'libcilkrts/aclocal.m4')
-rw-r--r-- | libcilkrts/aclocal.m4 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libcilkrts/aclocal.m4 b/libcilkrts/aclocal.m4 index 446bedeffa2..68107caffa0 100644 --- a/libcilkrts/aclocal.m4 +++ b/libcilkrts/aclocal.m4 @@ -566,6 +566,46 @@ if test x"${install_sh}" != xset; then fi 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, 2008 +# 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 5 + +# AM_MAINTAINER_MODE([DEFAULT-MODE]) +# ---------------------------------- +# Control maintainer-specific portions of Makefiles. +# Default is to disable them, unless `enable' is passed literally. +# For symmetry, `disable' may be passed as well. Anyway, the user +# can override the default with the --enable/--disable switch. +AC_DEFUN([AM_MAINTAINER_MODE], +[m4_case(m4_default([$1], [disable]), + [enable], [m4_define([am_maintainer_other], [disable])], + [disable], [m4_define([am_maintainer_other], [enable])], + [m4_define([am_maintainer_other], [enable]) + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) +AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) + dnl maintainer-mode's default is 'disable' unless 'enable' is passed + AC_ARG_ENABLE([maintainer-mode], +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful + (and sometimes confusing) to the casual installer], + [USE_MAINTAINER_MODE=$enableval], + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) + 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, 2009 Free Software Foundation, Inc. |