Use CFLAGS/LDFLAGS in addition to PCRE_CFLAGS/PCRE_LIBS when checking

2007-04-11  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Use CFLAGS/LDFLAGS in addition to
        PCRE_CFLAGS/PCRE_LIBS when checking system PCRE.  (#421607,
        Paul Jarc)



svn path=/trunk/; revision=5443
This commit is contained in:
Matthias Clasen 2007-04-11 12:39:05 +00:00 committed by Matthias Clasen
parent dac885cba5
commit e542f521ef
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-04-11 Matthias Clasen <mclasen@redhat.com>
* configure.in: Use CFLAGS/LDFLAGS in addition to
PCRE_CFLAGS/PCRE_LIBS when checking system PCRE. (#421607,
Paul Jarc)
2007-03-27 Emmanuele Bassi <ebassi@gnome.org> 2007-03-27 Emmanuele Bassi <ebassi@gnome.org>
* glib/gdate.h: Remove old comment and forward declaration of * glib/gdate.h: Remove old comment and forward declaration of

View File

@ -2176,7 +2176,7 @@ if test x$enable_regex = xtrue; then
PKG_CHECK_MODULES(PCRE, PKG_CHECK_MODULES(PCRE,
libpcre >= $PCRE_REQUIRED_VERSION) libpcre >= $PCRE_REQUIRED_VERSION)
AC_CACHE_CHECK([for Unicode support in PCRE],glib_cv_pcre_has_unicode,[ AC_CACHE_CHECK([for Unicode support in PCRE],glib_cv_pcre_has_unicode,[
CFLAGS="$PCRE_CFLAGS" LDFLAGS="$PCRE_LIBS" CFLAGS="$CFLAGS $PCRE_CFLAGS" LDFLAGS="$LDFLAGS $PCRE_LIBS"
AC_TRY_RUN([#include <pcre.h> AC_TRY_RUN([#include <pcre.h>
int main () { int main () {
int support; int support;