Last-gasp attempt to save libperl.so configure probe.
authorTom Lane <[email protected]>
Fri, 11 Jan 2013 03:16:22 +0000 (22:16 -0500)
committerTom Lane <[email protected]>
Fri, 11 Jan 2013 03:16:22 +0000 (22:16 -0500)
I notice that plperl's makefile adds the -I for $perl_archlibexp/CORE
at the end of CPPFLAGS not the beginning.  It seems somewhat unlikely
that the include search order has anything to do with why buildfarm
member okapi is failing, but I'm about out of other ideas.

configure
configure.in

index 2176a989f9cc2ea19cc63c5366fed7d1035359e9..10ae1523048ecec084f4d3e08d120098392adc82 100755 (executable)
--- a/configure
+++ b/configure
@@ -29127,7 +29127,7 @@ fi
 # check for <perl.h>
 if test "$with_perl" = yes; then
   ac_save_CPPFLAGS=$CPPFLAGS
-  CPPFLAGS="-I$perl_archlibexp/CORE $CPPFLAGS"
+  CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE"
   { $as_echo "$as_me:$LINENO: checking for perl.h" >&5
 $as_echo_n "checking for perl.h... " >&6; }
 if test "${ac_cv_header_perl_h+set}" = set; then
index 3e72af471f92fa9b39b17de2f0730b759372c4eb..e2682f3da5a2169236b42b9a1f84025a0231d603 100644 (file)
@@ -1795,7 +1795,7 @@ fi
 # check for <perl.h>
 if test "$with_perl" = yes; then
   ac_save_CPPFLAGS=$CPPFLAGS
-  CPPFLAGS="-I$perl_archlibexp/CORE $CPPFLAGS"
+  CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE"
   AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])],
                   [#include <EXTERN.h>])
   # While we're at it, check that we can link to libperl.