From 3182ac0d01ac2af862a9889a9bfca266f5a3a5e3 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 17 Nov 2002 14:18:11 +0000 Subject: [PATCH] A bit more playing with perl cflags. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3003 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 97c97802..f9e78dfd 100644 --- a/configure.in +++ b/configure.in @@ -554,7 +554,10 @@ if test "$want_perl" != "no"; then dnl * complain about them. Normally there's only few options dnl * that we want to keep: dnl * -Ddefine -Uundef -I/path -fopt -mopt - PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-[^DUIfm][^ ]+/\1/g'` + PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-[^DUIfm][^ ]+/\1/g; s/^(.* )?\+[^ ]+/\1/g'` + + PERL_EXTRA_OPTS="CCCDLFLAGS=\"-fPIC\"" + AC_SUBST(PERL_EXTRA_OPTS) fi if test -z "$PERL_CFLAGS"; then