]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
configure: don't accidentally set @LIBTOOL@ to 'yes' 5062/head
authorRoland Hieber <r.hieber@pengutronix.de>
Sun, 9 Jul 2017 21:06:03 +0000 (23:06 +0200)
committerRoland Hieber <r.hieber@pengutronix.de>
Mon, 17 Jul 2017 12:23:39 +0000 (14:23 +0200)
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>
config-scripts/cups-libtool.m4

index 429ce0ba3524066db1d5e346a6b2c3f0881fec1f..b85e8b7c2dbf5d7170b5e38336cae9c7c83458d1 100644 (file)
@@ -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."