help-gnu-utils
[Top][All Lists]
Advanced

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

autoconf: exporting functions


From: Petter Gustad
Subject: autoconf: exporting functions
Date: Fri, 26 Oct 2007 16:23:37 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

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


reply via email to

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