From 00b26ca110f77a1767222a41bc154d0d3d36fb26 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Wed, 26 Oct 1994 22:42:11 +0000 Subject: [PATCH] translate - in header names --- acgeneral.m4 | 10 +++++----- acspecific.m4 | 6 +++--- lib/autoconf/general.m4 | 10 +++++----- lib/autoconf/specific.m4 | 6 +++--- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/acgeneral.m4 b/acgeneral.m4 index d3a93057..ee06735f 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -46,12 +46,12 @@ dnl to the GPL from your modified version. dnl dnl Written by David MacKenzie, with help from dnl Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, -dnl Roland McGrath, Noah Friedman, and david d zuhn. +dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. dnl divert(-1)dnl Throw away output until AC_INIT is called. changequote([, ]) -define(AC_ACVERSION, 1.125) +define(AC_ACVERSION, 2.0) dnl Some old m4's don't support m4exit. But they provide dnl equivalent functionality by core dumping because of the @@ -673,7 +673,7 @@ dnl AC_PREREQ_COMPARE(MAJOR1, MINOR1, TERNARY1, MAJOR2, MINOR2, TERNARY2, dnl PRINTABLE2) define(AC_PREREQ_COMPARE, [ifelse(builtin([eval], -[$3 + $2 * 10000 + $1 * 1000000 < $6 + $5 * 10000 + $4 * 1000000]), 1, +[$3 + $2 * 1000 + $1 * 1000000 < $6 + $5 * 1000 + $4 * 1000000]), 1, [errprint(Autoconf version $7 or higher is required for this script )m4exit(3)])]) @@ -1400,7 +1400,7 @@ dnl ### Checking for header files dnl AC_CHECK_HEADER(HEADER-FILE, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]) AC_DEFUN(AC_CHECK_HEADER, [dnl Do the transliteration at runtime so arg 1 can be a shell variable. -ac_safe=`echo "$1" | tr './' '__'` +ac_safe=`echo "$1" | tr './\055' '___'` AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(ac_cv_header_$ac_safe, [AC_TRY_CPP([#include <$1>], eval "ac_cv_header_$ac_safe=yes", @@ -1421,7 +1421,7 @@ AC_DEFUN(AC_CHECK_HEADERS, do AC_CHECK_HEADER($ac_hdr, [changequote(, )dnl - ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'` + ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'` changequote([, ])dnl AC_DEFINE_UNQUOTED($ac_tr_hdr) $2], $3)dnl done diff --git a/acspecific.m4 b/acspecific.m4 index 06cc4aeb..09542307 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -45,7 +45,7 @@ dnl to the GPL from your modified version. dnl dnl Written by David MacKenzie, with help from dnl Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, -dnl Roland McGrath, and Noah Friedman. +dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. dnl ### Checks for programs @@ -525,7 +525,7 @@ dnl Like AC_CHECK_HEADER, except also make sure that HEADER-FILE dnl defines the type `DIR'. dirent.h on NextStep 3.2 doesn't. dnl AC_CHECK_HEADER_DIRENT(HEADER-FILE, ACTION-IF-FOUND) AC_DEFUN(AC_CHECK_HEADER_DIRENT, -[ac_safe=`echo "$1" | tr './' '__'` +[ac_safe=`echo "$1" | tr './\055' '___'` AC_MSG_CHECKING([for $1 that defines DIR]) AC_CACHE_VAL(ac_cv_header_dirent_$ac_safe, [AC_TRY_COMPILE([#include @@ -548,7 +548,7 @@ AC_DEFUN(AC_CHECK_HEADERS_DIRENT, do AC_CHECK_HEADER_DIRENT($ac_hdr, [changequote(, )dnl - ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'` + ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'` changequote([, ])dnl AC_DEFINE_UNQUOTED($ac_tr_hdr) $2])dnl done]) diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index d3a93057..ee06735f 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -46,12 +46,12 @@ dnl to the GPL from your modified version. dnl dnl Written by David MacKenzie, with help from dnl Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, -dnl Roland McGrath, Noah Friedman, and david d zuhn. +dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. dnl divert(-1)dnl Throw away output until AC_INIT is called. changequote([, ]) -define(AC_ACVERSION, 1.125) +define(AC_ACVERSION, 2.0) dnl Some old m4's don't support m4exit. But they provide dnl equivalent functionality by core dumping because of the @@ -673,7 +673,7 @@ dnl AC_PREREQ_COMPARE(MAJOR1, MINOR1, TERNARY1, MAJOR2, MINOR2, TERNARY2, dnl PRINTABLE2) define(AC_PREREQ_COMPARE, [ifelse(builtin([eval], -[$3 + $2 * 10000 + $1 * 1000000 < $6 + $5 * 10000 + $4 * 1000000]), 1, +[$3 + $2 * 1000 + $1 * 1000000 < $6 + $5 * 1000 + $4 * 1000000]), 1, [errprint(Autoconf version $7 or higher is required for this script )m4exit(3)])]) @@ -1400,7 +1400,7 @@ dnl ### Checking for header files dnl AC_CHECK_HEADER(HEADER-FILE, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]) AC_DEFUN(AC_CHECK_HEADER, [dnl Do the transliteration at runtime so arg 1 can be a shell variable. -ac_safe=`echo "$1" | tr './' '__'` +ac_safe=`echo "$1" | tr './\055' '___'` AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(ac_cv_header_$ac_safe, [AC_TRY_CPP([#include <$1>], eval "ac_cv_header_$ac_safe=yes", @@ -1421,7 +1421,7 @@ AC_DEFUN(AC_CHECK_HEADERS, do AC_CHECK_HEADER($ac_hdr, [changequote(, )dnl - ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'` + ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'` changequote([, ])dnl AC_DEFINE_UNQUOTED($ac_tr_hdr) $2], $3)dnl done diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 06cc4aeb..09542307 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -45,7 +45,7 @@ dnl to the GPL from your modified version. dnl dnl Written by David MacKenzie, with help from dnl Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, -dnl Roland McGrath, and Noah Friedman. +dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. dnl ### Checks for programs @@ -525,7 +525,7 @@ dnl Like AC_CHECK_HEADER, except also make sure that HEADER-FILE dnl defines the type `DIR'. dirent.h on NextStep 3.2 doesn't. dnl AC_CHECK_HEADER_DIRENT(HEADER-FILE, ACTION-IF-FOUND) AC_DEFUN(AC_CHECK_HEADER_DIRENT, -[ac_safe=`echo "$1" | tr './' '__'` +[ac_safe=`echo "$1" | tr './\055' '___'` AC_MSG_CHECKING([for $1 that defines DIR]) AC_CACHE_VAL(ac_cv_header_dirent_$ac_safe, [AC_TRY_COMPILE([#include @@ -548,7 +548,7 @@ AC_DEFUN(AC_CHECK_HEADERS_DIRENT, do AC_CHECK_HEADER_DIRENT($ac_hdr, [changequote(, )dnl - ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'` + ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'` changequote([, ])dnl AC_DEFINE_UNQUOTED($ac_tr_hdr) $2])dnl done])