From: prascle Date: Wed, 20 Feb 2008 11:27:21 +0000 (+0000) Subject: PR: merge from BR_Dev_For_4_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=770f210b6a44ee0c75ebf00740b733e639bb155e;p=modules%2Fkernel.git PR: merge from BR_Dev_For_4_0 --- diff --git a/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 b/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 index d316f83c6..372fa9f7e 100644 --- a/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 +++ b/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 @@ -40,7 +40,8 @@ case $host_os in irix5.* | irix6.* | osf4.* | osf5.* | linux* ) linux64="true" - expr "$host_os" : 'linux' >/dev/null && test ! x"$host_cpu" = x"x86_64" && linux64="false" +# porting on intel processor 64 bits + expr "$host_os" : 'linux' >/dev/null && ( test ! x"$host_cpu" = x"x86_64" && test ! x"$host_cpu" = x"ia64" ) && linux64="false" if test ! x"$linux64" = "xfalse" ; then echo "$as_me:$LINENO: checking for 64bits integers size in F77/F90" >&5 echo $ECHO_N "checking for 64bits integers size in F77/F90... $ECHO_C" >&6 @@ -70,10 +71,11 @@ esac case $host_os in linux*) +# porting on intel processor 64 bits: if 64 bits processor, by default compilation in 64 bits if test x"$linux64" = x"true"; then \ MACHINE="PCLINUX64${SUFFIXES}"; - CFLAGS=" -m64 -D_OCC64 ${CXXFLAGS}"; - CXXFLAGS=" -m64 -D_OCC64 ${CXXFLAGS}";\ + CFLAGS=" -D_OCC64 ${CXXFLAGS}"; + CXXFLAGS=" -D_OCC64 ${CXXFLAGS}";\ else \ MACHINE=PCLINUX; \ fi