projects/aports·blob master · refs

13 lines · 725 B

1--- a/apps/irssi/configure
2+++ b/apps/irssi/configure
3@@ -15109,8 +15109,8 @@
4 ;;
5 esac
6
7- echo "main(){perl_alloc(); return 0;}" > conftest.c
8- $CC $CFLAGS conftest.c -o conftest $LDFLAGS $PERL_LDFLAGS 2> perl.error.tmp > /dev/null
9+ printf '#include <EXTERN.h>\n#include <perl.h>\nint main(){perl_alloc(); return 0;}' > conftest.c
10+ $CC $CFLAGS $PERL_CFLAGS conftest.c -o conftest $LDFLAGS $PERL_LDFLAGS 2> perl.error.tmp > /dev/null
11 if test ! -s conftest -a "x$ignore_perl_errors" = "x"; then
12 perl_check_error="Error linking with perl libraries: $PERL_LDFLAGS: `cat perl.error.tmp`"
13 { $as_echo "$as_me:${as_lineno-$LINENO}: result: error linking with perl libraries, building without Perl" >&5