]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Specify the json-c version we need
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 16 Apr 2021 18:21:21 +0000 (13:21 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 16 Apr 2021 18:40:05 +0000 (13:40 -0500)
src/lib/json/configure
src/lib/json/configure.ac

index 83bd5b3ed91d48ef8f265fabb3db78d1c8c74260..c851bf69564de7a73f8fcb2cb64383d64d226b0a 100755 (executable)
@@ -4177,7 +4177,7 @@ fi
        else
                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: json-c libraries not found. Use --with-jsonc-lib-dir=<path>." >&5
 printf "%s\n" "$as_me: WARNING: json-c libraries not found. Use --with-jsonc-lib-dir=<path>." >&2;}
-               fail="$fail json-c"
+               fail="$fail json-c >= 0.13"
        fi
 
        targetname=libfreeradius-json
index ac60c5645c2af4cc64c616c74428af7651a06902..e65e94175d53e877319bd472520a8b1dbdabd010 100644 (file)
@@ -121,7 +121,7 @@ if test x$with_[]modname_useropt != xno; then
                )
        else
                AC_MSG_WARN([json-c libraries not found. Use --with-jsonc-lib-dir=<path>.])
-               fail="$fail json-c"
+               fail="$fail json-c >= 0.13"
        fi
 
        targetname=modname