case "${target}" in
*-*-cygwin*)
- LIBGUI_CFLAGS="-DWIN32 $LIBGUI_CFLAGS"
touch ac$$.c
if ${CC} -c -mwin32 ac$$.c >/dev/null 2>&1; then
case "$LIBGUI_CFLAGS" in
rm -f ac$$.o ac$$.c
;;
esac
+case "${host}" in
+*-*-cygwin*)
+ LIBGUI_CFLAGS="-DWIN32 $LIBGUI_CFLAGS" ;;
+esac
tmp="`cd $srcdir/library; pwd`"
# Find the init.tcl file.
echo $ac_n "checking for init.tcl""... $ac_c" 1>&6
-echo "configure:1989: checking for init.tcl" >&5
+echo "configure:1992: checking for init.tcl" >&5
if eval "test \"`echo '$''{'ac_cv_c_tcl_libdir'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking for Tcl configuration script""... $ac_c" 1>&6
-echo "configure:2024: checking for Tcl configuration script" >&5
+echo "configure:2027: checking for Tcl configuration script" >&5
if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking for Tk configuration script""... $ac_c" 1>&6
-echo "configure:2116: checking for Tk configuration script" >&5
+echo "configure:2119: checking for Tk configuration script" >&5
if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
no_tcl=true
echo $ac_n "checking for Tcl headers in the source tree""... $ac_c" 1>&6
-echo "configure:2196: checking for Tcl headers in the source tree" >&5
+echo "configure:2199: checking for Tcl headers in the source tree" >&5
# Check whether --with-tclinclude or --without-tclinclude was given.
if test "${with_tclinclude+set}" = set; then
withval="$with_tclinclude"
echo "$ac_t""none" 1>&6
ac_safe=`echo "tcl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for tcl.h""... $ac_c" 1>&6
-echo "configure:2253: checking for tcl.h" >&5
+echo "configure:2256: checking for tcl.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2258 "configure"
+#line 2261 "configure"
#include "confdefs.h"
#include <tcl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
no_tk=true
echo $ac_n "checking for Tk headers in the source tree""... $ac_c" 1>&6
-echo "configure:2327: checking for Tk headers in the source tree" >&5
+echo "configure:2330: checking for Tk headers in the source tree" >&5
# Check whether --with-tkinclude or --without-tkinclude was given.
if test "${with_tkinclude+set}" = set; then
withval="$with_tkinclude"