Extract ancillary resources' filenames as UUID only.
[asdcplib.git] / m4 / ax_lib_expat.m4
index c93680b77aeaceed1463d87d1fc94ceb6978228e..b64c3bc759f615a61c469504a7811c3864260630 100644 (file)
@@ -70,14 +70,17 @@ AC_DEFUN([AX_LIB_EXPAT],
         fi
         ],
         [
-        dnl Default behavior is implicit yes
-        if test -f /usr/local/include/expat.h ; then
-            expat_prefix=/usr/local
-        elif test -f /usr/include/expat.h ; then
-            expat_prefix=/usr
-        else
-            expat_prefix=""
-        fi
+#        dnl Default behavior is implicit yes
+#        if test -f /usr/local/include/expat.h ; then
+#            expat_prefix=/usr/local
+#        elif test -f /usr/include/expat.h ; then
+#            expat_prefix=/usr
+#        else
+#            expat_prefix=""
+#        fi
+        dnl Default behavior is implicit no
+        expat_prefix=""
+        expat_requested="no"
         ]
     )
 
@@ -272,6 +275,7 @@ p = NULL;
         fi
     fi
     if test "$HAVE_EXPAT" = "yes"; then
-        CPPFLAGS="$CPPFLAGS -DHAVE_EXPAT=1"
+        CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
+        LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
     fi
 ])