diff options
| author | Ted Ross <tross@apache.org> | 2011-01-28 19:11:54 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-01-28 19:11:54 +0000 |
| commit | b7c255e9589aa454b6d52afbc3e29bf08c679df3 (patch) | |
| tree | efbede6be678fae52be8350e24ffd4a9d8cdbc93 /cpp/configure.ac | |
| parent | ead1307223c73d6efcc5573c177a22e238440f39 (diff) | |
| download | qpid-python-b7c255e9589aa454b6d52afbc3e29bf08c679df3.tar.gz | |
QPID-3009 - Fixed configuration problem found by gsim.
There's certainly a better way to find the include path for the perl-devel headers but
this will prevent builds from being broken.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064811 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/configure.ac')
| -rw-r--r-- | cpp/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index dc92cd0b44..1ed6ee1975 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -233,9 +233,9 @@ AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test -f $PYTHON_INC/Python.h && test -n "$S AC_CHECK_PROG([H2XS], [h2xs], [h2xs]) if test -n "$H2XS" ; then - AC_CHECK_FILE("$libdir/perl5/CORE/perl.h", [AC_SUBST([PERL_INC], "-I$libdir/perl5/CORE")]) + AC_CHECK_FILE("$libdir/perl5/CORE/perl.h", [AC_SUBST([PERL_INC], "$libdir/perl5/CORE")]) fi -AM_CONDITIONAL([HAVE_PERL_DEVEL], [test -n "$H2XS" && test -n "$SWIG"]) +AM_CONDITIONAL([HAVE_PERL_DEVEL], [test -n "$H2XS" && test -n "$SWIG" && test -n "$PERL_INC"]) specdir=`pwd`/$srcdir/../specs |
