From: short <> Date: Wed, 14 May 2003 22:43:41 +0000 (+0000) Subject: Cosmetic: Fixed warning if !want-libtoolize X-Git-Tag: lufs_0_9_6_captive1~33 X-Git-Url: https://git.jankratochvil.net/?p=macros.git;a=commitdiff_plain;h=02bad6751e0b4d5bb2f790baa332ad5ce92a05b9 Cosmetic: Fixed warning if !want-libtoolize --- 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"}), ); }