Hello Lorenzo,
* Lorenzo Bettini wrote on Sat, Sep 27, 2008 at 04:04:07PM CEST:
>
> I'd like to install a bashcompletion file that comes in the tarball for
> a GNU program I'm mantaining (source-highlight). The file should be
> installed in an etc subdirectory that bashcompletion uses.
Then sysconfdir is best. Its default location is ${prefix}/etc, but the
user can override that with 'configure --sysconfdir=/etc'.
So you can use
sysconf_DATA = ...
> In a previous post ("checking an environment variable") I was trying to
> detect in configure whether the directory used by bashcompletion
> existed, but unfortunately, the environment variable BASH_COMPLETION_DIR
> is not exported, so configure does not detect it...
FWIW, the fact that unexported variables cannot be detected by subshells
is a feature of shell semantics, not a bug in configure.
Cheers,
Ralf
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf