[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.)
From: |
Alexandre Oliva |
Subject: |
Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.) |
Date: |
16 Dec 2000 12:53:56 -0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
I thought I had sent this before, but I'm not sure I did... Sorry if
it's a duplicate.
On Dec 15, 2000, Akim Demaille <address@hidden> wrote:
> +if ls a.* >/dev/null 2>&1; then
> + rm -rf conftestdir
> + mkdir conftestdir
> + mv a.* conftestdir
> +fi
[snip]
> +if test -d conftestdir; then
> + mv conftestdir/* .
> + rm -rf conftestdir
> +fi
Note that if conftestdir exists in the beginning and there aren't any
a.* files in the current directory, you'll end up moving the contents
of conftestdir to the current directory at the end. Better rm -rf it
up-front, unconditionally.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), (continued)
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Akim Demaille, 2000/12/14
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Mo DeJong, 2000/12/14
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Akim Demaille, 2000/12/14
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Alexandre Oliva, 2000/12/14
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Akim Demaille, 2000/12/15
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Alexandre Oliva, 2000/12/15
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Akim Demaille, 2000/12/15
- EXEEXT: `cc -o' (Was: AC_CYGWIN etc.), Akim Demaille, 2000/12/15
- Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.), Mo DeJong, 2000/12/15
- Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.), Akim Demaille, 2000/12/15
- Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.),
Alexandre Oliva <=
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Alexandre Oliva, 2000/12/14
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Lars J. Aas, 2000/12/14
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Alexandre Oliva, 2000/12/15
- Re: AC_OBJEXT again, Lars J. Aas, 2000/12/13
- Re: AC_OBJEXT again, Alexandre Oliva, 2000/12/12
- OBJ and EXE and cross-compilation (Was: AC_OBJEXT again), Akim Demaille, 2000/12/12
- Re: OBJ and EXE and cross-compilation (Was: AC_OBJEXT again), Ralf Corsepius, 2000/12/12
- Re: OBJ and EXE and cross-compilation (Was: AC_OBJEXT again), Mo DeJong, 2000/12/12
- Re: OBJ and EXE and cross-compilation (Was: AC_OBJEXT again), Akim Demaille, 2000/12/13
Re: AC_OBJEXT again, Earnie Boyd, 2000/12/13