You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2002/10/17 20:22:17 UTC
cvs commit: apr/build apr_hints.m4
wrowe 2002/10/17 11:22:17
Modified: build apr_hints.m4
Log:
When we build HP-UX applications, they must be able to follow the
SHLIB_PATH path variable due to the construction and potential relocation
of libapr.sl/libaprutil.sl with binary builds.
Revision Changes Path
1.45 +3 -0 apr/build/apr_hints.m4
Index: apr_hints.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_hints.m4,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- apr_hints.m4 22 Sep 2002 19:26:41 -0000 1.44
+++ apr_hints.m4 17 Oct 2002 18:22:16 -0000 1.45
@@ -81,6 +81,7 @@
;;
*-hp-hpux11.*)
APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED])
+ APR_ADDTO(LDFLAGS, [+s])
;;
*-hp-hpux10.*)
case $host in
@@ -91,9 +92,11 @@
;;
esac
APR_ADDTO(CPPFLAGS, [-D_REENTRANT])
+ APR_ADDTO(LDFLAGS, [+s])
;;
*-hp-hpux*)
APR_ADDTO(CPPFLAGS, [-DHPUX -D_REENTRANT])
+ APR_ADDTO(LDFLAGS, [+s])
;;
*-linux-*)
case `uname -r` in
Re: cvs commit: apr/build apr_hints.m4
Posted by Joe Orton <jo...@manyfish.co.uk>.
On Fri, Oct 18, 2002 at 06:58:47AM -0400, Jeff Trawick wrote:
> wrowe@apache.org writes:
>
> > wrowe 2002/10/17 11:22:17
> >
> > Modified: build apr_hints.m4
> > Log:
> > When we build HP-UX applications, they must be able to follow the
> > SHLIB_PATH path variable due to the construction and potential relocation
> > of libapr.sl/libaprutil.sl with binary builds.
>
> Q: Does a binbuild on HP-UX work for you without other hacks to the
> build when you move the binbuild to another machine (or rename the
> initial install tree so libs can't be found there)?
That commit also broke GCC builds on HP-UX; temporary fix below, though
if this really needs to be used by default it should be passed to GCC as
-Wl,+s as well.
Index: configure.in
===================================================================
RCS file: /home/cvspublic/apr/configure.in,v
retrieving revision 1.490
diff -u -r1.490 configure.in
--- configure.in 17 Oct 2002 17:40:24 -0000 1.490
+++ configure.in 18 Oct 2002 12:57:57 -0000
@@ -315,6 +315,7 @@
case "$host:$CC" in
*-hp-hpux*:cc )
APR_ADDTO(CFLAGS,[-Ae +DAportable +Z])
+ APR_ADDTO(LDFLAGS, [+s])
;;
powerpc-*-beos:mwcc* )
APR_SETVAR(CPP,[mwcc -E])
Index: build/apr_hints.m4
===================================================================
RCS file: /home/cvspublic/apr/build/apr_hints.m4,v
retrieving revision 1.45
diff -u -r1.45 apr_hints.m4
--- build/apr_hints.m4 17 Oct 2002 18:22:16 -0000 1.45
+++ build/apr_hints.m4 18 Oct 2002 12:57:57 -0000
@@ -81,7 +81,6 @@
;;
*-hp-hpux11.*)
APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED])
- APR_ADDTO(LDFLAGS, [+s])
;;
*-hp-hpux10.*)
case $host in
@@ -92,11 +91,9 @@
;;
esac
APR_ADDTO(CPPFLAGS, [-D_REENTRANT])
- APR_ADDTO(LDFLAGS, [+s])
;;
*-hp-hpux*)
APR_ADDTO(CPPFLAGS, [-DHPUX -D_REENTRANT])
- APR_ADDTO(LDFLAGS, [+s])
;;
*-linux-*)
case `uname -r` in
Re: cvs commit: apr/build apr_hints.m4
Posted by Jeff Trawick <tr...@attglobal.net>.
wrowe@apache.org writes:
> wrowe 2002/10/17 11:22:17
>
> Modified: build apr_hints.m4
> Log:
> When we build HP-UX applications, they must be able to follow the
> SHLIB_PATH path variable due to the construction and potential relocation
> of libapr.sl/libaprutil.sl with binary builds.
Q: Does a binbuild on HP-UX work for you without other hacks to the
build when you move the binbuild to another machine (or rename the
initial install tree so libs can't be found there)?
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...
Re: cvs commit: apr/build apr_hints.m4
Posted by Jeff Trawick <tr...@attglobal.net>.
wrowe@apache.org writes:
> wrowe 2002/10/17 11:22:17
>
> Modified: build apr_hints.m4
> Log:
> When we build HP-UX applications, they must be able to follow the
> SHLIB_PATH path variable due to the construction and potential relocation
> of libapr.sl/libaprutil.sl with binary builds.
Q: Does a binbuild on HP-UX work for you without other hacks to the
build when you move the binbuild to another machine (or rename the
initial install tree so libs can't be found there)?
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...