[Click] [PATCH 01/12] Configury: configure error on linux 2.6.33+

Eddie Kohler kohler at cs.ucla.edu
Wed Sep 29 18:46:22 EDT 2010


Hi Joonwoo,

I believe the right answer is to include either <generated/autoconf.h> or 
<linux/autoconf.h>, whichever works.  It's there for a reason.

Perhaps we should have a symbol like CLICK_LINUX_AUTOCONF_H which is defined 
to the correct spelling, and then #include that.

Or we could/should use AC_CHECK_HEADERS to check for generated/autoconf.h, and 
include that if it's available, otherwise linux/autoconf.h.  That's probably 
better.

Thoughts?
E


On 09/25/2010 10:28 PM, Joonwoo Park wrote:
> include/linux/autoconf.h has been moved to include/generated
>
> Signed-off-by: Joonwoo Park<joonwpark81 at gmail.com>
> ---
>   configure.in |    1 -
>   1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/configure.in b/configure.in
> index ab998cd..2f3152e 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -1148,7 +1148,6 @@ fixincludes.pl execution failed.
>   #define namespace linux_namespace
>   #define false linux_false
>   #define true linux_true
> -#include<linux/autoconf.h>
>   #include<asm/types.h>]])
>
>


More information about the click mailing list