Skip to content

Commit bddf064

Browse files
committed
Merge pull request #103 from jocelynj/cppflags
Fix CPPFLAGS propagation in configure script
2 parents cd66a80 + 18a1983 commit bddf064

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

m4/ax_lib_geos.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ AC_DEFUN([AX_LIB_GEOS],
9090
GEOS_VERSION=`$GEOS_CONFIG --version`
9191
9292
dnl Headers are in a different package in Debian, so check again.
93+
ac_save_CPPFLAGS="$CPPFLAGS"
9394
CPPFLAGS="$CPPFLAGS $GEOS_CFLAGS"
9495
AC_CHECK_HEADER([geos/version.h], [],
9596
[AC_MSG_ERROR([development headers for geos not found])])
96-
echo $ac_save_CPPFLAGS
9797
CPPFLAGS="$ac_save_CPPFLAGS"
9898
9999
AC_DEFINE([HAVE_GEOS], [1],

0 commit comments

Comments
 (0)