[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] configure.ac: properly escape the test for X11/keysymdef.h
From: |
Justus Winter |
Subject: |
[PATCH] configure.ac: properly escape the test for X11/keysymdef.h |
Date: |
Fri, 25 Oct 2013 13:45:47 +0200 |
* configure.ac: Properly escape the test for X11/keysymdef.h using
AC_LANG_SOURCE.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 6844f6c..d822dd2 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 <X11/keysymdef.h>],
+ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <X11/keysymdef.h>]])],
[[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"],
--
1.7.10.4
- [PATCH] configure.ac: properly escape the test for X11/keysymdef.h,
Justus Winter <=