From: William Pursell Date: Sun, 28 Dec 2008 11:03:15 +0000 (+0000) Subject: Use AS_CASE in documented example. X-Git-Tag: v2.63b~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b3a0029cd34fc620fbbe3eaff200439c5d2bbc;p=thirdparty%2Fautoconf.git 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 --- diff --git a/ChangeLog b/ChangeLog index 099c19e76..f60e99afd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-28 William Pursell (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 Make m4_dumpdef more useful with M4 1.6. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 2d8d3c7c1..d619578bd 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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