This resolves Bug 945
Thanks to Darrell Anderson for the patch!
pull/2/head
Timothy Pearson 12 years ago
parent 50aecf2cb3
commit 294bbfddc9

@ -170,9 +170,9 @@ dnl
dnl ---------------------------------------------------------------------------- dnl ----------------------------------------------------------------------------
AC_DEFUN([KPILOT_CHECK_KABC],[HAVE_KABC=0 AC_DEFUN([KPILOT_CHECK_KABC],[HAVE_KABC=0
kpilot_save_cflags="$CPPFLAGS -Itderesources/factory.h"
KDE_CHECK_HEADER(tderesources/factory.h,HAVE_KABC=1, KDE_CHECK_HEADER(tderesources/factory.h,HAVE_KABC=1,
AC_MSG_WARN([KPILOT: Older kaddressbook version detected. No address book AC_MSG_WARN([KPILOT: No tderesources/factory.h found. No address book conduit will be compiled.]))
conduit will be compiled.]))
AM_CONDITIONAL(include_abc, test "$HAVE_KABC" = 1) AM_CONDITIONAL(include_abc, test "$HAVE_KABC" = 1)
]) ])
@ -183,12 +183,12 @@ dnl
dnl ---------------------------------------------------------------------------- dnl ----------------------------------------------------------------------------
AC_DEFUN([KPILOT_CHECK_NOTEPAD],[HAVE_NOTEPAD=0 AC_DEFUN([KPILOT_CHECK_NOTEPAD],[HAVE_NOTEPAD=0
kpilot_save_cflags="$CPPFLAGS" kpilot_save_cflags="$CPPFLAGS -Ipi-notepad.h"
kpilot_save_ldflags="$LDFLAGS" kpilot_save_ldflags="$LDFLAGS"
test -z "$PISOCK_INCLUDE" || CPPFLAGS="$CPPFLAGS $PISOCK_INCLUDE" test -z "$PISOCK_INCLUDE" || CPPFLAGS="$CPPFLAGS $PISOCK_INCLUDE"
KDE_CHECK_HEADER(pi-notepad.h,HAVE_NOTEPAD=1, KDE_CHECK_HEADER(pi-notepad.h,HAVE_NOTEPAD=1,
AC_MSG_WARN([KPILOT: No notepad.h for pilot-link. Your pilot-link is too old.])) AC_MSG_WARN([KPILOT: No notepad.h for pilot-link found. No notepad conduit will be compiled.]))
CPPFLAGS="$kpilot_save_cflags" CPPFLAGS="$kpilot_save_cflags"
LDFLAGS="$kpilot_save_ldflags" LDFLAGS="$kpilot_save_ldflags"

@ -89,7 +89,7 @@ esac
AC_LANG_PUSH(C++) AC_LANG_PUSH(C++)
kpilot_save_cflags="$CPPFLAGS" kpilot_save_cflags="$CPPFLAGS -Ipi-file.h -Ipi-version.h"
kpilot_save_ldflags="$LDFLAGS" kpilot_save_ldflags="$LDFLAGS"
@ -108,7 +108,7 @@ dnl Try looking normally
dnl dnl
dnl dnl
if test "x$with_pilot_link" = "xCHECK" ; then 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 fi
dnl If nothing found, try some other places that might have 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
dnl dnl
if test -z "$pisock_path" ; then 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 else
test -d "$pisock_path" || HAVE_PISOCK="0" test -d "$pisock_path" || HAVE_PISOCK="0"
test -f "$pisock_path/pi-version.h" || HAVE_PISOCK="0" test -f "$pisock_path/pi-version.h" || HAVE_PISOCK="0"

Loading…
Cancel
Save