* doc/autoconf.texi (Using the System Type): Use AS_CASE in example instead of raw case.
Signed-off-by: William Pursell <bill.purs...@gmail.com> --- ChangeLog | 6 ++++++ doc/autoconf.texi | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 099c19e..9ceab7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-28 William Pursell <bill.purs...@gmail.com> + + 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 <e...@byu.net> Make m4_dumpdef more useful with M4 1.6. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 2d8d3c7..d619578 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 -- 1.6.1.rc2.306.ge5d5e.dirty -- William Pursell