patch for macros/gnome-pilot.m4



Last night, I've tried to compile gnome-pilot (CVS version) on my
Debian (potato) box.  But when generating gpilotd, linker complained
that it can't find some libpisock related symbols.

I found that '-lpisock' is not included in Makefile, so I modified
macros/gnome-pilot.m4 to fix this problem. The patch is attached to
this mail.

On the Debian environment, libpisock header files are
in /usr/include/libpisock/. But the libraries are in /usr/lib/.

  KUSANO Takayuki <URL:http://www.asahi-net.or.jp/~AE5T-KSN/>

--- macros/gnome-pilot.m4.orig	Thu Nov 25 23:50:10 1999
+++ macros/gnome-pilot.m4	Mon Dec 20 00:23:34 1999
@@ -46,7 +46,7 @@
 	
 	AC_SUBST(PISOCK_INCLUDEDIR)
 	
-	if test x$PISOCK_INCLUDEDIR = x; then
+	if test x$PISOCK_LIBS = x; then
 		AC_CHECK_LIB(pisock, pi_accept, [ PISOCK_LIBS=-lpisock ], 
 			[ AC_MSG_ERROR("Unable to find libpisock. Try ftp://ryeham.ee.ryerson.ca/pub/PalmOS/.") ])
 	fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]