mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-19 14:40:24 +08:00
If M4 is an absolute file name that
no longer exists, use M4=m4. Fix tr string for Solaris tr. Add config.h.bot if present. From richard@sol.kbsi.com (Richard Henderson).
This commit is contained in:
parent
f06815b7d5
commit
3d3b89a268
@ -33,6 +33,11 @@ if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi
|
||||
|
||||
test -z "${AC_MACRODIR}" && AC_MACRODIR=@datadir@
|
||||
test -z "${M4}" && M4=@M4@
|
||||
case "${M4}" in
|
||||
/*) # Handle the case that m4 has moved since we were configured.
|
||||
# It may have been found originally in a build directory.
|
||||
test -f "${M4}" || M4=m4 ;;
|
||||
esac
|
||||
|
||||
print_version=""
|
||||
while test $# -gt 0 ; do
|
||||
@ -174,7 +179,8 @@ fi
|
||||
|
||||
echo "$types" | tr , \\012 | sort | uniq | while read ctype; do
|
||||
test -z "$ctype" && continue
|
||||
sym="`echo "${ctype}" | tr '[a-z *]' '[A-Z_P]'`"
|
||||
# Solaris 2.3 tr rejects noncontiguous characters in character classes.
|
||||
sym="`echo "${ctype}" | tr '[a-z] *' '[A-Z]_P'`"
|
||||
echo "
|
||||
/* The number of bytes in a ${ctype}. */
|
||||
#undef SIZEOF_${sym}"
|
||||
@ -201,6 +207,8 @@ for lib in `for x in $libs; do echo $x; done | sort | uniq`; do
|
||||
#undef HAVE_LIB${sym}"
|
||||
done
|
||||
|
||||
test -f ${config_h}.bot && cat ${config_h}.bot
|
||||
|
||||
status=0
|
||||
|
||||
for sym in $syms; do
|
||||
|
@ -33,6 +33,11 @@ if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi
|
||||
|
||||
test -z "${AC_MACRODIR}" && AC_MACRODIR=@datadir@
|
||||
test -z "${M4}" && M4=@M4@
|
||||
case "${M4}" in
|
||||
/*) # Handle the case that m4 has moved since we were configured.
|
||||
# It may have been found originally in a build directory.
|
||||
test -f "${M4}" || M4=m4 ;;
|
||||
esac
|
||||
|
||||
print_version=""
|
||||
while test $# -gt 0 ; do
|
||||
@ -174,7 +179,8 @@ fi
|
||||
|
||||
echo "$types" | tr , \\012 | sort | uniq | while read ctype; do
|
||||
test -z "$ctype" && continue
|
||||
sym="`echo "${ctype}" | tr '[a-z *]' '[A-Z_P]'`"
|
||||
# Solaris 2.3 tr rejects noncontiguous characters in character classes.
|
||||
sym="`echo "${ctype}" | tr '[a-z] *' '[A-Z]_P'`"
|
||||
echo "
|
||||
/* The number of bytes in a ${ctype}. */
|
||||
#undef SIZEOF_${sym}"
|
||||
@ -201,6 +207,8 @@ for lib in `for x in $libs; do echo $x; done | sort | uniq`; do
|
||||
#undef HAVE_LIB${sym}"
|
||||
done
|
||||
|
||||
test -f ${config_h}.bot && cat ${config_h}.bot
|
||||
|
||||
status=0
|
||||
|
||||
for sym in $syms; do
|
||||
|
@ -33,6 +33,11 @@ if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi
|
||||
|
||||
test -z "${AC_MACRODIR}" && AC_MACRODIR=@datadir@
|
||||
test -z "${M4}" && M4=@M4@
|
||||
case "${M4}" in
|
||||
/*) # Handle the case that m4 has moved since we were configured.
|
||||
# It may have been found originally in a build directory.
|
||||
test -f "${M4}" || M4=m4 ;;
|
||||
esac
|
||||
|
||||
print_version=""
|
||||
while test $# -gt 0 ; do
|
||||
@ -174,7 +179,8 @@ fi
|
||||
|
||||
echo "$types" | tr , \\012 | sort | uniq | while read ctype; do
|
||||
test -z "$ctype" && continue
|
||||
sym="`echo "${ctype}" | tr '[a-z *]' '[A-Z_P]'`"
|
||||
# Solaris 2.3 tr rejects noncontiguous characters in character classes.
|
||||
sym="`echo "${ctype}" | tr '[a-z] *' '[A-Z]_P'`"
|
||||
echo "
|
||||
/* The number of bytes in a ${ctype}. */
|
||||
#undef SIZEOF_${sym}"
|
||||
@ -201,6 +207,8 @@ for lib in `for x in $libs; do echo $x; done | sort | uniq`; do
|
||||
#undef HAVE_LIB${sym}"
|
||||
done
|
||||
|
||||
test -f ${config_h}.bot && cat ${config_h}.bot
|
||||
|
||||
status=0
|
||||
|
||||
for sym in $syms; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user