Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B4DDF750 for ; Wed, 27 Mar 2013 06:53:01 +0000 (UTC) Received: (qmail 80555 invoked by uid 500); 27 Mar 2013 06:53:00 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 80437 invoked by uid 500); 27 Mar 2013 06:53:00 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 80417 invoked by uid 99); 27 Mar 2013 06:52:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 06:52:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 06:52:58 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 3408823888FD; Wed, 27 Mar 2013 06:52:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1461425 - /commons/proper/daemon/branches/1.0.x/src/native/unix/support/apsupport.m4 Date: Wed, 27 Mar 2013 06:52:38 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130327065238.3408823888FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Wed Mar 27 06:52:37 2013 New Revision: 1461425 URL: http://svn.apache.org/r1461425 Log: Further improove hpux support Modified: commons/proper/daemon/branches/1.0.x/src/native/unix/support/apsupport.m4 Modified: commons/proper/daemon/branches/1.0.x/src/native/unix/support/apsupport.m4 URL: http://svn.apache.org/viewvc/commons/proper/daemon/branches/1.0.x/src/native/unix/support/apsupport.m4?rev=1461425&r1=1461424&r2=1461425&view=diff ============================================================================== --- commons/proper/daemon/branches/1.0.x/src/native/unix/support/apsupport.m4 (original) +++ commons/proper/daemon/branches/1.0.x/src/native/unix/support/apsupport.m4 Wed Mar 27 06:52:37 2013 @@ -65,7 +65,8 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ ;; hpux*) CFLAGS="$CFLAGS -DOS_HPUX -DDSO_DLFCN" - supported_os="hpux" + supported_os="hp-ux" + host_os="hpux" ;; aix5*) CFLAGS="$CFLAGS -DOS_AIX -DDSO_DLFCN" @@ -122,7 +123,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ HOST_CPU=PA_RISC2.0N ;; hppa2.0) - if test "$supported_os" = "hpux" + if test "$host_os" = "hpux" then host_cpu=hppa2.0w HOST_CPU=PA_RISC2.0W @@ -145,7 +146,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ HOST_CPU=IA64N ;; ia64) - if test "$supported_os" = "hpux" + if test "$host_os" = "hpux" then CFLAGS="$CFLAGS -DCPU=\\\"IA64W\\\" -DSO_EXT=\\\"so\\\"" host_cpu=ia64w @@ -170,7 +171,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);; esac - case $supported_os-$host_cpu in + case $host_os-$host_cpu in hpux-ia64n|hpux-hppa2.0n) if test "x$GCC" = "xyes" then