Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 116439 | Differences between
and this patch

Collapse All | Expand All

(-)ez-ipupdate-3.0.11b8/aclocal.m4 (-40 / +19 lines)
Lines 1-7 Link Here
1
dnl aclocal.m4 generated automatically by aclocal 1.4-p6
1
dnl aclocal.m4 generated automatically by aclocal 1.3
2
2
3
dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
3
dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4
dnl This file is free software; the Free Software Foundation
4
dnl This Makefile.in is free software; the Free Software Foundation
5
dnl gives unlimited permission to copy and/or distribute it,
5
dnl gives unlimited permission to copy and/or distribute it,
6
dnl with or without modifications, as long as this notice is preserved.
6
dnl with or without modifications, as long as this notice is preserved.
7
7
Lines 12-18 Link Here
12
12
13
# Like AC_CONFIG_HEADER, but automatically create stamp file.
13
# Like AC_CONFIG_HEADER, but automatically create stamp file.
14
14
15
AC_DEFUN([AM_CONFIG_HEADER],
15
AC_DEFUN(AM_CONFIG_HEADER,
16
[AC_PREREQ([2.12])
16
[AC_PREREQ([2.12])
17
AC_CONFIG_HEADER([$1])
17
AC_CONFIG_HEADER([$1])
18
dnl When config.status generates a header, we must update the stamp-h file.
18
dnl When config.status generates a header, we must update the stamp-h file.
Lines 42-50 Link Here
42
dnl Usage:
42
dnl Usage:
43
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
43
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
44
44
45
AC_DEFUN([AM_INIT_AUTOMAKE],
45
AC_DEFUN(AM_INIT_AUTOMAKE,
46
[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
46
[AC_REQUIRE([AM_PROG_INSTALL])
47
AC_REQUIRE([AC_PROG_INSTALL])
48
PACKAGE=[$1]
47
PACKAGE=[$1]
49
AC_SUBST(PACKAGE)
48
AC_SUBST(PACKAGE)
50
VERSION=[$2]
49
VERSION=[$2]
Lines 54-106 Link Here
54
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
53
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
55
fi
54
fi
56
ifelse([$3],,
55
ifelse([$3],,
57
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
56
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
58
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
57
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
59
AC_REQUIRE([AM_SANITY_CHECK])
58
AC_REQUIRE([AM_SANITY_CHECK])
60
AC_REQUIRE([AC_ARG_PROGRAM])
59
AC_REQUIRE([AC_ARG_PROGRAM])
61
dnl FIXME This is truly gross.
60
dnl FIXME This is truly gross.
62
missing_dir=`cd $ac_aux_dir && pwd`
61
missing_dir=`cd $ac_aux_dir && pwd`
63
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
62
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
64
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
63
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
65
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
64
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
66
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
65
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
67
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
66
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
68
AC_REQUIRE([AC_PROG_MAKE_SET])])
67
AC_REQUIRE([AC_PROG_MAKE_SET])])
69
68
70
# Copyright 2002  Free Software Foundation, Inc.
71
69
72
# This program is free software; you can redistribute it and/or modify
70
# serial 1
73
# it under the terms of the GNU General Public License as published by
71
74
# the Free Software Foundation; either version 2, or (at your option)
72
AC_DEFUN(AM_PROG_INSTALL,
75
# any later version.
73
[AC_REQUIRE([AC_PROG_INSTALL])
76
74
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
77
# This program is distributed in the hope that it will be useful,
75
AC_SUBST(INSTALL_SCRIPT)dnl
78
# but WITHOUT ANY WARRANTY; without even the implied warranty of
76
])
79
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
80
# GNU General Public License for more details.
81
82
# You should have received a copy of the GNU General Public License
83
# along with this program; if not, write to the Free Software
84
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
85
86
# AM_AUTOMAKE_VERSION(VERSION)
87
# ----------------------------
88
# Automake X.Y traces this macro to ensure aclocal.m4 has been
89
# generated from the m4 files accompanying Automake X.Y.
90
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
91
92
# AM_SET_CURRENT_AUTOMAKE_VERSION
93
# -------------------------------
94
# Call AM_AUTOMAKE_VERSION so it can be traced.
95
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
96
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
97
	 [AM_AUTOMAKE_VERSION([1.4-p6])])
98
77
99
#
78
#
100
# Check to make sure that the build environment is sane.
79
# Check to make sure that the build environment is sane.
101
#
80
#
102
81
103
AC_DEFUN([AM_SANITY_CHECK],
82
AC_DEFUN(AM_SANITY_CHECK,
104
[AC_MSG_CHECKING([whether build environment is sane])
83
[AC_MSG_CHECKING([whether build environment is sane])
105
# Just in case
84
# Just in case
106
sleep 1
85
sleep 1
Lines 141-147 Link Here
141
120
142
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
121
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
143
dnl The program must properly implement --version.
122
dnl The program must properly implement --version.
144
AC_DEFUN([AM_MISSING_PROG],
123
AC_DEFUN(AM_MISSING_PROG,
145
[AC_MSG_CHECKING(for working $2)
124
[AC_MSG_CHECKING(for working $2)
146
# Run test in a subshell; some versions of sh will print an error if
125
# Run test in a subshell; some versions of sh will print an error if
147
# an executable is not found, even if stderr is redirected.
126
# an executable is not found, even if stderr is redirected.
(-)ez-ipupdate-3.0.11b8/config.guess (-821 / +302 lines)
Lines 1-10 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
# Attempt to guess a canonical system name.
2
# Attempt to guess a canonical system name.
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3
#   Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
4
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4
#
5
6
timestamp='2003-01-10'
7
8
# This file is free software; you can redistribute it and/or modify it
5
# This file is free software; you can redistribute it and/or modify it
9
# under the terms of the GNU General Public License as published by
6
# under the terms of the GNU General Public License as published by
10
# the Free Software Foundation; either version 2 of the License, or
7
# the Free Software Foundation; either version 2 of the License, or
Lines 24-243 Link Here
24
# configuration script generated by Autoconf, you may include it under
21
# configuration script generated by Autoconf, you may include it under
25
# the same distribution terms that you use for the rest of that program.
22
# the same distribution terms that you use for the rest of that program.
26
23
27
# Originally written by Per Bothner <per@bothner.com>.
24
# Written by Per Bothner <bothner@cygnus.com>.
28
# Please send patches to <config-patches@gnu.org>.  Submit a context
25
# The master version of this file is at the FSF in /home/gd/gnu/lib.
29
# diff and a properly formatted ChangeLog entry.
30
#
26
#
31
# This script attempts to guess a canonical system name similar to
27
# This script attempts to guess a canonical system name similar to
32
# config.sub.  If it succeeds, it prints the system name on stdout, and
28
# config.sub.  If it succeeds, it prints the system name on stdout, and
33
# exits with 0.  Otherwise, it exits with 1.
29
# exits with 0.  Otherwise, it exits with 1.
34
#
30
#
35
# The plan is that this can be called by configure scripts if you
31
# The plan is that this can be called by configure scripts if you
36
# don't specify an explicit build system type.
32
# don't specify an explicit system type (host/target name).
37
33
#
38
me=`echo "$0" | sed -e 's,.*/,,'`
34
# Only a few systems have been added to this list; please add others
39
35
# (but try to keep the structure clean).
40
usage="\
36
#
41
Usage: $0 [OPTION]
42
43
Output the configuration name of the system \`$me' is run on.
44
45
Operation modes:
46
  -h, --help         print this help, then exit
47
  -t, --time-stamp   print date of last modification, then exit
48
  -v, --version      print version number, then exit
49
50
Report bugs and patches to <config-patches@gnu.org>."
51
52
version="\
53
GNU config.guess ($timestamp)
54
55
Originally written by Per Bothner.
56
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
57
Free Software Foundation, Inc.
58
59
This is free software; see the source for copying conditions.  There is NO
60
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
61
62
help="
63
Try \`$me --help' for more information."
64
65
# Parse command line
66
while test $# -gt 0 ; do
67
  case $1 in
68
    --time-stamp | --time* | -t )
69
       echo "$timestamp" ; exit 0 ;;
70
    --version | -v )
71
       echo "$version" ; exit 0 ;;
72
    --help | --h* | -h )
73
       echo "$usage"; exit 0 ;;
74
    -- )     # Stop option processing
75
       shift; break ;;
76
    - )	# Use stdin as input.
77
       break ;;
78
    -* )
79
       echo "$me: invalid option $1$help" >&2
80
       exit 1 ;;
81
    * )
82
       break ;;
83
  esac
84
done
85
86
if test $# != 0; then
87
  echo "$me: too many arguments$help" >&2
88
  exit 1
89
fi
90
91
trap 'exit 1' 1 2 15
92
93
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
94
# compiler to aid in system detection is discouraged as it requires
95
# temporary files to be created and, as you can see below, it is a
96
# headache to deal with in a portable fashion.
97
98
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
99
# use `HOST_CC' if defined, but it is deprecated.
100
101
# Portable tmp directory creation inspired by the Autoconf team.
102
103
set_cc_for_build='
104
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
105
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
106
: ${TMPDIR=/tmp} ;
107
 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
108
 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
109
 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
110
dummy=$tmp/dummy ;
111
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
112
case $CC_FOR_BUILD,$HOST_CC,$CC in
113
 ,,)    echo "int x;" > $dummy.c ;
114
	for c in cc gcc c89 c99 ; do
115
	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
116
	     CC_FOR_BUILD="$c"; break ;
117
	  fi ;
118
	done ;
119
	if test x"$CC_FOR_BUILD" = x ; then
120
	  CC_FOR_BUILD=no_compiler_found ;
121
	fi
122
	;;
123
 ,,*)   CC_FOR_BUILD=$CC ;;
124
 ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
125
esac ;'
126
37
127
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
38
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
128
# (ghazi@noc.rutgers.edu 1994-08-24)
39
# (ghazi@noc.rutgers.edu 8/24/94.)
129
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
40
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130
	PATH=$PATH:/.attbin ; export PATH
41
	PATH=$PATH:/.attbin ; export PATH
131
fi
42
fi
132
43
133
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
44
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
134
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
45
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
135
UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
46
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
136
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
47
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
137
48
49
trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
50
138
# Note: order is significant - the case branches are not exclusive.
51
# Note: order is significant - the case branches are not exclusive.
139
52
140
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
53
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
141
    *:NetBSD:*:*)
142
	# NetBSD (nbsd) targets should (where applicable) match one or
143
	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
144
	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
145
	# switched to ELF, *-*-netbsd* would select the old
146
	# object file format.  This provides both forward
147
	# compatibility and a consistent mechanism for selecting the
148
	# object file format.
149
	#
150
	# Note: NetBSD doesn't particularly care about the vendor
151
	# portion of the name.  We always set it to "unknown".
152
	sysctl="sysctl -n hw.machine_arch"
153
	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
154
	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
155
	case "${UNAME_MACHINE_ARCH}" in
156
	    armeb) machine=armeb-unknown ;;
157
	    arm*) machine=arm-unknown ;;
158
	    sh3el) machine=shl-unknown ;;
159
	    sh3eb) machine=sh-unknown ;;
160
	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
161
	esac
162
	# The Operating System including object format, if it has switched
163
	# to ELF recently, or will in the future.
164
	case "${UNAME_MACHINE_ARCH}" in
165
	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
166
		eval $set_cc_for_build
167
		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
168
			| grep __ELF__ >/dev/null
169
		then
170
		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
171
		    # Return netbsd for either.  FIX?
172
		    os=netbsd
173
		else
174
		    os=netbsdelf
175
		fi
176
		;;
177
	    *)
178
	        os=netbsd
179
		;;
180
	esac
181
	# The OS release
182
	# Debian GNU/NetBSD machines have a different userland, and
183
	# thus, need a distinct triplet. However, they do not need
184
	# kernel version information, so it can be replaced with a
185
	# suitable tag, in the style of linux-gnu.
186
	case "${UNAME_VERSION}" in
187
	    Debian*)
188
		release='-gnu'
189
		;;
190
	    *)
191
		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
192
		;;
193
	esac
194
	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
195
	# contains redundant information, the shorter form:
196
	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
197
	echo "${machine}-${os}${release}"
198
	exit 0 ;;
199
    amiga:OpenBSD:*:*)
200
	echo m68k-unknown-openbsd${UNAME_RELEASE}
201
	exit 0 ;;
202
    arc:OpenBSD:*:*)
203
	echo mipsel-unknown-openbsd${UNAME_RELEASE}
204
	exit 0 ;;
205
    hp300:OpenBSD:*:*)
206
	echo m68k-unknown-openbsd${UNAME_RELEASE}
207
	exit 0 ;;
208
    mac68k:OpenBSD:*:*)
209
	echo m68k-unknown-openbsd${UNAME_RELEASE}
210
	exit 0 ;;
211
    macppc:OpenBSD:*:*)
212
	echo powerpc-unknown-openbsd${UNAME_RELEASE}
213
	exit 0 ;;
214
    mvme68k:OpenBSD:*:*)
215
	echo m68k-unknown-openbsd${UNAME_RELEASE}
216
	exit 0 ;;
217
    mvme88k:OpenBSD:*:*)
218
	echo m88k-unknown-openbsd${UNAME_RELEASE}
219
	exit 0 ;;
220
    mvmeppc:OpenBSD:*:*)
221
	echo powerpc-unknown-openbsd${UNAME_RELEASE}
222
	exit 0 ;;
223
    pmax:OpenBSD:*:*)
224
	echo mipsel-unknown-openbsd${UNAME_RELEASE}
225
	exit 0 ;;
226
    sgi:OpenBSD:*:*)
227
	echo mipseb-unknown-openbsd${UNAME_RELEASE}
228
	exit 0 ;;
229
    sun3:OpenBSD:*:*)
230
	echo m68k-unknown-openbsd${UNAME_RELEASE}
231
	exit 0 ;;
232
    wgrisc:OpenBSD:*:*)
233
	echo mipsel-unknown-openbsd${UNAME_RELEASE}
234
	exit 0 ;;
235
    *:OpenBSD:*:*)
236
	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
237
	exit 0 ;;
238
    *:MicroBSD:*:*)
239
	echo ${UNAME_MACHINE}-unknown-microbsd${UNAME_RELEASE}
240
	exit 0 ;;
241
    alpha:OSF1:*:*)
54
    alpha:OSF1:*:*)
242
	if test $UNAME_RELEASE = "V4.0"; then
55
	if test $UNAME_RELEASE = "V4.0"; then
243
		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
56
		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
Lines 246-336 Link Here
246
	# A Tn.n version is a released field test version.
59
	# A Tn.n version is a released field test version.
247
	# A Xn.n version is an unreleased experimental baselevel.
60
	# A Xn.n version is an unreleased experimental baselevel.
248
	# 1.2 uses "1.2" for uname -r.
61
	# 1.2 uses "1.2" for uname -r.
249
	eval $set_cc_for_build
62
	cat <<EOF >dummy.s
250
	cat <<EOF >$dummy.s
251
	.data
252
\$Lformat:
253
	.byte 37,100,45,37,120,10,0	# "%d-%x\n"
254
255
	.text
256
	.globl main
63
	.globl main
257
	.align 4
258
	.ent main
64
	.ent main
259
main:
65
main:
260
	.frame \$30,16,\$26,0
66
	.frame \$30,0,\$26,0
261
	ldgp \$29,0(\$27)
67
	.prologue 0
262
	.prologue 1
68
	.long 0x47e03d80 # implver $0
263
	.long 0x47e03d80 # implver \$0
69
	lda \$2,259
264
	lda \$2,-1
70
	.long 0x47e20c21 # amask $2,$1
265
	.long 0x47e20c21 # amask \$2,\$1
71
	srl \$1,8,\$2
266
	lda \$16,\$Lformat
72
	sll \$2,2,\$2
267
	mov \$0,\$17
73
	sll \$0,3,\$0
268
	not \$1,\$18
74
	addl \$1,\$0,\$0
269
	jsr \$26,printf
75
	addl \$2,\$0,\$0
270
	ldgp \$29,0(\$26)
76
	ret \$31,(\$26),1
271
	mov 0,\$16
272
	jsr \$26,exit
273
	.end main
77
	.end main
274
EOF
78
EOF
275
	$CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
79
	${CC-cc} dummy.s -o dummy 2>/dev/null
276
	if test "$?" = 0 ; then
80
	if test "$?" = 0 ; then
277
		case `$dummy` in
81
		./dummy
278
			0-0)
82
		case "$?" in
83
			7)
279
				UNAME_MACHINE="alpha"
84
				UNAME_MACHINE="alpha"
280
				;;
85
				;;
281
			1-0)
86
			15)
282
				UNAME_MACHINE="alphaev5"
87
				UNAME_MACHINE="alphaev5"
283
				;;
88
				;;
284
			1-1)
89
			14)
285
				UNAME_MACHINE="alphaev56"
90
				UNAME_MACHINE="alphaev56"
286
				;;
91
				;;
287
			1-101)
92
			10)
288
				UNAME_MACHINE="alphapca56"
93
				UNAME_MACHINE="alphapca56"
289
				;;
94
				;;
290
			2-303)
95
			16)
291
				UNAME_MACHINE="alphaev6"
96
				UNAME_MACHINE="alphaev6"
292
				;;
97
				;;
293
			2-307)
294
				UNAME_MACHINE="alphaev67"
295
				;;
296
			2-1307)
297
				UNAME_MACHINE="alphaev68"
298
				;;
299
			3-1307)
300
				UNAME_MACHINE="alphaev7"
301
				;;
302
		esac
98
		esac
303
	fi
99
	fi
304
	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
100
	rm -f dummy.s dummy
305
	exit 0 ;;
101
	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
306
    Alpha\ *:Windows_NT*:*)
307
	# How do we know it's Interix rather than the generic POSIX subsystem?
308
	# Should we change UNAME_MACHINE based on the output of uname instead
309
	# of the specific Alpha model?
310
	echo alpha-pc-interix
311
	exit 0 ;;
102
	exit 0 ;;
312
    21064:Windows_NT:50:3)
103
    21064:Windows_NT:50:3)
313
	echo alpha-dec-winnt3.5
104
	echo alpha-dec-winnt3.5
314
	exit 0 ;;
105
	exit 0 ;;
315
    Amiga*:UNIX_System_V:4.0:*)
106
    Amiga*:UNIX_System_V:4.0:*)
316
	echo m68k-unknown-sysv4
107
	echo m68k-cbm-sysv4
317
	exit 0;;
108
	exit 0;;
318
    *:[Aa]miga[Oo][Ss]:*:*)
109
    amiga:NetBSD:*:*)
319
	echo ${UNAME_MACHINE}-unknown-amigaos
110
      echo m68k-cbm-netbsd${UNAME_RELEASE}
111
      exit 0 ;;
112
    amiga:OpenBSD:*:*)
113
	echo m68k-unknown-openbsd${UNAME_RELEASE}
114
	exit 0 ;;
115
    arc64:OpenBSD:*:*)
116
	echo mips64el-unknown-openbsd${UNAME_RELEASE}
320
	exit 0 ;;
117
	exit 0 ;;
321
    *:[Mm]orph[Oo][Ss]:*:*)
118
    arc:OpenBSD:*:*)
322
	echo ${UNAME_MACHINE}-unknown-morphos
119
	echo mipsel-unknown-openbsd${UNAME_RELEASE}
323
	exit 0 ;;
120
	exit 0 ;;
324
    *:OS/390:*:*)
121
    hkmips:OpenBSD:*:*)
325
	echo i370-ibm-openedition
122
	echo mips-unknown-openbsd${UNAME_RELEASE}
123
	exit 0 ;;
124
    pmax:OpenBSD:*:*)
125
	echo mipsel-unknown-openbsd${UNAME_RELEASE}
126
	exit 0 ;;
127
    sgi:OpenBSD:*:*)
128
	echo mips-unknown-openbsd${UNAME_RELEASE}
129
	exit 0 ;;
130
    wgrisc:OpenBSD:*:*)
131
	echo mipsel-unknown-openbsd${UNAME_RELEASE}
326
	exit 0 ;;
132
	exit 0 ;;
327
    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
133
    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
328
	echo arm-acorn-riscix${UNAME_RELEASE}
134
	echo arm-acorn-riscix${UNAME_RELEASE}
329
	exit 0;;
135
	exit 0;;
330
    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
136
    arm32:NetBSD:*:*)
137
	echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
138
	exit 0 ;;
139
    SR2?01:HI-UX/MPP:*:*)
331
	echo hppa1.1-hitachi-hiuxmpp
140
	echo hppa1.1-hitachi-hiuxmpp
332
	exit 0;;
141
	exit 0;;
333
    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
142
    Pyramid*:OSx*:*:*|MIS*:OSx*:*:*)
334
	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
143
	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
335
	if test "`(/bin/universe) 2>/dev/null`" = att ; then
144
	if test "`(/bin/universe) 2>/dev/null`" = att ; then
336
		echo pyramid-pyramid-sysv3
145
		echo pyramid-pyramid-sysv3
Lines 338-353 Link Here
338
		echo pyramid-pyramid-bsd
147
		echo pyramid-pyramid-bsd
339
	fi
148
	fi
340
	exit 0 ;;
149
	exit 0 ;;
341
    NILE*:*:*:dcosx)
150
    NILE:*:*:dcosx)
342
	echo pyramid-pyramid-svr4
151
	echo pyramid-pyramid-svr4
343
	exit 0 ;;
152
	exit 0 ;;
344
    DRS?6000:UNIX_SV:4.2*:7*)
345
	case `/usr/bin/uname -p` in
346
	    sparc) echo sparc-icl-nx7 && exit 0 ;;
347
	esac ;;
348
    sun4H:SunOS:5.*:*)
349
	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
350
	exit 0 ;;
351
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
153
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
352
	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
154
	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
353
	exit 0 ;;
155
	exit 0 ;;
Lines 373-379 Link Here
373
	echo m68k-sun-sunos${UNAME_RELEASE}
175
	echo m68k-sun-sunos${UNAME_RELEASE}
374
	exit 0 ;;
176
	exit 0 ;;
375
    sun*:*:4.2BSD:*)
177
    sun*:*:4.2BSD:*)
376
	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
178
	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
377
	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
179
	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
378
	case "`/bin/arch`" in
180
	case "`/bin/arch`" in
379
	    sun3)
181
	    sun3)
Lines 387-418 Link Here
387
    aushp:SunOS:*:*)
189
    aushp:SunOS:*:*)
388
	echo sparc-auspex-sunos${UNAME_RELEASE}
190
	echo sparc-auspex-sunos${UNAME_RELEASE}
389
	exit 0 ;;
191
	exit 0 ;;
390
    # The situation for MiNT is a little confusing.  The machine name
192
    atari*:NetBSD:*:*)
391
    # can be virtually everything (everything which is not
193
	echo m68k-atari-netbsd${UNAME_RELEASE}
392
    # "atarist" or "atariste" at least should have a processor
393
    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
394
    # to the lowercase version "mint" (or "freemint").  Finally
395
    # the system name "TOS" denotes a system which is actually not
396
    # MiNT.  But MiNT is downward compatible to TOS, so this should
397
    # be no problem.
398
    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
399
        echo m68k-atari-mint${UNAME_RELEASE}
400
	exit 0 ;;
194
	exit 0 ;;
401
    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
195
    atari*:OpenBSD:*:*)
402
	echo m68k-atari-mint${UNAME_RELEASE}
196
	echo m68k-unknown-openbsd${UNAME_RELEASE}
403
        exit 0 ;;
197
	exit 0 ;;
404
    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
198
    sun3*:NetBSD:*:*)
405
        echo m68k-atari-mint${UNAME_RELEASE}
199
	echo m68k-sun-netbsd${UNAME_RELEASE}
200
	exit 0 ;;
201
    sun3*:OpenBSD:*:*)
202
	echo m68k-unknown-openbsd${UNAME_RELEASE}
203
	exit 0 ;;
204
    mac68k:NetBSD:*:*)
205
	echo m68k-apple-netbsd${UNAME_RELEASE}
206
	exit 0 ;;
207
    mac68k:OpenBSD:*:*)
208
	echo m68k-unknown-openbsd${UNAME_RELEASE}
209
	exit 0 ;;
210
    mvme68k:OpenBSD:*:*)
211
	echo m68k-unknown-openbsd${UNAME_RELEASE}
212
	exit 0 ;;
213
    mvme88k:OpenBSD:*:*)
214
	echo m88k-unknown-openbsd${UNAME_RELEASE}
406
	exit 0 ;;
215
	exit 0 ;;
407
    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
408
        echo m68k-milan-mint${UNAME_RELEASE}
409
        exit 0 ;;
410
    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
411
        echo m68k-hades-mint${UNAME_RELEASE}
412
        exit 0 ;;
413
    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
414
        echo m68k-unknown-mint${UNAME_RELEASE}
415
        exit 0 ;;
416
    powerpc:machten:*:*)
216
    powerpc:machten:*:*)
417
	echo powerpc-apple-machten${UNAME_RELEASE}
217
	echo powerpc-apple-machten${UNAME_RELEASE}
418
	exit 0 ;;
218
	exit 0 ;;
Lines 425-442 Link Here
425
    VAX*:ULTRIX*:*:*)
225
    VAX*:ULTRIX*:*:*)
426
	echo vax-dec-ultrix${UNAME_RELEASE}
226
	echo vax-dec-ultrix${UNAME_RELEASE}
427
	exit 0 ;;
227
	exit 0 ;;
428
    2020:CLIX:*:* | 2430:CLIX:*:*)
228
    2020:CLIX:*:*)
429
	echo clipper-intergraph-clix${UNAME_RELEASE}
229
	echo clipper-intergraph-clix${UNAME_RELEASE}
430
	exit 0 ;;
230
	exit 0 ;;
431
    mips:*:*:UMIPS | mips:*:*:RISCos)
231
    mips:*:*:UMIPS | mips:*:*:RISCos)
432
	eval $set_cc_for_build
232
	sed 's/^	//' << EOF >dummy.c
433
	sed 's/^	//' << EOF >$dummy.c
233
	int main (argc, argv) int argc; char **argv; {
434
#ifdef __cplusplus
435
#include <stdio.h>  /* for printf() prototype */
436
	int main (int argc, char *argv[]) {
437
#else
438
	int main (argc, argv) int argc; char *argv[]; {
439
#endif
440
	#if defined (host_mips) && defined (MIPSEB)
234
	#if defined (host_mips) && defined (MIPSEB)
441
	#if defined (SYSTYPE_SYSV)
235
	#if defined (SYSTYPE_SYSV)
442
	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
236
	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
Lines 451-470 Link Here
451
	  exit (-1);
245
	  exit (-1);
452
	}
246
	}
453
EOF
247
EOF
454
	$CC_FOR_BUILD -o $dummy $dummy.c \
248
	${CC-cc} dummy.c -o dummy \
455
	  && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
249
	  && ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
456
	  && exit 0
250
	  && rm dummy.c dummy && exit 0
251
	rm -f dummy.c dummy
457
	echo mips-mips-riscos${UNAME_RELEASE}
252
	echo mips-mips-riscos${UNAME_RELEASE}
458
	exit 0 ;;
253
	exit 0 ;;
459
    Motorola:PowerMAX_OS:*:*)
460
	echo powerpc-motorola-powermax
461
	exit 0 ;;
462
    Motorola:*:4.3:PL8-*)
463
	echo powerpc-harris-powermax
464
	exit 0 ;;
465
    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
466
	echo powerpc-harris-powermax
467
	exit 0 ;;
468
    Night_Hawk:Power_UNIX:*:*)
254
    Night_Hawk:Power_UNIX:*:*)
469
	echo powerpc-harris-powerunix
255
	echo powerpc-harris-powerunix
470
	exit 0 ;;
256
	exit 0 ;;
Lines 480-497 Link Here
480
    AViiON:dgux:*:*)
266
    AViiON:dgux:*:*)
481
        # DG/UX returns AViiON for all architectures
267
        # DG/UX returns AViiON for all architectures
482
        UNAME_PROCESSOR=`/usr/bin/uname -p`
268
        UNAME_PROCESSOR=`/usr/bin/uname -p`
483
	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
269
        if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
484
	then
270
	if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
485
	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
271
	     -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
486
	       [ ${TARGET_BINARY_INTERFACE}x = x ]
487
	    then
488
		echo m88k-dg-dgux${UNAME_RELEASE}
272
		echo m88k-dg-dgux${UNAME_RELEASE}
489
	    else
490
		echo m88k-dg-dguxbcs${UNAME_RELEASE}
491
	    fi
492
	else
273
	else
493
	    echo i586-dg-dgux${UNAME_RELEASE}
274
		echo m88k-dg-dguxbcs${UNAME_RELEASE}
494
	fi
275
	fi
276
        else echo i586-dg-dgux${UNAME_RELEASE}
277
        fi
495
 	exit 0 ;;
278
 	exit 0 ;;
496
    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
279
    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
497
	echo m88k-dolphin-sysv3
280
	echo m88k-dolphin-sysv3
Lines 512-532 Link Here
512
    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
295
    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
513
	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
296
	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
514
	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
297
	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
515
    i*86:AIX:*:*)
298
    i?86:AIX:*:*)
516
	echo i386-ibm-aix
299
	echo i386-ibm-aix
517
	exit 0 ;;
300
	exit 0 ;;
518
    ia64:AIX:*:*)
519
	if [ -x /usr/bin/oslevel ] ; then
520
		IBM_REV=`/usr/bin/oslevel`
521
	else
522
		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
523
	fi
524
	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
525
	exit 0 ;;
526
    *:AIX:2:3)
301
    *:AIX:2:3)
527
	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
302
	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
528
		eval $set_cc_for_build
303
		sed 's/^		//' << EOF >dummy.c
529
		sed 's/^		//' << EOF >$dummy.c
530
		#include <sys/systemcfg.h>
304
		#include <sys/systemcfg.h>
531
305
532
		main()
306
		main()
Lines 537-543 Link Here
537
			exit(0);
311
			exit(0);
538
			}
312
			}
539
EOF
313
EOF
540
		$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
314
		${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
315
		rm -f dummy.c dummy
541
		echo rs6000-ibm-aix3.2.5
316
		echo rs6000-ibm-aix3.2.5
542
	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
317
	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
543
		echo rs6000-ibm-aix3.2.4
318
		echo rs6000-ibm-aix3.2.4
Lines 545-553 Link Here
545
		echo rs6000-ibm-aix3.2
320
		echo rs6000-ibm-aix3.2
546
	fi
321
	fi
547
	exit 0 ;;
322
	exit 0 ;;
548
    *:AIX:*:[45])
323
    *:AIX:*:4)
549
	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
324
	if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
550
	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
551
		IBM_ARCH=rs6000
325
		IBM_ARCH=rs6000
552
	else
326
	else
553
		IBM_ARCH=powerpc
327
		IBM_ARCH=powerpc
Lines 555-561 Link Here
555
	if [ -x /usr/bin/oslevel ] ; then
329
	if [ -x /usr/bin/oslevel ] ; then
556
		IBM_REV=`/usr/bin/oslevel`
330
		IBM_REV=`/usr/bin/oslevel`
557
	else
331
	else
558
		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
332
		IBM_REV=4.${UNAME_RELEASE}
559
	fi
333
	fi
560
	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
334
	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
561
	exit 0 ;;
335
	exit 0 ;;
Lines 565-571 Link Here
565
    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
339
    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
566
	echo romp-ibm-bsd4.4
340
	echo romp-ibm-bsd4.4
567
	exit 0 ;;
341
	exit 0 ;;
568
    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
342
    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC NetBSD and
569
	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
343
	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
570
	exit 0 ;;                           # report: romp-ibm BSD 4.3
344
	exit 0 ;;                           # report: romp-ibm BSD 4.3
571
    *:BOSX:*:*)
345
    *:BOSX:*:*)
Lines 580-664 Link Here
580
    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
354
    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
581
	echo m68k-hp-bsd4.4
355
	echo m68k-hp-bsd4.4
582
	exit 0 ;;
356
	exit 0 ;;
583
    9000/[34678]??:HP-UX:*:*)
357
    9000/[3478]??:HP-UX:*:*)
584
	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
585
	case "${UNAME_MACHINE}" in
358
	case "${UNAME_MACHINE}" in
586
	    9000/31? )            HP_ARCH=m68000 ;;
359
	    9000/31? )            HP_ARCH=m68000 ;;
587
	    9000/[34]?? )         HP_ARCH=m68k ;;
360
	    9000/[34]?? )         HP_ARCH=m68k ;;
588
	    9000/[678][0-9][0-9])
361
	    9000/7?? | 9000/8?[1679] ) HP_ARCH=hppa1.1 ;;
589
		if [ -x /usr/bin/getconf ]; then
362
	    9000/8?? )            HP_ARCH=hppa1.0 ;;
590
		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
591
                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
592
                    case "${sc_cpu_version}" in
593
                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
594
                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
595
                      532)                      # CPU_PA_RISC2_0
596
                        case "${sc_kernel_bits}" in
597
                          32) HP_ARCH="hppa2.0n" ;;
598
                          64) HP_ARCH="hppa2.0w" ;;
599
			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
600
                        esac ;;
601
                    esac
602
		fi
603
		if [ "${HP_ARCH}" = "" ]; then
604
		    eval $set_cc_for_build
605
		    sed 's/^              //' << EOF >$dummy.c
606
607
              #define _HPUX_SOURCE
608
              #include <stdlib.h>
609
              #include <unistd.h>
610
611
              int main ()
612
              {
613
              #if defined(_SC_KERNEL_BITS)
614
                  long bits = sysconf(_SC_KERNEL_BITS);
615
              #endif
616
                  long cpu  = sysconf (_SC_CPU_VERSION);
617
618
                  switch (cpu)
619
              	{
620
              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
621
              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
622
              	case CPU_PA_RISC2_0:
623
              #if defined(_SC_KERNEL_BITS)
624
              	    switch (bits)
625
              		{
626
              		case 64: puts ("hppa2.0w"); break;
627
              		case 32: puts ("hppa2.0n"); break;
628
              		default: puts ("hppa2.0"); break;
629
              		} break;
630
              #else  /* !defined(_SC_KERNEL_BITS) */
631
              	    puts ("hppa2.0"); break;
632
              #endif
633
              	default: puts ("hppa1.0"); break;
634
              	}
635
                  exit (0);
636
              }
637
EOF
638
		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
639
		    test -z "$HP_ARCH" && HP_ARCH=hppa
640
		fi ;;
641
	esac
363
	esac
642
	if [ ${HP_ARCH} = "hppa2.0w" ]
643
	then
644
	    # avoid double evaluation of $set_cc_for_build
645
	    test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
646
	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
647
	    then
648
		HP_ARCH="hppa2.0w"
649
	    else
650
		HP_ARCH="hppa64"
651
	    fi
652
	fi
653
	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
654
	exit 0 ;;
655
    ia64:HP-UX:*:*)
656
	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
364
	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
657
	echo ia64-hp-hpux${HPUX_REV}
365
	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
658
	exit 0 ;;
366
	exit 0 ;;
659
    3050*:HI-UX:*:*)
367
    3050*:HI-UX:*:*)
660
	eval $set_cc_for_build
368
	sed 's/^	//' << EOF >dummy.c
