Branch: Tag:

2004-04-16

2004-04-16 13:32:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved detection of icc and ecc.

Rev: src/configure.in:1.829

1: - AC_REVISION("$Id: configure.in,v 1.828 2004/04/16 12:13:23 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.829 2004/04/16 13:32:21 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
797:    fi    ;;    Linux\ 2.*) -  if test "x$REALCC" = "xicc"; then +  if $REALCC -V 2>&1 | head -1 | grep "Intel(R) C" >/dev/null; then +  # icc or ecc.    pike_cv_run_path_method=qoption    else    pike_cv_run_path_method=wl
988:    esac    ;;    Linux*) -  if test "x$REALCC" = "xicc"; then +  if $REALCC -V 2>&1 | head -1 | grep "Intel(R) C" >/dev/null; then +  # icc or ecc.    LC_REQ=""    fi    ;;
1833:    # Linux with Intel C++    DO_IF_OS(Linux,    [ -  if test "x$REALCC" = "xicc"; then +  if $REALCC -V 2>&1 | head -1 | grep "Intel(R) C" >/dev/null; then +  # icc or ecc.    AC_SYS_COMPILER_FLAG(-Ob2,Ob2,OPTIMIZE)    AC_SYS_COMPILER_FLAG(-ipo,ipo,OPTIMIZE)    AC_SYS_COMPILER_FLAG(-ipo,ipo,EXTRALDFLAGS)