summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-25 15:16:39 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-25 15:16:39 -0500
commitf49a187642b58e3980b635c3143831798413cd17 (patch)
tree2c0235277c644e8021db2bee5c8f334c75338cf9 /ksim
parent09dd41124d10ceb297142f7873b44b40c3be773b (diff)
downloadtdeutils-f49a187642b58e3980b635c3143831798413cd17.tar.gz
tdeutils-f49a187642b58e3980b635c3143831798413cd17.zip
Fix tdeutils not detecting extutil.h usability
This closes Bug 877
Diffstat (limited to 'ksim')
-rw-r--r--ksim/configure.in.in8
1 files changed, 7 insertions, 1 deletions
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