From 87c02e03c4ae40e5e96792f67d7aad09b7f50935 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 25 Oct 2013 13:45:47 +0200 Subject: configure.ac: properly escape the test for X11/keysymdef.h * configure.ac: Properly escape the test for X11/keysymdef.h using AC_LANG_SOURCE. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6844f6cb..d822dd2b 100644 --- a/configure.ac +++ b/configure.ac @@ -259,7 +259,7 @@ PKG_CHECK_MODULES([X11], [x11 xproto], have_keysymdef_h=no AC_CHECK_HEADER([X11/keysymdef.h], [AC_MSG_CHECKING([for X11/keysymdef.h absolute location]) - AC_PREPROC_IFELSE([#include ], + AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])], [[X11_KEYSYMDEF_H=`$SED -n 's%^[^"]*"\([^"]*X11/keysymdef.h\)".*$%\1%p' conftest.i`] # did the sed magic above work? AS_IF([test -f "$X11_KEYSYMDEF_H"], -- cgit v1.2.3