summaryrefslogtreecommitdiff
path: root/Build/source/texk/texlive/configure
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-19 11:06:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-19 11:06:18 +0000
commitf4a44885a367794f0ed41c0dd446df7b40a174d8 (patch)
treeff5f6f65c92699d23eea5a9c8578847ece736556 /Build/source/texk/texlive/configure
parentdac42fa45e686717a350e950f3a68ad1cc5eec83 (diff)
Add a configure option to skip the linked scripts and still run texlinks
git-svn-id: svn://tug.org/texlive/trunk@32449 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/texlive/configure')
-rwxr-xr-xBuild/source/texk/texlive/configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/Build/source/texk/texlive/configure b/Build/source/texk/texlive/configure
index f1383cb7c8f..7e79c74a2e1 100755
--- a/Build/source/texk/texlive/configure
+++ b/Build/source/texk/texlive/configure
@@ -611,6 +611,8 @@ CPPFLAGS
LDFLAGS
CFLAGS
CC
+LINKED_SCRIPTS_FALSE
+LINKED_SCRIPTS_TRUE
MAINT
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
@@ -684,6 +686,7 @@ ac_user_opts='
enable_option_checking
enable_silent_rules
enable_maintainer_mode
+enable_linked_scripts
enable_dependency_tracking
'
ac_precious_vars='build_alias
@@ -1314,6 +1317,8 @@ Optional Features:
--enable-maintainer-mode
enable make rules and dependencies not useful (and
sometimes confusing) to the casual installer
+ --disable-linked-scripts
+ do not install the linked scripts
--enable-dependency-tracking
do not reject slow dependency extractors
--disable-dependency-tracking
@@ -2432,6 +2437,23 @@ fi
+# Configure options for texlive also shown at the TeX Live top-level.
+## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
+## configure options for texlive
+# Check whether --enable-linked-scripts was given.
+if test "${enable_linked_scripts+set}" = set; then :
+ enableval=$enable_linked_scripts;
+fi
+
+ if test "x$enable_linked_scripts" != xno; then
+ LINKED_SCRIPTS_TRUE=
+ LINKED_SCRIPTS_FALSE='#'
+else
+ LINKED_SCRIPTS_TRUE='#'
+ LINKED_SCRIPTS_FALSE=
+fi
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3749,6 +3771,10 @@ 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 "${LINKED_SCRIPTS_TRUE}" && test -z "${LINKED_SCRIPTS_FALSE}"; then
+ as_fn_error $? "conditional \"LINKED_SCRIPTS\" 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