summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Teichman <teichman@src.gnome.org>2000-01-24 00:38:25 +0000
committerPeter Teichman <teichman@src.gnome.org>2000-01-24 00:38:25 +0000
commitc4865116e38d3bd4eb398f75495d140e5101c332 (patch)
treeeb54ed057ed0b63a52ba65beef093f010302699a
parent0e4b8356e185a2743a374b3d4023a22c0364632e (diff)
downloadgnome-common-c4865116e38d3bd4eb398f75495d140e5101c332.tar.gz
i broke the version-checking macro for other distribs in my last commit.
* gnome-pilot.m4: i broke the version-checking macro for other distribs in my last commit. fixing that now. svn path=/trunk/; revision=1069
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-pilot.m45
2 files changed, 9 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 71b22f8..b3c9c3f 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-23 Peter Teichman <peter@helixcode.com>
+
+ * gnome-pilot.m4: i broke the version-checking macro for other
+ distribs in my last commit. fixing that now.
+
2000-01-23 Martin Baulig <martin@home-of-linux.org>
* gnome-libgtop-check.m4 (GNOME_LIBGTOP_TYPES): Check for
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index 862b4ef..16e081a 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -33,7 +33,6 @@ AC_DEFUN([PILOT_LINK_HOOK],[
else
AC_MSG_ERROR("Unable to find libpisock. Try ftp://ryeham.ee.ryerson.ca/pub/PalmOS/.")
fi
- piversion_include="pi-version.h"
AC_SUBST(PISOCK_INCLUDEDIR)
AC_SUBST(PISOCK_LIBDIR)
fi
@@ -59,6 +58,10 @@ AC_DEFUN([PILOT_LINK_HOOK],[
[ testplversion=yes ]
)
+ if test x$piversion_include = x; then
+ piversion_include="pi-version.h"
+ fi
+
if test x$testplversion = xyes; then
AC_MSG_CHECKING(for pilot-link version >= $1)
pl_ve=`echo $1|sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`