aboutsummaryrefslogtreecommitdiff
path: root/readdir/configure
diff options
context:
space:
mode:
Diffstat (limited to 'readdir/configure')
-rwxr-xr-xreaddir/configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/readdir/configure b/readdir/configure
index 8d2276e..da49a2e 100755
--- a/readdir/configure
+++ b/readdir/configure
@@ -4078,8 +4078,9 @@ else
fi
-##-- check for dirent d_type decls
-{ echo "$as_me:$LINENO: checking whether DT_REG is declared" >&5
+if test "$HAVE_STRUCT_DIRENT_D_TYPE" = "yes"; then
+ ##-- check for dirent d_type decls
+ { echo "$as_me:$LINENO: checking whether DT_REG is declared" >&5
echo $ECHO_N "checking whether DT_REG is declared... $ECHO_C" >&6; }
if test "${ac_cv_have_decl_DT_REG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4550,6 +4551,7 @@ _ACEOF
fi
+fi
## /local: structs