exit -1
])
+AC_CHECK_PROG([FOUND_CURLCONFIG], [curl-config], [yes], [no])
+AM_CONDITIONAL([FOUND_CURLCONFIG_RES], [test x$FOUND_CURLCONFIG = xyes])
+
+AM_COND_IF([FOUND_CURLCONFIG_RES], [], [echo "Cannot find the curl-config program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+ ])
+
# libxml2 Library
AC_CHECK_LIB([xml2], [main], [], [echo "The libxml2 library must be installed on your system.
exit -1
])
+AC_CHECK_PROG([FOUND_XML2CONFIG], [xml2-config], [yes], [no])
+AM_CONDITIONAL([FOUND_XML2CONFIG_RES], [test x$FOUND_XML2CONFIG = xyes])
+
+AM_COND_IF([FOUND_XML2CONFIG_RES], [], [echo "Cannot find the xml2-config program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+ ])
+
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h iostream iomanip ios algorithm map vector utility])
# Checks for library functions.
AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
-AM_COND_IF([DEBUG], [AC_SUBST([DBGOUT], ["-O0"])], [AC_SUBST([DBGOUT], ["-Os"])])
+AM_COND_IF([DEBUG], [AC_SUBST([DBGOUT], ["-O0 -ggdb"])], [AC_SUBST([DBGOUT], ["-Os"])])
AM_COND_IF([DEBUG], [AC_SUBST([DBGSTATUS], ["DEBUG=true"])], [AC_SUBST([DBGSTATUS], ["DEBUG=false"])])
AM_COND_IF([DEBUG], [echo "Debugging mode has been enabled."])