Fixed lines for J-Pilot.
authorMatch Grun <match@dimensional.com>
Sat, 28 Jul 2001 00:26:19 +0000 (00:26 +0000)
committerMatch Grun <match@dimensional.com>
Sat, 28 Jul 2001 00:26:19 +0000 (00:26 +0000)
configure.in

index d02c8a38b98ba0cc1c3e91aceff09c67dfbb03ef..8b18ff9c2964b07589760d4764c11243ff784344 100644 (file)
@@ -136,14 +136,15 @@ fi
 
 dnl for JPilot support in addressbook
 dnl no check for libraries: these are dynamically loaded
-AC_MSG_CHECKING([whether to use jpilot])
 AC_ARG_ENABLE(jpilot,
        [  --enable-jpilot         Enable JPilot support [default=no]],
        [ac_cv_enable_jpilot=$enableval], [ac_cv_enable_jpilot=no])
+
+AC_MSG_CHECKING([whether to use jpilot])
 if test "$ac_cv_enable_jpilot" = yes; then
        AC_MSG_RESULT(yes)
        if test "$ac_cv_enable_jpilot" = yes; then
-               AC_CHECK_HEADERS(pi-args.h pi-appinfo.h pi-address, , [ac_cv_enable_jpilot=no])
+               AC_CHECK_HEADERS(pi-args.h pi-appinfo.h pi-address.h, , [ac_cv_enable_jpilot=no])
                if test "$ac_cv_enable_jpilot" = yes; then              
                        LIBS="$LIBS -lpisock"
                        AC_DEFINE(USE_JPILOT)