]> granicus.if.org Git - python/commitdiff
Issue #16987: Fix definition of SHLIB_EXT.
authorStefan Krah <skrah@bytereef.org>
Thu, 17 Jan 2013 19:41:56 +0000 (20:41 +0100)
committerStefan Krah <skrah@bytereef.org>
Thu, 17 Jan 2013 19:41:56 +0000 (20:41 +0100)
configure
configure.ac

index f3e0d702e24f51fcfdca4fd5d718f801f84379a7..27d4b4537ec541810c9a6b7a3397c05358e41b3b 100755 (executable)
--- 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
 { $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
index ec8f4ce6f19c53cb8fb2d2cedea098c5eebe1122..fe3741981598fb378af4d6ce1aafd1162a46e2ba 100644 (file)
@@ -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)