forked from PsychoticNinja/irssi
Merge pull request #927 from DomT4/perl_mojave
configure: fix Perl detection on macOS Mojave
This commit is contained in:
commit
0346638547
@ -388,8 +388,8 @@ if test "$want_perl" != "no"; then
|
|||||||
dnl * fix those command line options a bit so GCC won't
|
dnl * fix those command line options a bit so GCC won't
|
||||||
dnl * complain about them. Normally there's only few options
|
dnl * complain about them. Normally there's only few options
|
||||||
dnl * that we want to keep:
|
dnl * that we want to keep:
|
||||||
dnl * -Ddefine -Uundef -I/path -fopt -mopt
|
dnl * -Ddefine -Uundef -I/path -fopt -mopt -iwithsysroot
|
||||||
PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-@<:@^DUIfm@:>@@<:@^ @:>@+/\1/g; s/^(.* )?\+@<:@^ @:>@+/\1/g'`
|
PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-@<:@^DUIifm@:>@@<:@^ @:>@+/\1/g; s/^(.* )?\+@<:@^ @:>@+/\1/g'`
|
||||||
|
|
||||||
PERL_EXTRA_OPTS="CCCDLFLAGS=\"-fPIC\""
|
PERL_EXTRA_OPTS="CCCDLFLAGS=\"-fPIC\""
|
||||||
AC_SUBST(PERL_EXTRA_OPTS)
|
AC_SUBST(PERL_EXTRA_OPTS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user