1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
|
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
|
+
-
+
+
+
-
+
+
|
echo "${ECHO_T}$CYGPATH" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
EXEEXT=".exe"
if [ -z "${TEA_PLATFORM}" ]; then
TEA_PLATFORM="windows"
TEA_PLATFORM="windows"
fi
;;
*CYGWIN_*)
CYGPATH=echo
EXEEXT=".exe"
# TEA_PLATFORM is determined later
;;
*)
CYGPATH=echo
EXEEXT=""
if [ -z "${TEA_PLATFORM}" ]; then
TEA_PLATFORM="unix"
TEA_PLATFORM="unix"
fi
;;
esac
# Check if exec_prefix is set. If not use fall back to prefix.
# Note when adjusted, so that TEA_PREFIX can correct for this.
# This is needed for recursive configures, since autoconf propagates
# $prefix, but not $exec_prefix (doh!).
|
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
|
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
|
+
-
+
+
+
-
+
+
|
case "`uname -s`" in
*CYGWIN_*)
echo "$as_me:$LINENO: checking for cygwin variant" >&5
echo $ECHO_N "checking for cygwin variant... $ECHO_C" >&6
case ${TCL_EXTRA_CFLAGS} in
*-mwin32*|*-mno-cygwin*)
if [ -z "${TEA_PLATFORM}" ]; then
TEA_PLATFORM="windows"
TEA_PLATFORM="windows"
fi
CFLAGS="$CFLAGS -mwin32"
echo "$as_me:$LINENO: result: win32" >&5
echo "${ECHO_T}win32" >&6
;;
*)
if [ -z "${TEA_PLATFORM}" ]; then
TEA_PLATFORM="unix"
TEA_PLATFORM="unix"
fi
echo "$as_me:$LINENO: result: unix" >&5
echo "${ECHO_T}unix" >&6
;;
esac
EXEEXT=".exe"
;;
*)
|
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
|
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
|
-
+
|
PKG_LIBS="$PKG_LIBS $i"
done
fi
if test -n "${OPENSSL}"; then
vars="ssleay32.lib libeay32.lib"
vars="ssl.lib crypto.lib"
for i in $vars; do
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
# Convert foo.lib to -lfoo for GCC. No-op if not *.lib
i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'`
fi
PKG_LIBS="$PKG_LIBS $i"
done
|