aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-09-21 04:01:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-09-21 04:01:19 +0800
commitfe45293a5f1a9e8d345cab19004444724b5ac7c1 (patch)
tree7d433e8e79bb99fa3086e78948c5ca576ce20a0a
parent1760034ecf6e8b735bfb7cdd37116d1e5e5677fa (diff)
downloadgsoc2013-evolution-fe45293a5f1a9e8d345cab19004444724b5ac7c1.tar.gz
gsoc2013-evolution-fe45293a5f1a9e8d345cab19004444724b5ac7c1.tar.zst
gsoc2013-evolution-fe45293a5f1a9e8d345cab19004444724b5ac7c1.zip
fix problem where -lpisync was not linked in if you didn't specify
2002-09-20 JP Rosevear <jpr@ximian.com> * gnome-pilot.m4: fix problem where -lpisync was not linked in if you didn't specify --with-pisock svn path=/trunk/; revision=18140
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-pilot.m44
2 files changed, 7 insertions, 2 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 9befd90bb1..7c0ed0bbbc 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-20 JP Rosevear <jpr@ximian.com>
+
+ * gnome-pilot.m4: fix problem where -lpisync was not linked in if
+ you didn't specify --with-pisock
+
2002-09-16 JP Rosevear <jpr@ximian.com>
* gnome-pilot.m4: check for pilot-link 0.11.4 by default
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index 6d9f12ae5a..59f59b73d3 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -45,7 +45,7 @@ AC_DEFUN([PILOT_LINK_HOOK],[
piversion_include="$prefix/include/pi-version.h"
if test x$PISOCK_LIBDIR = x; then
incdir="$prefix/include"
- PISOCK_LIBS="-L$prefix/lib -lpisock"
+ PISOCK_LIBS="-L$prefix/lib -lpisock -lpisync"
fi ],
AC_MSG_ERROR([Unable to find pi-version.h]))
])
@@ -53,7 +53,7 @@ AC_DEFUN([PILOT_LINK_HOOK],[
fi
if test "x$PISOCK_LIBS" = "x"; then
- AC_CHECK_LIB(pisock, pi_accept, [ PISOCK_LIBS=-lpisock ],
+ AC_CHECK_LIB(pisock, pi_accept, [ PISOCK_LIBS=-lpisock -lpisync],
[ AC_MSG_ERROR([Unable to find libpisock. Try http://www.pilot-link.org.]) ])
fi