Re: CONDITINAL DEFINE

2011-06-13 Thread Eric Blake
On 06/11/2011 03:32 AM, Luca Formaggia wrote: > Dear all, > > I am rather new to Autoconf and I could not find an answer to this > question in the manual. I would like to know if there is a command to > produce > conditional defines. Something that from > > AC_CONDEFINE(FOO, "1") > > would prod

Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed

2011-06-13 Thread Eric Blake
On 06/13/2011 04:11 AM, Jim Meyering wrote: > Thank you for the testing and report. > That "bad file number" error comes from this code in init.sh: > > : ${stderr_fileno_=2} > warn_ () { echo "$@" 1>&$stderr_fileno_; } > > Because of that, the log contains less information than usual. I'

Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed

2011-06-13 Thread Jim Meyering
Eric Blake wrote: > On 06/13/2011 04:11 AM, Jim Meyering wrote: >> Thank you for the testing and report. >> That "bad file number" error comes from this code in init.sh: >> >> : ${stderr_fileno_=2} >> warn_ () { echo "$@" 1>&$stderr_fileno_; } >> >> Because of that, the log contains less in

static library as fallback

2011-06-13 Thread Sergio Belkin
I have the following sentence in a configure.ac: AC_SEARCH_LIBS(ns_initparse,resolv) The problem is ns_initparse is missing on old releases of libresolv.so eg: on Centos 5. So I'd want to make static resolv as a fallback, Can I do it with AC_SEARCH_LIBS? Thanks in advance! -- -- Sergio Belkin

Re: static library as fallback

2011-06-13 Thread Eric Blake
On 06/13/2011 04:05 PM, Sergio Belkin wrote: > I have the following sentence in a configure.ac: > > AC_SEARCH_LIBS(ns_initparse,resolv) > > The problem is ns_initparse is missing on old releases of libresolv.so > eg: on Centos 5. > > So I'd want to make static resolv as a fallback, Can I do it w