diff options
Diffstat (limited to 'Build/source/texk/web2c/m4/web2c-disable.m4')
-rw-r--r-- | Build/source/texk/web2c/m4/web2c-disable.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/m4/web2c-disable.m4 b/Build/source/texk/web2c/m4/web2c-disable.m4 new file mode 100644 index 00000000000..65a34f4c872 --- /dev/null +++ b/Build/source/texk/web2c/m4/web2c-disable.m4 @@ -0,0 +1,17 @@ +# Autoconf macros for web2c. +# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +# +# This file is free software; the copyright holders +# give unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# WEB2C_DISABLE(PROGRAM, PROBLEM) +# ------------------------------ +# Disable building PROGRAM due to PROBLEM, usually missing libraries. +# Terminate, via KPSE_MSG_WARN, if `--disable-missing' was given. +AC_DEFUN([WEB2C_DISABLE], +[AS_IF([test "x$enable_$1" = xyes], + [KPSE_MSG_WARN([Sorry, $2: disabling $1]) + enable_$1=no]) +]) # WEB2C_DISABLE + |