You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2013/03/27 09:11:17 UTC

svn commit: r1461439 - /commons/proper/daemon/branches/1.0.x/src/native/unix/configure

Author: mturk
Date: Wed Mar 27 08:11:16 2013
New Revision: 1461439

URL: http://svn.apache.org/r1461439
Log:
Regen configure

Modified:
    commons/proper/daemon/branches/1.0.x/src/native/unix/configure

Modified: commons/proper/daemon/branches/1.0.x/src/native/unix/configure
URL: http://svn.apache.org/viewvc/commons/proper/daemon/branches/1.0.x/src/native/unix/configure?rev=1461439&r1=1461438&r2=1461439&view=diff
==============================================================================
--- commons/proper/daemon/branches/1.0.x/src/native/unix/configure (original)
+++ commons/proper/daemon/branches/1.0.x/src/native/unix/configure Wed Mar 27 08:11:16 2013
@@ -2649,7 +2649,7 @@ echo "$as_me: error: Unsupported operati
     host_cpu=hppa2.0w
     HOST_CPU=PA_RISC2.0W
     ;;
-  hppa2.0n)
+  hppa2.0n|hppa32)
     CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0N\\\" -DSO_EXT=\\\"sl\\\""
     HOST_CPU=PA_RISC2.0N
     ;;
@@ -2705,32 +2705,45 @@ echo "$as_me: error: Unsupported CPU arc
    { (exit 1); exit 1; }; };;
   esac
 
-  case $host_os-$host_cpu in
-  hpux-ia64n|hpux-hppa2.0n)
-    if test "x$GCC" = "xyes"
-    then
+  if test "x$GCC" = "xyes"
+  then
+    case $host_os-$host_cpu in
+    hpux-ia64n)
         CFLAGS="-milp32 -pthread $CFLAGS"
         LDFLAGS="-milp32 -pthread $LDFLAGS"
         LIBS="$LIBS -lpthread"
-    else
-        CFLAGS="+DD32 -mt $CFLAGS"
-        LDFLAGS="+DD32 -mt $LDFLAGS"
-    fi
-  ;;
-  hpux-ia64w|hpux-hppa2.0w)
-    if test "x$GCC" = "xyes"
-    then
+    ;;
+    hpux-ia64w)
         CFLAGS="-mlp64 -pthread $CFLAGS"
         LDFLAGS="-mlp64 -pthread $LDFLAGS"
         LIBS="$LIBS -lpthread"
-    else
+    ;;
+    hpux-*)
+        CFLAGS="-pthread $CFLAGS"
+        LDFLAGS="-pthread $LDFLAGS"
+        LIBS="$LIBS -lpthread"
+    ;;
+    *)
+    ;;
+    esac
+  else
+    case $host_os-$host_cpu in
+    hpux-ia64n|hpux-hppa2.0n)
+        CFLAGS="+DD32 -mt $CFLAGS"
+        LDFLAGS="+DD32 -mt $LDFLAGS"
+    ;;
+    hpux-ia64w|hpux-hppa2.0w)
         CFLAGS="+DD64 -mt $CFLAGS"
         LDFLAGS="+DD64 -mt $LDFLAGS"
-    fi
-  ;;
-  *)
-  ;;
-  esac
+    ;;
+    hpux-*)
+        CFLAGS="-mt $CFLAGS"
+        LDFLAGS="-mt $LDFLAGS"
+    ;;
+    *)
+    ;;
+    esac
+  fi
 
   echo "$as_me:$LINENO: result: ok" >&5
 echo "${ECHO_T}ok" >&6