661
	sed 's/^	//' << EOF >$dummy.c
662
	#include <unistd.h>
369
	#include <unistd.h>
663
	int
370
	int
664
	main ()
371
	main ()
Lines 683-689 Link Here
683
	  exit (0);
390
	  exit (0);
684
	}
391
	}
685
EOF
392
EOF
686
	$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
393
	${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
394
	rm -f dummy.c dummy
687
	echo unknown-hitachi-hiuxwe2
395
	echo unknown-hitachi-hiuxwe2
688
	exit 0 ;;
396
	exit 0 ;;
689
    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
397
    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
Lines 692-707 Link Here
692
    9000/8??:4.3bsd:*:*)
400
    9000/8??:4.3bsd:*:*)
693
	echo hppa1.0-hp-bsd
401
	echo hppa1.0-hp-bsd
694
	exit 0 ;;
402
	exit 0 ;;
695
    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
696
	echo hppa1.0-hp-mpeix
697
	exit 0 ;;
698
    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
403
    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
699
	echo hppa1.1-hp-osf
404
	echo hppa1.1-hp-osf
700
	exit 0 ;;
405
	exit 0 ;;
701
    hp8??:OSF1:*:*)
406
    hp8??:OSF1:*:*)
702
	echo hppa1.0-hp-osf
407
	echo hppa1.0-hp-osf
703
	exit 0 ;;
408
	exit 0 ;;
704
    i*86:OSF1:*:*)
409
    i?86:OSF1:*:*)
705
	if [ -x /usr/sbin/sysversion ] ; then
410
	if [ -x /usr/sbin/sysversion ] ; then
706
	    echo ${UNAME_MACHINE}-unknown-osf1mk
411
	    echo ${UNAME_MACHINE}-unknown-osf1mk
707
	else
412
	else
Lines 729-810 Link Here
729
    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
434
    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
730
	echo c4-convex-bsd
435
	echo c4-convex-bsd
731
        exit 0 ;;
436
        exit 0 ;;
437
    CRAY*X-MP:*:*:*)
438
	echo xmp-cray-unicos
439
        exit 0 ;;
732
    CRAY*Y-MP:*:*:*)
440
    CRAY*Y-MP:*:*:*)
733
	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
441
	echo ymp-cray-unicos${UNAME_RELEASE}
734
	exit 0 ;;
442
	exit 0 ;;
735
    CRAY*[A-Z]90:*:*:*)
443
    CRAY*[A-Z]90:*:*:*)
736
	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
444
	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
737
	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
445
	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
738
	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
446
	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
739
	      -e 's/\.[^.]*$/.X/'
740
	exit 0 ;;
447
	exit 0 ;;
741
    CRAY*TS:*:*:*)
448
    CRAY*TS:*:*:*)
742
	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
449
	echo t90-cray-unicos${UNAME_RELEASE}
743
	exit 0 ;;
744
    CRAY*T3E:*:*:*)
745
	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
746
	exit 0 ;;
450
	exit 0 ;;
747
    CRAY*SV1:*:*:*)
451
    CRAY-2:*:*:*)
748
	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
452
	echo cray2-cray-unicos
749
	exit 0 ;;
453
        exit 0 ;;
750
    *:UNICOS/mp:*:*)
454
    F300:UNIX_System_V:*:*)
751
	echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
455
        FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'`
752
	exit 0 ;;
753
    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
754
	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
755
        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
756
        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
456
        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
757
        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
457
        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
758
        exit 0 ;;
458
        exit 0 ;;
759
    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
459
    F301:UNIX_System_V:*:*)
760
	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
460
       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
461
       exit 0 ;;
462
    hp3[0-9][05]:NetBSD:*:*)
463
	echo m68k-hp-netbsd${UNAME_RELEASE}
761
	exit 0 ;;
464
	exit 0 ;;
762
    sparc*:BSD/OS:*:*)
465
    hp300:OpenBSD:*:*)
763
	echo sparc-unknown-bsdi${UNAME_RELEASE}
466
	echo m68k-unknown-openbsd${UNAME_RELEASE}
764
	exit 0 ;;
467
	exit 0 ;;
765
    *:BSD/OS:*:*)
468
    i?86:BSD/386:*:* | *:BSD/OS:*:*)
766
	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
469
	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
767
	exit 0 ;;
470
	exit 0 ;;
768
    *:FreeBSD:*:*)
471
    *:FreeBSD:*:*)
769
	# Determine whether the default compiler uses glibc.
472
	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
770
	eval $set_cc_for_build
473
	exit 0 ;;
771
	sed 's/^	//' << EOF >$dummy.c
474
    *:NetBSD:*:*)
772
	#include <features.h>
475
	echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
773
	#if __GLIBC__ >= 2
476
	exit 0 ;;
774
	LIBC=gnu
477
    *:OpenBSD:*:*)
775
	#else
478
	echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
776
	LIBC=
777
	#endif
778
EOF
779
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
780
	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
781
	exit 0 ;;
479
	exit 0 ;;
782
    i*:CYGWIN*:*)
480
    i*:CYGWIN*:*)
783
	echo ${UNAME_MACHINE}-pc-cygwin
481
	echo ${UNAME_MACHINE}-pc-cygwin32
784
	exit 0 ;;
482
	exit 0 ;;
785
    i*:MINGW*:*)
483
    i*:MINGW*:*)
786
	echo ${UNAME_MACHINE}-pc-mingw32
484
	echo ${UNAME_MACHINE}-pc-mingw32
787
	exit 0 ;;
485
	exit 0 ;;
788
    i*:PW*:*)
789
	echo ${UNAME_MACHINE}-pc-pw32
790
	exit 0 ;;
791
    x86:Interix*:3*)
792
	echo i586-pc-interix3
793
	exit 0 ;;
794
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
795
	echo i${UNAME_MACHINE}-pc-mks
796
	exit 0 ;;
797
    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
798
	# How do we know it's Interix rather than the generic POSIX subsystem?
799
	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
800
	# UNAME_MACHINE based on the output of uname instead of i386?
801
	echo i586-pc-interix
802
	exit 0 ;;
803
    i*:UWIN*:*)
804
	echo ${UNAME_MACHINE}-pc-uwin
805
	exit 0 ;;
806
    p*:CYGWIN*:*)
486
    p*:CYGWIN*:*)
807
	echo powerpcle-unknown-cygwin
487
	echo powerpcle-unknown-cygwin32
808
	exit 0 ;;
488
	exit 0 ;;
809
    prep*:SunOS:5.*:*)
489
    prep*:SunOS:5.*:*)
810
	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
490
	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
Lines 812-970 Link Here
812
    *:GNU:*:*)
492
    *:GNU:*:*)
813
	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
493
	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
814
	exit 0 ;;
494
	exit 0 ;;
815
    i*86:Minix:*:*)
495
    *:Linux:*:*)
816
	echo ${UNAME_MACHINE}-pc-minix
496
	# uname on the ARM produces all sorts of strangeness, and we need to
817
	exit 0 ;;
497
	# filter it out.
818
    arm*:Linux:*:*)
498
	case "$UNAME_MACHINE" in
819
	echo ${UNAME_MACHINE}-unknown-linux-gnu
499
	  arm* | sa110*)	      UNAME_MACHINE="arm" ;;
820
	exit 0 ;;
821
    ia64:Linux:*:*)
822
	echo ${UNAME_MACHINE}-unknown-linux-gnu
823
	exit 0 ;;
824
    m68*:Linux:*:*)
825
	echo ${UNAME_MACHINE}-unknown-linux-gnu
826
	exit 0 ;;
827
    mips:Linux:*:*)
828
	eval $set_cc_for_build
829
	sed 's/^	//' << EOF >$dummy.c
830
	#undef CPU
831
	#undef mips
832
	#undef mipsel
833
	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
834
	CPU=mipsel
835
	#else
836
	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
837
	CPU=mips
838
	#else
839
	CPU=
840
	#endif
841
	#endif
842
EOF
843
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
844
	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
845
	;;
846
    mips64:Linux:*:*)
847
	eval $set_cc_for_build
848
	sed 's/^	//' << EOF >$dummy.c
849
	#undef CPU
850
	#undef mips64
851
	#undef mips64el
852
	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
853
	CPU=mips64el
854
	#else
855
	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
856
	CPU=mips64
857
	#else
858
	CPU=
859
	#endif
860
	#endif
861
EOF
862
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
863
	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
864
	;;
865
    ppc:Linux:*:*)
866
	echo powerpc-unknown-linux-gnu
867
	exit 0 ;;
868
    ppc64:Linux:*:*)
869
	echo powerpc64-unknown-linux-gnu
870
	exit 0 ;;
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 ld.so.1 >/dev/null
882
	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
883
	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
884
	exit 0 ;;
885
    parisc:Linux:*:* | hppa:Linux:*:*)
886
	# Look for CPU level
887
	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
888
	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
889
	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
890
	  *)    echo hppa-unknown-linux-gnu ;;
891
	esac
500
	esac
892
	exit 0 ;;
501
893
    parisc64:Linux:*:* | hppa64:Linux:*:*)
894
	echo hppa64-unknown-linux-gnu
895
	exit 0 ;;
896
    s390:Linux:*:* | s390x:Linux:*:*)
897
	echo ${UNAME_MACHINE}-ibm-linux
898
	exit 0 ;;
899
    sh*:Linux:*:*)
900
	echo ${UNAME_MACHINE}-unknown-linux-gnu
901
	exit 0 ;;
902
    sparc:Linux:*:* | sparc64:Linux:*:*)
903
	echo ${UNAME_MACHINE}-unknown-linux-gnu
904
	exit 0 ;;
905
    x86_64:Linux:*:*)
906
	echo x86_64-unknown-linux-gnu
907
	exit 0 ;;
908
    i*86:Linux:*:*)
909
	# The BFD linker knows what the default object file format is, so
502
	# The BFD linker knows what the default object file format is, so
910
	# first see if it will tell us. cd to the root directory to prevent
503
	# first see if it will tell us.
911
	# problems with other programs or directories called `ld' in the path.
504
	ld_help_string=`ld --help 2>&1`
912
	# Set LC_ALL=C to ensure ld outputs messages in English.
505
	ld_supported_emulations=`echo $ld_help_string \
913
	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
506
			 | sed -ne '/supported emulations:/!d
914
			 | sed -ne '/supported targets:/!d
915
				    s/[ 	][ 	]*/ /g
507
				    s/[ 	][ 	]*/ /g
916
				    s/.*supported targets: *//
508
				    s/.*supported emulations: *//
917
				    s/ .*//
509
				    s/ .*//
918
				    p'`
510
				    p'`
919
        case "$ld_supported_targets" in
511
        case "$ld_supported_emulations" in
920
	  elf32-i386)
512
	  i?86linux)  echo "${UNAME_MACHINE}-pc-linux-gnuaout"      ; exit 0 ;;
921
		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
513
	  i?86coff)   echo "${UNAME_MACHINE}-pc-linux-gnucoff"      ; exit 0 ;;
922
		;;
514
	  sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
923
	  a.out-i386-linux)
515
	  armlinux)   echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
924
		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
516
	  m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
925
		exit 0 ;;
517
	  elf32ppc)   echo "powerpc-unknown-linux-gnu"              ; exit 0 ;;
926
	  coff-i386)
927
		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
928
		exit 0 ;;
929
	  "")
930
		# Either a pre-BFD a.out linker (linux-gnuoldld) or
931
		# one that does not give us useful --help.
932
		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
933
		exit 0 ;;
934
	esac
518
	esac
935
	# Determine whether the default compiler is a.out or elf
519
936
	eval $set_cc_for_build
520
	if test "${UNAME_MACHINE}" = "alpha" ; then
937
	sed 's/^	//' << EOF >$dummy.c
521
		sed 's/^	//'  <<EOF >dummy.s
938
	#include <features.h>
522
		.globl main
939
	#ifdef __ELF__
523
		.ent main
940
	# ifdef __GLIBC__
524
	main:
941
	#  if __GLIBC__ >= 2
525
		.frame \$30,0,\$26,0
942
	LIBC=gnu
526
		.prologue 0
943
	#  else
527
		.long 0x47e03d80 # implver $0
944
	LIBC=gnulibc1
528
		lda \$2,259
945
	#  endif
529
		.long 0x47e20c21 # amask $2,$1
946
	# else
530
		srl \$1,8,\$2
947
	LIBC=gnulibc1
531
		sll \$2,2,\$2
948
	# endif
532
		sll \$0,3,\$0
949
	#else
533
		addl \$1,\$0,\$0
950
	#ifdef __INTEL_COMPILER
534
		addl \$2,\$0,\$0
951
	LIBC=gnu
535
		ret \$31,(\$26),1
952
	#else
536
		.end main
953
	LIBC=gnuaout
537
EOF
954
	#endif
538
		LIBC=""
955
	#endif
539
		${CC-cc} dummy.s -o dummy 2>/dev/null
540
		if test "$?" = 0 ; then
541
			./dummy
542
			case "$?" in
543
			7)
544
				UNAME_MACHINE="alpha"
545
				;;
546
			15)
547
				UNAME_MACHINE="alphaev5"
548
				;;
549
			14)
550
				UNAME_MACHINE="alphaev56"
551
				;;
552
			10)
553
				UNAME_MACHINE="alphapca56"
554
				;;
555
			16)
556
				UNAME_MACHINE="alphaev6"
557
				;;
558
			esac	
559
560
			objdump --private-headers dummy | \
561
			  grep ld.so.1 > /dev/null
562
			if test "$?" = 0 ; then
563
				LIBC="libc1"
564
			fi
565
		fi	
566
		rm -f dummy.s dummy
567
		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
568
	elif test "${UNAME_MACHINE}" = "mips" ; then
569
	  cat >dummy.c <<EOF
570
main(argc, argv)
571
     int argc;
572
     char *argv[];
573
{
574
#ifdef __MIPSEB__
575
  printf ("%s-unknown-linux-gnu\n", argv[1]);
576
#endif
577
#ifdef __MIPSEL__
578
  printf ("%sel-unknown-linux-gnu\n", argv[1]);
579
#endif
580
  return 0;
581
}
582
EOF
583
	  ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
584
	  rm -f dummy.c dummy
585
	else
586
	  # Either a pre-BFD a.out linker (linux-gnuoldld)
587
	  # or one that does not give us useful --help.
588
	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
589
	  # If ld does not provide *any* "supported emulations:"
590
	  # that means it is gnuoldld.
591
	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
592
	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
593
594
	  case "${UNAME_MACHINE}" in
595
	  i?86)
596
	    VENDOR=pc;
597
	    ;;
598
	  *)
599
	    VENDOR=unknown;
600
	    ;;
601
	  esac
602
	  # Determine whether the default compiler is a.out or elf
603
	  cat >dummy.c <<EOF
604
#include <features.h>
605
main(argc, argv)
606
     int argc;
607
     char *argv[];
608
{
609
#ifdef __ELF__
610
# ifdef __GLIBC__
611
#  if __GLIBC__ >= 2
612
    printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
613
#  else
614
    printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
615
#  endif
616
# else
617
   printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
618
# endif
619
#else
620
  printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
621
#endif
622
  return 0;
623
}
956
EOF
624
EOF
957
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
625
	  ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
958
	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
626
	  rm -f dummy.c dummy
959
	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
627
	fi ;;
960
	;;
628
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
961
    i*86:DYNIX/ptx:4*:*)
629
# are messed up and put the nodename in both sysname and nodename.
962
	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
630
    i?86:DYNIX/ptx:4*:*)
963
	# earlier versions are messed up and put the nodename in both
964
	# sysname and nodename.
965
	echo i386-sequent-sysv4
631
	echo i386-sequent-sysv4
966
	exit 0 ;;
632
	exit 0 ;;
967
    i*86:UNIX_SV:4.2MP:2.*)
633
    i?86:UNIX_SV:4.2MP:2.*)
968
        # Unixware is an offshoot of SVR4, but it has its own version
634
        # Unixware is an offshoot of SVR4, but it has its own version
969
        # number series starting with 2...
635
        # number series starting with 2...
970
        # I am not positive that other SVR4 systems won't match this,
636
        # I am not positive that other SVR4 systems won't match this,
Lines 972-1030 Link Here
972
        # Use sysv4.2uw... so that sysv4* matches it.
638
        # Use sysv4.2uw... so that sysv4* matches it.
973
	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
639
	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
974
	exit 0 ;;
640
	exit 0 ;;
975
    i*86:OS/2:*:*)
641
    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
976
	# If we were able to find `uname', then EMX Unix compatibility
977
	# is probably installed.
978
	echo ${UNAME_MACHINE}-pc-os2-emx
979
	exit 0 ;;
980
    i*86:XTS-300:*:STOP)
981
	echo ${UNAME_MACHINE}-unknown-stop
982
	exit 0 ;;
983
    i*86:atheos:*:*)
984
	echo ${UNAME_MACHINE}-unknown-atheos
985
	exit 0 ;;
986
    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
987
	echo i386-unknown-lynxos${UNAME_RELEASE}
988
	exit 0 ;;
989
    i*86:*DOS:*:*)
990
	echo ${UNAME_MACHINE}-pc-msdosdjgpp
991
	exit 0 ;;
992
    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
993
	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
994
	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
642
	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
995
		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
643
		echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
996
	else
644
	else
997
		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
645
		echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
998
	fi
646
	fi
999
	exit 0 ;;
647
	exit 0 ;;
1000
    i*86:*:5:[78]*)
648
    i?86:*:3.2:*)
1001
	case `/bin/uname -X | grep "^Machine"` in
1002
	    *486*)	     UNAME_MACHINE=i486 ;;
1003
	    *Pentium)	     UNAME_MACHINE=i586 ;;
1004
	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1005
	esac
1006
	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1007
	exit 0 ;;
1008
    i*86:*:3.2:*)
1009
	if test -f /usr/options/cb.name; then
649
	if test -f /usr/options/cb.name; then
1010
		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
650
		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1011
		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
651
		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1012
	elif /bin/uname -X 2>/dev/null >/dev/null ; then
652
	elif /bin/uname -X 2>/dev/null >/dev/null ; then
1013
		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
653
		UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
1014
		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
654
		(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
1015
		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
655
		(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
1016
			&& UNAME_MACHINE=i586
656
			&& UNAME_MACHINE=i586
1017
		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1018
			&& UNAME_MACHINE=i686
1019
		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1020
			&& UNAME_MACHINE=i686
1021
		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
657
		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1022
	else
658
	else
1023
		echo ${UNAME_MACHINE}-pc-sysv32
659
		echo ${UNAME_MACHINE}-pc-sysv32
1024
	fi
660
	fi
1025
	exit 0 ;;
661
	exit 0 ;;
1026
    pc:*:*:*)
662
    pc:*:*:*)
1027
	# Left here for compatibility:
1028
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
663
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1029
        # the processor, so we play safe by assuming i386.
664
        # the processor, so we play safe by assuming i386.
1030
	echo i386-pc-msdosdjgpp
665
	echo i386-pc-msdosdjgpp
Lines 1046-1060 Link Here
1046
	# "miniframe"
681
	# "miniframe"
1047
	echo m68010-convergent-sysv
682
	echo m68010-convergent-sysv
1048
	exit 0 ;;
683
	exit 0 ;;
1049
    mc68k:UNIX:SYSTEM5:3.51m)
1050
	echo m68k-convergent-sysv
1051
	exit 0 ;;
1052
    M680?0:D-NIX:5.3:*)
1053
	echo m68k-diab-dnix
1054
	exit 0 ;;
1055
    M68*:*:R3V[567]*:*)
684
    M68*:*:R3V[567]*:*)
1056
	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
685
	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1057
    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0)
686
    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
1058
	OS_REL=''
687
	OS_REL=''
1059
	test -r /etc/.relid \
688
	test -r /etc/.relid \
1060
	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
689
	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
Lines 1065-1091 Link Here
1065
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
694
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1066
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
695
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1067
          && echo i486-ncr-sysv4 && exit 0 ;;
696
          && echo i486-ncr-sysv4 && exit 0 ;;
1068
    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
697
    m68*:LynxOS:2.*:*)
1069
	echo m68k-unknown-lynxos${UNAME_RELEASE}
698
	echo m68k-unknown-lynxos${UNAME_RELEASE}
1070
	exit 0 ;;
699
	exit 0 ;;
1071
    mc68030:UNIX_System_V:4.*:*)
700
    mc68030:UNIX_System_V:4.*:*)
1072
	echo m68k-atari-sysv4
701
	echo m68k-atari-sysv4
1073
	exit 0 ;;
702
	exit 0 ;;
703
    i?86:LynxOS:2.*:*)
704
	echo i386-unknown-lynxos${UNAME_RELEASE}
705
	exit 0 ;;
1074
    TSUNAMI:LynxOS:2.*:*)
706
    TSUNAMI:LynxOS:2.*:*)
1075
	echo sparc-unknown-lynxos${UNAME_RELEASE}
707
	echo sparc-unknown-lynxos${UNAME_RELEASE}
1076
	exit 0 ;;
708
	exit 0 ;;
1077
    rs6000:LynxOS:2.*:*)
709
    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
1078
	echo rs6000-unknown-lynxos${UNAME_RELEASE}
710
	echo rs6000-unknown-lynxos${UNAME_RELEASE}
1079
	exit 0 ;;
711
	exit 0 ;;
1080
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1081
	echo powerpc-unknown-lynxos${UNAME_RELEASE}
1082
	exit 0 ;;
1083
    SM[BE]S:UNIX_SV:*:*)
712
    SM[BE]S:UNIX_SV:*:*)
1084
	echo mips-dde-sysv${UNAME_RELEASE}
713
	echo mips-dde-sysv${UNAME_RELEASE}
1085
	exit 0 ;;
714
	exit 0 ;;
1086
    RM*:ReliantUNIX-*:*:*)
1087
	echo mips-sni-sysv4
1088
	exit 0 ;;
1089
    RM*:SINIX-*:*:*)
715
    RM*:SINIX-*:*:*)
1090
	echo mips-sni-sysv4
716
	echo mips-sni-sysv4
1091
	exit 0 ;;
717
	exit 0 ;;
Lines 1097-1104 Link Here
1097
		echo ns32k-sni-sysv
723
		echo ns32k-sni-sysv
1098
	fi
724
	fi
1099
	exit 0 ;;
725
	exit 0 ;;
1100
    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
726
    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1101
                      # says <Richard.M.Bartel@ccMail.Census.GOV>
727
                           # says <Richard.M.Bartel@ccMail.Census.GOV>
1102
        echo i586-unisys-sysv4
728
        echo i586-unisys-sysv4
1103
        exit 0 ;;
729
        exit 0 ;;
1104
    *:UNIX_System_V:4*:FTX*)
730
    *:UNIX_System_V:4*:FTX*)
Lines 1110-1222 Link Here
1110
	# From seanf@swdc.stratus.com.
736
	# From seanf@swdc.stratus.com.
1111
	echo i860-stratus-sysv4
737
	echo i860-stratus-sysv4
1112
	exit 0 ;;
738
	exit 0 ;;
1113
    *:VOS:*:*)
1114
	# From Paul.Green@stratus.com.
1115
	echo hppa1.1-stratus-vos
1116
	exit 0 ;;
1117
    mc68*:A/UX:*:*)
739
    mc68*:A/UX:*:*)
1118
	echo m68k-apple-aux${UNAME_RELEASE}
740
	echo m68k-apple-aux${UNAME_RELEASE}
1119
	exit 0 ;;
741
	exit 0 ;;
1120
    news*:NEWS-OS:6*:*)
742
    news*:NEWS-OS:*:6*)
1121
	echo mips-sony-newsos6
743
	echo mips-sony-newsos6
1122
	exit 0 ;;
744
	exit 0 ;;
1123
    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
745
    R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
1124
	if [ -d /usr/nec ]; then
746
	if [ -d /usr/nec ]; then
1125
	        echo mips-nec-sysv${UNAME_RELEASE}
747
	        echo mips-nec-sysv${UNAME_RELEASE}
1126
	else
748
	else
1127
	        echo mips-unknown-sysv${UNAME_RELEASE}
749
	        echo mips-unknown-sysv${UNAME_RELEASE}
1128
	fi
750
	fi
1129
        exit 0 ;;
751
        exit 0 ;;
1130
    BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
1131
	echo powerpc-be-beos
1132
	exit 0 ;;
1133
    BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
1134
	echo powerpc-apple-beos
1135
	exit 0 ;;
1136
    BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
1137
	echo i586-pc-beos
1138
	exit 0 ;;
1139
    SX-4:SUPER-UX:*:*)
1140
	echo sx4-nec-superux${UNAME_RELEASE}
1141
	exit 0 ;;
1142
    SX-5:SUPER-UX:*:*)
1143
	echo sx5-nec-superux${UNAME_RELEASE}
1144
	exit 0 ;;
1145
    SX-6:SUPER-UX:*:*)
1146
	echo sx6-nec-superux${UNAME_RELEASE}
1147
	exit 0 ;;
1148
    Power*:Rhapsody:*:*)
1149
	echo powerpc-apple-rhapsody${UNAME_RELEASE}
1150
	exit 0 ;;
1151
    *:Rhapsody:*:*)
1152
	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1153
	exit 0 ;;
1154
    *:Darwin:*:*)
1155
	case `uname -p` in
1156
	    *86) UNAME_PROCESSOR=i686 ;;
1157
	    powerpc) UNAME_PROCESSOR=powerpc ;;
1158
	esac
1159
	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1160
	exit 0 ;;
1161
    *:procnto*:*:* | *:QNX:[0123456789]*:*)
1162
	UNAME_PROCESSOR=`uname -p`
1163
	if test "$UNAME_PROCESSOR" = "x86"; then
1164
		UNAME_PROCESSOR=i386
1165
		UNAME_MACHINE=pc
1166
	fi
1167
	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1168
	exit 0 ;;
1169
    *:QNX:*:4*)
1170
	echo i386-pc-qnx
1171
	exit 0 ;;
1172
    NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
1173
	echo nsr-tandem-nsk${UNAME_RELEASE}
1174
	exit 0 ;;
1175
    *:NonStop-UX:*:*)
1176
	echo mips-compaq-nonstopux
1177
	exit 0 ;;
1178
    BS2000:POSIX*:*:*)
1179
	echo bs2000-siemens-sysv
1180
	exit 0 ;;
1181
    DS/*:UNIX_System_V:*:*)
1182
	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1183
	exit 0 ;;
1184
    *:Plan9:*:*)
1185
	# "uname -m" is not consistent, so use $cputype instead. 386
1186
	# is converted to i386 for consistency with other x86
1187
	# operating systems.
1188
	if test "$cputype" = "386"; then
1189
	    UNAME_MACHINE=i386
1190
	else
1191
	    UNAME_MACHINE="$cputype"
1192
	fi
1193
	echo ${UNAME_MACHINE}-unknown-plan9
1194
	exit 0 ;;
1195
    *:TOPS-10:*:*)
1196
	echo pdp10-unknown-tops10
1197
	exit 0 ;;
1198
    *:TENEX:*:*)
1199
	echo pdp10-unknown-tenex
1200
	exit 0 ;;
1201
    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1202
	echo pdp10-dec-tops20
1203
	exit 0 ;;
1204
    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1205
	echo pdp10-xkl-tops20
1206
	exit 0 ;;
1207
    *:TOPS-20:*:*)
1208
	echo pdp10-unknown-tops20
1209
	exit 0 ;;
1210
    *:ITS:*:*)
1211
	echo pdp10-unknown-its
1212
	exit 0 ;;
1213
esac
752
esac
1214
753
1215
#echo '(No uname command or uname output not recognized.)' 1>&2
754
#echo '(No uname command or uname output not recognized.)' 1>&2
1216
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
755
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1217
756
1218
eval $set_cc_for_build
757
cat >dummy.c <<EOF
1219
cat >$dummy.c <<EOF
1220
#ifdef _SEQUENT_
758
#ifdef _SEQUENT_
1221
# include <sys/types.h>
759
# include <sys/types.h>
1222
# include <sys/utsname.h>
760
# include <sys/utsname.h>
Lines 1254-1263 Link Here
1254
#endif
792
#endif
1255
  int version;
793
  int version;
1256
  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
794
  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1257
  if (version < 4)
795
  printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1258
    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1259
  else
1260
    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1261
  exit (0);
796
  exit (0);
1262
#endif
797
#endif
1263
798
Lines 1302-1325 Link Here
1302
#endif
837
#endif
1303
838
1304
#if defined (vax)
839
#if defined (vax)
1305
# if !defined (ultrix)
840
#if !defined (ultrix)
1306
#  include <sys/param.h>
841
  printf ("vax-dec-bsd\n"); exit (0);
1307
#  if defined (BSD)
842
#else
1308
#   if BSD == 43
843
  printf ("vax-dec-ultrix\n"); exit (0);
1309
      printf ("vax-dec-bsd4.3\n"); exit (0);
844
#endif
1310
#   else
1311
#    if BSD == 199006
1312
      printf ("vax-dec-bsd4.3reno\n"); exit (0);
1313
#    else
1314
      printf ("vax-dec-bsd\n"); exit (0);
1315
#    endif
1316
#   endif
1317
#  else
1318
    printf ("vax-dec-bsd\n"); exit (0);
1319
#  endif
1320
# else
1321
    printf ("vax-dec-ultrix\n"); exit (0);
1322
# endif
1323
#endif
845
#endif
1324
846
1325
#if defined (alliant) && defined (i860)
847
#if defined (alliant) && defined (i860)
Lines 1330-1336 Link Here
1330
}
852
}
1331
EOF
853
EOF
1332
854
1333
$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
855
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
856
rm -f dummy.c dummy
1334
857
1335
# Apollos put the system type in the environment.
858
# Apollos put the system type in the environment.
1336
859
Lines 1362-1409 Link Here
1362
    esac
885
    esac
1363
fi
886
fi
1364
887
1365
cat >&2 <<EOF
888
#echo '(Unable to guess system type)' 1>&2
1366
$0: unable to guess system type
1367
1368
This script, last modified $timestamp, has failed to recognize
1369
the operating system you are using. It is advised that you
1370
download the most up to date version of the config scripts from
1371
1372
    ftp://ftp.gnu.org/pub/gnu/config/
1373
1374
If the version you run ($0) is already up to date, please
1375
send the following data and any information you think might be
1376
pertinent to <config-patches@gnu.org> in order to provide the needed
1377
information to handle your system.
1378
1379
config.guess timestamp = $timestamp
1380
1381
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1382
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1383
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1384
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1385
1386
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1387
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
1388
1389
hostinfo               = `(hostinfo) 2>/dev/null`
1390
/bin/universe          = `(/bin/universe) 2>/dev/null`
1391
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
1392
/bin/arch              = `(/bin/arch) 2>/dev/null`
1393
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
1394
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1395
1396
UNAME_MACHINE = ${UNAME_MACHINE}
1397
UNAME_RELEASE = ${UNAME_RELEASE}
1398
UNAME_SYSTEM  = ${UNAME_SYSTEM}
1399
UNAME_VERSION = ${UNAME_VERSION}
1400
EOF
1401
889
1402
exit 1
890
exit 1
1403
1404
# Local variables:
1405
# eval: (add-hook 'write-file-hooks 'time-stamp)
1406
# time-stamp-start: "timestamp='"
1407
# time-stamp-format: "%:y-%02m-%02d"
1408
# time-stamp-end: "'"
1409
# End:
(-)ez-ipupdate-3.0.11b8/config.h.in (-14 / +1 lines)
Lines 1-4 Link Here
1
/* config.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
1
/* config.h.in.  Generated automatically from configure.in by autoheader.  */
2
2
3
/* Define as the return type of signal handlers (int or void).  */
3
/* Define as the return type of signal handlers (int or void).  */
4
#undef RETSIGTYPE
4
#undef RETSIGTYPE
Lines 132-140 Link Here
132
/* Define if you have the <stdarg.h> header file.  */
132
/* Define if you have the <stdarg.h> header file.  */
133
#undef HAVE_STDARG_H
133
#undef HAVE_STDARG_H
134
134
135
/* Define if you have the <string.h> header file.  */
136
#undef HAVE_STRING_H
137
138
/* Define if you have the <sys/socket.h> header file.  */
135
/* Define if you have the <sys/socket.h> header file.  */
139
#undef HAVE_SYS_SOCKET_H
136
#undef HAVE_SYS_SOCKET_H
140
137
Lines 156-164 Link Here
156
/* Define if you have the <syslog.h> header file.  */
153
/* Define if you have the <syslog.h> header file.  */
157
#undef HAVE_SYSLOG_H
154
#undef HAVE_SYSLOG_H
158
155
159
/* Define if you have the <time.h> header file.  */
160
#undef HAVE_TIME_H
161
162
/* Define if you have the <unistd.h> header file.  */
156
/* Define if you have the <unistd.h> header file.  */
163
#undef HAVE_UNISTD_H
157
#undef HAVE_UNISTD_H
164
158
Lines 167-176 Link Here
167
161
168
/* Define if you have the socket library (-lsocket).  */
162
/* Define if you have the socket library (-lsocket).  */
169
#undef HAVE_LIBSOCKET
163
#undef HAVE_LIBSOCKET
170
171
/* Name of package */
172
#undef PACKAGE
173
174
/* Version number of package */
175
#undef VERSION
176
(-)ez-ipupdate-3.0.11b8/config.sub (-625 / +104 lines)
Lines 1-10 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
# Configuration validation subroutine script.
2
# Configuration validation subroutine script, version 1.1.
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3
#   Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
4
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
6
timestamp='2003-01-03'
7
8
# This file is (in principle) common to ALL GNU software.
4
# This file is (in principle) common to ALL GNU software.
9
# The presence of a machine in this file suggests that SOME GNU software
5
# The presence of a machine in this file suggests that SOME GNU software
10
# can handle that machine.  It does not imply ALL GNU software can.
6
# can handle that machine.  It does not imply ALL GNU software can.
Lines 29-37 Link Here
29
# configuration script generated by Autoconf, you may include it under
25
# configuration script generated by Autoconf, you may include it under
30
# the same distribution terms that you use for the rest of that program.
26
# the same distribution terms that you use for the rest of that program.
31
27
32
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
# diff and a properly formatted ChangeLog entry.
34
#
35
# Configuration subroutine to validate and canonicalize a configuration type.
28
# Configuration subroutine to validate and canonicalize a configuration type.
36
# Supply the specified configuration type as an argument.
29
# Supply the specified configuration type as an argument.
37
# If it is invalid, we print an error message on stderr and exit with code 1.
30
# If it is invalid, we print an error message on stderr and exit with code 1.
Lines 52-124 Link Here
52
#	CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
45
#	CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
53
# It is wrong to echo any other type of specification.
46
# It is wrong to echo any other type of specification.
54
47
55
me=`echo "$0" | sed -e 's,.*/,,'`
48
if [ x$1 = x ]
56
49
then
57
usage="\
50
	echo Configuration name missing. 1>&2
58
Usage: $0 [OPTION] CPU-MFR-OPSYS
51
	echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
59
       $0 [OPTION] ALIAS
52
	echo "or     $0 ALIAS" 1>&2
60
53
	echo where ALIAS is a recognized configuration type. 1>&2
