From: Wayne Davison Date: Sun, 4 Jan 2009 04:50:54 +0000 (-0800) Subject: Fixed bug #6011: use of target in configure. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/83238ed0bbb8ee7202ca273ecc00765ee045717b Fixed bug #6011: use of target in configure. --- 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