From 4a1ce9e79b029ed8d34a31e188f145c6ac84c9f4 Mon Sep 17 00:00:00 2001 From: ayin Date: Mon, 7 May 2007 13:42:23 +0000 Subject: [PATCH] Add missing includes in tests. --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 709b691b..050a449e 100644 --- a/configure.ac +++ b/configure.ac @@ -501,7 +501,8 @@ ac_save_LIBS=$LIBS CFLAGS="$CFLAGS $X_CFLAGS" LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` AC_CACHE_CHECK([for -rpath dynamic library path recording], rxvt_cv_rpath, -[AC_RUN_IFELSE([AC_LANG_SOURCE([[ +[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include +#include main() { exit(0); @@ -514,7 +515,8 @@ if test x$rxvt_cv_rpath != xyes; then changequote([, ])dnl LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` AC_CACHE_CHECK([for -R dynamic library path recording], rxvt_cv_R, -[AC_RUN_IFELSE([AC_LANG_SOURCE([[ +[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include +#include main() { exit(0); @@ -686,6 +688,7 @@ if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then fi AC_CACHE_CHECK(for working Xlocale, rxvt_cv_func_xlocale, [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include +#include main() { char *p; if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) -- 2.34.1