diff options
Diffstat (limited to 'macros/gnome-pilot.m4')
-rw-r--r-- | macros/gnome-pilot.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
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 |