print an error when dsize test fails
authorMark Eichin <eichin@mit.edu>
Thu, 14 Mar 1996 00:40:54 +0000 (00:40 +0000)
committerMark Eichin <eichin@mit.edu>
Thu, 14 Mar 1996 00:40:54 +0000 (00:40 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7633 dc483132-0cff-0310-8789-dd5450dbe970

src/util/berk_db/hash/configure.in

index 8c529db673759bc91942da540e71c4bf6f0ee09a..55abac437ae6a7225fe6c8c553ea8ccc87df4a92 100644 (file)
@@ -37,7 +37,9 @@ main()
   if (!f) exit(1);
   fprintf(f, "%d\n", sizeof(k.dsize));
   exit(0);
-}], ac_cv_sizeof_datum_dsize=`cat conftestval`)])dnl
+}], ac_cv_sizeof_datum_dsize=`cat conftestval`,
+ AC_MSG_ERROR(Can't determine size of datum.dsize.)
+)])dnl
 AC_MSG_RESULT($ac_cv_sizeof_datum_dsize)
 AC_DEFINE_UNQUOTED(SIZEOF_DATUM_DSIZE, $ac_cv_sizeof_datum_dsize)
 
@@ -56,7 +58,9 @@ main()
   if (!f) exit(1);
   fprintf(f, "%d\n", sizeof(k.size));
   exit(0);
-}], ac_cv_sizeof_dbt_size=`cat conftestval`)])dnl
+}], ac_cv_sizeof_dbt_size=`cat conftestval`,
+ AC_MSG_ERROR(Can't determine size of DBT.size.)
+)])dnl
 AC_MSG_RESULT($ac_cv_sizeof_dbt_size)
 AC_DEFINE_UNQUOTED(SIZEOF_DBT_SIZE, $ac_cv_sizeof_dbt_size)