From a98bb2009d5c8d0a06e46c4a5bc737f3a48ce5ba Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Tue, 4 Sep 2018 09:34:14 +0200 Subject: [PATCH] Merge pull request #927 from DomT4/perl_mojave configure: fix Perl detection on macOS Mojave (cherry picked from commit 0346638547adb63f5a1d9c74be0c77106ad6cfa9) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 51b8b07a..a0651f0f 100644 --- a/configure.ac +++ b/configure.ac @@ -373,8 +373,8 @@ if test "$want_perl" != "no"; then dnl * fix those command line options a bit so GCC won't 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; s/^(.* )?\+@<:@^ @:>@+/\1/g'` + dnl * -Ddefine -Uundef -I/path -fopt -mopt -iwithsysroot + PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-@<:@^DUIifm@:>@@<:@^ @:>@+/\1/g; s/^(.* )?\+@<:@^ @:>@+/\1/g'` PERL_EXTRA_OPTS="CCCDLFLAGS=\"-fPIC\"" AC_SUBST(PERL_EXTRA_OPTS)