shithub: jbig2

Download patch

ref: da5605986165e0acfde37fda4dfe594eba8d95d0
parent: 31aeca142b98bd794167a31c741bf73b191d6adb
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Fri Jul 12 21:10:00 EDT 2002

remove 'can define uint32_t as' messages and fix a typo


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@136 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@
 AM_INIT_AUTOMAKE([AC_PACKAGE_NAME], [AC_PACKAGE_VERSION])
 AM_CONFIG_HEADER(config.h)
 
-AC_REVISION([$Revision: 1.6 $])
+AC_REVISION([$Revision: 1.7 $])
 
 # Checks for programs.
 AC_PROG_CC
@@ -38,31 +38,24 @@
 AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(long)
 if test $ac_cv_sizeof_char = 1; then
-  AC_MSG_RESULT([can define int8_t as char])
   int8_type="char"
 else
   stdint_types_discovered="no"
 fi
 if test $ac_cv_sizeof_short = 2; then
-  AC_MSG_RESULT([can define int16_t as short])
   int16_type="short"
 elif test $ac_cv_sizeof_char = 2; then
-  AC_MSG_RESULT([can define int16_t as char])
   int16_type="char"
 elif test $ac_cv_sizeof_int = 2; then
-  AC_MSG_RESULT([can define int16_t as int])
   int16_type="char"
 else
   stdint_types_discovered="no"
 fi
 if test $ac_cv_sizeof_int = 4; then
-  AC_MSG_RESULT([can define int32_t as int])
   int32_type="int"
 elif test $ac_cv_sizeof_long = 4; then
-  AC_MSG_RESULT([can define int32_t as long])
   int32_type="long"
 elif test $ac_cv_sizeof_short = 4; then
-  AC_MSG_RESULT([can define int32_t as short])
   int32_type="short"
 else
   stdint_types_discovered="no"
@@ -78,7 +71,7 @@
     ], AC_MSG_RESULT([no])
     )
   done
-  if test "x$stding_types_in" != "xno_replacement_found"; then
+  if test "x$stdint_types_in" != "xno_replacement_found"; then
     AC_MSG_RESULT([Adding $stdint_types_in to config header for stdint types])
     AC_DEFINE([JBIG2_REPLACE_STDINT_H],,
       [set by configure if an alternate header with the stdint.h types is found])