Add missing export in https://codereview.scilab.org/#/c/15774/ 76/15776/1
Vincent COUVERT [Fri, 9 Jan 2015 13:09:19 +0000 (14:09 +0100)]
Change-Id: I6fce5aa46296ed2344de303fc4b50ca5955ca714

scilab/configure
scilab/m4/libsmath.m4

index f3078d8..70eb234 100755 (executable)
@@ -25130,7 +25130,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   LIBS="$ARPACK_LIBS $LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"
   save_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
   if $WITH_DEVTOOLS; then # Scilab thirdparties
-      LD_LIBRARY_PATH="$DEVTOOLS_LIBDIR:$LD_LIBRARY_PATH"
+      export LD_LIBRARY_PATH="$DEVTOOLS_LIBDIR:$LD_LIBRARY_PATH"
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the arpack library works" >&5
 $as_echo_n "checking whether the arpack library works... " >&6; }
@@ -25300,7 +25300,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lib_cv_arpack_ok" >&5
 $as_echo "$lib_cv_arpack_ok" >&6; }
   LIBS="$save_LIBS"
-  LD_LIBRARY_PATH="$save_LD_LIBRARY_PATH"
+  export LD_LIBRARY_PATH="$save_LD_LIBRARY_PATH"
   ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
index 06fc84d..e504e2d 100644 (file)
@@ -387,7 +387,7 @@ AC_DEFUN([CHECK_ARPACK_OK], [
   LIBS="$ARPACK_LIBS $LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"
   save_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
   if $WITH_DEVTOOLS; then # Scilab thirdparties
-      LD_LIBRARY_PATH="$DEVTOOLS_LIBDIR:$LD_LIBRARY_PATH"
+      export LD_LIBRARY_PATH="$DEVTOOLS_LIBDIR:$LD_LIBRARY_PATH"
   fi
   AC_CACHE_CHECK([whether the arpack library works],
     [lib_cv_arpack_ok], [
@@ -523,7 +523,7 @@ doit (void)
   [cv_lib_arpack_ok=no],
   [cv_lib_arpack_ok=yes])])
   LIBS="$save_LIBS"
-  LD_LIBRARY_PATH="$save_LD_LIBRARY_PATH"
+  export LD_LIBRARY_PATH="$save_LD_LIBRARY_PATH"
   AC_LANG_POP(C++)
   if test "$cv_lib_arpack_ok" = "yes"; then
     $1