From: apo Date: Thu, 11 May 2006 11:06:57 +0000 (+0000) Subject: To compile MED without KERNEL X-Git-Tag: T3_2_0b1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d689f6fe4df6632207ad2e9f4a0526e0245db4a4;p=modules%2Fmed.git To compile MED without KERNEL --- diff --git a/adm_local_without_kernel/unix/config_files/ac_linker_options.m4 b/adm_local_without_kernel/unix/config_files/ac_linker_options.m4 index 392107c77..9006a46fe 100644 --- a/adm_local_without_kernel/unix/config_files/ac_linker_options.m4 +++ b/adm_local_without_kernel/unix/config_files/ac_linker_options.m4 @@ -26,6 +26,16 @@ dnl dnl @author Bernard Secher (CEA) - 04/12/2003 dnl AC_DEFUN([AC_LINKER_OPTIONS],[ + + AC_CHECKING(for LIB_LOCATION_SUFFIX) + LIB_LOCATION_SUFFIX="" + case "$build_cpu" in + x86_64*) LIB_LOCATION_SUFFIX="64" ;; + *) LIB_LOCATION_SUFFIX="" ;; + esac + AC_SUBST(LIB_LOCATION_SUFFIX) + AC_MSG_RESULT(LIB_LOCATION_SUFFIX is $LIB_LOCATION_SUFFIX) + for opt in "-Xlinker -export-dynamic" -transitive_link; do AC_CXX_OPTION($opt,LDEXPDYNFLAGS,flag=yes,flag=no) if test "$flag" = "yes"; then @@ -33,6 +43,7 @@ AC_DEFUN([AC_LINKER_OPTIONS],[ fi done AC_SUBST(LDEXPDYNFLAGS) + dnl case $host_os in osf*) diff --git a/adm_local_without_kernel/unix/config_files/config.sub b/adm_local_without_kernel/unix/config_files/config.sub index c8e77851e..6218dd954 100755 --- a/adm_local_without_kernel/unix/config_files/config.sub +++ b/adm_local_without_kernel/unix/config_files/config.sub @@ -209,7 +209,7 @@ case $basic_machine in | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ | xmp-* | ymp-* \ - | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ + | x86-* | x86_64-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ | hppa2.0n-* | hppa64-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ diff --git a/adm_local_without_kernel/unix/config_files/production.m4 b/adm_local_without_kernel/unix/config_files/production.m4 index dd6bce2d1..8157d677d 100644 --- a/adm_local_without_kernel/unix/config_files/production.m4 +++ b/adm_local_without_kernel/unix/config_files/production.m4 @@ -59,6 +59,7 @@ AC_CXX_OPTION(-Wreturn-type,CXXFLAGS) AC_CXX_OPTION(-Wmissing-declarations,CXXFLAGS) AC_CXX_OPTION(-fmessage-length=0,CXXFLAGS) AC_CXX_OPTION(-Wunused,CXXFLAGS) +AC_CXX_OPTION(-pipe,CXXFLAGS) if test "X$enable_production" = "Xyes"; then CFLAGS="$CFLAGS -O" @@ -102,5 +103,4 @@ fi ]) # AC_DISABLE_DEBUG - set the default flag to --disable-debug -AC_DEFUN([AC_DISABLE_DEBUG], [AC_ENABLE_DEBUG(no)]) - +AC_DEFUN([AC_DISABLE_DEBUG], [AC_ENABLE_DEBUG(no)]) \ No newline at end of file