From 59e149e757795a7c0ec66c35b551a66e0da42098 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 16 Jan 2005 01:41:24 +0000 Subject: [PATCH] Have --with-expat set EXPAT_CFLAGS (bug 2278) reviewed by: Keith Packard --- ChangeLog | 7 +++++++ configure.in | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 07621e8..1204864 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-01-15 Alan Coopersmith + + reviewed by: Keith Packard + + * configure.in: + Have --with-expat set EXPAT_CFLAGS (bug 2278) + 2005-01-13 Keith Packard * doc/fontconfig-user.sgml: diff --git a/configure.in b/configure.in index 7f333aa..c18a9f3 100644 --- a/configure.in +++ b/configure.in @@ -202,7 +202,16 @@ no) ;; *) case "$expat_includes" in - yes|no) + yes) + case "$expat" in + yes) + ;; + *) + EXPAT_CFLAGS="-I$expat/include" + ;; + esac + ;; + no) EXPAT_CFLAGS="" ;; *) -- 2.39.5