autoconf
[Top][All Lists]
Advanced

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

Re: Ignoring failures in AC_OUTPUT


From: Kristis Makris
Subject: Re: Ignoring failures in AC_OUTPUT
Date: Tue, 28 Mar 2006 11:55:32 -0700

> Well, in modern (Autoconf 2.50+) times,
>   AC_OUTPUT([files ..])
> 
> is just equivalent to
>   AC_CONFIG_FILES([files ..])
>   AC_OUTPUT

This helps a lot. Thank you!

> Well, yes, somewhere you do need to get the necessary differentiation.
> If you rather want to do it by a configure argument, like
>   --enable-special-code

Ok, I can see this happening now.

> or a more appropriate naming, you can do that as well.  The manual
> explains how to use AC_ARG_ENABLE; be sure to also read
>   info Autoconf "Configuration Actions"
> 
> on how to invoke AC_CONFIG_FILES in the presence of optional arguments.
> This may seem less dirty to you, and it will allow for optional output
> files at configure time.

I like this a lot better.

> Well, to me you did not specify enough details of your problem, so that
> was one guess.

You clarified a lot for me. Thank you.






reply via email to

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