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
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to