Re: autoconfiscating getopt_long()...

2000-12-07 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: >> From: Matthew Whitworth <[EMAIL PROTECTED]> Date: Tue, 5 Dec >> 2000 14:45:19 -0800 (PST) >> I have examined several packages that use getopt_long(), including >> several GNU packages, and none of them autoconfiscate this function >> the

Re: autoconfiscating getopt_long()...

2000-12-06 Thread Matthew Whitworth
On 2000.12.06 02:04:35 -0800 Alexandre Duret-Lutz wrote: > PS: http://sources.redhat.com/ml/automake/2000-09/msg00036.html Okay, here's the quote to end all quotes from the follow-up to the automake URL you sent me. - >From http://sources.redhat.com/ml/automake/2000-09/msg00039.html: I ha

Re: autoconfiscating getopt_long()...

2000-12-06 Thread Alexandre Duret-Lutz
>>> "Matthew" == Matthew Whitworth <[EMAIL PROTECTED]> writes: [...] >> I don't see any use of getopt.h in the version of getopt I use. Sorry, I meant "I don't see any use of `tailor.h' in getopt". [...] Matthew> I didn't see any RCS or CVS version numbers in either Matthew> file, but th

Re: autoconfiscating getopt_long()...

2000-12-06 Thread Matthew Whitworth
On 2000.12.06 02:04:35 -0800 Alexandre Duret-Lutz wrote: > Does someone here handle the FreeBSD case in some way? What about: > > AC_CHECK_FUNCS([getopt_long],, > [#FreeBSD has a gnugetopt library for this: > AC_CHECK_LIB([gnugetopt],[getopt_long], > [AC_DEFINE([HAVE_GETOPT_LONG])], > [# use t

Re: autoconfiscating getopt_long()...

2000-12-06 Thread Alexandre Duret-Lutz
>>> "Matthew" == Matthew Whitworth <[EMAIL PROTECTED]> writes: Matthew> What I have done so far (and it seems to work), is to Matthew> copy getopt.c and getopt.h to getopt_long.c and Matthew> getopt_long.h, and then to use the following snippets: Matthew> configure.in: Matthew> AC_REPLACE_F

Re: autoconfiscating getopt_long()...

2000-12-05 Thread Matthew Whitworth
What I have done so far (and it seems to work), is to copy getopt.c and getopt.h to getopt_long.c and getopt_long.h, and then to use the following snippets: configure.in: AC_REPLACE_FUNCS(getopt_long) Makefile.am: useless_SOURCES=useless.c getopt_long.h tailor.h dnl This condionally links getopt

Re: autoconfiscating getopt_long()...

2000-12-05 Thread Paul Eggert
> From: Matthew Whitworth <[EMAIL PROTECTED]> > Date: Tue, 5 Dec 2000 14:45:19 -0800 (PST) > I have examined several packages that use getopt_long(), including > several GNU packages, and none of them autoconfiscate this function > the same way. Actually, few of them even autoconfiscate it at al