2000-12-21 11:57:18 +00:00
|
|
|
--- configure.orig Fri Jun 23 09:40:05 2000
|
|
|
|
+++ configure Tue Dec 19 21:17:39 2000
|
2000-06-09 08:35:54 +00:00
|
|
|
@@ -1140,7 +1140,7 @@
|
1999-11-04 10:49:41 +00:00
|
|
|
#
|
|
|
|
# 1. command line (--with-cflags)
|
|
|
|
# 2. cached variable ($blt_cv_prog_cflags)
|
|
|
|
-# 3. set to "-O6" if using gcc ($BLT_HAVE_GCC)
|
|
|
|
+# 3. set to "-O2" if using gcc ($BLT_HAVE_GCC)
|
|
|
|
# 4. otherwise, default to "-O"
|
|
|
|
#
|
|
|
|
echo $ac_n "checking default compiler flags""... $ac_c" 1>&6
|
2000-06-09 08:35:54 +00:00
|
|
|
@@ -1150,7 +1150,7 @@
|
1999-11-04 10:49:41 +00:00
|
|
|
elif test "x${blt_cv_prog_cflags}" != "x" ; then
|
|
|
|
CFLAGS=${blt_cv_prog_cflags}
|
|
|
|
elif test "${BLT_HAVE_GCC}" = "yes" ; then
|
|
|
|
- CFLAGS=-O6
|
|
|
|
+ CFLAGS=-O2
|
|
|
|
else
|
|
|
|
CFLAGS=-O
|
|
|
|
fi
|
2000-06-09 08:35:54 +00:00
|
|
|
@@ -2572,6 +2572,7 @@
|
1999-11-04 10:49:41 +00:00
|
|
|
if test "x$tclConfigFile" = "x" ; then
|
|
|
|
for dir in \
|
|
|
|
`ls -dr /usr/local/tcl/tcl[7-9].[0-9]* 2>/dev/null` \
|
2000-06-09 08:35:54 +00:00
|
|
|
+ `ls -dr /usr/local/lib/tcl[7-9].[0-9]* 2>/dev/null` \
|
1999-11-04 10:49:41 +00:00
|
|
|
/usr/local/tcl \
|
|
|
|
/usr/local \
|
|
|
|
/usr
|
2000-06-09 08:35:54 +00:00
|
|
|
@@ -2672,6 +2673,7 @@
|
1999-11-04 10:49:41 +00:00
|
|
|
if test "x$tkConfigFile" = "x" ; then
|
|
|
|
for dir in \
|
|
|
|
`ls -dr /usr/local/tcl/tcl[7-9].[0-9]* 2>/dev/null` \
|
2000-06-09 08:35:54 +00:00
|
|
|
+ `ls -dr /usr/local/lib/tk[7-9].[0-9]* 2>/dev/null` \
|
1999-11-04 10:49:41 +00:00
|
|
|
/usr/local/tcl \
|
|
|
|
/usr/local \
|
|
|
|
${x_libraries} \
|
2000-06-09 08:35:54 +00:00
|
|
|
@@ -2776,7 +2778,7 @@
|
|
|
|
fi
|
1996-08-05 04:00:39 +00:00
|
|
|
|
1999-11-04 10:49:41 +00:00
|
|
|
case $target in
|
2000-06-09 08:35:54 +00:00
|
|
|
- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|OpenBSD-*)
|
|
|
|
+ *-sunos4*|*-*-netbsd|NetBSD-*|*-*-freebsd*|OpenBSD-*)
|
|
|
|
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
|
|
|
|
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
|
1996-08-05 04:00:39 +00:00
|
|
|
;;
|
2000-12-21 11:57:18 +00:00
|
|
|
@@ -3597,7 +3599,13 @@
|
1998-10-20 01:24:34 +00:00
|
|
|
if test "$test_ok" = yes; then
|
1998-07-12 17:43:54 +00:00
|
|
|
SHLIB_CFLAGS="-fpic"
|
|
|
|
SHLIB_LD="ld"
|
1998-10-21 03:49:27 +00:00
|
|
|
- SHLIB_LD_FLAGS="-Bshareable -x"
|
1998-10-20 01:24:34 +00:00
|
|
|
+ if test `objformat` = "elf"; then
|
|
|
|
+ SHLIB_LD_FLAGS="-Bshareable -x -soname \$@"
|
1999-11-04 10:49:41 +00:00
|
|
|
+ SHLIB_SUFFIX=".so.${BLT_MAJOR_VERSION}"
|
1998-10-20 01:24:34 +00:00
|
|
|
+ else
|
|
|
|
+ SHLIB_LD_FLAGS="-Bshareable -x"
|
1999-11-04 10:49:41 +00:00
|
|
|
+ SHLIB_SUFFIX=".so.${BLT_MAJOR_VERSION}.${BLT_MINOR_VERSION}"
|
1998-10-20 01:24:34 +00:00
|
|
|
+ fi
|
1998-07-12 17:43:54 +00:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|