aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-03-02 09:33:29 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-03-02 09:33:29 +0800
commit50ef074887b43f43dad3edb120d9abf30092c681 (patch)
tree1c697274bb760736acbcb55664d18789c4b0ad82
parent9646d80f42844f280e7f4aabb9ce433ae028da1c (diff)
downloadgsoc2013-evolution-50ef074887b43f43dad3edb120d9abf30092c681.tar.gz
gsoc2013-evolution-50ef074887b43f43dad3edb120d9abf30092c681.tar.zst
gsoc2013-evolution-50ef074887b43f43dad3edb120d9abf30092c681.zip
quote a test and make sure incdir is always set so 'cat' works
2001-03-01 JP Rosevear <jpr@ximian.com> * gnome-pilot.m4: quote a test and make sure incdir is always set so 'cat' works svn path=/trunk/; revision=8469
-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 bb09d18e10..f273319c52 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 07c310f456..17d03ba824 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