From 44a61d78bb5d3cc448b5d71c4deb32625bd64717 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 31 Jan 1999 05:29:34 +0000 Subject: Use 3-arg form of AC_DEFINE. --- m4/check-type.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/check-type.m4 b/m4/check-type.m4 index 3eb9dbb23..717fc87fd 100644 --- a/m4/check-type.m4 +++ b/m4/check-type.m4 @@ -1,7 +1,8 @@ -#serial 1 +#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) @@ -23,6 +24,7 @@ changequote([,]), [#include #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) + AC_DEFINE($1, $2, + [ Define to \`$2' if certain system header files doesn't define it.]) fi ]) -- cgit v1.2.3-54-g00ecf