summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-03-02 01:33:29 +0000
committerJP Rosevear <jpr@src.gnome.org>2001-03-02 01:33:29 +0000
commita4345553ce1fb5f81b0b9c3d6f8f4e9f4c8fc801 (patch)
treeec7a6850fc258cecbe63eb5cb6e6ade67755b245
parent9add901178270c5c4bca4c10f2760376a5e45b63 (diff)
downloadgnome-common-a4345553ce1fb5f81b0b9c3d6f8f4e9f4c8fc801.tar.gz
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=1602
-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 bb09d18..f273319 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 07c310f..17d03ba 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