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" |