From 8c8adf6db7029d1350b8c2d4c9583ff995a9a97d Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Thu, 17 Jan 2013 20:41:56 +0100 Subject: Issue #16987: Fix definition of SHLIB_EXT. --- configure | 11 ++++++----- configure.ac | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/configure b/configure index f3e0d70..27d4b45 100755 --- a/configure +++ b/configure @@ -8384,11 +8384,6 @@ esac - -cat >>confdefs.h <<_ACEOF -#define SHLIB_EXT "$SO" -_ACEOF - # LDSHARED is the ld *command* used to create shared library # -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5 # (Shared libraries in this instance are shared modules to be loaded into @@ -13721,6 +13716,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SO" >&5 $as_echo "$SO" >&6; } + +cat >>confdefs.h <<_ACEOF +#define SHLIB_EXT "$SO" +_ACEOF + + # Check whether right shifting a negative integer extends the sign bit # or fills with zeros (like the Cray J90, according to Tim Peters). { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5 diff --git a/configure.ac b/configure.ac index ec8f4ce..fe37419 100644 --- a/configure.ac +++ b/configure.ac @@ -1898,7 +1898,6 @@ AC_SUBST(BLDSHARED) AC_SUBST(CCSHARED) AC_SUBST(LINKFORSHARED) -AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).]) # LDSHARED is the ld *command* used to create shared library # -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5 # (Shared libraries in this instance are shared modules to be loaded into @@ -3956,6 +3955,8 @@ else fi AC_MSG_RESULT($SO) +AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).]) + # Check whether right shifting a negative integer extends the sign bit # or fills with zeros (like the Cray J90, according to Tim Peters). AC_MSG_CHECKING(whether right shift extends the sign bit) -- cgit v0.12