This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[avail for test] popt-1.6.1


I've uploaded the popt library to cygwin/contrib.  Popt is a
command-line parsing library, similar to getopt but with a number of
enhancements:
  1) fully reentrant
  2) can parse arbitrary argv[] style arrays (difficult with getopt)
  3) users can create their own aliases for command line arguments
without recompiling the app
  4) provides convenience functions for parsing strings into argv[]
style arrays

This library is provided as a static lib only (not a DLL).  As such, it
builds OOB, but I had to use the following configure options:

./configure --prefix=/usr --disable-nls

No NLS because the configure.in is hopelessly messed up w.r.t. NLS.  It
defines the wrong variables, hunts for one function and then calls one
it didn't hunt for.  Totally bolluxed.  You can leave off the
"--disable-nls" and *try* to use the cygwin gettext library or even
specifiy "--with-included-gettext" but it won't make any difference in
the library that is built -- the only effect is to install (unused)
language files in /usr/share/locale/xx/LC_MESSAGES/popt.mo

This is marked as a test release.  Use setup.exe to install, blah blah
blah. :-)

--Chuck

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]