[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] getopt_long
- To: coldsync-hackers at lusars dot net
 
- Subject: [coldsync-hackers] getopt_long
 
- From: Peter Haight <peterh at sapros dot com>
 
- Date: Fri, 19 Apr 2002 13:13:15 -0700
 
- Reply-To: coldsync-hackers at lusars dot net
 
- Sender: owner-coldsync-hackers at lusars dot net
 
FreeBSD doesn't have getopt_long as part of its standard distribution, so
you need to add a check for it to configure. Here's a patch against today's
CVS.
===================================================================
RCS file: /var/lib/cvs/coldsync/configure.in,v
retrieving revision 1.144
diff -u -r1.144 configure.in
--- configure.in        14 Apr 2002 06:14:55 -0000      1.144
+++ configure.in        19 Apr 2002 20:10:39 -0000
@@ -385,6 +385,8 @@
        AC_DEFINE(HAVE_SOCKADDR6)
 fi
 
+AC_SEARCH_LIBS(getopt_long, gnugetopt)
+
 ## Checks for library functions.
 AC_CHECK_FUNCS(access \
        fpurge \
-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.