summaryrefslogtreecommitdiff
path: root/config-scripts
diff options
context:
space:
mode:
authorRoland Hieber <r.hieber@pengutronix.de>2017-07-09 23:06:03 +0200
committerRoland Hieber <r.hieber@pengutronix.de>2017-07-17 14:23:39 +0200
commit7a0e5acde2b67593dc47eb6f1d9efcdd6850c27b (patch)
treea4b74f6ed9ae1ed50eef2d156dff09b3a06921a0 /config-scripts
parente44bdfe7e3a805e36ee08846e8e2c5a8170ecb0b (diff)
downloadcups-7a0e5acde2b67593dc47eb6f1d9efcdd6850c27b.tar.gz
configure: don't accidentally set @LIBTOOL@ to 'yes'
Substituting @LIBTOOL@ with 'yes' would result in a lot of console output (34 GB in my case, before SIGKILL), without getting anything compiled at all. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
Diffstat (limited to 'config-scripts')
-rw-r--r--config-scripts/cups-libtool.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/config-scripts/cups-libtool.m4 b/config-scripts/cups-libtool.m4
index 429ce0ba3..b85e8b7c2 100644
--- a/config-scripts/cups-libtool.m4
+++ b/config-scripts/cups-libtool.m4
@@ -14,6 +14,9 @@ dnl
AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported
build with libtool (UNSUPPORTED!)],
[if test x$enable_libtool_unsupported != xno; then
+ if test x$enable_libtool_unsupported == xyes; then
+ AC_MSG_ERROR([Use --enable-libtool-unsupported=/path/to/libtool.])
+ fi
LIBTOOL="$enable_libtool_unsupported"
enable_shared=no
echo "WARNING: libtool is not supported or endorsed by Apple Inc."