aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-01-10 22:16:22 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-01-10 22:16:22 -0500
commite1b735ae35f225927c95746babafaa84e39c3325 (patch)
tree0bdbb045516403ce1d2cb04743532818906fc844
parent9d5a160ca3af8f9488d2556fb28b9941d4926ff7 (diff)
downloadpostgresql-e1b735ae35f225927c95746babafaa84e39c3325.tar.gz
postgresql-e1b735ae35f225927c95746babafaa84e39c3325.zip
Last-gasp attempt to save libperl.so configure probe.
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.
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 2176a989f9c..10ae1523048 100755
--- 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
diff --git a/configure.in b/configure.in
index 3e72af471f9..e2682f3da5a 100644
--- a/configure.in
+++ b/configure.in
@@ -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.