bug-global
[Top][All Lists]
Advanced

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

Re: GNU GLOBAL - few patches


From: Shigio Yamaguchi
Subject: Re: GNU GLOBAL - few patches
Date: Thu, 26 Feb 2004 14:07:25 +0900

Hi,
I'm working about your patch.

> diff -Nur global-4.6.orig/globash.rc global-4.6/globash.rc
> ...
> +if [ -n "$GLOBASH_HOME" ]; then
> +     GHOME=$GLOBASH_HOME/.globash
> +else
> +     GHOME=$HOME/.globash
> +fi

It seems that above solution needs individual environment variable
for each application.
Are there any standard method to get user's home directory
like function get_home_etc() in shell script?

> dnl
> dnl for home-etc support
> dnl
> AC_MSG_CHECKING(for home-etc support)
> AC_ARG_WITH(home-etc,
> [  --with-home-etc[=DIR]     include home-etc support ],
> [
>         if test "$withval" = 'no'; then
>                 AC_MSG_RESULT(no)
>         else
>                 case $withval in
>                 ''|yes) HOMEETC=/usr/local/pgsql;;
>                 shared) HOMEETC=${prefix};;
>                 *)      HOMEETC=$withval;;
>                 esac

What is the default directory for home-etc library?
What should we do if user specify --home-etc without argument like this?

        % ./configure --home-etc
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

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