summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-10-30 07:52:40 +0000
committerJim Meyering <jim@meyering.net>1999-10-30 07:52:40 +0000
commit3c4c9446a60d38ae23aebf9a8b150650f10dddf2 (patch)
tree08cda82b9ba46c748ee571d8786a347d64de1396 /m4
parent063d10ae6c181c0f7f65e5299b653ff6d70d1713 (diff)
downloadcoreutils-3c4c9446a60d38ae23aebf9a8b150650f10dddf2.tar.xz
Remove file, now that latest version of AC_CHECK_TYPE
takes a third arg to specify additional #includes.
Diffstat (limited to 'm4')
-rw-r--r--m4/check-type.m430
1 files changed, 0 insertions, 30 deletions
diff --git a/m4/check-type.m4 b/m4/check-type.m4
deleted file mode 100644
index 717fc87fd..000000000
--- a/m4/check-type.m4
+++ /dev/null
@@ -1,30 +0,0 @@
-#serial 2
-
-dnl Just like AC_CHECK_TYPE from autoconf-2.12, but also checks in unistd.h
-dnl on systems that have it. Fujitsu UXP/V needs this for ssize_t.
-dnl Now, also uses the three-argument form of AC_DEFINE.
-
-undefine([AC_CHECK_TYPE])
-dnl AC_CHECK_TYPE(TYPE, DEFAULT)
-AC_DEFUN(AC_CHECK_TYPE,
-[AC_REQUIRE([AC_HEADER_STDC])dnl
-AC_CHECK_HEADERS(unistd.h)
-AC_MSG_CHECKING(for $1)
-AC_CACHE_VAL(ac_cv_type_$1,
-[AC_EGREP_CPP(dnl
-changequote(<<,>>)dnl
-<<$1[^a-zA-Z_0-9]>>dnl
-changequote([,]), [#include <sys/types.h>
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl
-AC_MSG_RESULT($ac_cv_type_$1)
-if test $ac_cv_type_$1 = no; then
- AC_DEFINE($1, $2,
- [ Define to \`$2' if certain system header files doesn't define it.])
-fi
-])