Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80e466
)
Fix hack_libtool() function for Debian 6.0 (/bin/dash requires script to be GNU compl...
author
vsr
<vsr@opencascade.com>
Wed, 3 Nov 2010 07:18:21 +0000
(07:18 +0000)
committer
vsr
<vsr@opencascade.com>
Wed, 3 Nov 2010 07:18:21 +0000
(07:18 +0000)
salome_adm/unix/config_files/hack_libtool.m4
patch
|
blob
|
history
diff --git
a/salome_adm/unix/config_files/hack_libtool.m4
b/salome_adm/unix/config_files/hack_libtool.m4
index 4ad515aabd65b3a5f991cc447f40a372353b5846..54a65dc8783589c168d62914fb061f6c00a0f9f6 100644
(file)
--- a/
salome_adm/unix/config_files/hack_libtool.m4
+++ b/
salome_adm/unix/config_files/hack_libtool.m4
@@
-28,7
+28,7
@@
dnl to the native libraries (installed in /usr/lib[64]) instead of those supplie
dnl with specific -Ldir options.
AC_DEFUN([AC_HACK_LIBTOOL],[
-sed -i "s%^CC=\"\(.*\)\"%
function hack_libtool
{ \n\
+sed -i "s%^CC=\"\(.*\)\"%
hack_libtool ()
{ \n\
if test \"\$(echo \$[@] | grep -E '\\\-L/usr/lib(/../lib)?(64)? ')\" == \"\" \n\
then\n\
cmd=\"\1 \$[@]\"\n\