From: Keith Packard Date: Sun, 16 Jan 2005 01:41:24 +0000 (+0000) Subject: Have --with-expat set EXPAT_CFLAGS (bug 2278) X-Git-Tag: fc-2_2_99~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=59e149e757795a7c0ec66c35b551a66e0da42098;p=fontconfig.git Have --with-expat set EXPAT_CFLAGS (bug 2278) reviewed by: Keith Packard --- 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="" ;; *)