Hi openssl-dev,

~~/src/openssl-0.9.6d.src

root@galilee> gcc --version
gcc (GCC) 3.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

vi config
   383  # figure out if gcc is available and if so we use it otherwise
   384  # we fallback to whatever cc does on the system
   385  GCCVER=`(gcc --version) 2>/dev/null`
   386  if [ "$GCCVER" != "" ]; then
   387    CC=gcc
   388    # then strip off whatever prefix Cygnus prepends the number
with...
   389    GCCVER=`echo $GCCVER | sed 's/^[a-z]*\-//'`
   390    GCCVER=`echo $GCCVER | sed 's/(GCC)//'`
   391    GCCVER=`echo $GCCVER | sed 's/^[a-z]*//'`
   392    # peak single digit before and after first dot, e.g. 2.95.1
gives 29
   393    GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
   394  else
   395    CC=cc
   396  fi
...
 
Add line 390, 391

-- 
Regards                 CETELEM - Equipe système Unix / Xnet.  [2-2329]
Eric Vanborren          20 av. Georges Pompidou - 92595 Levallois Perret -
FRANCE
                        Tél: +33 1.46.39.2329 - e-mail: [EMAIL PROTECTED]
                May The OpenSource be with you !
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to