X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=configure;h=f296517505951ef1dcc6a2d10740942aed6d18b8;hb=9f792471ae3b97b304470e97c0a43983b9517f83;hp=538d2eb54c7ca4a6eda9e829e56d4136b9de0fcc;hpb=7d091ae2bea9ffb164a5736a416ceccd79639431;p=ptask.git diff --git a/configure b/configure index 538d2eb..f296517 100755 --- a/configure +++ b/configure @@ -595,8 +595,6 @@ CPPCHECK_FALSE CPPCHECK_TRUE HAVE_CPPCHECK HELP2MAN -JSON_FALSE -JSON_TRUE JSON_LIBS JSON_CFLAGS GTK_LIBS @@ -6652,34 +6650,42 @@ fi # Put the nasty error message in config.log where it belongs echo "$JSON_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5 -$as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;} + as_fn_error $? "Package requirements (json) were not met: + +$JSON_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables JSON_CFLAGS +and JSON_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5 -$as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;} + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables JSON_CFLAGS +and JSON_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see . +See \`config.log' for more details" "$LINENO" 5; } else JSON_CFLAGS=$pkg_cv_JSON_CFLAGS JSON_LIBS=$pkg_cv_JSON_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } -$as_echo "#define HAVE_JSON 1" >>confdefs.h - fi - if test -n "$JSON_LIBS"; then - JSON_TRUE= - JSON_FALSE='#' -else - JSON_TRUE='#' - JSON_FALSE= -fi - -ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile" +ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/glade/Makefile tests/Makefile" for ac_prog in help2man @@ -6932,10 +6938,6 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then - as_fn_error $? "conditional \"JSON\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then as_fn_error $? "conditional \"CPPCHECK\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -7525,6 +7527,8 @@ do "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac