X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fconfigure.ac;h=6e792d389b0a77f97493c5928f746b05b93bd7e9;hb=5ee17950e2c44804fbaf660837f88d725136b978;hp=cec6ce6c1b4977f082244097dc310ecc7d1b5d47;hpb=228f28ee7f54373174cf4b58f08ca24094cf5f2d;p=xestiaab%2F.git diff --git a/source/configure.ac b/source/configure.ac index cec6ce6..6e792d3 100644 --- a/source/configure.ac +++ b/source/configure.ac @@ -93,6 +93,15 @@ before running configure again." 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. @@ -107,6 +116,15 @@ before running configure again." 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]) @@ -127,7 +145,7 @@ AC_ARG_ENABLE([debug], # 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."])