[MacPorts] #26224: zlib fails to configure shared library when using 'configuredistcc yes'

MacPorts noreply at macports.org
Fri Oct 22 16:31:39 PDT 2010


#26224: zlib fails to configure shared library when using 'configuredistcc yes'
---------------------------+------------------------------------------------
 Reporter:  aj@…           |       Owner:  ryandesign@…           
     Type:  defect         |      Status:  new                    
 Priority:  Normal         |   Milestone:                         
Component:  ports          |     Version:  1.9.1                  
 Keywords:                 |        Port:  zlib                   
---------------------------+------------------------------------------------

Comment(by dmitrij.ledkov@…):

 {{{
 test -z "$CC" && echo Checking for ${CROSS_PREFIX}gcc...
 cc=${CC-${CROSS_PREFIX}gcc}
 cflags=${CFLAGS-"-O3"}
 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
 case "$cc" in
   *gcc*) gcc=1 ;;
 esac


 if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then

 dylib options in the darwin case

 else

 no darwin case

 endif
 }}}

 This is in the hand-written configure script. So if we are building with
 something that is not gcc, we are not getting dylib =(

-- 
Ticket URL: <https://trac.macports.org/ticket/26224#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list