changeset 1687:21f3695e881b

Use 3-arg form of AC_DEFINE.
author Jim Meyering <jim@meyering.net>
date Sun, 31 Jan 1999 05:29:34 +0000
parents 906b8c3d8678
children 994524eecea0
files m4/check-type.m4
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 #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
 ])