summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure18
1 files changed, 10 insertions, 8 deletions
diff --git a/unix/configure b/unix/configure
index 7f31ae7..ed4295e 100755
--- a/unix/configure
+++ b/unix/configure
@@ -10772,7 +10772,7 @@ fi
# Check whether XKeycodeToKeysym is deprecated in X11 headers.
#--------------------------------------------------------------------
-if test $tk_aqua = no; then
+if test $tk_aqua = no && test "$GCC" = yes; then
echo "$as_me:$LINENO: checking whether XKeycodeToKeysym is deprecated" >&5
echo $ECHO_N "checking whether XKeycodeToKeysym is deprecated... $ECHO_C" >&6
tk_oldCFlags=$CFLAGS
@@ -10819,7 +10819,15 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:$LINENO: result: yes" >&5
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
cat >>confdefs.h <<\_ACEOF
@@ -10827,12 +10835,6 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext