From: DRC Date: Sun, 7 Nov 2010 19:12:30 +0000 (+0000) Subject: Use version script for jpeg-6b emulation as well X-Git-Tag: 1.0.90~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a0478e1e4b58b768720d486564cccbeb53eaad8;p=libjpeg-turbo Use version script for jpeg-6b emulation as well git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@290 632fc199-4ca6-4c93-a231-07263d6284db --- diff --git a/configure.ac b/configure.ac index 489c950..fb022f2 100644 --- a/configure.ac +++ b/configure.ac @@ -151,15 +151,11 @@ AC_MSG_RESULT([$SO_MAJOR_VERSION:$SO_MINOR_VERSION]) AC_SUBST(SO_MAJOR_VERSION) AC_SUBST(SO_MINOR_VERSION) -if test $JPEG_LIB_VERSION -lt 70; then - VERSION_SCRIPT=no -else - VERSION_SCRIPT=yes - AC_ARG_ENABLE([ld-version-script], - AS_HELP_STRING([--disable-ld-version-script], - [Disable linker version script for libjpeg-turbo (default is to use linker version script when emulating libjpeg v7/v8b, if the linker supports it)]), - [VERSION_SCRIPT=$enableval], []) -fi +VERSION_SCRIPT=yes +AC_ARG_ENABLE([ld-version-script], + AS_HELP_STRING([--disable-ld-version-script], + [Disable linker version script for libjpeg-turbo (default is to use linker version script if the linker supports it)]), + [VERSION_SCRIPT=$enableval], []) AC_MSG_CHECKING([whether the linker supports version scripts]) SAVED_LDFLAGS="$LDFLAGS"