summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-08-29 08:03:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-08-29 08:03:31 -0400
commit58a31b508e2cc520565d5de20c9087ac36923164 (patch)
tree3fda3205008b1a5cb9bc4b444194229e5bb326e5 /configure
parenta070f28b4f11bccb8d1ffb58b758f4de5d9f642f (diff)
parent2172519d766198a587e4474eaa829578cde4f433 (diff)
downloade2fsprogs-58a31b508e2cc520565d5de20c9087ac36923164.tar.gz
Merge branch 'maint' into next
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure b/configure
index fc38dbed..b62da1b0 100755
--- a/configure
+++ b/configure
@@ -655,6 +655,7 @@ SIZEOF_LONG_LONG
SIZEOF_LONG
SIZEOF_INT
SIZEOF_SHORT
+DD
BUILD_CC
MAKEINFO
STRIP
@@ -12381,6 +12382,27 @@ fi
done
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a dd(1) program that supports iflag=fullblock" >&5
+$as_echo_n "checking for a dd(1) program that supports iflag=fullblock... " >&6; }
+DD=
+for i in dd gdd ; do
+ if "$i" if=/dev/null of=/dev/null count=1 bs=10k 2>/dev/null iflag=fullblock oflag=append ; then
+ DD=$i
+ break
+ fi
+done
+if test -n "$DD" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DD" >&5
+$as_echo "$DD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found, using dd" >&5
+$as_echo "not found, using dd" >&6; }
+ DD=dd
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&5
+$as_echo "$as_me: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&2;}
+fi
+
+
for ac_header in net/if.h
do :
ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "