| 1 |
# Autoconf macros for web2c. |
| 2 |
# Copyright (C) 2009 Peter Breitenlohner <[email protected]> |
| 3 |
# |
| 4 |
# This file is free software; the copyright holders |
| 5 |
# give unlimited permission to copy and/or distribute it, |
| 6 |
# with or without modifications, as long as this notice is preserved. |
| 7 |
|
| 8 |
# WEB2C_DISABLE(PROGRAM, PROBLEM) |
| 9 |
# ------------------------------ |
| 10 |
# Disable building PROGRAM due to PROBLEM, usually missing libraries. |
| 11 |
# Terminate, via KPSE_MSG_WARN, if `--disable-missing' was given. |
| 12 |
AC_DEFUN([WEB2C_DISABLE], |
| 13 |
[AS_IF([test "x$enable_$1" = xyes], |
| 14 |
[KPSE_MSG_WARN([Sorry, $2: disabling $1]) |
| 15 |
enable_$1=no]) |
| 16 |
]) # WEB2C_DISABLE |
| 17 |
|