summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-03 20:07:10 +0000
committerJim Meyering <jim@meyering.net>2001-11-03 20:07:10 +0000
commitc2a328bb3068ee176fa3188fc7b770cba34ab0c2 (patch)
tree55c4965f7557bcf6bdc6912b6cd5264a2a2a61de /m4
parentaf1d1e7d3d84e8aa49e0a70e11aa31f9befa1522 (diff)
downloadcoreutils-c2a328bb3068ee176fa3188fc7b770cba34ab0c2.tar.xz
it's CFLAGS, not DEFS
Diffstat (limited to 'm4')
-rw-r--r--m4/dirfd.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/dirfd.m4 b/m4/dirfd.m4
index dae894551..f18bf80f8 100644
--- a/m4/dirfd.m4
+++ b/m4/dirfd.m4
@@ -33,17 +33,17 @@ AC_DEFUN([UTILS_FUNC_DIRFD],
[how to get the file descriptor associated with an open DIR*],
ac_cv_sys_dir_fd_member_name,
[
- dirfd_save_DEFS=$DEFS
+ dirfd_save_CFLAGS=$CFLAGS
for ac_expr in d_fd dd_fd; do
- DEFS="$DEFS -DDIR_FD_MEMBER_NAME=$ac_expr"
+ CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"
AC_TRY_COMPILE(
[$dirfd_headers
],
[DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;],
dir_fd_found=yes
)
- DEFS=$dirfd_save_DEFS
+ CFLAGS=$dirfd_save_CFLAGS
test "$dir_fd_found" = yes && break
done
test "$dir_fd_found" = yes || ac_expr=-1