Re: how to install a bashcompletion file?

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

 



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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux