]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
rename AC_CHECK_TYPE to AC_CHECK_TYPEDEF
authorDavid MacKenzie <djm@djmnet.org>
Wed, 28 Sep 1994 13:04:57 +0000 (13:04 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Wed, 28 Sep 1994 13:04:57 +0000 (13:04 +0000)
NEWS
acgeneral.m4
acspecific.m4
autoconf.texi
doc/autoconf.texi
lib/autoconf/general.m4
lib/autoconf/specific.m4
testsuite/autoconf.s/defines.exp

diff --git a/NEWS b/NEWS
index d4d642bc266f722478d43dbcdfd7e30b4ea32137..e1faabf0efcaf75fdfb8d94283ed4d90c4a70d79 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -49,7 +49,7 @@ Major changes in release 2.0:
 * AC_ARG_PROGRAM, which uses the options --program-prefix,
   --program-suffix, and --program-transform-name to change the names
   of programs being installed.
-* AC_CHECK_TYPE, which checks whether sys/types.h defines a given type.
+* AC_CHECK_TYPEDEF, which checks whether sys/types.h defines a given type.
 * AC_CHECK_LIB, which checks for a particular function in a library.
 * AC_MSG_CHECKING and AC_MSG_RESULT to print test results, on a single line,
   whether or not the test succeeds.  They obsolete AC_CHECKING and AC_VERBOSE.
index c60e340548b35b6e3a7d9ad0fa436e2ed1bce3ab..951e6070abef2502363d324b104b95fec2cc4500 100644 (file)
@@ -8,17 +8,17 @@ dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation; either version 2, or (at your option)
 dnl any later version.
 dnl
-dnl This program is distributed in the hope that it will be useful,
+dnl This file is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
-dnl along with this program; if not, write to the Free Software
+dnl along with this file; if not, write to the Free Software
 dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-dnl As a special exception, if you use parts of this file in a
-dnl configure script, doing so does not cause the resulting script to
+dnl As a special exception, using parts of this file in a
+dnl configure script does not cause the resulting script to
 dnl be covered by the GNU General Public License.
 dnl
 dnl Written by David MacKenzie, with help from
@@ -28,7 +28,7 @@ dnl
 divert(-1)dnl Throw away output until AC_INIT is called.
 changequote([, ])
 
-define(AC_ACVERSION, 1.120)
+define(AC_ACVERSION, 1.121)
 
 dnl Some old m4's don't support m4exit.  But they provide
 dnl equivalent functionality by core dumping because of the
@@ -122,8 +122,8 @@ AC_DEFUN(AC_INIT_NOTICE,
 # Generated automatically using autoconf version] AC_ACVERSION [
 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
 #
-# This configure script is free software; there are no restrictions on how you
-# can redistribute it and/or modify it.
+# This configure script is free software; there are no restrictions on
+# how you can redistribute it and/or modify it.
 
 ac_help=])
 
@@ -1449,8 +1449,8 @@ undefine([AC_CV_NAME])dnl
 dnl ### Checking for typedefs
 
 
