mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-17 12:17:00 +00:00
put generated files in the right place
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4553 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
af9898658c
commit
0416861224
@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Wrapper for compilers which do not understand `-c -o'.
|
# Wrapper for compilers which do not understand `-c -o'.
|
||||||
|
|
||||||
scriptversion=2005-05-14.22
|
scriptversion=2004-09-10.20
|
||||||
|
|
||||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
|
# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
|
||||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@ -18,7 +18,7 @@ scriptversion=2005-05-14.22
|
|||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
# As a special exception to the GNU General Public License, if you
|
# As a special exception to the GNU General Public License, if you
|
||||||
# distribute this file as part of a program that contains a
|
# distribute this file as part of a program that contains a
|
||||||
@ -47,11 +47,11 @@ right script to run: please start by reading the file `INSTALL'.
|
|||||||
|
|
||||||
Report bugs to <bug-automake@gnu.org>.
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
EOF
|
EOF
|
||||||
exit $?
|
exit 0
|
||||||
;;
|
;;
|
||||||
-v | --v*)
|
-v | --v*)
|
||||||
echo "compile $scriptversion"
|
echo "compile $scriptversion"
|
||||||
exit $?
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -125,8 +125,6 @@ ret=$?
|
|||||||
|
|
||||||
if test -f "$cofile"; then
|
if test -f "$cofile"; then
|
||||||
mv "$cofile" "$ofile"
|
mv "$cofile" "$ofile"
|
||||||
elif test -f "${cofile}bj"; then
|
|
||||||
mv "${cofile}bj" "$ofile"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rmdir "$lockdir"
|
rmdir "$lockdir"
|
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2005-07-08'
|
timestamp='2004-08-29'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@ -21,15 +21,14 @@ timestamp='2005-07-08'
|
|||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
# Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
# 02110-1301, USA.
|
# Boston, MA 02111-1307, USA.
|
||||||
#
|
|
||||||
# As a special exception to the GNU General Public License, if you
|
# As a special exception to the GNU General Public License, if you
|
||||||
# distribute this file as part of a program that contains a
|
# distribute this file as part of a program that contains a
|
||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
|
||||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||||
# diff and a properly formatted ChangeLog entry.
|
# diff and a properly formatted ChangeLog entry.
|
||||||
#
|
#
|
||||||
@ -71,7 +70,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|||||||
version="\
|
version="\
|
||||||
GNU config.sub ($timestamp)
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||||
Free Software Foundation, Inc.
|
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
|
||||||
@ -84,11 +83,11 @@ Try \`$me --help' for more information."
|
|||||||
while test $# -gt 0 ; do
|
while test $# -gt 0 ; do
|
||||||
case $1 in
|
case $1 in
|
||||||
--time-stamp | --time* | -t )
|
--time-stamp | --time* | -t )
|
||||||
echo "$timestamp" ; exit ;;
|
echo "$timestamp" ; exit 0 ;;
|
||||||
--version | -v )
|
--version | -v )
|
||||||
echo "$version" ; exit ;;
|
echo "$version" ; exit 0 ;;
|
||||||
--help | --h* | -h )
|
--help | --h* | -h )
|
||||||
echo "$usage"; exit ;;
|
echo "$usage"; exit 0 ;;
|
||||||
-- ) # Stop option processing
|
-- ) # Stop option processing
|
||||||
shift; break ;;
|
shift; break ;;
|
||||||
- ) # Use stdin as input.
|
- ) # Use stdin as input.
|
||||||
@ -100,7 +99,7 @@ while test $# -gt 0 ; do
|
|||||||
*local*)
|
*local*)
|
||||||
# First pass through any local machine types.
|
# First pass through any local machine types.
|
||||||
echo $1
|
echo $1
|
||||||
exit ;;
|
exit 0;;
|
||||||
|
|
||||||
* )
|
* )
|
||||||
break ;;
|
break ;;
|
||||||
@ -232,14 +231,13 @@ case $basic_machine in
|
|||||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||||
| am33_2.0 \
|
| am33_2.0 \
|
||||||
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
||||||
| bfin \
|
|
||||||
| c4x | clipper \
|
| c4x | clipper \
|
||||||
| d10v | d30v | dlx | dsp16xx \
|
| d10v | d30v | dlx | dsp16xx \
|
||||||
| fr30 | frv \
|
| fr30 | frv \
|
||||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||||
| i370 | i860 | i960 | ia64 \
|
| i370 | i860 | i960 | ia64 \
|
||||||
| ip2k | iq2000 \
|
| ip2k | iq2000 \
|
||||||
| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
|
| m32r | m32rle | m68000 | m68k | m88k | mcore \
|
||||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||||
| mips16 \
|
| mips16 \
|
||||||
| mips64 | mips64el \
|
| mips64 | mips64el \
|
||||||
@ -248,7 +246,6 @@ case $basic_machine in
|
|||||||
| mips64vr4100 | mips64vr4100el \
|
| mips64vr4100 | mips64vr4100el \
|
||||||
| mips64vr4300 | mips64vr4300el \
|
| mips64vr4300 | mips64vr4300el \
|
||||||
| mips64vr5000 | mips64vr5000el \
|
| mips64vr5000 | mips64vr5000el \
|
||||||
| mips64vr5900 | mips64vr5900el \
|
|
||||||
| mipsisa32 | mipsisa32el \
|
| mipsisa32 | mipsisa32el \
|
||||||
| mipsisa32r2 | mipsisa32r2el \
|
| mipsisa32r2 | mipsisa32r2el \
|
||||||
| mipsisa64 | mipsisa64el \
|
| mipsisa64 | mipsisa64el \
|
||||||
@ -257,28 +254,23 @@ case $basic_machine in
|
|||||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||||
| mipstx39 | mipstx39el \
|
| mipstx39 | mipstx39el \
|
||||||
| mn10200 | mn10300 \
|
| mn10200 | mn10300 \
|
||||||
| ms1 \
|
|
||||||
| msp430 \
|
| msp430 \
|
||||||
| ns16k | ns32k \
|
| ns16k | ns32k \
|
||||||
| or32 \
|
| openrisc | or32 \
|
||||||
| pdp10 | pdp11 | pj | pjl \
|
| pdp10 | pdp11 | pj | pjl \
|
||||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||||
| pyramid \
|
| pyramid \
|
||||||
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
||||||
| sh64 | sh64le \
|
| sh64 | sh64le \
|
||||||
| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
|
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
|
||||||
| sparcv8 | sparcv9 | sparcv9b \
|
|
||||||
| strongarm \
|
| strongarm \
|
||||||
| tahoe | thumb | tic4x | tic80 | tron \
|
| tahoe | thumb | tic4x | tic80 | tron \
|
||||||
| v850 | v850e \
|
| v850 | v850e \
|
||||||
| we32k \
|
| we32k \
|
||||||
| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
|
| x86 | xscale | xstormy16 | xtensa \
|
||||||
| z8k)
|
| z8k)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
m32c)
|
|
||||||
basic_machine=$basic_machine-unknown
|
|
||||||
;;
|
|
||||||
m6811 | m68hc11 | m6812 | m68hc12)
|
m6811 | m68hc11 | m6812 | m68hc12)
|
||||||
# Motorola 68HC11/12.
|
# Motorola 68HC11/12.
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
@ -306,7 +298,7 @@ case $basic_machine in
|
|||||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||||
| avr-* \
|
| avr-* \
|
||||||
| bfin-* | bs2000-* \
|
| bs2000-* \
|
||||||
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
||||||
| clipper-* | craynv-* | cydra-* \
|
| clipper-* | craynv-* | cydra-* \
|
||||||
| d10v-* | d30v-* | dlx-* \
|
| d10v-* | d30v-* | dlx-* \
|
||||||
@ -318,7 +310,7 @@ case $basic_machine in
|
|||||||
| ip2k-* | iq2000-* \
|
| ip2k-* | iq2000-* \
|
||||||
| m32r-* | m32rle-* \
|
| m32r-* | m32rle-* \
|
||||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
| m88110-* | m88k-* | maxq-* | mcore-* \
|
| m88110-* | m88k-* | mcore-* \
|
||||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||||
| mips16-* \
|
| mips16-* \
|
||||||
| mips64-* | mips64el-* \
|
| mips64-* | mips64el-* \
|
||||||
@ -327,7 +319,6 @@ case $basic_machine in
|
|||||||
| mips64vr4100-* | mips64vr4100el-* \
|
| mips64vr4100-* | mips64vr4100el-* \
|
||||||
| mips64vr4300-* | mips64vr4300el-* \
|
| mips64vr4300-* | mips64vr4300el-* \
|
||||||
| mips64vr5000-* | mips64vr5000el-* \
|
| mips64vr5000-* | mips64vr5000el-* \
|
||||||
| mips64vr5900-* | mips64vr5900el-* \
|
|
||||||
| mipsisa32-* | mipsisa32el-* \
|
| mipsisa32-* | mipsisa32el-* \
|
||||||
| mipsisa32r2-* | mipsisa32r2el-* \
|
| mipsisa32r2-* | mipsisa32r2el-* \
|
||||||
| mipsisa64-* | mipsisa64el-* \
|
| mipsisa64-* | mipsisa64el-* \
|
||||||
@ -336,7 +327,6 @@ case $basic_machine in
|
|||||||
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||||
| mipstx39-* | mipstx39el-* \
|
| mipstx39-* | mipstx39el-* \
|
||||||
| mmix-* \
|
| mmix-* \
|
||||||
| ms1-* \
|
|
||||||
| msp430-* \
|
| msp430-* \
|
||||||
| none-* | np1-* | ns16k-* | ns32k-* \
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
| orion-* \
|
| orion-* \
|
||||||
@ -344,23 +334,20 @@ case $basic_machine in
|
|||||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||||
| pyramid-* \
|
| pyramid-* \
|
||||||
| romp-* | rs6000-* \
|
| romp-* | rs6000-* \
|
||||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
|
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
|
||||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||||
| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
|
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
|
||||||
| sparclite-* \
|
|
||||||
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
||||||
| tahoe-* | thumb-* \
|
| tahoe-* | thumb-* \
|
||||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||||
| tron-* \
|
| tron-* \
|
||||||
| v850-* | v850e-* | vax-* \
|
| v850-* | v850e-* | vax-* \
|
||||||
| we32k-* \
|
| we32k-* \
|
||||||
| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
|
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
|
||||||
| xstormy16-* | xtensa-* \
|
| xtensa-* \
|
||||||
| ymp-* \
|
| ymp-* \
|
||||||
| z8k-*)
|
| z8k-*)
|
||||||
;;
|
;;
|
||||||
m32c-*)
|
|
||||||
;;
|
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
386bsd)
|
386bsd)
|
||||||
@ -502,10 +489,6 @@ case $basic_machine in
|
|||||||
basic_machine=m88k-motorola
|
basic_machine=m88k-motorola
|
||||||
os=-sysv3
|
os=-sysv3
|
||||||
;;
|
;;
|
||||||
djgpp)
|
|
||||||
basic_machine=i586-pc
|
|
||||||
os=-msdosdjgpp
|
|
||||||
;;
|
|
||||||
dpx20 | dpx20-*)
|
dpx20 | dpx20-*)
|
||||||
basic_machine=rs6000-bull
|
basic_machine=rs6000-bull
|
||||||
os=-bosx
|
os=-bosx
|
||||||
@ -771,8 +754,9 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-oki
|
basic_machine=hppa1.1-oki
|
||||||
os=-proelf
|
os=-proelf
|
||||||
;;
|
;;
|
||||||
openrisc | openrisc-*)
|
or32 | or32-*)
|
||||||
basic_machine=or32-unknown
|
basic_machine=or32-unknown
|
||||||
|
os=-coff
|
||||||
;;
|
;;
|
||||||
os400)
|
os400)
|
||||||
basic_machine=powerpc-ibm
|
basic_machine=powerpc-ibm
|
||||||
@ -1045,10 +1029,6 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-winbond
|
basic_machine=hppa1.1-winbond
|
||||||
os=-proelf
|
os=-proelf
|
||||||
;;
|
;;
|
||||||
xbox)
|
|
||||||
basic_machine=i686-pc
|
|
||||||
os=-mingw32
|
|
||||||
;;
|
|
||||||
xps | xps100)
|
xps | xps100)
|
||||||
basic_machine=xps100-honeywell
|
basic_machine=xps100-honeywell
|
||||||
;;
|
;;
|
||||||
@ -1098,9 +1078,12 @@ case $basic_machine in
|
|||||||
we32k)
|
we32k)
|
||||||
basic_machine=we32k-att
|
basic_machine=we32k-att
|
||||||
;;
|
;;
|
||||||
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||||
basic_machine=sh-unknown
|
basic_machine=sh-unknown
|
||||||
;;
|
;;
|
||||||
|
sh64)
|
||||||
|
basic_machine=sh64-unknown
|
||||||
|
;;
|
||||||
sparc | sparcv8 | sparcv9 | sparcv9b)
|
sparc | sparcv8 | sparcv9 | sparcv9b)
|
||||||
basic_machine=sparc-sun
|
basic_machine=sparc-sun
|
||||||
;;
|
;;
|
||||||
@ -1187,8 +1170,7 @@ case $os in
|
|||||||
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
||||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
|
||||||
| -skyos* | -haiku*)
|
|
||||||
# Remember, each alternative MUST END IN *, to match a version number.
|
# Remember, each alternative MUST END IN *, to match a version number.
|
||||||
;;
|
;;
|
||||||
-qnx*)
|
-qnx*)
|
||||||
@ -1206,7 +1188,7 @@ case $os in
|
|||||||
os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
||||||
;;
|
;;
|
||||||
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
||||||
| -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
|
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
|
||||||
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
|
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
|
||||||
;;
|
;;
|
||||||
-mac*)
|
-mac*)
|
||||||
@ -1315,9 +1297,6 @@ case $os in
|
|||||||
-kaos*)
|
-kaos*)
|
||||||
os=-kaos
|
os=-kaos
|
||||||
;;
|
;;
|
||||||
-zvmoe)
|
|
||||||
os=-zvmoe
|
|
||||||
;;
|
|
||||||
-none)
|
-none)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -1395,9 +1374,6 @@ case $basic_machine in
|
|||||||
*-be)
|
*-be)
|
||||||
os=-beos
|
os=-beos
|
||||||
;;
|
;;
|
||||||
*-haiku)
|
|
||||||
os=-haiku
|
|
||||||
;;
|
|
||||||
*-ibm)
|
*-ibm)
|
||||||
os=-aix
|
os=-aix
|
||||||
;;
|
;;
|
||||||
@ -1569,7 +1545,7 @@ case $basic_machine in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
echo $basic_machine$os
|
echo $basic_machine$os
|
||||||
exit
|
exit 0
|
||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# depcomp - compile a program generating dependencies as side-effects
|
# depcomp - compile a program generating dependencies as side-effects
|
||||||
|
|
||||||
scriptversion=2005-07-09.11
|
scriptversion=2004-05-31.23
|
||||||
|
|
||||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
|
# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# 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
|
||||||
@ -17,8 +17,8 @@ scriptversion=2005-07-09.11
|
|||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
# 02110-1301, USA.
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# As a special exception to the GNU General Public License, if you
|
# As a special exception to the GNU General Public License, if you
|
||||||
# distribute this file as part of a program that contains a
|
# distribute this file as part of a program that contains a
|
||||||
@ -50,11 +50,11 @@ Environment variables:
|
|||||||
|
|
||||||
Report bugs to <bug-automake@gnu.org>.
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
EOF
|
EOF
|
||||||
exit $?
|
exit 0
|
||||||
;;
|
;;
|
||||||
-v | --v*)
|
-v | --v*)
|
||||||
echo "depcomp $scriptversion"
|
echo "depcomp $scriptversion"
|
||||||
exit $?
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -287,43 +287,36 @@ tru64)
|
|||||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||||
|
|
||||||
if test "$libtool" = yes; then
|
if test "$libtool" = yes; then
|
||||||
# With Tru64 cc, shared objects can also be used to make a
|
# Dependencies are output in .lo.d with libtool 1.4.
|
||||||
# static library. This mecanism is used in libtool 1.4 series to
|
# With libtool 1.5 they are output both in $dir.libs/$base.o.d
|
||||||
# handle both shared and static libraries in a single compilation.
|
# and in $dir.libs/$base.o.d and $dir$base.o.d. We process the
|
||||||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
# latter, because the former will be cleaned when $dir.libs is
|
||||||
#
|
# erased.
|
||||||
# With libtool 1.5 this exception was removed, and libtool now
|
tmpdepfile1="$dir.libs/$base.lo.d"
|
||||||
# generates 2 separate objects for the 2 libraries. These two
|
tmpdepfile2="$dir$base.o.d"
|
||||||
# compilations output dependencies in in $dir.libs/$base.o.d and
|
tmpdepfile3="$dir.libs/$base.d"
|
||||||
# in $dir$base.o.d. We have to check for both files, because
|
|
||||||
# one of the two compilations can be disabled. We should prefer
|
|
||||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
|
||||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
|
||||||
# the former would cause a distcleancheck panic.
|
|
||||||
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
|
|
||||||
tmpdepfile2=$dir$base.o.d # libtool 1.5
|
|
||||||
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
|
|
||||||
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
|
|
||||||
"$@" -Wc,-MD
|
"$@" -Wc,-MD
|
||||||
else
|
else
|
||||||
tmpdepfile1=$dir$base.o.d
|
tmpdepfile1="$dir$base.o.d"
|
||||||
tmpdepfile2=$dir$base.d
|
tmpdepfile2="$dir$base.d"
|
||||||
tmpdepfile3=$dir$base.d
|
tmpdepfile3="$dir$base.d"
|
||||||
tmpdepfile4=$dir$base.d
|
|
||||||
"$@" -MD
|
"$@" -MD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stat=$?
|
stat=$?
|
||||||
if test $stat -eq 0; then :
|
if test $stat -eq 0; then :
|
||||||
else
|
else
|
||||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
exit $stat
|
exit $stat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
if test -f "$tmpdepfile1"; then
|
||||||
do
|
tmpdepfile="$tmpdepfile1"
|
||||||
test -f "$tmpdepfile" && break
|
elif test -f "$tmpdepfile2"; then
|
||||||
done
|
tmpdepfile="$tmpdepfile2"
|
||||||
|
else
|
||||||
|
tmpdepfile="$tmpdepfile3"
|
||||||
|
fi
|
||||||
if test -f "$tmpdepfile"; then
|
if test -f "$tmpdepfile"; then
|
||||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||||
# That's a tab and a space in the [].
|
# That's a tab and a space in the [].
|
||||||
@ -467,8 +460,7 @@ cpp)
|
|||||||
done
|
done
|
||||||
|
|
||||||
"$@" -E |
|
"$@" -E |
|
||||||
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
|
||||||
sed '$ s: \\$::' > "$tmpdepfile"
|
sed '$ s: \\$::' > "$tmpdepfile"
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
echo "$object : \\" > "$depfile"
|
echo "$object : \\" > "$depfile"
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# install - install a program, script, or datafile
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
scriptversion=2005-05-14.22
|
scriptversion=2004-09-10.20
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
@ -109,7 +109,7 @@ while test -n "$1"; do
|
|||||||
shift
|
shift
|
||||||
continue;;
|
continue;;
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
--help) echo "$usage"; exit 0;;
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
-m) chmodcmd="$chmodprog $2"
|
||||||
shift
|
shift
|
||||||
@ -134,7 +134,7 @@ while test -n "$1"; do
|
|||||||
shift
|
shift
|
||||||
continue;;
|
continue;;
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
--version) echo "$0 $scriptversion"; exit 0;;
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
*) # When -d is used, all remaining arguments are directories to create.
|
||||||
# When -t is used, the destination is already specified.
|
# When -t is used, the destination is already specified.
|
||||||
@ -213,7 +213,7 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
# This sed command emulates the dirname command.
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
# Make sure that the destination directory exists.
|
||||||
|
|
||||||
@ -226,8 +226,7 @@ do
|
|||||||
oIFS=$IFS
|
oIFS=$IFS
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
# Some sh's can't handle IFS=/ for some reason.
|
||||||
IFS='%'
|
IFS='%'
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
IFS=$oIFS
|
||||||
|
|
||||||
pathcomp=
|
pathcomp=
|
||||||
@ -296,7 +295,7 @@ do
|
|||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
||||||
|| {
|
|| {
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
||||||
(exit 1); exit 1
|
(exit 1); exit
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
:
|
:
|
||||||
@ -307,12 +306,12 @@ do
|
|||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fi || { (exit 1); exit 1; }
|
fi || { (exit 1); exit; }
|
||||||
done
|
done
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
# The final little trick to "correctly" pass the exit status to the exit trap.
|
||||||
{
|
{
|
||||||
(exit 0); exit 0
|
(exit 0); exit
|
||||||
}
|
}
|
||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
581
libs/codec/g726/ltmain.sh → libs/codec/g726/build/ltmain.sh
Executable file → Normal file
581
libs/codec/g726/ltmain.sh → libs/codec/g726/build/ltmain.sh
Executable file → Normal file
@ -43,8 +43,8 @@ EXIT_FAILURE=1
|
|||||||
|
|
||||||
PROGRAM=ltmain.sh
|
PROGRAM=ltmain.sh
|
||||||
PACKAGE=libtool
|
PACKAGE=libtool
|
||||||
VERSION=1.5.20
|
VERSION=1.5.22
|
||||||
TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)"
|
TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
|
||||||
|
|
||||||
# See if we are running on zsh, and set the options which allow our
|
# See if we are running on zsh, and set the options which allow our
|
||||||
# commands through without removal of \ escapes.
|
# commands through without removal of \ escapes.
|
||||||
@ -132,6 +132,8 @@ run=
|
|||||||
show="$echo"
|
show="$echo"
|
||||||
show_help=
|
show_help=
|
||||||
execute_dlfiles=
|
execute_dlfiles=
|
||||||
|
duplicate_deps=no
|
||||||
|
preserve_args=
|
||||||
lo2o="s/\\.lo\$/.${objext}/"
|
lo2o="s/\\.lo\$/.${objext}/"
|
||||||
o2lo="s/\\.${objext}\$/.lo/"
|
o2lo="s/\\.${objext}\$/.lo/"
|
||||||
|
|
||||||
@ -139,6 +141,43 @@ o2lo="s/\\.${objext}\$/.lo/"
|
|||||||
# Shell function definitions:
|
# Shell function definitions:
|
||||||
# This seems to be the best place for them
|
# This seems to be the best place for them
|
||||||
|
|
||||||
|
# func_mktempdir [string]
|
||||||
|
# Make a temporary directory that won't clash with other running
|
||||||
|
# libtool processes, and avoids race conditions if possible. If
|
||||||
|
# given, STRING is the basename for that directory.
|
||||||
|
func_mktempdir ()
|
||||||
|
{
|
||||||
|
my_template="${TMPDIR-/tmp}/${1-$progname}"
|
||||||
|
|
||||||
|
if test "$run" = ":"; then
|
||||||
|
# Return a directory name, but don't create it in dry-run mode
|
||||||
|
my_tmpdir="${my_template}-$$"
|
||||||
|
else
|
||||||
|
|
||||||
|
# If mktemp works, use that first and foremost
|
||||||
|
my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
|
||||||
|
|
||||||
|
if test ! -d "$my_tmpdir"; then
|
||||||
|
# Failing that, at least try and use $RANDOM to avoid a race
|
||||||
|
my_tmpdir="${my_template}-${RANDOM-0}$$"
|
||||||
|
|
||||||
|
save_mktempdir_umask=`umask`
|
||||||
|
umask 0077
|
||||||
|
$mkdir "$my_tmpdir"
|
||||||
|
umask $save_mktempdir_umask
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If we're not in dry-run mode, bomb out on failure
|
||||||
|
test -d "$my_tmpdir" || {
|
||||||
|
$echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
|
||||||
|
exit $EXIT_FAILURE
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
$echo "X$my_tmpdir" | $Xsed
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# func_win32_libid arg
|
# func_win32_libid arg
|
||||||
# return the library type of file 'arg'
|
# return the library type of file 'arg'
|
||||||
#
|
#
|
||||||
@ -157,12 +196,11 @@ func_win32_libid ()
|
|||||||
if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
|
if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
|
||||||
$EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
|
$EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
|
||||||
win32_nmres=`eval $NM -f posix -A $1 | \
|
win32_nmres=`eval $NM -f posix -A $1 | \
|
||||||
sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
|
$SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
|
||||||
if test "X$win32_nmres" = "Ximport" ; then
|
case $win32_nmres in
|
||||||
win32_libid_type="x86 archive import"
|
import*) win32_libid_type="x86 archive import";;
|
||||||
else
|
*) win32_libid_type="x86 archive static";;
|
||||||
win32_libid_type="x86 archive static"
|
esac
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*DLL*)
|
*DLL*)
|
||||||
@ -295,9 +333,9 @@ func_extract_archives ()
|
|||||||
$run ${rm}r "$my_xdir"
|
$run ${rm}r "$my_xdir"
|
||||||
$show "$mkdir $my_xdir"
|
$show "$mkdir $my_xdir"
|
||||||
$run $mkdir "$my_xdir"
|
$run $mkdir "$my_xdir"
|
||||||
status=$?
|
exit_status=$?
|
||||||
if test "$status" -ne 0 && test ! -d "$my_xdir"; then
|
if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
|
||||||
exit $status
|
exit $exit_status
|
||||||
fi
|
fi
|
||||||
case $host in
|
case $host in
|
||||||
*-darwin*)
|
*-darwin*)
|
||||||
@ -352,6 +390,8 @@ func_extract_archives ()
|
|||||||
# Darwin sucks
|
# Darwin sucks
|
||||||
eval std_shrext=\"$shrext_cmds\"
|
eval std_shrext=\"$shrext_cmds\"
|
||||||
|
|
||||||
|
disable_libs=no
|
||||||
|
|
||||||
# Parse our command line options once, thoroughly.
|
# Parse our command line options once, thoroughly.
|
||||||
while test "$#" -gt 0
|
while test "$#" -gt 0
|
||||||
do
|
do
|
||||||
@ -468,7 +508,11 @@ do
|
|||||||
preserve_args="$preserve_args $arg"
|
preserve_args="$preserve_args $arg"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--tag) prevopt="--tag" prev=tag ;;
|
--tag)
|
||||||
|
prevopt="--tag"
|
||||||
|
prev=tag
|
||||||
|
preserve_args="$preserve_args --tag"
|
||||||
|
;;
|
||||||
--tag=*)
|
--tag=*)
|
||||||
set tag "$optarg" ${1+"$@"}
|
set tag "$optarg" ${1+"$@"}
|
||||||
shift
|
shift
|
||||||
@ -500,6 +544,18 @@ if test -n "$prevopt"; then
|
|||||||
exit $EXIT_FAILURE
|
exit $EXIT_FAILURE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case $disable_libs in
|
||||||
|
no)
|
||||||
|
;;
|
||||||
|
shared)
|
||||||
|
build_libtool_libs=no
|
||||||
|
build_old_libs=yes
|
||||||
|
;;
|
||||||
|
static)
|
||||||
|
build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# If this variable is set in any of the actions, the command in it
|
# If this variable is set in any of the actions, the command in it
|
||||||
# will be execed at the end. This prevents here-documents from being
|
# will be execed at the end. This prevents here-documents from being
|
||||||
# left over by shells.
|
# left over by shells.
|
||||||
@ -856,9 +912,9 @@ EOF
|
|||||||
if test ! -d "${xdir}$objdir"; then
|
if test ! -d "${xdir}$objdir"; then
|
||||||
$show "$mkdir ${xdir}$objdir"
|
$show "$mkdir ${xdir}$objdir"
|
||||||
$run $mkdir ${xdir}$objdir
|
$run $mkdir ${xdir}$objdir
|
||||||
status=$?
|
exit_status=$?
|
||||||
if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
|
if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
|
||||||
exit $status
|
exit $exit_status
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1061,6 +1117,7 @@ EOF
|
|||||||
no_install=no
|
no_install=no
|
||||||
objs=
|
objs=
|
||||||
non_pic_objects=
|
non_pic_objects=
|
||||||
|
notinst_path= # paths that contain not-installed libtool libraries
|
||||||
precious_files_regex=
|
precious_files_regex=
|
||||||
prefer_static_libs=no
|
prefer_static_libs=no
|
||||||
preload=no
|
preload=no
|
||||||
@ -1089,14 +1146,15 @@ EOF
|
|||||||
if test -n "$link_static_flag"; then
|
if test -n "$link_static_flag"; then
|
||||||
dlopen_self=$dlopen_self_static
|
dlopen_self=$dlopen_self_static
|
||||||
fi
|
fi
|
||||||
|
prefer_static_libs=yes
|
||||||
else
|
else
|
||||||
if test -z "$pic_flag" && test -n "$link_static_flag"; then
|
if test -z "$pic_flag" && test -n "$link_static_flag"; then
|
||||||
dlopen_self=$dlopen_self_static
|
dlopen_self=$dlopen_self_static
|
||||||
fi
|
fi
|
||||||
|
prefer_static_libs=built
|
||||||
fi
|
fi
|
||||||
build_libtool_libs=no
|
build_libtool_libs=no
|
||||||
build_old_libs=yes
|
build_old_libs=yes
|
||||||
prefer_static_libs=yes
|
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -1271,6 +1329,11 @@ EOF
|
|||||||
if test -z "$pic_object" || test "$pic_object" = none ; then
|
if test -z "$pic_object" || test "$pic_object" = none ; then
|
||||||
arg="$non_pic_object"
|
arg="$non_pic_object"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
# If the PIC object exists, use it instead.
|
||||||
|
# $xdir was prepended to $pic_object above.
|
||||||
|
non_pic_object="$pic_object"
|
||||||
|
non_pic_objects="$non_pic_objects $non_pic_object"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Only an error if not doing a dry-run.
|
# Only an error if not doing a dry-run.
|
||||||
@ -1354,8 +1417,8 @@ EOF
|
|||||||
prev=
|
prev=
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
darwin_framework)
|
darwin_framework|darwin_framework_skip)
|
||||||
compiler_flags="$compiler_flags $arg"
|
test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
|
||||||
compile_command="$compile_command $arg"
|
compile_command="$compile_command $arg"
|
||||||
finalize_command="$finalize_command $arg"
|
finalize_command="$finalize_command $arg"
|
||||||
prev=
|
prev=
|
||||||
@ -1419,13 +1482,17 @@ EOF
|
|||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-framework|-arch)
|
-framework|-arch|-isysroot)
|
||||||
prev=darwin_framework
|
case " $CC " in
|
||||||
compiler_flags="$compiler_flags $arg"
|
*" ${arg} ${1} "* | *" ${arg} ${1} "*)
|
||||||
|
prev=darwin_framework_skip ;;
|
||||||
|
*) compiler_flags="$compiler_flags $arg"
|
||||||
|
prev=darwin_framework ;;
|
||||||
|
esac
|
||||||
compile_command="$compile_command $arg"
|
compile_command="$compile_command $arg"
|
||||||
finalize_command="$finalize_command $arg"
|
finalize_command="$finalize_command $arg"
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-inst-prefix-dir)
|
-inst-prefix-dir)
|
||||||
prev=inst_prefix
|
prev=inst_prefix
|
||||||
@ -1453,7 +1520,8 @@ EOF
|
|||||||
absdir=`cd "$dir" && pwd`
|
absdir=`cd "$dir" && pwd`
|
||||||
if test -z "$absdir"; then
|
if test -z "$absdir"; then
|
||||||
$echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
|
$echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
|
||||||
exit $EXIT_FAILURE
|
absdir="$dir"
|
||||||
|
notinst_path="$notinst_path $dir"
|
||||||
fi
|
fi
|
||||||
dir="$absdir"
|
dir="$absdir"
|
||||||
;;
|
;;
|
||||||
@ -1467,10 +1535,15 @@ EOF
|
|||||||
esac
|
esac
|
||||||
case $host in
|
case $host in
|
||||||
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
|
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
|
||||||
|
testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
|
||||||
case :$dllsearchpath: in
|
case :$dllsearchpath: in
|
||||||
*":$dir:"*) ;;
|
*":$dir:"*) ;;
|
||||||
*) dllsearchpath="$dllsearchpath:$dir";;
|
*) dllsearchpath="$dllsearchpath:$dir";;
|
||||||
esac
|
esac
|
||||||
|
case :$dllsearchpath: in
|
||||||
|
*":$testbindir:"*) ;;
|
||||||
|
*) dllsearchpath="$dllsearchpath:$testbindir";;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
continue
|
continue
|
||||||
@ -1479,11 +1552,11 @@ EOF
|
|||||||
-l*)
|
-l*)
|
||||||
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
|
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
|
||||||
case $host in
|
case $host in
|
||||||
*-*-cygwin* | *-*-pw32* | *-*-beos*)
|
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
|
||||||
# These systems don't actually have a C or math library (as such)
|
# These systems don't actually have a C or math library (as such)
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
*-*-mingw* | *-*-os2*)
|
*-*-os2*)
|
||||||
# These systems don't actually have a C library (as such)
|
# These systems don't actually have a C library (as such)
|
||||||
test "X$arg" = "X-lc" && continue
|
test "X$arg" = "X-lc" && continue
|
||||||
;;
|
;;
|
||||||
@ -1495,6 +1568,15 @@ EOF
|
|||||||
# Rhapsody C and math libraries are in the System framework
|
# Rhapsody C and math libraries are in the System framework
|
||||||
deplibs="$deplibs -framework System"
|
deplibs="$deplibs -framework System"
|
||||||
continue
|
continue
|
||||||
|
;;
|
||||||
|
*-*-sco3.2v5* | *-*-sco5v6*)
|
||||||
|
# Causes problems with __ctype
|
||||||
|
test "X$arg" = "X-lc" && continue
|
||||||
|
;;
|
||||||
|
*-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
|
||||||
|
# Compiler inserts libc in the correct place for threads to work
|
||||||
|
test "X$arg" = "X-lc" && continue
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
elif test "X$arg" = "X-lc_r"; then
|
elif test "X$arg" = "X-lc_r"; then
|
||||||
case $host in
|
case $host in
|
||||||
@ -1536,7 +1618,12 @@ EOF
|
|||||||
# +DA*, +DD* enable 64-bit mode on the HP compiler
|
# +DA*, +DD* enable 64-bit mode on the HP compiler
|
||||||
# -q* pass through compiler args for the IBM compiler
|
# -q* pass through compiler args for the IBM compiler
|
||||||
# -m* pass through architecture-specific compiler args for GCC
|
# -m* pass through architecture-specific compiler args for GCC
|
||||||
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
|
# -m*, -t[45]*, -txscale* pass through architecture-specific
|
||||||
|
# compiler args for GCC
|
||||||
|
# -pg pass through profiling flag for GCC
|
||||||
|
# @file GCC response files
|
||||||
|
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
|
||||||
|
-t[45]*|-txscale*|@*)
|
||||||
|
|
||||||
# Unknown arguments in both finalize_command and compile_command need
|
# Unknown arguments in both finalize_command and compile_command need
|
||||||
# to be aesthetically quoted because they are evaled later.
|
# to be aesthetically quoted because they are evaled later.
|
||||||
@ -1548,9 +1635,7 @@ EOF
|
|||||||
esac
|
esac
|
||||||
compile_command="$compile_command $arg"
|
compile_command="$compile_command $arg"
|
||||||
finalize_command="$finalize_command $arg"
|
finalize_command="$finalize_command $arg"
|
||||||
if test "$with_gcc" = "yes" ; then
|
compiler_flags="$compiler_flags $arg"
|
||||||
compiler_flags="$compiler_flags $arg"
|
|
||||||
fi
|
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -1788,6 +1873,11 @@ EOF
|
|||||||
if test -z "$pic_object" || test "$pic_object" = none ; then
|
if test -z "$pic_object" || test "$pic_object" = none ; then
|
||||||
arg="$non_pic_object"
|
arg="$non_pic_object"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
# If the PIC object exists, use it instead.
|
||||||
|
# $xdir was prepended to $pic_object above.
|
||||||
|
non_pic_object="$pic_object"
|
||||||
|
non_pic_objects="$non_pic_objects $non_pic_object"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Only an error if not doing a dry-run.
|
# Only an error if not doing a dry-run.
|
||||||
@ -1893,9 +1983,9 @@ EOF
|
|||||||
if test ! -d "$output_objdir"; then
|
if test ! -d "$output_objdir"; then
|
||||||
$show "$mkdir $output_objdir"
|
$show "$mkdir $output_objdir"
|
||||||
$run $mkdir $output_objdir
|
$run $mkdir $output_objdir
|
||||||
status=$?
|
exit_status=$?
|
||||||
if test "$status" -ne 0 && test ! -d "$output_objdir"; then
|
if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
|
||||||
exit $status
|
exit $exit_status
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1958,7 +2048,6 @@ EOF
|
|||||||
newlib_search_path=
|
newlib_search_path=
|
||||||
need_relink=no # whether we're linking any uninstalled libtool libraries
|
need_relink=no # whether we're linking any uninstalled libtool libraries
|
||||||
notinst_deplibs= # not-installed libtool libraries
|
notinst_deplibs= # not-installed libtool libraries
|
||||||
notinst_path= # paths that contain not-installed libtool libraries
|
|
||||||
case $linkmode in
|
case $linkmode in
|
||||||
lib)
|
lib)
|
||||||
passes="conv link"
|
passes="conv link"
|
||||||
@ -2194,7 +2283,7 @@ EOF
|
|||||||
esac # case $deplib
|
esac # case $deplib
|
||||||
if test "$found" = yes || test -f "$lib"; then :
|
if test "$found" = yes || test -f "$lib"; then :
|
||||||
else
|
else
|
||||||
$echo "$modename: cannot find the library \`$lib'" 1>&2
|
$echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
|
||||||
exit $EXIT_FAILURE
|
exit $EXIT_FAILURE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -2445,8 +2534,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
link_static=no # Whether the deplib will be linked statically
|
link_static=no # Whether the deplib will be linked statically
|
||||||
|
use_static_libs=$prefer_static_libs
|
||||||
|
if test "$use_static_libs" = built && test "$installed" = yes ; then
|
||||||
|
use_static_libs=no
|
||||||
|
fi
|
||||||
if test -n "$library_names" &&
|
if test -n "$library_names" &&
|
||||||
{ test "$prefer_static_libs" = no || test -z "$old_library"; }; then
|
{ test "$use_static_libs" = no || test -z "$old_library"; }; then
|
||||||
if test "$installed" = no; then
|
if test "$installed" = no; then
|
||||||
notinst_deplibs="$notinst_deplibs $lib"
|
notinst_deplibs="$notinst_deplibs $lib"
|
||||||
need_relink=yes
|
need_relink=yes
|
||||||
@ -2559,11 +2652,15 @@ EOF
|
|||||||
if test "$hardcode_direct" = no; then
|
if test "$hardcode_direct" = no; then
|
||||||
add="$dir/$linklib"
|
add="$dir/$linklib"
|
||||||
case $host in
|
case $host in
|
||||||
*-*-sco3.2v5* ) add_dir="-L$dir" ;;
|
*-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
|
||||||
|
*-*-sysv4*uw2*) add_dir="-L$dir" ;;
|
||||||
|
*-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
|
||||||
|
*-*-unixware7*) add_dir="-L$dir" ;;
|
||||||
*-*-darwin* )
|
*-*-darwin* )
|
||||||
# if the lib is a module then we can not link against
|
# if the lib is a module then we can not link against
|
||||||
# it, someone is ignoring the new warnings I added
|
# it, someone is ignoring the new warnings I added
|
||||||
if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
|
if /usr/bin/file -L $add 2> /dev/null |
|
||||||
|
$EGREP ": [^:]* bundle" >/dev/null ; then
|
||||||
$echo "** Warning, lib $linklib is a module, not a shared library"
|
$echo "** Warning, lib $linklib is a module, not a shared library"
|
||||||
if test -z "$old_library" ; then
|
if test -z "$old_library" ; then
|
||||||
$echo
|
$echo
|
||||||
@ -3314,9 +3411,9 @@ EOF
|
|||||||
|
|
||||||
# Eliminate all temporary directories.
|
# Eliminate all temporary directories.
|
||||||
for path in $notinst_path; do
|
for path in $notinst_path; do
|
||||||
lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
|
lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
|
||||||
deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
|
deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
|
||||||
dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
|
dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
|
||||||
done
|
done
|
||||||
|
|
||||||
if test -n "$xrpath"; then
|
if test -n "$xrpath"; then
|
||||||
@ -3369,7 +3466,12 @@ EOF
|
|||||||
;;
|
;;
|
||||||
*-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
*-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
||||||
# Do not include libc due to us having libc/libc_r.
|
# Do not include libc due to us having libc/libc_r.
|
||||||
test "X$arg" = "X-lc" && continue
|
;;
|
||||||
|
*-*-sco3.2v5* | *-*-sco5v6*)
|
||||||
|
# Causes problems with __ctype
|
||||||
|
;;
|
||||||
|
*-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
|
||||||
|
# Compiler inserts libc in the correct place for threads to work
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Add libc to deplibs on all other systems if necessary.
|
# Add libc to deplibs on all other systems if necessary.
|
||||||
@ -3413,7 +3515,7 @@ EOF
|
|||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
EOF
|
EOF
|
||||||
$rm conftest
|
$rm conftest
|
||||||
$LTCC -o conftest conftest.c $deplibs
|
$LTCC $LTCFLAGS -o conftest conftest.c $deplibs
|
||||||
if test "$?" -eq 0 ; then
|
if test "$?" -eq 0 ; then
|
||||||
ldd_output=`ldd conftest`
|
ldd_output=`ldd conftest`
|
||||||
for i in $deplibs; do
|
for i in $deplibs; do
|
||||||
@ -3458,7 +3560,7 @@ EOF
|
|||||||
# If $name is empty we are operating on a -L argument.
|
# If $name is empty we are operating on a -L argument.
|
||||||
if test "$name" != "" && test "$name" != "0"; then
|
if test "$name" != "" && test "$name" != "0"; then
|
||||||
$rm conftest
|
$rm conftest
|
||||||
$LTCC -o conftest conftest.c $i
|
$LTCC $LTCFLAGS -o conftest conftest.c $i
|
||||||
# Did it work?
|
# Did it work?
|
||||||
if test "$?" -eq 0 ; then
|
if test "$?" -eq 0 ; then
|
||||||
ldd_output=`ldd conftest`
|
ldd_output=`ldd conftest`
|
||||||
@ -3705,6 +3807,35 @@ EOF
|
|||||||
deplibs=$newdeplibs
|
deplibs=$newdeplibs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# move library search paths that coincide with paths to not yet
|
||||||
|
# installed libraries to the beginning of the library search list
|
||||||
|
new_libs=
|
||||||
|
for path in $notinst_path; do
|
||||||
|
case " $new_libs " in
|
||||||
|
*" -L$path/$objdir "*) ;;
|
||||||
|
*)
|
||||||
|
case " $deplibs " in
|
||||||
|
*" -L$path/$objdir "*)
|
||||||
|
new_libs="$new_libs -L$path/$objdir" ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
for deplib in $deplibs; do
|
||||||
|
case $deplib in
|
||||||
|
-L*)
|
||||||
|
case " $new_libs " in
|
||||||
|
*" $deplib "*) ;;
|
||||||
|
*) new_libs="$new_libs $deplib" ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
*) new_libs="$new_libs $deplib" ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
deplibs="$new_libs"
|
||||||
|
|
||||||
|
|
||||||
# All the library-specific variables (install_libdir is set above).
|
# All the library-specific variables (install_libdir is set above).
|
||||||
library_names=
|
library_names=
|
||||||
old_library=
|
old_library=
|
||||||
@ -3788,6 +3919,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
lib="$output_objdir/$realname"
|
lib="$output_objdir/$realname"
|
||||||
|
linknames=
|
||||||
for link
|
for link
|
||||||
do
|
do
|
||||||
linknames="$linknames $link"
|
linknames="$linknames $link"
|
||||||
@ -4219,6 +4351,35 @@ EOF
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
# move library search paths that coincide with paths to not yet
|
||||||
|
# installed libraries to the beginning of the library search list
|
||||||
|
new_libs=
|
||||||
|
for path in $notinst_path; do
|
||||||
|
case " $new_libs " in
|
||||||
|
*" -L$path/$objdir "*) ;;
|
||||||
|
*)
|
||||||
|
case " $compile_deplibs " in
|
||||||
|
*" -L$path/$objdir "*)
|
||||||
|
new_libs="$new_libs -L$path/$objdir" ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
for deplib in $compile_deplibs; do
|
||||||
|
case $deplib in
|
||||||
|
-L*)
|
||||||
|
case " $new_libs " in
|
||||||
|
*" $deplib "*) ;;
|
||||||
|
*) new_libs="$new_libs $deplib" ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
*) new_libs="$new_libs $deplib" ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
compile_deplibs="$new_libs"
|
||||||
|
|
||||||
|
|
||||||
compile_command="$compile_command $compile_deplibs"
|
compile_command="$compile_command $compile_deplibs"
|
||||||
finalize_command="$finalize_command $finalize_deplibs"
|
finalize_command="$finalize_command $finalize_deplibs"
|
||||||
|
|
||||||
@ -4263,10 +4424,15 @@ EOF
|
|||||||
fi
|
fi
|
||||||
case $host in
|
case $host in
|
||||||
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
|
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
|
||||||
|
testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
|
||||||
case :$dllsearchpath: in
|
case :$dllsearchpath: in
|
||||||
*":$libdir:"*) ;;
|
*":$libdir:"*) ;;
|
||||||
*) dllsearchpath="$dllsearchpath:$libdir";;
|
*) dllsearchpath="$dllsearchpath:$libdir";;
|
||||||
esac
|
esac
|
||||||
|
case :$dllsearchpath: in
|
||||||
|
*":$testbindir:"*) ;;
|
||||||
|
*) dllsearchpath="$dllsearchpath:$testbindir";;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -4383,10 +4549,22 @@ extern \"C\" {
|
|||||||
export_symbols="$output_objdir/$outputname.exp"
|
export_symbols="$output_objdir/$outputname.exp"
|
||||||
$run $rm $export_symbols
|
$run $rm $export_symbols
|
||||||
$run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
|
$run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
|
||||||
|
case $host in
|
||||||
|
*cygwin* | *mingw* )
|
||||||
|
$run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
|
||||||
|
$run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
else
|
else
|
||||||
$run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
|
$run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
|
||||||
$run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
|
$run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
|
||||||
$run eval 'mv "$nlist"T "$nlist"'
|
$run eval 'mv "$nlist"T "$nlist"'
|
||||||
|
case $host in
|
||||||
|
*cygwin* | *mingw* )
|
||||||
|
$run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
|
||||||
|
$run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -4503,16 +4681,29 @@ static const void *lt_preloaded_setup() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Now compile the dynamic symbol file.
|
# Now compile the dynamic symbol file.
|
||||||
$show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
|
$show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
|
||||||
$run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
|
$run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
|
||||||
|
|
||||||
# Clean up the generated files.
|
# Clean up the generated files.
|
||||||
$show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
|
$show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
|
||||||
$run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
|
$run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
|
||||||
|
|
||||||
# Transform the symbol file into the correct name.
|
# Transform the symbol file into the correct name.
|
||||||
compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
|
case $host in
|
||||||
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
|
*cygwin* | *mingw* )
|
||||||
|
if test -f "$output_objdir/${outputname}.def" ; then
|
||||||
|
compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
|
||||||
|
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
|
||||||
|
else
|
||||||
|
compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
|
||||||
|
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
|
||||||
|
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
$echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
|
$echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
|
||||||
@ -4537,7 +4728,7 @@ static const void *lt_preloaded_setup() {
|
|||||||
# We have no uninstalled library dependencies, so finalize right now.
|
# We have no uninstalled library dependencies, so finalize right now.
|
||||||
$show "$link_command"
|
$show "$link_command"
|
||||||
$run eval "$link_command"
|
$run eval "$link_command"
|
||||||
status=$?
|
exit_status=$?
|
||||||
|
|
||||||
# Delete the generated files.
|
# Delete the generated files.
|
||||||
if test -n "$dlsyms"; then
|
if test -n "$dlsyms"; then
|
||||||
@ -4545,7 +4736,7 @@ static const void *lt_preloaded_setup() {
|
|||||||
$run $rm "$output_objdir/${outputname}S.${objext}"
|
$run $rm "$output_objdir/${outputname}S.${objext}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $status
|
exit $exit_status
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$shlibpath_var"; then
|
if test -n "$shlibpath_var"; then
|
||||||
@ -4685,10 +4876,12 @@ static const void *lt_preloaded_setup() {
|
|||||||
esac
|
esac
|
||||||
case $host in
|
case $host in
|
||||||
*cygwin* | *mingw* )
|
*cygwin* | *mingw* )
|
||||||
cwrappersource=`$echo ${objdir}/lt-${outputname}.c`
|
output_name=`basename $output`
|
||||||
cwrapper=`$echo ${output}.exe`
|
output_path=`dirname $output`
|
||||||
$rm $cwrappersource $cwrapper
|
cwrappersource="$output_path/$objdir/lt-$output_name.c"
|
||||||
trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
|
cwrapper="$output_path/$output_name.exe"
|
||||||
|
$rm $cwrappersource $cwrapper
|
||||||
|
trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
|
||||||
|
|
||||||
cat > $cwrappersource <<EOF
|
cat > $cwrappersource <<EOF
|
||||||
|
|
||||||
@ -4713,6 +4906,9 @@ EOF
|
|||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#if defined(PATH_MAX)
|
#if defined(PATH_MAX)
|
||||||
# define LT_PATHMAX PATH_MAX
|
# define LT_PATHMAX PATH_MAX
|
||||||
@ -4723,15 +4919,19 @@ EOF
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DIR_SEPARATOR
|
#ifndef DIR_SEPARATOR
|
||||||
#define DIR_SEPARATOR '/'
|
# define DIR_SEPARATOR '/'
|
||||||
|
# define PATH_SEPARATOR ':'
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
|
#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
|
||||||
defined (__OS2__)
|
defined (__OS2__)
|
||||||
#define HAVE_DOS_BASED_FILE_SYSTEM
|
# define HAVE_DOS_BASED_FILE_SYSTEM
|
||||||
#ifndef DIR_SEPARATOR_2
|
# ifndef DIR_SEPARATOR_2
|
||||||
#define DIR_SEPARATOR_2 '\\'
|
# define DIR_SEPARATOR_2 '\\'
|
||||||
#endif
|
# endif
|
||||||
|
# ifndef PATH_SEPARATOR_2
|
||||||
|
# define PATH_SEPARATOR_2 ';'
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DIR_SEPARATOR_2
|
#ifndef DIR_SEPARATOR_2
|
||||||
@ -4741,17 +4941,32 @@ EOF
|
|||||||
(((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
|
(((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
|
||||||
#endif /* DIR_SEPARATOR_2 */
|
#endif /* DIR_SEPARATOR_2 */
|
||||||
|
|
||||||
|
#ifndef PATH_SEPARATOR_2
|
||||||
|
# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
|
||||||
|
#else /* PATH_SEPARATOR_2 */
|
||||||
|
# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
|
||||||
|
#endif /* PATH_SEPARATOR_2 */
|
||||||
|
|
||||||
#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
|
#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
|
||||||
#define XFREE(stale) do { \
|
#define XFREE(stale) do { \
|
||||||
if (stale) { free ((void *) stale); stale = 0; } \
|
if (stale) { free ((void *) stale); stale = 0; } \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
/* -DDEBUG is fairly common in CFLAGS. */
|
||||||
|
#undef DEBUG
|
||||||
|
#if defined DEBUGWRAPPER
|
||||||
|
# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
|
||||||
|
#else
|
||||||
|
# define DEBUG(format, ...)
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *program_name = NULL;
|
const char *program_name = NULL;
|
||||||
|
|
||||||
void * xmalloc (size_t num);
|
void * xmalloc (size_t num);
|
||||||
char * xstrdup (const char *string);
|
char * xstrdup (const char *string);
|
||||||
char * basename (const char *name);
|
const char * base_name (const char *name);
|
||||||
char * fnqualify(const char *path);
|
char * find_executable(const char *wrapper);
|
||||||
|
int check_executable(const char *path);
|
||||||
char * strendzap(char *str, const char *pat);
|
char * strendzap(char *str, const char *pat);
|
||||||
void lt_fatal (const char *message, ...);
|
void lt_fatal (const char *message, ...);
|
||||||
|
|
||||||
@ -4761,29 +4976,50 @@ main (int argc, char *argv[])
|
|||||||
char **newargz;
|
char **newargz;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
program_name = (char *) xstrdup ((char *) basename (argv[0]));
|
program_name = (char *) xstrdup (base_name (argv[0]));
|
||||||
|
DEBUG("(main) argv[0] : %s\n",argv[0]);
|
||||||
|
DEBUG("(main) program_name : %s\n",program_name);
|
||||||
newargz = XMALLOC(char *, argc+2);
|
newargz = XMALLOC(char *, argc+2);
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> $cwrappersource <<EOF
|
cat >> $cwrappersource <<EOF
|
||||||
newargz[0] = "$SHELL";
|
newargz[0] = (char *) xstrdup("$SHELL");
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> $cwrappersource <<"EOF"
|
cat >> $cwrappersource <<"EOF"
|
||||||
newargz[1] = fnqualify(argv[0]);
|
newargz[1] = find_executable(argv[0]);
|
||||||
|
if (newargz[1] == NULL)
|
||||||
|
lt_fatal("Couldn't find %s", argv[0]);
|
||||||
|
DEBUG("(main) found exe at : %s\n",newargz[1]);
|
||||||
/* we know the script has the same name, without the .exe */
|
/* we know the script has the same name, without the .exe */
|
||||||
/* so make sure newargz[1] doesn't end in .exe */
|
/* so make sure newargz[1] doesn't end in .exe */
|
||||||
strendzap(newargz[1],".exe");
|
strendzap(newargz[1],".exe");
|
||||||
for (i = 1; i < argc; i++)
|
for (i = 1; i < argc; i++)
|
||||||
newargz[i+1] = xstrdup(argv[i]);
|
newargz[i+1] = xstrdup(argv[i]);
|
||||||
newargz[argc+1] = NULL;
|
newargz[argc+1] = NULL;
|
||||||
|
|
||||||
|
for (i=0; i<argc+1; i++)
|
||||||
|
{
|
||||||
|
DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> $cwrappersource <<EOF
|
case $host_os in
|
||||||
|
mingw*)
|
||||||
|
cat >> $cwrappersource <<EOF
|
||||||
|
execv("$SHELL",(char const **)newargz);
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
cat >> $cwrappersource <<EOF
|
||||||
execv("$SHELL",newargz);
|
execv("$SHELL",newargz);
|
||||||
EOF
|
EOF
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
cat >> $cwrappersource <<"EOF"
|
cat >> $cwrappersource <<"EOF"
|
||||||
return 127;
|
return 127;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4804,48 +5040,148 @@ xstrdup (const char *string)
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
const char *
|
||||||
basename (const char *name)
|
base_name (const char *name)
|
||||||
{
|
{
|
||||||
const char *base;
|
const char *base;
|
||||||
|
|
||||||
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
|
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
|
||||||
/* Skip over the disk name in MSDOS pathnames. */
|
/* Skip over the disk name in MSDOS pathnames. */
|
||||||
if (isalpha (name[0]) && name[1] == ':')
|
if (isalpha ((unsigned char)name[0]) && name[1] == ':')
|
||||||
name += 2;
|
name += 2;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (base = name; *name; name++)
|
for (base = name; *name; name++)
|
||||||
if (IS_DIR_SEPARATOR (*name))
|
if (IS_DIR_SEPARATOR (*name))
|
||||||
base = name + 1;
|
base = name + 1;
|
||||||
return (char *) base;
|
return base;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
int
|
||||||
fnqualify(const char *path)
|
check_executable(const char * path)
|
||||||
{
|
{
|
||||||
size_t size;
|
struct stat st;
|
||||||
char *p;
|
|
||||||
char tmp[LT_PATHMAX + 1];
|
|
||||||
|
|
||||||
assert(path != NULL);
|
DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
|
||||||
|
if ((!path) || (!*path))
|
||||||
|
return 0;
|
||||||
|
|
||||||
/* Is it qualified already? */
|
if ((stat (path, &st) >= 0) &&
|
||||||
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
|
(
|
||||||
if (isalpha (path[0]) && path[1] == ':')
|
/* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
|
||||||
return xstrdup (path);
|
#if defined (S_IXOTH)
|
||||||
|
((st.st_mode & S_IXOTH) == S_IXOTH) ||
|
||||||
#endif
|
#endif
|
||||||
if (IS_DIR_SEPARATOR (path[0]))
|
#if defined (S_IXGRP)
|
||||||
return xstrdup (path);
|
((st.st_mode & S_IXGRP) == S_IXGRP) ||
|
||||||
|
#endif
|
||||||
|
((st.st_mode & S_IXUSR) == S_IXUSR))
|
||||||
|
)
|
||||||
|
return 1;
|
||||||
|
else
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* prepend the current directory */
|
/* Searches for the full path of the wrapper. Returns
|
||||||
/* doesn't handle '~' */
|
newly allocated full path name if found, NULL otherwise */
|
||||||
|
char *
|
||||||
|
find_executable (const char* wrapper)
|
||||||
|
{
|
||||||
|
int has_slash = 0;
|
||||||
|
const char* p;
|
||||||
|
const char* p_next;
|
||||||
|
/* static buffer for getcwd */
|
||||||
|
char tmp[LT_PATHMAX + 1];
|
||||||
|
int tmp_len;
|
||||||
|
char* concat_name;
|
||||||
|
|
||||||
|
DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
|
||||||
|
|
||||||
|
if ((wrapper == NULL) || (*wrapper == '\0'))
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
/* Absolute path? */
|
||||||
|
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
|
||||||
|
if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
|
||||||
|
{
|
||||||
|
concat_name = xstrdup (wrapper);
|
||||||
|
if (check_executable(concat_name))
|
||||||
|
return concat_name;
|
||||||
|
XFREE(concat_name);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
if (IS_DIR_SEPARATOR (wrapper[0]))
|
||||||
|
{
|
||||||
|
concat_name = xstrdup (wrapper);
|
||||||
|
if (check_executable(concat_name))
|
||||||
|
return concat_name;
|
||||||
|
XFREE(concat_name);
|
||||||
|
}
|
||||||
|
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
for (p = wrapper; *p; p++)
|
||||||
|
if (*p == '/')
|
||||||
|
{
|
||||||
|
has_slash = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (!has_slash)
|
||||||
|
{
|
||||||
|
/* no slashes; search PATH */
|
||||||
|
const char* path = getenv ("PATH");
|
||||||
|
if (path != NULL)
|
||||||
|
{
|
||||||
|
for (p = path; *p; p = p_next)
|
||||||
|
{
|
||||||
|
const char* q;
|
||||||
|
size_t p_len;
|
||||||
|
for (q = p; *q; q++)
|
||||||
|
if (IS_PATH_SEPARATOR(*q))
|
||||||
|
break;
|
||||||
|
p_len = q - p;
|
||||||
|
p_next = (*q == '\0' ? q : q + 1);
|
||||||
|
if (p_len == 0)
|
||||||
|
{
|
||||||
|
/* empty path: current directory */
|
||||||
|
if (getcwd (tmp, LT_PATHMAX) == NULL)
|
||||||
|
lt_fatal ("getcwd failed");
|
||||||
|
tmp_len = strlen(tmp);
|
||||||
|
concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
|
||||||
|
memcpy (concat_name, tmp, tmp_len);
|
||||||
|
concat_name[tmp_len] = '/';
|
||||||
|
strcpy (concat_name + tmp_len + 1, wrapper);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
|
||||||
|
memcpy (concat_name, p, p_len);
|
||||||
|
concat_name[p_len] = '/';
|
||||||
|
strcpy (concat_name + p_len + 1, wrapper);
|
||||||
|
}
|
||||||
|
if (check_executable(concat_name))
|
||||||
|
return concat_name;
|
||||||
|
XFREE(concat_name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* not found in PATH; assume curdir */
|
||||||
|
}
|
||||||
|
/* Relative path | not found in path: prepend cwd */
|
||||||
if (getcwd (tmp, LT_PATHMAX) == NULL)
|
if (getcwd (tmp, LT_PATHMAX) == NULL)
|
||||||
lt_fatal ("getcwd failed");
|
lt_fatal ("getcwd failed");
|
||||||
size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
|
tmp_len = strlen(tmp);
|
||||||
p = XMALLOC(char, size);
|
concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
|
||||||
sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
|
memcpy (concat_name, tmp, tmp_len);
|
||||||
return p;
|
concat_name[tmp_len] = '/';
|
||||||
|
strcpy (concat_name + tmp_len + 1, wrapper);
|
||||||
|
|
||||||
|
if (check_executable(concat_name))
|
||||||
|
return concat_name;
|
||||||
|
XFREE(concat_name);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
@ -4889,16 +5225,16 @@ lt_fatal (const char *message, ...)
|
|||||||
va_end (ap);
|
va_end (ap);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
# we should really use a build-platform specific compiler
|
# we should really use a build-platform specific compiler
|
||||||
# here, but OTOH, the wrappers (shell script and this C one)
|
# here, but OTOH, the wrappers (shell script and this C one)
|
||||||
# are only useful if you want to execute the "real" binary.
|
# are only useful if you want to execute the "real" binary.
|
||||||
# Since the "real" binary is built for $host, then this
|
# Since the "real" binary is built for $host, then this
|
||||||
# wrapper might as well be built for $host, too.
|
# wrapper might as well be built for $host, too.
|
||||||
$run $LTCC -s -o $cwrapper $cwrappersource
|
$run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
$rm $output
|
$rm $output
|
||||||
trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
|
trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
|
||||||
|
|
||||||
$echo > $output "\
|
$echo > $output "\
|
||||||
#! $SHELL
|
#! $SHELL
|
||||||
@ -5128,9 +5464,9 @@ fi\
|
|||||||
$run ${rm}r "$gentop"
|
$run ${rm}r "$gentop"
|
||||||
$show "$mkdir $gentop"
|
$show "$mkdir $gentop"
|
||||||
$run $mkdir "$gentop"
|
$run $mkdir "$gentop"
|
||||||
status=$?
|
exit_status=$?
|
||||||
if test "$status" -ne 0 && test ! -d "$gentop"; then
|
if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
|
||||||
exit $status
|
exit $exit_status
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -5797,18 +6133,7 @@ relink_command=\"$relink_command\""
|
|||||||
outputname=
|
outputname=
|
||||||
if test "$fast_install" = no && test -n "$relink_command"; then
|
if test "$fast_install" = no && test -n "$relink_command"; then
|
||||||
if test "$finalize" = yes && test -z "$run"; then
|
if test "$finalize" = yes && test -z "$run"; then
|
||||||
tmpdir="/tmp"
|
tmpdir=`func_mktempdir`
|
||||||
test -n "$TMPDIR" && tmpdir="$TMPDIR"
|
|
||||||
tmpdir="$tmpdir/libtool-$$"
|
|
||||||
save_umask=`umask`
|
|
||||||
umask 0077
|
|
||||||
if $mkdir "$tmpdir"; then
|
|
||||||
umask $save_umask
|
|
||||||
else
|
|
||||||
umask $save_umask
|
|
||||||
$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
|
file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
|
||||||
outputname="$tmpdir/$file"
|
outputname="$tmpdir/$file"
|
||||||
# Replace the output file specification.
|
# Replace the output file specification.
|
||||||
@ -5932,7 +6257,7 @@ relink_command=\"$relink_command\""
|
|||||||
# Exit here if they wanted silent mode.
|
# Exit here if they wanted silent mode.
|
||||||
test "$show" = : && exit $EXIT_SUCCESS
|
test "$show" = : && exit $EXIT_SUCCESS
|
||||||
|
|
||||||
$echo "----------------------------------------------------------------------"
|
$echo "X----------------------------------------------------------------------" | $Xsed
|
||||||
$echo "Libraries have been installed in:"
|
$echo "Libraries have been installed in:"
|
||||||
for libdir in $libdirs; do
|
for libdir in $libdirs; do
|
||||||
$echo " $libdir"
|
$echo " $libdir"
|
||||||
@ -5965,7 +6290,7 @@ relink_command=\"$relink_command\""
|
|||||||
$echo
|
$echo
|
||||||
$echo "See any operating system documentation about shared libraries for"
|
$echo "See any operating system documentation about shared libraries for"
|
||||||
$echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
$echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||||
$echo "----------------------------------------------------------------------"
|
$echo "X----------------------------------------------------------------------" | $Xsed
|
||||||
exit $EXIT_SUCCESS
|
exit $EXIT_SUCCESS
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -6182,9 +6507,17 @@ relink_command=\"$relink_command\""
|
|||||||
rmfiles="$rmfiles $objdir/$n"
|
rmfiles="$rmfiles $objdir/$n"
|
||||||
done
|
done
|
||||||
test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
|
test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
|
||||||
test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
|
|
||||||
|
|
||||||
if test "$mode" = uninstall; then
|
case "$mode" in
|
||||||
|
clean)
|
||||||
|
case " $library_names " in
|
||||||
|
# " " in the beginning catches empty $dlname
|
||||||
|
*" $dlname "*) ;;
|
||||||
|
*) rmfiles="$rmfiles $objdir/$dlname" ;;
|
||||||
|
esac
|
||||||
|
test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
|
||||||
|
;;
|
||||||
|
uninstall)
|
||||||
if test -n "$library_names"; then
|
if test -n "$library_names"; then
|
||||||
# Do each command in the postuninstall commands.
|
# Do each command in the postuninstall commands.
|
||||||
cmds=$postuninstall_cmds
|
cmds=$postuninstall_cmds
|
||||||
@ -6217,7 +6550,8 @@ relink_command=\"$relink_command\""
|
|||||||
IFS="$save_ifs"
|
IFS="$save_ifs"
|
||||||
fi
|
fi
|
||||||
# FIXME: should reinstall the best remaining shared library.
|
# FIXME: should reinstall the best remaining shared library.
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -6516,12 +6850,11 @@ exit $?
|
|||||||
# configuration. But we'll never go from static-only to shared-only.
|
# configuration. But we'll never go from static-only to shared-only.
|
||||||
|
|
||||||
# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
|
# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
|
||||||
build_libtool_libs=no
|
disable_libs=shared
|
||||||
build_old_libs=yes
|
|
||||||
# ### END LIBTOOL TAG CONFIG: disable-shared
|
# ### END LIBTOOL TAG CONFIG: disable-shared
|
||||||
|
|
||||||
# ### BEGIN LIBTOOL TAG CONFIG: disable-static
|
# ### BEGIN LIBTOOL TAG CONFIG: disable-static
|
||||||
build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
|
disable_libs=static
|
||||||
# ### END LIBTOOL TAG CONFIG: disable-static
|
# ### END LIBTOOL TAG CONFIG: disable-static
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Common stub for a few missing GNU programs while installing.
|
# Common stub for a few missing GNU programs while installing.
|
||||||
|
|
||||||
scriptversion=2005-06-08.21
|
scriptversion=2004-09-07.08
|
||||||
|
|
||||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
|
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
@ -19,8 +19,8 @@ scriptversion=2005-06-08.21
|
|||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
# 02110-1301, USA.
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# As a special exception to the GNU General Public License, if you
|
# As a special exception to the GNU General Public License, if you
|
||||||
# distribute this file as part of a program that contains a
|
# distribute this file as part of a program that contains a
|
||||||
@ -87,12 +87,12 @@ Supported PROGRAM values:
|
|||||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||||
|
|
||||||
Send bug reports to <bug-automake@gnu.org>."
|
Send bug reports to <bug-automake@gnu.org>."
|
||||||
exit $?
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||||
echo "missing $scriptversion (GNU Automake)"
|
echo "missing $scriptversion (GNU Automake)"
|
||||||
exit $?
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-*)
|
-*)
|
||||||
@ -288,18 +288,11 @@ WARNING: \`$1' is $msg. You should only need it if
|
|||||||
call might also be the consequence of using a buggy \`make' (AIX,
|
call might also be the consequence of using a buggy \`make' (AIX,
|
||||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||||
the \`GNU make' package. Grab either from any GNU archive site."
|
the \`GNU make' package. Grab either from any GNU archive site."
|
||||||
# The file to touch is that specified with -o ...
|
|
||||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||||
if test -z "$file"; then
|
if test -z "$file"; then
|
||||||
# ... or it is the one specified with @setfilename ...
|
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||||
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
|
|
||||||
# ... or it is derived from the source name (dir/f.texi becomes f.info)
|
|
||||||
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
|
||||||
fi
|
fi
|
||||||
# If the file does not exist, the user really needs makeinfo;
|
|
||||||
# let's fail without touching anything.
|
|
||||||
test -f $file || exit 1
|
|
||||||
touch $file
|
touch $file
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user