From a6f709889ab0e524a60874c8c5645eafae2b5794 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 2 Nov 2002 23:20:50 +0000 Subject: [PATCH] perl checking bugfix git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2982 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index cf0b412d..97c97802 100644 --- a/configure.in +++ b/configure.in @@ -547,7 +547,7 @@ if test "$want_perl" != "no"; then PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` fi - if test "x$ac_cv_prog_gcc" = "xyes" -a ! `echo $host_os|grep -q 'bsd\|linux'`; then + if test "x$ac_cv_prog_gcc" = "xyes" -a -z "`echo $host_os|grep 'bsd\|linux'`"; then dnl * several systems have Perl compiled with native compiler dnl * but irssi is being compiled with GCC. Here we try to dnl * fix those command line options a bit so GCC won't