Use AS_CASE in documented example.

* doc/autoconf.texi (Using the System Type): Use AS_CASE in
example instead of raw case.

Signed-off-by: William Pursell <bill.pursell@gmail.com>
This commit is contained in:
William Pursell 2008-12-28 11:03:15 +00:00 committed by Eric Blake
parent 5f85192b80
commit b7b3a0029c
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2008-12-28 William Pursell <bill.pursell@gmail.com> (tiny change)
Use AS_CASE in documented example.
* doc/autoconf.texi (Using the System Type): Use AS_CASE in
example instead of raw case.
2008-12-23 Eric Blake <ebb9@byu.net>
Make m4_dumpdef more useful with M4 1.6.

View File

@ -18948,11 +18948,11 @@ following would be used in a makefile to add the object to a
program or library.
@example
case $host in
alpha*-*-*) CYCLE_OBJ=rpcc.o ;;
i?86-*-*) CYCLE_OBJ=rdtsc.o ;;
*) CYCLE_OBJ= ;;
esac
AS_CASE([$host],
[alpha*-*-*], [CYCLE_OBJ=rpcc.o],
[i?86-*-*], [CYCLE_OBJ=rdtsc.o],
[CYCLE_OBJ=""]
)
AC_SUBST([CYCLE_OBJ])
@end example