autoconf
[Top][All Lists]
Advanced

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

Re: Which variable expands to /var?


From: Ralf Wildenhues
Subject: Re: Which variable expands to /var?
Date: Fri, 8 Feb 2008 08:13:04 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Oops, let's fix typos here:

* Ralf Wildenhues wrote on Fri, Feb 08, 2008 at 08:08:25AM CET:
>   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=var \
>     --sharedstatedir=/var

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --sharedstatedir=/var

> or
> 
> cat >path/to/config.site <<EOF
> # Change to FHS defaults if installing below /usr, and the
> # respective other settings have not been changed on the command line.
> if test "$prefix" = /usr; then
>   test "$sysconfdir" = '$prefix/etc' && localstatedir=/etc
>   test "$sharedstatedir" = '$prefix/com' && sharedstatedir=/var
>   test "$localstatedir" = '$prefix/var' && localstatedir=/var
> fi
> EOF

cat >path/to/config.site <<EOF
# Change to FHS defaults if installing below /usr, and the
# respective other settings have not been changed on the command line.
if test "$prefix" = /usr; then
  test "$sysconfdir" = '${prefix}/etc' && localstatedir=/etc
  test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
  test "$localstatedir" = '${prefix}/var' && localstatedir=/var
fi
EOF

Sorry about that.  The example in the manual needs fixing, too (as
that's where I copied the latter from).

Cheers,
Ralf




reply via email to

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