]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix hack_libtool() function for Debian 6.0 (/bin/dash requires script to be GNU compl...
authorvsr <vsr@opencascade.com>
Wed, 3 Nov 2010 07:18:21 +0000 (07:18 +0000)
committervsr <vsr@opencascade.com>
Wed, 3 Nov 2010 07:18:21 +0000 (07:18 +0000)
salome_adm/unix/config_files/hack_libtool.m4

index 4ad515aabd65b3a5f991cc447f40a372353b5846..54a65dc8783589c168d62914fb061f6c00a0f9f6 100644 (file)
@@ -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\