"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "build-aux/funclib.sh" between
libtool-2.4.5.tar.gz and libtool-2.4.6.tar.gz

About: GNU libtool is a generic library support script that hides the complexity of using shared libraries behind a consistent, portable interface.

funclib.sh  (libtool-2.4.5):funclib.sh  (libtool-2.4.6)
# Set a version string for this script. # Set a version string for this script.
scriptversion=2014-01-03.01; # UTC scriptversion=2015-01-20.17; # UTC
# General shell script boiler plate, and helper functions. # General shell script boiler plate, and helper functions.
# Written by Gary V. Vaughan, 2004 # Written by Gary V. Vaughan, 2004
# Copyright (C) 2004-2015 Free Software Foundation, Inc. # Copyright (C) 2004-2015 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO # This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
skipping to change at line 124 skipping to change at line 124
# set $func_check_prog_result if it truncates its output less than # set $func_check_prog_result if it truncates its output less than
# $_G_path_prog_max characters. # $_G_path_prog_max characters.
func_path_progs () func_path_progs ()
{ {
_G_progs_list=$1 _G_progs_list=$1
_G_check_func=$2 _G_check_func=$2
_G_PATH=${3-"$PATH"} _G_PATH=${3-"$PATH"}
_G_path_prog_max=0 _G_path_prog_max=0
_G_path_prog_found=false _G_path_prog_found=false
_G_save_IFS=$IFS; IFS=$PATH_SEPARATOR _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
for _G_dir in $_G_PATH; do for _G_dir in $_G_PATH; do
IFS=$_G_save_IFS IFS=$_G_save_IFS
test -z "$_G_dir" && _G_dir=. test -z "$_G_dir" && _G_dir=.
for _G_prog_name in $_G_progs_list; do for _G_prog_name in $_G_progs_list; do
for _exeext in '' .EXE; do for _exeext in '' .EXE; do
_G_path_prog=$_G_dir/$_G_prog_name$_exeext _G_path_prog=$_G_dir/$_G_prog_name$_exeext
func_executable_p "$_G_path_prog" || continue func_executable_p "$_G_path_prog" || continue
case `"$_G_path_prog" --version 2>&1` in case `"$_G_path_prog" --version 2>&1` in
*GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
*) $_G_check_func $_G_path_prog *) $_G_check_func $_G_path_prog
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS