summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-05 09:13:26 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-05 09:13:26 -0500
commit294bbfddc9f2277be27fd2913699e1f8bd03f25e (patch)
tree0e6f06ea3bb7caf4aca75ee0b4744fa367c31973 /configure.in.in
parent50aecf2cb30123665d715b0872f8680cbfb464e9 (diff)
downloadkpilot-294bbfddc9f2277be27fd2913699e1f8bd03f25e.tar.gz
kpilot-294bbfddc9f2277be27fd2913699e1f8bd03f25e.zip
Fix FTBFS
This resolves Bug 945 Thanks to Darrell Anderson for the patch!
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in.in b/configure.in.in
index d122d05..a709ef7 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -89,7 +89,7 @@ esac
AC_LANG_PUSH(C++)
-kpilot_save_cflags="$CPPFLAGS"
+kpilot_save_cflags="$CPPFLAGS -Ipi-file.h -Ipi-version.h"
kpilot_save_ldflags="$LDFLAGS"
@@ -108,7 +108,7 @@ dnl Try looking normally
dnl
dnl
if test "x$with_pilot_link" = "xCHECK" ; then
-AC_CHECK_HEADER(pi-file.h,[HAVE_PISOCK=1], )
+KDE_CHECK_HEADER(pi-file.h,[HAVE_PISOCK=1], )
fi
dnl If nothing found, try some other places that might have
@@ -144,7 +144,7 @@ dnl Next, check the version of pilot-link to make sure it's sufficiently new.
dnl
dnl
if test -z "$pisock_path" ; then
- AC_CHECK_HEADER(pi-version.h,[HAVE_PISOCK=1], )
+ KDE_CHECK_HEADER(pi-version.h,[HAVE_PISOCK=1], )
else
test -d "$pisock_path" || HAVE_PISOCK="0"
test -f "$pisock_path/pi-version.h" || HAVE_PISOCK="0"