aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Teichman <teichman@src.gnome.org>2000-01-23 11:39:42 +0800
committerPeter Teichman <teichman@src.gnome.org>2000-01-23 11:39:42 +0800
commita39aa9b053352dedb1b9ba0a6939f94f4ffa4633 (patch)
tree72793a16e3b22631cd1ab52407a66efe6b80e76c
parentfbcdf475521aaf13049ddc7c9f96bb0c9ed9b870 (diff)
downloadgsoc2013-evolution-a39aa9b053352dedb1b9ba0a6939f94f4ffa4633.tar
gsoc2013-evolution-a39aa9b053352dedb1b9ba0a6939f94f4ffa4633.tar.gz
gsoc2013-evolution-a39aa9b053352dedb1b9ba0a6939f94f4ffa4633.tar.bz2
gsoc2013-evolution-a39aa9b053352dedb1b9ba0a6939f94f4ffa4633.tar.lz
gsoc2013-evolution-a39aa9b053352dedb1b9ba0a6939f94f4ffa4633.tar.xz
gsoc2013-evolution-a39aa9b053352dedb1b9ba0a6939f94f4ffa4633.tar.zst
gsoc2013-evolution-a39aa9b053352dedb1b9ba0a6939f94f4ffa4633.zip
fix the version-checking macro for debian
* gnome-pilot.m4 (PILOT_LIBS): fix the version-checking macro for debian svn path=/trunk/; revision=1610
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-pilot.m46
2 files changed, 9 insertions, 2 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 854785e05a..bda0e0fa6a 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-22 Peter Teichman <peter@helixcode.com>
+
+ * gnome-pilot.m4 (PILOT_LIBS): fix the version-checking macro for
+ debian
+
2000-01-20 Raja R Harinath <harinath@cs.umn.edu>
* gnome-objc-checks.m4: Look for sched_yield in -lrt, too.
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index 55f0d3152f..862b4ef153 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -33,6 +33,7 @@ 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
@@ -40,7 +41,8 @@ AC_DEFUN([PILOT_LINK_HOOK],[
if test x$PISOCK_INCLUDEDIR = x; then
AC_CHECK_HEADER(pi-version.h, [], [
- AC_CHECK_HEADER(libpisock/pi-version.h, PISOCK_INCLUDEDIR="-I/usr/include/libpisock",
+ AC_CHECK_HEADER(libpisock/pi-version.h, [PISOCK_INCLUDEDIR="-I/usr/include/libpisock"
+ piversion_include="libpisock/pi-version.h"],
AC_MSG_ERROR("Unable to find pi-version.h")) ])
fi
@@ -64,7 +66,7 @@ AC_DEFUN([PILOT_LINK_HOOK],[
pl_mi=`echo $1|sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
AC_TRY_RUN(
[
- #include <pi-version.h>
+ #include <$piversion_include>
int main(int argc,char *argv[]) {
if (PILOT_LINK_VERSION == $pl_ve) {
if (PILOT_LINK_MAJOR == $pl_ma) {