From cf052f54be886ed1b98623147e4c1e6bb56a1d65 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 27 Apr 2017 18:56:10 +0200 Subject: move libjpeg version detect to script --- GNUmakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 3b1b567..23d4656 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -60,8 +60,7 @@ include $(srcdir)/mk/Autoconf.mk ac_jpeg_ver = $(shell \ $(call ac_init,for libjpeg version);\ - $(call ac_s_cmd,echo JPEG_LIB_VERSION \ - | cpp -include jpeglib.h | tail -n 1);\ + $(call ac_s_cmd,scripts/jpeg-version.sh);\ $(call ac_fini)) define make-config -- cgit