2008-02-08 Eric Blake <ebb9@byu.net>
+ Fix texinfo typos in previous patch.
+ * doc/autoconf.texi (Site Defaults): s/[{}]/@&/g.
+ Reported by Ralf Wildenhues.
+
Describe a config.site that can be used for FHS compliance.
* doc/autoconf.texi (Site Defaults): Fix typo. Add new example
for FHS.
# Change some defaults.
test "$prefix" = NONE && prefix=/usr/share/local/gnu
test "$exec_prefix" = NONE && exec_prefix=/usr/local/gnu
-test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
-test "$localstatedir" = '${prefix}/var' && localstatedir=/var
+test "$sharedstatedir" = '$@{prefix@}/com' && sharedstatedir=/var
+test "$localstatedir" = '$@{prefix@}/var' && localstatedir=/var
# Give Autoconf 2.x generated configure scripts a shared default
# cache file for feature test results, architecture-specific.
# /usr/local/config.site for FHS defaults when installing below /usr,
# and the respective settings were not changed on the command line.
if test "$prefix" = /usr; then
- test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
- test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
- test "$localstatedir" = '${prefix}/var' && localstatedir=/var
+ test "$sysconfdir" = '$@{prefix@}/etc' && sysconfdir=/etc
+ test "$sharedstatedir" = '$@{prefix@}/com' && sharedstatedir=/var
+ test "$localstatedir" = '$@{prefix@}/var' && localstatedir=/var
fi
@end example