aboutsummaryrefslogtreecommitdiff
path: root/fastjar/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'fastjar/aclocal.m4')
-rw-r--r--fastjar/aclocal.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/fastjar/aclocal.m4 b/fastjar/aclocal.m4
index 5a9b493923f..3832bfba6f3 100644
--- a/fastjar/aclocal.m4
+++ b/fastjar/aclocal.m4
@@ -13,6 +13,7 @@ dnl PARTICULAR PURPOSE.
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
@@ -32,7 +33,7 @@ $2
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])