masqmail

diff config.guess @ 1:af25f5c39d90

added diff from debian (masqmail-0.2.21-4)
author meillo@marmaro.de
date Fri, 26 Sep 2008 20:56:23 +0200
parents 08114f7dcc23
children
line diff
     1.1 --- a/config.guess	Fri Sep 26 17:05:23 2008 +0200
     1.2 +++ b/config.guess	Fri Sep 26 20:56:23 2008 +0200
     1.3 @@ -1,9 +1,10 @@
     1.4  #! /bin/sh
     1.5  # Attempt to guess a canonical system name.
     1.6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     1.7 -#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
     1.8 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
     1.9 +#   Inc.
    1.10  
    1.11 -timestamp='2005-08-03'
    1.12 +timestamp='2007-07-22'
    1.13  
    1.14  # This file is free software; you can redistribute it and/or modify it
    1.15  # under the terms of the GNU General Public License as published by
    1.16 @@ -106,7 +107,7 @@
    1.17  trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
    1.18  trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
    1.19  : ${TMPDIR=/tmp} ;
    1.20 - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
    1.21 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
    1.22   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
    1.23   { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
    1.24   { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
    1.25 @@ -160,6 +161,7 @@
    1.26  	    arm*) machine=arm-unknown ;;
    1.27  	    sh3el) machine=shl-unknown ;;
    1.28  	    sh3eb) machine=sh-unknown ;;
    1.29 +	    sh5el) machine=sh5le-unknown ;;
    1.30  	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
    1.31  	esac
    1.32  	# The Operating System including object format, if it has switched
    1.33 @@ -206,8 +208,11 @@
    1.34      *:ekkoBSD:*:*)
    1.35  	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
    1.36  	exit ;;
    1.37 +    *:SolidBSD:*:*)
    1.38 +	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
    1.39 +	exit ;;
    1.40      macppc:MirBSD:*:*)
    1.41 -	echo powerppc-unknown-mirbsd${UNAME_RELEASE}
    1.42 +	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
    1.43  	exit ;;
    1.44      *:MirBSD:*:*)
    1.45  	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
    1.46 @@ -325,7 +330,7 @@
    1.47      sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
    1.48  	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    1.49  	exit ;;
    1.50 -    i86pc:SunOS:5.*:*)
    1.51 +    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
    1.52  	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    1.53  	exit ;;
    1.54      sun4*:SunOS:6*:*)
    1.55 @@ -764,12 +769,19 @@
    1.56  	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    1.57  	exit ;;
    1.58      *:FreeBSD:*:*)
    1.59 -	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    1.60 +	case ${UNAME_MACHINE} in
    1.61 +	    pc98)
    1.62 +		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.63 +	    amd64)
    1.64 +		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.65 +	    *)
    1.66 +		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.67 +	esac
    1.68  	exit ;;
    1.69      i*:CYGWIN*:*)
    1.70  	echo ${UNAME_MACHINE}-pc-cygwin
    1.71  	exit ;;
    1.72 -    i*:MINGW*:*)
    1.73 +    *:MINGW*:*)
    1.74  	echo ${UNAME_MACHINE}-pc-mingw32
    1.75  	exit ;;
    1.76      i*:windows32*:*)
    1.77 @@ -779,9 +791,15 @@
    1.78      i*:PW*:*)
    1.79  	echo ${UNAME_MACHINE}-pc-pw32
    1.80  	exit ;;
    1.81 -    x86:Interix*:[34]*)
    1.82 -	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
    1.83 -	exit ;;
    1.84 +    *:Interix*:[3456]*)
    1.85 +    	case ${UNAME_MACHINE} in
    1.86 +	    x86)
    1.87 +		echo i586-pc-interix${UNAME_RELEASE}
    1.88 +		exit ;;
    1.89 +	    EM64T | authenticamd)
    1.90 +		echo x86_64-unknown-interix${UNAME_RELEASE}
    1.91 +		exit ;;
    1.92 +	esac ;;
    1.93      [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
    1.94  	echo i${UNAME_MACHINE}-pc-mks
    1.95  	exit ;;
    1.96 @@ -817,6 +835,9 @@
    1.97      arm*:Linux:*:*)
    1.98  	echo ${UNAME_MACHINE}-unknown-linux-gnu
    1.99  	exit ;;
   1.100 +    avr32*:Linux:*:*)
   1.101 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
   1.102 +	exit ;;
   1.103      cris:Linux:*:*)
   1.104  	echo cris-axis-linux-gnu
   1.105  	exit ;;
   1.106 @@ -851,7 +872,11 @@
   1.107  	#endif
   1.108  	#endif
   1.109  EOF
   1.110 -	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
   1.111 +	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
   1.112 +	    /^CPU/{
   1.113 +		s: ::g
   1.114 +		p
   1.115 +	    }'`"
   1.116  	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
   1.117  	;;
   1.118      mips64:Linux:*:*)
   1.119 @@ -870,7 +895,11 @@
   1.120  	#endif
   1.121  	#endif
   1.122  EOF
   1.123 -	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
   1.124 +	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
   1.125 +	    /^CPU/{
   1.126 +		s: ::g
   1.127 +		p
   1.128 +	    }'`"
   1.129  	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
   1.130  	;;
   1.131      or32:Linux:*:*)
   1.132 @@ -919,9 +948,15 @@
   1.133      sparc:Linux:*:* | sparc64:Linux:*:*)
   1.134  	echo ${UNAME_MACHINE}-unknown-linux-gnu
   1.135  	exit ;;
   1.136 +    vax:Linux:*:*)
   1.137 +	echo ${UNAME_MACHINE}-dec-linux-gnu
   1.138 +	exit ;;
   1.139      x86_64:Linux:*:*)
   1.140  	echo x86_64-unknown-linux-gnu
   1.141  	exit ;;
   1.142 +    xtensa:Linux:*:*)
   1.143 +    	echo xtensa-unknown-linux-gnu
   1.144 +	exit ;;
   1.145      i*86:Linux:*:*)
   1.146  	# The BFD linker knows what the default object file format is, so
   1.147  	# first see if it will tell us. cd to the root directory to prevent
   1.148 @@ -964,7 +999,7 @@
   1.149  	LIBC=gnulibc1
   1.150  	# endif
   1.151  	#else
   1.152 -	#ifdef __INTEL_COMPILER
   1.153 +	#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
   1.154  	LIBC=gnu
   1.155  	#else
   1.156  	LIBC=gnuaout
   1.157 @@ -974,7 +1009,11 @@
   1.158  	LIBC=dietlibc
   1.159  	#endif
   1.160  EOF
   1.161 -	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
   1.162 +	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
   1.163 +	    /^LIBC/{
   1.164 +		s: ::g
   1.165 +		p
   1.166 +	    }'`"
   1.167  	test x"${LIBC}" != x && {
   1.168  		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
   1.169  		exit
   1.170 @@ -1176,6 +1215,15 @@
   1.171      SX-6:SUPER-UX:*:*)
   1.172  	echo sx6-nec-superux${UNAME_RELEASE}
   1.173  	exit ;;
   1.174 +    SX-7:SUPER-UX:*:*)
   1.175 +	echo sx7-nec-superux${UNAME_RELEASE}
   1.176 +	exit ;;
   1.177 +    SX-8:SUPER-UX:*:*)
   1.178 +	echo sx8-nec-superux${UNAME_RELEASE}
   1.179 +	exit ;;
   1.180 +    SX-8R:SUPER-UX:*:*)
   1.181 +	echo sx8r-nec-superux${UNAME_RELEASE}
   1.182 +	exit ;;
   1.183      Power*:Rhapsody:*:*)
   1.184  	echo powerpc-apple-rhapsody${UNAME_RELEASE}
   1.185  	exit ;;
   1.186 @@ -1185,7 +1233,6 @@
   1.187      *:Darwin:*:*)
   1.188  	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
   1.189  	case $UNAME_PROCESSOR in
   1.190 -	    *86) UNAME_PROCESSOR=i686 ;;
   1.191  	    unknown) UNAME_PROCESSOR=powerpc ;;
   1.192  	esac
   1.193  	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
   1.194 @@ -1264,6 +1311,9 @@
   1.195      i*86:skyos:*:*)
   1.196  	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
   1.197  	exit ;;
   1.198 +    i*86:rdos:*:*)
   1.199 +	echo ${UNAME_MACHINE}-pc-rdos
   1.200 +	exit ;;
   1.201  esac
   1.202  
   1.203  #echo '(No uname command or uname output not recognized.)' 1>&2