summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-pilot.m43
2 files changed, 7 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index bb09d18e..f273319c 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-01 JP Rosevear <jpr@ximian.com>
+
+ * gnome-pilot.m4: quote a test and make sure incdir is always set
+ so 'cat' works
+
2001-02-21 Lauris Kaplinski <lauris@ximian.com>
* gnome-print-check.m4: Replaced the awk alchemy with sed alchemy.
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index 07c310f4..17d03ba8 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -24,6 +24,7 @@ AC_DEFUN([PILOT_LINK_HOOK],[
ifelse([$1], [], :, [$1])
else
PISOCK_CFLAGS="-I$withval/include"
+ incdir="$withval/include"
PISOCK_LIBS="-L$withval/lib -lpisock"
AC_MSG_CHECKING("for existance of $withval/lib/libpisock.so")
if test -r $withval/lib/libpisock.so; then
@@ -52,7 +53,7 @@ AC_DEFUN([PILOT_LINK_HOOK],[
])
fi
- if test x$PISOCK_LIBS = x; then
+ if test "x$PISOCK_LIBS" = "x"; then
AC_CHECK_LIB(pisock, pi_accept, [ PISOCK_LIBS=-lpisock ],
[ AC_MSG_ERROR("Unable to find libpisock. Try ftp://ryeham.ee.ryerson.ca/pub/PalmOS/.") ])
fi