[Libguestfs] Gnulib setenv on Mac OS X bug?

Richard W.M. Jones rjones at redhat.com
Sun Mar 21 22:22:28 UTC 2010


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, at gltests_LIBOBJS@,|#_!!_#| getugroups.o imaxtostr.o mgetgroups.o offtostr.o putenv.o setenv.o symlink.o uinttostr.o umaxtostr.o unlinkdir.o,g
s, at 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, at GNULIB_SETENV@,|#_!!_#|1,g
s, at HAVE_SETENV@,|#_!!_#|1,g
s, at 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




More information about the Libguestfs mailing list