summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRob Browning <rlb@defaultvalue.org>2002-04-11 04:41:23 +0000
committerRob Browning <rlb@defaultvalue.org>2002-04-11 04:41:23 +0000
commite103c6b4ee2f94429ec3b5a87d97a04e965e088c (patch)
tree1c46f4893bee79af4a20ead216946d11a1c41d01 /acinclude.m4
parentdd678f28807109a75ce74bb793a047fa6f44d057 (diff)
* acinclude.m4: add definitions to AC_DEFINE calls for new
autoconf.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 8 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index f0ec6d03c..ac7544b27 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -15,7 +15,9 @@ struct utime blah;
guile_cv_struct_utimbuf_needs_posix=no,
guile_cv_struct_utimbuf_needs_posix=yes)])
if test "$guile_cv_struct_utimbuf_needs_posix" = yes; then
- AC_DEFINE(UTIMBUF_NEEDS_POSIX)
+ AC_DEFINE([UTIMBUF_NEEDS_POSIX], 1,
+ [Define this if <utime.h> doesn't define struct utimbuf unless
+ _POSIX_SOURCE is defined. See GUILE_STRUCT_UTIMBUF in aclocal.m4.])
fi])
@@ -53,7 +55,11 @@ AC_DEFUN([GUILE_HEADER_LIBC_WITH_UNISTD],
]
)
if test "$guile_cv_header_libc_with_unistd" = yes; then
- AC_DEFINE(LIBC_H_WITH_UNISTD_H)
+ AC_DEFINE(LIBC_H_WITH_UNISTD_H, 1,
+ [Define this if we should include <libc.h> when we've already
+ included <unistd.h>. On some systems, they conflict, and libc.h
+ should be omitted. See GUILE_HEADER_LIBC_WITH_UNISTD in
+ aclocal.m4.])
fi
]
)