mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
If ignore_perl_errors environment is set, we don't check if we could
actually compile perl test program at runtime. Kludge to fix some broken perl installations.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3069 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9e6ee33cdf
commit
b97bc4fe66
@ -691,7 +691,7 @@ if test "$want_perl" != "no"; then
|
|||||||
dnl * check that perl's ldflags actually work
|
dnl * check that perl's ldflags actually work
|
||||||
echo "main(){perl_alloc(); return 0;}" > conftest.c
|
echo "main(){perl_alloc(); return 0;}" > conftest.c
|
||||||
$CC $CFLAGS conftest.c -o conftest $LDFLAGS $PERL_LDFLAGS 2> perl.error.tmp > /dev/null
|
$CC $CFLAGS conftest.c -o conftest $LDFLAGS $PERL_LDFLAGS 2> perl.error.tmp > /dev/null
|
||||||
if test ! -s conftest; then
|
if test ! -s conftest -a "x$ignore_perl_errors" = "x"; then
|
||||||
perl_check_error="Error linking with perl libraries: $PERL_LDFLAGS: `cat perl.error.tmp`"
|
perl_check_error="Error linking with perl libraries: $PERL_LDFLAGS: `cat perl.error.tmp`"
|
||||||
AC_MSG_RESULT([error linking with perl libraries, building without Perl])
|
AC_MSG_RESULT([error linking with perl libraries, building without Perl])
|
||||||
want_perl=no
|
want_perl=no
|
||||||
|
Loading…
Reference in New Issue
Block a user