"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bootstrap" 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.

bootstrap  (libtool-2.4.5):bootstrap  (libtool-2.4.6)
skipping to change at line 229 skipping to change at line 229
# Or set it to "none" to ignore VCS ignore files entirely. Default is # Or set it to "none" to ignore VCS ignore files entirely. Default is
# "auto". # "auto".
vc_ignore= vc_ignore=
## ------------------- ## ## ------------------- ##
## External Libraries. ## ## External Libraries. ##
## ------------------- ## ## ------------------- ##
# Source required external libraries: # Source required external libraries:
# 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 351 skipping to change at line 351
# 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
skipping to change at line 2086 skipping to change at line 2086
# #
# Copyright (C) 2010-2015 Free Software Foundation, Inc. # Copyright (C) 2010-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.
# Make sure we've evaluated scripts we depend on. # Make sure we've evaluated scripts we depend on.
test -z "$progpath" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/funclib.sh test -z "$progpath" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/funclib.sh
test extract-trace = "$progname" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/optio ns-parser test extract-trace = "$progname" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/optio ns-parser
# Set a version string. # Set a version string.
scriptversion=2014-12-03.16; # UTC scriptversion=2015-01-20.17; # UTC
# 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
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
skipping to change at line 2192 skipping to change at line 2192
# func_tool_version_number CMD [FATAL-ERROR-MSG] # func_tool_version_number CMD [FATAL-ERROR-MSG]
# ---------------------------------------------- # ----------------------------------------------
# Pass arguments to func_tool_version_output, but set # Pass arguments to func_tool_version_output, but set
# $func_tool_version_number_result to the last dot delimited digit string # $func_tool_version_number_result to the last dot delimited digit string
# on the first line of output. # on the first line of output.
func_tool_version_number () func_tool_version_number ()
{ {
$debug_cmd $debug_cmd
_G_verout=`func_tool_version_output "$@" |sed 1q` _G_verout=`func_tool_version_output "$@"`
_G_status=$? _G_status=$?
# A version number starts with a digit following a space on the first # A version number starts with a digit following a space on the first
# line of output from `--version`. # line of output from `--version`.
_G_verout=`echo "$_G_verout" |sed 1q`
if test -n "$_G_verout"; then if test -n "$_G_verout"; then
_G_vernum=`expr "$_G_verout" : '.* \([0-9][^ ]*\)'` _G_vernum=`expr "$_G_verout" : '.* \([0-9][^ ]*\)'`
fi fi
if test -n "$_G_vernum"; then if test -n "$_G_vernum"; then
printf '%s\n' "$_G_vernum" printf '%s\n' "$_G_vernum"
else else
printf '%s\n' "$_G_verout" printf '%s\n' "$_G_verout"
fi fi
skipping to change at line 2232 skipping to change at line 2233
_G_find_tool_names=$@ _G_find_tool_names=$@
eval "_G_find_tool_res=\$$_G_find_tool_envvar" eval "_G_find_tool_res=\$$_G_find_tool_envvar"
if test -n "$_G_find_tool_res"; then if test -n "$_G_find_tool_res"; then
_G_find_tool_error_prefix="\$$find_tool_envvar: " _G_find_tool_error_prefix="\$$find_tool_envvar: "
else else
_G_find_tool_res= _G_find_tool_res=
_G_bestver= _G_bestver=
for _G_prog for _G_prog
do do
_G_find_tool_save_IFS=$IFS _G_find_tool_save_IFS=$IFS
IFS=: IFS=${PATH_SEPARATOR-:}
for _G_dir in $PATH; do for _G_dir in $PATH; do
IFS=$_G_find_tool_save_IFS IFS=$_G_find_tool_save_IFS
_G_progpath=$_G_dir/$_G_prog _G_progpath=$_G_dir/$_G_prog
test -r "$_G_progpath" && { test -r "$_G_progpath" && {
_G_curver=`func_tool_version_number $_G_progpath` _G_curver=`func_tool_version_number $_G_progpath`
case $_G_bestver,$_G_curver in case $_G_bestver,$_G_curver in
,) ,)
# first non--version responsive prog sticks! # first non--version responsive prog sticks!
test -n "$_G_progpath" || _G_find_tool_res=$_G_progpath test -n "$_G_progpath" || _G_find_tool_res=$_G_progpath
;; ;;
skipping to change at line 2535 skipping to change at line 2536
# Local variables: # Local variables:
# mode: shell-script # mode: shell-script
# sh-indentation: 2 # sh-indentation: 2
# eval: (add-hook 'before-save-hook 'time-stamp) # eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-pattern: "20/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-pattern: "20/scriptversion=%:y-%02m-%02d.%02H; # UTC"
# time-stamp-time-zone: "UTC" # time-stamp-time-zone: "UTC"
# End: # End:
# Set a version string for *this* script. # Set a version string for *this* script.
scriptversion=2014-11-04.13; # UTC scriptversion=2015-01-20.17; # UTC
## ------------------- ## ## ------------------- ##
## Hookable functions. ## ## Hookable functions. ##
## ------------------- ## ## ------------------- ##
# After 'bootstrap.conf' has been sourced, execution proceeds by calling # After 'bootstrap.conf' has been sourced, execution proceeds by calling
# 'func_bootstrap'. Wherever a function is decorated with # 'func_bootstrap'. Wherever a function is decorated with
# 'func_hookable func_name', you will find a matching 'func_run_hooks # 'func_hookable func_name', you will find a matching 'func_run_hooks
# func_name', which executes all functions added with 'func_add_hook # func_name', which executes all functions added with 'func_add_hook
# func_name my_func'. # func_name my_func'.
skipping to change at line 2655 skipping to change at line 2656
# ---------------- # ----------------
# Reconfigure the current package by running the appropriate autotools in a # Reconfigure the current package by running the appropriate autotools in a
# suitable order. # suitable order.
func_hookable func_reconfigure func_hookable func_reconfigure
func_reconfigure () func_reconfigure ()
{ {
$debug_cmd $debug_cmd
$require_automake_options $require_automake_options
# Automake (without 'foreign' option) requires that README exists. # Automake (without 'foreign' option) requires that NEWS & README exist.
case " $automake_options " in case " $automake_options " in
" foreign ") ;; " foreign ") ;;
*) func_ensure_README ;; *)
func_ensure_NEWS
func_ensure_README
;;
esac esac
# Ensure ChangeLog presence. # Ensure ChangeLog presence.
if test -n "$gnulib_modules"; then if test -n "$gnulib_modules"; then
func_ifcontains "$gnulib_modules" gitlog-to-changelog \ func_ifcontains "$gnulib_modules" gitlog-to-changelog \
func_ensure_changelog func_ensure_changelog
else else
$require_gnulib_cache $require_gnulib_cache
if $SED -n '/^gl_MODULES(\[/,/^])$/p' $gnulib_cache 2>/dev/null | if $SED -n '/^gl_MODULES(\[/,/^])$/p' $gnulib_cache 2>/dev/null |
func_grep_q gitlog-to-changelog func_grep_q gitlog-to-changelog
skipping to change at line 2976 skipping to change at line 2980
EOT EOT
_G_message="creating dummy 'ChangeLog'" _G_message="creating dummy 'ChangeLog'"
test -f ChangeLog~ \ test -f ChangeLog~ \
&& func_append _G_message ' (backup in ChangeLog~)' && func_append _G_message ' (backup in ChangeLog~)'
func_verbose "$_G_message" func_verbose "$_G_message"
return 0 return 0
} }
# func_ensure_NEWS
# ----------------
# Without AM_INIT_AUTOMAKE([foreign]), automake will not run to
# completion with no NEWS file, even though NEWS.md or NEWS.txt
# is often preferable.
func_ensure_NEWS ()
{
$debug_cmd
test -f NEWS || {
_G_NEWS=
for _G_news in NEWS.txt NEWS.md NEWS.rst; do
test -f "$_G_news" && break
done
test -f "$_G_news" && $LN_S $_G_news NEWS
func_verbose "$LN_S $_G_news NEWS"
}
return 0
}
# func_ensure_README # func_ensure_README
# ------------------ # ------------------
# Without AM_INIT_AUTOMAKE([foreign]), automake will not run to # Without AM_INIT_AUTOMAKE([foreign]), automake will not run to
# completion with no README file, even though README.md or README.txt # completion with no README file, even though README.md or README.txt
# is often preferable. # is often preferable.
func_ensure_README () func_ensure_README ()
{ {
$debug_cmd $debug_cmd
test -f README || { test -f README || {
skipping to change at line 4647 skipping to change at line 4673
$debug_cmd $debug_cmd
func_check_tool_result= func_check_tool_result=
case $1 in case $1 in
*[\\/]*) *[\\/]*)
test -x "$1" && func_check_tool_result=$1 test -x "$1" && func_check_tool_result=$1
;; ;;
*) *)
save_IFS=$IFS save_IFS=$IFS
IFS=: IFS=${PATH_SEPARATOR-:}
for _G_check_tool_path in $PATH; do for _G_check_tool_path in $PATH; do
IFS=$save_IFS IFS=$save_IFS
if test -x "$_G_check_tool_path/$1"; then if test -x "$_G_check_tool_path/$1"; then
func_check_tool_result=$_G_check_tool_path/$1 func_check_tool_result=$_G_check_tool_path/$1
break break
fi fi
done done
IFS=$save_IFS IFS=$save_IFS
;; ;;
esac esac
 End of changes. 11 change blocks. 
9 lines changed or deleted 35 lines changed or added

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