autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_EXEEXT


From: Tim Van Holder
Subject: Re: AC_EXEEXT
Date: 16 May 2001 08:41:00 +0200

On 16 May 2001 00:22:43 +0200, Ralf Corsepius wrote:

> Until now this package's configure.in has been using AC_EXEEXT alone
> (w/o AC_PROG_CC), now I seem to need adding AC_PROG_CC, but ..
> .. Adding AC_CANONICAL_HOST would give sense, but this also
> apparently isn't sufficient.

This does seem like the right thing to do though, as here the .exe is
not an important part of setting up compilation rules, but rather
something specific to the platform.

So you could use something like:

AC_CANONICAL_HOST
EXEEXT=
case "$host" in
  i?86-*-cygwin*)
    EXEEXT=.exe ;;
esac
AC_SUBST(EXEEXT)


Simply adding AC_EXEEXT would do no good; the only reason it's still
supported, is that automake relies on it to decide whether or not to
generate rules with @address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]