From 02bad6751e0b4d5bb2f790baa332ad5ce92a05b9 Mon Sep 17 00:00:00 2001 From: short <> Date: Wed, 14 May 2003 22:43:41 +0000 Subject: [PATCH] Cosmetic: Fixed warning if !want-libtoolize --- AutoGen.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoGen.pm b/AutoGen.pm index 2a3ef7a..4d7428f 100644 --- a/AutoGen.pm +++ b/AutoGen.pm @@ -448,7 +448,7 @@ my($class,%options)=@_; $ENV{"CFLAGS"}||=""; # shared/static switching cannot be based on maintainer-mode in configure _system(qw(./configure --enable-maintainer-mode), - ($Options{"want-libtoolize"} && qw(--enable-shared --disable-static)), + (!$Options{"want-libtoolize"} ? () : qw(--enable-shared --disable-static)), map((!$_ ? () : @$_),$Options{"configure_args"}), ); } -- 1.8.3.1