configure.ac

changeset 262
d0014ccec615
parent 259
b7c967359771
child 283
affe4d2adc94
equal deleted inserted replaced
261:e4341cfbc2a8 262:d0014ccec615
56 if test "$debugging" = "yes"; then 56 if test "$debugging" = "yes"; then
57 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" 57 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline"
58 else 58 else
59 CFLAGS="-g -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" 59 CFLAGS="-g -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline"
60 fi 60 fi
61 LIBS="$LIBS -lm"
61 62
62 63
63 AC_CHECK_LIB(xml2,xmlParseFile,result=yes,result=no) 64 AC_CHECK_LIB(xml2,xmlParseFile,result=yes,result=no)
64 if test "$result" = "yes"; then 65 if test "$result" = "yes"; then
65 LIBS="$LIBS -lxml2" 66 LIBS="$LIBS -lxml2"

mercurial