summaryrefslogtreecommitdiff
path: root/m4/dirfd.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
commite33b31cde320bb4e771091e973268690744bf994 (patch)
treeff568038f3e46b7e72a1da15e3dce11cbd95b07b /m4/dirfd.m4
parente3832c52ae97eff67c28387aae66e21058df5e2e (diff)
downloadgnulib-e33b31cde320bb4e771091e973268690744bf994.tar.gz
it's CFLAGS, not DEFS
Diffstat (limited to 'm4/dirfd.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 dae8945513..f18bf80f8c 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