diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-03 20:07:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-03 20:07:10 +0000 |
commit | c2a328bb3068ee176fa3188fc7b770cba34ab0c2 (patch) | |
tree | 55c4965f7557bcf6bdc6912b6cd5264a2a2a61de | |
parent | af1d1e7d3d84e8aa49e0a70e11aa31f9befa1522 (diff) | |
download | coreutils-c2a328bb3068ee176fa3188fc7b770cba34ab0c2.tar.xz |
it's CFLAGS, not DEFS
-rw-r--r-- | m4/dirfd.m4 | 6 |
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 |