"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bootstrap" between
libcaca-0.99.beta19.tar.gz and libcaca-0.99.beta20.tar.bz2

About: libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals (something like an advanced AAlib library).

bootstrap  (libcaca-0.99.beta19):bootstrap  (libcaca-0.99.beta20.tar.bz2)
#! /bin/sh #! /bin/sh
# bootstrap: generic bootstrap/autogen.sh script for autotools projects # bootstrap generic bootstrap/autogen.sh script for autotools projects
# #
# Copyright (c) 2002-2011 Sam Hocevar <sam@hocevar.net> # Copyright © 2002—2015 Sam Hocevar <sam@hocevar.net>
# #
# This program is free software. It comes without any warranty, to # This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it # the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What the Fuck You Want # and/or modify it under the terms of the Do What the Fuck You Want
# to Public License, Version 2, as published by Sam Hocevar. See # to Public License, Version 2, as published by the WTFPL Task Force.
# http://www.wtfpl.net/ for more details. # See http://www.wtfpl.net/ for more details.
# #
# The latest version of this script can be found at the following place: # The latest version of this script can be found at the following place:
# http://caca.zoy.org/wiki/build # http://caca.zoy.org/wiki/build
# Die if an error occurs # Die if an error occurs
set -e set -e
# Guess whether we are using configure.ac or configure.in # Guess whether we are using configure.ac or configure.in
if test -f configure.ac; then if test -f configure.ac; then
conffile="configure.ac" conffile="configure.ac"
elif test -f configure.in; then elif test -f configure.in; then
conffile="configure.in" conffile="configure.in"
else else
echo "$0: could not find configure.ac or configure.in" echo "$0: could not find configure.ac or configure.in"
exit 1 exit 1
fi fi
# Check for needed features # Check for needed features
auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([[ ]*\([^] )]*\).*/\1/p' $conffil e`" auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([[ ]*\([^] )]*\).*/\1/p' $conffil e`"
pkgconfig="`grep '^[ \t]*PKG_PROG_PKG_CONFIG' $conffile >/dev/null 2>&1 && echo yes || echo no`" pkgconfig="`grep '^[ \t]*PKG_PROG_PKG_CONFIG' $conffile >/dev/null 2>&1 && echo yes || echo no`"
libtool="`grep '^[ \t]*A._PROG_LIBTOOL' $conffile >/dev/null 2>&1 && echo yes || libtool="`grep '^[ \t]*LT_INIT' $conffile >/dev/null 2>&1 && echo yes || echo no
echo no`" `"
header="`grep '^[ \t]*A._CONFIG_HEADER' $conffile >/dev/null 2>&1 && echo yes || header="`grep '^[ \t]*A._CONFIG_HEADERS' $conffile >/dev/null 2>&1 && echo yes |
echo no`" | echo no`"
makefile="`[ -f Makefile.am ] && echo yes || echo no`" makefile="`[ -f Makefile.am ] && echo yes || echo no`"
aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/n ull || :`" aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/n ull || :`"
# Check for automake # Check for automake
amvers="no" amvers="no"
v=5 for v in "" "-1.15" "-1.14" "-1.13" "-1.12" "-1.11"; do
tries=0 if automake${v} --version > /dev/null 2>&1; then
while : ; do amvers=${v}
if automake-1.${v} --version >/dev/null 2>&1; then
amvers="-1.${v}"
tries=0
elif automake1.${v} --version >/dev/null 2>&1; then
amvers="1.${v}"
tries=0
fi
if [ "$tries" = 20 ]; then
break break
fi fi
v="$((v + 1))"
tries="$((tries + 1))"
done done
if test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then
amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`"
if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then
amvers="no"
else
amvers=""
fi
fi
if test "$amvers" = "no"; then if test "$amvers" = "no"; then
echo "$0: you need automake version 1.5 or later" echo "$0: automake not found"
exit 1 exit 1
fi fi
# Check for autoconf # Check for autoconf
acvers="no" acvers="no"
for v in "" "259" "253"; do for v in "" "259" "253"; do
if autoconf${v} --version >/dev/null 2>&1; then if autoconf${v} --version >/dev/null 2>&1; then
acvers="${v}" acvers="${v}"
break break
fi fi
done done
if test "$acvers" = "no"; then if test "$acvers" = "no"; then
echo "$0: you need autoconf" echo "$0: autoconf not found"
exit 1 exit 1
fi fi
# Check for libtool # Check for libtool
if test "$libtool" = "yes"; then if test "$libtool" = "yes"; then
libtoolize="no" libtoolize="no"
if glibtoolize --version >/dev/null 2>&1; then if glibtoolize --version >/dev/null 2>&1; then
libtoolize="glibtoolize" libtoolize="glibtoolize"
else else
for v in "16" "15" "" "14"; do for v in "16" "15" "" "14"; do
if libtoolize${v} --version >/dev/null 2>&1; then if libtoolize${v} --version >/dev/null 2>&1; then
libtoolize="libtoolize${v}" libtoolize="libtoolize${v}"
break break
fi fi
done done
fi fi
if test "$libtoolize" = "no"; then if test "$libtoolize" = "no"; then
echo "$0: you need libtool" echo "$0: libtool not found"
exit 1 exit 1
fi fi
fi fi
# Check for pkg-config # Check for pkg-config
if test "$pkgconfig" = "yes"; then if test "$pkgconfig" = "yes"; then
if ! pkg-config --version >/dev/null 2>&1; then if ! pkg-config --version >/dev/null 2>&1; then
echo "$0: you need pkg-config" echo "$0: pkg-config not found"
exit 1 exit 1
fi fi
fi fi
# Remove old cruft # Remove old cruft
for x in aclocal.m4 configure config.guess config.log config.sub config.cache co nfig.h.in config.h compile libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 ltmai n.sh libtool ltconfig missing mkinstalldirs depcomp install-sh; do rm -f $x auto tools/$x; if test -n "$auxdir"; then rm -f "$auxdir/$x"; fi; done for x in aclocal.m4 configure config.guess config.log config.sub config.cache co nfig.h.in config.h compile libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 ltmai n.sh libtool ltconfig missing mkinstalldirs depcomp install-sh; do rm -f $x auto tools/$x; if test -n "$auxdir"; then rm -f "$auxdir/$x"; fi; done
rm -Rf autom4te.cache rm -Rf autom4te.cache
if test -n "$auxdir"; then if test -n "$auxdir"; then
if test ! -d "$auxdir"; then if test ! -d "$auxdir"; then
mkdir "$auxdir" mkdir "$auxdir"
fi fi
aclocalflags="${aclocalflags} -I $auxdir -I ." aclocalflags="-I $auxdir -I . ${aclocalflags}"
fi fi
# Honour M4PATH because sometimes M4 doesn't # Honour M4PATH because sometimes M4 doesn't
save_IFS=$IFS save_IFS=$IFS
IFS=: IFS=:
tmp="$M4PATH" tmp="$M4PATH"
for x in $tmp; do for x in $tmp; do
if test -n "$x"; then if test -n "$x"; then
aclocalflags="${aclocalflags} -I $x" aclocalflags="-I $x ${aclocalflags}"
fi fi
done done
IFS=$save_IFS IFS=$save_IFS
# Explain what we are doing from now # Explain what we are doing from now
set -x set -x
# Bootstrap package # Bootstrap package
if test "$libtool" = "yes"; then if test "$libtool" = "yes"; then
${libtoolize} --copy --force ${libtoolize} --copy --force
 End of changes. 13 change blocks. 
39 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)