+2004-07-27 Jones Desougi <jones@ingate.com>
+ Kelley Cook <kcook@gcc.gnu.org>
+
+ PR bootstrap/15194
+ * acinclude.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): Return 0 when type
+ doesn't exist.
+ * aclocal.m4: Regenerate.
+ * configure: Regenearate.
+
2004-05-31 Release Manager
* GCC 3.3.4 Released.
dnl Host type sizes probe.
dnl By Kaveh R. Ghazi. One typo fixed since.
+dnl Modified to return a size of 0 if type doesn't exist
dnl
AC_DEFUN([gcc_AC_COMPILE_CHECK_SIZEOF],
[changequote(<<, >>)dnl
done
])
if test x$AC_CV_NAME = x ; then
- AC_MSG_ERROR([cannot determine a size for $1])
+ AC_CV_NAME=0
fi
AC_MSG_RESULT($AC_CV_NAME)
AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [The number of bytes in type $1])
dnl Host type sizes probe.
dnl By Kaveh R. Ghazi. One typo fixed since.
+dnl Modified to return a size of 0 if type doesn't exist
dnl
AC_DEFUN([gcc_AC_COMPILE_CHECK_SIZEOF],
[changequote(<<, >>)dnl
done
])
if test x$AC_CV_NAME = x ; then
- AC_MSG_ERROR([cannot determine a size for $1])
+ AC_CV_NAME=0
fi
AC_MSG_RESULT($AC_CV_NAME)
AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [The number of bytes in type $1])
fi
if test x$ac_cv_sizeof_char = x ; then
- { echo "configure: error: cannot determine a size for char" 1>&2; exit 1; }
+ ac_cv_sizeof_char=0
fi
echo "$ac_t""$ac_cv_sizeof_char" 1>&6
cat >> confdefs.h <<EOF
fi
if test x$ac_cv_sizeof_short = x ; then
- { echo "configure: error: cannot determine a size for short" 1>&2; exit 1; }
+ ac_cv_sizeof_short=0
fi
echo "$ac_t""$ac_cv_sizeof_short" 1>&6
cat >> confdefs.h <<EOF
fi
if test x$ac_cv_sizeof_int = x ; then
- { echo "configure: error: cannot determine a size for int" 1>&2; exit 1; }
+ ac_cv_sizeof_int=0
fi
echo "$ac_t""$ac_cv_sizeof_int" 1>&6
cat >> confdefs.h <<EOF
fi
if test x$ac_cv_sizeof_long = x ; then
- { echo "configure: error: cannot determine a size for long" 1>&2; exit 1; }
+ ac_cv_sizeof_long=0
fi
echo "$ac_t""$ac_cv_sizeof_long" 1>&6
cat >> confdefs.h <<EOF
fi
if test x$ac_cv_sizeof_long_long = x ; then
- { echo "configure: error: cannot determine a size for long long" 1>&2; exit 1; }
+ ac_cv_sizeof_long_long=0
fi
echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
cat >> confdefs.h <<EOF