diff options
author | Stanislav Brabec <utx@src.gnome.org> | 2000-06-24 18:47:21 +0800 |
---|---|---|
committer | Stanislav Brabec <utx@src.gnome.org> | 2000-06-24 18:47:21 +0800 |
commit | 5d0f34b4eefc1f57757e23e4583394742dca1dc8 (patch) | |
tree | 216d4c089b493265616848572f3d10f3e60af510 /macros/gnome-pilot.m4 | |
parent | 480c4bd3175ba022d770b13a3023e541faeb131f (diff) | |
download | gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar.gz gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.tar.zst gsoc2013-evolution-5d0f34b4eefc1f57757e23e4583394742dca1dc8.zip |
Use 'PISOCK_INCLUDEDIR' in pisock version check.
svn path=/trunk/; revision=3717
Diffstat (limited to 'macros/gnome-pilot.m4')
-rw-r--r-- | macros/gnome-pilot.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
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 ]) |