summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authormdejong <mdejong>2001-12-19 08:01:56 (GMT)
committermdejong <mdejong>2001-12-19 08:01:56 (GMT)
commit6a51736291c6f10e90b7ed6f74ecc498e8609875 (patch)
treef0fb6ce0137842bb0697c2b407f1fe93e900b717 /unix/configure
parentbf9781627759db7fecf23b4fa5726d25722c62be (diff)
downloadtk-6a51736291c6f10e90b7ed6f74ecc498e8609875.zip
tk-6a51736291c6f10e90b7ed6f74ecc498e8609875.tar.gz
tk-6a51736291c6f10e90b7ed6f74ecc498e8609875.tar.bz2
* unix/configure: Regen.
* unix/configure.in: Move EXP file changes over from Tcl configure script to fix AIX build with gcc. [Bug 220955]
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure11
1 files changed, 8 insertions, 3 deletions
diff --git a/unix/configure b/unix/configure
index 1a93941..accf223 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4426,9 +4426,14 @@ if test "$SHARED_BUILD" = 0 -o $TCL_NEEDS_EXP_FILE = 0; then
else
TK_BUILD_EXP_FILE="lib.exp"
eval "TK_EXP_FILE=libtk${TCL_EXPORT_FILE_SUFFIX}"
-
- TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
- TK_LIB_SPEC="-bI:${exec_prefix}/lib/${TK_EXP_FILE}"
+
+ if test "$GCC" = "yes" ; then
+ TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd`/${TK_BUILD_EXP_FILE} -L`pwd`"
+ TK_LIB_SPEC="-Wl,-bI:${exec_prefix}/lib/${TK_EXP_FILE} -L`pwd`"
+ else
+ TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
+ TK_LIB_SPEC="-bI:${exec_prefix}/lib/${TK_EXP_FILE}"
+ fi
fi
TK_SHARED_BUILD=${SHARED_BUILD}