Re: cvs commit: apache-1.3/src Configure CHANGES

2002-02-04 Thread Jeff Trawick

[EMAIL PROTECTED] writes:

> martin  02/02/04 05:57:40
> 
>   Modified:.configure
>src  Configure CHANGES
>   Log:
>   Fix the longstanding bug that errors (returned by src/Configure)
>   would not be noticed by the top level configure script.
>   That was bad for automated production environments, as errors would
>   go thru unnoticed, and caused havoc much later in the production.

Thanks, folks!  I just love it when the elves make a visit!

[trawick@amadeus apache-1.3]$ CFLAGS=jkalsjflkajdsflkjasdf ./configure
Configuring for Apache, Version 1.3.24-dev
...
** Apache requires an ANSI C Compiler, such as gcc.

 Error Output for sanity check 
cd ..; gcc  -DSOLARIS2=280 -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED jkalsjflkajdsflkjasdf `./apaci` -o helpers/dummy
helpers/dummy.c   -lsocket -lnsl -lpthread
gcc: jkalsjflkajdsflkjasdf: No such file or directory
make: *** [dummy] Error 1
= End of Error Report =

 Aborting!
[trawick@amadeus apache-1.3]$ echo $?
1<-cool!
[trawick@amadeus apache-1.3]$




Re: cvs commit: apache-1.3/src Configure

2001-11-28 Thread Wilfredo Sánchez


On Monday, November 26, 2001, at 09:12  AM, Ian Holsman wrote:

> Is it possible to do this for 2.0 as well?

   2.0 uses libtool to get ld flags, and it looks like libtool 1.4.2 does 
this correctly.

-Fred




Re: cvs commit: apache-1.3/src Configure

2001-11-26 Thread Sander Temme

on 11/26/01 9:12 AM, Ian Holsman at [EMAIL PROTECTED] wrote:

> Is it possible to do this for 2.0 as well?

In 2.0, this is taken care of by GNU libtool. This is why Greg had a
separate 2.0.28 tarball for darwin: that one has libtool 1.4.2 which already
contains the patch but has issues on some other platforms.

Going forward, we can a) continue this practice until all platforms can use
a 1.4 version of libtool or b) backport darwin support to libtool 1.3.5 as
described on: 

.

This would have to be done on the box where the tarballs are rolled so that
contains the correct ltconf and ltmain.sh.

Folks working from the CVS tree need to hack the GNU libtool on their system
as Apple hasn't seen fit to update the libtool they ship. Here's what I use:

--- /usr/share/libtool/ltconfig.bak Tue Oct  2 17:53:33 2001
+++ /usr/share/libtool/ltconfig Wed Oct 24 15:14:24 2001
@@ -1372,7 +1372,7 @@
 ;;
 
   darwin* | rhapsody*)
-allow_undefined_flag='-undefined warning'
+allow_undefined_flag='-undefined warning -flat_namespace'
 archive_cmds='$CC $(if test .$module = .yes; then echo -bundle; else
echo -dynamiclib; fi) $allow_undefined_flag -o $lib $libobjs $deplibs
$linkopts'
 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib'
 hardcode_direct=yes

(the archive_cmds assignment is a single line) and then re-run buildconf.

S.

-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering groupVoice: (415) 536 5214
645 Howard St. Fax: (415) 536 5210
San Francisco CA 94105

   PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1

===
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
===




Re: cvs commit: apache-1.3/src Configure

2001-11-26 Thread Aaron Bannert

On Mon, Nov 26, 2001 at 09:12:05AM -0800, Ian Holsman wrote:
> Is it possible to do this for 2.0 as well?

> On Mon, 2001-11-26 at 00:07, [EMAIL PROTECTED] wrote:
[snip]
> >   - *-apple-darwin1.4 )
> >   - LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress 
>-flat_namespace'
> >   + *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
> >   + LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
> > ;;
> > * )
> >   - LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
> >   + LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress 
>-flat_namespace'

I was going to suggest something like the following, but AIUI we'll
have to also come up with a way to get libtool _not_ to include the
-flat_namespace param that it's implicitly passing to the compiler/linker.

-aaron


Index: configure.in
===
RCS file: /home/cvs/httpd-2.0/configure.in,v
retrieving revision 1.186
diff -u -u -r1.186 configure.in
--- configure.in2001/11/22 20:29:11 1.186
+++ configure.in2001/11/26 17:01:01
@@ -290,6 +290,10 @@
 *os390)
   HTTPD_LDFLAGS="$HTTPD_LDFLAGS --main=$abs_srcdir/server/main.o 
--core-dll=$abs_srcdir/apachecore.dll"
   SH_LDFLAGS="$SH_LDFLAGS --core-dll=$abs_srcdir/apachecore.dll"
