[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Gary V. Vaughan
Thu, 31 Jan 2008 16:57:39 +0800
On 18 Jan 2008, at 17:07, Gary V. Vaughan wrote:
On 18 Jan 2008, at 08:32, Paul Eggert wrote:
"Gary V. Vaughan" <address@hidden> writes:
+# Clean up potential compiler droppings:
+ac_files="a.out.* a.exe.* a_out.exe.* b.out.* conftest.*"
+for ac_file in $ac_files; do
+ case $ac_file in
+ _AC_COMPILER_OBJEXT_REJECT ) rm -rf $ac_file ;;
Sorry, I'm a bit lost. Shouldn't this be done inside the
Also, why not just do this?
rm -f a.out.* a.exe.* a_out.exe.* b.out.* conftest.*
This whole area seems to be a bit of a mess to me. Shouldn't all
these "dropping" files be removed unconditionally as part of the
existing "rm -f -r conftest* confdefs* conf$[$]* $ac_clean_files"
I agree that droppings from all compilers should be deleted, though
no clue where the cleanest place to achieve that would be.
The main gotcha is removing conftest.* during the tests from lang.m4
because the OBJEXT test wants to see conftest.c and/or conftest.
throws it's arms in the air and halts configure if they have been
guess the EXEEXT test relies on them.
Since the macros are order sensitive, another way I thought of doing
to find the sites that call:
And replace with a single:
and add to lang.m4:
where _AC_COMPILER_CLEAN_DROPPINGS contains the case statement of my
())_. Email me: address@hidden
( '/ Read my blog: http://blog.azazil.net
/ )= ...and my book: http://sources.redhat.com/autobook
Description: This is a digitally signed message part