diff -aur YACS_SRC_5.1.2.old/adm/unix/config_files/ac_linker_options.m4 YACS_SRC_5.1.2/adm/unix/config_files/ac_linker_options.m4 --- YACS_SRC_5.1.2.old/adm/unix/config_files/ac_linker_options.m4 2009-07-06 13:45:35.000000000 +0200 +++ YACS_SRC_5.1.2/adm/unix/config_files/ac_linker_options.m4 2009-08-08 14:14:44.000000000 +0200 @@ -23,6 +23,10 @@ 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) diff -aur YACS_SRC_5.1.2.old/adm/unix/make_begin.am YACS_SRC_5.1.2/adm/unix/make_begin.am --- YACS_SRC_5.1.2.old/adm/unix/make_begin.am 2009-07-06 13:45:36.000000000 +0200 +++ YACS_SRC_5.1.2/adm/unix/make_begin.am 2009-08-08 18:59:55.000000000 +0200 @@ -22,7 +22,7 @@ # Standard directory for installation salomeincludedir = $(includedir)/salome -libdir = $(prefix)/lib/salome +libdir = $(prefix)/lib$(LIB_LOCATION_SUFFIX)/salome bindir = $(prefix)/bin/salome salomescriptdir = $(bindir) salomepythondir = $(pythondir)/salome diff -aur YACS_SRC_5.1.2.old/src/genericgui/Makefile.am YACS_SRC_5.1.2/src/genericgui/Makefile.am --- YACS_SRC_5.1.2.old/src/genericgui/Makefile.am 2009-07-06 13:45:44.000000000 +0200 +++ YACS_SRC_5.1.2/src/genericgui/Makefile.am 2009-08-08 18:04:36.000000000 +0200 @@ -16,7 +16,7 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -libdir = $(prefix)/lib/salome +libdir = $(prefix)/lib$(LIB_LOCATION_SUFFIX)/salome bindir = $(prefix)/bin/salome lib_LTLIBRARIES = libGenericGui.la