Ticket #38580: ufraw.diff
File ufraw.diff, 59.9 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
ufraw-0.19.2/config.guess
diff -ru ufraw-0.19.2/config.guess 0.19.2_1/ufraw-0.19.2/config.guess
old new 1 1 #! /bin/sh 2 2 # Attempt to guess a canonical system name. 3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 5 # Free Software Foundation, Inc.4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 5 # 2011, 2012 Free Software Foundation, Inc. 6 6 7 timestamp='20 09-04-27'7 timestamp='2012-02-10' 8 8 9 9 # This file is free software; you can redistribute it and/or modify it 10 10 # under the terms of the GNU General Public License as published by … … 17 17 # General Public License for more details. 18 18 # 19 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., 51 Franklin Street - Fifth Floor, Boston, MA 22 # 02110-1301, USA. 20 # along with this program; if not, see <http://www.gnu.org/licenses/>. 23 21 # 24 22 # As a special exception to the GNU General Public License, if you 25 23 # distribute this file as part of a program that contains a … … 27 25 # the same distribution terms that you use for the rest of that program. 28 26 29 27 30 # Originally written by Per Bothner <per@bothner.com>.31 # Please send patches to <config-patches@gnu.org>. Submit a context32 # diff and a properly formatted ChangeLogentry.28 # Originally written by Per Bothner. Please send patches (context 29 # diff format) to <config-patches@gnu.org> and include a ChangeLog 30 # entry. 33 31 # 34 32 # This script attempts to guess a canonical system name similar to 35 33 # config.sub. If it succeeds, it prints the system name on stdout, and 36 34 # exits with 0. Otherwise, it exits with 1. 37 35 # 38 # The plan is that this can be called by configure scripts if you39 # don't specify an explicit build system type.36 # You can get the latest version of this script from: 37 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD 40 38 41 39 me=`echo "$0" | sed -e 's,.*/,,'` 42 40 … … 56 54 GNU config.guess ($timestamp) 57 55 58 56 Originally written by Per Bothner. 59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 60 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 57 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 58 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 59 Free Software Foundation, Inc. 61 60 62 61 This is free software; see the source for copying conditions. There is NO 63 62 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." … … 144 143 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in 145 144 *:NetBSD:*:*) 146 145 # NetBSD (nbsd) targets should (where applicable) match one or 147 # more of the tup ples: *-*-netbsdelf*, *-*-netbsdaout*,146 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, 148 147 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently 149 148 # switched to ELF, *-*-netbsd* would select the old 150 149 # object file format. This provides both forward … … 170 169 arm*|i386|m68k|ns32k|sh3*|sparc|vax) 171 170 eval $set_cc_for_build 172 171 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ 173 | grep __ELF__ >/dev/null172 | grep -q __ELF__ 174 173 then 175 174 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). 176 175 # Return netbsd for either. FIX? … … 180 179 fi 181 180 ;; 182 181 *) 183 182 os=netbsd 184 183 ;; 185 184 esac 186 185 # The OS release … … 223 222 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` 224 223 ;; 225 224 *5.*) 226 225 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 227 226 ;; 228 227 esac 229 228 # According to Compaq, /usr/sbin/psrinfo has been available on … … 269 268 # A Xn.n version is an unreleased experimental baselevel. 270 269 # 1.2 uses "1.2" for uname -r. 271 270 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 272 exit ;; 271 # Reset EXIT trap before exiting to avoid spurious non-zero exit code. 272 exitcode=$? 273 trap '' 0 274 exit $exitcode ;; 273 275 Alpha\ *:Windows_NT*:*) 274 276 # How do we know it's Interix rather than the generic POSIX subsystem? 275 277 # Should we change UNAME_MACHINE based on the output of uname instead … … 295 297 echo s390-ibm-zvmoe 296 298 exit ;; 297 299 *:OS400:*:*) 298 300 echo powerpc-ibm-os400 299 301 exit ;; 300 302 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 301 303 echo arm-acorn-riscix${UNAME_RELEASE} … … 333 335 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 334 336 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 337 exit ;; 338 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) 339 echo i386-pc-auroraux${UNAME_RELEASE} 340 exit ;; 336 341 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 337 342 eval $set_cc_for_build 338 343 SUN_ARCH="i386" … … 391 396 # MiNT. But MiNT is downward compatible to TOS, so this should 392 397 # be no problem. 393 398 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 394 399 echo m68k-atari-mint${UNAME_RELEASE} 395 400 exit ;; 396 401 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 397 402 echo m68k-atari-mint${UNAME_RELEASE} 398 403 exit ;; 399 404 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 400 405 echo m68k-atari-mint${UNAME_RELEASE} 401 406 exit ;; 402 407 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 403 404 408 echo m68k-milan-mint${UNAME_RELEASE} 409 exit ;; 405 410 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 406 407 411 echo m68k-hades-mint${UNAME_RELEASE} 412 exit ;; 408 413 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 409 410 414 echo m68k-unknown-mint${UNAME_RELEASE} 415 exit ;; 411 416 m68k:machten:*:*) 412 417 echo m68k-apple-machten${UNAME_RELEASE} 413 418 exit ;; … … 477 482 echo m88k-motorola-sysv3 478 483 exit ;; 479 484 AViiON:dgux:*:*) 480 481 485 # DG/UX returns AViiON for all architectures 486 UNAME_PROCESSOR=`/usr/bin/uname -p` 482 487 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] 483 488 then 484 489 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ … … 491 496 else 492 497 echo i586-dg-dgux${UNAME_RELEASE} 493 498 fi 494 499 exit ;; 495 500 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 496 501 echo m88k-dolphin-sysv3 497 502 exit ;; … … 548 553 echo rs6000-ibm-aix3.2 549 554 fi 550 555 exit ;; 551 *:AIX:*:[456 ])556 *:AIX:*:[4567]) 552 557 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 553 558 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 554 559 IBM_ARCH=rs6000 … … 591 596 9000/[678][0-9][0-9]) 592 597 if [ -x /usr/bin/getconf ]; then 593 598 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 594 595 596 597 598 599 600 601 599 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 600 case "${sc_cpu_version}" in 601 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 602 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 603 532) # CPU_PA_RISC2_0 604 case "${sc_kernel_bits}" in 605 32) HP_ARCH="hppa2.0n" ;; 606 64) HP_ARCH="hppa2.0w" ;; 602 607 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 603 604 608 esac ;; 609 esac 605 610 fi 606 611 if [ "${HP_ARCH}" = "" ]; then 607 612 eval $set_cc_for_build 608 sed 's/^ 613 sed 's/^ //' << EOF >$dummy.c 609 614 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 615 #define _HPUX_SOURCE 616 #include <stdlib.h> 617 #include <unistd.h> 618 619 int main () 620 { 621 #if defined(_SC_KERNEL_BITS) 622 long bits = sysconf(_SC_KERNEL_BITS); 623 #endif 624 long cpu = sysconf (_SC_CPU_VERSION); 625 626 switch (cpu) 627 { 628 case CPU_PA_RISC1_0: puts ("hppa1.0"); break; 629 case CPU_PA_RISC1_1: puts ("hppa1.1"); break; 630 case CPU_PA_RISC2_0: 631 #if defined(_SC_KERNEL_BITS) 632 switch (bits) 633 { 634 case 64: puts ("hppa2.0w"); break; 635 case 32: puts ("hppa2.0n"); break; 636 default: puts ("hppa2.0"); break; 637 } break; 638 #else /* !defined(_SC_KERNEL_BITS) */ 639 puts ("hppa2.0"); break; 640 #endif 641 default: puts ("hppa1.0"); break; 642 } 643 exit (0); 644 } 640 645 EOF 641 646 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` 642 647 test -z "$HP_ARCH" && HP_ARCH=hppa … … 656 661 # => hppa64-hp-hpux11.23 657 662 658 663 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | 659 grep __LP64__ >/dev/null664 grep -q __LP64__ 660 665 then 661 666 HP_ARCH="hppa2.0w" 662 667 else … … 727 732 exit ;; 728 733 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 729 734 echo c1-convex-bsd 730 735 exit ;; 731 736 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 732 737 if getsysinfo -f scalar_acc 733 738 then echo c32-convex-bsd 734 739 else echo c2-convex-bsd 735 740 fi 736 741 exit ;; 737 742 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 738 743 echo c34-convex-bsd 739 744 exit ;; 740 745 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 741 746 echo c38-convex-bsd 742 747 exit ;; 743 748 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 744 749 echo c4-convex-bsd 745 750 exit ;; 746 751 CRAY*Y-MP:*:*:*) 747 752 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 748 753 exit ;; … … 766 771 exit ;; 767 772 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 768 773 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 769 770 771 772 774 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 775 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 776 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 777 exit ;; 773 778 5000:UNIX_System_V:4.*:*) 774 775 776 779 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 780 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 781 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 777 782 exit ;; 778 783 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 779 784 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} … … 785 790 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 786 791 exit ;; 787 792 *:FreeBSD:*:*) 788 case ${UNAME_MACHINE} in 789 pc98) 790 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 793 UNAME_PROCESSOR=`/usr/bin/uname -p` 794 case ${UNAME_PROCESSOR} in 791 795 amd64) 792 796 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 793 797 *) 794 echo ${UNAME_ MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;798 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 795 799 esac 796 800 exit ;; 797 801 i*:CYGWIN*:*) … … 800 804 *:MINGW*:*) 801 805 echo ${UNAME_MACHINE}-pc-mingw32 802 806 exit ;; 807 i*:MSYS*:*) 808 echo ${UNAME_MACHINE}-pc-msys 809 exit ;; 803 810 i*:windows32*:*) 804 805 811 # uname -m includes "-pc" on this system. 812 echo ${UNAME_MACHINE}-mingw32 806 813 exit ;; 807 814 i*:PW*:*) 808 815 echo ${UNAME_MACHINE}-pc-pw32 809 816 exit ;; 810 *:Interix*: [3456]*)811 817 *:Interix*:*) 818 case ${UNAME_MACHINE} in 812 819 x86) 813 820 echo i586-pc-interix${UNAME_RELEASE} 814 821 exit ;; 815 EM64T | authenticamd | genuineintel)822 authenticamd | genuineintel | EM64T) 816 823 echo x86_64-unknown-interix${UNAME_RELEASE} 817 824 exit ;; 818 825 IA64) … … 822 829 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 823 830 echo i${UNAME_MACHINE}-pc-mks 824 831 exit ;; 832 8664:Windows_NT:*) 833 echo x86_64-pc-mks 834 exit ;; 825 835 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 826 836 # How do we know it's Interix rather than the generic POSIX subsystem? 827 837 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we … … 851 861 i*86:Minix:*:*) 852 862 echo ${UNAME_MACHINE}-pc-minix 853 863 exit ;; 864 aarch64:Linux:*:*) 865 echo ${UNAME_MACHINE}-unknown-linux-gnu 866 exit ;; 867 aarch64_be:Linux:*:*) 868 UNAME_MACHINE=aarch64_be 869 echo ${UNAME_MACHINE}-unknown-linux-gnu 870 exit ;; 871 alpha:Linux:*:*) 872 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 873 EV5) UNAME_MACHINE=alphaev5 ;; 874 EV56) UNAME_MACHINE=alphaev56 ;; 875 PCA56) UNAME_MACHINE=alphapca56 ;; 876 PCA57) UNAME_MACHINE=alphapca56 ;; 877 EV6) UNAME_MACHINE=alphaev6 ;; 878 EV67) UNAME_MACHINE=alphaev67 ;; 879 EV68*) UNAME_MACHINE=alphaev68 ;; 880 esac 881 objdump --private-headers /bin/sh | grep -q ld.so.1 882 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi 883 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} 884 exit ;; 854 885 arm*:Linux:*:*) 855 886 eval $set_cc_for_build 856 887 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ … … 858 889 then 859 890 echo ${UNAME_MACHINE}-unknown-linux-gnu 860 891 else 861 echo ${UNAME_MACHINE}-unknown-linux-gnueabi 892 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ 893 | grep -q __ARM_PCS_VFP 894 then 895 echo ${UNAME_MACHINE}-unknown-linux-gnueabi 896 else 897 echo ${UNAME_MACHINE}-unknown-linux-gnueabihf 898 fi 862 899 fi 863 900 exit ;; 864 901 avr32*:Linux:*:*) 865 902 echo ${UNAME_MACHINE}-unknown-linux-gnu 866 903 exit ;; 867 904 cris:Linux:*:*) 868 echo cris-axis-linux-gnu905 echo ${UNAME_MACHINE}-axis-linux-gnu 869 906 exit ;; 870 907 crisv32:Linux:*:*) 871 echo crisv32-axis-linux-gnu908 echo ${UNAME_MACHINE}-axis-linux-gnu 872 909 exit ;; 873 910 frv:Linux:*:*) 874 echo frv-unknown-linux-gnu 911 echo ${UNAME_MACHINE}-unknown-linux-gnu 912 exit ;; 913 hexagon:Linux:*:*) 914 echo ${UNAME_MACHINE}-unknown-linux-gnu 915 exit ;; 916 i*86:Linux:*:*) 917 LIBC=gnu 918 eval $set_cc_for_build 919 sed 's/^ //' << EOF >$dummy.c 920 #ifdef __dietlibc__ 921 LIBC=dietlibc 922 #endif 923 EOF 924 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` 925 echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 875 926 exit ;; 876 927 ia64:Linux:*:*) 877 928 echo ${UNAME_MACHINE}-unknown-linux-gnu … … 882 933 m68*:Linux:*:*) 883 934 echo ${UNAME_MACHINE}-unknown-linux-gnu 884 935 exit ;; 885 mips:Linux:*:* )936 mips:Linux:*:* | mips64:Linux:*:*) 886 937 eval $set_cc_for_build 887 938 sed 's/^ //' << EOF >$dummy.c 888 939 #undef CPU 889 #undef mips890 #undef mipsel940 #undef ${UNAME_MACHINE} 941 #undef ${UNAME_MACHINE}el 891 942 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) 892 CPU= mipsel943 CPU=${UNAME_MACHINE}el 893 944 #else 894 945 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) 895 CPU= mips946 CPU=${UNAME_MACHINE} 896 947 #else 897 948 CPU= 898 949 #endif 899 950 #endif 900 951 EOF 901 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 902 /^CPU/{ 903 s: ::g 904 p 905 }'`" 906 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 907 ;; 908 mips64:Linux:*:*) 909 eval $set_cc_for_build 910 sed 's/^ //' << EOF >$dummy.c 911 #undef CPU 912 #undef mips64 913 #undef mips64el 914 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) 915 CPU=mips64el 916 #else 917 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) 918 CPU=mips64 919 #else 920 CPU= 921 #endif 922 #endif 923 EOF 924 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 925 /^CPU/{ 926 s: ::g 927 p 928 }'`" 952 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` 929 953 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 930 954 ;; 931 955 or32:Linux:*:*) 932 echo or32-unknown-linux-gnu 933 exit ;; 934 ppc:Linux:*:*) 935 echo powerpc-unknown-linux-gnu 936 exit ;; 937 ppc64:Linux:*:*) 938 echo powerpc64-unknown-linux-gnu 939 exit ;; 940 alpha:Linux:*:*) 941 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 942 EV5) UNAME_MACHINE=alphaev5 ;; 943 EV56) UNAME_MACHINE=alphaev56 ;; 944 PCA56) UNAME_MACHINE=alphapca56 ;; 945 PCA57) UNAME_MACHINE=alphapca56 ;; 946 EV6) UNAME_MACHINE=alphaev6 ;; 947 EV67) UNAME_MACHINE=alphaev67 ;; 948 EV68*) UNAME_MACHINE=alphaev68 ;; 949 esac 950 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null 951 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi 952 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} 956 echo ${UNAME_MACHINE}-unknown-linux-gnu 953 957 exit ;; 954 958 padre:Linux:*:*) 955 959 echo sparc-unknown-linux-gnu 956 960 exit ;; 961 parisc64:Linux:*:* | hppa64:Linux:*:*) 962 echo hppa64-unknown-linux-gnu 963 exit ;; 957 964 parisc:Linux:*:* | hppa:Linux:*:*) 958 965 # Look for CPU level 959 966 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in … … 962 969 *) echo hppa-unknown-linux-gnu ;; 963 970 esac 964 971 exit ;; 965 parisc64:Linux:*:* | hppa64:Linux:*:*) 966 echo hppa64-unknown-linux-gnu 972 ppc64:Linux:*:*) 973 echo powerpc64-unknown-linux-gnu 974 exit ;; 975 ppc:Linux:*:*) 976 echo powerpc-unknown-linux-gnu 967 977 exit ;; 968 978 s390:Linux:*:* | s390x:Linux:*:*) 969 979 echo ${UNAME_MACHINE}-ibm-linux 970 980 exit ;; 971 981 sh64*:Linux:*:*) 972 982 echo ${UNAME_MACHINE}-unknown-linux-gnu 973 983 exit ;; 974 984 sh*:Linux:*:*) 975 985 echo ${UNAME_MACHINE}-unknown-linux-gnu … … 977 987 sparc:Linux:*:* | sparc64:Linux:*:*) 978 988 echo ${UNAME_MACHINE}-unknown-linux-gnu 979 989 exit ;; 990 tile*:Linux:*:*) 991 echo ${UNAME_MACHINE}-unknown-linux-gnu 992 exit ;; 980 993 vax:Linux:*:*) 981 994 echo ${UNAME_MACHINE}-dec-linux-gnu 982 995 exit ;; 983 996 x86_64:Linux:*:*) 984 echo x86_64-unknown-linux-gnu997 echo ${UNAME_MACHINE}-unknown-linux-gnu 985 998 exit ;; 986 999 xtensa*:Linux:*:*) 987 1000 echo ${UNAME_MACHINE}-unknown-linux-gnu 988 1001 exit ;; 989 i*86:Linux:*:*)990 # The BFD linker knows what the default object file format is, so991 # first see if it will tell us. cd to the root directory to prevent992 # problems with other programs or directories called `ld' in the path.993 # Set LC_ALL=C to ensure ld outputs messages in English.994 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \995 | sed -ne '/supported targets:/!d996 s/[ ][ ]*/ /g997 s/.*supported targets: *//998 s/ .*//999 p'`1000 case "$ld_supported_targets" in1001 elf32-i386)1002 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"1003 ;;1004 a.out-i386-linux)1005 echo "${UNAME_MACHINE}-pc-linux-gnuaout"1006 exit ;;1007 "")1008 # Either a pre-BFD a.out linker (linux-gnuoldld) or1009 # one that does not give us useful --help.1010 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"1011 exit ;;1012 esac1013 # Determine whether the default compiler is a.out or elf1014 eval $set_cc_for_build1015 sed 's/^ //' << EOF >$dummy.c1016 #include <features.h>1017 #ifdef __ELF__1018 # ifdef __GLIBC__1019 # if __GLIBC__ >= 21020 LIBC=gnu1021 # else1022 LIBC=gnulibc11023 # endif1024 # else1025 LIBC=gnulibc11026 # endif1027 #else1028 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)1029 LIBC=gnu1030 #else1031 LIBC=gnuaout1032 #endif1033 #endif1034 #ifdef __dietlibc__1035 LIBC=dietlibc1036 #endif1037 EOF1038 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '1039 /^LIBC/{1040 s: ::g1041 p1042 }'`"1043 test x"${LIBC}" != x && {1044 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"1045 exit1046 }1047 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }1048 ;;1049 1002 i*86:DYNIX/ptx:4*:*) 1050 1003 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 1051 1004 # earlier versions are messed up and put the nodename in both … … 1053 1006 echo i386-sequent-sysv4 1054 1007 exit ;; 1055 1008 i*86:UNIX_SV:4.2MP:2.*) 1056 1057 1058 1009 # Unixware is an offshoot of SVR4, but it has its own version 1010 # number series starting with 2... 1011 # I am not positive that other SVR4 systems won't match this, 1059 1012 # I just have to hope. -- rms. 1060 1013 # Use sysv4.2uw... so that sysv4* matches it. 1061 1014 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 1062 1015 exit ;; 1063 1016 i*86:OS/2:*:*) … … 1074 1027 i*86:syllable:*:*) 1075 1028 echo ${UNAME_MACHINE}-pc-syllable 1076 1029 exit ;; 1077 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4. 0*:*)1030 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) 1078 1031 echo i386-unknown-lynxos${UNAME_RELEASE} 1079 1032 exit ;; 1080 1033 i*86:*DOS:*:*) … … 1089 1042 fi 1090 1043 exit ;; 1091 1044 i*86:*:5:[678]*) 1092 1045 # UnixWare 7.x, OpenUNIX and OpenServer 6. 1093 1046 case `/bin/uname -X | grep "^Machine"` in 1094 1047 *486*) UNAME_MACHINE=i486 ;; 1095 1048 *Pentium) UNAME_MACHINE=i586 ;; … … 1117 1070 exit ;; 1118 1071 pc:*:*:*) 1119 1072 # Left here for compatibility: 1120 1121 1073 # uname -m prints for DJGPP always 'pc', but it prints nothing about 1074 # the processor, so we play safe by assuming i586. 1122 1075 # Note: whatever this is, it MUST be the same as what config.sub 1123 1076 # prints for the "djgpp" host, or else GDB configury will decide that 1124 1077 # this is a cross-build. 1125 1078 echo i586-pc-msdosdjgpp 1126 1079 exit ;; 1127 1080 Intel:Mach:3*:*) 1128 1081 echo i386-pc-mach3 1129 1082 exit ;; … … 1158 1111 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1159 1112 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 1160 1113 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1161 1162 1114 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1115 && { echo i486-ncr-sysv4; exit; } ;; 1163 1116 NCR*:*:4.2:* | MPRAS*:*:4.2:*) 1164 1117 OS_REL='.3' 1165 1118 test -r /etc/.relid \ … … 1182 1135 rs6000:LynxOS:2.*:*) 1183 1136 echo rs6000-unknown-lynxos${UNAME_RELEASE} 1184 1137 exit ;; 1185 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4. 0*:*)1138 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) 1186 1139 echo powerpc-unknown-lynxos${UNAME_RELEASE} 1187 1140 exit ;; 1188 1141 SM[BE]S:UNIX_SV:*:*) … … 1202 1155 echo ns32k-sni-sysv 1203 1156 fi 1204 1157 exit ;; 1205 PENTIUM:*:4.0*:*) 1206 1207 1208 1158 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1159 # says <Richard.M.Bartel@ccMail.Census.GOV> 1160 echo i586-unisys-sysv4 1161 exit ;; 1209 1162 *:UNIX_System_V:4*:FTX*) 1210 1163 # From Gerald Hewes <hewes@openmarket.com>. 1211 1164 # How about differentiating between stratus architectures? -djm … … 1231 1184 exit ;; 1232 1185 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1233 1186 if [ -d /usr/nec ]; then 1234 1187 echo mips-nec-sysv${UNAME_RELEASE} 1235 1188 else 1236 1189 echo mips-unknown-sysv${UNAME_RELEASE} 1237 1190 fi 1238 1191 exit ;; 1239 1192 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1240 1193 echo powerpc-be-beos 1241 1194 exit ;; … … 1275 1228 *:Darwin:*:*) 1276 1229 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1277 1230 case $UNAME_PROCESSOR in 1231 i386) 1232 eval $set_cc_for_build 1233 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then 1234 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ 1235 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ 1236 grep IS_64BIT_ARCH >/dev/null 1237 then 1238 UNAME_PROCESSOR="x86_64" 1239 fi 1240 fi ;; 1278 1241 unknown) UNAME_PROCESSOR=powerpc ;; 1279 1242 esac 1280 1243 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} … … 1290 1253 *:QNX:*:4*) 1291 1254 echo i386-pc-qnx 1292 1255 exit ;; 1256 NEO-?:NONSTOP_KERNEL:*:*) 1257 echo neo-tandem-nsk${UNAME_RELEASE} 1258 exit ;; 1293 1259 NSE-?:NONSTOP_KERNEL:*:*) 1294 1260 echo nse-tandem-nsk${UNAME_RELEASE} 1295 1261 exit ;; … … 1335 1301 echo pdp10-unknown-its 1336 1302 exit ;; 1337 1303 SEI:*:*:SEIUX) 1338 1304 echo mips-sei-seiux${UNAME_RELEASE} 1339 1305 exit ;; 1340 1306 *:DragonFly:*:*) 1341 1307 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 1342 1308 exit ;; 1343 1309 *:*VMS:*:*) 1344 1310 UNAME_MACHINE=`(uname -p) 2>/dev/null` 1345 1311 case "${UNAME_MACHINE}" in 1346 1312 A*) echo alpha-dec-vms ; exit ;; 1347 1313 I*) echo ia64-dec-vms ; exit ;; … … 1359 1325 i*86:AROS:*:*) 1360 1326 echo ${UNAME_MACHINE}-pc-aros 1361 1327 exit ;; 1328 x86_64:VMkernel:*:*) 1329 echo ${UNAME_MACHINE}-unknown-esx 1330 exit ;; 1362 1331 esac 1363 1332 1364 1333 #echo '(No uname command or uname output not recognized.)' 1>&2 … … 1381 1350 #include <sys/param.h> 1382 1351 printf ("m68k-sony-newsos%s\n", 1383 1352 #ifdef NEWSOS4 1384 1353 "4" 1385 1354 #else 1386 1355 "" 1387 1356 #endif 1388 1357 ); exit (0); 1389 1358 #endif 1390 1359 #endif 1391 1360 -
ufraw-0.19.2/config.sub
diff -ru ufraw-0.19.2/config.sub 0.19.2_1/ufraw-0.19.2/config.sub
old new 1 1 #! /bin/sh 2 2 # Configuration validation subroutine script. 3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 5 # Free Software Foundation, Inc.4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 5 # 2011, 2012 Free Software Foundation, Inc. 6 6 7 timestamp='20 09-04-17'7 timestamp='2012-04-18' 8 8 9 9 # This file is (in principle) common to ALL GNU software. 10 10 # The presence of a machine in this file suggests that SOME GNU software … … 21 21 # GNU General Public License for more details. 22 22 # 23 23 # You should have received a copy of the GNU General Public License 24 # along with this program; if not, write to the Free Software 25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 26 # 02110-1301, USA. 24 # along with this program; if not, see <http://www.gnu.org/licenses/>. 27 25 # 28 26 # As a special exception to the GNU General Public License, if you 29 27 # distribute this file as part of a program that contains a … … 32 30 33 31 34 32 # Please send patches to <config-patches@gnu.org>. Submit a context 35 # diff and a properly formatted ChangeLog entry.33 # diff and a properly formatted GNU ChangeLog entry. 36 34 # 37 35 # Configuration subroutine to validate and canonicalize a configuration type. 38 36 # Supply the specified configuration type as an argument. 39 37 # If it is invalid, we print an error message on stderr and exit with code 1. 40 38 # Otherwise, we print the canonical config type on stdout and succeed. 41 39 40 # You can get the latest version of this script from: 41 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD 42 42 43 # This file is supposed to be the same for all GNU packages 43 44 # and recognize all the CPU types, system types and aliases 44 45 # that are meaningful with *any* GNU software. … … 72 73 version="\ 73 74 GNU config.sub ($timestamp) 74 75 75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 76 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 76 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 77 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 78 Free Software Foundation, Inc. 77 79 78 80 This is free software; see the source for copying conditions. There is NO 79 81 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." … … 120 122 # Here we must recognize all the valid KERNEL-OS combinations. 121 123 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 122 124 case $maybe_os in 123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 127 knetbsd*-gnu* | netbsd*-gnu* | \ 125 128 kopensolaris*-gnu* | \ 126 129 storm-chaos* | os2-emx* | rtmk-nova*) 127 130 os=-$maybe_os 128 131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 129 132 ;; 133 android-linux) 134 os=-linux-android 135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown 136 ;; 130 137 *) 131 138 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 132 139 if [ $basic_machine != $1 ] … … 149 156 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 150 157 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 151 158 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 152 -apple | -axis | -knuth | -cray )159 -apple | -axis | -knuth | -cray | -microblaze) 153 160 os= 154 161 basic_machine=$1 155 162 ;; 163 -bluegene*) 164 os=-cnk 165 ;; 156 166 -sim | -cisco | -oki | -wec | -winbond) 157 167 os= 158 168 basic_machine=$1 … … 167 177 os=-chorusos 168 178 basic_machine=$1 169 179 ;; 170 171 180 -chorusrdb) 181 os=-chorusrdb 172 182 basic_machine=$1 173 183 ;; 174 184 -hiux*) 175 185 os=-hiuxwe2 176 186 ;; … … 215 225 -isc*) 216 226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 217 227 ;; 228 -lynx*178) 229 os=-lynxos178 230 ;; 231 -lynx*5) 232 os=-lynxos5 233 ;; 218 234 -lynx*) 219 235 os=-lynxos 220 236 ;; … … 239 255 # Some are omitted here because they have special meanings below. 240 256 1750a | 580 \ 241 257 | a29k \ 258 | aarch64 | aarch64_be \ 242 259 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 243 260 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 244 261 | am33_2.0 \ 245 262 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ 263 | be32 | be64 \ 246 264 | bfin \ 247 265 | c4x | clipper \ 248 266 | d10v | d30v | dlx | dsp16xx \ 267 | epiphany \ 249 268 | fido | fr30 | frv \ 250 269 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 270 | hexagon \ 251 271 | i370 | i860 | i960 | ia64 \ 252 272 | ip2k | iq2000 \ 273 | le32 | le64 \ 253 274 | lm32 \ 254 275 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 255 276 | maxq | mb | microblaze | mcore | mep | metag \ … … 275 296 | moxie \ 276 297 | mt \ 277 298 | msp430 \ 299 | nds32 | nds32le | nds32be \ 278 300 | nios | nios2 \ 279 301 | ns16k | ns32k \ 302 | open8 \ 280 303 | or32 \ 281 304 | pdp10 | pdp11 | pj | pjl \ 282 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe\305 | powerpc | powerpc64 | powerpc64le | powerpcle \ 283 306 | pyramid \ 307 | rl78 | rx \ 284 308 | score \ 285 309 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 286 310 | sh64 | sh64le \ 287 311 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 288 312 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 289 | spu | strongarm \ 290 | tahoe | thumb | tic4x | tic80 | tron \ 291 | v850 | v850e \ 313 | spu \ 314 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ 315 | ubicom32 \ 316 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ 292 317 | we32k \ 293 | x86 | xc16x | xs cale | xscalee[bl] | xstormy16 | xtensa \318 | x86 | xc16x | xstormy16 | xtensa \ 294 319 | z8k | z80) 295 320 basic_machine=$basic_machine-unknown 296 321 ;; 297 m6811 | m68hc11 | m6812 | m68hc12) 298 # Motorola 68HC11/12. 322 c54x) 323 basic_machine=tic54x-unknown 324 ;; 325 c55x) 326 basic_machine=tic55x-unknown 327 ;; 328 c6x) 329 basic_machine=tic6x-unknown 330 ;; 331 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) 299 332 basic_machine=$basic_machine-unknown 300 333 os=-none 301 334 ;; … … 305 338 basic_machine=mt-unknown 306 339 ;; 307 340 341 strongarm | thumb | xscale) 342 basic_machine=arm-unknown 343 ;; 344 xgate) 345 basic_machine=$basic_machine-unknown 346 os=-none 347 ;; 348 xscaleeb) 349 basic_machine=armeb-unknown 350 ;; 351 352 xscaleel) 353 basic_machine=armel-unknown 354 ;; 355 308 356 # We use `pc' rather than `unknown' 309 357 # because (1) that's what they normally are, and 310 358 # (2) the word "unknown" tends to confuse beginning users. … … 319 367 # Recognize the basic CPU types with company name. 320 368 580-* \ 321 369 | a29k-* \ 370 | aarch64-* | aarch64_be-* \ 322 371 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 323 372 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 324 373 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 325 374 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 326 375 | avr-* | avr32-* \ 376 | be32-* | be64-* \ 327 377 | bfin-* | bs2000-* \ 328 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-*\378 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 329 379 | clipper-* | craynv-* | cydra-* \ 330 380 | d10v-* | d30v-* | dlx-* \ 331 381 | elxsi-* \ 332 382 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 333 383 | h8300-* | h8500-* \ 334 384 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 385 | hexagon-* \ 335 386 | i*86-* | i860-* | i960-* | ia64-* \ 336 387 | ip2k-* | iq2000-* \ 388 | le32-* | le64-* \ 337 389 | lm32-* \ 338 390 | m32c-* | m32r-* | m32rle-* \ 339 391 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 340 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \392 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ 341 393 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 342 394 | mips16-* \ 343 395 | mips64-* | mips64el-* \ … … 359 411 | mmix-* \ 360 412 | mt-* \ 361 413 | msp430-* \ 414 | nds32-* | nds32le-* | nds32be-* \ 362 415 | nios-* | nios2-* \ 363 416 | none-* | np1-* | ns16k-* | ns32k-* \ 417 | open8-* \ 364 418 | orion-* \ 365 419 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 366 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-*\420 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ 367 421 | pyramid-* \ 368 | r omp-* | rs6000-* \422 | rl78-* | romp-* | rs6000-* | rx-* \ 369 423 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 370 424 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 371 425 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 372 426 | sparclite-* \ 373 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 374 | tahoe-* | thumb-* \ 375 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 427 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ 428 | tahoe-* \ 429 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 430 | tile*-* \ 376 431 | tron-* \ 377 | v850-* | v850e-* | vax-* \ 432 | ubicom32-* \ 433 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ 434 | vax-* \ 378 435 | we32k-* \ 379 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-*\436 | x86-* | x86_64-* | xc16x-* | xps100-* \ 380 437 | xstormy16-* | xtensa*-* \ 381 438 | ymp-* \ 382 439 | z8k-* | z80-*) … … 401 458 basic_machine=a29k-amd 402 459 os=-udi 403 460 ;; 404 461 abacus) 405 462 basic_machine=abacus-unknown 406 463 ;; 407 464 adobe68k) … … 467 524 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` 468 525 os=-linux 469 526 ;; 527 bluegene*) 528 basic_machine=powerpc-ibm 529 os=-cnk 530 ;; 531 c54x-*) 532 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` 533 ;; 534 c55x-*) 535 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` 536 ;; 537 c6x-*) 538 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` 539 ;; 470 540 c90) 471 541 basic_machine=c90-cray 472 542 os=-unicos 473 543 ;; 474 544 cegcc) 475 545 basic_machine=arm-unknown 476 546 os=-cegcc 477 547 ;; … … 503 573 basic_machine=craynv-cray 504 574 os=-unicosmp 505 575 ;; 506 cr16 )576 cr16 | cr16-*) 507 577 basic_machine=cr16-unknown 508 578 os=-elf 509 579 ;; … … 661 731 i370-ibm* | ibm*) 662 732 basic_machine=i370-ibm 663 733 ;; 664 # I'm not sure what "Sysv32" means. Should this be sysv3.2?665 734 i*86v32) 666 735 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 667 736 os=-sysv32 … … 719 788 basic_machine=ns32k-utek 720 789 os=-sysv 721 790 ;; 791 microblaze) 792 basic_machine=microblaze-xilinx 793 ;; 722 794 mingw32) 723 795 basic_machine=i386-pc 724 796 os=-mingw32 … … 755 827 ms1-*) 756 828 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 757 829 ;; 830 msys) 831 basic_machine=i386-pc 832 os=-msys 833 ;; 758 834 mvs) 759 835 basic_machine=i370-ibm 760 836 os=-mvs 761 837 ;; 838 nacl) 839 basic_machine=le32-unknown 840 os=-nacl 841 ;; 762 842 ncr3000) 763 843 basic_machine=i486-ncr 764 844 os=-sysv4 … … 823 903 np1) 824 904 basic_machine=np1-gould 825 905 ;; 906 neo-tandem) 907 basic_machine=neo-tandem 908 ;; 909 nse-tandem) 910 basic_machine=nse-tandem 911 ;; 826 912 nsr-tandem) 827 913 basic_machine=nsr-tandem 828 914 ;; … … 905 991 ;; 906 992 power) basic_machine=power-ibm 907 993 ;; 908 ppc ) basic_machine=powerpc-unknown994 ppc | ppcbe) basic_machine=powerpc-unknown 909 995 ;; 910 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 996 ppc-* | ppcbe-*) 997 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 911 998 ;; 912 999 ppcle | powerpclittle | ppc-le | powerpc-little) 913 1000 basic_machine=powerpcle-unknown … … 1001 1088 basic_machine=i860-stratus 1002 1089 os=-sysv4 1003 1090 ;; 1091 strongarm-* | thumb-*) 1092 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` 1093 ;; 1004 1094 sun2) 1005 1095 basic_machine=m68000-sun 1006 1096 ;; … … 1057 1147 basic_machine=t90-cray 1058 1148 os=-unicos 1059 1149 ;; 1060 tic54x | c54x*)1061 basic_machine=tic54x-unknown1062 os=-coff1063 ;;1064 tic55x | c55x*)1065 basic_machine=tic55x-unknown1066 os=-coff1067 ;;1068 tic6x | c6x*)1069 basic_machine=tic6x-unknown1070 os=-coff1071 ;;1072 1150 tile*) 1073 basic_machine= tile-unknown1151 basic_machine=$basic_machine-unknown 1074 1152 os=-linux-gnu 1075 1153 ;; 1076 1154 tx39) … … 1140 1218 xps | xps100) 1141 1219 basic_machine=xps100-honeywell 1142 1220 ;; 1221 xscale-* | xscalee[bl]-*) 1222 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` 1223 ;; 1143 1224 ymp) 1144 1225 basic_machine=ymp-cray 1145 1226 os=-unicos … … 1237 1318 if [ x"$os" != x"" ] 1238 1319 then 1239 1320 case $os in 1240 1241 1321 # First match some system type aliases 1322 # that might get confused with valid system types. 1242 1323 # -solaris* is a basic system type, with this one exception. 1324 -auroraux) 1325 os=-auroraux 1326 ;; 1243 1327 -solaris1 | -solaris1.*) 1244 1328 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1245 1329 ;; … … 1260 1344 # Each alternative MUST END IN A *, to match a version number. 1261 1345 # -sysv* is not here because it comes later, after sysvr4. 1262 1346 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1263 | -*vms* | -sco* | -esix* | -isc* | -aix* | - sunos | -sunos[34]*\1264 | -hpux* | -unos* | -osf* | -luna* | -dgux* | - solaris* | -sym* \1265 | - kopensolaris* \1347 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1348 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ 1349 | -sym* | -kopensolaris* \ 1266 1350 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1267 1351 | -aos* | -aros* \ 1268 1352 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ … … 1274 1358 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1275 1359 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1276 1360 | -chorusos* | -chorusrdb* | -cegcc* \ 1277 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1278 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1361 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1362 | -mingw32* | -linux-gnu* | -linux-android* \ 1363 | -linux-newlib* | -linux-uclibc* \ 1279 1364 | -uxpv* | -beos* | -mpeix* | -udk* \ 1280 1365 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1281 1366 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ … … 1283 1368 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1284 1369 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1285 1370 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1286 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* )1371 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) 1287 1372 # Remember, each alternative MUST END IN *, to match a version number. 1288 1373 ;; 1289 1374 -qnx*) … … 1322 1407 -opened*) 1323 1408 os=-openedition 1324 1409 ;; 1325 1410 -os400*) 1326 1411 os=-os400 1327 1412 ;; 1328 1413 -wince*) … … 1371 1456 -sinix*) 1372 1457 os=-sysv4 1373 1458 ;; 1374 1459 -tpf*) 1375 1460 os=-tpf 1376 1461 ;; 1377 1462 -triton*) … … 1416 1501 -dicos*) 1417 1502 os=-dicos 1418 1503 ;; 1504 -nacl*) 1505 ;; 1419 1506 -none) 1420 1507 ;; 1421 1508 *) … … 1438 1525 # system, and we'll never get to this point. 1439 1526 1440 1527 case $basic_machine in 1441 1528 score-*) 1442 1529 os=-elf 1443 1530 ;; 1444 1531 spu-*) 1445 1532 os=-elf 1446 1533 ;; 1447 1534 *-acorn) … … 1453 1540 arm*-semi) 1454 1541 os=-aout 1455 1542 ;; 1456 c4x-* | tic4x-*) 1457 os=-coff 1543 c4x-* | tic4x-*) 1544 os=-coff 1545 ;; 1546 hexagon-*) 1547 os=-elf 1548 ;; 1549 tic54x-*) 1550 os=-coff 1551 ;; 1552 tic55x-*) 1553 os=-coff 1554 ;; 1555 tic6x-*) 1556 os=-coff 1458 1557 ;; 1459 1558 # This must come before the *-dec entry. 1460 1559 pdp10-*) … … 1474 1573 ;; 1475 1574 m68000-sun) 1476 1575 os=-sunos3 1477 # This also exists in the configure program, but was not the1478 # default.1479 # os=-sunos41480 1576 ;; 1481 1577 m68*-cisco) 1482 1578 os=-aout 1483 1579 ;; 1484 1580 mep-*) 1485 1581 os=-elf 1486 1582 ;; 1487 1583 mips*-cisco) … … 1508 1604 *-ibm) 1509 1605 os=-aix 1510 1606 ;; 1511 1607 *-knuth) 1512 1608 os=-mmixware 1513 1609 ;; 1514 1610 *-wec) … … 1613 1709 -sunos*) 1614 1710 vendor=sun 1615 1711 ;; 1616 - aix*)1712 -cnk*|-aix*) 1617 1713 vendor=ibm 1618 1714 ;; 1619 1715 -beos*) -
ufraw-0.19.2/depcomp
diff -ru ufraw-0.19.2/depcomp 0.19.2_1/ufraw-0.19.2/depcomp
old new 1 1 #! /bin/sh 2 2 # depcomp - compile a program generating dependencies as side-effects 3 3 4 scriptversion=20 09-04-28.21; # UTC4 scriptversion=2012-03-27.16; # UTC 5 5 6 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free7 # Software Foundation, Inc.6 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 7 # 2011, 2012 Free Software Foundation, Inc. 8 8 9 9 # This program is free software; you can redistribute it and/or modify 10 10 # it under the terms of the GNU General Public License as published by … … 28 28 29 29 case $1 in 30 30 '') 31 echo "$0: No command. Try \`$0 --help' for more information." 1>&231 echo "$0: No command. Try '$0 --help' for more information." 1>&2 32 32 exit 1; 33 33 ;; 34 34 -h | --h*) … … 40 40 41 41 Environment variables: 42 42 depmode Dependency tracking mode. 43 source Source file read by `PROGRAMS ARGS'.44 object Object file output by `PROGRAMS ARGS'.43 source Source file read by 'PROGRAMS ARGS'. 44 object Object file output by 'PROGRAMS ARGS'. 45 45 DEPDIR directory where to store dependencies. 46 46 depfile Dependency file to output. 47 tmpdepfile Temporary file to use when output ing dependencies.47 tmpdepfile Temporary file to use when outputting dependencies. 48 48 libtool Whether libtool is used (yes/no). 49 49 50 50 Report bugs to <bug-automake@gnu.org>. … … 57 57 ;; 58 58 esac 59 59 60 # A tabulation character. 61 tab=' ' 62 # A newline character. 63 nl=' 64 ' 65 60 66 if test -z "$depmode" || test -z "$source" || test -z "$object"; then 61 67 echo "depcomp: Variables source, object and depmode must be set" 1>&2 62 68 exit 1 … … 90 96 # This is just like msvisualcpp but w/o cygpath translation. 91 97 # Just convert the backslash-escaped backslashes to single forward 92 98 # slashes to satisfy depend.m4 93 cygpath_u= "sed s,\\\\\\\\,/,g"99 cygpath_u='sed s,\\\\,/,g' 94 100 depmode=msvisualcpp 95 101 fi 96 102 103 if test "$depmode" = msvc7msys; then 104 # This is just like msvc7 but w/o cygpath translation. 105 # Just convert the backslash-escaped backslashes to single forward 106 # slashes to satisfy depend.m4 107 cygpath_u='sed s,\\\\,/,g' 108 depmode=msvc7 109 fi 110 111 if test "$depmode" = xlc; then 112 # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations. 113 gccflag=-qmakedep=gcc,-MF 114 depmode=gcc 115 fi 116 97 117 case "$depmode" in 98 118 gcc3) 99 119 ## gcc 3 implements dependency tracking that does exactly what … … 148 168 ## The second -e expression handles DOS-style file names with drive letters. 149 169 sed -e 's/^[^:]*: / /' \ 150 170 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" 151 ## This next piece of magic avoids the `deleted header file'problem.171 ## This next piece of magic avoids the "deleted header file" problem. 152 172 ## The problem is that when a header file which appears in a .P file 153 173 ## is deleted, the dependency causes make to die (because there is 154 174 ## typically no way to rebuild the header). We avoid this by adding 155 175 ## dummy dependencies for each header file. Too bad gcc doesn't do 156 176 ## this for us directly. 157 tr ' ' ' 158 ' < "$tmpdepfile" | 159 ## Some versions of gcc put a space before the `:'. On the theory 177 tr ' ' "$nl" < "$tmpdepfile" | 178 ## Some versions of gcc put a space before the ':'. On the theory 160 179 ## that the space means something, we add a space to the output as 161 ## well. 180 ## well. hp depmode also adds that space, but also prefixes the VPATH 181 ## to the object. Take care to not repeat it in the output. 162 182 ## Some versions of the HPUX 10.20 sed can't process this invocation 163 183 ## correctly. Breaking it into two sed invocations is a workaround. 164 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" 184 sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ 185 | sed -e 's/$/ :/' >> "$depfile" 165 186 rm -f "$tmpdepfile" 166 187 ;; 167 188 … … 193 214 # clever and replace this with sed code, as IRIX sed won't handle 194 215 # lines with more than a fixed number of characters (4096 in 195 216 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; 196 # the IRIX cc adds comments like `#:fec' to the end of the217 # the IRIX cc adds comments like '#:fec' to the end of the 197 218 # dependency line. 198 tr ' ' ' 199 ' < "$tmpdepfile" \ 219 tr ' ' "$nl" < "$tmpdepfile" \ 200 220 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ 201 tr ' 202 ' ' ' >> "$depfile" 221 tr "$nl" ' ' >> "$depfile" 203 222 echo >> "$depfile" 204 223 205 224 # The second pass generates a dummy entry for each header file. 206 tr ' ' ' 207 ' < "$tmpdepfile" \ 225 tr ' ' "$nl" < "$tmpdepfile" \ 208 226 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ 209 227 >> "$depfile" 210 228 else … … 216 234 rm -f "$tmpdepfile" 217 235 ;; 218 236 237 xlc) 238 # This case exists only to let depend.m4 do its work. It works by 239 # looking at the text of this script. This case will never be run, 240 # since it is checked for above. 241 exit 1 242 ;; 243 219 244 aix) 220 245 # The C for AIX Compiler uses -M and outputs the dependencies 221 246 # in a .u file. In older versions, this file always lives in the 222 # current directory. Also, the AIX compiler puts `$object:' at the247 # current directory. Also, the AIX compiler puts '$object:' at the 223 248 # start of each line; $object doesn't have directory information. 224 249 # Version 6 uses the directory in both cases. 225 250 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` … … 249 274 test -f "$tmpdepfile" && break 250 275 done 251 276 if test -f "$tmpdepfile"; then 252 # Each line is of the form `foo.o: dependent.h'.277 # Each line is of the form 'foo.o: dependent.h'. 253 278 # Do two passes, one to just change these to 254 # `$object: dependent.h' and one to simply `dependent.h:'.279 # '$object: dependent.h' and one to simply 'dependent.h:'. 255 280 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" 256 # That's a tab and a space in the []. 257 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 281 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 258 282 else 259 283 # The sourcefile does not contain any dependencies, so just 260 284 # store a dummy comment line, to avoid errors with the Makefile … … 265 289 ;; 266 290 267 291 icc) 268 # Intel's C compiler understands `-MD -MF file'. However on 269 # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c 292 # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. 293 # However on 294 # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c 270 295 # ICC 7.0 will fill foo.d with something like 271 296 # foo.o: sub/foo.c 272 297 # foo.o: sub/foo.h 273 # which is wrong. We want :298 # which is wrong. We want 274 299 # sub/foo.o: sub/foo.c 275 300 # sub/foo.o: sub/foo.h 276 301 # sub/foo.c: 277 302 # sub/foo.h: 278 303 # ICC 7.1 will output 279 304 # foo.o: sub/foo.c sub/foo.h 280 # and will wrap long lines using \:305 # and will wrap long lines using '\': 281 306 # foo.o: sub/foo.c ... \ 282 307 # sub/foo.h ... \ 283 308 # ... 284 309 # tcc 0.9.26 (FIXME still under development at the moment of writing) 310 # will emit a similar output, but also prepend the continuation lines 311 # with horizontal tabulation characters. 285 312 "$@" -MD -MF "$tmpdepfile" 286 313 stat=$? 287 314 if test $stat -eq 0; then : … … 290 317 exit $stat 291 318 fi 292 319 rm -f "$depfile" 293 # Each line is of the form `foo.o: dependent.h',294 # or `foo.o: dep1.h dep2.h \', or `dep3.h dep4.h \'.320 # Each line is of the form 'foo.o: dependent.h', 321 # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. 295 322 # Do two passes, one to just change these to 296 # `$object: dependent.h' and one to simply `dependent.h:'. 297 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" 298 # Some versions of the HPUX 10.20 sed can't process this invocation 299 # correctly. Breaking it into two sed invocations is a workaround. 300 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | 301 sed -e 's/$/ :/' >> "$depfile" 323 # '$object: dependent.h' and one to simply 'dependent.h:'. 324 sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ 325 < "$tmpdepfile" > "$depfile" 326 sed ' 327 s/[ '"$tab"'][ '"$tab"']*/ /g 328 s/^ *// 329 s/ *\\*$// 330 s/^[^:]*: *// 331 /^$/d 332 /:$/d 333 s/$/ :/ 334 ' < "$tmpdepfile" >> "$depfile" 302 335 rm -f "$tmpdepfile" 303 336 ;; 304 337 … … 334 367 done 335 368 if test -f "$tmpdepfile"; then 336 369 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" 337 # Add `dependent.h:' lines.370 # Add 'dependent.h:' lines. 338 371 sed -ne '2,${ 339 372 s/^ *// 340 373 s/ \\*$// … … 349 382 350 383 tru64) 351 384 # The Tru64 compiler uses -MD to generate dependencies as a side 352 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.385 # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. 353 386 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put 354 # dependencies in `foo.d' instead, so we check for that too.387 # dependencies in 'foo.d' instead, so we check for that too. 355 388 # Subdirectories are respected. 356 389 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` 357 390 test "x$dir" = "x$object" && dir= … … 397 430 done 398 431 if test -f "$tmpdepfile"; then 399 432 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" 400 # That's a tab and a space in the []. 401 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 433 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 402 434 else 403 435 echo "#dummy" > "$depfile" 404 436 fi 405 437 rm -f "$tmpdepfile" 406 438 ;; 407 439 440 msvc7) 441 if test "$libtool" = yes; then 442 showIncludes=-Wc,-showIncludes 443 else 444 showIncludes=-showIncludes 445 fi 446 "$@" $showIncludes > "$tmpdepfile" 447 stat=$? 448 grep -v '^Note: including file: ' "$tmpdepfile" 449 if test "$stat" = 0; then : 450 else 451 rm -f "$tmpdepfile" 452 exit $stat 453 fi 454 rm -f "$depfile" 455 echo "$object : \\" > "$depfile" 456 # The first sed program below extracts the file names and escapes 457 # backslashes for cygpath. The second sed program outputs the file 458 # name when reading, but also accumulates all include files in the 459 # hold buffer in order to output them again at the end. This only 460 # works with sed implementations that can handle large buffers. 461 sed < "$tmpdepfile" -n ' 462 /^Note: including file: *\(.*\)/ { 463 s//\1/ 464 s/\\/\\\\/g 465 p 466 }' | $cygpath_u | sort -u | sed -n ' 467 s/ /\\ /g 468 s/\(.*\)/'"$tab"'\1 \\/p 469 s/.\(.*\) \\/\1:/ 470 H 471 $ { 472 s/.*/'"$tab"'/ 473 G 474 p 475 }' >> "$depfile" 476 rm -f "$tmpdepfile" 477 ;; 478 479 msvc7msys) 480 # This case exists only to let depend.m4 do its work. It works by 481 # looking at the text of this script. This case will never be run, 482 # since it is checked for above. 483 exit 1 484 ;; 485 408 486 #nosideeffect) 409 487 # This comment above is used by automake to tell side-effect 410 488 # dependency tracking mechanisms from slower ones. … … 422 500 shift 423 501 fi 424 502 425 # Remove `-o $object'.503 # Remove '-o $object'. 426 504 IFS=" " 427 505 for arg 428 506 do … … 442 520 done 443 521 444 522 test -z "$dashmflag" && dashmflag=-M 445 # Require at least two characters before searching for `:'523 # Require at least two characters before searching for ':' 446 524 # in the target name. This is to cope with DOS-style filenames: 447 # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.525 # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. 448 526 "$@" $dashmflag | 449 sed 's:^[ ]*[^: ][^:][^:]*\:[]*:'"$object"'\: :' > "$tmpdepfile"527 sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile" 450 528 rm -f "$depfile" 451 529 cat < "$tmpdepfile" > "$depfile" 452 tr ' ' ' 453 ' < "$tmpdepfile" | \ 530 tr ' ' "$nl" < "$tmpdepfile" | \ 454 531 ## Some versions of the HPUX 10.20 sed can't process this invocation 455 532 ## correctly. Breaking it into two sed invocations is a workaround. 456 533 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" … … 503 580 touch "$tmpdepfile" 504 581 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" 505 582 rm -f "$depfile" 506 cat < "$tmpdepfile" > "$depfile" 507 sed '1,2d' "$tmpdepfile" | tr ' ' ' 508 ' | \ 583 # makedepend may prepend the VPATH from the source file name to the object. 584 # No need to regex-escape $object, excess matching of '.' is harmless. 585 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" 586 sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ 509 587 ## Some versions of the HPUX 10.20 sed can't process this invocation 510 588 ## correctly. Breaking it into two sed invocations is a workaround. 511 589 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" … … 525 603 shift 526 604 fi 527 605 528 # Remove `-o $object'.606 # Remove '-o $object'. 529 607 IFS=" " 530 608 for arg 531 609 do … … 594 672 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" 595 673 rm -f "$depfile" 596 674 echo "$object : \\" > "$depfile" 597 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: 598 echo " 675 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" 676 echo "$tab" >> "$depfile" 599 677 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" 600 678 rm -f "$tmpdepfile" 601 679 ;; -
ufraw-0.19.2/install-sh
diff -ru ufraw-0.19.2/install-sh 0.19.2_1/ufraw-0.19.2/install-sh
old new 1 1 #!/bin/sh 2 2 # install - install a program, script, or datafile 3 3 4 scriptversion=20 09-04-28.21; # UTC4 scriptversion=2011-01-19.21; # UTC 5 5 6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was 7 7 # later released in X11R6 (xc/config/util/install.sh) with the … … 156 156 -s) stripcmd=$stripprog;; 157 157 158 158 -t) dst_arg=$2 159 # Protect names problematic for `test' and other utilities. 160 case $dst_arg in 161 -* | [=\(\)!]) dst_arg=./$dst_arg;; 162 esac 159 163 shift;; 160 164 161 165 -T) no_target_directory=true;; … … 186 190 fi 187 191 shift # arg 188 192 dst_arg=$arg 193 # Protect names problematic for `test' and other utilities. 194 case $dst_arg in 195 -* | [=\(\)!]) dst_arg=./$dst_arg;; 196 esac 189 197 done 190 198 fi 191 199 … … 200 208 fi 201 209 202 210 if test -z "$dir_arg"; then 203 trap '(exit $?); exit' 1 2 13 15 211 do_exit='(exit $ret); exit $ret' 212 trap "ret=129; $do_exit" 1 213 trap "ret=130; $do_exit" 2 214 trap "ret=141; $do_exit" 13 215 trap "ret=143; $do_exit" 15 204 216 205 217 # Set umask so as not to create temps with too-generous modes. 206 218 # However, 'strip' requires both read and write access to temps. … … 228 240 229 241 for src 230 242 do 231 # Protect names starting with `-'.243 # Protect names problematic for `test' and other utilities. 232 244 case $src in 233 -* ) src=./$src;;245 -* | [=\(\)!]) src=./$src;; 234 246 esac 235 247 236 248 if test -n "$dir_arg"; then … … 252 264 echo "$0: no destination specified." >&2 253 265 exit 1 254 266 fi 255 256 267 dst=$dst_arg 257 # Protect names starting with `-'.258 case $dst in259 -*) dst=./$dst;;260 esac261 268 262 269 # If destination is a directory, append the input filename; won't work 263 270 # if double slashes aren't ignored. … … 385 392 386 393 case $dstdir in 387 394 /*) prefix='/';; 388 -*) prefix='./';;395 [-=\(\)!]*) prefix='./';; 389 396 *) prefix='';; 390 397 esac 391 398 … … 403 410 404 411 for d 405 412 do 406 test -z "$d"&& continue413 test X"$d" = X && continue 407 414 408 415 prefix=$prefix$d 409 416 if test -d "$prefix"; then -
ufraw-0.19.2/missing
diff -ru ufraw-0.19.2/missing 0.19.2_1/ufraw-0.19.2/missing
old new 1 1 #! /bin/sh 2 2 # Common stub for a few missing GNU programs while installing. 3 3 4 scriptversion=20 09-04-28.21; # UTC4 scriptversion=2012-01-06.13; # UTC 5 5 6 6 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 7 # 2008, 2009 Free Software Foundation, Inc.7 # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. 8 8 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. 9 9 10 10 # This program is free software; you can redistribute it and/or modify … … 84 84 help2man touch the output file 85 85 lex create \`lex.yy.c', if possible, from existing .c 86 86 makeinfo touch the output file 87 tar try tar, gnutar, gtar, then tar without non-portable flags88 87 yacc create \`y.tab.[ch]', if possible, from existing .[ch] 89 88 90 89 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and … … 122 121 # Not GNU programs, they don't have --version. 123 122 ;; 124 123 125 tar*)126 if test -n "$run"; then127 echo 1>&2 "ERROR: \`tar' requires --run"128 exit 1129 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then130 exit 1131 fi132 ;;133 134 124 *) 135 125 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then 136 126 # We have it, but it failed. … … 226 216 \`Bison' from any GNU archive site." 227 217 rm -f y.tab.c y.tab.h 228 218 if test $# -ne 1; then 229 eval LASTARG= "\${$#}"219 eval LASTARG=\${$#} 230 220 case $LASTARG in 231 221 *.y) 232 222 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` … … 256 246 \`Flex' from any GNU archive site." 257 247 rm -f lex.yy.c 258 248 if test $# -ne 1; then 259 eval LASTARG= "\${$#}"249 eval LASTARG=\${$#} 260 250 case $LASTARG in 261 251 *.l) 262 252 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` … … 318 308 touch $file 319 309 ;; 320 310 321 tar*)322 shift323 324 # We have already tried tar in the generic part.325 # Look for gnutar/gtar before invocation to avoid ugly error326 # messages.327 if (gnutar --version > /dev/null 2>&1); then328 gnutar "$@" && exit 0329 fi330 if (gtar --version > /dev/null 2>&1); then331 gtar "$@" && exit 0332 fi333 firstarg="$1"334 if shift; then335 case $firstarg in336 *o*)337 firstarg=`echo "$firstarg" | sed s/o//`338 tar "$firstarg" "$@" && exit 0339 ;;340 esac341 case $firstarg in342 *h*)343 firstarg=`echo "$firstarg" | sed s/h//`344 tar "$firstarg" "$@" && exit 0345 ;;346 esac347 fi348 349 echo 1>&2 "\350 WARNING: I can't seem to be able to run \`tar' with the given arguments.351 You may want to install GNU tar or Free paxutils, or check the352 command line arguments."353 exit 1354 ;;355 356 311 *) 357 312 echo 1>&2 "\ 358 313 WARNING: \`$1' is needed, and is $msg.