From 98e498ef65f25a2a264f50d1b6c7aa49e8ae9509 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 12 Sep 2003 13:13:53 +0000 Subject: Some additions to export only the documented API, and some support for versioning. --- configure.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 0e09644cc9..57a7673820 100644 --- a/configure.in +++ b/configure.in @@ -148,6 +148,18 @@ if test $ac_cv_c_compiler_gnu != no; then fi fi +AC_MSG_CHECKING([whether we have GNU ld or compatible]) + +GLD=`ld --help < /dev/null 2>/dev/null | grep version-script` +if test "$GLD"; then +have_ld_version_script=yes + AC_MSG_RESULT(yes) +else +have_ld_version_script=no + AC_MSG_RESULT(no) +fi + +AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes") AC_MSG_RESULT([*** *** Detecting C library capabilities... -- cgit v1.2.1