-dnl AC_CHECK_TYPE(TYPE, DEFAULT)
-AC_DEFUN(AC_CHECK_TYPE,
+dnl AC_CHECK_TYPEDEF(TYPE, DEFAULT)
+AC_DEFUN(AC_CHECK_TYPEDEF,
 [AC_REQUIRE([AC_HEADER_STDC])dnl
 AC_MSG_CHECKING(for $1)
 AC_CACHE_VAL(ac_cv_type_$1,
index dfc43b5edf9b69ecb21041063f1813c5d8dbfd7a..535536606f285c51227a9f2fee40ab5c62e64d2b 100644 (file)
@@ -7,17 +7,17 @@ dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation; either version 2, or (at your option)
 dnl any later version.
 dnl
-dnl This program is distributed in the hope that it will be useful,
+dnl This file is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
-dnl along with this program; if not, write to the Free Software
+dnl along with this file; if not, write to the Free Software
 dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-dnl As a special exception, if you use parts of this file in a
-dnl configure script, doing so does not cause the resulting script to
+dnl As a special exception, using parts of this file in a
+dnl configure script does not cause the resulting script to
 dnl be covered by the GNU General Public License.
 dnl
 dnl Written by David MacKenzie, with help from
@@ -661,16 +661,16 @@ fi
 ])
 
 AC_DEFUN(AC_TYPE_SIZE_T,
-[AC_CHECK_TYPE(size_t, unsigned)])
+[AC_CHECK_TYPEDEF(size_t, unsigned)])
 
 AC_DEFUN(AC_TYPE_PID_T,
-[AC_CHECK_TYPE(pid_t, int)])
+[AC_CHECK_TYPEDEF(pid_t, int)])
 
 AC_DEFUN(AC_TYPE_OFF_T,
-[AC_CHECK_TYPE(off_t, long)])
+[AC_CHECK_TYPEDEF(off_t, long)])
 
 AC_DEFUN(AC_TYPE_MODE_T,
-[AC_CHECK_TYPE(mode_t, int)])
+[AC_CHECK_TYPEDEF(mode_t, int)])
 
 dnl Note that identifiers starting with SIG are reserved by ANSI C.
 AC_DEFUN(AC_TYPE_SIGNAL,
@@ -1071,8 +1071,8 @@ AC_CHECK_LIB(elf, elf_read,
 fi
 if test $ac_have_func = no; then
 AC_CHECK_HEADER(inq_stats/cpustats.h,
-  [ac_have_func=yes AC_DEFINE(UMAX4_3)
-   AC_DEFINE(UMAX)])
+  [ac_have_func=yes AC_DEFINE(UMAX)
+   AC_DEFINE(UMAX4_3)])
 fi
 if test $ac_have_func = no; then
 AC_CHECK_HEADER(sys/cpustats.h,
index 89e667b0b5893295c249b067b19bd1394b507af8..66642972e6136157c3c331ac53b11f32ace1c6f8 100644 (file)
@@ -6,8 +6,8 @@
 @c @setchapternewpage odd
 @c %**end of header
 
-@set EDITION 1.120
-@set VERSION 1.120
+@set EDITION 1.121
+@set VERSION 1.121
 @set UPDATED September 1994
 
 @iftex
@@ -2250,8 +2250,8 @@ If @code{uid_t} is not defined in @file{sys/types.h}, define
 This macro is used to check for typedefs not covered by the particular
 test macros.
 
-@defmac AC_CHECK_TYPE (@var{type}, @var{default})
-@maindex CHECK_TYPE
+@defmac AC_CHECK_TYPEDEF (@var{type}, @var{default})
+@maindex CHECK_TYPEDEF
 If the type @var{type} is not defined in @file{sys/types.h} or
 @file{stdlib.h} (if that is present), define it to be the C (or C++)
 builtin type @var{default}; e.g., @samp{short} or @samp{unsigned}.
index 89e667b0b5893295c249b067b19bd1394b507af8..66642972e6136157c3c331ac53b11f32ace1c6f8 100644 (file)
@@ -6,8 +6,8 @@
 @c @setchapternewpage odd
 @c %**end of header
 
-@set EDITION 1.120
-@set VERSION 1.120
+@set EDITION 1.121
+@set VERSION 1.121
 @set UPDATED September 1994
 
 @iftex
@@ -2250,8 +2250,8 @@ If @code{uid_t} is not defined in @file{sys/types.h}, define
 This macro is used to check for typedefs not covered by the particular
 test macros.
 
-@defmac AC_CHECK_TYPE (@var{type}, @var{default})
-@maindex CHECK_TYPE
+@defmac AC_CHECK_TYPEDEF (@var{type}, @var{default})
+@maindex CHECK_TYPEDEF
 If the type @var{type} is not defined in @file{sys/types.h} or
 @file{stdlib.h} (if that is present), define it to be the C (or C++)
 builtin type @var{default}; e.g., @samp{short} or @samp{unsigned}.
index c60e340548b35b6e3a7d9ad0fa436e2ed1bce3ab..951e6070abef2502363d324b104b95fec2cc4500 100644 (file)
@@ -8,17 +8,17 @@ dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation; either version 2, or (at your option)
 dnl any later version.
 dnl
-dnl This program is distributed in the hope that it will be useful,
+dnl This file is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
-dnl along with this program; if not, write to the Free Software
+dnl along with this file; if not, write to the Free Software
 dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-dnl As a special exception, if you use parts of this file in a
-dnl configure script, doing so does not cause the resulting script to
+dnl As a special exception, using parts of this file in a
+dnl configure script does not cause the resulting script to
 dnl be covered by the GNU General Public License.
 dnl
 dnl Written by David MacKenzie, with help from
@@ -28,7 +28,7 @@ dnl
 divert(-1)dnl Throw away output until AC_INIT is called.
 changequote([, ])
 
-define(AC_ACVERSION, 1.120)
+define(AC_ACVERSION, 1.121)
 
 dnl Some old m4's don't support m4exit.  But they provide
 dnl equivalent functionality by core dumping because of the
@@ -122,8 +122,8 @@ AC_DEFUN(AC_INIT_NOTICE,
 # Generated automatically using autoconf version] AC_ACVERSION [
 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
 #
-# This configure script is free software; there are no restrictions on how you
-# can redistribute it and/or modify it.
+# This configure script is free software; there are no restrictions on
+# how you can redistribute it and/or modify it.
 
 ac_help=])
 
@@ -1449,8 +1449,8 @@ undefine([AC_CV_NAME])dnl
 dnl ### Checking for typedefs
 
 
-dnl AC_CHECK_TYPE(TYPE, DEFAULT)
-AC_DEFUN(AC_CHECK_TYPE,
+dnl AC_CHECK_TYPEDEF(TYPE, DEFAULT)
+AC_DEFUN(AC_CHECK_TYPEDEF,
 [AC_REQUIRE([AC_HEADER_STDC])dnl
 AC_MSG_CHECKING(for $1)
 AC_CACHE_VAL(ac_cv_type_$1,
index dfc43b5edf9b69ecb21041063f1813c5d8dbfd7a..535536606f285c51227a9f2fee40ab5c62e64d2b 100644 (file)
@@ -7,17 +7,17 @@ dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation; either version 2, or (at your option)
 dnl any later version.
 dnl
-dnl This program is distributed in the hope that it will be useful,
+dnl This file is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
-dnl along with this program; if not, write to the Free Software
+dnl along with this file; if not, write to the Free Software
 dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-dnl As a special exception, if you use parts of this file in a
-dnl configure script, doing so does not cause the resulting script to
+dnl As a special exception, using parts of this file in a
+dnl configure script does not cause the resulting script to
 dnl be covered by the GNU General Public License.
 dnl
 dnl Written by David MacKenzie, with help from
@@ -661,16 +661,16 @@ fi
 ])
 
 AC_DEFUN(AC_TYPE_SIZE_T,
-[AC_CHECK_TYPE(size_t, unsigned)])
+[AC_CHECK_TYPEDEF(size_t, unsigned)])
 
 AC_DEFUN(AC_TYPE_PID_T,
-[AC_CHECK_TYPE(pid_t, int)])
+[AC_CHECK_TYPEDEF(pid_t, int)])
 
 AC_DEFUN(AC_TYPE_OFF_T,
-[AC_CHECK_TYPE(off_t, long)])
+[AC_CHECK_TYPEDEF(off_t, long)])
 
 AC_DEFUN(AC_TYPE_MODE_T,
-[AC_CHECK_TYPE(mode_t, int)])
+[AC_CHECK_TYPEDEF(mode_t, int)])
 
 dnl Note that identifiers starting with SIG are reserved by ANSI C.
 AC_DEFUN(AC_TYPE_SIGNAL,
@@ -1071,8 +1071,8 @@ AC_CHECK_LIB(elf, elf_read,
 fi
 if test $ac_have_func = no; then
 AC_CHECK_HEADER(inq_stats/cpustats.h,
-  [ac_have_func=yes AC_DEFINE(UMAX4_3)
-   AC_DEFINE(UMAX)])
+  [ac_have_func=yes AC_DEFINE(UMAX)
+   AC_DEFINE(UMAX4_3)])
 fi
 if test $ac_have_func = no; then
 AC_CHECK_HEADER(sys/cpustats.h,
index 44be7d80f1f9d89e2c8a7a947b7bc6b6ee51b796..b070124513fe4695a15bba508e1002323619e306 100644 (file)
@@ -23,7 +23,7 @@ set top_srcdir "$srcdir/.."
 set uscript {s/^#undef[         ]*\([^  ]*\).*/\1/p}
 set undefs [exec sed -n $uscript $top_srcdir/acconfig.h]
 
-set dscript {s/.*AC_DEFINE[A-Z_]*(\([^$,)]*\).*/\1/p; s/.*AC_CHECK_TYPE(\([^$,)]*\).*/\1/p}
+set dscript {s/.*AC_DEFINE[A-Z_]*(\([^$,)]*\).*/\1/p; s/.*AC_CHECK_TYPEDEF(\([^$,)]*\).*/\1/p}
 set defines [exec sed -n $dscript $top_srcdir/acspecific.m4]
 
 send_user "Checking acspecific.m4 for definitions of symbols in acconfig.h...\n"