#! /bin/sh
-# From configure.ac Id: 6e44acf395711a629226ef773689e99c86f64554 .
+# From configure.ac Id: 000982843a93bce89b9e15dd72b0e546402acec7 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
OL_VERSIONED_SYMBOLS=""
if test $ol_enable_versioning != no; then
- LDVS=`$LD --help < /dev/null 2>/dev/null | grep version-script`
+ LDVS=`$LD --help < /dev/null 2>/dev/null | grep gnu-version-script`
if test -z "$LDVS"; then
- if test $ol_enable_versioning = "yes" ; then
- as_fn_error $? "Library symbol versioning requested but not supported" "$LINENO" 5
+ LDVS=`$LD --help < /dev/null 2>/dev/null | version-script`
+ if test -z "$LDVS"; then
+ if test $ol_enable_versioning = "yes" ; then
+ as_fn_error $? "Library symbol versioning requested but not supported" "$LINENO" 5
+ fi
+ else
+ OL_VERSIONED_SYMBOLS="-Wl,--version-script="
fi
else
- OL_VERSIONED_SYMBOLS="-Wl,--version-script="
+ OL_VERSIONED_SYMBOLS="-z gnu-version-script="
fi
fi