In this example:
configure.ac:
...
AC_CONFIG_FILES([script1])
AC_OUTPUT
script1.in:
#!/bin/bash
...
config=@datadir@/blah
This @datadir@
is expanded to ${prefix}/share
, is there any way to expand it to /usr/local/share
?
In this example:
configure.ac:
...
AC_CONFIG_FILES([script1])
AC_OUTPUT
script1.in:
#!/bin/bash
...
config=@datadir@/blah
This @datadir@
is expanded to ${prefix}/share
, is there any way to expand it to /usr/local/share
?
You can use adl_RECURSIVE_EVAL from the autoconf archive to fully expand paths.