[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf: exporting functions
From: |
Petter Gustad |
Subject: |
Re: autoconf: exporting functions |
Date: |
Mon, 29 Oct 2007 12:41:15 +0100 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:
> That's really weird, I can't reproduce that at all, it would be nice to
> see a small reproducible example. Here:
>
> cat >configure.ac <<EOF
> AC_INIT
> func_hello ()
> {
> echo hello world
> }
> func_hello
> EOF
> autoconf
> ./configure
> | hello world
Thank you for your example, it lead me to the source of the problem.
The problem was that my func-hello was defined before AC_INIT. When I
move it after AC_INIT it will be a part of the generated configure
script.
Petter
--
________________________________________________________________________
Petter Gustad 8'h2B | (~8'h2B) - Hamlet in Verilog http://gustad.com