61
Canonicalize a configuration name.
54
	exit 1
62
55
fi
63
Operation modes:
64
  -h, --help         print this help, then exit
65
  -t, --time-stamp   print date of last modification, then exit
66
  -v, --version      print version number, then exit
67
68
Report bugs and patches to <config-patches@gnu.org>."
69
70
version="\
71
GNU config.sub ($timestamp)
72
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
74
Free Software Foundation, Inc.
75
76
This is free software; see the source for copying conditions.  There is NO
77
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
78
79
help="
80
Try \`$me --help' for more information."
81
82
# Parse command line
83
while test $# -gt 0 ; do
84
  case $1 in
85
    --time-stamp | --time* | -t )
86
       echo "$timestamp" ; exit 0 ;;
87
    --version | -v )
88
       echo "$version" ; exit 0 ;;
89
    --help | --h* | -h )
90
       echo "$usage"; exit 0 ;;
91
    -- )     # Stop option processing
92
       shift; break ;;
93
    - )	# Use stdin as input.
94
       break ;;
95
    -* )
96
       echo "$me: invalid option $1$help"
97
       exit 1 ;;
98
99
    *local*)
100
       # First pass through any local machine types.
101
       echo $1
102
       exit 0;;
103
104
    * )
105
       break ;;
106
  esac
107
done
108
56
109
case $# in
57
# First pass through any local machine types.
110
 0) echo "$me: missing argument$help" >&2
58
case $1 in
111
    exit 1;;
59
	*local*)
112
 1) ;;
60
		echo $1
113
 *) echo "$me: too many arguments$help" >&2
61
		exit 0
114
    exit 1;;
62
		;;
63
	*)
64
	;;
115
esac
65
esac
116
66
117
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
67
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
118
# Here we must recognize all the valid KERNEL-OS combinations.
68
# Here we must recognize all the valid KERNEL-OS combinations.
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
69
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
case $maybe_os in
70
case $maybe_os in
121
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
71
  linux-gnu*)
122
    os=-$maybe_os
72
    os=-$maybe_os
123
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
73
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
    ;;
74
    ;;
Lines 144-176 Link Here
144
	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
94
	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
95
	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
96
	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
	-apple | -axis)
97
	-apple)
148
		os=
98
		os=
149
		basic_machine=$1
99
		basic_machine=$1
150
		;;
100
		;;
151
	-sim | -cisco | -oki | -wec | -winbond)
152
		os=
153
		basic_machine=$1
154
		;;
155
	-scout)
156
		;;
157
	-wrs)
158
		os=-vxworks
159
		basic_machine=$1
160
		;;
161
	-chorusos*)
162
		os=-chorusos
163
		basic_machine=$1
164
		;;
165
 	-chorusrdb)
166
 		os=-chorusrdb
167
		basic_machine=$1
168
 		;;
169
	-hiux*)
101
	-hiux*)
170
		os=-hiuxwe2
102
		os=-hiuxwe2
171
		;;
103
		;;
172
	-sco5)
104
	-sco5)
173
		os=-sco3.2v5
105
		os=sco3.2v5
174
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
106
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
175
		;;
107
		;;
176
	-sco4)
108
	-sco4)
Lines 189-197 Link Here
189
		os=-sco3.2v2
121
		os=-sco3.2v2
190
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
122
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
191
		;;
123
		;;
192
	-udk*)
193
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194
		;;
195
	-isc)
124
	-isc)
196
		os=-isc2.2
125
		os=-isc2.2
197
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
126
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lines 214-285 Link Here
214
	-psos*)
143
	-psos*)
215
		os=-psos
144
		os=-psos
216
		;;
145
		;;
217
	-mint | -mint[0-9]*)
218
		basic_machine=m68k-atari
219
		os=-mint
220
		;;
221
esac
146
esac
222
147
223
# Decode aliases for certain CPU-COMPANY combinations.
148
# Decode aliases for certain CPU-COMPANY combinations.
224
case $basic_machine in
149
case $basic_machine in
225
	# Recognize the basic CPU types without company name.
150
	# Recognize the basic CPU types without company name.
226
	# Some are omitted here because they have special meanings below.
151
	# Some are omitted here because they have special meanings below.
227
	1750a | 580 \
152
	tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
228
	| a29k \
153
		| arme[lb] | pyramid | mn10200 | mn10300 \
229
	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
154
		| tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
230
	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
155
		| alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
231
	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
156
		| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
232
	| clipper \
157
		| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
233
	| d10v | d30v | dlx | dsp16xx \
158
		| mipstx39 | mipstx39el \
234
	| fr30 | frv \
159
		| sparc | sparclet | sparclite | sparc64 | v850)
235
	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
	| i370 | i860 | i960 | ia64 \
237
	| ip2k \
238
	| m32r | m68000 | m68k | m88k | mcore \
239
	| mips | mipsbe | mipseb | mipsel | mipsle \
240
	| mips16 \
241
	| mips64 | mips64el \
242
	| mips64vr | mips64vrel \
243
	| mips64orion | mips64orionel \
244
	| mips64vr4100 | mips64vr4100el \
245
	| mips64vr4300 | mips64vr4300el \
246
	| mips64vr5000 | mips64vr5000el \
247
	| mipsisa32 | mipsisa32el \
248
	| mipsisa32r2 | mipsisa32r2el \
249
	| mipsisa64 | mipsisa64el \
250
	| mipsisa64sb1 | mipsisa64sb1el \
251
	| mipsisa64sr71k | mipsisa64sr71kel \
252
	| mipstx39 | mipstx39el \
253
	| mn10200 | mn10300 \
254
	| msp430 \
255
	| ns16k | ns32k \
256
	| openrisc | or32 \
257
	| pdp10 | pdp11 | pj | pjl \
258
	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
259
	| pyramid \
260
	| sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
261
	| sh64 | sh64le \
262
	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
263
	| strongarm \
264
	| tahoe | thumb | tic80 | tron \
265
	| v850 | v850e \
266
	| we32k \
267
	| x86 | xscale | xstormy16 | xtensa \
268
	| z8k)
269
		basic_machine=$basic_machine-unknown
270
		;;
271
	m6811 | m68hc11 | m6812 | m68hc12)
272
		# Motorola 68HC11/12.
273
		basic_machine=$basic_machine-unknown
160
		basic_machine=$basic_machine-unknown
274
		os=-none
275
		;;
276
	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
277
		;;
161
		;;
278
279
	# We use `pc' rather than `unknown'
162
	# We use `pc' rather than `unknown'
280
	# because (1) that's what they normally are, and
163
	# because (1) that's what they normally are, and
281
	# (2) the word "unknown" tends to confuse beginning users.
164
	# (2) the word "unknown" tends to confuse beginning users.
282
	i*86 | x86_64)
165
	i[34567]86)
283
	  basic_machine=$basic_machine-pc
166
	  basic_machine=$basic_machine-pc
284
	  ;;
167
	  ;;
285
	# Object if more than one company name word.
168
	# Object if more than one company name word.
Lines 288-366 Link Here
288
		exit 1
171
		exit 1
289
		;;
172
		;;
290
	# Recognize the basic CPU types with company name.
173
	# Recognize the basic CPU types with company name.
291
	580-* \
174
	vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
292
	| a29k-* \
175
	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
293
	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
176
	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
294
	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
177
	      | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
295
	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
178
	      | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* \
296
	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
179
	      | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
297
	| avr-* \
180
	      | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
298
	| bs2000-* \
181
	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
299
	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
182
	      | sparc64-* | mips64-* | mipsel-* \
300
	| clipper-* | cydra-* \
183
	      | mips64el-* | mips64orion-* | mips64orionel-*  \
301
	| d10v-* | d30v-* | dlx-* \
184
	      | mipstx39-* | mipstx39el-* \
302
	| elxsi-* \
185
	      | f301-*)
303
	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
304
	| h8300-* | h8500-* \
305
	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
306
	| i*86-* | i860-* | i960-* | ia64-* \
307
	| ip2k-* \
308
	| m32r-* \
309
	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
310
	| m88110-* | m88k-* | mcore-* \
311
	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
312
	| mips16-* \
313
	| mips64-* | mips64el-* \
314
	| mips64vr-* | mips64vrel-* \
315
	| mips64orion-* | mips64orionel-* \
316
	| mips64vr4100-* | mips64vr4100el-* \
317
	| mips64vr4300-* | mips64vr4300el-* \
318
	| mips64vr5000-* | mips64vr5000el-* \
319
	| mipsisa32-* | mipsisa32el-* \
320
	| mipsisa32r2-* | mipsisa32r2el-* \
321
	| mipsisa64-* | mipsisa64el-* \
322
	| mipsisa64sb1-* | mipsisa64sb1el-* \
323
	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
324
	| mipstx39-* | mipstx39el-* \
325
	| msp430-* \
326
	| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
327
	| orion-* \
328
	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
329
	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
330
	| pyramid-* \
331
	| romp-* | rs6000-* \
332
	| sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
333
	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
334
	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
335
	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
336
	| tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
337
	| v850-* | v850e-* | vax-* \
338
	| we32k-* \
339
	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
340
	| xtensa-* \
341
	| ymp-* \
342
	| z8k-*)
343
		;;
186
		;;
344
	# Recognize the various machine names and aliases which stand
187
	# Recognize the various machine names and aliases which stand
345
	# for a CPU type and a company and sometimes even an OS.
188
	# for a CPU type and a company and sometimes even an OS.
346
	386bsd)
347
		basic_machine=i386-unknown
348
		os=-bsd
349
		;;
350
	3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
189
	3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
351
		basic_machine=m68000-att
190
		basic_machine=m68000-att
352
		;;
191
		;;
353
	3b*)
192
	3b*)
354
		basic_machine=we32k-att
193
		basic_machine=we32k-att
355
		;;
194
		;;
356
	a29khif)
357
		basic_machine=a29k-amd
358
		os=-udi
359
		;;
360
	adobe68k)
361
		basic_machine=m68010-adobe
362
		os=-scout
363
		;;
364
	alliant | fx80)
195
	alliant | fx80)
365
		basic_machine=fx80-alliant
196
		basic_machine=fx80-alliant
366
		;;
197
		;;
Lines 376-399 Link Here
376
		os=-sysv
207
		os=-sysv
377
		;;
208
		;;
378
	amiga | amiga-*)
209
	amiga | amiga-*)
379
		basic_machine=m68k-unknown
210
		basic_machine=m68k-cbm
380
		;;
211
		;;
381
	amigaos | amigados)
212
	amigaos | amigados)
382
		basic_machine=m68k-unknown
213
		basic_machine=m68k-cbm
383
		os=-amigaos
214
		os=-amigaos
384
		;;
215
		;;
385
	amigaunix | amix)
216
	amigaunix | amix)
386
		basic_machine=m68k-unknown
217
		basic_machine=m68k-cbm
387
		os=-sysv4
218
		os=-sysv4
388
		;;
219
		;;
389
	apollo68)
220
	apollo68)
390
		basic_machine=m68k-apollo
221
		basic_machine=m68k-apollo
391
		os=-sysv
222
		os=-sysv
392
		;;
223
		;;
393
	apollo68bsd)
394
		basic_machine=m68k-apollo
395
		os=-bsd
396
		;;
397
	aux)
224
	aux)
398
		basic_machine=m68k-apple
225
		basic_machine=m68k-apple
399
		os=-aux
226
		os=-aux
Lines 402-411 Link Here
402
		basic_machine=ns32k-sequent
229
		basic_machine=ns32k-sequent
403
		os=-dynix
230
		os=-dynix
404
		;;
231
		;;
405
	c90)
406
		basic_machine=c90-cray
407
		os=-unicos
408
		;;
409
	convex-c1)
232
	convex-c1)
410
		basic_machine=c1-convex
233
		basic_machine=c1-convex
411
		os=-bsd
234
		os=-bsd
Lines 426-455 Link Here
426
		basic_machine=c38-convex
249
		basic_machine=c38-convex
427
		os=-bsd
250
		os=-bsd
428
		;;
251
		;;
429
	cray | j90)
252
	cray | ymp)
430
		basic_machine=j90-cray
253
		basic_machine=ymp-cray
254
		os=-unicos
255
		;;
256
	cray2)
257
		basic_machine=cray2-cray
258
		os=-unicos
259
		;;
260
	[ctj]90-cray)
261
		basic_machine=c90-cray
431
		os=-unicos
262
		os=-unicos
432
		;;
263
		;;
433
	crds | unos)
264
	crds | unos)
434
		basic_machine=m68k-crds
265
		basic_machine=m68k-crds
435
		;;
266
		;;
436
	cris | cris-* | etrax*)
437
		basic_machine=cris-axis
438
		;;
439
	da30 | da30-*)
267
	da30 | da30-*)
440
		basic_machine=m68k-da30
268
		basic_machine=m68k-da30
441
		;;
269
		;;
442
	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
270
	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
443
		basic_machine=mips-dec
271
		basic_machine=mips-dec
444
		;;
272
		;;
445
	decsystem10* | dec10*)
446
		basic_machine=pdp10-dec
447
		os=-tops10
448
		;;
449
	decsystem20* | dec20*)
450
		basic_machine=pdp10-dec
451
		os=-tops20
452
		;;
453
	delta | 3300 | motorola-3300 | motorola-delta \
273
	delta | 3300 | motorola-3300 | motorola-delta \
454
	      | 3300-motorola | delta-motorola)
274
	      | 3300-motorola | delta-motorola)
455
		basic_machine=m68k-motorola
275
		basic_machine=m68k-motorola
Lines 477-486 Link Here
477
	encore | umax | mmax)
297
	encore | umax | mmax)
478
		basic_machine=ns32k-encore
298
		basic_machine=ns32k-encore
479
		;;
299
		;;
480
	es1800 | OSE68k | ose68k | ose | OSE)
481
		basic_machine=m68k-ericsson
482
		os=-ose
483
		;;
484
	fx2800)
300
	fx2800)
485
		basic_machine=i860-alliant
301
		basic_machine=i860-alliant
486
		;;
302
		;;
Lines 491-500 Link Here
491
		basic_machine=tron-gmicro
307
		basic_machine=tron-gmicro
492
		os=-sysv
308
		os=-sysv
493
		;;
309
		;;
494
	go32)
495
		basic_machine=i386-pc
496
		os=-go32
497
		;;
498
	h3050r* | hiux*)
310
	h3050r* | hiux*)
499
		basic_machine=hppa1.1-hitachi
311
		basic_machine=hppa1.1-hitachi
500
		os=-hiuxwe2
312
		os=-hiuxwe2
Lines 503-516 Link Here
503
		basic_machine=h8300-hitachi
315
		basic_machine=h8300-hitachi
504
		os=-hms
316
		os=-hms
505
		;;
317
		;;
506
	h8300xray)
507
		basic_machine=h8300-hitachi
508
		os=-xray
509
		;;
510
	h8500hms)
511
		basic_machine=h8500-hitachi
512
		os=-hms
513
		;;
514
	harris)
318
	harris)
515
		basic_machine=m88k-harris
319
		basic_machine=m88k-harris
516
		os=-sysv3
320
		os=-sysv3
Lines 526-555 Link Here
526
		basic_machine=m68k-hp
330
		basic_machine=m68k-hp
527
		os=-hpux
331
		os=-hpux
528
		;;
332
		;;
529
	hp3k9[0-9][0-9] | hp9[0-9][0-9])
530
		basic_machine=hppa1.0-hp
531
		;;
532
	hp9k2[0-9][0-9] | hp9k31[0-9])
333
	hp9k2[0-9][0-9] | hp9k31[0-9])
533
		basic_machine=m68000-hp
334
		basic_machine=m68000-hp
534
		;;
335
		;;
535
	hp9k3[2-9][0-9])
336
	hp9k3[2-9][0-9])
536
		basic_machine=m68k-hp
337
		basic_machine=m68k-hp
537
		;;
338
		;;
538
	hp9k6[0-9][0-9] | hp6[0-9][0-9])
339
	hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
539
		basic_machine=hppa1.0-hp
540
		;;
541
	hp9k7[0-79][0-9] | hp7[0-79][0-9])
542
		basic_machine=hppa1.1-hp
543
		;;
544
	hp9k78[0-9] | hp78[0-9])
545
		# FIXME: really hppa2.0-hp
546
		basic_machine=hppa1.1-hp
547
		;;
548
	hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
549
		# FIXME: really hppa2.0-hp
550
		basic_machine=hppa1.1-hp
551
		;;
552
	hp9k8[0-9][13679] | hp8[0-9][13679])
553
		basic_machine=hppa1.1-hp
340
		basic_machine=hppa1.1-hp
554
		;;
341
		;;
555
	hp9k8[0-9][0-9] | hp8[0-9][0-9])
342
	hp9k8[0-9][0-9] | hp8[0-9][0-9])
Lines 558-599 Link Here
558
	hppa-next)
345
	hppa-next)
559
		os=-nextstep3
346
		os=-nextstep3
560
		;;
347
		;;
561
	hppaosf)
562
		basic_machine=hppa1.1-hp
563
		os=-osf
564
		;;
565
	hppro)
566
		basic_machine=hppa1.1-hp
567
		os=-proelf
568
		;;
569
	i370-ibm* | ibm*)
348
	i370-ibm* | ibm*)
570
		basic_machine=i370-ibm
349
		basic_machine=i370-ibm
350
		os=-mvs
571
		;;
351
		;;
572
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
352
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
573
	i*86v32)
353
	i[34567]86v32)
574
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
354
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
575
		os=-sysv32
355
		os=-sysv32
576
		;;
356
		;;
577
	i*86v4*)
357
	i[34567]86v4*)
578
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
358
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
579
		os=-sysv4
359
		os=-sysv4
580
		;;
360
		;;
581
	i*86v)
361
	i[34567]86v)
582
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
362
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
583
		os=-sysv
363
		os=-sysv
584
		;;
364
		;;
585
	i*86sol2)
365
	i[34567]86sol2)
586
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
366
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
587
		os=-solaris2
367
		os=-solaris2
588
		;;
368
		;;
589
	i386mach)
590
		basic_machine=i386-mach
591
		os=-mach
592
		;;
593
	i386-vsta | vsta)
594
		basic_machine=i386-unknown
595
		os=-vsta
596
		;;
597
	iris | iris4d)
369
	iris | iris4d)
598
		basic_machine=mips-sgi
370
		basic_machine=mips-sgi
599
		case $os in
371
		case $os in
Lines 619-634 Link Here
619
		basic_machine=ns32k-utek
391
		basic_machine=ns32k-utek
620
		os=-sysv
392
		os=-sysv
621
		;;
393
		;;
622
	mingw32)
623
		basic_machine=i386-pc
624
		os=-mingw32
625
		;;
626
	miniframe)
394
	miniframe)
627
		basic_machine=m68000-convergent
395
		basic_machine=m68000-convergent
628
		;;
396
		;;
629
	*mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
397
	mipsel*-linux*)
630
		basic_machine=m68k-atari
398
		basic_machine=mipsel-unknown
631
		os=-mint
399
		os=-linux-gnu
400
		;;
401
	mips*-linux*)
402
		basic_machine=mips-unknown
403
		os=-linux-gnu
632
		;;
404
		;;
633
	mips3*-*)
405
	mips3*-*)
634
		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
406
		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
Lines 636-673 Link Here
636
	mips3*)
408
	mips3*)
637
		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
409
		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
638
		;;
410
		;;
639
	mmix*)
640
		basic_machine=mmix-knuth
641
		os=-mmixware
642
		;;
643
	monitor)
644
		basic_machine=m68k-rom68k
645
		os=-coff
646
		;;
647
	morphos)
648
		basic_machine=powerpc-unknown
649
		os=-morphos
650
		;;
651
	msdos)
652
		basic_machine=i386-pc
653
		os=-msdos
654
		;;
655
	mvs)
656
		basic_machine=i370-ibm
657
		os=-mvs
658
		;;
659
	ncr3000)
411
	ncr3000)
660
		basic_machine=i486-ncr
412
		basic_machine=i486-ncr
661
		os=-sysv4
413
		os=-sysv4
662
		;;
414
		;;
663
	netbsd386)
664
		basic_machine=i386-unknown
665
		os=-netbsd
666
		;;
667
	netwinder)
668
		basic_machine=armv4l-rebel
669
		os=-linux
670
		;;
671
	news | news700 | news800 | news900)
415
	news | news700 | news800 | news900)
672
		basic_machine=m68k-sony
416
		basic_machine=m68k-sony
673
		os=-newsos
417
		os=-newsos
Lines 680-689 Link Here
680
		basic_machine=mips-sony
424
		basic_machine=mips-sony
681
		os=-newsos
425
		os=-newsos
682
		;;
426
		;;
683
	necv70)
684
		basic_machine=v70-nec
685
		os=-sysv
686
		;;
687
	next | m*-next )
427
	next | m*-next )
688
		basic_machine=m68k-next
428
		basic_machine=m68k-next
689
		case $os in
429
		case $os in
Lines 709-748 Link Here
709
		basic_machine=i960-intel
449
		basic_machine=i960-intel
710
		os=-nindy
450
		os=-nindy
711
		;;
451
		;;
712
	mon960)
713
		basic_machine=i960-intel
714
		os=-mon960
715
		;;
716
	nonstopux)
717
		basic_machine=mips-compaq
718
		os=-nonstopux
719
		;;
720
	np1)
452
	np1)
721
		basic_machine=np1-gould
453
		basic_machine=np1-gould
722
		;;
454
		;;
723
	nv1)
724
		basic_machine=nv1-cray
725
		os=-unicosmp
726
		;;
727
	nsr-tandem)
728
		basic_machine=nsr-tandem
729
		;;
730
	op50n-* | op60c-*)
731
		basic_machine=hppa1.1-oki
732
		os=-proelf
733
		;;
734
	or32 | or32-*)
735
		basic_machine=or32-unknown
736
		os=-coff
737
		;;
738
	OSE68000 | ose68000)
739
		basic_machine=m68000-ericsson
740
		os=-ose
741
		;;
742
	os68k)
743
		basic_machine=m68k-none
744
		os=-os68k
745
		;;
746
	pa-hitachi)
455
	pa-hitachi)
747
		basic_machine=hppa1.1-hitachi
456
		basic_machine=hppa1.1-hitachi
748
		os=-hiuxwe2
457
		os=-hiuxwe2
Lines 757-841 Link Here
757
	pbb)
466
	pbb)
758
		basic_machine=m68k-tti
467
		basic_machine=m68k-tti
759
		;;
468
		;;
760
	pc532 | pc532-*)
469
        pc532 | pc532-*)
761
		basic_machine=ns32k-pc532
470
		basic_machine=ns32k-pc532
762
		;;
471
		;;
763
	pentium | p5 | k5 | k6 | nexgen | viac3)
472
	pentium | p5 | k5 | nexen)
764
		basic_machine=i586-pc
473
		basic_machine=i586-pc
765
		;;
474
		;;
766
	pentiumpro | p6 | 6x86 | athlon | athlon_*)
475
	pentiumpro | p6 | k6 | 6x86)
767
		basic_machine=i686-pc
476
		basic_machine=i686-pc
768
		;;
477
		;;
769
	pentiumii | pentium2)
478
	pentiumii | pentium2)
770
		basic_machine=i686-pc
479
		basic_machine=i786-pc
771
		;;
480
		;;
772
	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
481
	pentium-* | p5-* | k5-* | nexen-*)
773
		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
482
		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
774
		;;
483
		;;
775
	pentiumpro-* | p6-* | 6x86-* | athlon-*)
484
	pentiumpro-* | p6-* | k6-* | 6x86-*)
776
		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
485
		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
777
		;;
486
		;;
778
	pentiumii-* | pentium2-*)
487
	pentiumii-* | pentium2-*)
779
		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
488
		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
780
		;;
489
		;;
781
	pn)
490
	pn)
782
		basic_machine=pn-gould
491
		basic_machine=pn-gould
783
		;;
492
		;;
784
	power)	basic_machine=power-ibm
493
	power)	basic_machine=rs6000-ibm
785
		;;
494
		;;
786
	ppc)	basic_machine=powerpc-unknown
495
	ppc)	basic_machine=powerpc-unknown
787
		;;
496
	        ;;
788
	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
497
	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
789
		;;
498
		;;
790
	ppcle | powerpclittle | ppc-le | powerpc-little)
499
	ppcle | powerpclittle | ppc-le | powerpc-little)
791
		basic_machine=powerpcle-unknown
500
		basic_machine=powerpcle-unknown
792
		;;
501
	        ;;
793
	ppcle-* | powerpclittle-*)
502
	ppcle-* | powerpclittle-*)
794
		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
503
		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
795
		;;
504
		;;
796
	ppc64)	basic_machine=powerpc64-unknown
797
		;;
798
	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
799
		;;
800
	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
801
		basic_machine=powerpc64le-unknown
802
		;;
803
	ppc64le-* | powerpc64little-*)
804
		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
805
		;;
806
	ps2)
505
	ps2)
807
		basic_machine=i386-ibm
506
		basic_machine=i386-ibm
808
		;;
507
		;;
809
	pw32)
810
		basic_machine=i586-unknown
811
		os=-pw32
812
		;;
813
	rom68k)
814
		basic_machine=m68k-rom68k
815
		os=-coff
816
		;;
817
	rm[46]00)
508
	rm[46]00)
818
		basic_machine=mips-siemens
509
		basic_machine=mips-siemens
819
		;;
510
		;;
820
	rtpc | rtpc-*)
511
	rtpc | rtpc-*)
821
		basic_machine=romp-ibm
512
		basic_machine=romp-ibm
822
		;;
513
		;;
823
	s390 | s390-*)
824
		basic_machine=s390-ibm
825
		;;
826
	s390x | s390x-*)
827
		basic_machine=s390x-ibm
828
		;;
829
	sa29200)
830
		basic_machine=a29k-amd
831
		os=-udi
832
		;;
833
	sb1)
834
		basic_machine=mipsisa64sb1-unknown
835
		;;
836
	sb1el)
837
		basic_machine=mipsisa64sb1el-unknown
838
		;;
839
	sequent)
514
	sequent)
840
		basic_machine=i386-sequent
515
		basic_machine=i386-sequent
841
		;;
516
		;;
Lines 843-852 Link Here
843
		basic_machine=sh-hitachi
518
		basic_machine=sh-hitachi
844
		os=-hms
519
		os=-hms
845
		;;
520
		;;
846
	sparclite-wrs | simso-wrs)
847
		basic_machine=sparclite-wrs
848
		os=-vxworks
849
		;;
850
	sps7)
521
	sps7)
851
		basic_machine=m68k-bull
522
		basic_machine=m68k-bull
852
		os=-sysv2
523
		os=-sysv2
Lines 854-866 Link Here
854
	spur)
525
	spur)
855
		basic_machine=spur-unknown
526
		basic_machine=spur-unknown
856
		;;
527
		;;
857
	st2000)
858
		basic_machine=m68k-tandem
859
		;;
860
	stratus)
861
		basic_machine=i860-stratus
862
		os=-sysv4
863
		;;
864
	sun2)
528
	sun2)
865
		basic_machine=m68000-sun
529
		basic_machine=m68000-sun
866
		;;
530
		;;
Lines 901-940 Link Here
901
	sun386 | sun386i | roadrunner)
565
	sun386 | sun386i | roadrunner)
902
		basic_machine=i386-sun
566
		basic_machine=i386-sun
903
		;;
567
		;;
904
	sv1)
905
		basic_machine=sv1-cray
906
		os=-unicos
907
		;;
908
	symmetry)
568
	symmetry)
909
		basic_machine=i386-sequent
569
		basic_machine=i386-sequent
910
		os=-dynix
570
		os=-dynix
911
		;;
571
		;;
912
	t3e)
913
		basic_machine=alphaev5-cray
914
		os=-unicos
915
		;;
916
	t90)
917
		basic_machine=t90-cray
918
		os=-unicos
919
		;;
920
        tic4x | c4x*)
921
		basic_machine=tic4x-unknown
922
		os=-coff
923
		;;
924
	tic54x | c54x*)
925
		basic_machine=tic54x-unknown
926
		os=-coff
927
		;;
928
	tx39)
572
	tx39)
929
		basic_machine=mipstx39-unknown
573
		basic_machine=mipstx39-unknown
930
		;;
574
		;;
931
	tx39el)
575
	tx39el)
932
		basic_machine=mipstx39el-unknown
576
		basic_machine=mipstx39el-unknown
933
		;;
577
		;;
934
	toad1)
935
		basic_machine=pdp10-xkl
936
		os=-tops20
937
		;;
938
	tower | tower-32)
578
	tower | tower-32)
939
		basic_machine=m68k-ncr
579
		basic_machine=m68k-ncr
940
		;;
580
		;;
Lines 946-955 Link Here
946
		basic_machine=a29k-nyu
586
		basic_machine=a29k-nyu
947
		os=-sym1
587
		os=-sym1
948
		;;
588
		;;
949
	v810 | necv810)
950
		basic_machine=v810-nec
951
		os=-none
952
		;;
953
	vaxv)
589
	vaxv)
954
		basic_machine=vax-dec
590
		basic_machine=vax-dec
955
		os=-sysv
591
		os=-sysv
Lines 959-966 Link Here
959
		os=-vms
595
		os=-vms
960
		;;
596
		;;
961
	vpp*|vx|vx-*)
597
	vpp*|vx|vx-*)
962
		basic_machine=f301-fujitsu
598
               basic_machine=f301-fujitsu
963
		;;
599
               ;;
964
	vxworks960)
600
	vxworks960)
965
		basic_machine=i960-wrs
601
		basic_machine=i960-wrs
966
		os=-vxworks
602
		os=-vxworks
Lines 973-996 Link Here
973
		basic_machine=a29k-wrs
609
		basic_machine=a29k-wrs
974
		os=-vxworks
610
		os=-vxworks
975
		;;
611
		;;
976
	w65*)
612
	xmp)
977
		basic_machine=w65-wdc
613
		basic_machine=xmp-cray
978
		os=-none
979
		;;
980
	w89k-*)
981
		basic_machine=hppa1.1-winbond
982
		os=-proelf
983
		;;
984
	xps | xps100)
985
		basic_machine=xps100-honeywell
986
		;;
987
	ymp)
988
		basic_machine=ymp-cray
989
		os=-unicos
614
		os=-unicos
990
		;;
615
		;;
991
	z8k-*-coff)
616
        xps | xps100)
992
		basic_machine=z8k-unknown
617
		basic_machine=xps100-honeywell
993
		os=-sim
994
		;;
618
		;;
995
	none)
619
	none)
996
		basic_machine=none-none
620
		basic_machine=none-none
Lines 999-1012 Link Here
999
623
1000
# Here we handle the default manufacturer of certain CPU types.  It is in
624
# Here we handle the default manufacturer of certain CPU types.  It is in
1001
# some cases the only manufacturer, in others, it is the most popular.
625
# some cases the only manufacturer, in others, it is the most popular.
1002
	w89k)
626
	mips)
1003
		basic_machine=hppa1.1-winbond
627
		if [ x$os = x-linux-gnu ]; then
1004
		;;
628
			basic_machine=mips-unknown
1005
	op50n)
629
		else
1006
		basic_machine=hppa1.1-oki
630
			basic_machine=mips-mips
1007
		;;
631
		fi
1008
	op60c)
1009
		basic_machine=hppa1.1-oki
1010
		;;
632
		;;
1011
	romp)
633
	romp)
1012
		basic_machine=romp-ibm
634
		basic_machine=romp-ibm
Lines 1017-1042 Link Here
1017
	vax)
639
	vax)
1018
		basic_machine=vax-dec
640
		basic_machine=vax-dec
1019
		;;
641
		;;
1020
	pdp10)
1021
		# there are many clones, so DEC is not a safe bet
1022
		basic_machine=pdp10-unknown
1023
		;;
1024
	pdp11)
642
	pdp11)
1025
		basic_machine=pdp11-dec
643
		basic_machine=pdp11-dec
1026
		;;
644
		;;
1027
	we32k)
645
	we32k)
1028
		basic_machine=we32k-att
646
		basic_machine=we32k-att
1029
		;;
647
		;;
1030
	sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
648
	sparc)
1031
		basic_machine=sh-unknown
1032
		;;
1033
	sh64)
1034
		basic_machine=sh64-unknown
1035
		;;
1036
	sparc | sparcv9 | sparcv9b)
1037
		basic_machine=sparc-sun
649
		basic_machine=sparc-sun
1038
		;;
650
		;;
1039
	cydra)
651
        cydra)
1040
		basic_machine=cydra-cydrome
652
		basic_machine=cydra-cydrome
1041
		;;
653
		;;
1042
	orion)
654
	orion)
Lines 1045-1059 Link Here
1045
	orion105)
657
	orion105)
1046
		basic_machine=clipper-highlevel
658
		basic_machine=clipper-highlevel
1047
		;;
659
		;;
1048
	mac | mpw | mac-mpw)
1049
		basic_machine=m68k-apple
1050
		;;
1051
	pmac | pmac-mpw)
1052
		basic_machine=powerpc-apple
1053
		;;
1054
	*-unknown)
1055
		# Make sure to match an already-canonicalized machine name.
1056
		;;
1057
	*)
660
	*)
1058
		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
661
		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1059
		exit 1
662
		exit 1
Lines 1107-1147 Link Here
1107
	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
710
	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1108
	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
711
	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1109
	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
712
	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1110
	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
713
	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
1111
	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
714
	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1112
	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
715
	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1113
	      | -chorusos* | -chorusrdb* \
716
	      | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1114
	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
717
	      | -mingw32* | -linux-gnu* | -uxpv*)
1115
	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1116
	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1117
	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1118
	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1119
	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1120
	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1121
	      | -powermax* | -dnix* | -microbsd*)
1122
	# Remember, each alternative MUST END IN *, to match a version number.
718
	# Remember, each alternative MUST END IN *, to match a version number.
1123
		;;
719
		;;
1124
	-qnx*)
1125
		case $basic_machine in
1126
		    x86-* | i*86-*)
1127
			;;
1128
		    *)
1129
			os=-nto$os
1130
			;;
1131
		esac
1132
		;;
1133
	-nto-qnx*)
1134
		;;
1135
	-nto*)
1136
		os=`echo $os | sed -e 's|nto|nto-qnx|'`
1137
		;;
1138
	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1139
	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1140
	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1141
		;;
1142
	-mac*)
1143
		os=`echo $os | sed -e 's|mac|macos|'`
1144
		;;
1145
	-linux*)
720
	-linux*)
1146
		os=`echo $os | sed -e 's|linux|linux-gnu|'`
721
		os=`echo $os | sed -e 's|linux|linux-gnu|'`
1147
		;;
722
		;;
Lines 1151-1162 Link Here
1151
	-sunos6*)
726
	-sunos6*)
1152
		os=`echo $os | sed -e 's|sunos6|solaris3|'`
727
		os=`echo $os | sed -e 's|sunos6|solaris3|'`
1153
		;;
728
		;;
1154
	-opened*)
1155
		os=-openedition
1156
		;;
1157
	-wince*)
1158
		os=-wince
1159
		;;
1160
	-osfrose*)
729
	-osfrose*)
1161
		os=-osfrose
730
		os=-osfrose
