The description of the GNU getopt package ('fink desc libgnugetopt') tells
you what you have to do to enable use of that library:

  Use with -lgnugetopt for linking and gnugetopt/getopt.h for include.

Assuming whatever you're porting respects the usual variables, you 
can either add:

  SetCPPFLAGS: -I%p/include/gnugetopt
  SetLDFLAGS: -lgnugetopt

to you .info or else follow the directions for passing those values to the
configure script or Makefile. You may also have to add -D__GNU_LIBRARY__
as a compiler flag if you get errors about conflicting declarations 
between getopt.h and unistd.h.

dan
-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to