On Wed, Oct 05, 2005 at 11:54:32AM -0600, Bruce Shaw wrote:
> 
> BS> Test -n is string comparison.  To check for executables, it needs to be
> BS> "test -x".
> BS> 
> BS> I tried this in a short script.  Using "-n", no matter what I called
> BS> "autoconf" eg. "autoqosrei8", it "found" it.  When I changed it to "-x",
> it
> BS> performed as I would expect it to perform.
> BS> 
> BS> What's going on???
> 
> MF>If I were to guess I'd say that the point is to let you run configure in
> MF>preparation for the future time when you get to install autoconf, and
> then
> MF>you should be able to name autoconf whatever you wish.
> 
> MF>I suppose that the value of $as_executable_p might contain an -x as that
> seems
> MF>to be the place where they search among installed binaries.
> 
> ...but I've GOT autoconf.  Why doesn't it believe me...or itself?
> 

A couple of questions:

1) How do you start configure?
2) Are you in a clean net-snmp source?
3) What is the value of ac_cv_prog_AUTOCONF right before the snippet you
   showed?
4) What is the value of AUTOCONF right before the snippet you showed?
5) Exactly which version of the configure script are you using? It doesn't
   match neither 5.2.2-rc3 nor 5.3.
6) Did the code snippet in the first mail end up mangled?

/MF


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to