basename() in libgen
Albert Chin
openssh-unix-dev at thewrittenword.com
Wed Apr 2 06:29:38 EST 2003
On Tue, Apr 01, 2003 at 02:27:18PM -0600, Rene Salmon wrote:
> I tried to apply the patch below on the configure.ac file but that did not
> help I still get same errro message.
You need to regenerate ./configure with the autoconf tool. If you
don't want to do this, after you ./configure, make sure HAVE_BASENAME
is set in config.h.
> >Fixed with the patch below.
> >
> >--
> >albert chin (china at thewrittenword.com)
> >
> >-- snip snip
> >--- configure.ac.orig 2003-04-01 10:07:27.116989000 -0600
> >+++ configure.ac 2003-04-01 10:41:59.273282000 -0600
> >@@ -604,7 +583,7 @@
> >
> > dnl Checks for library functions. Please keep in alphabetical order
> > AC_CHECK_FUNCS(\
> >- arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy
> >\
> >+ arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \
> > bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
> > gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
> > getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \
> >@@ -617,6 +596,7 @@
> > sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \
> > )
> >
> >+AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
> > AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
> >
> > dnl Make sure strsep prototype is defined before defining HAVE_STRSEP
>
>
>
>
> Any help would be greatly apreciated. Thank you in advanced.
>
> Rene
>
>
--
albert chin (china at thewrittenword.com)
More information about the openssh-unix-dev
mailing list