This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: autoconf AC_EXEEXT


You'll be better served if you ask your question at autoconf@gnu.org.  I think
I know but would have to work it up to be sure before giving an answer. IIRC,
it involves AC_SUBST.

Earnie.

--- Jerome Benoit <JGMBenoit@Wanadoo.fr> wrote:
> Thank you very much: that works
> 
> But I have an another trouble:
> I have write the `config.site':
> 
> test "$prefix" = NONE && prefix=${HOME}/local
> test "$exec_prefix" = NONE && exec_prefix=${HOME}
> 
> Autoconf considers as expected the first line,
> but not the second one:
> `@prefix@' is replaced with `<HOME>/local' 
> `@bindir@' with `${exec_prefix}/bin'
> 
> any idea ?
> 
> 
> 
> Earnie Boyd wrote:
> > 
> > --- Jerome Benoit <JGMBenoit@Wanadoo.fr> wrote:
> > > Bonjour:
> > >
> > > I have just tried `AC_EXEEXT' in a `configure.in' file:
> > > I get the messages
> > >
> > >
> > > checking for Cygwin environment... no
> > > checking for mingw32 environment... no
> > > checking for executable suffix... configure: error: installation or
> > > configuratio
> > > n problem: compiler cannot create executables.
> > >
> > >
> > > Any idea ?
> > >
> > 
> > You must AC_PROG_CC first.
> > 
> > =====
> > ---
> >    Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
> >             __Cygwin: POSIX on Windows__
> > Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
> >            __Minimalist GNU for Windows__
> >   Mingw32 List: <http://www.egroups.com/group/mingw32/>
> >     Mingw Home: <http://www.mingw.org/>
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get Yahoo! Mail – Free email you can access from anywhere!
> > http://mail.yahoo.com/
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]