]> git.wh0rd.org - fontconfig.git/commitdiff
Have --with-expat set EXPAT_CFLAGS (bug 2278)
authorKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2005 01:41:24 +0000 (01:41 +0000)
committerKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2005 01:41:24 +0000 (01:41 +0000)
reviewed by: Keith Packard <keithp@keithp.com>

ChangeLog
configure.in

index 07621e8441d88485903fd43b71cd2078c5c05af7..120486400fd740871d6f6028fc994a99ef79ae9a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-01-15  Alan Coopersmith <alan.coopersmith@sun.com>
+
+       reviewed by: Keith Packard <keithp@keithp.com>
+
+       * configure.in:
+       Have --with-expat set EXPAT_CFLAGS (bug 2278)
+
 2005-01-13  Keith Packard  <keithp@keithp.com>
 
        * doc/fontconfig-user.sgml:
index 7f333aa938d6e23b2baa795f89a5f4d22943f5d2..c18a9f3a1b2b8b3c55662adf020464075582f539 100644 (file)
@@ -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=""
                ;;
        *)