aboutsummaryrefslogtreecommitdiffhomepage
path: root/pcre2-10.21/configure
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-04-19 12:15:08 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-04-19 15:13:15 +0800
commitbf0e91cc97a7430f69d29e4448e36974581df902 (patch)
tree2066f95d427c9c66cc6c669dd882df7ad663e14a /pcre2-10.21/configure
parentfc78e70d082741e6c7c71c537668fd9169e58610 (diff)
pcre2: add maintainer mode and disable by default
Diffstat (limited to 'pcre2-10.21/configure')
-rwxr-xr-xpcre2-10.21/configure39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcre2-10.21/configure b/pcre2-10.21/configure
index e9f9e374..ad269654 100755
--- a/pcre2-10.21/configure
+++ b/pcre2-10.21/configure
@@ -734,6 +734,9 @@ CFLAGS
CC
ac_ct_AR
AR
+MAINT
+MAINTAINER_MODE_FALSE
+MAINTAINER_MODE_TRUE
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
AM_DEFAULT_V
@@ -803,6 +806,7 @@ ac_subst_files=''
ac_user_opts='
enable_option_checking
enable_silent_rules
+enable_maintainer_mode
enable_dependency_tracking
enable_shared
enable_static
@@ -1482,6 +1486,9 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-maintainer-mode
+ enable make rules and dependencies not useful (and
+ sometimes confusing) to the casual installer
--enable-dependency-tracking
do not reject slow dependency extractors
--disable-dependency-tracking
@@ -3132,6 +3139,34 @@ AM_BACKSLASH='\'
ac_config_headers="$ac_config_headers src/config.h"
+# FISH PATCH
+# Enable maintainer mode to avoid spurious rebuilds due to timestamps in git
+# not being stored. Discussion in https://github.com/fish-shell/fish-shell/issues/2469
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
+ # Check whether --enable-maintainer-mode was given.
+if test "${enable_maintainer_mode+set}" = set; then :
+ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
+else
+ USE_MAINTAINER_MODE=no
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
+ if test $USE_MAINTAINER_MODE = yes; then
+ MAINTAINER_MODE_TRUE=
+ MAINTAINER_MODE_FALSE='#'
+else
+ MAINTAINER_MODE_TRUE='#'
+ MAINTAINER_MODE_FALSE=
+fi
+
+ MAINT=$MAINTAINER_MODE_TRUE
+
+
+# END FISH PATCH
+
# This is a new thing required to stop a warning from automake 1.12
DEPDIR="${am__leading_dot}deps"
@@ -15990,6 +16025,10 @@ else
am__EXEEXT_FALSE=
fi
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
+ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
as_fn_error $? "conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5