bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnulib setenv on Mac OS X bug?


From: Richard W.M. Jones
Subject: Re: Gnulib setenv on Mac OS X bug?
Date: Sun, 21 Mar 2010 22:22:28 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Mar 21, 2010 at 11:18:16PM +0100, Bruno Haible wrote:
> If you do
>   $ grep LIBOBJ config.status
> you should see something like this:
>   S["gl_LTLIBOBJS"]=" setenv.lo"
>   S["gl_LIBOBJS"]=" setenv.o"

$ grep LIBOBJ config.status  | grep -i setenv
s,@gltests_LIBOBJS@,|#_!!_#| getugroups.o imaxtostr.o mgetgroups.o offtostr.o 
putenv.o setenv.o symlink.o uinttostr.o umaxtostr.o unlinkdir.o,g
s,@gltests_LTLIBOBJS@,|#_!!_#| getugroups.lo imaxtostr.lo mgetgroups.lo 
offtostr.lo putenv.lo setenv.lo symlink.lo uinttostr.lo umaxtostr.lo 
unlinkdir.lo,g

> If you do
>   $ grep -i _setenv config.status
> you should see something like this (among others):
>   S["REPLACE_SETENV"]="1"
>   S["HAVE_SETENV"]="1"
>   S["GNULIB_SETENV"]="1"

$ grep -i _setenv config.status
s,@GNULIB_SETENV@,|#_!!_#|1,g
s,@HAVE_SETENV@,|#_!!_#|1,g
s,@REPLACE_SETENV@,|#_!!_#|1,g
s,^\([   #]*\)[^         ]*\([   ]*HAVE_SETENV\)[        (].*,\1define\2 1 ,
s,^\([    #]*\)[^         ]*\([   ]*HAVE_RAW_DECL_SETENV\)[               
(].*,\1define\2 1 ,

Hope that helps.

BTW, OS X by default comes with an ancient version of autoconf, 2.61,
if that affects things.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




reply via email to

[Prev in Thread] Current Thread [Next in Thread]