Changeset 4569 for trunk/admin
- Timestamp:
- 08/16/06 04:42:46 (2 years ago)
- Location:
- trunk/admin
- Files:
-
- 1 removed
- 9 modified
-
config.guess (modified) (9 diffs)
-
config.rpath (modified) (15 diffs)
-
config.sub (modified) (11 diffs)
-
depcomp (modified) (13 diffs)
-
install-sh (modified) (3 diffs)
-
libtool.m4.in (modified) (244 diffs)
-
ltconfig (deleted)
-
ltmain.sh (modified) (57 diffs)
-
missing (modified) (16 diffs)
-
mkinstalldirs (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/config.guess
r4526 r4569 4 4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 5 6 timestamp='2005- 08-03'6 timestamp='2005-12-13' 7 7 8 8 # This file is free software; you can redistribute it and/or modify it … … 780 780 echo ${UNAME_MACHINE}-pc-pw32 781 781 exit ;; 782 x86:Interix*:[34 ]*)782 x86:Interix*:[345]*) 783 783 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 784 784 exit ;; … … 852 852 #endif 853 853 EOF 854 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`854 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" 855 855 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 856 856 ;; … … 871 871 #endif 872 872 EOF 873 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`873 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" 874 874 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 875 875 ;; … … 919 919 sparc:Linux:*:* | sparc64:Linux:*:*) 920 920 echo ${UNAME_MACHINE}-unknown-linux-gnu 921 exit ;; 922 vax:Linux:*:*) 923 echo ${UNAME_MACHINE}-dec-linux-gnu 921 924 exit ;; 922 925 x86_64:Linux:*:*) … … 965 968 # endif 966 969 #else 967 #if def __INTEL_COMPILER970 #if defined(__INTEL_COMPILER) || defined(__PGI) 968 971 LIBC=gnu 969 972 #else … … 975 978 #endif 976 979 EOF 977 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`980 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`" 978 981 test x"${LIBC}" != x && { 979 982 echo "${UNAME_MACHINE}-pc-linux-${LIBC}" … … 1186 1189 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1187 1190 case $UNAME_PROCESSOR in 1188 *86) UNAME_PROCESSOR=i686 ;;1189 1191 unknown) UNAME_PROCESSOR=powerpc ;; 1190 1192 esac … … 1264 1266 i*86:skyos:*:*) 1265 1267 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 1268 exit ;; 1269 i*86:rdos:*:*) 1270 echo ${UNAME_MACHINE}-pc-rdos 1266 1271 exit ;; 1267 1272 esac -
trunk/admin/config.rpath
r4526 r4569 3 3 # run time search path of shared libraries in an executable. 4 4 # 5 # Copyright 1996-200 3Free Software Foundation, Inc.5 # Copyright 1996-2005 Free Software Foundation, Inc. 6 6 # Taken from GNU libtool, 2001 7 7 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 8 8 # 9 # This program is free software; you can redistribute it and/or modify 10 # it under the terms of the GNU General Public License as published by 11 # the Free Software Foundation; either version 2 of the License, or 12 # (at your option) any later version. 13 # 14 # This program is distributed in the hope that it will be useful, but 15 # WITHOUT ANY WARRANTY; without even the implied warranty of 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 # General Public License for more details. 18 # 19 # You should have received a copy of the GNU General Public License 20 # along with this program; if not, write to the Free Software 21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 # 23 # As a special exception to the GNU General Public License, if you 24 # distribute this file as part of a program that contains a 25 # configuration script generated by Autoconf, you may include it under 26 # the same distribution terms that you use for the rest of that program. 9 # This file is free software; the Free Software Foundation gives 10 # unlimited permission to copy and/or distribute it, with or without 11 # modifications, as long as this notice is preserved. 27 12 # 28 13 # The first argument passed to this file is the canonical host specification, … … 51 36 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 52 37 38 cc_basename=`echo "$CC" | sed -e 's%^.*/%%'` 39 53 40 # Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. 54 41 … … 61 48 wl='-Wl,' 62 49 ;; 50 darwin*) 51 case "$cc_basename" in 52 xlc*) 53 wl='-Wl,' 54 ;; 55 esac 56 ;; 63 57 mingw* | pw32* | os2*) 64 58 ;; … … 72 66 ;; 73 67 linux*) 74 case $ CCin75 icc |ecc)68 case $cc_basename in 69 icc* | ecc*) 76 70 wl='-Wl,' 77 71 ;; 78 ccc)72 pgcc | pgf77 | pgf90) 79 73 wl='-Wl,' 74 ;; 75 ccc*) 76 wl='-Wl,' 77 ;; 78 como) 79 wl='-lopt=' 80 80 ;; 81 81 esac … … 96 96 ;; 97 97 sysv4*MP*) 98 ;; 99 unicos*) 100 wl='-Wl,' 98 101 ;; 99 102 uts4*) … … 139 142 # to version 4, is to share data among multiple programs linked 140 143 # with the same dynamic library. Since this doesn't match the 141 # behavior of shared libraries on other platforms, we can use144 # behavior of shared libraries on other platforms, we cannot use 142 145 # them. 143 146 ld_shlibs=no 144 147 ;; 145 148 beos*) 146 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then149 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 147 150 : 148 151 else … … 163 166 ;; 164 167 solaris* | sysv5*) 165 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then166 ld_shlibs=no 167 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then168 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 169 ld_shlibs=no 170 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 168 171 : 169 172 else … … 174 177 hardcode_direct=yes 175 178 ;; 179 linux*) 180 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 181 : 182 else 183 ld_shlibs=no 184 fi 185 ;; 176 186 *) 177 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then187 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 178 188 : 179 189 else … … 267 277 ld_shlibs=no 268 278 ;; 269 bsdi 4*)279 bsdi[45]*) 270 280 ;; 271 281 cygwin* | mingw* | pw32*) … … 278 288 ;; 279 289 darwin* | rhapsody*) 280 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 281 hardcode_direct=no 290 hardcode_direct=no 291 if test "$GCC" = yes ; then 292 : 293 else 294 case "$cc_basename" in 295 xlc*) 296 ;; 297 *) 298 ld_shlibs=no 299 ;; 300 esac 282 301 fi 283 302 ;; … … 296 315 hardcode_minus_L=yes 297 316 ;; 298 freebsd* )317 freebsd* | kfreebsd*-gnu | dragonfly*) 299 318 hardcode_libdir_flag_spec='-R$libdir' 300 319 hardcode_direct=yes … … 439 458 beos*) 440 459 ;; 441 bsdi 4*)460 bsdi[45]*) 442 461 ;; 443 462 cygwin* | mingw* | pw32*) … … 450 469 ;; 451 470 freebsd1*) 471 ;; 472 kfreebsd*-gnu) 452 473 ;; 453 474 freebsd*) … … 487 508 linux*) 488 509 ;; 510 knetbsd*-gnu) 511 ;; 489 512 netbsd*) 490 513 ;; 491 514 newsos6) 492 515 ;; 493 nto-qnx )516 nto-qnx*) 494 517 ;; 495 518 openbsd*) … … 520 543 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 521 544 522 sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF545 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF 523 546 524 547 # How to pass a linker flag through the compiler. -
trunk/admin/config.sub
r4526 r4569 4 4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 5 6 timestamp='2005- 07-08'6 timestamp='2005-12-11' 7 7 8 8 # This file is (in principle) common to ALL GNU software. … … 120 120 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 121 121 case $maybe_os in 122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ 123 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) 122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 123 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 124 storm-chaos* | os2-emx* | rtmk-nova*) 124 125 os=-$maybe_os 125 126 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` … … 172 173 os=-hiuxwe2 173 174 ;; 175 -sco6) 176 os=-sco5v6 177 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 178 ;; 174 179 -sco5) 175 180 os=-sco3.2v5 … … 185 190 ;; 186 191 -sco3.2v[4-9]*) 192 # Don't forget version if it is 3.2v4 or newer. 193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 194 ;; 195 -sco5v6*) 187 196 # Don't forget version if it is 3.2v4 or newer. 188 197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` … … 258 267 | mipstx39 | mipstx39el \ 259 268 | mn10200 | mn10300 \ 260 | m s1\269 | mt \ 261 270 | msp430 \ 262 271 | ns16k | ns32k \ … … 286 295 ;; 287 296 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 297 ;; 298 ms1) 299 basic_machine=mt-unknown 288 300 ;; 289 301 … … 337 349 | mipstx39-* | mipstx39el-* \ 338 350 | mmix-* \ 339 | m s1-* \351 | mt-* \ 340 352 | msp430-* \ 341 353 | none-* | np1-* | ns16k-* | ns32k-* \ … … 697 709 os=-msdos 698 710 ;; 711 ms1-*) 712 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 713 ;; 699 714 mvs) 700 715 basic_machine=i370-ibm … … 859 874 basic_machine=i586-unknown 860 875 os=-pw32 876 ;; 877 rdos) 878 basic_machine=i386-pc 879 os=-rdos 861 880 ;; 862 881 rom68k) … … 1182 1201 | -chorusos* | -chorusrdb* \ 1183 1202 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1184 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ 1203 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1204 | -uxpv* | -beos* | -mpeix* | -udk* \ 1185 1205 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1186 1206 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ … … 1189 1209 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1190 1210 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1191 | -skyos* | -haiku* )1211 | -skyos* | -haiku* | -rdos*) 1192 1212 # Remember, each alternative MUST END IN *, to match a version number. 1193 1213 ;; -
trunk/admin/depcomp
r4526 r4569 1 1 #! /bin/sh 2 3 2 # depcomp - compile a program generating dependencies as side-effects 4 # Copyright 1999, 2000 Free Software Foundation, Inc. 3 4 scriptversion=2005-07-09.11 5 6 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. 5 7 6 8 # This program is free software; you can redistribute it and/or modify … … 16 18 # You should have received a copy of the GNU General Public License 17 19 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 5 9 Temple Place - Suite 330, Boston, MA19 # 0211 1-1307, USA.20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 # 02110-1301, USA. 20 22 21 23 # As a special exception to the GNU General Public License, if you … … 26 28 # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. 27 29 30 case $1 in 31 '') 32 echo "$0: No command. Try \`$0 --help' for more information." 1>&2 33 exit 1; 34 ;; 35 -h | --h*) 36 cat <<\EOF 37 Usage: depcomp [--help] [--version] PROGRAM [ARGS] 38 39 Run PROGRAMS ARGS to compile a file, generating dependencies 40 as side-effects. 41 42 Environment variables: 43 depmode Dependency tracking mode. 44 source Source file read by `PROGRAMS ARGS'. 45 object Object file output by `PROGRAMS ARGS'. 46 DEPDIR directory where to store dependencies. 47 depfile Dependency file to output. 48 tmpdepfile Temporary file to use when outputing dependencies. 49 libtool Whether libtool is used (yes/no). 50 51 Report bugs to <bug-automake@gnu.org>. 52 EOF 53 exit $? 54 ;; 55 -v | --v*) 56 echo "depcomp $scriptversion" 57 exit $? 58 ;; 59 esac 60 28 61 if test -z "$depmode" || test -z "$source" || test -z "$object"; then 29 62 echo "depcomp: Variables source, object and depmode must be set" 1>&2 30 63 exit 1 31 64 fi 32 # `libtool' can also be set to `yes' or `no'. 33 34 depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`} 65 66 # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. 67 depfile=${depfile-`echo "$object" | 68 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} 35 69 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} 36 70 … … 164 198 aix) 165 199 # The C for AIX Compiler uses -M and outputs the dependencies 166 # in a .u file. This file always lives in the current directory. 167 # Also, the AIX compiler puts `$object:' at the start of each line; 168 # $object doesn't have directory information. 169 stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'` 200 # in a .u file. In older versions, this file always lives in the 201 # current directory. Also, the AIX compiler puts `$object:' at the 202 # start of each line; $object doesn't have directory information. 203 # Version 6 uses the directory in both cases. 204 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` 170 205 tmpdepfile="$stripped.u" 171 outname="$stripped.o"172 206 if test "$libtool" = yes; then 173 207 "$@" -Wc,-M … … 175 209 "$@" -M 176 210 fi 177 178 211 stat=$? 212 213 if test -f "$tmpdepfile"; then : 214 else 215 stripped=`echo "$stripped" | sed 's,^.*/,,'` 216 tmpdepfile="$stripped.u" 217 fi 218 179 219 if test $stat -eq 0; then : 180 220 else … … 184 224 185 225 if test -f "$tmpdepfile"; then 226 outname="$stripped.o" 186 227 # Each line is of the form `foo.o: dependent.h'. 187 228 # Do two passes, one to just change these to … … 198 239 ;; 199 240 241 icc) 242 # Intel's C compiler understands `-MD -MF file'. However on 243 # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c 244 # ICC 7.0 will fill foo.d with something like 245 # foo.o: sub/foo.c 246 # foo.o: sub/foo.h 247 # which is wrong. We want: 248 # sub/foo.o: sub/foo.c 249 # sub/foo.o: sub/foo.h 250 # sub/foo.c: 251 # sub/foo.h: 252 # ICC 7.1 will output 253 # foo.o: sub/foo.c sub/foo.h 254 # and will wrap long lines using \ : 255 # foo.o: sub/foo.c ... \ 256 # sub/foo.h ... \ 257 # ... 258 259 "$@" -MD -MF "$tmpdepfile" 260 stat=$? 261 if test $stat -eq 0; then : 262 else 263 rm -f "$tmpdepfile" 264 exit $stat 265 fi 266 rm -f "$depfile" 267 # Each line is of the form `foo.o: dependent.h', 268 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. 269 # Do two passes, one to just change these to 270 # `$object: dependent.h' and one to simply `dependent.h:'. 271 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" 272 # Some versions of the HPUX 10.20 sed can't process this invocation 273 # correctly. Breaking it into two sed invocations is a workaround. 274 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | 275 sed -e 's/$/ :/' >> "$depfile" 276 rm -f "$tmpdepfile" 277 ;; 278 200 279 tru64) 201 # The Tru64 AIXcompiler uses -MD to generate dependencies as a side280 # The Tru64 compiler uses -MD to generate dependencies as a side 202 281 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. 203 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put 282 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put 204 283 # dependencies in `foo.d' instead, so we check for that too. 205 284 # Subdirectories are respected. 206 207 tmpdepfile1="$object.d" 208 tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'` 285 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` 286 test "x$dir" = "x$object" && dir= 287 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` 288 209 289 if test "$libtool" = yes; then 290 # With Tru64 cc, shared objects can also be used to make a 291 # static library. This mecanism is used in libtool 1.4 series to 292 # handle both shared and static libraries in a single compilation. 293 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. 294 # 295 # With libtool 1.5 this exception was removed, and libtool now 296 # generates 2 separate objects for the 2 libraries. These two 297 # compilations output dependencies in in $dir.libs/$base.o.d and 298 # in $dir$base.o.d. We have to check for both files, because 299 # one of the two compilations can be disabled. We should prefer 300 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is 301 # automatically cleaned when .libs/ is deleted, while ignoring 302 # the former would cause a distcleancheck panic. 303 tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 304 tmpdepfile2=$dir$base.o.d # libtool 1.5 305 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 306 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 210 307 "$@" -Wc,-MD 211 308 else 309 tmpdepfile1=$dir$base.o.d 310 tmpdepfile2=$dir$base.d 311 tmpdepfile3=$dir$base.d 312 tmpdepfile4=$dir$base.d 212 313 "$@" -MD 213 314 fi … … 216 317 if test $stat -eq 0; then : 217 318 else 218 rm -f "$tmpdepfile1" "$tmpdepfile2" 319 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" 219 320 exit $stat 220 321 fi 221 322 222 if test -f "$tmpdepfile1"; then 223 tmpdepfile="$tmpdepfile1" 224 else 225 tmpdepfile="$tmpdepfile2" 226 fi 323 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" 324 do 325 test -f "$tmpdepfile" && break 326 done 227 327 if test -f "$tmpdepfile"; then 228 328 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" 229 # That's a space and a tabin the [].230 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"329 # That's a tab and a space in the []. 330 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 231 331 else 232 332 echo "#dummy" > "$depfile" … … 241 341 dashmstdout) 242 342 # Important note: in order to support this mode, a compiler *must* 243 # always write the proprocessed file to stdout, regardless of -o, 244 # because we must use -o when running libtool. 343 # always write the preprocessed file to stdout, regardless of -o. 344 "$@" || exit $? 345 346 # Remove the call to Libtool. 347 if test "$libtool" = yes; then 348 while test $1 != '--mode=compile'; do 349 shift 350 done 351 shift 352 fi 353 354 # Remove `-o $object'. 355 IFS=" " 356 for arg 357 do 358 case $arg in 359 -o) 360 shift 361 ;; 362 $object) 363 shift 364 ;; 365 *) 366 set fnord "$@" "$arg" 367 shift # fnord 368 shift # $arg 369 ;; 370 esac 371 done 372 245 373 test -z "$dashmflag" && dashmflag=-M 246 ( IFS=" " 247 case " $* " in 248 *" --mode=compile "*) # this is libtool, let us make it quiet 249 for arg 250 do # cycle over the arguments 251 case "$arg" in 252 "--mode=compile") 253 # insert --quiet before "--mode=compile" 254 set fnord "$@" --quiet 255 shift # fnord 256 ;; 257 esac 258 set fnord "$@" "$arg" 259 shift # fnord 260 shift # "$arg" 261 done 262 ;; 263 esac 264 "$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" 265 ) & 266 proc=$! 267 "$@" 268 stat=$? 269 wait "$proc" 270 if test "$stat" != 0; then exit $stat; fi 374 # Require at least two characters before searching for `:' 375 # in the target name. This is to cope with DOS-style filenames: 376 # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. 377 "$@" $dashmflag | 378 sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" 271 379 rm -f "$depfile" 272 380 cat < "$tmpdepfile" > "$depfile" … … 286 394 287 395 makedepend) 396 "$@" || exit $? 397 # Remove any Libtool call 398 if test "$libtool" = yes; then 399 while test $1 != '--mode=compile'; do
