Do not bother with libcurl if there is no mlogc-src.

This commit is contained in:
brectanus 2008-01-11 18:18:18 +00:00
parent bc6c0c76af
commit 62dfbeb80a
2 changed files with 4 additions and 3 deletions

View File

@ -49,7 +49,7 @@ AC_SUBST(CURL_CFLAGS)
if test -z "${CURL_LIBS}"; then
AC_MSG_NOTICE([*** curl library not found.])
ifelse([$2], , AC_MSG_NOTICE([NOTE: curl library is required for building mlogc]), $2)
ifelse([$2], , AC_MSG_NOTICE([NOTE: curl library is only required for building mlogc]), $2)
else
AC_MSG_NOTICE([using '${CURL_LIBS}' for curl Library])
ifelse([$1], , , $1)

View File

@ -212,11 +212,12 @@ CHECK_APR()
CHECK_APU()
CHECK_LIBXML()
CHECK_LUA()
CHECK_CURL()
AC_CONFIG_FILES([Makefile])
if test -e "mlogc-src/Makefile.in"; then
CHECK_CURL()
AC_CONFIG_FILES([mlogc-src/Makefile])
fi
AC_CONFIG_FILES([Makefile])
AC_OUTPUT