summaryrefslogtreecommitdiff
path: root/macros/gnome-pilot.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-pilot.m4')
-rw-r--r--macros/gnome-pilot.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index 862b4ef1..16e081a3 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/'`