1162
		;;
731
		;;
Lines 1172-1194 Link Here
1172
	-acis*)
741
	-acis*)
1173
		os=-aos
742
		os=-aos
1174
		;;
743
		;;
1175
	-atheos*)
1176
		os=-atheos
1177
		;;
1178
	-386bsd)
1179
		os=-bsd
1180
		;;
1181
	-ctix* | -uts*)
744
	-ctix* | -uts*)
1182
		os=-sysv
745
		os=-sysv
1183
		;;
746
		;;
1184
	-nova*)
1185
		os=-rtmk-nova
1186
		;;
1187
	-ns2 )
747
	-ns2 )
1188
		os=-nextstep2
748
	        os=-nextstep2
1189
		;;
1190
	-nsk*)
1191
		os=-nsk
1192
		;;
749
		;;
1193
	# Preserve the version number of sinix5.
750
	# Preserve the version number of sinix5.
1194
	-sinix5.*)
751
	-sinix5.*)
Lines 1215-1232 Link Here
1215
	# This must come after -sysvr4.
772
	# This must come after -sysvr4.
1216
	-sysv*)
773
	-sysv*)
1217
		;;
774
		;;
1218
	-ose*)
1219
		os=-ose
1220
		;;
1221
	-es1800*)
1222
		os=-ose
1223
		;;
1224
	-xenix)
775
	-xenix)
1225
		os=-xenix
776
		os=-xenix
1226
		;;
777
		;;
1227
	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1228
		os=-mint
1229
		;;
1230
	-none)
778
	-none)
1231
		;;
779
		;;
1232
	*)
780
	*)
Lines 1252-1268 Link Here
1252
	*-acorn)
800
	*-acorn)
1253
		os=-riscix1.2
801
		os=-riscix1.2
1254
		;;
802
		;;
1255
	arm*-rebel)
1256
		os=-linux
1257
		;;
1258
	arm*-semi)
803
	arm*-semi)
1259
		os=-aout
804
		os=-aout
1260
		;;
805
		;;
1261
	# This must come before the *-dec entry.
806
        pdp11-*)
1262
	pdp10-*)
1263
		os=-tops20
1264
		;;
1265
	pdp11-*)
1266
		os=-none
807
		os=-none
1267
		;;
808
		;;
1268
	*-dec | vax-*)
809
	*-dec | vax-*)
Lines 1280-1318 Link Here
1280
		# default.
821
		# default.
1281
		# os=-sunos4
822
		# os=-sunos4
1282
		;;
823
		;;
1283
	m68*-cisco)
1284
		os=-aout
1285
		;;
1286
	mips*-cisco)
1287
		os=-elf
1288
		;;
1289
	mips*-*)
1290
		os=-elf
1291
		;;
1292
	or32-*)
1293
		os=-coff
1294
		;;
1295
	*-tti)	# must be before sparc entry or we get the wrong os.
824
	*-tti)	# must be before sparc entry or we get the wrong os.
1296
		os=-sysv3
825
		os=-sysv3
1297
		;;
826
		;;
1298
	sparc-* | *-sun)
827
	sparc-* | *-sun)
1299
		os=-sunos4.1.1
828
		os=-sunos4.1.1
1300
		;;
829
		;;
1301
	*-be)
1302
		os=-beos
1303
		;;
1304
	*-ibm)
830
	*-ibm)
1305
		os=-aix
831
		os=-aix
1306
		;;
832
		;;
1307
	*-wec)
1308
		os=-proelf
1309
		;;
1310
	*-winbond)
1311
		os=-proelf
1312
		;;
1313
	*-oki)
1314
		os=-proelf
1315
		;;
1316
	*-hp)
833
	*-hp)
1317
		os=-hpux
834
		os=-hpux
1318
		;;
835
		;;
Lines 1355-1393 Link Here
1355
	*-next)
872
	*-next)
1356
		os=-nextstep3
873
		os=-nextstep3
1357
		;;
874
		;;
1358
	*-gould)
875
        *-gould)
1359
		os=-sysv
876
		os=-sysv
1360
		;;
877
		;;
1361
	*-highlevel)
878
        *-highlevel)
1362
		os=-bsd
879
		os=-bsd
1363
		;;
880
		;;
1364
	*-encore)
881
	*-encore)
1365
		os=-bsd
882
		os=-bsd
1366
		;;
883
		;;
1367
	*-sgi)
884
        *-sgi)
1368
		os=-irix
885
		os=-irix
1369
		;;
886
		;;
1370
	*-siemens)
887
        *-siemens)
1371
		os=-sysv4
888
		os=-sysv4
1372
		;;
889
		;;
1373
	*-masscomp)
890
	*-masscomp)
1374
		os=-rtu
891
		os=-rtu
1375
		;;
892
		;;
1376
	f30[01]-fujitsu | f700-fujitsu)
893
	f301-fujitsu)
1377
		os=-uxpv
894
		os=-uxpv
1378
		;;
895
		;;
1379
	*-rom68k)
1380
		os=-coff
1381
		;;
1382
	*-*bug)
1383
		os=-coff
1384
		;;
1385
	*-apple)
1386
		os=-macos
1387
		;;
1388
	*-atari*)
1389
		os=-mint
1390
		;;
1391
	*)
896
	*)
1392
		os=-none
897
		os=-none
1393
		;;
898
		;;
Lines 1409-1423 Link Here
1409
			-aix*)
914
			-aix*)
1410
				vendor=ibm
915
				vendor=ibm
1411
				;;
916
				;;
1412
			-beos*)
1413
				vendor=be
1414
				;;
1415
			-hpux*)
917
			-hpux*)
1416
				vendor=hp
918
				vendor=hp
1417
				;;
919
				;;
1418
			-mpeix*)
1419
				vendor=hp
1420
				;;
1421
			-hiux*)
920
			-hiux*)
1422
				vendor=hitachi
921
				vendor=hitachi
1423
				;;
922
				;;
Lines 1433-1473 Link Here
1433
			-genix*)
932
			-genix*)
1434
				vendor=ns
933
				vendor=ns
1435
				;;
934
				;;
1436
			-mvs* | -opened*)
935
			-mvs*)
1437
				vendor=ibm
936
				vendor=ibm
1438
				;;
937
				;;
1439
			-ptx*)
938
			-ptx*)
1440
				vendor=sequent
939
				vendor=sequent
1441
				;;
940
				;;
1442
			-vxsim* | -vxworks* | -windiss*)
941
			-vxsim* | -vxworks*)
1443
				vendor=wrs
942
				vendor=wrs
1444
				;;
943
				;;
1445
			-aux*)
944
			-aux*)
1446
				vendor=apple
945
				vendor=apple
1447
				;;
946
				;;
1448
			-hms*)
1449
				vendor=hitachi
1450
				;;
1451
			-mpw* | -macos*)
1452
				vendor=apple
1453
				;;
1454
			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1455
				vendor=atari
1456
				;;
1457
			-vos*)
1458
				vendor=stratus
1459
				;;
1460
		esac
947
		esac
1461
		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
948
		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1462
		;;
949
		;;
1463
esac
950
esac
1464
951
1465
echo $basic_machine$os
952
echo $basic_machine$os
1466
exit 0
1467
1468
# Local variables:
1469
# eval: (add-hook 'write-file-hooks 'time-stamp)
1470
# time-stamp-start: "timestamp='"
1471
# time-stamp-format: "%:y-%02m-%02d"
1472
# time-stamp-end: "'"
1473
# End:
(-)ez-ipupdate-3.0.11b8/configure (-190 / +106 lines)
Lines 1-7 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
2
3
# Guess values for system-dependent variables and create Makefiles.
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated automatically using autoconf version 2.13 
4
# Generated automatically using autoconf version 2.12 
5
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
5
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6
#
6
#
7
# This configure script is free software; the Free Software Foundation
7
# This configure script is free software; the Free Software Foundation
Lines 58-64 Link Here
58
# Initialize some other variables.
58
# Initialize some other variables.
59
subdirs=
59
subdirs=
60
MFLAGS= MAKEFLAGS=
60
MFLAGS= MAKEFLAGS=
61
SHELL=${CONFIG_SHELL-/bin/sh}
62
# Maximum number of lines to put in a shell here document.
61
# Maximum number of lines to put in a shell here document.
63
ac_max_here_lines=12
62
ac_max_here_lines=12
64
63
Lines 342-348 Link Here
342
    verbose=yes ;;
341
    verbose=yes ;;
343
342
344
  -version | --version | --versio | --versi | --vers)
343
  -version | --version | --versio | --versi | --vers)
345
    echo "configure generated by autoconf version 2.13"
344
    echo "configure generated by autoconf version 2.12"
346
    exit 0 ;;
345
    exit 0 ;;
347
346
348
  -with-* | --with-*)
347
  -with-* | --with-*)
Lines 512-522 Link Here
512
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
511
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
513
ac_cpp='$CPP $CPPFLAGS'
512
ac_cpp='$CPP $CPPFLAGS'
514
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
513
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
515
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
514
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
516
cross_compiling=$ac_cv_prog_cc_cross
515
cross_compiling=$ac_cv_prog_cc_cross
517
516
518
ac_exeext=
519
ac_objext=o
520
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
517
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
521
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
518
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
522
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
519
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
Lines 552-558 Link Here
552
ac_config_sub=$ac_aux_dir/config.sub
549
ac_config_sub=$ac_aux_dir/config.sub
553
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
550
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
554
551
555
am__api_version="1.4"
556
# Find a good install program.  We prefer a C program (faster),
552
# Find a good install program.  We prefer a C program (faster),
557
# so one script is as good as another.  But avoid the broken or
553
# so one script is as good as another.  But avoid the broken or
558
# incompatible versions:
554
# incompatible versions:
Lines 560-589 Link Here
560
# SunOS /usr/etc/install
556
# SunOS /usr/etc/install
561
# IRIX /sbin/install
557
# IRIX /sbin/install
562
# AIX /bin/install
558
# AIX /bin/install
563
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
564
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
559
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
565
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
560
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
566
# ./install, which can be erroneously created by make from ./install.sh.
561
# ./install, which can be erroneously created by make from ./install.sh.
567
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
562
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
568
echo "configure:569: checking for a BSD compatible install" >&5
563
echo "configure:564: checking for a BSD compatible install" >&5
569
if test -z "$INSTALL"; then
564
if test -z "$INSTALL"; then
570
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
565
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
571
  echo $ac_n "(cached) $ac_c" 1>&6
566
  echo $ac_n "(cached) $ac_c" 1>&6
572
else
567
else
573
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
568
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS="${IFS}:"
574
  for ac_dir in $PATH; do
569
  for ac_dir in $PATH; do
575
    # Account for people who put trailing slashes in PATH elements.
570
    # Account for people who put trailing slashes in PATH elements.
576
    case "$ac_dir/" in
571
    case "$ac_dir/" in
577
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
572
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
578
    *)
573
    *)
579
      # OSF1 and SCO ODT 3.0 have their own names for install.
574
      # OSF1 and SCO ODT 3.0 have their own names for install.
580
      # Don't use installbsd from OSF since it installs stuff as root
575
      for ac_prog in ginstall installbsd scoinst install; do
581
      # by default.
582
      for ac_prog in ginstall scoinst install; do
583
        if test -f $ac_dir/$ac_prog; then
576
        if test -f $ac_dir/$ac_prog; then
584
	  if test $ac_prog = install &&
577
	  if test $ac_prog = install &&
585
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
578
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
586
	    # AIX install.  It has an incompatible calling convention.
579
	    # AIX install.  It has an incompatible calling convention.
580
	    # OSF/1 installbsd also uses dspmsg, but is usable.
587
	    :
581
	    :
588
	  else
582
	  else
589
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
583
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
Lines 613-624 Link Here
613
# It thinks the first close brace ends the variable substitution.
607
# It thinks the first close brace ends the variable substitution.
614
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
608
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
615
609
616
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
617
618
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
610
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
619
611
612
613
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
614
620
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
615
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
621
echo "configure:622: checking whether build environment is sane" >&5
616
echo "configure:617: checking whether build environment is sane" >&5
622
# Just in case
617
# Just in case
623
sleep 1
618
sleep 1
624
echo timestamp > conftestfile
619
echo timestamp > conftestfile
Lines 675-681 Link Here
675
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
670
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
676
671
677
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
672
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
678
echo "configure:679: checking whether ${MAKE-make} sets \${MAKE}" >&5
673
echo "configure:674: checking whether ${MAKE-make} sets \${MAKE}" >&5
679
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
674
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
680
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
675
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
681
  echo $ac_n "(cached) $ac_c" 1>&6
676
  echo $ac_n "(cached) $ac_c" 1>&6
Lines 720-740 Link Here
720
715
721
716
722
missing_dir=`cd $ac_aux_dir && pwd`
717
missing_dir=`cd $ac_aux_dir && pwd`
723
echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
718
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
724
echo "configure:725: checking for working aclocal-${am__api_version}" >&5
719
echo "configure:720: checking for working aclocal" >&5
725
# Run test in a subshell; some versions of sh will print an error if
720
# Run test in a subshell; some versions of sh will print an error if
726
# an executable is not found, even if stderr is redirected.
721
# an executable is not found, even if stderr is redirected.
727
# Redirect stdin to placate older versions of autoconf.  Sigh.
722
# Redirect stdin to placate older versions of autoconf.  Sigh.
728
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
723
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
729
   ACLOCAL=aclocal-${am__api_version}
724
   ACLOCAL=aclocal
730
   echo "$ac_t""found" 1>&6
725
   echo "$ac_t""found" 1>&6
731
else
726
else
732
   ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
727
   ACLOCAL="$missing_dir/missing aclocal"
733
   echo "$ac_t""missing" 1>&6
728
   echo "$ac_t""missing" 1>&6
734
fi
729
fi
735
730
736
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
731
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
737
echo "configure:738: checking for working autoconf" >&5
732
echo "configure:733: checking for working autoconf" >&5
738
# Run test in a subshell; some versions of sh will print an error if
733
# Run test in a subshell; some versions of sh will print an error if
739
# an executable is not found, even if stderr is redirected.
734
# an executable is not found, even if stderr is redirected.
740
# Redirect stdin to placate older versions of autoconf.  Sigh.
735
# Redirect stdin to placate older versions of autoconf.  Sigh.
Lines 746-766 Link Here
746
   echo "$ac_t""missing" 1>&6
741
   echo "$ac_t""missing" 1>&6
747
fi
742
fi
748
743
749
echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
744
echo $ac_n "checking for working automake""... $ac_c" 1>&6
750
echo "configure:751: checking for working automake-${am__api_version}" >&5
745
echo "configure:746: checking for working automake" >&5
751
# Run test in a subshell; some versions of sh will print an error if
746
# Run test in a subshell; some versions of sh will print an error if
752
# an executable is not found, even if stderr is redirected.
747
# an executable is not found, even if stderr is redirected.
753
# Redirect stdin to placate older versions of autoconf.  Sigh.
748
# Redirect stdin to placate older versions of autoconf.  Sigh.
754
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
749
if (automake --version) < /dev/null > /dev/null 2>&1; then
755
   AUTOMAKE=automake-${am__api_version}
750
   AUTOMAKE=automake
756
   echo "$ac_t""found" 1>&6
751
   echo "$ac_t""found" 1>&6
757
else
752
else
758
   AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
753
   AUTOMAKE="$missing_dir/missing automake"
759
   echo "$ac_t""missing" 1>&6
754
   echo "$ac_t""missing" 1>&6
760
fi
755
fi
761
756
762
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
757
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
763
echo "configure:764: checking for working autoheader" >&5
758
echo "configure:759: checking for working autoheader" >&5
764
# Run test in a subshell; some versions of sh will print an error if
759
# Run test in a subshell; some versions of sh will print an error if
765
# an executable is not found, even if stderr is redirected.
760
# an executable is not found, even if stderr is redirected.
766
# Redirect stdin to placate older versions of autoconf.  Sigh.
761
# Redirect stdin to placate older versions of autoconf.  Sigh.
Lines 773-779 Link Here
773
fi
768
fi
774
769
775
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
770
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
776
echo "configure:777: checking for working makeinfo" >&5
771
echo "configure:772: checking for working makeinfo" >&5
777
# Run test in a subshell; some versions of sh will print an error if
772
# Run test in a subshell; some versions of sh will print an error if
778
# an executable is not found, even if stderr is redirected.
773
# an executable is not found, even if stderr is redirected.
779
# Redirect stdin to placate older versions of autoconf.  Sigh.
774
# Redirect stdin to placate older versions of autoconf.  Sigh.
Lines 811-826 Link Here
811
# Extract the first word of "gcc", so it can be a program name with args.
806
# Extract the first word of "gcc", so it can be a program name with args.
812
set dummy gcc; ac_word=$2
807
set dummy gcc; ac_word=$2
813
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
808
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
814
echo "configure:815: checking for $ac_word" >&5
809
echo "configure:810: checking for $ac_word" >&5
815
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
810
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
816
  echo $ac_n "(cached) $ac_c" 1>&6
811
  echo $ac_n "(cached) $ac_c" 1>&6
817
else
812
else
818
  if test -n "$CC"; then
813
  if test -n "$CC"; then
819
  ac_cv_prog_CC="$CC" # Let the user override the test.
814
  ac_cv_prog_CC="$CC" # Let the user override the test.
820
else
815
else
821
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
816
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
822
  ac_dummy="$PATH"
817
  for ac_dir in $PATH; do
823
  for ac_dir in $ac_dummy; do
824
    test -z "$ac_dir" && ac_dir=.
818
    test -z "$ac_dir" && ac_dir=.
825
    if test -f $ac_dir/$ac_word; then
819
    if test -f $ac_dir/$ac_word; then
826
      ac_cv_prog_CC="gcc"
820
      ac_cv_prog_CC="gcc"
Lines 841-857 Link Here
841
  # Extract the first word of "cc", so it can be a program name with args.
835
  # Extract the first word of "cc", so it can be a program name with args.
842
set dummy cc; ac_word=$2
836
set dummy cc; ac_word=$2
843
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
837
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
844
echo "configure:845: checking for $ac_word" >&5
838
echo "configure:839: checking for $ac_word" >&5
845
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
839
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
846
  echo $ac_n "(cached) $ac_c" 1>&6
840
  echo $ac_n "(cached) $ac_c" 1>&6
847
else
841
else
848
  if test -n "$CC"; then
842
  if test -n "$CC"; then
849
  ac_cv_prog_CC="$CC" # Let the user override the test.
843
  ac_cv_prog_CC="$CC" # Let the user override the test.
850
else
844
else
851
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
845
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
852
  ac_prog_rejected=no
846
  ac_prog_rejected=no
853
  ac_dummy="$PATH"
847
  for ac_dir in $PATH; do
854
  for ac_dir in $ac_dummy; do
855
    test -z "$ac_dir" && ac_dir=.
848
    test -z "$ac_dir" && ac_dir=.
856
    if test -f $ac_dir/$ac_word; then
849
    if test -f $ac_dir/$ac_word; then
857
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
850
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
Lines 886-946 Link Here
886
  echo "$ac_t""no" 1>&6
879
  echo "$ac_t""no" 1>&6
887
fi
880
fi
888
881
889
  if test -z "$CC"; then
890
    case "`uname -s`" in
891
    *win32* | *WIN32*)
892
      # Extract the first word of "cl", so it can be a program name with args.
893
set dummy cl; ac_word=$2
894
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
895
echo "configure:896: checking for $ac_word" >&5
896
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
897
  echo $ac_n "(cached) $ac_c" 1>&6
898
else
899
  if test -n "$CC"; then
900
  ac_cv_prog_CC="$CC" # Let the user override the test.
901
else
902
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
903
  ac_dummy="$PATH"
904
  for ac_dir in $ac_dummy; do
905
    test -z "$ac_dir" && ac_dir=.
906
    if test -f $ac_dir/$ac_word; then
907
      ac_cv_prog_CC="cl"
908
      break
909
    fi
910
  done
911
  IFS="$ac_save_ifs"
912
fi
913
fi
914
CC="$ac_cv_prog_CC"
915
if test -n "$CC"; then
916
  echo "$ac_t""$CC" 1>&6
917
else
918
  echo "$ac_t""no" 1>&6
919
fi
920
 ;;
921
    esac
922
  fi
