Merge branch 'cups-config-version-check' into 'gtk-3-24'

build: use --version instead of --api-version for cups-config

See merge request GNOME/gtk!936
This commit is contained in:
Christoph Reiter 2019-06-15 07:25:54 +00:00
commit 18177388d1

View File

@ -1525,7 +1525,7 @@ else
CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
CUPS_LIBS=`$CUPS_CONFIG --libs`
CUPS_API_VERSION=`$CUPS_CONFIG --api-version`
CUPS_API_VERSION=`$CUPS_CONFIG --version`
CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`