You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2004/04/16 18:32:25 UTC
cvs commit: apr CHANGES configure.in
trawick 2004/04/16 09:32:25
Modified: . CHANGES configure.in
Log:
Provide workaround for socklen_t declaration problem with 64-bit
build on HP-UX.
also, mention these prior commits which clean up 64-bit
compiles on HP-UX ia64:
Stop setting a PA-RISC-specific compile option on ia64.
Look for -mt thread option, which is used with HP-UX
vendor compiler on ia64.
Alluded to before by: Madhusudan Mathihalli
Revision Changes Path
1.459 +6 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.458
retrieving revision 1.459
diff -u -r1.458 -r1.459
--- CHANGES 10 Apr 2004 21:30:55 -0000 1.458
+++ CHANGES 16 Apr 2004 16:32:24 -0000 1.459
@@ -7,6 +7,12 @@
Changes with APR 1.0
+ *) Provide workaround for socklen_t declaration problem with 64-bit
+ build on HP-UX. Stop setting a PA-RISC-specific compile option
+ on ia64. Look for -mt thread option, which is used with HP-UX
+ vendor compiler on ia64. [Jeff Trawick, based on idea from
+ Madhusudan Mathihalli]
+
*) Support "large files" by default on 32-bit Unix platforms which
implement the LFS standard. [Joe Orton]
1.579 +12 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.578
retrieving revision 1.579
diff -u -r1.578 -r1.579
--- configure.in 16 Apr 2004 12:40:05 -0000 1.578
+++ configure.in 16 Apr 2004 16:32:25 -0000 1.579
@@ -1171,6 +1171,18 @@
fi
if test "$ac_cv_socklen_t" = "yes"; then
socklen_t_value="socklen_t"
+ case $host in
+ *-hp-hpux*)
+ if test "$ac_cv_sizeof_long" = "8"; then
+ # 64-bit HP-UX requires 32-bit socklens in
+ # kernel, but user-space declarations say
+ # 64-bit (socklen_t == size_t == long).
+ # This will result in many compile warnings,
+ # but we're functionally busted otherwise.
+ socklen_t_value="int"
+ fi
+ ;;
+ esac
else
socklen_t_value="int"
fi