[adding gnulib] On 11/03/2012 10:34 AM, Pádraig Brady wrote: > On 11/03/2012 02:36 PM, Michael Felt wrote: >> Would be much nicer if ./configure complained at the beginning about >> being >> root, rather than at the end. > > This comes from a specific test in gnulib: > http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=5c53ef81 > rather than a coreutils policy decision. > > I suppose that check could be hoisted to > one that is done up front?
We can't directly host the entire test earlier - the test as written can't detect failure under root until after the C compiler is known (since it first tests for $? = 99 before checking the environment variable). Hoisting the entire test into GL_EARLY means it would come before the compiler checks, which won't work. But perhaps we could isolate just the environment variable test to come first, without regards to the compiler test. I'll play with that idea. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature