basename() in libgen

Rene Salmon rsalmon at tulane.edu
Wed Apr 2 08:24:38 EST 2003


Hello,

Thank you for the reply I generated a new ./configure file with autoconf
but that did not work so I just edited the config.h file after running
./configure like you suggested and that did the trick.

All I did was add this line to the config.h file:
#define HAVE_BASENAME 1

Thank you for all your help

Rene


On Tue, 1 Apr 2003, Albert Chin wrote:

> 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