... | ... |
@@ -17923,79 +17923,74 @@ CFLAGS="$save_CFLAGS" |
17923 | 17923 |
LIBS="$save_LIBS" |
17924 | 17924 |
|
17925 | 17925 |
|
17926 |
+have_json_header="no" |
|
17927 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libjson installation" >&5 |
|
17928 |
+$as_echo_n "checking for libjson installation... " >&6; } |
|
17929 |
+ |
|
17926 | 17930 |
|
17927 | 17931 |
# Check whether --with-libjson was given. |
17928 | 17932 |
if test "${with_libjson+set}" = set; then : |
17929 | 17933 |
withval=$with_libjson; |
17930 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libjson installation" >&5 |
|
17931 |
-$as_echo_n "checking for libjson installation... " >&6; } |
|
17932 |
-if test "X$withval" != "Xyes" |
|
17933 |
-then |
|
17934 |
- LIBJSON_HOME="$withval" |
|
17935 |
- if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h" |
|
17936 |
- then |
|
17937 |
- have_json_header="yes" |
|
17938 |
- fi |
|
17934 |
+find_json="no" |
|
17935 |
+if test "X$withval" = "Xyes"; then |
|
17936 |
+ find_json="yes" |
|
17939 | 17937 |
else |
17940 |
- LIBJSON_HOME=/usr/local |
|
17941 |
- if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h" |
|
17942 |
- then |
|
17943 |
- have_json_header="yes" |
|
17944 |
- else |
|
17945 |
- LIBJSON_HOME=/usr |
|
17946 |
- if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h" |
|
17947 |
- then |
|
17948 |
- have_json_header="yes" |
|
17949 |
- else |
|
17950 |
- have_json_header="no" |
|
17951 |
- LIBJSON_HOME="" |
|
17938 |
+ if test "X$withval" != "Xno"; then |
|
17939 |
+ LIBJSON_HOME="$withval" |
|
17952 | 17940 |
fi |
17953 |
- fi |
|
17954 |
-fi |
|
17955 |
-if test "X$have_json_header" != "Xyes" |
|
17956 |
-then |
|
17957 |
- as_fn_error $? "unable to find json includes." "$LINENO" 5 |
|
17958 | 17941 |
fi |
17959 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBJSON_HOME" >&5 |
|
17960 |
-$as_echo "$LIBJSON_HOME" >&6; } |
|
17961 | 17942 |
|
17962 | 17943 |
else |
17944 |
+ find_json="yes" |
|
17945 |
+fi |
|
17963 | 17946 |
|
17964 |
-have_json_header="no" |
|
17965 | 17947 |
|
17948 |
+if test "X$find_json" = "Xyes"; then |
|
17949 |
+ LIBJSON_HOME=/usr/local |
|
17966 | 17950 |
fi |
17967 | 17951 |
|
17952 |
+if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h"; then |
|
17953 |
+ have_json_header="yes" |
|
17954 |
+else |
|
17955 |
+ if test "X$find_json" = "Xyes"; then |
|
17956 |
+ LIBJSON_HOME=/usr |
|
17957 |
+ if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h"; then |
|
17958 |
+ have_json_header="yes" |
|
17959 |
+ fi |
|
17960 |
+ fi |
|
17961 |
+fi |
|
17968 | 17962 |
|
17969 |
-if test "X$have_json_header" = "Xyes" |
|
17970 |
-then |
|
17971 |
- if test -f "$LIBJSON_HOME/include/json/json.h" |
|
17972 |
- then |
|
17973 |
- JSON_INCLUDE="include/json" |
|
17974 |
- fi |
|
17975 |
- if test -f "$LIBJSON_HOME/include/json-c/json.h" |
|
17976 |
- then |
|
17977 |
- JSON_INCLUDE="include/json-c" |
|
17978 |
- fi |
|
17979 |
- if test -z $JSON_INCLUDE |
|
17980 |
- then |
|
17981 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: json header lost." >&5 |
|
17963 |
+if test "X$have_json_header" = "Xyes"; then |
|
17964 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBJSON_HOME" >&5 |
|
17965 |
+$as_echo "$LIBJSON_HOME" >&6; } |
|
17966 |
+ if test -f "$LIBJSON_HOME/include/json/json.h" |
|
17967 |
+ then |
|
17968 |
+ JSON_INCLUDE="include/json" |
|
17969 |
+ fi |
|
17970 |
+ if test -f "$LIBJSON_HOME/include/json-c/json.h" |
|
17971 |
+ then |
|
17972 |
+ JSON_INCLUDE="include/json-c" |
|
17973 |
+ fi |
|
17974 |
+ if test -z $JSON_INCLUDE |
|
17975 |
+ then |
|
17976 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: json header lost." >&5 |
|
17982 | 17977 |
$as_echo "$as_me: WARNING: json header lost." >&2;} |
17983 |
- fi |
|
17978 |
+ fi |
|
17984 | 17979 |
|
17985 |
- JSON_CPPFLAGS="-I$LIBJSON_HOME/$JSON_INCLUDE" |
|
17986 |
- save_LDFLAGS="$LDFLAGS" |
|
17987 |
- save_CFLAGS="$CFLAGS" |
|
17988 |
- save_LIBS="$LIBS" |
|
17989 |
- LIBS="" |
|
17990 |
- JSON_LIBS="" |
|
17991 |
- if test "$LIBJSON_HOME" != "/usr" |
|
17992 |
- then |
|
17993 |
- JSON_LDFLAGS="-L$LIBJSON_HOME/lib" |
|
17994 |
- LDFLAGS="$LDFLAGS $JSON_LDFLAGS" |
|
17995 |
- CFLAGS="$CFLAGS $JSON_CPPFLAGS" |
|
17996 |
- fi |
|
17980 |
+ JSON_CPPFLAGS="-I$LIBJSON_HOME/$JSON_INCLUDE" |
|
17981 |
+ save_LDFLAGS="$LDFLAGS" |
|
17982 |
+ save_CFLAGS="$CFLAGS" |
|
17983 |
+ save_LIBS="$LIBS" |
|
17984 |
+ LIBS="" |
|
17985 |
+ JSON_LIBS="" |
|
17986 |
+ if test "$LIBJSON_HOME" != "/usr" |
|
17987 |
+ then |
|
17988 |
+ JSON_LDFLAGS="-L$LIBJSON_HOME/lib" |
|
17989 |
+ LDFLAGS="$LDFLAGS $JSON_LDFLAGS" |
|
17990 |
+ CFLAGS="$CFLAGS $JSON_CPPFLAGS" |
|
17991 |
+ fi |
|
17997 | 17992 |
|
17998 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing json_object_object_get_ex" >&5 |
|
17993 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing json_object_object_get_ex" >&5 |
|
17999 | 17994 |
$as_echo_n "checking for library containing json_object_object_get_ex... " >&6; } |
18000 | 17995 |
if ${ac_cv_search_json_object_object_get_ex+:} false; then : |
18001 | 17996 |
$as_echo_n "(cached) " >&6 |
... | ... |
@@ -18049,12 +18044,12 @@ ac_res=$ac_cv_search_json_object_object_get_ex |
18049 | 18049 |
if test "$ac_res" != no; then : |
18050 | 18050 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
18051 | 18051 |
|
18052 |
-have_json="yes" |
|
18053 |
-have_deprecated_json="no" |
|
18052 |
+ have_json="yes" |
|
18053 |
+ have_deprecated_json="no" |
|
18054 | 18054 |
else |
18055 | 18055 |
|
18056 |
-have_json="no" |
|
18057 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing json_object_object_get" >&5 |
|
18056 |
+ have_json="no" |
|
18057 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing json_object_object_get" >&5 |
|
18058 | 18058 |
$as_echo_n "checking for library containing json_object_object_get... " >&6; } |
18059 | 18059 |
if ${ac_cv_search_json_object_object_get+:} false; then : |
18060 | 18060 |
$as_echo_n "(cached) " >&6 |
... | ... |
@@ -18108,8 +18103,8 @@ ac_res=$ac_cv_search_json_object_object_get |
18108 | 18108 |
if test "$ac_res" != no; then : |
18109 | 18109 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
18110 | 18110 |
|
18111 |
-have_json="yes" |
|
18112 |
-have_deprecated_json="yes" |
|
18111 |
+ have_json="yes" |
|
18112 |
+ have_deprecated_json="yes" |
|
18113 | 18113 |
|
18114 | 18114 |
fi |
18115 | 18115 |
|
... | ... |
@@ -18117,27 +18112,26 @@ fi |
18117 | 18117 |
fi |
18118 | 18118 |
|
18119 | 18119 |
|
18120 |
- CFLAGS="$save_CFLAGS" |
|
18121 |
- LDFLAGS="$save_LDFLAGS" |
|
18120 |
+ CFLAGS="$save_CFLAGS" |
|
18121 |
+ LDFLAGS="$save_LDFLAGS" |
|
18122 | 18122 |
fi |
18123 | 18123 |
|
18124 | 18124 |
if test "X$have_json" = "Xyes"; then |
18125 | 18125 |
|
18126 | 18126 |
$as_echo "#define HAVE_JSON 1" >>confdefs.h |
18127 | 18127 |
|
18128 |
- if test "X$have_deprecated_json" = "Xyes"; then |
|
18128 |
+ if test "X$have_deprecated_json" = "Xyes"; then |
|
18129 | 18129 |
|
18130 | 18130 |
$as_echo "#define HAVE_DEPRECATED_JSON 1" >>confdefs.h |
18131 | 18131 |
|
18132 |
- fi |
|
18133 |
- JSON_LIBS="$LIBS" |
|
18132 |
+ fi |
|
18133 |
+ JSON_LIBS="$LIBS" |
|
18134 | 18134 |
fi |
18135 | 18135 |
|
18136 | 18136 |
LIBS="$save_LIBS" |
18137 | 18137 |
|
18138 | 18138 |
|
18139 | 18139 |
|
18140 |
- |
|
18141 | 18140 |
# Check whether --with-pcre was given. |
18142 | 18141 |
if test "${with_pcre+set}" = set; then : |
18143 | 18142 |
withval=$with_pcre; pcreser=$withval |
... | ... |
@@ -24120,7 +24114,6 @@ else |
24120 | 24120 |
fi |
24121 | 24121 |
|
24122 | 24122 |
|
24123 |
- |
|
24124 | 24123 |
# PRELUDE |
24125 | 24124 |
# Check whether --enable-prelude was given. |
24126 | 24125 |
if test "${enable_prelude+set}" = set; then : |
... | ... |
@@ -24381,7 +24374,6 @@ $as_echo "#define PRELUDE 1" >>confdefs.h |
24381 | 24381 |
fi |
24382 | 24382 |
|
24383 | 24383 |
|
24384 |
- |
|
24385 | 24384 |
case "$host_os" in |
24386 | 24385 |
freebsd*) |
24387 | 24386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kinfo_getvmmap in -lutil" >&5 |
... | ... |
@@ -24430,8 +24422,8 @@ fi |
24430 | 24430 |
esac |
24431 | 24431 |
|
24432 | 24432 |
|
24433 |
+ |
|
24433 | 24434 |
have_curl="no" |
24434 |
-curl_msg="Please use the web interface for submitting FPs/FNs." |
|
24435 | 24435 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl installation" >&5 |
24436 | 24436 |
$as_echo_n "checking for libcurl installation... " >&6; } |
24437 | 24437 |
|
... | ... |
@@ -24574,8 +24566,6 @@ fi |
24574 | 24574 |
|
24575 | 24575 |
|
24576 | 24576 |
|
24577 |
- |
|
24578 |
- |
|
24579 | 24577 |
# Check whether --with-system-libmspack was given. |
24580 | 24578 |
if test "${with_system_libmspack+set}" = set; then : |
24581 | 24579 |
withval=$with_system_libmspack; system_libmspack=$withval |
... | ... |
@@ -24679,7 +24669,6 @@ fi |
24679 | 24679 |
fi |
24680 | 24680 |
|
24681 | 24681 |
|
24682 |
- |
|
24683 | 24682 |
# Check whether --enable-strni was given. |
24684 | 24683 |
if test "${enable_strni+set}" = set; then : |
24685 | 24684 |
enableval=$enable_strni; enable_strni=$enableval |
... | ... |
@@ -30184,29 +30173,61 @@ if test "X$have_curl" = "Xyes" && test "X$have_json" = "Xyes"; then |
30184 | 30184 |
|
30185 | 30185 |
$as_echo_n " clamsubmit : " |
30186 | 30186 |
if test "xyes" = "xno"; then : |
30187 |
- $as_echo "yes (disabled)" |
|
30187 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME), libcurl-devel found at $LIBCURL_HOME) (disabled)" |
|
30188 | 30188 |
elif test "xyes" = "xyes"; then : |
30189 |
- $as_echo "yes" |
|
30189 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME), libcurl-devel found at $LIBCURL_HOME)" |
|
30190 | 30190 |
elif test "xyes" = "x"; then : |
30191 |
- $as_echo "yes" |
|
30191 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME), libcurl-devel found at $LIBCURL_HOME)" |
|
30192 | 30192 |
else |
30193 |
- $as_echo "yes (yes)" |
|
30193 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME), libcurl-devel found at $LIBCURL_HOME) (yes)" |
|
30194 | 30194 |
fi |
30195 | 30195 |
|
30196 | 30196 |
else |
30197 |
+ if test "X$have_curl" != "Xyes" && test "X$have_json" != "Xyes"; then |
|
30197 | 30198 |
|
30198 | 30199 |
|
30199 | 30200 |
$as_echo_n " clamsubmit : " |
30200 | 30201 |
if test "xno" = "xno"; then : |
30201 |
- $as_echo "no (disabled)" |
|
30202 |
+ $as_echo "no (missing libjson-c-dev AND libcurl-devel. Use the website to submit FPs/FNs.) (disabled)" |
|
30202 | 30203 |
elif test "xno" = "xyes"; then : |
30203 |
- $as_echo "no" |
|
30204 |
+ $as_echo "no (missing libjson-c-dev AND libcurl-devel. Use the website to submit FPs/FNs.)" |
|
30204 | 30205 |
elif test "xno" = "x"; then : |
30205 |
- $as_echo "no" |
|
30206 |
+ $as_echo "no (missing libjson-c-dev AND libcurl-devel. Use the website to submit FPs/FNs.)" |
|
30206 | 30207 |
else |
30207 |
- $as_echo "no (no)" |
|
30208 |
+ $as_echo "no (missing libjson-c-dev AND libcurl-devel. Use the website to submit FPs/FNs.) (no)" |
|
30208 | 30209 |
fi |
30209 | 30210 |
|
30211 |
+ else |
|
30212 |
+ if test "X$have_curl" = "Xyes"; then |
|
30213 |
+ |
|
30214 |
+ |
|
30215 |
+ $as_echo_n " clamsubmit : " |
|
30216 |
+ if test "xno" = "xno"; then : |
|
30217 |
+ $as_echo "no (missing libjson-c-dev. Use the website to submit FPs/FNs.) (disabled)" |
|
30218 |
+elif test "xno" = "xyes"; then : |
|
30219 |
+ $as_echo "no (missing libjson-c-dev. Use the website to submit FPs/FNs.)" |
|
30220 |
+elif test "xno" = "x"; then : |
|
30221 |
+ $as_echo "no (missing libjson-c-dev. Use the website to submit FPs/FNs.)" |
|
30222 |
+else |
|
30223 |
+ $as_echo "no (missing libjson-c-dev. Use the website to submit FPs/FNs.) (no)" |
|
30224 |
+fi |
|
30225 |
+ |
|
30226 |
+ else |
|
30227 |
+ |
|
30228 |
+ |
|
30229 |
+ $as_echo_n " clamsubmit : " |
|
30230 |
+ if test "xno" = "xno"; then : |
|
30231 |
+ $as_echo "no (missing libcurl-devel. Use the website to submit FPs/FNs.) (disabled)" |
|
30232 |
+elif test "xno" = "xyes"; then : |
|
30233 |
+ $as_echo "no (missing libcurl-devel. Use the website to submit FPs/FNs.)" |
|
30234 |
+elif test "xno" = "x"; then : |
|
30235 |
+ $as_echo "no (missing libcurl-devel. Use the website to submit FPs/FNs.)" |
|
30236 |
+else |
|
30237 |
+ $as_echo "no (missing libcurl-devel. Use the website to submit FPs/FNs.) (no)" |
|
30238 |
+fi |
|
30239 |
+ |
|
30240 |
+ fi |
|
30241 |
+ fi |
|
30210 | 30242 |
fi |
30211 | 30243 |
|
30212 | 30244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Summary of engine performance features" >&5 |
... | ... |
@@ -30263,13 +30284,13 @@ elif test "x$llvm_linking" = "x"; then |
30263 | 30263 |
|
30264 | 30264 |
$as_echo_n " llvm : " |
30265 | 30265 |
if test "x$enable_llvm" = "xno"; then : |
30266 |
- $as_echo "$have_jit($llvmver), from $system_llvm (disabled)" |
|
30266 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm (disabled)" |
|
30267 | 30267 |
elif test "x$enable_llvm" = "xyes"; then : |
30268 |
- $as_echo "$have_jit($llvmver), from $system_llvm" |
|
30268 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm" |
|
30269 | 30269 |
elif test "x$enable_llvm" = "x"; then : |
30270 |
- $as_echo "$have_jit($llvmver), from $system_llvm" |
|
30270 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm" |
|
30271 | 30271 |
else |
30272 |
- $as_echo "$have_jit($llvmver), from $system_llvm ($enable_llvm)" |
|
30272 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm ($enable_llvm)" |
|
30273 | 30273 |
fi |
30274 | 30274 |
|
30275 | 30275 |
else |
... | ... |
@@ -30277,13 +30298,13 @@ else |
30277 | 30277 |
|
30278 | 30278 |
$as_echo_n " llvm : " |
30279 | 30279 |
if test "x$enable_llvm" = "xno"; then : |
30280 |
- $as_echo "$have_jit($llvmver), from $system_llvm ($llvm_linking) (disabled)" |
|
30280 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm ($llvm_linking) (disabled)" |
|
30281 | 30281 |
elif test "x$enable_llvm" = "xyes"; then : |
30282 |
- $as_echo "$have_jit($llvmver), from $system_llvm ($llvm_linking)" |
|
30282 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm ($llvm_linking)" |
|
30283 | 30283 |
elif test "x$enable_llvm" = "x"; then : |
30284 |
- $as_echo "$have_jit($llvmver), from $system_llvm ($llvm_linking)" |
|
30284 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm ($llvm_linking)" |
|
30285 | 30285 |
else |
30286 |
- $as_echo "$have_jit($llvmver), from $system_llvm ($llvm_linking) ($enable_llvm)" |
|
30286 |
+ $as_echo "$have_jit ($llvmver), from $system_llvm ($llvm_linking) ($enable_llvm)" |
|
30287 | 30287 |
fi |
30288 | 30288 |
|
30289 | 30289 |
fi |
... | ... |
@@ -30342,31 +30363,32 @@ else |
30342 | 30342 |
$as_echo "$want_unrar ($want_unrar)" |
30343 | 30343 |
fi |
30344 | 30344 |
|
30345 |
-if test "x$LIBJSON_HOME" != "x"; then |
|
30345 |
+if test "X$have_json" = "Xyes"; then |
|
30346 | 30346 |
|
30347 | 30347 |
|
30348 |
- $as_echo_n " libjson : " |
|
30349 |
- if test "x$have_json" = "xno"; then : |
|
30350 |
- $as_echo "$LIBJSON_HOME (disabled)" |
|
30351 |
-elif test "x$have_json" = "xyes"; then : |
|
30352 |
- $as_echo "$LIBJSON_HOME" |
|
30353 |
-elif test "x$have_json" = "x"; then : |
|
30354 |
- $as_echo "$LIBJSON_HOME" |
|
30348 |
+ $as_echo_n " preclass : " |
|
30349 |
+ if test "xyes" = "xno"; then : |
|
30350 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME) (disabled)" |
|
30351 |
+elif test "xyes" = "xyes"; then : |
|
30352 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME)" |
|
30353 |
+elif test "xyes" = "x"; then : |
|
30354 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME)" |
|
30355 | 30355 |
else |
30356 |
- $as_echo "$LIBJSON_HOME ($have_json)" |
|
30356 |
+ $as_echo "yes (libjson-c-dev found at $LIBJSON_HOME) (yes)" |
|
30357 | 30357 |
fi |
30358 | 30358 |
|
30359 |
+else |
|
30359 | 30360 |
|
30360 | 30361 |
|
30361 | 30362 |
$as_echo_n " preclass : " |
30362 |
- if test "x$have_json" = "xno"; then : |
|
30363 |
- $as_echo "$LIBJSON_HOME (disabled)" |
|
30364 |
-elif test "x$have_json" = "xyes"; then : |
|
30365 |
- $as_echo "$LIBJSON_HOME" |
|
30366 |
-elif test "x$have_json" = "x"; then : |
|
30367 |
- $as_echo "$LIBJSON_HOME" |
|
30368 |
-else |
|
30369 |
- $as_echo "$LIBJSON_HOME ($have_json)" |
|
30363 |
+ if test "xno" = "xno"; then : |
|
30364 |
+ $as_echo "no (missing libjson-c-dev) (disabled)" |
|
30365 |
+elif test "xno" = "xyes"; then : |
|
30366 |
+ $as_echo "no (missing libjson-c-dev)" |
|
30367 |
+elif test "xno" = "x"; then : |
|
30368 |
+ $as_echo "no (missing libjson-c-dev)" |
|
30369 |
+else |
|
30370 |
+ $as_echo "no (missing libjson-c-dev) (no)" |
|
30370 | 30371 |
fi |
30371 | 30372 |
|
30372 | 30373 |
fi |