Re: autoconf: exporting functions

Petter Gustad <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization 502 You are not allowed to talk
Message-ID <[email protected]>
Ralf Wildenhues <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.