Cosmetic: Fixed warning if !want-libtoolize
authorshort <>
Wed, 14 May 2003 22:43:41 +0000 (22:43 +0000)
committershort <>
Wed, 14 May 2003 22:43:41 +0000 (22:43 +0000)
AutoGen.pm

index 2a3ef7a..4d7428f 100644 (file)
@@ -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"}),
                        );
 }