From 97acf85b0f5555107d4f5abbbe274d49f136c0fa Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 3 Nov 2010 07:18:21 +0000 Subject: [PATCH] Fix hack_libtool() function for Debian 6.0 (/bin/dash requires script to be GNU compliant) --- salome_adm/unix/config_files/hack_libtool.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salome_adm/unix/config_files/hack_libtool.m4 b/salome_adm/unix/config_files/hack_libtool.m4 index 4ad515aab..54a65dc87 100644 --- 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\ -- 2.39.2