FS-6602: fixed check for EXTERN.h
This commit is contained in:
parent
82dbc5d2b9
commit
5dd7791307
|
@ -1242,10 +1242,11 @@ if test "x$ac_cv_have_perl" != "xno"; then
|
||||||
PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts`"
|
PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts`"
|
||||||
PERL_INC="`$PERL -MExtUtils::Embed -e perl_inc`"
|
PERL_INC="`$PERL -MExtUtils::Embed -e perl_inc`"
|
||||||
|
|
||||||
save_CPPFLAGS="$CPPFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
CPPFLAGS="$PERL_CFLAGS $CPPFLAGS"
|
CFLAGS="$PERL_CFLAGS"
|
||||||
AC_CHECK_HEADER([EXTERN.h], [ac_cv_have_EXTERN_h=yes], [ac_cv_have_EXTERN_h=no])
|
AC_CHECK_HEADER([EXTERN.h], [ac_cv_have_EXTERN_h=yes], [ac_cv_have_EXTERN_h=no], [[#include <EXTERN.h>
|
||||||
CPPFLAGS="$save_CPPFLAGS"
|
# include <perl.h>]])
|
||||||
|
CFLAGS="$save_CFLAGS"
|
||||||
|
|
||||||
AC_SUBST(PERL_SITEDIR)
|
AC_SUBST(PERL_SITEDIR)
|
||||||
AC_SUBST(PERL_LIBDIR)
|
AC_SUBST(PERL_LIBDIR)
|
||||||
|
|
Loading…
Reference in New Issue