From 7a0e5acde2b67593dc47eb6f1d9efcdd6850c27b Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Sun, 9 Jul 2017 23:06:03 +0200 Subject: [PATCH] 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 --- config-scripts/cups-libtool.m4 | 3 +++ 1 file changed, 3 insertions(+) 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." -- 2.39.2