From d6b0c288259d7d3bd1601e00040d4fa1b6a2c8af Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 1 Oct 2009 22:51:02 +0000 Subject: [PATCH] add make tiff-reconf you need this for the next update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15038 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- Makefile.am | 5 +++++ libs/tiff-3.8.2/config/mkinstalldirs | 26 +++++++++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6bba835e8f..642360ff15 100644 --- a/Makefile.am +++ b/Makefile.am @@ -398,6 +398,11 @@ speex-reconf: cd libs/speex && ./config.status --recheck cd libs/speex && ./config.status +tiff-reconf: + cd libs/tiff-3.8.2 && autoreconf -fi + cd libs/tiff-3.8.2 && sh ./configure.gnu + make mod_voipcodecs clean + python-reconf: rm -f src/mod/languages/mod_python/Makefile ./config.status diff --git a/libs/tiff-3.8.2/config/mkinstalldirs b/libs/tiff-3.8.2/config/mkinstalldirs index 6fbe5e1176..259dbfcd35 100755 --- a/libs/tiff-3.8.2/config/mkinstalldirs +++ b/libs/tiff-3.8.2/config/mkinstalldirs @@ -1,7 +1,7 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -scriptversion=2004-02-15.20 +scriptversion=2005-06-29.22 # Original author: Noah Friedman # Created: 1993-05-16 @@ -12,7 +12,7 @@ scriptversion=2004-02-15.20 # . errstatus=0 -dirmode="" +dirmode= usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... @@ -27,7 +27,7 @@ while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" - exit 0 + exit $? ;; -m) # -m PERM arg shift @@ -37,7 +37,7 @@ while test $# -gt 0 ; do ;; --version) echo "$0 $scriptversion" - exit 0 + exit $? ;; --) # stop option processing shift @@ -103,13 +103,21 @@ esac for file do - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + case $file in + /*) pathcomp=/ ;; + *) pathcomp= ;; + esac + oIFS=$IFS + IFS=/ + set fnord $file shift + IFS=$oIFS - pathcomp= for d do - pathcomp="$pathcomp$d" + test "x$d" = x && continue + + pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac @@ -124,7 +132,7 @@ do else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" - lasterr="" + lasterr= chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then @@ -134,7 +142,7 @@ do fi fi - pathcomp="$pathcomp/" + pathcomp=$pathcomp/ done done