From 8d504208df89450f9abc23fc7f9e7a7280378fcd Mon Sep 17 00:00:00 2001 From: das Date: Fri, 29 Jun 2007 03:18:33 +0000 Subject: * unix/configure.in: fix flag used to weak-link libXss. * unix/configure: autoconf-2.59 --- unix/configure | 2 +- unix/configure.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/unix/configure b/unix/configure index 5fa4857..a423d30 100755 --- a/unix/configure +++ b/unix/configure @@ -9617,7 +9617,7 @@ if test $ac_cv_lib_Xss_XScreenSaverQueryInfo = yes; then if test "$tcl_cv_ld_weak_l" = yes; then # On Darwin, weak link libXss if possible, # as it is only available on Tiger or later. - XLIBSW="$XLIBSW -weak-lXss -lXext" + XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext" else XLIBSW="$XLIBSW -lXss -lXext" fi diff --git a/unix/configure.in b/unix/configure.in index d57a077..cb9e2c6 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tk installation dnl to configure the system for the local environment. # -# RCS: @(#) $Id: configure.in,v 1.135 2007/06/06 09:55:22 das Exp $ +# RCS: @(#) $Id: configure.in,v 1.136 2007/06/29 03:18:34 das Exp $ AC_INIT([tk],[8.5]) AC_PREREQ(2.59) @@ -400,7 +400,7 @@ if test $tk_aqua = no; then if test "$tcl_cv_ld_weak_l" = yes; then # On Darwin, weak link libXss if possible, # as it is only available on Tiger or later. - XLIBSW="$XLIBSW -weak-lXss -lXext" + XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext" else XLIBSW="$XLIBSW -lXss -lXext" fi -- cgit v0.12