+  ;;
+*-apple-rhapsody* | *-apple-darwin1.[0-3]* )
+  SH_LDFLAGS="$SH_LDFLAGS -Wl,-bundle -Wl,-undefined\ suppress"
+  ;;
   esac
   shared_build="shared-build"
 fi



Re: cvs commit: apache-1.3/src Configure

2001-11-26 Thread Ian Holsman

On Mon, 2001-11-26 at 00:07, [EMAIL PROTECTED] wrote:
> wsanchez01/11/26 00:07:17
> 
Is it possible to do this for 2.0 as well?
>   Modified:src  Configure
>   Log:
>   Default to use -flat_namespace on Darwin expect for v1.3 and prior (including 
>rhapsody).
>   Submitted by:   Sander Temme
>   Reviewed by:Wilfredo Sanchez
>   
>   Revision  ChangesPath
>   1.445 +3 -3  apache-1.3/src/Configure
>   
>   Index: Configure
>   ===========
>   RCS file: /home/cvs/apache-1.3/src/Configure,v
>   retrieving revision 1.444
>   retrieving revision 1.445
>   diff -u -r1.444 -r1.445
>   --- Configure   2001/10/08 20:59:36 1.444
>   +++ Configure   2001/11/26 08:07:17 1.445
>   @@ -1163,11 +1163,11 @@
>   LD_SHLIB="cc"
>   CFLAGS_SHLIB=""
>   case "$PLAT" in
>   -   *-apple-darwin1.4 )
>   -   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress 
>-flat_namespace'
>   +   *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
>   +   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
>   ;;
>   * )
>   -   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
>   +   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress 
>-flat_namespace'
>   ;;
>   esac
>   LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
>   
>   
>   
-- 
Ian Holsman  [EMAIL PROTECTED]
Performance Measurement & Analysis
CNET Networks   -   (415) 344-2608




Re: [PATCH] apache-1.3/src/Configure for Darwin 5.1

2001-11-24 Thread Rodent of Unusual Size

Sander Temme wrote:
> 
> Index: src/Configure
> ===
> RCS file: /home/cvspublic/apache-1.3/src/Configure,v
> retrieving revision 1.444
> diff -u -r1.444 Configure
> --- src/Configure   2001/10/08 20:59:36 1.444
> +++ src/Configure   2001/11/24 18:08:16
> @@ -1163,11 +1163,14 @@
> LD_SHLIB="cc"
> CFLAGS_SHLIB=""
> case "$PLAT" in
> -   *-apple-darwin1.4 )
> +   *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
> +   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress'
> +   ;;
> +   *-apple-darwin1.4* )
> LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress -flat_namespace'
> ;;

Shouldn't one of those have made mention of "darwin5.*"?
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"



Re: [PATCH] apache-1.3/src/Configure for Darwin 5.1

2001-11-24 Thread Wilfredo Sánchez

   Remove the 1.4 case, since it's redundant.

   Other than that, +1.

-Fred


On Saturday, November 24, 2001, at 01:50  PM, Sander Temme wrote:

> Apple recently released MacOS X 10.1.1, which bumped the kernel version
> number from 1.4 to... 5.1. This breaks apache-1.2/src/Configure because 
> it
> doesn't know to pass the correct flags to the linking phase of shared
> libraries (DSOs). This patch attempts to set that straight for now and
> future releases:
>
> Index: src/Configure
> ===
> RCS file: /home/cvspublic/apache-1.3/src/Configure,v
> retrieving revision 1.444
> diff -u -r1.444 Configure
> --- src/Configure   2001/10/08 20:59:36 1.444
> +++ src/Configure   2001/11/24 18:08:16
> @@ -1163,11 +1163,14 @@
> LD_SHLIB="cc"
> CFLAGS_SHLIB=""
> case "$PLAT" in
> -   *-apple-darwin1.4 )
> +   *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
> +   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress'
> +   ;;
> +   *-apple-darwin1.4* )
> LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress -flat_namespace'
> ;;
> * )
> -   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress'
> +   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress -flat_namespace'
> ;;
> esac
> LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
>
> Tested on MacOSX 10.0.0.4 (powerpc-apple-darwin1.3.7), MacOS X Server 
> 10.1
> (powerpc-apple-darwin1.4) and MacOS X 10.1.1 (powerpc-apple-darwin5.1).
> Patch also attached because I fear my mailer may spray newlines all 
> over the
> above.
>
> Thanks,
>
> Sander
>
> --
> Covalent Technologies [EMAIL PROTECTED]
> Engineering groupVoice: (415) 536 5214
> 645 Howard St. Fax: (415) 536 5210
> San Francisco CA 94105
>
>PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1
>
> ===
> This email message is for the sole use of the intended recipient(s) and 
> may
> contain confidential and privileged information. Any unauthorized 
> review,
> use, disclosure or distribution is prohibited.  If you are not the 
> intended
> recipient, please contact the sender by reply email and destroy all 
> copies
> of the original message
> ===
>
>




