summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authormdejong <mdejong>2001-09-12 21:03:51 (GMT)
committermdejong <mdejong>2001-09-12 21:03:51 (GMT)
commitffdcd15f54e2b66fc95e9939934e9141674e3bad (patch)
tree4b7eec30df426fb3a4de444a1880895a9bf0040c /unix/configure
parent2cf8c1fffc481cceda268dcf1d929164b22cf99d (diff)
downloadtk-ffdcd15f54e2b66fc95e9939934e9141674e3bad.zip
tk-ffdcd15f54e2b66fc95e9939934e9141674e3bad.tar.gz
tk-ffdcd15f54e2b66fc95e9939934e9141674e3bad.tar.bz2
* unix/configure:
* unix/tcl.m4: Update from Tcl.
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure28
1 files changed, 14 insertions, 14 deletions
diff --git a/unix/configure b/unix/configure
index 7cda6e0..03dbfa1 100755
--- a/unix/configure
+++ b/unix/configure
@@ -1548,7 +1548,7 @@ fi
STLIB_LD='${AR} cr'
case $system in
AIX-5.*)
- if test "${TCL_THREADS}" = "1" -a "$GCC" = "no" ; then
+ if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
# AIX requires the _r compiler when gcc isn't being used
if test "${CC}" != "cc_r" ; then
CC=${CC}_r
@@ -1575,17 +1575,17 @@ fi
fi
if test "$do64bit" = "yes" ; then
- if test "$GCC" = "no" ; then
+ if test "$GCC" = "yes" ; then
+ echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
+ else
do64bit_ok=yes
EXTRA_CFLAGS="-q64"
LDFLAGS="-q64"
- else
- echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
fi
fi
;;
AIX-*)
- if test "${TCL_THREADS}" = "1" -a "$GCC" = "no" ; then
+ if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
# AIX requires the _r compiler when gcc isn't being used
if test "${CC}" != "cc_r" ; then
CC=${CC}_r
@@ -2098,18 +2098,18 @@ EOF
DL_LIBS=""
LDFLAGS=""
LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
- if test "$GCC" = "no" ; then
+ if test "$GCC" != "yes" ; then
EXTRA_CFLAGS="-DHAVE_TZSET -std1"
fi
# see pthread_intro(3) for pthread support on osf1, k.furukawa
if test "${TCL_THREADS}" = "1" ; then
EXTRA_CFLAGS="${EXTRA_CFLAGS} -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
- if test "$GCC" = "no" ; then
- EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread"
- LDFLAGS="-pthread"
- else
+ if test "$GCC" = "yes" ; then
LIBS=`echo $LIBS | sed s/-lpthreads//`
LIBS="$LIBS -lpthread -lmach -lexc"
+ else
+ EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread"
+ LDFLAGS="-pthread"
fi
fi
@@ -2224,7 +2224,9 @@ EOF
if test "$do64bit" = "yes" ; then
arch=`isainfo`
if test "$arch" = "sparcv9 sparc" ; then
- if test "$GCC" = "no" ; then
+ if test "$GCC" = "yes" ; then
+ echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
+ else
do64bit_ok=yes
if test "$do64bitVIS" = "yes" ; then
EXTRA_CFLAGS="-xarch=v9a"
@@ -2233,8 +2235,6 @@ EOF
EXTRA_CFLAGS="-xarch=v9"
LDFLAGS="-xarch=v9"
fi
- else
- echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
fi
else
echo "configure: warning: "64bit mode only supported sparcv9 system"" 1>&2
@@ -2263,7 +2263,7 @@ EOF
DL_LIBS=""
LDFLAGS="-Wl,-D,08000000"
LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
- if test "$GCC" = "no" ; then
+ if test "$GCC" != "yes" ; then
EXTRA_CFLAGS="-DHAVE_TZSET -std1"
fi
;;