diff options
author | Peter Teichman <teichman@src.gnome.org> | 2000-01-24 00:38:25 +0000 |
---|---|---|
committer | Peter Teichman <teichman@src.gnome.org> | 2000-01-24 00:38:25 +0000 |
commit | c4865116e38d3bd4eb398f75495d140e5101c332 (patch) | |
tree | eb54ed057ed0b63a52ba65beef093f010302699a /macros/gnome-pilot.m4 | |
parent | 0e4b8356e185a2743a374b3d4023a22c0364632e (diff) | |
download | gnome-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
Diffstat (limited to 'macros/gnome-pilot.m4')
-rw-r--r-- | macros/gnome-pilot.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
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/'` |