]> git.meshlink.io Git - catta/blobdiff - configure.ac
properly initialize CFLAGS for expat
[catta] / configure.ac
index 7dc41700385761214e67eaf201b2ae0fb1bab455..8ec3b5dc5500ab89156944d982486f2a4cbde151 100644 (file)
@@ -621,6 +621,7 @@ AC_CHECK_LIB(expat, XML_ParserCreate, [ AC_CHECK_HEADERS(expat.h, have_expat=tru
 AC_CHECK_LIB(bsdxml, XML_ParserCreate, [ AC_CHECK_HEADERS(bsdxml.h, have_bsdxml=true, have_bsdxml=false) ], have_bsdxml=false)
 
 if test "x$with_xml" = "xnone"; then
+        :
 elif test "x$with_xml" = "xexpat"; then
        use_expat=true
        if ! $have_expat ; then
@@ -645,7 +646,7 @@ fi
 
 if $use_expat; then
        with_xml=expat
-       XML_CLAGS=-DUSE_EXPAT_H
+       XML_CFLAGS=-DUSE_EXPAT_H
        XML_LIBS=-lexpat
 fi
 if $use_bsdxml; then