]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Use AS_CASE in documented example.
authorWilliam Pursell <bill.pursell@gmail.com>
Sun, 28 Dec 2008 11:03:15 +0000 (11:03 +0000)
committerEric Blake <ebb9@byu.net>
Mon, 29 Dec 2008 13:53:19 +0000 (06:53 -0700)
* 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>
ChangeLog
doc/autoconf.texi

index 099c19e76383d6f18abaa9942f0ad78d0ed2f48e..f60e99afdecde672facd6f3e246882ddb5b7b777 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 2d8d3c7c1780b657a0a06f01ee798466cedbd864..d619578bde645a9fdf6262d86f932fb3708fc02f 100644 (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