aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Brabec <utx@src.gnome.org>2000-06-24 18:47:21 +0800
committerStanislav Brabec <utx@src.gnome.org>2000-06-24 18:47:21 +0800
commit5d0f34b4eefc1f57757e23e4583394742dca1dc8 (patch)
tree216d4c089b493265616848572f3d10f3e60af510
parent480c4bd3175ba022d770b13a3023e541faeb131f (diff)
downloadgsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar
gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar.gz
gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar.bz2
gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar.lz
gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar.xz
gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar.zst
gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.zip
Use 'PISOCK_INCLUDEDIR' in pisock version check.
svn path=/trunk/; revision=3717
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/gnome-pilot.m43
2 files changed, 7 insertions, 0 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 5122c1667e..3022f1c529 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-23 Stanislav Brabec <utx@penguin.cz>
+
+ * gnome-pilot.m4: Use 'PISOCK_INCLUDEDIR' in pisock version check.
+
2000-06-17 Dan Winship <danw@helixcode.com>
* autogen.sh: exit immediately if aclocal, autoheader, automake,
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index 39f73cca9e..960d5fc6f5 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -67,6 +67,8 @@ AC_DEFUN([PILOT_LINK_HOOK],[
pl_ve=`echo $1|sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
pl_ma=`echo $1|sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
pl_mi=`echo $1|sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+ CFLAGS_save="$CFLAGS"
+ CFLAGS="$CFLAGS $PISOCK_INCLUDEDIR"
AC_TRY_RUN(
[
#include <$piversion_include>
@@ -89,6 +91,7 @@ AC_DEFUN([PILOT_LINK_HOOK],[
[AC_MSG_ERROR("pilot-link >= $1 required")],
[AC_MSG_WARN("No action taken for crosscompile")]
)
+ CFLAGS="$CFLAGS_save"
fi
])