Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c8adf6

Browse files
author
Stefan Krah
committed
Issue #16987: Fix definition of SHLIB_EXT.
1 parent ebee49a commit 8c8adf6

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

configure

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8384,11 +8384,6 @@ esac
83848384

83858385

83868386

8387-
8388-
cat >>confdefs.h <<_ACEOF
8389-
#define SHLIB_EXT "$SO"
8390-
_ACEOF
8391-
83928387
# LDSHARED is the ld *command* used to create shared library
83938388
# -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
83948389
# (Shared libraries in this instance are shared modules to be loaded into
@@ -13721,6 +13716,12 @@ fi
1372113716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SO" >&5
1372213717
$as_echo "$SO" >&6; }
1372313718

13719+
13720+
cat >>confdefs.h <<_ACEOF
13721+
#define SHLIB_EXT "$SO"
13722+
_ACEOF
13723+
13724+
1372413725
# Check whether right shifting a negative integer extends the sign bit
1372513726
# or fills with zeros (like the Cray J90, according to Tim Peters).
1372613727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,6 @@ AC_SUBST(BLDSHARED)
18981898
AC_SUBST(CCSHARED)
18991899
AC_SUBST(LINKFORSHARED)
19001900

1901-
AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).])
19021901
# LDSHARED is the ld *command* used to create shared library
19031902
# -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
19041903
# (Shared libraries in this instance are shared modules to be loaded into
@@ -3956,6 +3955,8 @@ else
39563955
fi
39573956
AC_MSG_RESULT($SO)
39583957

3958+
AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).])
3959+
39593960
# Check whether right shifting a negative integer extends the sign bit
39603961
# or fills with zeros (like the Cray J90, according to Tim Peters).
39613962
AC_MSG_CHECKING(whether right shift extends the sign bit)

0 commit comments

Comments
 (0)