]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_INT_16_BITS, AC_LONG_64_BITS): Mark obsolete with advice to use
authorDavid MacKenzie <djm@djmnet.org>
Tue, 22 Mar 1994 23:29:40 +0000 (23:29 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Tue, 22 Mar 1994 23:29:40 +0000 (23:29 +0000)
AC_SIZEOF_TYPE instead.

acspecific.m4
lib/autoconf/specific.m4

index e8d0405e196bafdff41eb8bd12ba60533d9d165a..9974931ba2117f8af5dcde132f1279cbcf4f47b2 100644 (file)
@@ -663,7 +663,7 @@ if test -n "$ac_alloca_missing"; then
   ALLOCA=alloca.o
   AC_DEFINE(C_ALLOCA)
 
-  echo 'checking stack direction for C alloca'
+  AC_CHECKING(stack direction for C alloca)
   AC_TEST_PROGRAM([find_stack_direction ()
 {
   static char *addr = 0;
@@ -907,13 +907,15 @@ fi
 ])dnl
 dnl
 define(AC_INT_16_BITS,
-[AC_CHECKING(integer size)
+[AC_OBSOLETE([$0], [; instead use AC_SIZEOF_TYPE(int, sizevar)])
+AC_CHECKING(integer size)
 AC_TEST_PROGRAM([main() { exit(sizeof(int) != 2); }],
  AC_DEFINE(INT_16_BITS))
 ])dnl
 dnl
 define(AC_LONG_64_BITS,
-[AC_CHECKING(for 64-bit long ints)
+[AC_OBSOLETE([$0], [; instead use AC_SIZEOF_TYPE(long, sizevar)])
+AC_CHECKING(for 64-bit long ints)
 AC_TEST_PROGRAM([main() { exit(sizeof(long int) != 8); }],
  AC_DEFINE(LONG_64_BITS))
 ])dnl
@@ -1003,7 +1005,7 @@ dnl checks for operating system services
 dnl
 dnl
 define(AC_HAVE_POUNDBANG, [dnl
-echo "checking if \`#!' works in shell scripts"
+AC_CHECKING(whether \`#!' works in shell scripts)
 echo '#!/bin/cat
 exit 69
 ' > conftest
index e8d0405e196bafdff41eb8bd12ba60533d9d165a..9974931ba2117f8af5dcde132f1279cbcf4f47b2 100644 (file)
@@ -663,7 +663,7 @@ if test -n "$ac_alloca_missing"; then
   ALLOCA=alloca.o
   AC_DEFINE(C_ALLOCA)
 
-  echo 'checking stack direction for C alloca'
+  AC_CHECKING(stack direction for C alloca)
   AC_TEST_PROGRAM([find_stack_direction ()
 {
   static char *addr = 0;
@@ -907,13 +907,15 @@ fi
 ])dnl
 dnl
 define(AC_INT_16_BITS,
-[AC_CHECKING(integer size)
+[AC_OBSOLETE([$0], [; instead use AC_SIZEOF_TYPE(int, sizevar)])
+AC_CHECKING(integer size)
 AC_TEST_PROGRAM([main() { exit(sizeof(int) != 2); }],
  AC_DEFINE(INT_16_BITS))
 ])dnl
 dnl
 define(AC_LONG_64_BITS,
-[AC_CHECKING(for 64-bit long ints)
+[AC_OBSOLETE([$0], [; instead use AC_SIZEOF_TYPE(long, sizevar)])
+AC_CHECKING(for 64-bit long ints)
 AC_TEST_PROGRAM([main() { exit(sizeof(long int) != 8); }],
  AC_DEFINE(LONG_64_BITS))
 ])dnl
@@ -1003,7 +1005,7 @@ dnl checks for operating system services
 dnl
 dnl
 define(AC_HAVE_POUNDBANG, [dnl
-echo "checking if \`#!' works in shell scripts"
+AC_CHECKING(whether \`#!' works in shell scripts)
 echo '#!/bin/cat
 exit 69
 ' > conftest