i broke the version-checking macro for other distribs in my last commit.
authorPeter Teichman <teichman@src.gnome.org>
Mon, 24 Jan 2000 00:38:25 +0000 (00:38 +0000)
committerPeter Teichman <teichman@src.gnome.org>
Mon, 24 Jan 2000 00:38:25 +0000 (00:38 +0000)
        * gnome-pilot.m4: i broke the version-checking macro for other
        distribs in my last commit. fixing that now.

svn path=/trunk/; revision=1069

macros/ChangeLog
macros/gnome-pilot.m4

index 71b22f8..b3c9c3f 100644 (file)
@@ -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
index 862b4ef..16e081a 100644 (file)
@@ -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/'`