From f49a187642b58e3980b635c3143831798413cd17 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 May 2012 15:16:39 -0500 Subject: Fix tdeutils not detecting extutil.h usability This closes Bug 877 --- ksim/configure.in.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ksim') diff --git a/ksim/configure.in.in b/ksim/configure.in.in index 4ddee70..878ebc2 100644 --- a/ksim/configure.in.in +++ b/ksim/configure.in.in @@ -32,5 +32,11 @@ fi dnl Check for dell laptop support AM_CONDITIONAL(supports_i8k, test -f /proc/i8k) -KDE_CHECK_HEADER(X11/extensions/extutil.h, AC_DEFINE(HAVE_EXTUTIL_H, 1, [If we have extutil.h]) have_extutil_h=yes, , ) +kde_safe_cppflags=$CPPFLAGS +CPPFLAGS="$CPPFLAGS -include X11/Xlib.h -include X11/Xutil.h -include X11/Xproto.h" +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +AC_CHECK_HEADER(X11/extensions/extutil.h, AC_DEFINE(HAVE_EXTUTIL_H, 1, [If we have extutil.h]) have_extutil_h=yes, , ) AM_CONDITIONAL(include_nv, test "x$have_extutil_h" = "xyes") +AC_LANG_RESTORE +CPPFLAGS=$kde_safe_cppflags -- cgit v1.2.1