summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-01-03 20:50:54 -0800
committerWayne Davison <wayned@samba.org>2009-01-03 20:50:54 -0800
commit83238ed0bbb8ee7202ca273ecc00765ee045717b (patch)
tree95eddb2376326c8f0e3802fc2f57c5d40ff695f0 /configure.in
parent21cddef2b460098f5289b9cdbd592bf8f0f9e759 (diff)
downloadrsync-83238ed0bbb8ee7202ca273ecc00765ee045717b.tar.gz
Fixed bug #6011: use of target in configure.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index c607d0bb..355f6010 100644
--- a/configure.in
+++ b/configure.in
@@ -13,7 +13,7 @@ AC_DEFINE_UNQUOTED(RSYNC_VERSION, ["$RSYNC_VERSION"], [rsync release version])
LDFLAGS=${LDFLAGS-""}
-AC_CANONICAL_TARGET([])
+AC_CANONICAL_HOST
dnl Checks for programs.
AC_PROG_CC
@@ -762,7 +762,7 @@ rsync_cv_HAVE_SECURE_MKSTEMP=yes,
rsync_cv_HAVE_SECURE_MKSTEMP=no,
rsync_cv_HAVE_SECURE_MKSTEMP=cross)])
if test x"$rsync_cv_HAVE_SECURE_MKSTEMP" = x"yes"; then
- case $target_os in
+ case $host_os in
hpux*)
dnl HP-UX has a broken mkstemp() implementation they refuse to fix,
dnl so we noisily skip using it. See HP change request JAGaf34426