[PATCH] repost: apache-1.3/src/Configure

2001-11-24 Thread Sander Temme

Second try for this patch. There's no need to special case 1.4: all versions
from that one on, whichever numerical identifier Apple decides to slap onto
them, will pass the -flat_namespace option when linking DSOs. Rhapsody and
darwin1.[0-3] are the odd ones out.

Index: src/Configure
===
RCS file: /home/cvspublic/apache-1.3/src/Configure,v
retrieving revision 1.444
diff -u -r1.444 Configure
--- src/Configure   2001/10/08 20:59:36 1.444
+++ src/Configure   2001/11/24 20:03:13
@@ -1163,11 +1163,12 @@
LD_SHLIB="cc"
CFLAGS_SHLIB=""
case "$PLAT" in
-   *-apple-darwin1.4 )
-   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress -flat_namespace'
+   *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
+   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress'
;;
* )
-   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress'
+   # All newer versions need this
+   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress -flat_namespace'
;;
esac
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB

Also attached for to pre-empt line wrap malaise.

S.

-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering groupVoice: (415) 536 5214
645 Howard St. Fax: (415) 536 5210
San Francisco CA 94105

   PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1

===
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
===


Index: src/Configure
===========
RCS file: /home/cvspublic/apache-1.3/src/Configure,v
retrieving revision 1.444
diff -u -r1.444 Configure
--- src/Configure	2001/10/08 20:59:36	1.444
+++ src/Configure	2001/11/24 20:03:13
@@ -1163,11 +1163,12 @@
 	LD_SHLIB="cc"
 	CFLAGS_SHLIB=""
 	case "$PLAT" in
-		*-apple-darwin1.4 )
-		LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress -flat_namespace'
+		*-apple-rhapsody* | *-apple-darwin1.[0-3]* )
+		LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
 		;;
 		* )
-		LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
+		# All newer versions need this
+		LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress -flat_namespace'
 		;;
 	esac
 	LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB


Re: 1.3 src/Configure

2001-10-04 Thread Jim Jagielski

Rodent of Unusual Size wrote:
> 
> I know I was one of the last holdouts that used the old
> src/Configure method, before being converted to APACI.
> Which suddenly makes me wonder.. is there *anyone* that
> still uses src/Configure?  Does anyone know if it still
> works? :-)
> 

It *has* to... 'configure' just provides a front-end to Configure and
creates a specific Configuration.apaci file for Configure to use. :)

-- 
===
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
  "A society that will trade a little liberty for a little order
   will lose both and deserve neither"



Re: 1.3 src/Configure

2001-10-04 Thread Stipe Tolj

> Isn't apache-1.3/src/Configure called by apache-1.3/configure ? At least,
> when I fixed my build in src/Configure, things started working. See my patch
> of earlier today.

yes -- Cygwin 1.x uses src/Configure for Makefile variable
configuration too.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



Re: 1.3 src/Configure

2001-10-03 Thread Sander Temme

on 10/3/01 4:53 PM, Rodent of Unusual Size at [EMAIL PROTECTED] wrote:

> I know I was one of the last holdouts that used the old
> src/Configure method, before being converted to APACI.
> Which suddenly makes me wonder.. is there *anyone* that
> still uses src/Configure?  Does anyone know if it still
> works? :-)

Isn't apache-1.3/src/Configure called by apache-1.3/configure ? At least,
when I fixed my build in src/Configure, things started working. See my patch
of earlier today. 

S.

-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering groupVoice: (415) 536 5214
645 Howard St. Fax: (415) 536 5210
San Francisco CA 94105

   PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1

===
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
===




Re: 1.3 src/Configure

2001-10-03 Thread David McCreedy


Yes... src/Configure is used on TPF.
And it still works.

-David



   

Rodent of  

Unusual Size To: Apache Developers 
<[EMAIL PROTECTED]>  
   Subject:     1.3 src/Configure

   

10/03/2001 

05:53 PM   

Please respond 

to dev 

   

   




I know I was one of the last holdouts that used the old
src/Configure method, before being converted to APACI.
Which suddenly makes me wonder.. is there *anyone* that
still uses src/Configure?  Does anyone know if it still
works? :-)
--
#ken   P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"







1.3 src/Configure

2001-10-03 Thread Rodent of Unusual Size

I know I was one of the last holdouts that used the old
src/Configure method, before being converted to APACI.
Which suddenly makes me wonder.. is there *anyone* that
still uses src/Configure?  Does anyone know if it still
works? :-)
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"