autoconf: exporting functions

Petter Gustad <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization 502 You are not allowed to talk
Message-ID <[email protected]>
Is there a way to export a shell function definition from configure.in
to configure?

I have something like:

function blabla {
}
...
blabla arg1 arg2 arg2

AC_ARG_WITH ...

...

in my configure.in

But then blabla gets stripped off by autoconf so I get 

./configure: line nnnn: blabla: command not found

Is there a AC command to export the the function, something like:

AC_EXPORT_SHELL_FUN("function blabla {
}")


Thanks
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.