summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f364f685be9..9a443767f4c 100644
--- a/configure.in
+++ b/configure.in
@@ -2072,12 +2072,12 @@ dnl with `--with-xim=no'.
if test "${with_xim}" != "no"; then
AC_DEFINE(USE_XIM, 1,
[Define to 1 if we should use XIM, if it is available.])
+fi
+if test "${HAVE_X11}" = "yes"; then
late_CFLAGS=$CFLAGS
if test "$GCC" = yes; then
CFLAGS="$CFLAGS --pedantic-errors"
fi
-fi
-if test "${HAVE_X11}" = "yes"; then
AC_TRY_COMPILE([
#include <X11/Xlib.h>
#include <X11/Xresource.h>],