]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
To compile MED without KERNEL
authorapo <apo@opencascade.com>
Thu, 11 May 2006 11:06:57 +0000 (11:06 +0000)
committerapo <apo@opencascade.com>
Thu, 11 May 2006 11:06:57 +0000 (11:06 +0000)
adm_local_without_kernel/unix/config_files/ac_linker_options.m4
adm_local_without_kernel/unix/config_files/config.sub
adm_local_without_kernel/unix/config_files/production.m4

index 392107c773ddcad09657f81207349e3001494a8e..9006a46fe54a09849d110c61f088cb93001fbd95 100644 (file)
@@ -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*)
index c8e77851e69dd619632d512ff3cf4468f39b6d91..6218dd95462018692a0eb2e69118e22bf60bd89e 100755 (executable)
@@ -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]-* \
index dd6bce2d1b614879322f5381cb4fe71543f2cbe5..8157d677d18b8ea404667e66b2ef6f74f89b75a7 100644 (file)
@@ -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