apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r652859 - /apr/apr/trunk/configure.in
Date Fri, 02 May 2008 18:20:09 GMT
Author: wrowe
Date: Fri May  2 11:20:09 2008
New Revision: 652859

URL: http://svn.apache.org/viewvc?rev=652859&view=rev
Log:
Avert the pid "ld" format when building to huge-longs on solaris 64 bit.

PR: 43388
Submitted by: Eric Covener <covener gmail.com>

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=652859&r1=652858&r2=652859&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Fri May  2 11:20:09 2008
@@ -1347,7 +1347,11 @@
        size_t_fmt="lu"
        ;;
    *-solaris*)
-       pid_t_fmt="ld"
+       if test "$ac_cv_sizeof_long" = "8"; then
+         pid_t_fmt="d"
+       else
+         pid_t_fmt="ld"
+       fi
        ;;
    *aix4*|*aix5*)
        ssize_t_fmt="ld"



Mime
View raw message