923
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
882
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
924
fi
883
fi
925
884
926
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
885
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
927
echo "configure:928: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
886
echo "configure:887: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
928
887
929
ac_ext=c
888
ac_ext=c
930
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
889
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
931
ac_cpp='$CPP $CPPFLAGS'
890
ac_cpp='$CPP $CPPFLAGS'
932
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
891
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
933
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
892
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
934
cross_compiling=$ac_cv_prog_cc_cross
893
cross_compiling=$ac_cv_prog_cc_cross
935
894
936
cat > conftest.$ac_ext << EOF
895
cat > conftest.$ac_ext <<EOF
937
896
#line 897 "configure"
938
#line 939 "configure"
939
#include "confdefs.h"
897
#include "confdefs.h"
940
941
main(){return(0);}
898
main(){return(0);}
942
EOF
899
EOF
943
if { (eval echo configure:944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
900
if { (eval echo configure:901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
944
  ac_cv_prog_cc_works=yes
901
  ac_cv_prog_cc_works=yes
945
  # If we can't run a trivial program, we are probably using a cross compiler.
902
  # If we can't run a trivial program, we are probably using a cross compiler.
946
  if (./conftest; exit) 2>/dev/null; then
903
  if (./conftest; exit) 2>/dev/null; then
Lines 954-977 Link Here
954
  ac_cv_prog_cc_works=no
911
  ac_cv_prog_cc_works=no
955
fi
912
fi
956
rm -fr conftest*
913
rm -fr conftest*
957
ac_ext=c
958
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
959
ac_cpp='$CPP $CPPFLAGS'
960
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
961
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
962
cross_compiling=$ac_cv_prog_cc_cross
963
914
964
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
915
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
965
if test $ac_cv_prog_cc_works = no; then
916
if test $ac_cv_prog_cc_works = no; then
966
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
917
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
967
fi
918
fi
968
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
919
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
969
echo "configure:970: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
920
echo "configure:921: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
970
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
921
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
971
cross_compiling=$ac_cv_prog_cc_cross
922
cross_compiling=$ac_cv_prog_cc_cross
972
923
973
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
924
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
974
echo "configure:975: checking whether we are using GNU C" >&5
925
echo "configure:926: checking whether we are using GNU C" >&5
975
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
926
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
976
  echo $ac_n "(cached) $ac_c" 1>&6
927
  echo $ac_n "(cached) $ac_c" 1>&6
977
else
928
else
Lines 980-986 Link Here
980
  yes;
931
  yes;
981
#endif
932
#endif
982
EOF
933
EOF
983
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
934
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
984
  ac_cv_prog_gcc=yes
935
  ac_cv_prog_gcc=yes
985
else
936
else
986
  ac_cv_prog_gcc=no
937
  ac_cv_prog_gcc=no
Lines 991-1005 Link Here
991
942
992
if test $ac_cv_prog_gcc = yes; then
943
if test $ac_cv_prog_gcc = yes; then
993
  GCC=yes
944
  GCC=yes
994
else
945
  ac_test_CFLAGS="${CFLAGS+set}"
995
  GCC=
946
  ac_save_CFLAGS="$CFLAGS"
996
fi
947
  CFLAGS=
997
948
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
998
ac_test_CFLAGS="${CFLAGS+set}"
949
echo "configure:950: checking whether ${CC-cc} accepts -g" >&5
999
ac_save_CFLAGS="$CFLAGS"
1000
CFLAGS=
1001
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1002
echo "configure:1003: checking whether ${CC-cc} accepts -g" >&5
1003
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
950
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1004
  echo $ac_n "(cached) $ac_c" 1>&6
951
  echo $ac_n "(cached) $ac_c" 1>&6
1005
else
952
else
Lines 1014-1037 Link Here
1014
fi
961
fi
1015
962
1016
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
963
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1017
if test "$ac_test_CFLAGS" = set; then
964
  if test "$ac_test_CFLAGS" = set; then
1018
  CFLAGS="$ac_save_CFLAGS"
965
    CFLAGS="$ac_save_CFLAGS"
1019
elif test $ac_cv_prog_cc_g = yes; then
966
  elif test $ac_cv_prog_cc_g = yes; then
1020
  if test "$GCC" = yes; then
1021
    CFLAGS="-g -O2"
967
    CFLAGS="-g -O2"
1022
  else
968
  else
1023
    CFLAGS="-g"
1024
  fi
1025
else
1026
  if test "$GCC" = yes; then
1027
    CFLAGS="-O2"
969
    CFLAGS="-O2"
1028
  else
1029
    CFLAGS=
1030
  fi
970
  fi
971
else
972
  GCC=
973
  test "${CFLAGS+set}" = set || CFLAGS="-g"
1031
fi
974
fi
1032
975
1033
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
976
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1034
echo "configure:1035: checking how to run the C preprocessor" >&5
977
echo "configure:978: checking how to run the C preprocessor" >&5
1035
# On Suns, sometimes $CPP names a directory.
978
# On Suns, sometimes $CPP names a directory.
1036
if test -n "$CPP" && test -d "$CPP"; then
979
if test -n "$CPP" && test -d "$CPP"; then
1037
  CPP=
980
  CPP=
Lines 1046-1059 Link Here
1046
  # On the NeXT, cc -E runs the code through the compiler's parser,
989
  # On the NeXT, cc -E runs the code through the compiler's parser,
1047
  # not just through cpp.
990
  # not just through cpp.
1048
  cat > conftest.$ac_ext <<EOF
991
  cat > conftest.$ac_ext <<EOF
1049
#line 1050 "configure"
992
#line 993 "configure"
1050
#include "confdefs.h"
993
#include "confdefs.h"
1051
#include <assert.h>
994
#include <assert.h>
1052
Syntax Error
995
Syntax Error
1053
EOF
996
EOF
1054
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
997
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1055
{ (eval echo configure:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
998
{ (eval echo configure:999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1056
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
999
ac_err=`grep -v '^ *+' conftest.out`
1057
if test -z "$ac_err"; then
1000
if test -z "$ac_err"; then
1058
  :
1001
  :
1059
else
1002
else
Lines 1063-1093 Link Here
1063
  rm -rf conftest*
1006
  rm -rf conftest*
1064
  CPP="${CC-cc} -E -traditional-cpp"
1007
  CPP="${CC-cc} -E -traditional-cpp"
1065
  cat > conftest.$ac_ext <<EOF
1008
  cat > conftest.$ac_ext <<EOF
1066
#line 1067 "configure"
1009
#line 1010 "configure"
1067
#include "confdefs.h"
1010
#include "confdefs.h"
1068
#include <assert.h>
1011
#include <assert.h>
1069
Syntax Error
1012
Syntax Error
1070
EOF
1013
EOF
1071
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1014
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1072
{ (eval echo configure:1073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1015
{ (eval echo configure:1016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1073
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1016
ac_err=`grep -v '^ *+' conftest.out`
1074
if test -z "$ac_err"; then
1075
  :
1076
else
1077
  echo "$ac_err" >&5
1078
  echo "configure: failed program was:" >&5
1079
  cat conftest.$ac_ext >&5
1080
  rm -rf conftest*
1081
  CPP="${CC-cc} -nologo -E"
1082
  cat > conftest.$ac_ext <<EOF
1083
#line 1084 "configure"
1084
#include "confdefs.h"
1085
#include <assert.h>
1086
Syntax Error
1087
EOF
1088
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1089
{ (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1090
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1091
if test -z "$ac_err"; then
1017
if test -z "$ac_err"; then
1092
  :
1018
  :
1093
else
1019
else
Lines 1100-1107 Link Here
1100
rm -f conftest*
1026
rm -f conftest*
1101
fi
1027
fi
1102
rm -f conftest*
1028
rm -f conftest*
1103
fi
1104
rm -f conftest*
1105
  ac_cv_prog_CPP="$CPP"
1029
  ac_cv_prog_CPP="$CPP"
1106
fi
1030
fi
1107
  CPP="$ac_cv_prog_CPP"
1031
  CPP="$ac_cv_prog_CPP"
Lines 1117-1146 Link Here
1117
# SunOS /usr/etc/install
1041
# SunOS /usr/etc/install
1118
# IRIX /sbin/install
1042
# IRIX /sbin/install
1119
# AIX /bin/install
1043
# AIX /bin/install
1120
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1121
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1044
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1122
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1045
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1123
# ./install, which can be erroneously created by make from ./install.sh.
1046
# ./install, which can be erroneously created by make from ./install.sh.
1124
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1047
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1125
echo "configure:1126: checking for a BSD compatible install" >&5
1048
echo "configure:1049: checking for a BSD compatible install" >&5
1126
if test -z "$INSTALL"; then
1049
if test -z "$INSTALL"; then
1127
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1050
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1128
  echo $ac_n "(cached) $ac_c" 1>&6
1051
  echo $ac_n "(cached) $ac_c" 1>&6
1129
else
1052
else
1130
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
1053
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS="${IFS}:"
1131
  for ac_dir in $PATH; do
1054
  for ac_dir in $PATH; do
1132
    # Account for people who put trailing slashes in PATH elements.
1055
    # Account for people who put trailing slashes in PATH elements.
1133
    case "$ac_dir/" in
1056
    case "$ac_dir/" in
1134
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1057
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1135
    *)
1058
    *)
1136
      # OSF1 and SCO ODT 3.0 have their own names for install.
1059
      # OSF1 and SCO ODT 3.0 have their own names for install.
1137
      # Don't use installbsd from OSF since it installs stuff as root
1060
      for ac_prog in ginstall installbsd scoinst install; do
1138
      # by default.
1139
      for ac_prog in ginstall scoinst install; do
1140
        if test -f $ac_dir/$ac_prog; then
1061
        if test -f $ac_dir/$ac_prog; then
1141
	  if test $ac_prog = install &&
1062
	  if test $ac_prog = install &&
1142
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1063
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1143
	    # AIX install.  It has an incompatible calling convention.
1064
	    # AIX install.  It has an incompatible calling convention.
1065
	    # OSF/1 installbsd also uses dspmsg, but is usable.
1144
	    :
1066
	    :
1145
	  else
1067
	  else
1146
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
1068
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
Lines 1170-1187 Link Here
1170
# It thinks the first close brace ends the variable substitution.
1092
# It thinks the first close brace ends the variable substitution.
1171
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1093
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1172
1094
1173
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1174
1175
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1095
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1176
1096
1177
1097
1178
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1098
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1179
echo "configure:1180: checking return type of signal handlers" >&5
1099
echo "configure:1100: checking return type of signal handlers" >&5
1180
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1100
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1181
  echo $ac_n "(cached) $ac_c" 1>&6
1101
  echo $ac_n "(cached) $ac_c" 1>&6
1182
else
1102
else
1183
  cat > conftest.$ac_ext <<EOF
1103
  cat > conftest.$ac_ext <<EOF
1184
#line 1185 "configure"
1104
#line 1105 "configure"
1185
#include "confdefs.h"
1105
#include "confdefs.h"
1186
#include <sys/types.h>
1106
#include <sys/types.h>
1187
#include <signal.h>
1107
#include <signal.h>
Lines 1198-1204 Link Here
1198
int i;
1118
int i;
1199
; return 0; }
1119
; return 0; }
1200
EOF
1120
EOF
1201
if { (eval echo configure:1202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1121
if { (eval echo configure:1122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1202
  rm -rf conftest*
1122
  rm -rf conftest*
1203
  ac_cv_type_signal=void
1123
  ac_cv_type_signal=void
1204
else
1124
else
Lines 1219-1230 Link Here
1219
1139
1220
1140
1221
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1141
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1222
echo "configure:1223: checking for gethostbyname" >&5
1142
echo "configure:1143: checking for gethostbyname" >&5
1223
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1143
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1224
  echo $ac_n "(cached) $ac_c" 1>&6
1144
  echo $ac_n "(cached) $ac_c" 1>&6
1225
else
1145
else
1226
  cat > conftest.$ac_ext <<EOF
1146
  cat > conftest.$ac_ext <<EOF
1227
#line 1228 "configure"
1147
#line 1148 "configure"
1228
#include "confdefs.h"
1148
#include "confdefs.h"
1229
/* System header to define __stub macros and hopefully few prototypes,
1149
/* System header to define __stub macros and hopefully few prototypes,
1230
    which can conflict with char gethostbyname(); below.  */
1150
    which can conflict with char gethostbyname(); below.  */
Lines 1247-1253 Link Here
1247
1167
1248
; return 0; }
1168
; return 0; }
1249
EOF
1169
EOF
1250
if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1170
if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1251
  rm -rf conftest*
1171
  rm -rf conftest*
1252
  eval "ac_cv_func_gethostbyname=yes"
1172
  eval "ac_cv_func_gethostbyname=yes"
1253
else
1173
else
Lines 1268-1274 Link Here
1268
1188
1269
if test $ac_cv_func_gethostbyname = no; then
1189
if test $ac_cv_func_gethostbyname = no; then
1270
    echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1190
    echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1271
echo "configure:1272: checking for gethostbyname in -lnsl" >&5
1191
echo "configure:1192: checking for gethostbyname in -lnsl" >&5
1272
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1192
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1273
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1193
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1274
  echo $ac_n "(cached) $ac_c" 1>&6
1194
  echo $ac_n "(cached) $ac_c" 1>&6
Lines 1276-1282 Link Here
1276
  ac_save_LIBS="$LIBS"
1196
  ac_save_LIBS="$LIBS"
1277
LIBS="-lnsl  $LIBS"
1197
LIBS="-lnsl  $LIBS"
1278
cat > conftest.$ac_ext <<EOF
1198
cat > conftest.$ac_ext <<EOF
1279
#line 1280 "configure"
1199
#line 1200 "configure"
1280
#include "confdefs.h"
1200
#include "confdefs.h"
1281
/* Override any gcc2 internal prototype to avoid an error.  */
1201
/* Override any gcc2 internal prototype to avoid an error.  */
1282
/* We use char because int might match the return type of a gcc2
1202
/* We use char because int might match the return type of a gcc2
Lines 1287-1293 Link Here
1287
gethostbyname()
1207
gethostbyname()
1288
; return 0; }
1208
; return 0; }
1289
EOF
1209
EOF
1290
if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1210
if { (eval echo configure:1211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1291
  rm -rf conftest*
1211
  rm -rf conftest*
1292
  eval "ac_cv_lib_$ac_lib_var=yes"
1212
  eval "ac_cv_lib_$ac_lib_var=yes"
1293
else
1213
else
Lines 1316-1327 Link Here
1316
1236
1317
fi
1237
fi
1318
echo $ac_n "checking for connect""... $ac_c" 1>&6
1238
echo $ac_n "checking for connect""... $ac_c" 1>&6
1319
echo "configure:1320: checking for connect" >&5
1239
echo "configure:1240: checking for connect" >&5
1320
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1240
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1321
  echo $ac_n "(cached) $ac_c" 1>&6
1241
  echo $ac_n "(cached) $ac_c" 1>&6
1322
else
1242
else
1323
  cat > conftest.$ac_ext <<EOF
1243
  cat > conftest.$ac_ext <<EOF
1324
#line 1325 "configure"
1244
#line 1245 "configure"
1325
#include "confdefs.h"
1245
#include "confdefs.h"
1326
/* System header to define __stub macros and hopefully few prototypes,
1246
/* System header to define __stub macros and hopefully few prototypes,
1327
    which can conflict with char connect(); below.  */
1247
    which can conflict with char connect(); below.  */
Lines 1344-1350 Link Here
1344
1264
1345
; return 0; }
1265
; return 0; }
1346
EOF
1266
EOF
1347
if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1267
if { (eval echo configure:1268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1348
  rm -rf conftest*
1268
  rm -rf conftest*
1349
  eval "ac_cv_func_connect=yes"
1269
  eval "ac_cv_func_connect=yes"
1350
else
1270
else
Lines 1365-1371 Link Here
1365
1285
1366
if test $ac_cv_func_connect = no; then
1286
if test $ac_cv_func_connect = no; then
1367
    echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1287
    echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1368
echo "configure:1369: checking for connect in -lsocket" >&5
1288
echo "configure:1289: checking for connect in -lsocket" >&5
1369
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1289
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1370
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1290
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1371
  echo $ac_n "(cached) $ac_c" 1>&6
1291
  echo $ac_n "(cached) $ac_c" 1>&6
Lines 1373-1379 Link Here
1373
  ac_save_LIBS="$LIBS"
1293
  ac_save_LIBS="$LIBS"
1374
LIBS="-lsocket  $LIBS"
1294
LIBS="-lsocket  $LIBS"
1375
cat > conftest.$ac_ext <<EOF
1295
cat > conftest.$ac_ext <<EOF
1376
#line 1377 "configure"
1296
#line 1297 "configure"
1377
#include "confdefs.h"
1297
#include "confdefs.h"
1378
/* Override any gcc2 internal prototype to avoid an error.  */
1298
/* Override any gcc2 internal prototype to avoid an error.  */
1379
/* We use char because int might match the return type of a gcc2
1299
/* We use char because int might match the return type of a gcc2
Lines 1384-1390 Link Here
1384
connect()
1304
connect()
1385
; return 0; }
1305
; return 0; }
1386
EOF
1306
EOF
1387
if { (eval echo configure:1388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1307
if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1388
  rm -rf conftest*
1308
  rm -rf conftest*
1389
  eval "ac_cv_lib_$ac_lib_var=yes"
1309
  eval "ac_cv_lib_$ac_lib_var=yes"
1390
else
1310
else
Lines 1444-1455 Link Here
1444
		herror 
1364
		herror 
1445
do
1365
do
1446
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1366
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1447
echo "configure:1448: checking for $ac_func" >&5
1367
echo "configure:1368: checking for $ac_func" >&5
1448
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1368
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1449
  echo $ac_n "(cached) $ac_c" 1>&6
1369
  echo $ac_n "(cached) $ac_c" 1>&6
1450
else
1370
else
1451
  cat > conftest.$ac_ext <<EOF
1371
  cat > conftest.$ac_ext <<EOF
1452
#line 1453 "configure"
1372
#line 1373 "configure"
1453
#include "confdefs.h"
1373
#include "confdefs.h"
1454
/* System header to define __stub macros and hopefully few prototypes,
1374
/* System header to define __stub macros and hopefully few prototypes,
1455
    which can conflict with char $ac_func(); below.  */
1375
    which can conflict with char $ac_func(); below.  */
Lines 1472-1478 Link Here
1472
1392
1473
; return 0; }
1393
; return 0; }
1474
EOF
1394
EOF
1475
if { (eval echo configure:1476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1395
if { (eval echo configure:1396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1476
  rm -rf conftest*
1396
  rm -rf conftest*
1477
  eval "ac_cv_func_$ac_func=yes"
1397
  eval "ac_cv_func_$ac_func=yes"
1478
else
1398
else
Lines 1499-1510 Link Here
1499
1419
1500
for ac_hdr in arpa/inet.h \
1420
for ac_hdr in arpa/inet.h \
1501
		  sys/types.h \
1421
		  sys/types.h \
1502
		  time.h \
1503
		  sys/time.h \
1422
		  sys/time.h \
1504
		  sys/stat.h \
1423
		  sys/stat.h \
1505
		  fcntl.h \
1424
		  fcntl.h \
1506
		  signal.h \
1425
		  signal.h \
1507
		  string.h \
1508
		  syslog.h \
1426
		  syslog.h \
1509
		  pwd.h \
1427
		  pwd.h \
1510
		  stdarg.h \
1428
		  stdarg.h \
Lines 1516-1533 Link Here
1516
do
1434
do
1517
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1435
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1518
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1436
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1519
echo "configure:1520: checking for $ac_hdr" >&5
1437
echo "configure:1438: checking for $ac_hdr" >&5
1520
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1438
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1521
  echo $ac_n "(cached) $ac_c" 1>&6
1439
  echo $ac_n "(cached) $ac_c" 1>&6
1522
else
1440
else
1523
  cat > conftest.$ac_ext <<EOF
1441
  cat > conftest.$ac_ext <<EOF
1524
#line 1525 "configure"
1442
#line 1443 "configure"
1525
#include "confdefs.h"
1443
#include "confdefs.h"
1526
#include <$ac_hdr>
1444
#include <$ac_hdr>
1527
EOF
1445
EOF
1528
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1446
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1529
{ (eval echo configure:1530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1447
{ (eval echo configure:1448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1530
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1448
ac_err=`grep -v '^ *+' conftest.out`
1531
if test -z "$ac_err"; then
1449
if test -z "$ac_err"; then
1532
  rm -rf conftest*
1450
  rm -rf conftest*
1533
  eval "ac_cv_header_$ac_safe=yes"
1451
  eval "ac_cv_header_$ac_safe=yes"
Lines 1560-1577 Link Here
1560
do
1478
do
1561
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1479
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1562
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1480
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1563
echo "configure:1564: checking for $ac_hdr" >&5
1481
echo "configure:1482: checking for $ac_hdr" >&5
1564
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1482
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1565
  echo $ac_n "(cached) $ac_c" 1>&6
1483
  echo $ac_n "(cached) $ac_c" 1>&6
1566
else
1484
else
1567
  cat > conftest.$ac_ext <<EOF
1485
  cat > conftest.$ac_ext <<EOF
1568
#line 1569 "configure"
1486
#line 1487 "configure"
1569
#include "confdefs.h"
1487
#include "confdefs.h"
1570
#include <$ac_hdr>
1488
#include <$ac_hdr>
1571
EOF
1489
EOF
1572
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1490
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1573
{ (eval echo configure:1574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1491
{ (eval echo configure:1492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1574
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1492
ac_err=`grep -v '^ *+' conftest.out`
1575
if test -z "$ac_err"; then
1493
if test -z "$ac_err"; then
1576
  rm -rf conftest*
1494
  rm -rf conftest*
1577
  eval "ac_cv_header_$ac_safe=yes"
1495
  eval "ac_cv_header_$ac_safe=yes"
Lines 1599-1605 Link Here
1599
1517
1600
1518
1601
echo $ac_n "checking for sys_errlist in -lc""... $ac_c" 1>&6
1519
echo $ac_n "checking for sys_errlist in -lc""... $ac_c" 1>&6
1602
echo "configure:1603: checking for sys_errlist in -lc" >&5
1520
echo "configure:1521: checking for sys_errlist in -lc" >&5
1603
ac_lib_var=`echo c'_'sys_errlist | sed 'y%./+-%__p_%'`
1521
ac_lib_var=`echo c'_'sys_errlist | sed 'y%./+-%__p_%'`
1604
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1522
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1605
  echo $ac_n "(cached) $ac_c" 1>&6
1523
  echo $ac_n "(cached) $ac_c" 1>&6
Lines 1607-1613 Link Here
1607
  ac_save_LIBS="$LIBS"
1525
  ac_save_LIBS="$LIBS"
1608
LIBS="-lc  $LIBS"
1526
LIBS="-lc  $LIBS"
1609
cat > conftest.$ac_ext <<EOF
1527
cat > conftest.$ac_ext <<EOF
1610
#line 1611 "configure"
1528
#line 1529 "configure"
1611
#include "confdefs.h"
1529
#include "confdefs.h"
1612
/* Override any gcc2 internal prototype to avoid an error.  */
1530
/* Override any gcc2 internal prototype to avoid an error.  */
1613
/* We use char because int might match the return type of a gcc2
1531
/* We use char because int might match the return type of a gcc2
Lines 1618-1624 Link Here
1618
sys_errlist()
1536
sys_errlist()
1619
; return 0; }
1537
; return 0; }
1620
EOF
1538
EOF
1621
if { (eval echo configure:1622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1539
if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1622
  rm -rf conftest*
1540
  rm -rf conftest*
1623
  eval "ac_cv_lib_$ac_lib_var=yes"
1541
  eval "ac_cv_lib_$ac_lib_var=yes"
1624
else
1542
else
Lines 1645-1656 Link Here
1645
for ac_func in getopt
1563
for ac_func in getopt
1646
do
1564
do
1647
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1565
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1648
echo "configure:1649: checking for $ac_func" >&5
1566
echo "configure:1567: checking for $ac_func" >&5
1649
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1567
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1650
  echo $ac_n "(cached) $ac_c" 1>&6
1568
  echo $ac_n "(cached) $ac_c" 1>&6
1651
else
1569
else
1652
  cat > conftest.$ac_ext <<EOF
1570
  cat > conftest.$ac_ext <<EOF
1653
#line 1654 "configure"
1571
#line 1572 "configure"
1654
#include "confdefs.h"
1572
#include "confdefs.h"
1655
/* System header to define __stub macros and hopefully few prototypes,
1573
/* System header to define __stub macros and hopefully few prototypes,
1656
    which can conflict with char $ac_func(); below.  */
1574
    which can conflict with char $ac_func(); below.  */
Lines 1673-1679 Link Here
1673
1591
1674
; return 0; }
1592
; return 0; }
1675
EOF
1593
EOF
1676
if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1594
if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1677
  rm -rf conftest*
1595
  rm -rf conftest*
1678
  eval "ac_cv_func_$ac_func=yes"
1596
  eval "ac_cv_func_$ac_func=yes"
1679
else
1597
else
Lines 1702-1713 Link Here
1702
fi
1620
fi
1703
1621
1704
echo $ac_n "checking for getpass""... $ac_c" 1>&6
1622
echo $ac_n "checking for getpass""... $ac_c" 1>&6
1705
echo "configure:1706: checking for getpass" >&5
1623
echo "configure:1624: checking for getpass" >&5
1706
if eval "test \"`echo '$''{'ac_cv_func_getpass'+set}'`\" = set"; then
1624
if eval "test \"`echo '$''{'ac_cv_func_getpass'+set}'`\" = set"; then
1707
  echo $ac_n "(cached) $ac_c" 1>&6
1625
  echo $ac_n "(cached) $ac_c" 1>&6
1708
else
1626
else
1709
  cat > conftest.$ac_ext <<EOF
1627
  cat > conftest.$ac_ext <<EOF
1710
#line 1711 "configure"
1628
#line 1629 "configure"
1711
#include "confdefs.h"
1629
#include "confdefs.h"
1712
/* System header to define __stub macros and hopefully few prototypes,
1630
/* System header to define __stub macros and hopefully few prototypes,
1713
    which can conflict with char getpass(); below.  */
1631
    which can conflict with char getpass(); below.  */
Lines 1730-1736 Link Here
1730
1648
1731
; return 0; }
1649
; return 0; }
1732
EOF
1650
EOF
1733
if { (eval echo configure:1734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1651
if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1734
  rm -rf conftest*
1652
  rm -rf conftest*
1735
  eval "ac_cv_func_getpass=yes"
1653
  eval "ac_cv_func_getpass=yes"
1736
else
1654
else
Lines 1757-1782 Link Here
1757
1675
1758
1676
1759
# Make sure we can run config.sub.
1677
# Make sure we can run config.sub.
1760
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1678
if $ac_config_sub sun4 >/dev/null 2>&1; then :
1761
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1679
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1762
fi
1680
fi
1763
1681
1764
echo $ac_n "checking host system type""... $ac_c" 1>&6
1682
echo $ac_n "checking host system type""... $ac_c" 1>&6
1765
echo "configure:1766: checking host system type" >&5
1683
echo "configure:1684: checking host system type" >&5
1766
1684
1767
host_alias=$host
1685
host_alias=$host
1768
case "$host_alias" in
1686
case "$host_alias" in
1769
NONE)
1687
NONE)
1770
  case $nonopt in
1688
  case $nonopt in
1771
  NONE)
1689
  NONE)
1772
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1690
    if host_alias=`$ac_config_guess`; then :
1773
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1691
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1774
    fi ;;
1692
    fi ;;
1775
  *) host_alias=$nonopt ;;
1693
  *) host_alias=$nonopt ;;
1776
  esac ;;
1694
  esac ;;
1777
esac
1695
esac
1778
1696
1779
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1697
host=`$ac_config_sub $host_alias`
1780
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1698
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1781
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1699
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1782
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1700
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
Lines 1788-1794 Link Here
1788
1706
1789
1707
1790
echo $ac_n "checking for user supplied default service""... $ac_c" 1>&6
1708
echo $ac_n "checking for user supplied default service""... $ac_c" 1>&6
1791
echo "configure:1792: checking for user supplied default service" >&5
1709
echo "configure:1710: checking for user supplied default service" >&5
1792
# Check whether --enable-default-service or --disable-default-service was given.
1710
# Check whether --enable-default-service or --disable-default-service was given.
1793
if test "${enable_default_service+set}" = set; then
1711
if test "${enable_default_service+set}" = set; then
1794
  enableval="$enable_default_service"
1712
  enableval="$enable_default_service"
Lines 1882-1888 Link Here
1882
esac
1800
esac
1883
1801
1884
echo $ac_n "checking whether user wants debugging support""... $ac_c" 1>&6
1802
echo $ac_n "checking whether user wants debugging support""... $ac_c" 1>&6
1885
echo "configure:1886: checking whether user wants debugging support" >&5
1803
echo "configure:1804: checking whether user wants debugging support" >&5
1886
# Check whether --enable-debug or --disable-debug was given.
1804
# Check whether --enable-debug or --disable-debug was given.
1887
if test "${enable_debug+set}" = set; then
1805
if test "${enable_debug+set}" = set; then
1888
  enableval="$enable_debug"
1806
  enableval="$enable_debug"
Lines 1897-1903 Link Here
1897
1815
1898
1816
1899
echo $ac_n "checking whether user wants to dissable MD5 support""... $ac_c" 1>&6
1817
echo $ac_n "checking whether user wants to dissable MD5 support""... $ac_c" 1>&6
1900
echo "configure:1901: checking whether user wants to dissable MD5 support" >&5
1818
echo "configure:1819: checking whether user wants to dissable MD5 support" >&5
1901
# Check whether --enable-md5 or --disable-md5 was given.
1819
# Check whether --enable-md5 or --disable-md5 was given.
1902
if test "${enable_md5+set}" = set; then
1820
if test "${enable_md5+set}" = set; then
1903
  enableval="$enable_md5"
1821
  enableval="$enable_md5"
Lines 1937-1943 Link Here
1937
# Ultrix sh set writes to stderr and can't be redirected directly,
1855
# Ultrix sh set writes to stderr and can't be redirected directly,
1938
# and sets the high bit in the cache file unless we assign to the vars.
1856
# and sets the high bit in the cache file unless we assign to the vars.
1939
(set) 2>&1 |
1857
(set) 2>&1 |
1940
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
1858
  case `(ac_space=' '; set) 2>&1` in
1941
  *ac_space=\ *)
1859
  *ac_space=\ *)
1942
    # `set' does not quote correctly, so add quotes (double-quote substitution
1860
    # `set' does not quote correctly, so add quotes (double-quote substitution
1943
    # turns \\\\ into \\, and sed turns \\ into \).
1861
    # turns \\\\ into \\, and sed turns \\ into \).
Lines 2004-2010 Link Here
2004
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1922
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2005
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1923
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2006
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1924
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2007
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1925
    echo "$CONFIG_STATUS generated by autoconf version 2.12"
2008
    exit 0 ;;
1926
    exit 0 ;;
2009
  -help | --help | --hel | --he | --h)
1927
  -help | --help | --hel | --he | --h)
2010
    echo "\$ac_cs_usage"; exit 0 ;;
1928
    echo "\$ac_cs_usage"; exit 0 ;;
Lines 2024-2034 Link Here
2024
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1942
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2025
$ac_vpsub
1943
$ac_vpsub
2026
$extrasub
1944
$extrasub
2027
s%@SHELL@%$SHELL%g
2028
s%@CFLAGS@%$CFLAGS%g
1945
s%@CFLAGS@%$CFLAGS%g
2029
s%@CPPFLAGS@%$CPPFLAGS%g
1946
s%@CPPFLAGS@%$CPPFLAGS%g
2030
s%@CXXFLAGS@%$CXXFLAGS%g
1947
s%@CXXFLAGS@%$CXXFLAGS%g
2031
s%@FFLAGS@%$FFLAGS%g
2032
s%@DEFS@%$DEFS%g
1948
s%@DEFS@%$DEFS%g
2033
s%@LDFLAGS@%$LDFLAGS%g
1949
s%@LDFLAGS@%$LDFLAGS%g
2034
s%@LIBS@%$LIBS%g
1950
s%@LIBS@%$LIBS%g
Lines 2048-2055 Link Here
2048
s%@infodir@%$infodir%g
1964
s%@infodir@%$infodir%g
2049
s%@mandir@%$mandir%g
1965
s%@mandir@%$mandir%g
2050
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1966
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2051
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2052
s%@INSTALL_DATA@%$INSTALL_DATA%g
1967
s%@INSTALL_DATA@%$INSTALL_DATA%g
1968
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2053
s%@PACKAGE@%$PACKAGE%g
1969
s%@PACKAGE@%$PACKAGE%g
2054
s%@VERSION@%$VERSION%g
1970
s%@VERSION@%$VERSION%g
2055
s%@ACLOCAL@%$ACLOCAL%g
1971
s%@ACLOCAL@%$ACLOCAL%g
(-)ez-ipupdate-3.0.11b8/configure.in (-2 lines)
Lines 58-69 Link Here
58
dnl Checks for header files.
58
dnl Checks for header files.
59
AC_CHECK_HEADERS( arpa/inet.h \
59
AC_CHECK_HEADERS( arpa/inet.h \
60
		  sys/types.h \
60
		  sys/types.h \
61
		  time.h \
62
		  sys/time.h \
61
		  sys/time.h \
63
		  sys/stat.h \
62
		  sys/stat.h \
64
		  fcntl.h \
63
		  fcntl.h \
65
		  signal.h \
64
		  signal.h \
66
		  string.h \
67
		  syslog.h \
65
		  syslog.h \
68
		  pwd.h \
66
		  pwd.h \
69
		  stdarg.h \
67
		  stdarg.h \
(-)ez-ipupdate-3.0.11b8/debian/changelog (-171 lines)
Lines 1-171 Link Here
1
ez-ipupdate (3.0.11b8-8.1) unstable; urgency=low
2
3
  * Non-maintainer upload
4
  * Switched to po-debconf. (closes: #237444)
5
  * Added Czech debconf template translation.
6
  * Added French debconf template translation.
7
  * Added German debconf template translation.
8
  * Added Brazilian Portuguese debconf template translation. (closes: #300821)
9
10
 -- Lucas Wall <lwall@debian.org>  Fri, 25 Mar 2005 17:34:15 -0300
11
12
ez-ipupdate (3.0.11b8-8) unstable; urgency=critical
13
14
  * ez-ipupdate.c:
15
    + Fixed the format string vulnerability in CAN-2004-0980 (Closes: #280822).
16
  * debian/control:
17
    + Set policy to 3.6.1.1.
18
19
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Sat, 13 Nov 2004 15:45:58 +0100
20
21
ez-ipupdate (3.0.11b8-7) unstable; urgency=low
22
23
  * debian/control:
24
    + Set policy to 3.6.1.0.
25
    + Set debhelper build-dependency to (>= 4.1.68) because of dh_installppp.
26
  * debian/rules:
27
    + Use dh_installppp instead of doing the work by hand (Closes: #212896).
28
29
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Mon, 27 Oct 2003 13:39:09 +0100
30
31
ez-ipupdate (3.0.11b8-6) unstable; urgency=low
32
33
  * debian/control:
34
    + Set policy to 3.6.0. No changes required.
35
    + Updated debhelper build-dependency to (>= 3.4.4) because we now
36
      use debian/compat.
37
    + Use ${misc:Depends}.
38
  * debian/config:
39
    + Fixed the wildcard/MX prompting, thanks to Sam Couter (Closes: #201720).
40
41
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Thu, 17 Jul 2003 14:44:06 +0200
42
43
ez-ipupdate (3.0.11b8-5) unstable; urgency=low
44
45
  * Do not prompt for a username or password in daemon mode (Closes: #198141).
46
  * debian/postinst:
47
    + Removed useless verbosity when installing the package for the first time.
48
49
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Fri, 20 Jun 2003 10:17:37 +0200
50
51
ez-ipupdate (3.0.11b8-4) unstable; urgency=low
52
53
  * Do not output the "invalid cache file" message if the reason is that the
54
    cache file is empty.
55
  * debian/postinst:
56
    + Removed a temporary file that was left behind.
57
  * Log to LOG_DAEMON instead of LOG_USER so that messages go to daemon.log.
58
  * Only show the executable name in syslog, not its full path.
59
  * Do not switch to OPT_QUIET in daemon mode, so that daemon.log shows
60
    useful information such as login failures (Closes: #179717).
61
  * Fixed a few spelling errors in the log messages.
62
  * Open syslog before creating the pid file so that errors regarding the
63
    pid file creation are logged as well.
64
65
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Thu, 19 Jun 2003 02:51:13 +0200
66
67
ez-ipupdate (3.0.11b8-3) unstable; urgency=low
68
69
  * Fixed a crash in the GNUDip code when no address is specified.
70
  * debian/control:
71
    + Set policy to 3.5.10.
72
    + Removed the leading "a" in the package description.
73
    + Added URLs for the various services in the long description.
74
  * debian/postinst:
75
    + Fixed default cache filename, thanks to Daniel Bonniot (Closes: #194004).
76
    + Added an invariant section to the default configuration file to preserve
77
      user changes (Closes: #191642).
78
    + No longer clear the password in debconf.
79
  * debian/config:
80
    + The GNUDip service needs a server address when run as a daemon; added a
81
      debconf prompt for this.
82
    + Added a debconf prompt to run ez-ipupdate as a daemon or through the
83
      PPP ip-up.d script (Closes: #85942).
84
  * debian/ppp:
85
    + Added this script for /etc/ppp/ip-up.d/.
86
87
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Wed, 18 Jun 2003 15:08:00 +0200
88
89
ez-ipupdate (3.0.11b8-2) unstable; urgency=low
90
91
  * Re-ran "rm -f config.sub config.guess configure install-sh missing \
92
    mkinstalldirs && aclocal && automake --copy --add-missing && autoconf"
93
  * Updated policy to 3.5.9.0.
94
95
 -- Samuel Hocevar <sam@zoy.org>  Wed, 23 Apr 2003 05:29:22 +0200
96
97
ez-ipupdate (3.0.11b8-1) unstable; urgency=low
98
99
  * New upstream release.
100
  * The debconf-created file is now mode 700 to avoid password exposure
101
    (Closes: #190237).
102
103
 -- Samuel Hocevar <sam@zoy.org>  Wed, 23 Apr 2003 05:03:37 +0200
104
105
ez-ipupdate (3.0.11b7-3) unstable; urgency=low
106
107
  * The "faster than light" release.
108
  * Really fixed the timestamp skew in debian/rules (Closes: #180901).
109
110
 -- Samuel Hocevar <sam@zoy.org>  Fri, 14 Feb 2003 02:12:38 +0100
111
112
ez-ipupdate (3.0.11b7-2) unstable; urgency=low
113
114
  * The "bloody valentine" release.
115
  * Fixed another timestamp skew in debian/rules (Closes: #180901, #180904).
116
117
 -- Samuel Hocevar <sam@zoy.org>  Fri, 14 Feb 2003 01:06:02 +0100
118
119
ez-ipupdate (3.0.11b7-1) unstable; urgency=low
120
121
  * The "eternal hellfire for lazy maintainers" release.
122
  * New upstream package (Closes: #167038).
123
  * Removed dependency on debconf-tiny (Closes: #137029).
124
  * We now Provide: dyndns-client (Closes: #139082).
125
  * Updated authors list in debian/copyright (Closes: #177772).
126
  * Fixed -Wall warnings.
127
  * This release fixes a hang in ODS_read_response() (Closes: #169043).
128
  * Added various safety checks in the init.d script.
129
  * Fixed the reload rule in the init.d script (Closes: #144798).
130
  * The init.d script only looks for files ending with .conf (Closes: #139518).
131
  * Applied a patch to handle running ez-ipupdate as a user, courtesy of Sam
132
    Couter (Closes: #127913).
133
  * Applied a patch for debconf management of the default configuration,
134
    courtesy of Sam Couter again (Closes: #100327).
135
  * Prevented timestamp skews in debian/rules.
136
  * Wrote a short manpage (Closes: #168361).
137
138
 -- Samuel Hocevar <sam@zoy.org>  Thu, 13 Feb 2003 15:56:57 +0100
139
140
ez-ipupdate (3.0.11b5-1) unstable; urgency=low
141
142
  * New upstream package.
143
144
 -- Samuel Hocevar <sam@zoy.org>  Thu,  8 Nov 2001 19:43:21 +0100
145
146
ez-ipupdate (3.0.10-2) unstable; urgency=low
147
148
  * Now builds and runs properly on Hurd (Closes: #108058).
149
150
 -- Samuel Hocevar <sam@zoy.org>  Thu,  9 Aug 2001 15:31:23 +0200
151
152
ez-ipupdate (3.0.10-1) unstable; urgency=low
153
154
  * New upstream release.
155
  * Fixed typo in init.d (Closes: #97175).
156
157
 -- Samuel Hocevar <sam@zoy.org>  Fri, 11 May 2001 18:51:35 +0200
158
159
ez-ipupdate (3.0.6-1) unstable; urgency=low
160
161
  * New upstream release.
162
  * Fixed moronic errors in the init.d file (Closes: #85057, #85955, #85956).
163
  * Removed generic installation instructions from /usr/share/doc.
164
165
 -- Samuel Hocevar <sam@zoy.org>  Thu,  1 Mar 2001 11:44:35 +0100
166
167
ez-ipupdate (3.0.4-1) unstable; urgency=low
168
169
  * Initial Release (Closes: #78202).
170
171
 -- Samuel Hocevar <sam@zoy.org>  Mon, 25 Dec 2000 05:48:01 +0100
(-)ez-ipupdate-3.0.11b8/debian/compat (-1 lines)
Line 1 Link Here
1
4
(-)ez-ipupdate-3.0.11b8/debian/config (-135 lines)
Lines 1-135 Link Here
1
#!/bin/sh
2
3
set -e
4
5
# Source debconf library
6
. /usr/share/debconf/confmodule
7
8
service_supports_wildcards()
9
{
10
    service=$1
11
    ret=1
12
13
    case "$service" in
14
        ez-ip|dhs|dyndns|dyndns-static|easydns|easydns-partner)
15
            ret=0
16
        ;;
17
    esac
18
19
    return $ret
20
}
21
22
service_supports_mx()
23
{
24
    service=$1
25
    ret=1
26
27
    case "$service" in
28
        ez-ip|dhs|dyndns|dyndns-static|easydns|zoneedit)
29
            ret=0
30
        ;;
31
    esac
32
33
    return $ret
34
}
35
36
service_needs_server()
37
{
38
    service=$1
39
    ret=1
40
41
    case "$service" in
42
        gnudip)
43
            ret=0
44
        ;;
45
    esac
46
47
    return $ret
48
}
49
50
# Name the configuration file
51
conf=/etc/ez-ipupdate/default.conf
52
53
# Do you want debconf to manage the default configuration?
54
db_input medium ez-ipupdate/manage_default_config_automatically || true
55
db_go
56
57
db_get ez-ipupdate/manage_default_config_automatically
58
if [ "$RET" = "true" ]; then
59
    if [ -f "$conf" ]; then
60
        # Grab existing values from config file
61
        if grep "^daemon" $conf > /dev/null 2>&1; then
62
            daemon="true"
63
        fi
64
        service="`sed -ne 's/^service-type *= *//p' < $conf`"
65
        server="`sed -ne 's/^server *= *//p' < $conf`"
66
        username="`sed -ne 's/^user *= *\([^:]*\):.*/\1/p' < $conf`"
67
        password="`sed -ne 's/^user *= *[^:]*://p' < $conf`"
68
        hostname="`sed -ne 's/^host *= *//p' < $conf`"
69
        interface="`sed -ne 's/^interface *= *//p' < $conf`"
70
        if grep "^wildcard" $conf > /dev/null 2>&1; then
71
            wildcard="true"
72
        fi
73
        dns_mx="`sed -ne 's/^mx *= *//p' < $conf`"
74
        # Poke the values into debconf
75
        if [ -n "$daemon" ]; then
76
            db_set ez-ipupdate/daemon "$daemon"
77
        fi
78
        if [ -n "$service" ]; then
79
            db_set ez-ipupdate/service_type "$service"
80
        fi
81
        if [ -n "$server" ]; then
82
            db_set ez-ipupdate/server "$server"
83
        fi
84
        if [ -n "$username" ]; then
85
            db_set ez-ipupdate/username "$username"
86
        fi
87
        if [ -n "$password" ]; then
88
            db_set ez-ipupdate/password "$password"
89
        fi
90
        if [ -n "$hostname" ]; then
91
            db_set ez-ipupdate/hostname "$hostname"
92
        fi
93
        if [ -n "$interface" ]; then
94
            db_set ez-ipupdate/interface "$interface"
95
        fi
96
        if [ "$wildcard" = true ]; then
97
            db_set ez-ipupdate/dns_wildcard true
98
        fi
99
        if [ -n "$dns_mx" ]; then
100
            db_set ez-ipupdate/dns_mx "$dns_mx"
101
        fi
102
    fi
103
    # Ask for new answers
104
    db_beginblock
105
    db_input high ez-ipupdate/daemon || true
106
    db_input high ez-ipupdate/service_type || true
107
    db_input high ez-ipupdate/username || true
108
    db_input high ez-ipupdate/password || true
109
    db_input high ez-ipupdate/hostname || true
110
    db_input high ez-ipupdate/interface || true
111
    db_endblock
112
    db_go
113
    # Need to determine whether wildcards and MX records are supported
114
    # by the chosen service
115
    db_beginblock
116
    db_get ez-ipupdate/service_type
117
    service_type="$RET"
118
    if service_needs_server "$service_type"; then
119
        db_input high ez-ipupdate/server || true
120
    else
121
        db_set ez-ipupdate/server ""
122
    fi
123
    if service_supports_wildcards "$service_type"; then
124
        db_input medium ez-ipupdate/dns_wildcard || true
125
    else
126
        db_set ez-ipupdate/dns_wildcard false
127
    fi
128
    if service_supports_mx "$service_type"; then
129
        db_input medium ez-ipupdate/dns_mx || true
130
    else
131
        db_set ez-ipupdate/dns_mx ""
132
    fi
133
    db_endblock
134
    db_go
135
fi
(-)ez-ipupdate-3.0.11b8/debian/control (-25 lines)
Lines 1-25 Link Here
1
Source: ez-ipupdate
2
Section: net
3
Priority: optional
4
Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
5
Build-Depends: debhelper (>= 4.1.68)
6
Standards-Version: 3.6.1.1
7
8
Package: ez-ipupdate
9
Section: net
10
Architecture: any
11
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, debconf (>= 1.2.0)
12
Provides: dyndns-client
13
Description: client for most dynamic DNS services
14
 ez-ipupdate is a quite complete client for the dynamic DNS service offered
15
 by http://www.ez-ip.net/ and many more.
16
 .
17
 Currently supported are: ez-ip (http://www.EZ-IP.Net/), Penguinpowered
18
 (http://www.penguinpowered.com/), DHS (http://members.dhs.org/),
19
 dynDNS (http://members.dyndns.org/), ODS (http://www.ods.org/),
20
 TZO (http://www.tzo.com/), EasyDNS (http://members.easydns.com/),
21
 Justlinux (http://www.justlinux.com), Dyns (http://www.dyns.cx),
22
 HN (http://dup.hn.org/), ZoneEdit (http://www.zoneedit.com/) and
23
 Hurricane Electric's IPv6 Tunnel Broker (http://ipv6tb.he.net/).
24
 .
25
 All services using GNUDip are also supported.
(-)ez-ipupdate-3.0.11b8/debian/copyright (-16 lines)
Lines 1-16 Link Here
1
This package was debianized by Sam Hocevar <sam@zoy.org> on
2
Mon, 25 Dec 2000 05:48:01 +0100.
3
4
It was downloaded from http://ez-ipupdate.com/
5
6
Upstream Authors: Angus Mackay <amackay@gusnet.cx>
7
                  Jeremy Bopp <jbopp@mail.utexas.edu>
8
                  Mark Jeftovic <markjr@easydns.com>
9
                  Stefaan Ponnet <webmaster@dyns.cx>
10
                  Colin Viebrock <colin@easydns.com>
11
                  Tim Brown <timb@machine.org.uk>
12
13
License: GNU General Public License.
14
15
On Debian GNU/Linux systems, a copy of the GNU GPL can be found in
16
/usr/share/common-licenses/GPL.
(-)ez-ipupdate-3.0.11b8/debian/dirs (-4 lines)
Lines 1-4 Link Here
1
etc/ez-ipupdate
2
etc/ppp/ip-up.d/
3
usr/sbin
4
usr/share/doc/ez-ipupdate/examples
(-)ez-ipupdate-3.0.11b8/debian/docs (-1 lines)
Line 1 Link Here
1
README
(-)ez-ipupdate-3.0.11b8/debian/ez-ipupdate.ppp.ip-up (-25 lines)
Lines 1-25 Link Here
1
#!/bin/sh
2
#
3
# Default ez-ipupdate ip-up script
4
# /etc/ppp/ip-up.d/ez-ipupdate
5
#
6
7
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
8
DAEMON=/usr/sbin/ez-ipupdate
9
NAME=ez-ipupdate
10
11
[ -x $DAEMON ] || exit 0
12
13
configs=`find "/etc/$NAME/" -name '*.conf' | sed -e 's,.*/\(.*\).conf,\1,'`
14
[ x"$configs" = x ] && exit 0
15
16
for config in `echo "$configs"`
17
do
18
    # Don't run daemon configurations
19
    if grep -q '^ *daemon' "/etc/$NAME/$config.conf"; then continue; fi
20
    # Don't run configurations that run in the foreground
21
    if grep -q '^ *foreground' "/etc/$NAME/$config.conf"; then continue; fi
22
    # Ok, launch an ez-ipupdate instance
23
    "$DAEMON" -c "/etc/$NAME/$config.conf"
24
done
25
(-)ez-ipupdate-3.0.11b8/debian/init (-96 lines)
Lines 1-96 Link Here
1
#! /bin/sh
2
3
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
4
DAEMON=/usr/sbin/ez-ipupdate
5
NAME=ez-ipupdate
6
DESC="Dynamic DNS client"
7
8
test -f "$DAEMON" || exit 0
9
10
set -e
11
12
case "$1" in
13
  start)
14
    echo -n "Starting $DESC:"
15
    configs=`find "/etc/$NAME/" -name '*.conf' | \
16
            sed -e 's,.*/\(.*\).conf,\1,'`
17
    if [ x"$configs" = x ]
18
    then
19
        echo " no .conf file in /etc/$NAME."
20
        exit 0
21
    fi
22
23
    echo -n " $NAME"
24
    for config in `echo "$configs"`
25
    do
26
        # Don't run configurations that are not daemons
27
        if ! grep -q '^ *daemon' "/etc/$NAME/$config.conf"; then continue; fi
28
        # Don't run configurations that run in the foreground
29
        if grep -q '^ *foreground' "/etc/$NAME/$config.conf"; then continue; fi
30
        # Ok, launch an ez-ipupdate instance
31
        if start-stop-daemon --start --quiet \
32
            --pidfile "/var/run/$NAME/$config.pid" \
33
            --exec "$DAEMON" \
34
                -- -d -c "/etc/$NAME/$config.conf" \
35
                -F "/var/run/$NAME/$config.pid"
36
        then
37
            echo -n " $config"
38
        fi
39
    done
40
    echo "."
41
    ;;
42
  stop)
43
    echo -n "Stopping $DESC:"
44
    pidfiles=`find "/var/run/$NAME/" -name "*.pid" | \
45
            sed -e 's,.*/\(.*\).pid,\1,'`
46
    if [ x"$pidfiles" = x ]
47
    then
48
        echo " no $NAME running."
49
        exit 0
50
    fi
51
52
    echo -n " $NAME"
53
    for pidfile in `echo "$pidfiles"`
54
    do
55
        if start-stop-daemon --stop --signal 3 --quiet \
56
            --pidfile "/var/run/$NAME/$pidfile.pid"
57
        then
58
            echo -n " $pidfile"
59
        fi
60
    done
61
    echo "."
62
    ;;
63
  reload)
64
    echo -n "Reloading $DESC configuration files:"
65
    pidfiles=`find "/var/run/$NAME" -name "*.pid" | \
66
            sed -e 's,.*/\(.*\).pid,\1,'`
67
    if [ x"$pidfiles" = x ]
68
    then
69
        echo " no $NAME running."
70
        exit 0
71
    fi
72
73
    echo -n " $NAME"
74
    for pidfile in `echo "$pidfiles"`
75
    do
76
        if start-stop-daemon --stop --signal 1 --quiet \
77
            --pidfile "/var/run/$NAME/$pidfile.pid"
78
        then
79
            echo -n " $pidfile"
80
        fi
81
    done
82
    echo "."
83
    ;;
84
  restart|force-reload)
85
    $0 stop
86
    sleep 1
87
    $0 start
88
    ;;
89
  *)
90
    N="/etc/init.d/$NAME"
91
    echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
92
    exit 1
93
    ;;
94
esac
95
96
exit 0
(-)ez-ipupdate-3.0.11b8/debian/po/cs.po (-201 lines)
Lines 1-201 Link Here
1
#
2
#    Translators, if you are not familiar with the PO format, gettext
3
#    documentation is worth reading, especially sections dedicated to
4
#    this format, e.g. by running:
5
#         info -n '(gettext)PO Files'
6
#         info -n '(gettext)Header Entry'
7
#
8
#    Some information specific to po-debconf are available at
9
#            /usr/share/doc/po-debconf/README-trans
10
#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
11
#
12
#    Developers do not need to manually edit POT or PO files.
13
#
14
msgid ""
15
msgstr ""
16
"Project-Id-Version: ez-ipupdate\n"
17
"Report-Msgid-Bugs-To: \n"
18
"POT-Creation-Date: 2005-03-16 22:26-0300\n"
19
"PO-Revision-Date: 2005-03-17 08:23+0100\n"
20
"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
21
"Language-Team: Czech <debian-l10n-czech@debian.org>\n"
22
"MIME-Version: 1.0\n"
23
"Content-Type: text/plain; charset=ISO-8859-2\n"
24
"Content-Transfer-Encoding: 8bit\n"
25
26
#. Type: boolean
27
#. Description
28
#: ../templates:4
29
msgid "Manage your default configuration with debconf?"
30
msgstr "Spravovat nastavení pomocí debconfu?"
31
32
#. Type: boolean
33
#. Description
34
#: ../templates:4
35
msgid ""
36
"ez-ipupdate can manage your default configuration automatically using "
37
"debconf. If you do not want your default configuration managed "
38
"automatically, decline this option."
39
msgstr ""
40
"Buï mù¾ete spravovat výchozí konfiguraci ez-ipupdate automaticky pomocí "
41
"debconfu, nebo ruènì úpravou konfiguraèního souboru."
42
43
#. Type: boolean
44
#. Description
45
#: ../templates:4
46
msgid ""
47
"Note that you can put as many additional configurations in /etc/ez-ipupdate/ "
48
"as you like. ez-ipupdate will not modify them."
49
msgstr ""
50
"Poznamenejme, ¾e do adresáøe /etc/ez-ipupdate/ mù¾ete pøidat libovolný poèet "
51
"dal¹ích konfigurací. Tyto dodateèné konfigurace nebude ez-ipupdate nijak "
52
"mìnit."
53
54
#. Type: boolean
55
#. Description
56
#: ../templates:15
57
msgid "Run as a daemon?"
58
msgstr "Spou¹tìt jako daemon?"
59
60
#. Type: boolean
61
#. Description
62
#: ../templates:15
63
msgid ""
64
"By default ez-ipupdate will run as a daemon to manage the configuration. "
65
"Refuse here if you do not want this. Instead, ez-ipupdate will install a "
66
"script in /etc/ppp/ip-up.d that will run all non-daemon configurations when "
67
"the ppp interface is brought up. See the /usr/share/doc/ez-ipupdate/README."
68
"Debian file for more information."
69
msgstr ""
70
"Implicitnì se ez-ipupdate spou¹tí jako daemon. Pokud tomu tak nechcete, "
71
"zamítnìte zde a ez-ipupdate místo toho nainstaluje do adresáøe /etc/ppp/ip-"
72
"up.d skript, který se bude spou¹tìt pøi ka¾dém nahození ppp rozhraní. "
73
"Podrobnosti naleznete v /usr/share/doc/ez-ipupdate/README.Debian."
74
75
#. Type: boolean
76
#. Description
77
#: ../templates:15
78
msgid ""
79
"If none of these automated behaviors suit you, you should probably not "
80
"manage your default configuration using debconf."
81
msgstr ""
82
"Pokud vám ¾ádné z automatických chování nevyhovuje, pravdìpodobnì nechcete, "
83
"aby se výchozí konfigurace spravovala pomocí debconfu."
84
85
#. Type: select
86
#. Description
87
#: ../templates:28
88
msgid "Dynamic DNS provider to use:"
89
msgstr "Poskytovatel dynamického DNS:"
90
91
#. Type: select
92
#. Description
93
#: ../templates:28
94
msgid ""
95
"There are many Dynamic DNS providers supported by ez-ipupdate. You must "
96
"select the provider that you wish to use here. You must configure an account "
97
"on your chosen provider's service yourself."
98
msgstr ""
99
"ez-ipupdate podporuje mnoho poskytovatelù dynamického DNS. Vyberte zde, "
100
"kterého poskytovatele pou¾íváte. Konkrétní úèet u daného poskytovatele si "
101
"v¹ak musíte nastavit sami."
102
103
#. Type: string
104
#. Description
105
#: ../templates:35
106
msgid "Address for your Dynamic DNS server:"
107
msgstr "Adresa serveru dynamického DNS:"
108
109
#. Type: string
110
#. Description
111
#: ../templates:35
112
msgid ""
113
"The service type you selected requires a server address to connect to. You "
114
"may specify either a full hostname or an IP address."
115
msgstr ""
116
"Slu¾ba, kterou jste vybrali, vy¾aduje adresu serveru, ke kterému se má "
117
"pøipojit. Mù¾ete zadat buï celé jméno serveru nebo jeho IP adresu."
118
119
#. Type: string
120
#. Description
121
#: ../templates:41
122
msgid "Username for your Dynamic DNS account:"
123
msgstr "U¾ivatelské jméno pro úèet dynamického DNS:"
124
125
#. Type: password
126
#. Description
127
#: ../templates:45
128
msgid "Password for your Dynamic DNS account:"
129
msgstr "Heslo pro úèet dynamického DNS:"
130
131
#. Type: string
132
#. Description
133
#: ../templates:49
134
msgid "Network interface to monitor:"
135
msgstr "Sledovat sí»ové rozhraní:"
136
137
#. Type: string
138
#. Description
139
#: ../templates:49
140
msgid ""
141
"ez-ipupdate will monitor the chosen network interface for changes of IP "
142
"address. It is not possible to automatically detect which interface should "
143
"be monitored, so you must name the interface here."
144
msgstr ""
145
"ez-ipupdate bude na daném sí»ovém rozhraní sledovat zmìny IP adresy. Program "
146
"neumí odhadnout, které rozhraní má sledovat a proto zde musíte uvést pøesný "
147
"název rozhraní."
148
149
#. Type: string
150
#. Description
151
#: ../templates:56
152
msgid "Dynamic DNS hostname to keep updated:"
153
msgstr "Dynamické DNS jméno poèítaèe, je¾ se má udr¾ovat aktuální:"
154
155
#. Type: boolean
156
#. Description
157
#: ../templates:61
158
msgid "Enable DNS wildcards for your Dynamic DNS hostname?"
159
msgstr "Povolit zástupné znaky DNS pro dynamické DNS jméno poèítaèe?"
160
161
#. Type: boolean
162
#. Description
163
#: ../templates:61
164
msgid ""
165
"Many Dynamic DNS providers are capable of supporting \"wildcard\" DNS "
166
"lookups. This means that for yourdomain, a lookup for anything.yourdomain "
167
"will return an answer that points to yourdomain. If you wish this feature to "
168
"be enabled, agree here."
169
msgstr ""
170
"Mnoho poskytovatelù dynamického DNS podporuje DNS dotazy se zástupnými "
171
"znaky. To znamená, ¾e pro vasedomena vrátí dotaz na cokoliv.vasedomena "
172
"odpovìï ukazující na vasedomena. Chcete-li tuto mo¾nost povolit, odpovìzte "
173
"zde kladnì."
174
175
#. Type: string
176
#. Description
177
#: ../templates:69
178
msgid "MX record to add:"
179
msgstr "MX záznam:"
180
181
#. Type: string
182
#. Description
183
#: ../templates:69
184
msgid ""
185
"Many Dynamic DNS providers are capable of supporting MX records. If you want "
186
"an MX record enabled for your domain, specify the content of that MX record "
187
"here. If you do not want an MX record, leave it blank."
188
msgstr ""
189
"Mnoho poskytovatelù dynamického DNS podporuje MX záznamy. Chcete-li pro svou "
190
"doménu povolit MX záznam, zadejte zde jeho obsah. V opaèném pøípadì ponechte "
191
"pole prázdné."
192
193
#. Type: string
194
#. Description
195
#: ../templates:69
196
msgid ""
197
"For further information on MX records, what they do, and how they are used, "
198
"see your Dynamic DNS provider."
199
msgstr ""
200
"Dal¹í informace o MX záznamech (co dìlají, jak se pou¾ívají) naleznete u "
201
"svého poskytovatele dynamického DNS."
(-)ez-ipupdate-3.0.11b8/debian/po/de.po (-209 lines)
Lines 1-209 Link Here
1
# translation of de-new.po to German
2
# translation of de.po to German
3
#
4
#    Translators, if you are not familiar with the PO format, gettext
5
#    documentation is worth reading, especially sections dedicated to
6
#    this format, e.g. by running:
7
#         info -n '(gettext)PO Files'
8
#         info -n '(gettext)Header Entry'
9
#    Some information specific to po-debconf are available at
10
#            /usr/share/doc/po-debconf/README-trans
11
#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
12
#    Developers do not need to manually edit POT or PO files.
13
# Jens Nachtigall <nachtigall@web.de>, 2005.
14
#
15
msgid ""
16
msgstr ""
17
"Project-Id-Version: de-new\n"
18
"Report-Msgid-Bugs-To: \n"
19
"POT-Creation-Date: 2005-03-16 22:26-0300\n"
20
"PO-Revision-Date: 2005-03-21 21:43+0100\n"
21
"Last-Translator: Jens Nachtigall <nachtigall@web.de>\n"
22
"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
23
"MIME-Version: 1.0\n"
24
"Content-Type: text/plain; charset=UTF-8\n"
25
"Content-Transfer-Encoding: 8bit\n"
26
"X-Generator: KBabel 1.9.1\n"
27
28
#. Type: boolean
29
#. Description
30
#: ../templates:4
31
msgid "Manage your default configuration with debconf?"
32
msgstr "Standard-Konfiguration mit debconf verwalten?"
33
34
#. Type: boolean
35
#. Description
36
#: ../templates:4
37
msgid ""
38
"ez-ipupdate can manage your default configuration automatically using "
39
"debconf. If you do not want your default configuration managed "
40
"automatically, decline this option."
41
msgstr ""
42
"ez-ipupdate kann Ihre Standard-Konfiguration automatisch mittels debconf "
43
"verwalten. Wenn Sie nicht wollen, dass Ihre Standard-Konfiguration "
44
"automatisch verwaltet wird, dann lehnen Sie diese Option ab."
45
46
#. Type: boolean
47
#. Description
48
#: ../templates:4
49
msgid ""
50
"Note that you can put as many additional configurations in /etc/ez-ipupdate/ "
51
"as you like. ez-ipupdate will not modify them."
52
msgstr ""
53
"Beachten Sie, dass Sie unter /etc/ez-ipupdate/ so viele zusätzliche "
54
"Konfigurationen haben können, wie Sie wollen. ez-ipupdate wird diese nicht "
55
"verändern."
56
57
#. Type: boolean
58
#. Description
59
#: ../templates:15
60
msgid "Run as a daemon?"
61
msgstr "Als Daemon laufen?"
62
63
#. Type: boolean
64
#. Description
65
#: ../templates:15
66
msgid ""
67
"By default ez-ipupdate will run as a daemon to manage the configuration. "
68
"Refuse here if you do not want this. Instead, ez-ipupdate will install a "
69
"script in /etc/ppp/ip-up.d that will run all non-daemon configurations when "
70
"the ppp interface is brought up. See the /usr/share/doc/ez-ipupdate/README."
71
"Debian file for more information."
72
msgstr ""
73
"Standardmäßig wird ez-ipupdate Ihre Konfiguration als Daemon verwalten. "
74
"Lehnen Sie hier ab, wenn Sie das nicht wünschen. Stattdessen würde ez-"
75
"ipupdate dann unter /etc/ppp/ip-up.d/ ein Skript installieren, welches "
76
"sämtliche Nicht-Daemon-Konfigurationen ausführt, sobald die PPP-"
77
"Schnittstelle hochgefahren wird. Lesen Sie die Datei /usr/share/doc/ez-"
78
"ipupdate/README.Debian für weitere Informationen."
79
80
#. Type: boolean
81
#. Description
82
#: ../templates:15
83
msgid ""
84
"If none of these automated behaviors suit you, you should probably not "
85
"manage your default configuration using debconf."
86
msgstr ""
87
"Sollte Ihnen keine dieser Automatismen zusagen, dann ist es wahrscheinlich "
88
"besser, wenn Sie Ihre Standard-Konfiguration nicht mittels debconf verwalten."
89
90
#. Type: select
91
#. Description
92
#: ../templates:28
93
msgid "Dynamic DNS provider to use:"
94
msgstr "Zu benutzender Dynamischer DNS-Provider:"
95
96
#. Type: select
97
#. Description
98
#: ../templates:28
99
msgid ""
100
"There are many Dynamic DNS providers supported by ez-ipupdate. You must "
101
"select the provider that you wish to use here. You must configure an account "
102
"on your chosen provider's service yourself."
103
msgstr ""
104
"ez-ipupdate unterstützt viele Dynamische DNS-Provider. Wählen Sie hier den "
105
"Provider aus, den Sie benutzen möchten. Das Benutzerkonto müssen Sie beim "
106
"Provider Ihrer Wahl selbst einrichten."
107
108
#. Type: string
109
#. Description
110
#: ../templates:35
111
msgid "Address for your Dynamic DNS server:"
112
msgstr "Adresse für Ihren Dynamischen DNS-Server:"
113
114
#. Type: string
115
#. Description
116
#: ../templates:35
117
msgid ""
118
"The service type you selected requires a server address to connect to. You "
119
"may specify either a full hostname or an IP address."
120
msgstr ""
121
"Für den ausgewählten Service wird eine Server-Adresse benötigt, zu der eine "
122
"Verbindung aufgebaut wird. Sie können entweder einen vollständigen Host-"
123
"Namen oder eine IP-Adresse angeben."
124
125
#. Type: string
126
#. Description
127
#: ../templates:41
128
msgid "Username for your Dynamic DNS account:"
129
msgstr "Benutzername für Ihr Dynamisches DNS-Konto:"
130
131
#. Type: password
132
#. Description
133
#: ../templates:45
134
msgid "Password for your Dynamic DNS account:"
135
msgstr "Passwort für Ihr Dynamisches DNS-Konto:"
136
137
#. Type: string
138
#. Description
139
#: ../templates:49
140
msgid "Network interface to monitor:"
141
msgstr "Zu verwaltende Netzwerk-Schnittstelle:"
142
143
#. Type: string
144
#. Description
145
#: ../templates:49
146
msgid ""
147
"ez-ipupdate will monitor the chosen network interface for changes of IP "
148
"address. It is not possible to automatically detect which interface should "
149
"be monitored, so you must name the interface here."
150
msgstr ""
151
"ez-ipupdate wird die ausgewählte Netzwerk-Schnittstelle auf Veränderungen "
152
"der IP-Adresse beobachten. Es ist nicht möglich automatisch festzustellen, "
153
"welche Schnittstelle beobachtet werden soll. Deshalb müssen Sie hier den "
154
"Namen der Schnittstelle selbst angeben."
155
156
#. Type: string
157
#. Description
158
#: ../templates:56
159
msgid "Dynamic DNS hostname to keep updated:"
160
msgstr "Zu aktualisierender Dynamischer DNS-Hostname:"
161
162
#. Type: boolean
163
#. Description
164
#: ../templates:61
165
msgid "Enable DNS wildcards for your Dynamic DNS hostname?"
166
msgstr "DNS-Wildcards für Ihren Dynamischen DNS-Hostnamen aktivieren?"
167
168
#. Type: boolean
169
#. Description
170
#: ../templates:61
171
msgid ""
172
"Many Dynamic DNS providers are capable of supporting \"wildcard\" DNS "
173
"lookups. This means that for yourdomain, a lookup for anything.yourdomain "
174
"will return an answer that points to yourdomain. If you wish this feature to "
175
"be enabled, agree here."
176
msgstr ""
177
"Viele Dynamische DNS-Provider unterstützen DNS-Lookups mit Platzhaltern "
178
"(»wildcards«). Das bedeutet: Haben Sie eine Domain namens »ihredomain«, dann "
179
"werden Anfragen nach »irgendetwas.ihredomain« mit einer Antwort erwidert, "
180
"die auf »ihredomain« verweist. Soll diese Fähigkeit aktiviert sein, dann "
181
"stimmen Sie hier zu."
182
183
#. Type: string
184
#. Description
185
#: ../templates:69
186
msgid "MX record to add:"
187
msgstr "Hinzuzufügender MX-Record:"
188
189
#. Type: string
190
#. Description
191
#: ../templates:69
192
msgid ""
193
"Many Dynamic DNS providers are capable of supporting MX records. If you want "
194
"an MX record enabled for your domain, specify the content of that MX record "
195
"here. If you do not want an MX record, leave it blank."
196
msgstr ""
197
"Viele Dynamische DNS-Provider unterstützen MX-Records. Wollen Sie für Ihre "
198
"Domain einen MX-Record hinzufügen, dann geben Sie hier bitte den Inhalt des "
199
"MX-Records an. Wollen Sie keinen MX-Record, dann lassen Sie das Feld frei."
200
201
#. Type: string
202
#. Description
203
#: ../templates:69
204
msgid ""
205
"For further information on MX records, what they do, and how they are used, "
206
"see your Dynamic DNS provider."
207
msgstr ""
208
"Weitere Informationen über MX-Records, wofür sie gut sind, und wie sie "
209
"verwendet werden, erfahren Sie von Ihrem Dynamischen DNS-Provider."
(-)ez-ipupdate-3.0.11b8/debian/po/fr.po (-204 lines)
Lines 1-204 Link Here
1
# translation of fr.po to French
2
#
3
#    Translators, if you are not familiar with the PO format, gettext
4
#    documentation is worth reading, especially sections dedicated to
5
#    this format, e.g. by running:
6
#         info -n '(gettext)PO Files'
7
#         info -n '(gettext)Header Entry'
8
#    Some information specific to po-debconf are available at
9
#            /usr/share/doc/po-debconf/README-trans
10
#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
11
#    Developers do not need to manually edit POT or PO files.
12
#
13
msgid ""
14
msgstr ""
15
"Project-Id-Version: ez-ipupdate\n"
16
"Report-Msgid-Bugs-To: \n"
17
"POT-Creation-Date: 2005-03-16 22:26-0300\n"
18
"PO-Revision-Date: 2005-03-17 08:39+0100\n"
19
"Last-Translator: Christian perrier <bubulle@debian.org>\n"
20
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
21
"MIME-Version: 1.0\n"
22
"Content-Type: text/plain; charset=ISO-8859-15\n"
23
"Content-Transfer-Encoding: 8bit\n"
24
"X-Generator: KBabel 1.9.1\n"
25
26
#. Type: boolean
27
#. Description
28
#: ../templates:4
29
msgid "Manage your default configuration with debconf?"
30
msgstr "Voulez-vous gérer la configuration par défaut avec debconf ?"
31
32
#. Type: boolean
33
#. Description
34
#: ../templates:4
35
msgid ""
36
"ez-ipupdate can manage your default configuration automatically using "
37
"debconf. If you do not want your default configuration managed "
38
"automatically, decline this option."
39
msgstr ""
40
"Ez-ipupdate peut gérer votre configuration par défaut automatiquement avec "
41
"l'outil de configuration debconf. Vous pouvez choisir de ne pas utiliser "
42
"cette option."
43
44
#. Type: boolean
45
#. Description
46
#: ../templates:4
47
msgid ""
48
"Note that you can put as many additional configurations in /etc/ez-ipupdate/ "
49
"as you like. ez-ipupdate will not modify them."
50
msgstr ""
51
"Veuillez noter que si vous ajoutez des configurations supplémentaires dans /"
52
"etc/ez-ipupdate/, elles ne seront ultérieurement pas modifiées."
53
54
#. Type: boolean
55
#. Description
56
#: ../templates:15
57
msgid "Run as a daemon?"
58
msgstr "Faut-il utiliser ez-ipudate comme un démon ?"
59
60
#. Type: boolean
61
#. Description
62
#: ../templates:15
63
msgid ""
64
"By default ez-ipupdate will run as a daemon to manage the configuration. "
65
"Refuse here if you do not want this. Instead, ez-ipupdate will install a "
66
"script in /etc/ppp/ip-up.d that will run all non-daemon configurations when "
67
"the ppp interface is brought up. See the /usr/share/doc/ez-ipupdate/README."
68
"Debian file for more information."
69
msgstr ""
70
"Par défaut, ez-ipupdate fonctionne comme un démon pour gérer la "
71
"configuration. Vous pouvez choisir de ne pas utiliser cette option. Dans ce "
72
"cas, ez-ipupdate installera un script dans /etc/ppp/ip-up.d qui exécutera "
73
"toutes les configurations qui ne sont pas gérées par un démon, lorsque "
74
"l'interface PPP sera activée. Veuillez consulter le fichier /usr/share/doc/"
75
"ez-ipupdate/README.Debian pour plus d'informations."
76
77
#. Type: boolean
78
#. Description
79
#: ../templates:15
80
msgid ""
81
"If none of these automated behaviors suit you, you should probably not "
82
"manage your default configuration using debconf."
83
msgstr ""
84
"Si aucun de ces fonctionnements automatisés ne vous convient, vous devriez "
85
"éviter de gérer la configuration par défaut avec debconf."
86
87
#. Type: select
88
#. Description
89
#: ../templates:28
90
msgid "Dynamic DNS provider to use:"
91
msgstr "Fournisseur de service de nom dynamique à utiliser :"
92
93
#. Type: select
94
#. Description
95
#: ../templates:28
96
msgid ""
97
"There are many Dynamic DNS providers supported by ez-ipupdate. You must "
98
"select the provider that you wish to use here. You must configure an account "
99
"on your chosen provider's service yourself."
100
msgstr ""
101
"De nombreux fournisseurs de service de nom dynamique sont gérés par ez-"
102
"ipupdate. Veuillez choisir le vôtre. La configuration de votre compte chez "
103
"ce fournisseur doit être effectuée à part."
104
105
#. Type: string
106
#. Description
107
#: ../templates:35
108
msgid "Address for your Dynamic DNS server:"
109
msgstr "Adresse de votre serveur de nom dynamique :"
110
111
#. Type: string
112
#. Description
113
#: ../templates:35
114
msgid ""
115
"The service type you selected requires a server address to connect to. You "
116
"may specify either a full hostname or an IP address."
117
msgstr ""
118
"Le type de service que vous avez choisi a besoin de l'adresse d'un serveur. "
119
"Vous pouvez indiquer un nom d'hôte complètement qualifié ou une adresse IP."
120
121
#. Type: string
122
#. Description
123
#: ../templates:41
124
msgid "Username for your Dynamic DNS account:"
125
msgstr "Identifiant de votre compte de service de nom dynamique :"
126
127
#. Type: password
128
#. Description
129
#: ../templates:45
130
msgid "Password for your Dynamic DNS account:"
131
msgstr "Mot de passe de votre compte de service de nom dynamique :"
132
133
#. Type: string
134
#. Description
135
#: ../templates:49
136
msgid "Network interface to monitor:"
137
msgstr "Interface réseau à surveiller :"
138
139
#. Type: string
140
#. Description
141
#: ../templates:49
142
msgid ""
143
"ez-ipupdate will monitor the chosen network interface for changes of IP "
144
"address. It is not possible to automatically detect which interface should "
145
"be monitored, so you must name the interface here."
146
msgstr ""
147
"Ez-ipupdate surveille les changements d'adresse IP sur une interface réseau. "
148
"Cette interface ne peut pas être détectée automatiquement et vous devez donc "
149
"l'indiquer ici."
150
151
#. Type: string
152
#. Description
153
#: ../templates:56
154
msgid "Dynamic DNS hostname to keep updated:"
155
msgstr "Nom d'hôte dynamique à tenir à jour :"
156
157
#. Type: boolean
158
#. Description
159
#: ../templates:61
160
msgid "Enable DNS wildcards for your Dynamic DNS hostname?"
161
msgstr ""
162
"Faut-il activer les requêtes DNS génériques pour votre nom d'hôte dynamique ?"
163
164
#. Type: boolean
165
#. Description
166
#: ../templates:61
167
msgid ""
168
"Many Dynamic DNS providers are capable of supporting \"wildcard\" DNS "
169
"lookups. This means that for yourdomain, a lookup for anything.yourdomain "
170
"will return an answer that points to yourdomain. If you wish this feature to "
171
"be enabled, agree here."
172
msgstr ""
173
"De nombreux fournisseurs de services de nom dynamique gèrent les requêtes "
174
"DNS génériques (« wildcard DNS »). Cela signifie qu'une requête pour "
175
"« adresse.votre.domaine » sera résolue vers « votre.domaine »."
176
177
#. Type: string
178
#. Description
179
#: ../templates:69
180
msgid "MX record to add:"
181
msgstr "Enregistrement MX à ajouter :"
182
183
#. Type: string
184
#. Description
185
#: ../templates:69
186
msgid ""
187
"Many Dynamic DNS providers are capable of supporting MX records. If you want "
188
"an MX record enabled for your domain, specify the content of that MX record "
189
"here. If you do not want an MX record, leave it blank."
190
msgstr ""
191
"De nombreux fournisseurs de services de nom dynamique gèrent les "
192
"enregistrements MX. Si vous souhaitez en activer un pour votre domaine, "
193
"veuillez en indiquer le contenu ici. Si vous laissez ce champ vide, aucun "
194
"enregistrement MX ne sera ajouté."
195
196
#. Type: string
197
#. Description
198
#: ../templates:69
199
msgid ""
200
"For further information on MX records, what they do, and how they are used, "
201
"see your Dynamic DNS provider."
202
msgstr ""
203
"Pour plus d'informations sur les enregistrements MX et leur utilisation, "
204
"veuillez consulter votre fournisseur de service de nom dynamique."
(-)ez-ipupdate-3.0.11b8/debian/po/POTFILES.in (-1 lines)
Line 1 Link Here
1
[type: gettext/rfc822deb] templates
(-)ez-ipupdate-3.0.11b8/debian/po/pt_BR.po (-205 lines)
Lines 1-205 Link Here
1
# Translators, if you are not familiar with the PO format, gettext
2
# documentation is worth reading, especially sections dedicated to
3
# this format, e.g. by running:
4
# info -n '(gettext)PO Files'
5
# info -n '(gettext)Header Entry'
6
# Some information specific to po-debconf are available at
7
# /usr/share/doc/po-debconf/README-trans
8
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
9
# Developers do not need to manually edit POT or PO files.
10
# 
11
# 
12
msgid ""
13
msgstr ""
14
"Project-Id-Version: ez-ipupdate 3.0.11\n"
15
"Report-Msgid-Bugs-To: \n"
16
"POT-Creation-Date: 2005-03-16 22:26-0300\n"
17
"PO-Revision-Date: 2005-03-21 23:11-0300\n"
18
"Last-Translator: Felipe Augusto van de Wiel (faw) <felipe@cathedrallabs>\n"
19
"Language-Team: Portuguese/Brazil <debian-l10n-portuguese@lists.debian.org>\n"
20
"MIME-Version: 1.0\n"
21
"Content-Type: text/plain; charset=UTF-8\n"
22
"Content-Transfer-Encoding: 8bit\n"
23
"pt_BR\n"
24
25
#. Type: boolean
26
#. Description
27
#: ../templates:4
28
msgid "Manage your default configuration with debconf?"
29
msgstr "Gerenciar suas configurações \"default\" com o debconf?"
30
31
#. Type: boolean
32
#. Description
33
#: ../templates:4
34
msgid ""
35
"ez-ipupdate can manage your default configuration automatically using "
36
"debconf. If you do not want your default configuration managed "
37
"automatically, decline this option."
38
msgstr ""
39
"ez-ipupdate pode gerenciar suas configurações \"default\" automaticamente "
40
"usando o deconf. Se você não quer que suas configurações \"default\" sejam "
41
"gerenciadas automaticamente, negue esta opção."
42
43
#. Type: boolean
44
#. Description
45
#: ../templates:4
46
msgid ""
47
"Note that you can put as many additional configurations in /etc/ez-ipupdate/ "
48
"as you like. ez-ipupdate will not modify them."
49
msgstr ""
50
"Note que você pode colocar quantas configurações adicionais no /etc/ez-"
51
"ipupdate/ você quiser. ez-ipupdate não vai modificá-las."
52
53
#. Type: boolean
54
#. Description
55
#: ../templates:15
56
msgid "Run as a daemon?"
57
msgstr "Executar como serviço?"
58
59
#. Type: boolean
60
#. Description
61
#: ../templates:15
62
msgid ""
63
"By default ez-ipupdate will run as a daemon to manage the configuration. "
64
"Refuse here if you do not want this. Instead, ez-ipupdate will install a "
65
"script in /etc/ppp/ip-up.d that will run all non-daemon configurations when "
66
"the ppp interface is brought up. See the /usr/share/doc/ez-ipupdate/README."
67
"Debian file for more information."
68
msgstr ""
69
"Por \"default\" ez-ipupdate é executado como serviço para gerenciar a "
70
"configuração. Recuse aqui se você não quiser isso. Ao invés disso, ez-"
71
"ipupdate instalará um script em /etc/ppp/ip-up.d que executará todas as "
72
"configurações quando a interface ppp for ativada. Veja o arquivo /usr/share/"
73
"doc/ez-ipupdate/README.Debian para mais informações."
74
75
#. Type: boolean
76
#. Description
77
#: ../templates:15
78
msgid ""
79
"If none of these automated behaviors suit you, you should probably not "
80
"manage your default configuration using debconf."
81
msgstr ""
82
"Se nenhum dos comportamentos automáticos atender você, você não deveria "
83
"gerenciar suas configurações \"default\" usando o debconf."
84
85
#. Type: select
86
#. Description
87
#: ../templates:28
88
msgid "Dynamic DNS provider to use:"
89
msgstr "Provedor de DNS Dinâmico a ser usado:"
90
91
#. Type: select
92
#. Description
93
#: ../templates:28
94
msgid ""
95
"There are many Dynamic DNS providers supported by ez-ipupdate. You must "
96
"select the provider that you wish to use here. You must configure an account "
97
"on your chosen provider's service yourself."
98
msgstr ""
99
"Há vários provedores de DNS Dinâmico suportados pelo ez-ipupdate. Você deve "
100
"selecionar o provedor que você gostaria de usar aqui. Você mesmo deve "
101
"configurar uma conta no serviço do provedor que você escolheu."
102
103
#. Type: string
104
#. Description
105
#: ../templates:35
106
msgid "Address for your Dynamic DNS server:"
107
msgstr "Endereço do seu servidor de DNS Dinâmico:"
108
109
#. Type: string
110
#. Description
111
#: ../templates:35
112
msgid ""
113
"The service type you selected requires a server address to connect to. You "
114
"may specify either a full hostname or an IP address."
115
msgstr ""
116
"O tipo do serviço que você selecionou requer um endereço de servidor para se "
117
"conectar. Você pode especificar um nome de máquina ou um endereço IP."
118
119
#. Type: string
120
#. Description
121
#: ../templates:41
122
msgid "Username for your Dynamic DNS account:"
123
msgstr "Nome do usuário para a sua conta de DNS Dinâmico:"
124
125
#. Type: password
126
#. Description
127
#: ../templates:45
128
msgid "Password for your Dynamic DNS account:"
129
msgstr "Senha para a sua conta de DNS Dinâmico:"
130
131
#. Type: string
132
#. Description
133
#: ../templates:49
134
msgid "Network interface to monitor:"
135
msgstr "Interface de rede para monitorar:"
136
137
#. Type: string
138
#. Description
139
#: ../templates:49
140
msgid ""
141
"ez-ipupdate will monitor the chosen network interface for changes of IP "
142
"address. It is not possible to automatically detect which interface should "
143
"be monitored, so you must name the interface here."
144
msgstr ""
145
"ez-ipupdate irá monitorar mudanças do endereço IP na interface de rede "
146
"escolhida. Não é possível detectar automaticamente qual interface deve ser "
147
"monitorada, portanto você deve nomear a interface aqui."
148
149
#. Type: string
150
#. Description
151
#: ../templates:56
152
msgid "Dynamic DNS hostname to keep updated:"
153
msgstr "Nome de máquina do DNS Dinâmico para manter atualizado:"
154
155
#. Type: boolean
156
#. Description
157
#: ../templates:61
158
msgid "Enable DNS wildcards for your Dynamic DNS hostname?"
159
msgstr ""
160
"Habilitar máscaras (\"wildcards\") de DNS para o seu nome de máquina do DNS "
161
"Dinâmico?"
162
163
#. Type: boolean
164
#. Description
165
#: ../templates:61
166
msgid ""
167
"Many Dynamic DNS providers are capable of supporting \"wildcard\" DNS "
168
"lookups. This means that for yourdomain, a lookup for anything.yourdomain "
169
"will return an answer that points to yourdomain. If you wish this feature to "
170
"be enabled, agree here."
171
msgstr ""
172
"Vários provedores de DNS Dinâmico são capazes de suportar consultas para "
173
"\"máscaras\" (\"wildcards\") de DNS. Isso significa que para o seu domínio, "
174
"uma consulta para qualquercoisa.seudominio vai retornar uma resposta que "
175
"aponta para o seu domínio. Se você deseja que esse recurso seja ativado, "
176
"aceite aqui."
177
178
#. Type: string
179
#. Description
180
#: ../templates:69
181
msgid "MX record to add:"
182
msgstr "Entrada MX a ser adicionada:"
183
184
#. Type: string
185
#. Description
186
#: ../templates:69
187
msgid ""
188
"Many Dynamic DNS providers are capable of supporting MX records. If you want "
189
"an MX record enabled for your domain, specify the content of that MX record "
190
"here. If you do not want an MX record, leave it blank."
191
msgstr ""
192
"Vários provedores de DNS Dinâmico são capazes de suportar entradas MX. Se "
193
"você deseja que uma entrada MX seja habilitada para o seu domínio, "
194
"especifique aqui o conteúdo da sua entrada MX. Se você não quer uma entrada "
195
"MX, deixe em branco."
196
197
#. Type: string
198
#. Description
199
#: ../templates:69
200
msgid ""
201
"For further information on MX records, what they do, and how they are used, "
202
"see your Dynamic DNS provider."
203
msgstr ""
204
"Para maiores informações sobre entradas MX, o que elas fazem, e como são "
205
"usadas, veja o seu provedor de DNS Dinâmico."
(-)ez-ipupdate-3.0.11b8/debian/po/templates.pot (-174 lines)
Lines 1-174 Link Here
1
#
2
#    Translators, if you are not familiar with the PO format, gettext
3
#    documentation is worth reading, especially sections dedicated to
4
#    this format, e.g. by running:
5
#         info -n '(gettext)PO Files'
6
#         info -n '(gettext)Header Entry'
7
#
8
#    Some information specific to po-debconf are available at
9
#            /usr/share/doc/po-debconf/README-trans
10
#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
11
#
12
#    Developers do not need to manually edit POT or PO files.
13
#
14
#, fuzzy
15
msgid ""
16
msgstr ""
17
"Project-Id-Version: PACKAGE VERSION\n"
18
"Report-Msgid-Bugs-To: \n"
19
"POT-Creation-Date: 2005-03-16 22:26-0300\n"
20
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
21
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
22
"Language-Team: LANGUAGE <LL@li.org>\n"
23
"MIME-Version: 1.0\n"
24
"Content-Type: text/plain; charset=CHARSET\n"
25
"Content-Transfer-Encoding: 8bit\n"
26
27
#. Type: boolean
28
#. Description
29
#: ../templates:4
30
msgid "Manage your default configuration with debconf?"
31
msgstr ""
32
33
#. Type: boolean
34
#. Description
35
#: ../templates:4
36
msgid ""
37
"ez-ipupdate can manage your default configuration automatically using "
38
"debconf. If you do not want your default configuration managed "
39
"automatically, decline this option."
40
msgstr ""
41
42
#. Type: boolean
43
#. Description
44
#: ../templates:4
45
msgid ""
46
"Note that you can put as many additional configurations in /etc/ez-ipupdate/ "
47
"as you like. ez-ipupdate will not modify them."
48
msgstr ""
49
50
#. Type: boolean
51
#. Description
52
#: ../templates:15
53
msgid "Run as a daemon?"
54
msgstr ""
55
56
#. Type: boolean
57
#. Description
58
#: ../templates:15
59
msgid ""
60
"By default ez-ipupdate will run as a daemon to manage the configuration. "
61
"Refuse here if you do not want this. Instead, ez-ipupdate will install a "
62
"script in /etc/ppp/ip-up.d that will run all non-daemon configurations when "
63
"the ppp interface is brought up. See the /usr/share/doc/ez-ipupdate/README."
64
"Debian file for more information."
65
msgstr ""
66
67
#. Type: boolean
68
#. Description
69
#: ../templates:15
70
msgid ""
71
"If none of these automated behaviors suit you, you should probably not "
72
"manage your default configuration using debconf."
73
msgstr ""
74
75
#. Type: select
76
#. Description
77
#: ../templates:28
78
msgid "Dynamic DNS provider to use:"
79
msgstr ""
80
81
#. Type: select
82
#. Description
83
#: ../templates:28
84
msgid ""
85
"There are many Dynamic DNS providers supported by ez-ipupdate. You must "
86
"select the provider that you wish to use here. You must configure an account "
87
"on your chosen provider's service yourself."
88
msgstr ""
89
90
#. Type: string
91
#. Description
92
#: ../templates:35
93
msgid "Address for your Dynamic DNS server:"
94
msgstr ""
95
96
#. Type: string
97
#. Description
98
#: ../templates:35
99
msgid ""
100
"The service type you selected requires a server address to connect to. You "
101
"may specify either a full hostname or an IP address."
102
msgstr ""
103
104
#. Type: string
105
#. Description
106
#: ../templates:41
107
msgid "Username for your Dynamic DNS account:"
108
msgstr ""
109
110
#. Type: password
111
#. Description
112
#: ../templates:45
113
msgid "Password for your Dynamic DNS account:"
114
msgstr ""
115
116
#. Type: string
117
#. Description
118
#: ../templates:49
119
msgid "Network interface to monitor:"
120
msgstr ""
121
122
#. Type: string
123
#. Description
124
#: ../templates:49
125
msgid ""
126
"ez-ipupdate will monitor the chosen network interface for changes of IP "
127
"address. It is not possible to automatically detect which interface should "
128
"be monitored, so you must name the interface here."
129
msgstr ""
130
131
#. Type: string
132
#. Description
133
#: ../templates:56
134
msgid "Dynamic DNS hostname to keep updated:"
135
msgstr ""
136
137
#. Type: boolean
138
#. Description
139
#: ../templates:61
140
msgid "Enable DNS wildcards for your Dynamic DNS hostname?"
141
msgstr ""
142
143
#. Type: boolean
144
#. Description
145
#: ../templates:61
146
msgid ""
147
"Many Dynamic DNS providers are capable of supporting \"wildcard\" DNS "
148
"lookups. This means that for yourdomain, a lookup for anything.yourdomain "
149
"will return an answer that points to yourdomain. If you wish this feature to "
150
"be enabled, agree here."
151
msgstr ""
152
153
#. Type: string
154
#. Description
155
#: ../templates:69
156
msgid "MX record to add:"
157
msgstr ""
158
159
#. Type: string
160
#. Description
161
#: ../templates:69
162
msgid ""
163
"Many Dynamic DNS providers are capable of supporting MX records. If you want "
164
"an MX record enabled for your domain, specify the content of that MX record "
165
"here. If you do not want an MX record, leave it blank."
166
msgstr ""
167
168
#. Type: string
169
#. Description
170
#: ../templates:69
171
msgid ""
172
"For further information on MX records, what they do, and how they are used, "
173
"see your Dynamic DNS provider."
174
msgstr ""
(-)ez-ipupdate-3.0.11b8/debian/postinst (-140 lines)
Lines 1-140 Link Here
1
#! /bin/sh
2
# postinst script for ez-ipupdate
3
#
4
# see: dh_installdeb(1)
5
6
set -e
7
8
# Load the debconf library
9
. /usr/share/debconf/confmodule
10
11
# summary of how this script can be called:
12
#        * <postinst> `configure' <most-recently-configured-version>
13
#        * <old-postinst> `abort-upgrade' <new version>
14
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
15
#          <new-version>
16
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
17
#          <failed-install-package> <version> `removing'
18
#          <conflicting-package> <version>
19
# for details, see http://www.debian.org/doc/debian-policy/ or
20
# the debian-policy package
21
#
22
# quoting from the policy:
23
#     Any necessary prompting should almost always be confined to the
24
#     post-installation script, and should be protected with a conditional
25
#     so that unnecessary prompting doesn't happen if a package's
26
#     installation fails and the `postinst' is called with `abort-upgrade',
27
#     `abort-remove' or `abort-deconfigure'.
28
29
case "$1" in
30
  configure)
31
    # Create the user if it doesn't exist
32
    if ! id ez-ipupd 2>/dev/null 1>&2 ; then
33
        adduser --system --home /var/cache/ez-ipupdate \
34
            --shell /bin/false --gecos "Dynamic DNS client" \
35
            --disabled-password --disabled-login ez-ipupd
36
    fi
37
    # Create the default cache file
38
    touch /var/cache/ez-ipupdate/default-cache
39
    chown ez-ipupd /var/cache/ez-ipupdate/default-cache
40
    # Remove spurious cache file from the 3.0.11b8-2 broken package
41
    rm -f /var/cache/ez-ipupdate/cache-default
42
    # Create the directory where the PID file will be stored
43
    mkdir -p /var/run/ez-ipupdate
44
    chown -R ez-ipupd /var/run/ez-ipupdate
45
    # Create the default config file (maybe)
46
    db_get ez-ipupdate/manage_default_config_automatically
47
    if [ "$RET" = "true" ] ; then
48
        conf="/etc/ez-ipupdate/default.conf"
49
        newconf="$conf.dpkg-new"
50
        # Grab answers from debconf
51
        db_get ez-ipupdate/daemon
52
        daemon="$RET"
53
        db_get ez-ipupdate/service_type
54
        service="$RET"
55
        db_get ez-ipupdate/username
56
        username="$RET"
57
        db_get ez-ipupdate/password
58
        password="$RET"
59
        db_get ez-ipupdate/hostname
60
        hostname="$RET"
61
        db_get ez-ipupdate/interface
62
        interface="$RET"
63
        echo "#!/usr/sbin/ez-ipupdate -c" > "$newconf"
64
        cat >> "$newconf" << EOF
65
###
66
###  Default ez-ipupdate configuration file - EDIT WITH CARE
67
###  Use \`dpkg-reconfigure ez-ipupdate' to update the debconf-generated lines.
68
###
69
70
###  The following lines were generated by debconf
71
72
service-type=$service
73
EOF
74
        db_get ez-ipupdate/server || RET=""
75
        if [ -n "$RET" ]; then
76
            echo "server=$RET" >> "$newconf"
77
        else
78
            echo "#server=(default)" >> "$newconf"
79
        fi
80
        cat >> "$newconf" << EOF
81
user=$username:$password
82
host=$hostname
83
interface=$interface
84
EOF
85
        db_get ez-ipupdate/dns_wildcard || RET="false"
86
        if [ "$RET" = "true" ]; then
87
            echo "wildcard" >> "$newconf"
88
        else
89
            echo "#wildcard" >> "$newconf"
90
        fi
91
        db_get ez-ipupdate/dns_mx || RET=""
92
        if [ -n "$RET" ]; then
93
            echo "mx=$RET" >> "$newconf"
94
        else
95
            echo "#mx=(none)" >> "$newconf"
96
        fi
97
        cat >> "$newconf" << EOF
98
run-as-user=ez-ipupd
99
cache-file=/var/cache/ez-ipupdate/default-cache
100
EOF
101
        if [ "$daemon" = "true" ]; then
102
            echo "daemon" >> "$newconf"
103
        else
104
            echo "#daemon" >> "$newconf"
105
        fi
106
        echo >> "$newconf"
107
        if grep -q '^###  Changes below this' "$conf" >/dev/null 2>&1; then
108
            sed -ne '/^###  Changes below this/,$p' < "$conf" >> "$newconf"
109
        else
110
            cat >> "$newconf" << EOF
111
###  Changes below this line will be preserved on upgrades.
112
113
EOF
114
        fi
115
	# Fix the file permissions
116
	chmod 700 "$newconf"
117
        rm -f "$conf" && mv "$newconf" "$conf"
118
	# Remove that old file, from broken 3.0.11b8-3 package
119
	rm -f "$conf.new"
120
    fi
121
    ;;
122
123
  abort-upgrade|abort-remove|abort-deconfigure)
124
    ;;
125
126
  *)
127
    echo "postinst called with unknown argument \`$1'" >&2
128
    exit 1
129
    ;;
130
esac
131
132
# dh_installdeb will replace this with shell code automatically
133
# generated by other debhelper scripts.
134
135
#DEBHELPER#
136
137
# ez-ipupdate is a bit misbehaved.
138
db_stop
139
140
exit 0
(-)ez-ipupdate-3.0.11b8/debian/postrm (-48 lines)
Lines 1-48 Link Here
1
#! /bin/sh
2
# postrm script for ez-ipupdate
3
#
4
# see: dh_installdeb(1)
5
6
set -e
7
8
# summary of how this script can be called:
9
#        * <postrm> `remove'
10
#        * <postrm> `purge'
11
#        * <old-postrm> `upgrade' <new-version>
12
#        * <new-postrm> `failed-upgrade' <old-version>
13
#        * <new-postrm> `abort-install'
14
#        * <new-postrm> `abort-install' <old-version>
15
#        * <new-postrm> `abort-upgrade' <old-version>
16
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
19
20
case "$1" in
21
  purge|remove)
22
	# Delete the user account, if it exists
23
	if id ez-ipupd 2>/dev/null 1>&2 ; then
24
		deluser ez-ipupd
25
		# The --remove-home option to deluser requires
26
		# perl-modules? WTF?
27
		rm -Rf /var/cache/ez-ipupdate
28
	fi
29
	# And remove the directory where the PID files were stored
30
	rm -rf /var/run/ez-ipupdate
31
	;;
32
33
  upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
34
	;;
35
36
  *)
37
	echo "postrm called with unknown argument \`$1'" >&2
38
	exit 1
39
	;;
40
41
esac
42
43
# dh_installdeb will replace this with shell code automatically
44
# generated by other debhelper scripts.
45
46
#DEBHELPER#
47
48
exit 0
(-)ez-ipupdate-3.0.11b8/debian/preinst (-35 lines)
Lines 1-35 Link Here
1
#! /bin/sh
2
# preinst script for ez-ipupdate
3
#
4
# see: dh_installdeb(1)
5
6
set -e
7
8
# summary of how this script can be called:
9
#        * <new-preinst> `install'
10
#        * <new-preinst> `install' <old-version>
11
#        * <new-preinst> `upgrade' <old-version>
12
#        * <old-preinst> `abort-upgrade' <new-version>
13
#
14
# for details, see http://www.debian.org/doc/debian-policy/ or
15
# the debian-policy package
16
17
case "$1" in
18
  install|upgrade)
19
	;;
20
21
  abort-upgrade)
22
	;;
23
24
  *)
25
	echo "preinst called with unknown argument \`$1'" >&2
26
	exit 1
27
	;;
28
esac
29
30
# dh_installdeb will replace this with shell code automatically
31
# generated by other debhelper scripts.
32
33
#DEBHELPER#
34
35
exit 0
(-)ez-ipupdate-3.0.11b8/debian/prerm (-37 lines)
Lines 1-37 Link Here
1
#! /bin/sh
2
# prerm script for ez-ipupdate
3
#
4
# see: dh_installdeb(1)
5
6
set -e
7
8
# summary of how this script can be called:
9
#        * <prerm> `remove'
10
#        * <old-prerm> `upgrade' <new-version>
11
#        * <new-prerm> `failed-upgrade' <old-version>
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
#          <package-being-installed> <version> `removing'
15
#          <conflicting-package> <version>
16
# for details, see http://www.debian.org/doc/debian-policy/ or
17
# the debian-policy package
18
19
case "$1" in
20
  remove|upgrade|deconfigure)
21
	;;
22
23
  failed-upgrade)
24
	;;
25
26
  *)
27
	echo "prerm called with unknown argument \`$1'" >&2
28
	exit 1
29
	;;
30
esac
31
32
# dh_installdeb will replace this with shell code automatically
33
# generated by other debhelper scripts.
34
35
#DEBHELPER#
36
37
exit 0
(-)ez-ipupdate-3.0.11b8/debian/README.Debian (-37 lines)
Lines 1-37 Link Here
1
Notes for ez-ipupdate on Debian
2
===============================
3
4
Configuration files
5
-------------------
6
  To configure this package, put your configuration files the /etc/ez-ipupdate/
7
directory.
8
9
  To avoid password exposure, it is recommended you set the permission for all
10
configuration files in this directory to 700 (-rwx------). You will still be
11
able to use the run-as-user option because the file is opened before root
12
permissions are dropped.
13
14
Automated behavior
15
------------------
16
  The init.d script will launch an ez-ipupdate daemon for each configuration
17
file in that directory that has the "daemon" option set and the "foreground"
18
option disabled.
19
20
  The ppp script will launch ez-ipupdate once for each configuration file in
21
the /etc/ez-ipupdate/ directory that has the "daemon" and the "foreground"
22
options disabled.
23
24
  If you do not want your configuration files to be automatically used, please
25
set the "foreground" option in them, or put them in an alternate directory.
26
27
Cache files
28
-----------
29
  You may store cache files in /var/cache/ez-ipupdate/, as the daemon has write
30
permission to this directory.
31
32
33
 -- Sam Hocevar <sam@zoy.org> Mon, 25 Dec 2000 05:48:01 +0100
34
  updated on Thu, 13 Feb 2003 15:56:36 +0100 (cache files)
35
  updated on Wed, 23 Apr 2003 04:59:52 +0200 (file permissions)
36
  updated on Wed, 18 Jun 2003 20:08:44 +0200 (ppp ip-up.d)
37
(-)ez-ipupdate-3.0.11b8/debian/rules (-87 lines)
Lines 1-87 Link Here
1
#!/usr/bin/make -f
2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
4
5
# Uncomment this to turn on verbose mode.
6
#export DH_VERBOSE=1
7
8
configure: configure-stamp
9
configure-stamp:
10
	dh_testdir
11
12
	touch configure.in \
13
	&& touch aclocal.m4 \
14
	&& touch configure \
15
	&& touch stamp-h.in \
16
	&& touch config.h.in \
17
	&& touch `find -name Makefile.in`
18
19
	CFLAGS=-Wall ./configure --prefix=/usr \
20
		--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
21
22
	touch configure-stamp
23
24
build: configure-stamp build-stamp
25
build-stamp:
26
	dh_testdir
27
28
	$(MAKE)
29
30
	touch build-stamp
31
32
clean:
33
	dh_testdir
34
	dh_testroot
35
	rm -f build-stamp configure-stamp
36
37
	-$(MAKE) distclean
38
39
	dh_clean
40
	debconf-updatepo
41
42
install: build
43
	dh_testdir
44
	dh_testroot
45
	dh_clean -k
46
	dh_installdirs
47
48
	cp ez-ipupdate debian/ez-ipupdate/usr/sbin/
49
	cp ex*conf debian/ez-ipupdate/usr/share/doc/ez-ipupdate/examples
50
	chmod a-x debian/ez-ipupdate/usr/share/doc/ez-ipupdate/examples/ex*conf
51
52
	dh_installppp
53
54
# Build architecture-independent files here.
55
binary-indep: build install
56
# We have nothing to do by default.
57
58
# Build architecture-dependent files here.
59
binary-arch: build install
60
#	dh_testversion
61
	dh_testdir
62
	dh_testroot
63
	dh_installdebconf
64
	dh_installdocs
65
	dh_installexamples
66
	dh_installmenu
67
#	dh_installemacsen
68
#	dh_installpam
69
	dh_installinit
70
	dh_installcron
71
	dh_installmanpages
72
	dh_installinfo
73
	dh_installchangelogs CHANGELOG
74
	dh_link
75
	dh_strip
76
	dh_compress
77
	dh_fixperms
78
#	dh_makeshlibs
79
	dh_installdeb
80
#	dh_perl
81
	dh_shlibdeps
82
	dh_gencontrol
83
	dh_md5sums
84
	dh_builddeb
85
86
binary: binary-indep binary-arch
87
.PHONY: build clean binary-indep binary-arch binary install configure
(-)ez-ipupdate-3.0.11b8/debian/templates (-75 lines)
Lines 1-75 Link Here
1
Template: ez-ipupdate/manage_default_config_automatically
2
Type: boolean
3
Default: false
4
_Description: Manage your default configuration with debconf?
5
 ez-ipupdate can manage your default configuration automatically using
6
 debconf. If you do not want your default configuration managed
7
 automatically, decline this option.
8
 .
9
 Note that you can put as many additional configurations in
10
 /etc/ez-ipupdate/ as you like. ez-ipupdate will not modify them.
11
12
Template: ez-ipupdate/daemon
13
Type: boolean
14
Default: true
15
_Description: Run as a daemon?
16
 By default ez-ipupdate will run as a daemon to manage the configuration.
17
 Refuse here if you do not want this. Instead, ez-ipupdate will install a
18
 script in /etc/ppp/ip-up.d that will run all non-daemon configurations when
19
 the ppp interface is brought up. See the
20
 /usr/share/doc/ez-ipupdate/README.Debian file for more information.
21
 .
22
 If none of these automated behaviors suit you, you should probably not
23
 manage your default configuration using debconf.
24
25
Template: ez-ipupdate/service_type
26
Type: select
27
Choices: ez-ip, pgpow, dhs, dyndns, dyndns-static, dyndns-custom, ods, tzo, easydns, easydns-partner, gnudip, justlinux, dyns, hn, zoneedit, heipv6tb
28
_Description: Dynamic DNS provider to use:
29
 There are many Dynamic DNS providers supported by ez-ipupdate. You must
30
 select the provider that you wish to use here. You must configure an
31
 account on your chosen provider's service yourself.
32
33
Template: ez-ipupdate/server
34
Type: string
35
_Description: Address for your Dynamic DNS server:
36
 The service type you selected requires a server address to connect to. You
37
 may specify either a full hostname or an IP address.
38
39
Template: ez-ipupdate/username
40
Type: string
41
_Description: Username for your Dynamic DNS account:
42
43
Template: ez-ipupdate/password
44
Type: password
45
_Description: Password for your Dynamic DNS account:
46
47
Template: ez-ipupdate/interface
48
Type: string
49
_Description: Network interface to monitor:
50
 ez-ipupdate will monitor the chosen network interface for changes of IP
51
 address. It is not possible to automatically detect which interface should
52
 be monitored, so you must name the interface here.
53
54
Template: ez-ipupdate/hostname
55
Type: string
56
_Description: Dynamic DNS hostname to keep updated:
57
58
Template: ez-ipupdate/dns_wildcard
59
Type: boolean
60
Default: false
61
_Description: Enable DNS wildcards for your Dynamic DNS hostname?
62
 Many Dynamic DNS providers are capable of supporting "wildcard" DNS
63
 lookups. This means that for yourdomain, a lookup for anything.yourdomain
64
 will return an answer that points to yourdomain. If you wish this feature
65
 to be enabled, agree here.
66
67
Template: ez-ipupdate/dns_mx
68
Type: string
69
_Description: MX record to add:
70
 Many Dynamic DNS providers are capable of supporting MX records. If you
71
 want an MX record enabled for your domain, specify the content of that MX
72
 record here. If you do not want an MX record, leave it blank.
73
 .
74
 For further information on MX records, what they do, and how they are
75
 used, see your Dynamic DNS provider.
(-)ez-ipupdate-3.0.11b8/example.conf (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
(-)ez-ipupdate-3.0.11b8/example-dhs.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 10-17 Link Here
10
host=mydomain.whatever.com
10
host=mydomain.whatever.com
11
interface=eth1
11
interface=eth1
12
12
13
run-as-user=ez-ipupd
13
# if you use run-as ensure the user has permission to write this file
14
cache-file=/var/cache/ez-ipupdate/default-cache
14
cache-file=/tmp/ez-ipupdate.cache
15
15
16
# uncomment this once you have everything working how you want and you are
16
# uncomment this once you have everything working how you want and you are
17
# ready to have ez-ipupdate running in the background all the time. to stop it
17
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-dnsexit.conf (+20 lines)
Line 0 Link Here
1
#!/usr/sbin/ez-ipupdate -c
2
#
3
# example config file for ez-ipupdate
4
#
5
# this file is actually executable!
6
#
7
8
service-type=dnsexit
9
user=loginname:password
10
host=www.yourdomain.com
11
interface=eth0
12
13
# please ensure the user has permission to write this file
14
cache-file=/tmp/ez-ipupdate.cache
15
16
run-as-user=ez-ipupd
17
# uncomment this once you have everything working how you want and you are
18
# ready to have ez-ipupdate running in the background all the time. to stop it
19
# you can use "killall -QUIT ez-ipupdate" under linux.
20
#daemon
(-)ez-ipupdate-3.0.11b8/example-dyndns.conf (-4 / +9 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 12-20 Link Here
12
interface=eth1
12
interface=eth1
13
max-interval=2073600
13
max-interval=2073600
14
14
15
# if you don't use a cache file your dyndns account will probably get banned.
15
# please create this file and ensure that the user that ez-ipupdate is running
16
run-as-user=ez-ipupd
16
# as has write permissions to it then uncomment this line, if you don't your
17
cache-file=/var/cache/ez-ipupdate/default-cache
17
# dyndns account will probably get banned. if you run ez-ipupdate as root (bad
18
# idea, use "run-as-user") then you can just uncomment this line.
19
#cache-file=/etc/ez-ipupdate.cache.eth1
20
21
# for the mean time we'll just use a cache file in the temp directory
22
cache-file=/tmp/ez-ipupdate.cache
18
23
19
# uncomment this once you have everything working how you want and you are
24
# uncomment this once you have everything working how you want and you are
20
# ready to have ez-ipupdate running in the background all the time. to stop it
25
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-dyns.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 10-17 Link Here
10
host=myhost
10
host=myhost
11
#interface=eth1
11
#interface=eth1
12
12
13
run-as-user=ez-ipupd
13
# if you use run-as ensure the user has permission to write this file
14
cache-file=/var/cache/ez-ipupdate/default-cache
14
#cache-file=/tmp/ez-ipupdate.cache
15
15
16
# uncomment this once you have everything working how you want and you are
16
# uncomment this once you have everything working how you want and you are
17
# ready to have ez-ipupdate running in the background all the time. to stop it
17
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-easydns.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 10-17 Link Here
10
host=mydomain.whatever.com
10
host=mydomain.whatever.com
11
interface=eth1
11
interface=eth1
12
12
13
run-as-user=ez-ipupd
13
# if you use run-as ensure the user has permission to write this file
14
cache-file=/var/cache/ez-ipupdate/default-cache
14
cache-file=/tmp/ez-ipupdate.cache
15
15
16
# uncomment this once you have everything working how you want and you are
16
# uncomment this once you have everything working how you want and you are
17
# ready to have ez-ipupdate running in the background all the time. to stop it
17
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-gnudip.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 14-21 Link Here
14
# any other value is ignored
14
# any other value is ignored
15
#address=0.0.0.0
15
#address=0.0.0.0
16
16
17
run-as-user=ez-ipupd
17
# if you use run-as ensure the user has permission to write this file
18
cache-file=/var/cache/ez-ipupdate/default-cache
18
cache-file=/tmp/ez-ipupdate.cache
19
19
20
# uncomment this once you have everything working how you want and you are
20
# uncomment this once you have everything working how you want and you are
21
# ready to have ez-ipupdate running in the background all the time. to stop it
21
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-heipv6tb.conf (-4 / +9 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 11-19 Link Here
11
interface=eth1
11
interface=eth1
12
max-interval=2073600
12
max-interval=2073600
13
13
14
# if you don't use a cache file your account will probably get banned.
14
# please create this file and ensure that the user that ez-ipupdate is running
15
run-as-user=ez-ipupd
15
# as has write permissions to it then uncomment this line, if you don't your
16
cache-file=/var/cache/ez-ipupdate/default-cache
16
# dyndns account will probably get banned. if you run ez-ipupdate as root (bad
17
# idea, use "run-as-user") then you can just uncomment this line.
18
#cache-file=/etc/ez-ipupdate.cache.eth1
19
20
# for the mean time we'll just use a cache file in the temp directory
21
cache-file=/tmp/ez-ipupdate.cache
17
22
18
# uncomment this once you have everything working how you want and you are
23
# uncomment this once you have everything working how you want and you are
19
# ready to have ez-ipupdate running in the background all the time. to stop it
24
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-justlinux.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 10-17 Link Here
10
host=mydomain.penguinpowered.com
10
host=mydomain.penguinpowered.com
11
interface=eth1
11
interface=eth1
12
12
13
run-as-user=ez-ipupd
13
# if you use run-as ensure the user has permission to write this file
14
cache-file=/var/cache/ez-ipupdate/default-cache
14
cache-file=/tmp/ez-ipupdate.cache
15
15
16
# uncomment this once you have everything working how you want and you are
16
# uncomment this once you have everything working how you want and you are
17
# ready to have ez-ipupdate running in the background all the time. to stop it
17
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-ods.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 10-17 Link Here
10
host=mydomain.ods.org
10
host=mydomain.ods.org
11
interface=eth1
11
interface=eth1
12
12
13
run-as-user=ez-ipupd
13
# if you use run-as ensure the user has permission to write this file
14
cache-file=/var/cache/ez-ipupdate/default-cache
14
cache-file=/tmp/ez-ipupdate.cache
15
15
16
# uncomment this once you have everything working how you want and you are
16
# uncomment this once you have everything working how you want and you are
17
# ready to have ez-ipupdate running in the background all the time. to stop it
17
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-pgpow.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 10-17 Link Here
10
host=mydomain.penguinpowered.com
10
host=mydomain.penguinpowered.com
11
interface=eth1
11
interface=eth1
12
12
13
run-as-user=ez-ipupd
13
# if you use run-as ensure the user has permission to write this file
14
cache-file=/var/cache/ez-ipupdate/default-cache
14
cache-file=/tmp/ez-ipupdate.cache
15
15
16
# uncomment this once you have everything working how you want and you are
16
# uncomment this once you have everything working how you want and you are
17
# ready to have ez-ipupdate running in the background all the time. to stop it
17
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/example-tzo.conf (-3 / +3 lines)
Lines 1-4 Link Here
1
#!/usr/sbin/ez-ipupdate -c
1
#!/usr/local/bin/ez-ipupdate -c
2
#
2
#
3
# example config file for ez-ipupdate
3
# example config file for ez-ipupdate
4
#
4
#
Lines 14-21 Link Here
14
max-interval=2073600
14
max-interval=2073600
15
interface=eth1
15
interface=eth1
16
16
17
run-as-user=ez-ipupd
17
# if you use run-as ensure the user has permission to write this file
18
cache-file=/var/cache/ez-ipupdate/default-cache
18
cache-file=/tmp/ez-ipupdate.cache
19
19
20
# uncomment this once you have everything working how you want and you are
20
# uncomment this once you have everything working how you want and you are
21
# ready to have ez-ipupdate running in the background all the time. to stop it
21
# ready to have ez-ipupdate running in the background all the time. to stop it
(-)ez-ipupdate-3.0.11b8/ez-ipupdate.8 (-140 lines)
Lines 1-140 Link Here
1
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.29.
2
.\" I DO WHATEVER I WANT YOU DUMBASS SCRIPT!  -- Sam
3
.TH EZ-IPUPDATE "8" "February 2003" "ez-ipupdate - 3.0.11b7" "Dynamic DNS client"
4
.SH NAME
5
ez-ipupdate \- dynamic DNS client
6
.SH SYNOPSIS
7
.B ez-ipupdate
8
.RI [ options ]
9
.SH DESCRIPTION
10
This manual page documents briefly the
11
.B ez-ipupdate
12
dynamic DNS client.
13
14
.SH OPTIONS
15
.B ez-ipupdate
16
follows the usual GNU command line syntax, with long
17
options starting with two dashes (`-').
18
.TP
19
\fB\-a\fR, \fB\-\-address\fR <ip address>
20
string to send as your ip address
21
.TP
22
\fB\-b\fR, \fB\-\-cache\-file\fR <file>
23
file to use for caching the ipaddress
24
.TP
25
\fB\-c\fR, \fB\-\-config\-file\fR <file>
26
configuration file, almost all arguments can be
27
given with: <name>[=<value>]
28
to see a list of possible config commands
29
try "echo help | ez-ipupdate \fB\-c\fR -"
30
.TP
31
\fB\-d\fR, \fB\-\-daemon\fR
32
run as a daemon periodicly updating if
33
necessary
34
.TP
35
\fB\-e\fR, \fB\-\-execute\fR <command>
36
shell command to execute after a successful
37
update
38
.TP
39
\fB\-f\fR, \fB\-\-foreground\fR
40
when running as a daemon run in the foreground
41
.TP
42
\fB\-F\fR, \fB\-\-pidfile\fR <file>
43
use <file> as a pid file
44
.TP
45
\fB\-g\fR, \fB\-\-request\-uri\fR <uri>
46
URI to send updates to
47
.TP
48
\fB\-h\fR, \fB\-\-host\fR <host>
49
string to send as host parameter
50
.TP
51
\fB\-i\fR, \fB\-\-interface\fR <iface>
52
which interface to use
53
.TP
54
\fB\-L\fR, \fB\-\-cloak_title\fR <host>
55
some stupid thing for DHS only
56
.TP
57
\fB\-m\fR, \fB\-\-mx\fR <mail exchange>
58
string to send as your mail exchange
59
.HP
60
\fB\-M\fR, \fB\-\-max\-interval\fR <# of sec> max time in between updates
61
.TP
62
\fB\-N\fR, \fB\-\-notify\-email\fR <email>
63
address to send mail to if bad things happen
64
.TP
65
\fB\-o\fR, \fB\-\-offline\fR
66
set to off line mode
67
.TP
68
\fB\-p\fR, \fB\-\-resolv\-period\fR <sec>
69
period to check IP if it can't be resolved
70
.TP
71
\fB\-P\fR, \fB\-\-period\fR <# of sec>
72
period to check IP in daemon
73
mode (default: 1800 seconds)
74
.TP
75
\fB\-q\fR, \fB\-\-quiet\fR
76
be quiet
77
.TP
78
\fB\-r\fR, \fB\-\-retrys\fR <num>
79
number of trys (default: 1)
80
.TP
81
\fB\-R\fR, \fB\-\-run\-as\-user\fR <user>
82
change to <user> for running, be ware
83
that this can cause problems with handeling
84
SIGHUP properly if that user can't read the
85
config file. also it can't write it's pid file
86
to a root directory
87
.TP
88
\fB\-Q\fR, \fB\-\-run\-as\-euser\fR <user>
89
change to effective <user> for running,
90
this is NOT secure but it does solve the
91
problems with run-as-user and config files and
92
pid files.
93
.TP
94
\fB\-s\fR, \fB\-\-server\fR <server[:port]>
95
the server to connect to
96
.TP
97
\fB\-S\fR, \fB\-\-service\-type\fR <server>
98
the type of service that you are using
99
try one of: null ezip pgpow dhs
100
dyndns dyndns-static dyndns-custom
101
ods tzo easydns easydns-partner
102
gnudip justlinux dyns hn zoneedit
103
heipv6tb
104
.TP
105
\fB\-t\fR, \fB\-\-timeout\fR <sec.millisec>
106
the amount of time to wait on I/O
107
.TP
108
\fB\-T\fR, \fB\-\-connection\-type\fR <num>
109
number sent to TZO as your connection
110
type (default: 1)
111
.TP
112
\fB\-U\fR, \fB\-\-url\fR <url>
113
string to send as the url parameter
114
.TP
115
\fB\-u\fR, \fB\-\-user\fR <user[:passwd]>
116
user ID and password, if either is left blank
117
they will be prompted for
118
.TP
119
\fB\-w\fR, \fB\-\-wildcard\fR
120
set your domain to have a wildcard alias
121
.TP
122
\fB\-z\fR, \fB\-\-partner\fR <partner>
123
specify easyDNS partner (for easydns-partner
124
services)
125
.TP
126
\fB\-\-help\fR
127
display this help and exit
128
.TP
129
\fB\-\-version\fR
130
output version information and exit
131
.TP
132
\fB\-\-credits\fR
133
print the credits and exit
134
.TP
135
\fB\-\-signalhelp\fR
136
print help about signals
137
.br
138
.SH AUTHOR
139
This manual page was written by Sam Hocevar <sam@zoy.org> for the Debian
140
GNU/Linux system (but may be used by others).
(-)ez-ipupdate-3.0.11b8/ez-ipupdate.c (+187 lines)
Lines 103-108 Link Here
103
#define HEIPV6TB_DEFAULT_PORT "80"
103
#define HEIPV6TB_DEFAULT_PORT "80"
104
#define HEIPV6TB_REQUEST "/index.cgi"
104
#define HEIPV6TB_REQUEST "/index.cgi"
105
105
106
#define DNSEXIT_DEFAULT_SERVER "www.dnsexit.com"
107
#define DNSEXIT_DEFAULT_PORT "80"
108
#define DNSEXIT_REQUEST "/RemoteUpdate.sv"
109
106
#define DEFAULT_TIMEOUT 120
110
#define DEFAULT_TIMEOUT 120
107
#define DEFAULT_UPDATE_PERIOD 120
111
#define DEFAULT_UPDATE_PERIOD 120
108
#define DEFAULT_RESOLV_PERIOD 30
112
#define DEFAULT_RESOLV_PERIOD 30
Lines 344-349 Link Here
344
int HEIPV6TB_check_info(void);
348
int HEIPV6TB_check_info(void);
345
static char *HEIPV6TB_fields_used[] = { "server", "user", NULL };
349
static char *HEIPV6TB_fields_used[] = { "server", "user", NULL };
346
350
351
int DNSEXIT_update_entry(void);
352
int DNSEXIT_check_info(void);
353
static char *DNSEXIT_fields_used[] = { "server", "user", "address", "wildcard", "mx", "host", NULL };
354
355
347
struct service_t services[] = {
356
struct service_t services[] = {
348
  { "NULL",
357
  { "NULL",
349
    { "null", "NULL", 0, },
358
    { "null", "NULL", 0, },
Lines 517-522 Link Here
517
    HEIPV6TB_DEFAULT_PORT,
526
    HEIPV6TB_DEFAULT_PORT,
518
    HEIPV6TB_REQUEST
527
    HEIPV6TB_REQUEST
519
  },
528
  },
529
  { "dnsexit",
530
	{ "dnsexit", 0, 0, },
531
	NULL,
532
	DNSEXIT_update_entry,
533
	DNSEXIT_check_info,
534
	DNSEXIT_fields_used,
535
	DNSEXIT_DEFAULT_SERVER,
536
	DNSEXIT_DEFAULT_PORT,
537
	DNSEXIT_REQUEST
538
  },	  
520
};
539
};
521
540
522
static struct service_t *service = NULL;
541
static struct service_t *service = NULL;
Lines 4251-4256 Link Here
4251
  return(UPDATERES_OK);
4270
  return(UPDATERES_OK);
4252
}
4271
}
4253
4272
4273
int DNSEXIT_check_info(void)
4274
{
4275
  char buf[BUFSIZ+1];
4276
4277
  if((host == NULL) || (*host == '\0'))
4278
  {
4279
    if(options & OPT_DAEMON)
4280
    {
4281
      return(-1);
4282
    }
4283
    if(host) { free(host); }
4284
    printf("host: ");
4285
    *buf = '\0';
4286
    fgets(buf, BUFSIZ, stdin);
4287
    host = strdup(buf);
4288
    chomp(host);
4289
  }
4290
4291
  if(interface == NULL && address == NULL)
4292
  {
4293
    if(options & OPT_DAEMON)
4294
    {
4295
      fprintf(stderr, "you must provide either an interface or an address\n");
4296
      return(-1);
4297
    }
4298
    if(interface) { free(interface); }
4299
    printf("interface: ");
4300
    *buf = '\0';
4301
    fgets(buf, BUFSIZ, stdin);
4302
    chomp(buf);
4303
    option_handler(CMD_interface, buf);
4304
  }
4305
4306
  warn_fields(service->fields_used);
4307
4308
  return 0;
4309
}
4310
4311
int DNSEXIT_update_entry(void)
4312
{
4313
  char buf[BUFFER_SIZE+1];
4314
  char *bp = buf;
4315
  int bytes;
4316
  int btot;
4317
  int ret;
4318
4319
  buf[BUFFER_SIZE] = '\0';
4320
4321
  if(do_connect((int*)&client_sockfd, server, port) != 0)
4322
  {
4323
    if(!(options & OPT_QUIET))
4324
    {
4325
      show_message("error connecting to %s:%s\n", server, port);
4326
    }
4327
    return(UPDATERES_ERROR);
4328
  }
4329
4330
  snprintf(buf, BUFFER_SIZE, "GET %s?action=edit&", request);
4331
  output(buf);
4332
  if(address != NULL && *address != '\0')
4333
  {
4334
    snprintf(buf, BUFFER_SIZE, "%s=%s&", "myip", address);
4335
    output(buf);
4336
  }
4337
  snprintf(buf, BUFFER_SIZE, "%s=%s&", "wildcard", wildcard ? "ON" : "OFF");
4338
  output(buf);
4339
  snprintf(buf, BUFFER_SIZE, "%s=%s&", "mx", mx);
4340
  output(buf);
4341
  snprintf(buf, BUFFER_SIZE, "%s=%s&", "backmx", *mx == '\0' ? "NO" : "YES");
4342
  output(buf);
4343
  snprintf(buf, BUFFER_SIZE, "%s=%s&", "host", host);
4344
  output(buf);
4345
  snprintf(buf, BUFFER_SIZE, "%s=%s&", "login", user_name);
4346
  output(buf);
4347
  snprintf(buf, BUFFER_SIZE, "%s=%s&", "password", password);
4348
  output(buf);
4349
  snprintf(buf, BUFFER_SIZE, " HTTP/1.0\015\012");
4350
  output(buf);
4351
  snprintf(buf, BUFFER_SIZE, "Authorization: Basic %s\015\012", auth);
4352
  output(buf);
4353
  snprintf(buf, BUFFER_SIZE, "User-Agent: %s-%s %s [%s] (%s)\015\012",
4354
      "ez-update", VERSION, OS, (options & OPT_DAEMON) ? "daemon" : "", "by Angus Mackay");
4355
  output(buf);
4356
  snprintf(buf, BUFFER_SIZE, "Host: %s\015\012", server);
4357
  output(buf);
4358
  snprintf(buf, BUFFER_SIZE, "\015\012");
4359
  output(buf);
4360
4361
  bp = buf;
4362
  bytes = 0;
4363
  btot = 0;
4364
  while((bytes=read_input(bp, BUFFER_SIZE-btot)) > 0)
4365
  {
4366
    bp += bytes;
4367
    btot += bytes;
4368
    dprintf((stderr, "btot: %d\n", btot));
4369
  }
4370
  close(client_sockfd);
4371
  buf[btot] = '\0';
4372
4373
  dprintf((stderr, "server output: %s\n", buf));
4374
4375
  if(sscanf(buf, " HTTP/1.%*c %3d", &ret) != 1)
4376
  {
4377
    ret = -1;
4378
  }
4379
4380
  switch(ret)
4381
  {
4382
    case -1:
4383
      if(!(options & OPT_QUIET))
4384
      {
4385
        show_message("strange server response, are you connecting to the right server?\n");
4386
      }
4387
      return(UPDATERES_ERROR);
4388
      break;
4389
4390
    case 200:
4391
4392
      if(strstr(buf, "0=Success") != NULL)
4393
      {
4394
        if(!(options & OPT_QUIET))
4395
        {
4396
          printf("Request successful\n");
4397
        }
4398
      }
4399
      else if(strstr(buf, "1=IP stays same") != NULL)
4400
      {
4401
        if(!(options & OPT_QUIET))
4402
        {
4403
          printf("Request successful but the IP is the same as previous update\n");
4404
        }
4405
      }
4406
      else
4407
      {
4408
        show_message("Errors return from server\n");
4409
        if(!(options & OPT_QUIET))
4410
        {
4411
          fprintf(stderr, "server output: %s\n", buf);
4412
        }
4413
        return(UPDATERES_ERROR);
4414
      }
4415
      break;
4416
4417
    case 401:
4418
      if(!(options & OPT_QUIET))
4419
      {
4420
        show_message("authentication failure\n");
4421
      }
4422
      return(UPDATERES_SHUTDOWN);
4423
      break;
4424
4425
    default:
4426
      if(!(options & OPT_QUIET))
4427
      {
4428
        // reuse the auth buffer
4429
        *auth = '\0';
4430
        sscanf(buf, " HTTP/1.%*c %*3d %255[^\r\n]", auth);
4431
        show_message("unknown return code: %d\n", ret);
4432
        show_message("server response: %s\n", auth);
4433
      }
4434
      return(UPDATERES_ERROR);
4435
      break;
4436
  }
4437
4438
  return(UPDATERES_OK);
4439
}
4440
4254
static int is_in_list(char *needle, char **haystack)
4441
static int is_in_list(char *needle, char **haystack)
4255
{
4442
{
4256
  char **p;
4443
  char **p;
(-)ez-ipupdate-3.0.11b8/install-sh (-2 / +1 lines)
Lines 118-124 Link Here
118
	
118
	
119
	if [ -d $dst ]; then
119
	if [ -d $dst ]; then
120
		instcmd=:
120
		instcmd=:
121
		chmodcmd=""
122
	else
121
	else
123
		instcmd=mkdir
122
		instcmd=mkdir
124
	fi
123
	fi
Lines 163-169 Link Here
163
162
164
# Skip lots of stat calls in the usual case.
163
# Skip lots of stat calls in the usual case.
165
if [ ! -d "$dstdir" ]; then
164
if [ ! -d "$dstdir" ]; then
166
defaultIFS=' 	
165
defaultIFS='	
167
'
166
'
168
IFS="${IFS-${defaultIFS}}"
167
IFS="${IFS-${defaultIFS}}"
169
168
(-)ez-ipupdate-3.0.11b8/Makefile.in (-143 / +81 lines)
Lines 1-6 Link Here
1
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
# Makefile.in generated automatically by automake 1.3 from Makefile.am
2
2
3
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
3
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4
# This Makefile.in is free software; the Free Software Foundation
4
# This Makefile.in is free software; the Free Software Foundation
5
# gives unlimited permission to copy and/or distribute it,
5
# gives unlimited permission to copy and/or distribute it,
6
# with or without modifications, as long as this notice is preserved.
6
# with or without modifications, as long as this notice is preserved.
Lines 11-17 Link Here
11
# PARTICULAR PURPOSE.
11
# PARTICULAR PURPOSE.
12
12
13
13
14
SHELL = @SHELL@
14
SHELL = /bin/sh
15
15
16
srcdir = @srcdir@
16
srcdir = @srcdir@
17
top_srcdir = @top_srcdir@
17
top_srcdir = @top_srcdir@
Lines 32-38 Link Here
32
includedir = @includedir@
32
includedir = @includedir@
33
oldincludedir = /usr/include
33
oldincludedir = /usr/include
34
34
35
DESTDIR =
35
DISTDIR =
36
36
37
pkgdatadir = $(datadir)/@PACKAGE@
37
pkgdatadir = $(datadir)/@PACKAGE@
38
pkglibdir = $(libdir)/@PACKAGE@
38
pkglibdir = $(libdir)/@PACKAGE@
Lines 46-52 Link Here
46
AUTOHEADER = @AUTOHEADER@
46
AUTOHEADER = @AUTOHEADER@
47
47
48
INSTALL = @INSTALL@
48
INSTALL = @INSTALL@
49
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49
INSTALL_PROGRAM = @INSTALL_PROGRAM@
50
INSTALL_DATA = @INSTALL_DATA@
50
INSTALL_DATA = @INSTALL_DATA@
51
INSTALL_SCRIPT = @INSTALL_SCRIPT@
51
INSTALL_SCRIPT = @INSTALL_SCRIPT@
52
transform = @program_transform_name@
52
transform = @program_transform_name@
Lines 73-79 Link Here
73
73
74
EXTRA_DIST = getpass.c ez-ipupdate.lsm example.conf example-pgpow.conf example-dhs.conf example-dyndns.conf example-ods.conf example-tzo.conf example-gnudip.conf example-easydns.conf example-justlinux.conf example-dyns.conf CHANGELOG mkbinary example-heipv6tb.conf
74
EXTRA_DIST = getpass.c ez-ipupdate.lsm example.conf example-pgpow.conf example-dhs.conf example-dyndns.conf example-ods.conf example-tzo.conf example-gnudip.conf example-easydns.conf example-justlinux.conf example-dyns.conf CHANGELOG mkbinary example-heipv6tb.conf
75
75
76
AUTOMAKE_OPTIONS = foreign
76
AUTOMAKE_OPTIONS=foreign
77
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
78
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
79
CONFIG_HEADER = config.h
79
CONFIG_HEADER = config.h
Lines 90-148 Link Here
90
ez_ipupdate_DEPENDENCIES = 
90
ez_ipupdate_DEPENDENCIES = 
91
ez_ipupdate_LDFLAGS = 
91
ez_ipupdate_LDFLAGS = 
92
CFLAGS = @CFLAGS@
92
CFLAGS = @CFLAGS@
93
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
93
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
94
CCLD = $(CC)
94
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
95
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
95
DIST_COMMON =  README COPYING INSTALL Makefile.am Makefile.in acconfig.h \
96
DIST_COMMON =  README ./stamp-h.in COPYING INSTALL Makefile.am \
96
aclocal.m4 config.guess config.h.in config.sub configure configure.in \
97
Makefile.in acconfig.h aclocal.m4 config.guess config.h.in config.sub \
97
install-sh missing mkinstalldirs stamp-h.in
98
configure configure.in install-sh missing mkinstalldirs
99
98
100
99
101
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
100
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
102
101
103
TAR = tar
102
TAR = tar
104
GZIP_ENV = --best
103
GZIP = --best
105
DEP_FILES =  .deps/cache_file.P .deps/conf_file.P .deps/ez-ipupdate.P \
106
.deps/md5.P .deps/pid_file.P
107
SOURCES = $(ez_ipupdate_SOURCES)
104
SOURCES = $(ez_ipupdate_SOURCES)
108
OBJECTS = $(ez_ipupdate_OBJECTS)
105
OBJECTS = $(ez_ipupdate_OBJECTS)
109
106
110
all: all-redirect
107
all: Makefile $(PROGRAMS) config.h
108
111
.SUFFIXES:
109
.SUFFIXES:
112
.SUFFIXES: .S .c .o .s
110
.SUFFIXES: .S .c .o .s
113
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
111
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
114
	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
112
	cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
115
113
116
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
114
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
117
	cd $(top_builddir) \
115
	cd $(top_builddir) \
118
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
116
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
119
117
120
$(ACLOCAL_M4):  configure.in 
118
$(ACLOCAL_M4):  configure.in 
121
	cd $(srcdir) && $(ACLOCAL)
119
	cd $(srcdir) && $(ACLOCAL)
122
120
123
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
121
config.status: $(srcdir)/configure
124
	$(SHELL) ./config.status --recheck
122
	$(SHELL) ./config.status --recheck
125
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
123
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
126
	cd $(srcdir) && $(AUTOCONF)
124
	cd $(srcdir) && $(AUTOCONF)
127
125
128
config.h: stamp-h
126
config.h: stamp-h
129
	@if test ! -f $@; then \
127
	@:
130
		rm -f stamp-h; \
131
		$(MAKE) stamp-h; \
132
	else :; fi
133
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
128
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
134
	cd $(top_builddir) \
129
	cd $(top_builddir) \
135
	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
130
	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
136
	     $(SHELL) ./config.status
131
	     $(SHELL) ./config.status
137
	@echo timestamp > stamp-h 2> /dev/null
132
	@echo timestamp > stamp-h
138
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
133
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
139
	@if test ! -f $@; then \
140
		rm -f $(srcdir)/stamp-h.in; \
141
		$(MAKE) $(srcdir)/stamp-h.in; \
142
	else :; fi
143
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
134
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
144
	cd $(top_srcdir) && $(AUTOHEADER)
135
	cd $(top_srcdir) && $(AUTOHEADER)
145
	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
136
	@echo timestamp > $(srcdir)/stamp-h.in
146
137
147
mostlyclean-hdr:
138
mostlyclean-hdr:
148
139
Lines 167-183 Link Here
167
	$(mkinstalldirs) $(DESTDIR)$(bindir)
158
	$(mkinstalldirs) $(DESTDIR)$(bindir)
168
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
159
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
169
	  if test -f $$p; then \
160
	  if test -f $$p; then \
170
	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
161
	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
171
	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
162
	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
172
	  else :; fi; \
163
	  else :; fi; \
173
	done
164
	done
174
165
175
uninstall-binPROGRAMS:
166
uninstall-binPROGRAMS:
176
	@$(NORMAL_UNINSTALL)
167
	@$(NORMAL_UNINSTALL)
177
	list='$(bin_PROGRAMS)'; for p in $$list; do \
168
	list='$(bin_PROGRAMS)'; for p in $$list; do \
178
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
169
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
179
	done
170
	done
180
171
172
.c.o:
173
	$(COMPILE) -c $<
174
181
.s.o:
175
.s.o:
182
	$(COMPILE) -c $<
176
	$(COMPILE) -c $<
183
177
Lines 201-212 Link Here
201
tags: TAGS
195
tags: TAGS
202
196
203
ID: $(HEADERS) $(SOURCES) $(LISP)
197
ID: $(HEADERS) $(SOURCES) $(LISP)
204
	list='$(SOURCES) $(HEADERS)'; \
205
	unique=`for i in $$list; do echo $$i; done | \
206
	  awk '    { files[$$0] = 1; } \
207
	       END { for (i in files) print i; }'`; \
208
	here=`pwd` && cd $(srcdir) \
198
	here=`pwd` && cd $(srcdir) \
209
	  && mkid -f$$here/ID $$unique $(LISP)
199
	  && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
210
200
211
TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
201
TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
212
	tags=; \
202
	tags=; \
Lines 216-222 Link Here
216
	  awk '    { files[$$0] = 1; } \
206
	  awk '    { files[$$0] = 1; } \
217
	       END { for (i in files) print i; }'`; \
207
	       END { for (i in files) print i; }'`; \
218
	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
208
	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
219
	  || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
209
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
220
210
221
mostlyclean-tags:
211
mostlyclean-tags:
222
212
Lines 235-382 Link Here
235
# tarfile.
225
# tarfile.
236
distcheck: dist
226
distcheck: dist
237
	-rm -rf $(distdir)
227
	-rm -rf $(distdir)
238
	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
228
	GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
239
	mkdir $(distdir)/=build
229
	mkdir $(distdir)/=build
240
	mkdir $(distdir)/=inst
230
	mkdir $(distdir)/=inst
241
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
231
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
242
	cd $(distdir)/=build \
232
	cd $(distdir)/=build \
243
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
233
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
244
	  && $(MAKE) $(AM_MAKEFLAGS) \
234
	  && $(MAKE) \
245
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
235
	  && $(MAKE) dvi \
246
	  && $(MAKE) $(AM_MAKEFLAGS) check \
236
	  && $(MAKE) check \
247
	  && $(MAKE) $(AM_MAKEFLAGS) install \
237
	  && $(MAKE) install \
248
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
238
	  && $(MAKE) installcheck \
249
	  && $(MAKE) $(AM_MAKEFLAGS) dist
239
	  && $(MAKE) dist
250
	-rm -rf $(distdir)
240
	-rm -rf $(distdir)
251
	@banner="$(distdir).tar.gz is ready for distribution"; \
241
	@echo "========================"; \
252
	dashes=`echo "$$banner" | sed s/./=/g`; \
242
	echo "$(distdir).tar.gz is ready for distribution"; \
253
	echo "$$dashes"; \
243
	echo "========================"
254
	echo "$$banner"; \
255
	echo "$$dashes"
256
dist: distdir
244
dist: distdir
257
	-chmod -R a+r $(distdir)
245
	-chmod -R a+r $(distdir)
258
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
246
	GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
259
	-rm -rf $(distdir)
247
	-rm -rf $(distdir)
260
dist-all: distdir
248
dist-all: distdir
261
	-chmod -R a+r $(distdir)
249
	-chmod -R a+r $(distdir)
262
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
250
	GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
263
	-rm -rf $(distdir)
251
	-rm -rf $(distdir)
264
distdir: $(DISTFILES)
252
distdir: $(DISTFILES)
265
	-rm -rf $(distdir)
253
	-rm -rf $(distdir)
266
	mkdir $(distdir)
254
	mkdir $(distdir)
267
	-chmod 777 $(distdir)
255
	-chmod 777 $(distdir)
268
	here=`cd $(top_builddir) && pwd`; \
269
	top_distdir=`cd $(distdir) && pwd`; \
270
	distdir=`cd $(distdir) && pwd`; \
271
	cd $(top_srcdir) \
272
	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
273
	@for file in $(DISTFILES); do \
256
	@for file in $(DISTFILES); do \
274
	  d=$(srcdir); \
257
	  d=$(srcdir); \
275
	  if test -d $$d/$$file; then \
258
	  test -f $(distdir)/$$file \
276
	    cp -pr $$d/$$file $(distdir)/$$file; \
259
	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
277
	  else \
260
	  || cp -p $$d/$$file $(distdir)/$$file; \
278
	    test -f $(distdir)/$$file \
279
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
280
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
281
	  fi; \
282
	done
261
	done
262
cache_file.o: cache_file.c config.h cache_file.h
263
conf_file.o: conf_file.c config.h conf_file.h
264
ez-ipupdate.o: ez-ipupdate.c config.h error.h md5.h dprintf.h \
265
	conf_file.h cache_file.h pid_file.h
266
md5.o: md5.c config.h md5.h
267
pid_file.o: pid_file.c config.h error.h dprintf.h
268
269
info:
270
dvi:
271
check: all
272
	$(MAKE)
273
installcheck:
274
install-exec: install-binPROGRAMS
275
	@$(NORMAL_INSTALL)
283
276
284
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
277
install-data: 
285
278
	@$(NORMAL_INSTALL)
286
-include $(DEP_FILES)
287
279
288
mostlyclean-depend:
280
install: install-exec install-data all
281
	@:
289
282
290
clean-depend:
283
uninstall: uninstall-binPROGRAMS
291
284
292
distclean-depend:
293
	-rm -rf .deps
294
295
maintainer-clean-depend:
296
297
%.o: %.c
298
	@echo '$(COMPILE) -c $<'; \
299
	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
300
	@-cp .deps/$(*F).pp .deps/$(*F).P; \
301
	tr ' ' '\012' < .deps/$(*F).pp \
302
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
303
	    >> .deps/$(*F).P; \
304
	rm .deps/$(*F).pp
305
306
%.lo: %.c
307
	@echo '$(LTCOMPILE) -c $<'; \
308
	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
309
	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
310
	  < .deps/$(*F).pp > .deps/$(*F).P; \
311
	tr ' ' '\012' < .deps/$(*F).pp \
312
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
313
	    >> .deps/$(*F).P; \
314
	rm -f .deps/$(*F).pp
315
info-am:
316
info: info-am
317
dvi-am:
318
dvi: dvi-am
319
check-am: all-am
320
check: check-am
321
installcheck-am:
322
installcheck: installcheck-am
323
all-recursive-am: config.h
324
	$(MAKE) $(AM_MAKEFLAGS) all-recursive
325
326
install-exec-am: install-binPROGRAMS
327
install-exec: install-exec-am
328
329
install-data-am:
330
install-data: install-data-am
331
332
install-am: all-am
333
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
334
install: install-am
335
uninstall-am: uninstall-binPROGRAMS
336
uninstall: uninstall-am
337
all-am: Makefile $(PROGRAMS) config.h
338
all-redirect: all-am
339
install-strip:
285
install-strip:
340
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
286
	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
341
installdirs:
287
installdirs:
342
	$(mkinstalldirs)  $(DESTDIR)$(bindir)
288
	$(mkinstalldirs)  $(DATADIR)$(bindir)
343
289
344
290
345
mostlyclean-generic:
291
mostlyclean-generic:
292
	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
346
293
347
clean-generic:
294
clean-generic:
295
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
348
296
349
distclean-generic:
297
distclean-generic:
350
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
298
	-rm -f Makefile $(DISTCLEANFILES)
351
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
299
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
300
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
352
301
353
maintainer-clean-generic:
302
maintainer-clean-generic:
354
mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
303
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
355
		mostlyclean-compile mostlyclean-tags mostlyclean-depend \
304
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
305
mostlyclean:  mostlyclean-hdr mostlyclean-binPROGRAMS \
306
		mostlyclean-compile mostlyclean-tags \
356
		mostlyclean-generic
307
		mostlyclean-generic
357
308
358
mostlyclean: mostlyclean-am
309
clean:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
359
310
		clean-generic mostlyclean
360
clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
361
		clean-depend clean-generic mostlyclean-am
362
311
363
clean: clean-am
312
distclean:  distclean-hdr distclean-binPROGRAMS distclean-compile \
364
313
		distclean-tags distclean-generic clean
365
distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
366
		distclean-tags distclean-depend distclean-generic \
367
		clean-am
368
369
distclean: distclean-am
370
	-rm -f config.status
314
	-rm -f config.status
371
315
372
maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
316
maintainer-clean:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
373
		maintainer-clean-compile maintainer-clean-tags \
317
		maintainer-clean-compile maintainer-clean-tags \
374
		maintainer-clean-depend maintainer-clean-generic \
318
		maintainer-clean-generic distclean
375
		distclean-am
376
	@echo "This command is intended for maintainers to use;"
319
	@echo "This command is intended for maintainers to use;"
377
	@echo "it deletes files that may require special tools to rebuild."
320
	@echo "it deletes files that may require special tools to rebuild."
378
379
maintainer-clean: maintainer-clean-am
380
	-rm -f config.status
321
	-rm -f config.status
381
322
382
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
323
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
Lines 384-394 Link Here
384
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
325
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
385
mostlyclean-compile distclean-compile clean-compile \
326
mostlyclean-compile distclean-compile clean-compile \
386
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
327
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
387
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
328
clean-tags maintainer-clean-tags distdir info dvi installcheck \
388
distclean-depend clean-depend maintainer-clean-depend info-am info \
329
install-exec install-data install uninstall all installdirs \
389
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
390
install-exec-am install-exec install-data-am install-data install-am \
391
install uninstall-am uninstall all-redirect all-am all installdirs \
392
mostlyclean-generic distclean-generic clean-generic \
330
mostlyclean-generic distclean-generic clean-generic \
393
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
331
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
394
332
(-)ez-ipupdate-3.0.11b8/missing (-198 / +1 lines)
Lines 1-198 Link Here
1
#! /bin/sh
1
#autoconf complains if this is not here
2
# Common stub for a few missing GNU programs while installing.
3
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
4
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
5
6
# This program is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 2, or (at your option)
9
# any later version.
10
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19
# 02111-1307, USA.
20
21
if test $# -eq 0; then
22
  echo 1>&2 "Try \`$0 --help' for more information"
23
  exit 1
24
fi
25
26
# In the cases where this matters, `missing' is being run in the
27
# srcdir already.
28
if test -f configure.in; then
29
  configure_ac=configure.ac
30
else
31
  configure_ac=configure.in
32
fi
33
34
case "$1" in
35
36
  -h|--h|--he|--hel|--help)
37
    echo "\
38
$0 [OPTION]... PROGRAM [ARGUMENT]...
39
40
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
41
error status if there is no known handling for PROGRAM.
42
43
Options:
44
  -h, --help      display this help and exit
45
  -v, --version   output version information and exit
46
47
Supported PROGRAM values:
48
  aclocal      touch file \`aclocal.m4'
49
  autoconf     touch file \`configure'
50
  autoheader   touch file \`config.h.in'
51
  automake     touch all \`Makefile.in' files
52
  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
53
  flex         create \`lex.yy.c', if possible, from existing .c
54
  lex          create \`lex.yy.c', if possible, from existing .c
55
  makeinfo     touch the output file
56
  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
57
    ;;
58
59
  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
60
    echo "missing - GNU libit 0.0"
61
    ;;
62
63
  -*)
64
    echo 1>&2 "$0: Unknown \`$1' option"
65
    echo 1>&2 "Try \`$0 --help' for more information"
66
    exit 1
67
    ;;
68
69
  aclocal*)
70
    echo 1>&2 "\
71
WARNING: \`$1' is missing on your system.  You should only need it if
72
         you modified \`acinclude.m4' or \`$configure_ac'.  You might want
73
         to install the \`Automake' and \`Perl' packages.  Grab them from
74
         any GNU archive site."
75
    touch aclocal.m4
76
    ;;
77
78
  autoconf)
79
    echo 1>&2 "\
80
WARNING: \`$1' is missing on your system.  You should only need it if
81
         you modified \`$configure_ac'.  You might want to install the
82
         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
83
         archive site."
84
    touch configure
85
    ;;
86
87
  autoheader)
88
    echo 1>&2 "\
89
WARNING: \`$1' is missing on your system.  You should only need it if
90
         you modified \`acconfig.h' or \`$configure_ac'.  You might want
91
         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
92
         from any GNU archive site."
93
    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
94
    test -z "$files" && files="config.h"
95
    touch_files=
96
    for f in $files; do
97
      case "$f" in
98
      *:*) touch_files="$touch_files "`echo "$f" |
99
				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
100
      *) touch_files="$touch_files $f.in";;
101
      esac
102
    done
103
    touch $touch_files
104
    ;;
105
106
  automake*)
107
    echo 1>&2 "\
108
WARNING: \`$1' is missing on your system.  You should only need it if
109
         you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
110
         You might want to install the \`Automake' and \`Perl' packages.
111
         Grab them from any GNU archive site."
112
    find . -type f -name Makefile.am -print |
113
	   sed 's/\.am$/.in/' |
114
	   while read f; do touch "$f"; done
115
    ;;
116
117
  bison|yacc)
118
    echo 1>&2 "\
119
WARNING: \`$1' is missing on your system.  You should only need it if
120
         you modified a \`.y' file.  You may need the \`Bison' package
121
         in order for those modifications to take effect.  You can get
122
         \`Bison' from any GNU archive site."
123
    rm -f y.tab.c y.tab.h
124
    if [ $# -ne 1 ]; then
125
        eval LASTARG="\${$#}"
126
	case "$LASTARG" in
127
	*.y)
128
	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
129
	    if [ -f "$SRCFILE" ]; then
130
	         cp "$SRCFILE" y.tab.c
131
	    fi
132
	    SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
133
	    if [ -f "$SRCFILE" ]; then
134
	         cp "$SRCFILE" y.tab.h
135
	    fi
136
	  ;;
137
	esac
138
    fi
139
    if [ ! -f y.tab.h ]; then
140
	echo >y.tab.h
141
    fi
142
    if [ ! -f y.tab.c ]; then
143
	echo 'main() { return 0; }' >y.tab.c
144
    fi
145
    ;;
146
147
  lex|flex)
148
    echo 1>&2 "\
149
WARNING: \`$1' is missing on your system.  You should only need it if
150
         you modified a \`.l' file.  You may need the \`Flex' package
151
         in order for those modifications to take effect.  You can get
152
         \`Flex' from any GNU archive site."
153
    rm -f lex.yy.c
154
    if [ $# -ne 1 ]; then
155
        eval LASTARG="\${$#}"
156
	case "$LASTARG" in
157
	*.l)
158
	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
159
	    if [ -f "$SRCFILE" ]; then
160
	         cp "$SRCFILE" lex.yy.c
161
	    fi
162
	  ;;
163
	esac
164
    fi
165
    if [ ! -f lex.yy.c ]; then
166
	echo 'main() { return 0; }' >lex.yy.c
167
    fi
168
    ;;
169
170
  makeinfo)
171
    echo 1>&2 "\
172
WARNING: \`$1' is missing on your system.  You should only need it if
173
         you modified a \`.texi' or \`.texinfo' file, or any other file
174
         indirectly affecting the aspect of the manual.  The spurious
175
         call might also be the consequence of using a buggy \`make' (AIX,
176
         DU, IRIX).  You might want to install the \`Texinfo' package or
177
         the \`GNU make' package.  Grab either from any GNU archive site."
178
    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
179
    if test -z "$file"; then
180
      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
181
      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
182
    fi
183
    touch $file
184
    ;;
185
186
  *)
187
    echo 1>&2 "\
188
WARNING: \`$1' is needed, and you do not seem to have it handy on your
189
         system.  You might have modified some files without having the
190
         proper tools for further handling them.  Check the \`README' file,
191
         it often tells you about the needed prerequirements for installing
192
         this package.  You may also peek at any GNU archive site, in case
193
         some other package would contain this missing \`$1' program."
194
    exit 1
195
    ;;
196
esac
197
198
exit 0
(-)ez-ipupdate-3.0.11b8/mkinstalldirs (-2 / +2 lines)
Lines 4-10 Link Here
4
# Created: 1993-05-16
4
# Created: 1993-05-16
5
# Public domain
5
# Public domain
6
6
7
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
7
# $Id: mkinstalldirs,v 1.1.1.1 1999/04/19 00:34:59 amackay Exp $
8
8
9
errstatus=0
9
errstatus=0
10
10
Lines 22-28 Link Here
22
     esac
22
     esac
23
23
24
     if test ! -d "$pathcomp"; then
24
     if test ! -d "$pathcomp"; then
25
        echo "mkdir $pathcomp"
25
        echo "mkdir $pathcomp" 1>&2
26
26
27
        mkdir "$pathcomp" || lasterr=$?
27
        mkdir "$pathcomp" || lasterr=$?
28
28

Return to bug 116439