From 1bef065e253c4054cb27daee81e422b72902e6ec Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 17 Dec 2000 04:20:31 +0000 Subject: [PATCH] Complain if --disable-static was tried to be used git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1002 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 1a7a143b..e8ac6962 100644 --- a/configure.in +++ b/configure.in @@ -20,6 +20,10 @@ if test "x$lt_target" = "x"; then lt_target="$target" fi fi +dnl * --disable-static isn't a good idea, complain if it's used +if test "x$enable_static" = "xno"; then + AC_ERROR([Don't give --disable-static option to configure]) +fi ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ $libtool_flags --disable-static --output=libtool-static --no-verify $ac_aux_dir/ltmain.sh $lt_target \