Bug 7876

Summary: configure for Solaris 5.7 fails
Product: Apache httpd-2 Reporter: Marvin Solomon <solomon>
Component: AllAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 2.0.35   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   

Description Marvin Solomon 2002-04-09 15:25:02 UTC
A simple "./configure; make" dies with this
  make[4]: Entering directory
`/export/home0/usr/local/csi/src/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
  D_ASM -D__STDC__=0  
/export/home0/usr/local/csi/src/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s
> apr_atomic_sparc.S
  /bin/sh: D_ASM: not found

A quick work-around is to edit the Makefile in apr/atomic/solaris_sparc to add
  ASCPP = gcc -E
The real problem appears to be in srclib/apr/configure.in about line 371.
Case sun, subcase sparc, subsubcase $is_gnu_as fails to assign a value to ASCPP
Comment 1 Justin Erenkrantz 2002-04-12 01:20:36 UTC
Fixed in revision 1.428 of srclib/apr/configure.in

This will be included in the next version of Apache httpd-2.0.

Thanks for using Apache!