Re: Which variable expands to /var?

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

 



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


_______________________________________________
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