diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-31 05:29:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-31 05:29:34 +0000 |
commit | 44a61d78bb5d3cc448b5d71c4deb32625bd64717 (patch) | |
tree | aaeb874c3100c3b6837754b740e2dbb3b00dcb30 /m4 | |
parent | 9195b6970bed17933edde9c1e6b5d862438f6abd (diff) | |
download | coreutils-44a61d78bb5d3cc448b5d71c4deb32625bd64717.tar.xz |
Use 3-arg form of AC_DEFINE.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-type.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
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 <sys/types.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) + AC_DEFINE($1, $2, + [ Define to \`$2' if certain system header files doesn't define it.]) fi ]) |