[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] DJGPP fix: remove both conftest and conftest.exe.
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH 3/4] DJGPP fix: remove both conftest and conftest.exe. |
Date: |
Sun, 13 Sep 2009 22:43:16 +0300 |
> Date: Sun, 13 Sep 2009 21:16:15 +0200
> From: Ralf Wildenhues <address@hidden>
>
> The DJGPP compiler may create both `a.out' and `a.exe' without -o,
> and both `conftest' and `conftest.exe' with `-o conftest', but not
> with `-o conftest.exe'.
>
> * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Also remove
> `conftest' without $ac_exeext suffix.
> ---
>
> * Ralf Wildenhues wrote on Sun, Sep 13, 2009 at 09:12:28PM CEST:
> > -- leftover 'conftest' files in state-ls.after
> > Bug in Autoconf, fixed with patch.
> >
> > Test failures: 254 256-257 280-283 288-289 298
>
> This patch is obvious (the semantics are even documented in the comments
> of the macro). I will commit it soon.
>
> lib/autoconf/lang.m4 | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4
> index 8fd2925..5b44c68 100644
> --- a/lib/autoconf/lang.m4
> +++ b/lib/autoconf/lang.m4
> @@ -614,7 +614,7 @@ for ac_file in conftest.exe conftest conftest.*; do
> esac
> done],
> [AC_MSG_FAILURE([cannot compute suffix of executables: cannot
> compile and link])])
> -rm -f conftest$ac_cv_exeext
> +rm -f conftest conftest$ac_cv_exeext
> AC_MSG_RESULT([$ac_cv_exeext])
> ])# _AC_COMPILER_EXEEXT_O
>
> --
> 1.6.3.3.345.gb7132
Thanks.
- DJGPP support in Autoconf, Ralf Wildenhues, 2009/09/13
- [PATCH 2/4] DJGPP fix: do not try to source /dev/null as cache or site file., Ralf Wildenhues, 2009/09/13
- [PATCH 3/4] DJGPP fix: remove both conftest and conftest.exe., Ralf Wildenhues, 2009/09/13
- [PATCH 4/4] Work around DJGPP shell function return bug with command substitutions., Ralf Wildenhues, 2009/09/13
- Re: DJGPP support in Autoconf, Eli Zaretskii, 2009/09/13