# HG changeset patch # User Stu Tomlinson # Date 1104499255 0 # Node ID 83cfcb52d93bfbab843a9945b462503861d24ae0 # Parent bbe937302b47ba862df6a36490c11f88f142c584 [gaim-migrate @ 11730] Fix for bug 994425 - check for perl headers in ./configure committer: Tailor Script diff -r bbe937302b47 -r 83cfcb52d93b configure.ac --- a/configure.ac Fri Dec 31 13:16:45 2004 +0000 +++ b/configure.ac Fri Dec 31 13:20:55 2004 +0000 @@ -433,6 +433,15 @@ AC_MSG_CHECKING(for libperl) AC_CHECK_FUNCS(perl_run, [], enable_perl=no) LIBS="$oldLIBS" + + oldCPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $PERL_CFLAGS" + AC_CHECK_HEADERS(EXTERN.h) + AC_CHECK_HEADERS(perl.h, [], enable_perl=no, + [#if HAVE_EXTERN_H + # include + #endif]) + CPPFLAGS="$oldCPPFLAGS" fi fi