+2005-06-10 Derek Price <derek@ximbiot.com>
+
+ * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
+ AS_TR_SH.
+
2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
* lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
succeed in that case.
@end defmac
+@defmac AS_TR_CPP (@var{expression})
+@asindex{TR_CPP}
+Transform @var{expression} into a valid right-hand side for a C @code{#define}.
+For example:
+
+@example
+$ type="char *"
+$ echo "#define AS_TR_CPP(HAVE_$type) 1"
+#define HAVE_CHAR_P 1
+@end example
+@end defmac
+
+@defmac AS_TR_SH (@var{expression})
+@asindex{TR_SH}
+Transform @var{expression} into a valid shell variable name. For example:
+
+@example
+$ header="sys/some file.h"
+$ AS_TR_SH(HAVE_$header)=:
+$ if $HAVE_sys_some_file_h; then echo "Have it!"; fi
+Have it!
+@end example
+@end defmac
+
@defmac AS_SET_CATFILE (@var{var}, @var{dir}, @var{file})
@asindex{SET_CATFILE}
Set the shell variable @var{var} to @var{dir}/@var{file}, but