]> git.pld-linux.org Git - packages/ez-ipupdate.git/blob - ez-ipupdate-debian.patch
- rel 6; fixes from debian and new services from openwrt
[packages/ez-ipupdate.git] / ez-ipupdate-debian.patch
1 --- ez-ipupdate-3.0.11b8.orig/configure.in
2 +++ ez-ipupdate-3.0.11b8/configure.in
3 @@ -58,10 +58,12 @@
4  dnl Checks for header files.
5  AC_CHECK_HEADERS( arpa/inet.h \
6                   sys/types.h \
7 +                 time.h \
8                   sys/time.h \
9                   sys/stat.h \
10                   fcntl.h \
11                   signal.h \
12 +                 string.h \
13                   syslog.h \
14                   pwd.h \
15                   stdarg.h \
16 Index: ez-ipupdate-3.0.11b8/Makefile.am
17 ===================================================================
18 --- ez-ipupdate-3.0.11b8.orig/Makefile.am       2007-03-08 16:14:29.000000000 +0100
19 +++ ez-ipupdate-3.0.11b8/Makefile.am    2007-03-08 16:15:43.000000000 +0100
20 @@ -1,8 +1,12 @@
21  
22  bin_PROGRAMS = ez-ipupdate
23 -ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h @EXTRASRC@
24 -ez_ipupdate_LDADD = @EXTRAOBJ@
25 +ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h $(extrasrc)
26  
27 -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
28 +EXTRA_DIST = 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
29  
30  AUTOMAKE_OPTIONS=foreign
31 +
32 +if HAVE_GETPASS
33 +extrasrc = getpass.c
34 +endif
35 +
36 Index: ez-ipupdate-3.0.11b8/configure.in
37 ===================================================================
38 --- ez-ipupdate-3.0.11b8.orig/configure.in      2007-03-08 16:14:29.000000000 +0100
39 +++ ez-ipupdate-3.0.11b8/configure.in   2007-03-08 16:15:57.000000000 +0100
40 @@ -88,9 +88,8 @@
41    AC_MSG_ERROR(getopt is needed for this program to work)
42  fi
43  
44 -AC_CHECK_FUNC(getpass, AC_DEFINE(HAVE_GETPASS),
45 -    [EXTRASRC="$EXTRASRC \$(srcdir)/getpass.c"]
46 -    [EXTRAOBJ="$EXTRAOBJ \$(srcdir)/getpass.o"] )
47 +AC_CHECK_FUNC(getpass, AC_DEFINE(HAVE_GETPASS))
48 +AM_CONDITIONAL(HAVE_GETPASS, test "$ac_cv_func_getpass" != yes)
49  
50  dnl Get system canonical name
51  AC_CANONICAL_HOST
52 @@ -150,8 +149,5 @@
53               [ AC_DEFINE(USE_MD5)
54                  AC_MSG_RESULT(no) ]   )
55  
56 -AC_SUBST(EXTRASRC)
57 -AC_SUBST(EXTRAOBJ)
58 -
59  AC_OUTPUT(Makefile)
60  
61 Index: ez-ipupdate-3.0.11b8/configure.in
62 ===================================================================
63 --- ez-ipupdate-3.0.11b8.orig/configure.in      2007-03-08 16:34:25.000000000 +0100
64 +++ ez-ipupdate-3.0.11b8/configure.in   2007-03-08 16:34:38.000000000 +0100
65 @@ -3,6 +3,7 @@
66  AC_INIT(ez-ipupdate.c)
67  AM_CONFIG_HEADER(config.h)
68  AM_INIT_AUTOMAKE(ez-ipupdate,3.0.11b8)
69 +AM_MAINTAINER_MODE
70  
71  
72  dnl Checks for programs.
73 Index: ez-ipupdate-3.0.11b8/Makefile.in
74 ===================================================================
75 --- ez-ipupdate-3.0.11b8.orig/Makefile.in       2003-04-17 19:42:59.000000000 +0200
76 +++ ez-ipupdate-3.0.11b8/Makefile.in    2007-03-08 16:34:52.000000000 +0100
77 @@ -1,6 +1,8 @@
78 -# Makefile.in generated automatically by automake 1.3 from Makefile.am
79 +# Makefile.in generated by automake 1.10 from Makefile.am.
80 +# @configure_input@
81  
82 -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
83 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
84 +# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
85  # This Makefile.in is free software; the Free Software Foundation
86  # gives unlimited permission to copy and/or distribute it,
87  # with or without modifications, as long as this notice is preserved.
88 @@ -10,326 +12,561 @@
89  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
90  # PARTICULAR PURPOSE.
91  
92 +@SET_MAKE@
93  
94 -SHELL = /bin/sh
95 -
96 -srcdir = @srcdir@
97 -top_srcdir = @top_srcdir@
98  VPATH = @srcdir@
99 -prefix = @prefix@
100 -exec_prefix = @exec_prefix@
101 -
102 -bindir = @bindir@
103 -sbindir = @sbindir@
104 -libexecdir = @libexecdir@
105 -datadir = @datadir@
106 -sysconfdir = @sysconfdir@
107 -sharedstatedir = @sharedstatedir@
108 -localstatedir = @localstatedir@
109 -libdir = @libdir@
110 -infodir = @infodir@
111 -mandir = @mandir@
112 -includedir = @includedir@
113 -oldincludedir = /usr/include
114 -
115 -DISTDIR =
116 -
117  pkgdatadir = $(datadir)/@PACKAGE@
118  pkglibdir = $(libdir)/@PACKAGE@
119  pkgincludedir = $(includedir)/@PACKAGE@
120 -
121 -top_builddir = .
122 -
123 -ACLOCAL = @ACLOCAL@
124 -AUTOCONF = @AUTOCONF@
125 -AUTOMAKE = @AUTOMAKE@
126 -AUTOHEADER = @AUTOHEADER@
127 -
128 -INSTALL = @INSTALL@
129 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
130 -INSTALL_DATA = @INSTALL_DATA@
131 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
132 -transform = @program_transform_name@
133 -
134 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
135 +install_sh_DATA = $(install_sh) -c -m 644
136 +install_sh_PROGRAM = $(install_sh) -c
137 +install_sh_SCRIPT = $(install_sh) -c
138 +INSTALL_HEADER = $(INSTALL_DATA)
139 +transform = $(program_transform_name)
140  NORMAL_INSTALL = :
141  PRE_INSTALL = :
142  POST_INSTALL = :
143  NORMAL_UNINSTALL = :
144  PRE_UNINSTALL = :
145  POST_UNINSTALL = :
146 -host_alias = @host_alias@
147 +build_triplet = @build@
148  host_triplet = @host@
149 -CC = @CC@
150 -CPP = @CPP@
151 -EXTRAOBJ = @EXTRAOBJ@
152 -EXTRASRC = @EXTRASRC@
153 -MAKEINFO = @MAKEINFO@
154 -PACKAGE = @PACKAGE@
155 -VERSION = @VERSION@
156 -
157 -bin_PROGRAMS = ez-ipupdate
158 -ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h @EXTRASRC@
159 -ez_ipupdate_LDADD = @EXTRAOBJ@
160 -
161 -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
162 -
163 -AUTOMAKE_OPTIONS=foreign
164 +bin_PROGRAMS = ez-ipupdate$(EXEEXT)
165 +subdir = .
166 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
167 +       $(srcdir)/Makefile.in $(srcdir)/config.h.in \
168 +       $(top_srcdir)/configure COPYING INSTALL acconfig.h \
169 +       config.guess config.sub depcomp install-sh missing
170  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
171 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
172 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
173 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
174 +       $(ACLOCAL_M4)
175 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
176 + configure.lineno config.status.lineno
177 +mkinstalldirs = $(install_sh) -d
178  CONFIG_HEADER = config.h
179 -CONFIG_CLEAN_FILES = 
180 -PROGRAMS =  $(bin_PROGRAMS)
181 -
182 -
183 -DEFS = @DEFS@ -I. -I$(srcdir) -I.
184 +CONFIG_CLEAN_FILES =
185 +am__installdirs = "$(DESTDIR)$(bindir)"
186 +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
187 +PROGRAMS = $(bin_PROGRAMS)
188 +am__ez_ipupdate_SOURCES_DIST = ez-ipupdate.c conf_file.c conf_file.h \
189 +       md5.c md5.h cache_file.c cache_file.h error.h pid_file.c \
190 +       pid_file.h dprintf.h getpass.c
191 +@HAVE_GETPASS_TRUE@am__objects_1 = getpass.$(OBJEXT)
192 +am_ez_ipupdate_OBJECTS = ez-ipupdate.$(OBJEXT) conf_file.$(OBJEXT) \
193 +       md5.$(OBJEXT) cache_file.$(OBJEXT) pid_file.$(OBJEXT) \
194 +       $(am__objects_1)
195 +ez_ipupdate_OBJECTS = $(am_ez_ipupdate_OBJECTS)
196 +ez_ipupdate_LDADD = $(LDADD)
197 +DEFAULT_INCLUDES = -I.@am__isrc@
198 +depcomp = $(SHELL) $(top_srcdir)/depcomp
199 +am__depfiles_maybe = depfiles
200 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
201 +       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
202 +CCLD = $(CC)
203 +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
204 +SOURCES = $(ez_ipupdate_SOURCES)
205 +DIST_SOURCES = $(am__ez_ipupdate_SOURCES_DIST)
206 +ETAGS = etags
207 +CTAGS = ctags
208 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
209 +distdir = $(PACKAGE)-$(VERSION)
210 +top_distdir = $(distdir)
211 +am__remove_distdir = \
212 +  { test ! -d $(distdir) \
213 +    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
214 +         && rm -fr $(distdir); }; }
215 +DIST_ARCHIVES = $(distdir).tar.gz
216 +GZIP_ENV = --best
217 +distuninstallcheck_listfiles = find . -type f -print
218 +distcleancheck_listfiles = find . -type f -print
219 +ACLOCAL = @ACLOCAL@
220 +AMTAR = @AMTAR@
221 +AUTOCONF = @AUTOCONF@
222 +AUTOHEADER = @AUTOHEADER@
223 +AUTOMAKE = @AUTOMAKE@
224 +AWK = @AWK@
225 +CC = @CC@
226 +CCDEPMODE = @CCDEPMODE@
227 +CFLAGS = @CFLAGS@
228 +CPP = @CPP@
229  CPPFLAGS = @CPPFLAGS@
230 +CYGPATH_W = @CYGPATH_W@
231 +DEFS = @DEFS@
232 +DEPDIR = @DEPDIR@
233 +ECHO_C = @ECHO_C@
234 +ECHO_N = @ECHO_N@
235 +ECHO_T = @ECHO_T@
236 +EGREP = @EGREP@
237 +EXEEXT = @EXEEXT@
238 +GREP = @GREP@
239 +INSTALL = @INSTALL@
240 +INSTALL_DATA = @INSTALL_DATA@
241 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
242 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
243 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
244  LDFLAGS = @LDFLAGS@
245 +LIBOBJS = @LIBOBJS@
246  LIBS = @LIBS@
247 -ez_ipupdate_OBJECTS =  ez-ipupdate.o conf_file.o md5.o cache_file.o \
248 -pid_file.o
249 -ez_ipupdate_DEPENDENCIES = 
250 -ez_ipupdate_LDFLAGS = 
251 -CFLAGS = @CFLAGS@
252 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
253 -LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
254 -DIST_COMMON =  README COPYING INSTALL Makefile.am Makefile.in acconfig.h \
255 -aclocal.m4 config.guess config.h.in config.sub configure configure.in \
256 -install-sh missing mkinstalldirs stamp-h.in
257 -
258 -
259 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
260 -
261 -TAR = tar
262 -GZIP = --best
263 -SOURCES = $(ez_ipupdate_SOURCES)
264 -OBJECTS = $(ez_ipupdate_OBJECTS)
265 -
266 -all: Makefile $(PROGRAMS) config.h
267 +LTLIBOBJS = @LTLIBOBJS@
268 +MAINT = @MAINT@
269 +MAKEINFO = @MAKEINFO@
270 +MKDIR_P = @MKDIR_P@
271 +OBJEXT = @OBJEXT@
272 +PACKAGE = @PACKAGE@
273 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
274 +PACKAGE_NAME = @PACKAGE_NAME@
275 +PACKAGE_STRING = @PACKAGE_STRING@
276 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
277 +PACKAGE_VERSION = @PACKAGE_VERSION@
278 +PATH_SEPARATOR = @PATH_SEPARATOR@
279 +SET_MAKE = @SET_MAKE@
280 +SHELL = @SHELL@
281 +STRIP = @STRIP@
282 +VERSION = @VERSION@
283 +abs_builddir = @abs_builddir@
284 +abs_srcdir = @abs_srcdir@
285 +abs_top_builddir = @abs_top_builddir@
286 +abs_top_srcdir = @abs_top_srcdir@
287 +ac_ct_CC = @ac_ct_CC@
288 +am__include = @am__include@
289 +am__leading_dot = @am__leading_dot@
290 +am__quote = @am__quote@
291 +am__tar = @am__tar@
292 +am__untar = @am__untar@
293 +bindir = @bindir@
294 +build = @build@
295 +build_alias = @build_alias@
296 +build_cpu = @build_cpu@
297 +build_os = @build_os@
298 +build_vendor = @build_vendor@
299 +builddir = @builddir@
300 +datadir = @datadir@
301 +datarootdir = @datarootdir@
302 +docdir = @docdir@
303 +dvidir = @dvidir@
304 +exec_prefix = @exec_prefix@
305 +host = @host@
306 +host_alias = @host_alias@
307 +host_cpu = @host_cpu@
308 +host_os = @host_os@
309 +host_vendor = @host_vendor@
310 +htmldir = @htmldir@
311 +includedir = @includedir@
312 +infodir = @infodir@
313 +install_sh = @install_sh@
314 +libdir = @libdir@
315 +libexecdir = @libexecdir@
316 +localedir = @localedir@
317 +localstatedir = @localstatedir@
318 +mandir = @mandir@
319 +mkdir_p = @mkdir_p@
320 +oldincludedir = @oldincludedir@
321 +pdfdir = @pdfdir@
322 +prefix = @prefix@
323 +program_transform_name = @program_transform_name@
324 +psdir = @psdir@
325 +sbindir = @sbindir@
326 +sharedstatedir = @sharedstatedir@
327 +srcdir = @srcdir@
328 +sysconfdir = @sysconfdir@
329 +target_alias = @target_alias@
330 +top_builddir = @top_builddir@
331 +top_srcdir = @top_srcdir@
332 +ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h $(extrasrc)
333 +EXTRA_DIST = 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
334 +AUTOMAKE_OPTIONS = foreign
335 +@HAVE_GETPASS_TRUE@extrasrc = getpass.c
336 +all: config.h
337 +       $(MAKE) $(AM_MAKEFLAGS) all-am
338  
339  .SUFFIXES:
340 -.SUFFIXES: .S .c .o .s
341 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
342 -       cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
343 -
344 -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
345 -       cd $(top_builddir) \
346 -         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
347 -
348 -$(ACLOCAL_M4):  configure.in 
349 -       cd $(srcdir) && $(ACLOCAL)
350 +.SUFFIXES: .c .o .obj
351 +am--refresh:
352 +       @:
353 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
354 +       @for dep in $?; do \
355 +         case '$(am__configure_deps)' in \
356 +           *$$dep*) \
357 +             echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
358 +             cd $(srcdir) && $(AUTOMAKE) --foreign  \
359 +               && exit 0; \
360 +             exit 1;; \
361 +         esac; \
362 +       done; \
363 +       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
364 +       cd $(top_srcdir) && \
365 +         $(AUTOMAKE) --foreign  Makefile
366 +.PRECIOUS: Makefile
367 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
368 +       @case '$?' in \
369 +         *config.status*) \
370 +           echo ' $(SHELL) ./config.status'; \
371 +           $(SHELL) ./config.status;; \
372 +         *) \
373 +           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
374 +           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
375 +       esac;
376  
377 -config.status: $(srcdir)/configure
378 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
379         $(SHELL) ./config.status --recheck
380 -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
381 +
382 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
383         cd $(srcdir) && $(AUTOCONF)
384 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
385 +       cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
386  
387 -config.h: stamp-h
388 -       @:
389 -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
390 -       cd $(top_builddir) \
391 -         && CONFIG_FILES= CONFIG_HEADERS=config.h \
392 -            $(SHELL) ./config.status
393 -       @echo timestamp > stamp-h
394 -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
395 -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
396 +config.h: stamp-h1
397 +       @if test ! -f $@; then \
398 +         rm -f stamp-h1; \
399 +         $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
400 +       else :; fi
401 +
402 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
403 +       @rm -f stamp-h1
404 +       cd $(top_builddir) && $(SHELL) ./config.status config.h
405 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h
406         cd $(top_srcdir) && $(AUTOHEADER)
407 -       @echo timestamp > $(srcdir)/stamp-h.in
408 -
409 -mostlyclean-hdr:
410 -
411 -clean-hdr:
412 +       rm -f stamp-h1
413 +       touch $@
414  
415  distclean-hdr:
416 -       -rm -f config.h
417 -
418 -maintainer-clean-hdr:
419 -
420 -mostlyclean-binPROGRAMS:
421 -
422 -clean-binPROGRAMS:
423 -       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
424 -
425 -distclean-binPROGRAMS:
426 -
427 -maintainer-clean-binPROGRAMS:
428 -
429 +       -rm -f config.h stamp-h1
430  install-binPROGRAMS: $(bin_PROGRAMS)
431         @$(NORMAL_INSTALL)
432 -       $(mkinstalldirs) $(DESTDIR)$(bindir)
433 +       test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
434         @list='$(bin_PROGRAMS)'; for p in $$list; do \
435 -         if test -f $$p; then \
436 -           echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
437 -            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
438 +         p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
439 +         if test -f $$p \
440 +         ; then \
441 +           f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
442 +          echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
443 +          $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
444           else :; fi; \
445         done
446  
447  uninstall-binPROGRAMS:
448         @$(NORMAL_UNINSTALL)
449 -       list='$(bin_PROGRAMS)'; for p in $$list; do \
450 -         rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
451 +       @list='$(bin_PROGRAMS)'; for p in $$list; do \
452 +         f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
453 +         echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
454 +         rm -f "$(DESTDIR)$(bindir)/$$f"; \
455         done
456  
457 -.c.o:
458 -       $(COMPILE) -c $<
459 -
460 -.s.o:
461 -       $(COMPILE) -c $<
462 -
463 -.S.o:
464 -       $(COMPILE) -c $<
465 +clean-binPROGRAMS:
466 +       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
467 +ez-ipupdate$(EXEEXT): $(ez_ipupdate_OBJECTS) $(ez_ipupdate_DEPENDENCIES) 
468 +       @rm -f ez-ipupdate$(EXEEXT)
469 +       $(LINK) $(ez_ipupdate_OBJECTS) $(ez_ipupdate_LDADD) $(LIBS)
470  
471  mostlyclean-compile:
472 -       -rm -f *.o core *.core
473 -
474 -clean-compile:
475 +       -rm -f *.$(OBJEXT)
476  
477  distclean-compile:
478         -rm -f *.tab.c
479  
480 -maintainer-clean-compile:
481 -
482 -ez-ipupdate: $(ez_ipupdate_OBJECTS) $(ez_ipupdate_DEPENDENCIES)
483 -       @rm -f ez-ipupdate
484 -       $(LINK) $(ez_ipupdate_LDFLAGS) $(ez_ipupdate_OBJECTS) $(ez_ipupdate_LDADD) $(LIBS)
485 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cache_file.Po@am__quote@
486 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/conf_file.Po@am__quote@
487 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ez-ipupdate.Po@am__quote@
488 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getpass.Po@am__quote@
489 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Po@am__quote@
490 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pid_file.Po@am__quote@
491  
492 +.c.o:
493 +@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
494 +@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
495 +@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
496 +@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
497 +@am__fastdepCC_FALSE@  $(COMPILE) -c $<
498 +
499 +.c.obj:
500 +@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
501 +@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
502 +@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
503 +@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
504 +@am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
505 +
506 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
507 +       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
508 +       unique=`for i in $$list; do \
509 +           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
510 +         done | \
511 +         $(AWK) '    { files[$$0] = 1; } \
512 +              END { for (i in files) print i; }'`; \
513 +       mkid -fID $$unique
514  tags: TAGS
515  
516 -ID: $(HEADERS) $(SOURCES) $(LISP)
517 -       here=`pwd` && cd $(srcdir) \
518 -         && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
519 -
520 -TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
521 +TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
522 +               $(TAGS_FILES) $(LISP)
523         tags=; \
524         here=`pwd`; \
525 -       list='$(SOURCES) $(HEADERS)'; \
526 -       unique=`for i in $$list; do echo $$i; done | \
527 -         awk '    { files[$$0] = 1; } \
528 +       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
529 +       unique=`for i in $$list; do \
530 +           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
531 +         done | \
532 +         $(AWK) '    { files[$$0] = 1; } \
533                END { for (i in files) print i; }'`; \
534 -       test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
535 -         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
536 -
537 -mostlyclean-tags:
538 -
539 -clean-tags:
540 +       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
541 +         test -n "$$unique" || unique=$$empty_fix; \
542 +         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
543 +           $$tags $$unique; \
544 +       fi
545 +ctags: CTAGS
546 +CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
547 +               $(TAGS_FILES) $(LISP)
548 +       tags=; \
549 +       here=`pwd`; \
550 +       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
551 +       unique=`for i in $$list; do \
552 +           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
553 +         done | \
554 +         $(AWK) '    { files[$$0] = 1; } \
555 +              END { for (i in files) print i; }'`; \
556 +       test -z "$(CTAGS_ARGS)$$tags$$unique" \
557 +         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
558 +            $$tags $$unique
559 +
560 +GTAGS:
561 +       here=`$(am__cd) $(top_builddir) && pwd` \
562 +         && cd $(top_srcdir) \
563 +         && gtags -i $(GTAGS_ARGS) $$here
564  
565  distclean-tags:
566 -       -rm -f TAGS ID
567 +       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
568  
569 -maintainer-clean-tags:
570 -
571 -distdir = $(PACKAGE)-$(VERSION)
572 -top_distdir = $(distdir)
573 +distdir: $(DISTFILES)
574 +       $(am__remove_distdir)
575 +       test -d $(distdir) || mkdir $(distdir)
576 +       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
577 +       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
578 +       list='$(DISTFILES)'; \
579 +         dist_files=`for file in $$list; do echo $$file; done | \
580 +         sed -e "s|^$$srcdirstrip/||;t" \
581 +             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
582 +       case $$dist_files in \
583 +         */*) $(MKDIR_P) `echo "$$dist_files" | \
584 +                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
585 +                          sort -u` ;; \
586 +       esac; \
587 +       for file in $$dist_files; do \
588 +         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
589 +         if test -d $$d/$$file; then \
590 +           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
591 +           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
592 +             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
593 +           fi; \
594 +           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
595 +         else \
596 +           test -f $(distdir)/$$file \
597 +           || cp -p $$d/$$file $(distdir)/$$file \
598 +           || exit 1; \
599 +         fi; \
600 +       done
601 +       -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
602 +         ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
603 +         ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
604 +         ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
605 +       || chmod -R a+r $(distdir)
606 +dist-gzip: distdir
607 +       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
608 +       $(am__remove_distdir)
609 +
610 +dist-bzip2: distdir
611 +       tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
612 +       $(am__remove_distdir)
613 +
614 +dist-tarZ: distdir
615 +       tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
616 +       $(am__remove_distdir)
617 +
618 +dist-shar: distdir
619 +       shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
620 +       $(am__remove_distdir)
621 +
622 +dist-zip: distdir
623 +       -rm -f $(distdir).zip
624 +       zip -rq $(distdir).zip $(distdir)
625 +       $(am__remove_distdir)
626 +
627 +dist dist-all: distdir
628 +       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
629 +       $(am__remove_distdir)
630  
631  # This target untars the dist file and tries a VPATH configuration.  Then
632  # it guarantees that the distribution is self-contained by making another
633  # tarfile.
634  distcheck: dist
635 -       -rm -rf $(distdir)
636 -       GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
637 -       mkdir $(distdir)/=build
638 -       mkdir $(distdir)/=inst
639 -       dc_install_base=`cd $(distdir)/=inst && pwd`; \
640 -       cd $(distdir)/=build \
641 -         && ../configure --srcdir=.. --prefix=$$dc_install_base \
642 -         && $(MAKE) \
643 -         && $(MAKE) dvi \
644 -         && $(MAKE) check \
645 -         && $(MAKE) install \
646 -         && $(MAKE) installcheck \
647 -         && $(MAKE) dist
648 -       -rm -rf $(distdir)
649 -       @echo "========================"; \
650 -       echo "$(distdir).tar.gz is ready for distribution"; \
651 -       echo "========================"
652 -dist: distdir
653 -       -chmod -R a+r $(distdir)
654 -       GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
655 -       -rm -rf $(distdir)
656 -dist-all: distdir
657 -       -chmod -R a+r $(distdir)
658 -       GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
659 -       -rm -rf $(distdir)
660 -distdir: $(DISTFILES)
661 -       -rm -rf $(distdir)
662 -       mkdir $(distdir)
663 -       -chmod 777 $(distdir)
664 -       @for file in $(DISTFILES); do \
665 -         d=$(srcdir); \
666 -         test -f $(distdir)/$$file \
667 -         || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
668 -         || cp -p $$d/$$file $(distdir)/$$file; \
669 +       case '$(DIST_ARCHIVES)' in \
670 +       *.tar.gz*) \
671 +         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
672 +       *.tar.bz2*) \
673 +         bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
674 +       *.tar.Z*) \
675 +         uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
676 +       *.shar.gz*) \
677 +         GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
678 +       *.zip*) \
679 +         unzip $(distdir).zip ;;\
680 +       esac
681 +       chmod -R a-w $(distdir); chmod a+w $(distdir)
682 +       mkdir $(distdir)/_build
683 +       mkdir $(distdir)/_inst
684 +       chmod a-w $(distdir)
685 +       dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
686 +         && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
687 +         && cd $(distdir)/_build \
688 +         && ../configure --srcdir=.. --prefix="$$dc_install_base" \
689 +           $(DISTCHECK_CONFIGURE_FLAGS) \
690 +         && $(MAKE) $(AM_MAKEFLAGS) \
691 +         && $(MAKE) $(AM_MAKEFLAGS) dvi \
692 +         && $(MAKE) $(AM_MAKEFLAGS) check \
693 +         && $(MAKE) $(AM_MAKEFLAGS) install \
694 +         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
695 +         && $(MAKE) $(AM_MAKEFLAGS) uninstall \
696 +         && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
697 +               distuninstallcheck \
698 +         && chmod -R a-w "$$dc_install_base" \
699 +         && ({ \
700 +              (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
701 +              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
702 +              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
703 +              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
704 +                   distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
705 +             } || { rm -rf "$$dc_destdir"; exit 1; }) \
706 +         && rm -rf "$$dc_destdir" \
707 +         && $(MAKE) $(AM_MAKEFLAGS) dist \
708 +         && rm -rf $(DIST_ARCHIVES) \
709 +         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
710 +       $(am__remove_distdir)
711 +       @(echo "$(distdir) archives ready for distribution: "; \
712 +         list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
713 +         sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
714 +distuninstallcheck:
715 +       @cd $(distuninstallcheck_dir) \
716 +       && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
717 +          || { echo "ERROR: files left after uninstall:" ; \
718 +               if test -n "$(DESTDIR)"; then \
719 +                 echo "  (check DESTDIR support)"; \
720 +               fi ; \
721 +               $(distuninstallcheck_listfiles) ; \
722 +               exit 1; } >&2
723 +distcleancheck: distclean
724 +       @if test '$(srcdir)' = . ; then \
725 +         echo "ERROR: distcleancheck can only run from a VPATH build" ; \
726 +         exit 1 ; \
727 +       fi
728 +       @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
729 +         || { echo "ERROR: files left in build directory after distclean:" ; \
730 +              $(distcleancheck_listfiles) ; \
731 +              exit 1; } >&2
732 +check-am: all-am
733 +check: check-am
734 +all-am: Makefile $(PROGRAMS) config.h
735 +installdirs:
736 +       for dir in "$(DESTDIR)$(bindir)"; do \
737 +         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
738         done
739 -cache_file.o: cache_file.c config.h cache_file.h
740 -conf_file.o: conf_file.c config.h conf_file.h
741 -ez-ipupdate.o: ez-ipupdate.c config.h error.h md5.h dprintf.h \
742 -       conf_file.h cache_file.h pid_file.h
743 -md5.o: md5.c config.h md5.h
744 -pid_file.o: pid_file.c config.h error.h dprintf.h
745 -
746 -info:
747 -dvi:
748 -check: all
749 -       $(MAKE)
750 -installcheck:
751 -install-exec: install-binPROGRAMS
752 -       @$(NORMAL_INSTALL)
753 -
754 -install-data: 
755 -       @$(NORMAL_INSTALL)
756 -
757 -install: install-exec install-data all
758 -       @:
759 +install: install-am
760 +install-exec: install-exec-am
761 +install-data: install-data-am
762 +uninstall: uninstall-am
763  
764 -uninstall: uninstall-binPROGRAMS
765 +install-am: all-am
766 +       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
767  
768 +installcheck: installcheck-am
769  install-strip:
770 -       $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
771 -installdirs:
772 -       $(mkinstalldirs)  $(DATADIR)$(bindir)
773 -
774 -
775 +       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
776 +         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
777 +         `test -z '$(STRIP)' || \
778 +           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
779  mostlyclean-generic:
780 -       -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
781  
782  clean-generic:
783 -       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
784  
785  distclean-generic:
786 -       -rm -f Makefile $(DISTCLEANFILES)
787 -       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
788         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
789  
790  maintainer-clean-generic:
791 -       -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
792 -       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
793 -mostlyclean:  mostlyclean-hdr mostlyclean-binPROGRAMS \
794 -               mostlyclean-compile mostlyclean-tags \
795 -               mostlyclean-generic
796 -
797 -clean:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
798 -               clean-generic mostlyclean
799 -
800 -distclean:  distclean-hdr distclean-binPROGRAMS distclean-compile \
801 -               distclean-tags distclean-generic clean
802 -       -rm -f config.status
803 -
804 -maintainer-clean:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
805 -               maintainer-clean-compile maintainer-clean-tags \
806 -               maintainer-clean-generic distclean
807 -       @echo "This command is intended for maintainers to use;"
808 +       @echo "This command is intended for maintainers to use"
809         @echo "it deletes files that may require special tools to rebuild."
810 -       -rm -f config.status
811 +clean: clean-am
812 +
813 +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
814 +
815 +distclean: distclean-am
816 +       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
817 +       -rm -rf ./$(DEPDIR)
818 +       -rm -f Makefile
819 +distclean-am: clean-am distclean-compile distclean-generic \
820 +       distclean-hdr distclean-tags
821 +
822 +dvi: dvi-am
823 +
824 +dvi-am:
825 +
826 +html: html-am
827 +
828 +info: info-am
829 +
830 +info-am:
831 +
832 +install-data-am:
833 +
834 +install-dvi: install-dvi-am
835 +
836 +install-exec-am: install-binPROGRAMS
837 +
838 +install-html: install-html-am
839 +
840 +install-info: install-info-am
841 +
842 +install-man:
843 +
844 +install-pdf: install-pdf-am
845 +
846 +install-ps: install-ps-am
847 +
848 +installcheck-am:
849 +
850 +maintainer-clean: maintainer-clean-am
851 +       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
852 +       -rm -rf $(top_srcdir)/autom4te.cache
853 +       -rm -rf ./$(DEPDIR)
854 +       -rm -f Makefile
855 +maintainer-clean-am: distclean-am maintainer-clean-generic
856 +
857 +mostlyclean: mostlyclean-am
858 +
859 +mostlyclean-am: mostlyclean-compile mostlyclean-generic
860 +
861 +pdf: pdf-am
862 +
863 +pdf-am:
864 +
865 +ps: ps-am
866 +
867 +ps-am:
868 +
869 +uninstall-am: uninstall-binPROGRAMS
870  
871 -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
872 -mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
873 -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
874 -mostlyclean-compile distclean-compile clean-compile \
875 -maintainer-clean-compile tags mostlyclean-tags distclean-tags \
876 -clean-tags maintainer-clean-tags distdir info dvi installcheck \
877 -install-exec install-data install uninstall all installdirs \
878 -mostlyclean-generic distclean-generic clean-generic \
879 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
880 +.MAKE: install-am install-strip
881  
882 +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
883 +       clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
884 +       dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
885 +       distclean-compile distclean-generic distclean-hdr \
886 +       distclean-tags distcleancheck distdir distuninstallcheck dvi \
887 +       dvi-am html html-am info info-am install install-am \
888 +       install-binPROGRAMS install-data install-data-am install-dvi \
889 +       install-dvi-am install-exec install-exec-am install-html \
890 +       install-html-am install-info install-info-am install-man \
891 +       install-pdf install-pdf-am install-ps install-ps-am \
892 +       install-strip installcheck installcheck-am installdirs \
893 +       maintainer-clean maintainer-clean-generic mostlyclean \
894 +       mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
895 +       tags uninstall uninstall-am uninstall-binPROGRAMS
896  
897  # Tell versions [3.59,3.63) of GNU make to not export all variables.
898  # Otherwise a system limit (for SysV at least) may be exceeded.
899 Index: ez-ipupdate-3.0.11b8/aclocal.m4
900 ===================================================================
901 --- ez-ipupdate-3.0.11b8.orig/aclocal.m4        2003-04-17 19:39:08.000000000 +0200
902 +++ ez-ipupdate-3.0.11b8/aclocal.m4     2007-03-08 16:34:48.000000000 +0100
903 @@ -1,102 +1,750 @@
904 -dnl aclocal.m4 generated automatically by aclocal 1.3
905 +# generated automatically by aclocal 1.10 -*- Autoconf -*-
906  
907 -dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
908 -dnl This Makefile.in is free software; the Free Software Foundation
909 -dnl gives unlimited permission to copy and/or distribute it,
910 -dnl with or without modifications, as long as this notice is preserved.
911 -
912 -dnl This program is distributed in the hope that it will be useful,
913 -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
914 -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
915 -dnl PARTICULAR PURPOSE.
916 -
917 -# Like AC_CONFIG_HEADER, but automatically create stamp file.
918 -
919 -AC_DEFUN(AM_CONFIG_HEADER,
920 -[AC_PREREQ([2.12])
921 -AC_CONFIG_HEADER([$1])
922 -dnl When config.status generates a header, we must update the stamp-h file.
923 -dnl This file resides in the same directory as the config header
924 -dnl that is generated.  We must strip everything past the first ":",
925 -dnl and everything past the last "/".
926 -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
927 -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
928 -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
929 -<<am_indx=1
930 -for am_file in <<$1>>; do
931 -  case " <<$>>CONFIG_HEADERS " in
932 -  *" <<$>>am_file "*<<)>>
933 -    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
934 -    ;;
935 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
936 +# 2005, 2006  Free Software Foundation, Inc.
937 +# This file is free software; the Free Software Foundation
938 +# gives unlimited permission to copy and/or distribute it,
939 +# with or without modifications, as long as this notice is preserved.
940 +
941 +# This program is distributed in the hope that it will be useful,
942 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
943 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
944 +# PARTICULAR PURPOSE.
945 +
946 +m4_if(m4_PACKAGE_VERSION, [2.61],,
947 +[m4_fatal([this file was generated for autoconf 2.61.
948 +You have another version of autoconf.  If you want to use that,
949 +you should regenerate the build system entirely.], [63])])
950 +
951 +# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
952 +#
953 +# This file is free software; the Free Software Foundation
954 +# gives unlimited permission to copy and/or distribute it,
955 +# with or without modifications, as long as this notice is preserved.
956 +
957 +# AM_AUTOMAKE_VERSION(VERSION)
958 +# ----------------------------
959 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
960 +# generated from the m4 files accompanying Automake X.Y.
961 +# (This private macro should not be called outside this file.)
962 +AC_DEFUN([AM_AUTOMAKE_VERSION],
963 +[am__api_version='1.10'
964 +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
965 +dnl require some minimum version.  Point them to the right macro.
966 +m4_if([$1], [1.10], [],
967 +      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
968 +])
969 +
970 +# _AM_AUTOCONF_VERSION(VERSION)
971 +# -----------------------------
972 +# aclocal traces this macro to find the Autoconf version.
973 +# This is a private macro too.  Using m4_define simplifies
974 +# the logic in aclocal, which can simply ignore this definition.
975 +m4_define([_AM_AUTOCONF_VERSION], [])
976 +
977 +# AM_SET_CURRENT_AUTOMAKE_VERSION
978 +# -------------------------------
979 +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
980 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
981 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
982 +[AM_AUTOMAKE_VERSION([1.10])dnl
983 +_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
984 +
985 +# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
986 +
987 +# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
988 +#
989 +# This file is free software; the Free Software Foundation
990 +# gives unlimited permission to copy and/or distribute it,
991 +# with or without modifications, as long as this notice is preserved.
992 +
993 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
994 +# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
995 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
996 +#
997 +# Of course, Automake must honor this variable whenever it calls a
998 +# tool from the auxiliary directory.  The problem is that $srcdir (and
999 +# therefore $ac_aux_dir as well) can be either absolute or relative,
1000 +# depending on how configure is run.  This is pretty annoying, since
1001 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1002 +# source directory, any form will work fine, but in subdirectories a
1003 +# relative path needs to be adjusted first.
1004 +#
1005 +# $ac_aux_dir/missing
1006 +#    fails when called from a subdirectory if $ac_aux_dir is relative
1007 +# $top_srcdir/$ac_aux_dir/missing
1008 +#    fails if $ac_aux_dir is absolute,
1009 +#    fails when called from a subdirectory in a VPATH build with
1010 +#          a relative $ac_aux_dir
1011 +#
1012 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1013 +# are both prefixed by $srcdir.  In an in-source build this is usually
1014 +# harmless because $srcdir is `.', but things will broke when you
1015 +# start a VPATH build or use an absolute $srcdir.
1016 +#
1017 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1018 +# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
1019 +#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1020 +# and then we would define $MISSING as
1021 +#   MISSING="\${SHELL} $am_aux_dir/missing"
1022 +# This will work as long as MISSING is not called from configure, because
1023 +# unfortunately $(top_srcdir) has no meaning in configure.
1024 +# However there are other variables, like CC, which are often used in
1025 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
1026 +#
1027 +# Another solution, used here, is to always expand $ac_aux_dir to an
1028 +# absolute PATH.  The drawback is that using absolute paths prevent a
1029 +# configured tree to be moved without reconfiguration.
1030 +
1031 +AC_DEFUN([AM_AUX_DIR_EXPAND],
1032 +[dnl Rely on autoconf to set up CDPATH properly.
1033 +AC_PREREQ([2.50])dnl
1034 +# expand $ac_aux_dir to an absolute path
1035 +am_aux_dir=`cd $ac_aux_dir && pwd`
1036 +])
1037 +
1038 +# AM_CONDITIONAL                                            -*- Autoconf -*-
1039 +
1040 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
1041 +# Free Software Foundation, Inc.
1042 +#
1043 +# This file is free software; the Free Software Foundation
1044 +# gives unlimited permission to copy and/or distribute it,
1045 +# with or without modifications, as long as this notice is preserved.
1046 +
1047 +# serial 8
1048 +
1049 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1050 +# -------------------------------------
1051 +# Define a conditional.
1052 +AC_DEFUN([AM_CONDITIONAL],
1053 +[AC_PREREQ(2.52)dnl
1054 + ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
1055 +       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1056 +AC_SUBST([$1_TRUE])dnl
1057 +AC_SUBST([$1_FALSE])dnl
1058 +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1059 +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1060 +if $2; then
1061 +  $1_TRUE=
1062 +  $1_FALSE='#'
1063 +else
1064 +  $1_TRUE='#'
1065 +  $1_FALSE=
1066 +fi
1067 +AC_CONFIG_COMMANDS_PRE(
1068 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1069 +  AC_MSG_ERROR([[conditional "$1" was never defined.
1070 +Usually this means the macro was only invoked conditionally.]])
1071 +fi])])
1072 +
1073 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
1074 +# Free Software Foundation, Inc.
1075 +#
1076 +# This file is free software; the Free Software Foundation
1077 +# gives unlimited permission to copy and/or distribute it,
1078 +# with or without modifications, as long as this notice is preserved.
1079 +
1080 +# serial 9
1081 +
1082 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1083 +# written in clear, in which case automake, when reading aclocal.m4,
1084 +# will think it sees a *use*, and therefore will trigger all it's
1085 +# C support machinery.  Also note that it means that autoscan, seeing
1086 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1087 +
1088 +
1089 +# _AM_DEPENDENCIES(NAME)
1090 +# ----------------------
1091 +# See how the compiler implements dependency checking.
1092 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
1093 +# We try a few techniques and use that to set a single cache variable.
1094 +#
1095 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1096 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1097 +# dependency, and given that the user is not expected to run this macro,
1098 +# just rely on AC_PROG_CC.
1099 +AC_DEFUN([_AM_DEPENDENCIES],
1100 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
1101 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1102 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1103 +AC_REQUIRE([AM_DEP_TRACK])dnl
1104 +
1105 +ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
1106 +       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
1107 +       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1108 +       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
1109 +       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
1110 +                   [depcc="$$1"   am_compiler_list=])
1111 +
1112 +AC_CACHE_CHECK([dependency style of $depcc],
1113 +               [am_cv_$1_dependencies_compiler_type],
1114 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1115 +  # We make a subdir and do the tests there.  Otherwise we can end up
1116 +  # making bogus files that we don't know about and never remove.  For
1117 +  # instance it was reported that on HP-UX the gcc test will end up
1118 +  # making a dummy file named `D' -- because `-MD' means `put the output
1119 +  # in D'.
1120 +  mkdir conftest.dir
1121 +  # Copy depcomp to subdir because otherwise we won't find it if we're
1122 +  # using a relative directory.
1123 +  cp "$am_depcomp" conftest.dir
1124 +  cd conftest.dir
1125 +  # We will build objects and dependencies in a subdirectory because
1126 +  # it helps to detect inapplicable dependency modes.  For instance
1127 +  # both Tru64's cc and ICC support -MD to output dependencies as a
1128 +  # side effect of compilation, but ICC will put the dependencies in
1129 +  # the current directory while Tru64 will put them in the object
1130 +  # directory.
1131 +  mkdir sub
1132 +
1133 +  am_cv_$1_dependencies_compiler_type=none
1134 +  if test "$am_compiler_list" = ""; then
1135 +     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1136 +  fi
1137 +  for depmode in $am_compiler_list; do
1138 +    # Setup a source with many dependencies, because some compilers
1139 +    # like to wrap large dependency lists on column 80 (with \), and
1140 +    # we should not choose a depcomp mode which is confused by this.
1141 +    #
1142 +    # We need to recreate these files for each test, as the compiler may
1143 +    # overwrite some of them when testing with obscure command lines.
1144 +    # This happens at least with the AIX C compiler.
1145 +    : > sub/conftest.c
1146 +    for i in 1 2 3 4 5 6; do
1147 +      echo '#include "conftst'$i'.h"' >> sub/conftest.c
1148 +      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1149 +      # Solaris 8's {/usr,}/bin/sh.
1150 +      touch sub/conftst$i.h
1151 +    done
1152 +    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1153 +
1154 +    case $depmode in
1155 +    nosideeffect)
1156 +      # after this tag, mechanisms are not by side-effect, so they'll
1157 +      # only be used when explicitly requested
1158 +      if test "x$enable_dependency_tracking" = xyes; then
1159 +       continue
1160 +      else
1161 +       break
1162 +      fi
1163 +      ;;
1164 +    none) break ;;
1165 +    esac
1166 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
1167 +    # mode.  It turns out that the SunPro C++ compiler does not properly
1168 +    # handle `-M -o', and we need to detect this.
1169 +    if depmode=$depmode \
1170 +       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1171 +       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1172 +       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1173 +         >/dev/null 2>conftest.err &&
1174 +       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1175 +       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1176 +       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1177 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1178 +      # icc doesn't choke on unknown options, it will just issue warnings
1179 +      # or remarks (even with -Werror).  So we grep stderr for any message
1180 +      # that says an option was ignored or not supported.
1181 +      # When given -MP, icc 7.0 and 7.1 complain thusly:
1182 +      #   icc: Command line warning: ignoring option '-M'; no argument required
1183 +      # The diagnosis changed in icc 8.0:
1184 +      #   icc: Command line remark: option '-MP' not supported
1185 +      if (grep 'ignoring option' conftest.err ||
1186 +          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1187 +        am_cv_$1_dependencies_compiler_type=$depmode
1188 +        break
1189 +      fi
1190 +    fi
1191 +  done
1192 +
1193 +  cd ..
1194 +  rm -rf conftest.dir
1195 +else
1196 +  am_cv_$1_dependencies_compiler_type=none
1197 +fi
1198 +])
1199 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1200 +AM_CONDITIONAL([am__fastdep$1], [
1201 +  test "x$enable_dependency_tracking" != xno \
1202 +  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1203 +])
1204 +
1205 +
1206 +# AM_SET_DEPDIR
1207 +# -------------
1208 +# Choose a directory name for dependency files.
1209 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
1210 +AC_DEFUN([AM_SET_DEPDIR],
1211 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1212 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1213 +])
1214 +
1215 +
1216 +# AM_DEP_TRACK
1217 +# ------------
1218 +AC_DEFUN([AM_DEP_TRACK],
1219 +[AC_ARG_ENABLE(dependency-tracking,
1220 +[  --disable-dependency-tracking  speeds up one-time build
1221 +  --enable-dependency-tracking   do not reject slow dependency extractors])
1222 +if test "x$enable_dependency_tracking" != xno; then
1223 +  am_depcomp="$ac_aux_dir/depcomp"
1224 +  AMDEPBACKSLASH='\'
1225 +fi
1226 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1227 +AC_SUBST([AMDEPBACKSLASH])dnl
1228 +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1229 +])
1230 +
1231 +# Generate code to set up dependency tracking.              -*- Autoconf -*-
1232 +
1233 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
1234 +# Free Software Foundation, Inc.
1235 +#
1236 +# This file is free software; the Free Software Foundation
1237 +# gives unlimited permission to copy and/or distribute it,
1238 +# with or without modifications, as long as this notice is preserved.
1239 +
1240 +#serial 3
1241 +
1242 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
1243 +# ------------------------------
1244 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1245 +[for mf in $CONFIG_FILES; do
1246 +  # Strip MF so we end up with the name of the file.
1247 +  mf=`echo "$mf" | sed -e 's/:.*$//'`
1248 +  # Check whether this is an Automake generated Makefile or not.
1249 +  # We used to match only the files named `Makefile.in', but
1250 +  # some people rename them; so instead we look at the file content.
1251 +  # Grep'ing the first line is not enough: some people post-process
1252 +  # each Makefile.in and add a new line on top of each file to say so.
1253 +  # Grep'ing the whole file is not good either: AIX grep has a line
1254 +  # limit of 2048, but all sed's we know have understand at least 4000.
1255 +  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
1256 +    dirpart=`AS_DIRNAME("$mf")`
1257 +  else
1258 +    continue
1259 +  fi
1260 +  # Extract the definition of DEPDIR, am__include, and am__quote
1261 +  # from the Makefile without running `make'.
1262 +  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1263 +  test -z "$DEPDIR" && continue
1264 +  am__include=`sed -n 's/^am__include = //p' < "$mf"`
1265 +  test -z "am__include" && continue
1266 +  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1267 +  # When using ansi2knr, U may be empty or an underscore; expand it
1268 +  U=`sed -n 's/^U = //p' < "$mf"`
1269 +  # Find all dependency output files, they are included files with
1270 +  # $(DEPDIR) in their names.  We invoke sed twice because it is the
1271 +  # simplest approach to changing $(DEPDIR) to its actual value in the
1272 +  # expansion.
1273 +  for file in `sed -n "
1274 +    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1275 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1276 +    # Make sure the directory exists.
1277 +    test -f "$dirpart/$file" && continue
1278 +    fdir=`AS_DIRNAME(["$file"])`
1279 +    AS_MKDIR_P([$dirpart/$fdir])
1280 +    # echo "creating $dirpart/$file"
1281 +    echo '# dummy' > "$dirpart/$file"
1282 +  done
1283 +done
1284 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1285 +
1286 +
1287 +# AM_OUTPUT_DEPENDENCY_COMMANDS
1288 +# -----------------------------
1289 +# This macro should only be invoked once -- use via AC_REQUIRE.
1290 +#
1291 +# This code is only required when automatic dependency tracking
1292 +# is enabled.  FIXME.  This creates each `.P' file that we will
1293 +# need in order to bootstrap the dependency handling code.
1294 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1295 +[AC_CONFIG_COMMANDS([depfiles],
1296 +     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1297 +     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1298 +])
1299 +
1300 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1301 +# Free Software Foundation, Inc.
1302 +#
1303 +# This file is free software; the Free Software Foundation
1304 +# gives unlimited permission to copy and/or distribute it,
1305 +# with or without modifications, as long as this notice is preserved.
1306 +
1307 +# serial 8
1308 +
1309 +# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
1310 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1311 +
1312 +# Do all the work for Automake.                             -*- Autoconf -*-
1313 +
1314 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1315 +# 2005, 2006 Free Software Foundation, Inc.
1316 +#
1317 +# This file is free software; the Free Software Foundation
1318 +# gives unlimited permission to copy and/or distribute it,
1319 +# with or without modifications, as long as this notice is preserved.
1320 +
1321 +# serial 12
1322 +
1323 +# This macro actually does too much.  Some checks are only needed if
1324 +# your package does certain things.  But this isn't really a big deal.
1325 +
1326 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1327 +# AM_INIT_AUTOMAKE([OPTIONS])
1328 +# -----------------------------------------------
1329 +# The call with PACKAGE and VERSION arguments is the old style
1330 +# call (pre autoconf-2.50), which is being phased out.  PACKAGE
1331 +# and VERSION should now be passed to AC_INIT and removed from
1332 +# the call to AM_INIT_AUTOMAKE.
1333 +# We support both call styles for the transition.  After
1334 +# the next Automake release, Autoconf can make the AC_INIT
1335 +# arguments mandatory, and then we can depend on a new Autoconf
1336 +# release and drop the old call support.
1337 +AC_DEFUN([AM_INIT_AUTOMAKE],
1338 +[AC_PREREQ([2.60])dnl
1339 +dnl Autoconf wants to disallow AM_ names.  We explicitly allow
1340 +dnl the ones we care about.
1341 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1342 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1343 +AC_REQUIRE([AC_PROG_INSTALL])dnl
1344 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
1345 +  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1346 +  # is not polluted with repeated "-I."
1347 +  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1348 +  # test to see if srcdir already configured
1349 +  if test -f $srcdir/config.status; then
1350 +    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1351 +  fi
1352 +fi
1353 +
1354 +# test whether we have cygpath
1355 +if test -z "$CYGPATH_W"; then
1356 +  if (cygpath --version) >/dev/null 2>/dev/null; then
1357 +    CYGPATH_W='cygpath -w'
1358 +  else
1359 +    CYGPATH_W=echo
1360 +  fi
1361 +fi
1362 +AC_SUBST([CYGPATH_W])
1363 +
1364 +# Define the identity of the package.
1365 +dnl Distinguish between old-style and new-style calls.
1366 +m4_ifval([$2],
1367 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1368 + AC_SUBST([PACKAGE], [$1])dnl
1369 + AC_SUBST([VERSION], [$2])],
1370 +[_AM_SET_OPTIONS([$1])dnl
1371 +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1372 +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1373 +  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1374 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1375 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1376 +
1377 +_AM_IF_OPTION([no-define],,
1378 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1379 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1380 +
1381 +# Some tools Automake needs.
1382 +AC_REQUIRE([AM_SANITY_CHECK])dnl
1383 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
1384 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1385 +AM_MISSING_PROG(AUTOCONF, autoconf)
1386 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1387 +AM_MISSING_PROG(AUTOHEADER, autoheader)
1388 +AM_MISSING_PROG(MAKEINFO, makeinfo)
1389 +AM_PROG_INSTALL_SH
1390 +AM_PROG_INSTALL_STRIP
1391 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1392 +# We need awk for the "check" target.  The system "awk" is bad on
1393 +# some platforms.
1394 +AC_REQUIRE([AC_PROG_AWK])dnl
1395 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1396 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1397 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1398 +              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1399 +                            [_AM_PROG_TAR([v7])])])
1400 +_AM_IF_OPTION([no-dependencies],,
1401 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
1402 +                  [_AM_DEPENDENCIES(CC)],
1403 +                  [define([AC_PROG_CC],
1404 +                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1405 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
1406 +                  [_AM_DEPENDENCIES(CXX)],
1407 +                  [define([AC_PROG_CXX],
1408 +                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1409 +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1410 +                  [_AM_DEPENDENCIES(OBJC)],
1411 +                  [define([AC_PROG_OBJC],
1412 +                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1413 +])
1414 +])
1415 +
1416 +
1417 +# When config.status generates a header, we must update the stamp-h file.
1418 +# This file resides in the same directory as the config header
1419 +# that is generated.  The stamp files are numbered to have different names.
1420 +
1421 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1422 +# loop where config.status creates the headers, so we can generate
1423 +# our stamp files there.
1424 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1425 +[# Compute $1's index in $config_headers.
1426 +_am_stamp_count=1
1427 +for _am_header in $config_headers :; do
1428 +  case $_am_header in
1429 +    $1 | $1:* )
1430 +      break ;;
1431 +    * )
1432 +      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1433    esac
1434 -  am_indx=`expr "<<$>>am_indx" + 1`
1435 -done<<>>dnl>>)
1436 -changequote([,]))])
1437 +done
1438 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1439  
1440 -# Do all the work for Automake.  This macro actually does too much --
1441 -# some checks are only needed if your package does certain things.
1442 -# But this isn't really a big deal.
1443 +# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1444 +#
1445 +# This file is free software; the Free Software Foundation
1446 +# gives unlimited permission to copy and/or distribute it,
1447 +# with or without modifications, as long as this notice is preserved.
1448 +
1449 +# AM_PROG_INSTALL_SH
1450 +# ------------------
1451 +# Define $install_sh.
1452 +AC_DEFUN([AM_PROG_INSTALL_SH],
1453 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1454 +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1455 +AC_SUBST(install_sh)])
1456  
1457 -# serial 1
1458 +# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
1459 +#
1460 +# This file is free software; the Free Software Foundation
1461 +# gives unlimited permission to copy and/or distribute it,
1462 +# with or without modifications, as long as this notice is preserved.
1463 +
1464 +# serial 2
1465 +
1466 +# Check whether the underlying file-system supports filenames
1467 +# with a leading dot.  For instance MS-DOS doesn't.
1468 +AC_DEFUN([AM_SET_LEADING_DOT],
1469 +[rm -rf .tst 2>/dev/null
1470 +mkdir .tst 2>/dev/null
1471 +if test -d .tst; then
1472 +  am__leading_dot=.
1473 +else
1474 +  am__leading_dot=_
1475 +fi
1476 +rmdir .tst 2>/dev/null
1477 +AC_SUBST([am__leading_dot])])
1478  
1479 -dnl Usage:
1480 -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
1481 +# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
1482 +# From Jim Meyering
1483  
1484 -AC_DEFUN(AM_INIT_AUTOMAKE,
1485 -[AC_REQUIRE([AM_PROG_INSTALL])
1486 -PACKAGE=[$1]
1487 -AC_SUBST(PACKAGE)
1488 -VERSION=[$2]
1489 -AC_SUBST(VERSION)
1490 -dnl test to see if srcdir already configured
1491 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1492 -  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1493 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
1494 +# Free Software Foundation, Inc.
1495 +#
1496 +# This file is free software; the Free Software Foundation
1497 +# gives unlimited permission to copy and/or distribute it,
1498 +# with or without modifications, as long as this notice is preserved.
1499 +
1500 +# serial 4
1501 +
1502 +AC_DEFUN([AM_MAINTAINER_MODE],
1503 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1504 +  dnl maintainer-mode is disabled by default
1505 +  AC_ARG_ENABLE(maintainer-mode,
1506 +[  --enable-maintainer-mode  enable make rules and dependencies not useful
1507 +                         (and sometimes confusing) to the casual installer],
1508 +      USE_MAINTAINER_MODE=$enableval,
1509 +      USE_MAINTAINER_MODE=no)
1510 +  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1511 +  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
1512 +  MAINT=$MAINTAINER_MODE_TRUE
1513 +  AC_SUBST(MAINT)dnl
1514 +]
1515 +)
1516 +
1517 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1518 +
1519 +# Check to see how 'make' treats includes.                 -*- Autoconf -*-
1520 +
1521 +# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
1522 +#
1523 +# This file is free software; the Free Software Foundation
1524 +# gives unlimited permission to copy and/or distribute it,
1525 +# with or without modifications, as long as this notice is preserved.
1526 +
1527 +# serial 3
1528 +
1529 +# AM_MAKE_INCLUDE()
1530 +# -----------------
1531 +# Check to see how make treats includes.
1532 +AC_DEFUN([AM_MAKE_INCLUDE],
1533 +[am_make=${MAKE-make}
1534 +cat > confinc << 'END'
1535 +am__doit:
1536 +       @echo done
1537 +.PHONY: am__doit
1538 +END
1539 +# If we don't find an include directive, just comment out the code.
1540 +AC_MSG_CHECKING([for style of include used by $am_make])
1541 +am__include="#"
1542 +am__quote=
1543 +_am_result=none
1544 +# First try GNU make style include.
1545 +echo "include confinc" > confmf
1546 +# We grep out `Entering directory' and `Leaving directory'
1547 +# messages which can occur if `w' ends up in MAKEFLAGS.
1548 +# In particular we don't look at `^make:' because GNU make might
1549 +# be invoked under some other name (usually "gmake"), in which
1550 +# case it prints its new name instead of `make'.
1551 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1552 +   am__include=include
1553 +   am__quote=
1554 +   _am_result=GNU
1555 +fi
1556 +# Now try BSD make style include.
1557 +if test "$am__include" = "#"; then
1558 +   echo '.include "confinc"' > confmf
1559 +   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1560 +      am__include=.include
1561 +      am__quote="\""
1562 +      _am_result=BSD
1563 +   fi
1564  fi
1565 -ifelse([$3],,
1566 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
1567 -AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
1568 -AC_REQUIRE([AM_SANITY_CHECK])
1569 -AC_REQUIRE([AC_ARG_PROGRAM])
1570 -dnl FIXME This is truly gross.
1571 -missing_dir=`cd $ac_aux_dir && pwd`
1572 -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
1573 -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
1574 -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
1575 -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
1576 -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
1577 -AC_REQUIRE([AC_PROG_MAKE_SET])])
1578 +AC_SUBST([am__include])
1579 +AC_SUBST([am__quote])
1580 +AC_MSG_RESULT([$_am_result])
1581 +rm -f confinc confmf
1582 +])
1583  
1584 +# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
1585  
1586 -# serial 1
1587 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1588 +# Free Software Foundation, Inc.
1589 +#
1590 +# This file is free software; the Free Software Foundation
1591 +# gives unlimited permission to copy and/or distribute it,
1592 +# with or without modifications, as long as this notice is preserved.
1593 +
1594 +# serial 5
1595 +
1596 +# AM_MISSING_PROG(NAME, PROGRAM)
1597 +# ------------------------------
1598 +AC_DEFUN([AM_MISSING_PROG],
1599 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
1600 +$1=${$1-"${am_missing_run}$2"}
1601 +AC_SUBST($1)])
1602  
1603 -AC_DEFUN(AM_PROG_INSTALL,
1604 -[AC_REQUIRE([AC_PROG_INSTALL])
1605 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1606 -AC_SUBST(INSTALL_SCRIPT)dnl
1607 +
1608 +# AM_MISSING_HAS_RUN
1609 +# ------------------
1610 +# Define MISSING if not defined so far and test if it supports --run.
1611 +# If it does, set am_missing_run to use it, otherwise, to nothing.
1612 +AC_DEFUN([AM_MISSING_HAS_RUN],
1613 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1614 +AC_REQUIRE_AUX_FILE([missing])dnl
1615 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1616 +# Use eval to expand $SHELL
1617 +if eval "$MISSING --run true"; then
1618 +  am_missing_run="$MISSING --run "
1619 +else
1620 +  am_missing_run=
1621 +  AC_MSG_WARN([`missing' script is too old or missing])
1622 +fi
1623  ])
1624  
1625 +# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
1626  #
1627 -# Check to make sure that the build environment is sane.
1628 +# This file is free software; the Free Software Foundation
1629 +# gives unlimited permission to copy and/or distribute it,
1630 +# with or without modifications, as long as this notice is preserved.
1631 +
1632 +# AM_PROG_MKDIR_P
1633 +# ---------------
1634 +# Check for `mkdir -p'.
1635 +AC_DEFUN([AM_PROG_MKDIR_P],
1636 +[AC_PREREQ([2.60])dnl
1637 +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1638 +dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
1639 +dnl while keeping a definition of mkdir_p for backward compatibility.
1640 +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1641 +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1642 +dnl Makefile.ins that do not define MKDIR_P, so we do our own
1643 +dnl adjustment using top_builddir (which is defined more often than
1644 +dnl MKDIR_P).
1645 +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1646 +case $mkdir_p in
1647 +  [[\\/$]]* | ?:[[\\/]]*) ;;
1648 +  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1649 +esac
1650 +])
1651 +
1652 +# Helper functions for option handling.                     -*- Autoconf -*-
1653 +
1654 +# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
1655  #
1656 +# This file is free software; the Free Software Foundation
1657 +# gives unlimited permission to copy and/or distribute it,
1658 +# with or without modifications, as long as this notice is preserved.
1659 +
1660 +# serial 3
1661 +
1662 +# _AM_MANGLE_OPTION(NAME)
1663 +# -----------------------
1664 +AC_DEFUN([_AM_MANGLE_OPTION],
1665 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1666 +
1667 +# _AM_SET_OPTION(NAME)
1668 +# ------------------------------
1669 +# Set option NAME.  Presently that only means defining a flag for this option.
1670 +AC_DEFUN([_AM_SET_OPTION],
1671 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1672 +
1673 +# _AM_SET_OPTIONS(OPTIONS)
1674 +# ----------------------------------
1675 +# OPTIONS is a space-separated list of Automake options.
1676 +AC_DEFUN([_AM_SET_OPTIONS],
1677 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1678 +
1679 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1680 +# -------------------------------------------
1681 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1682 +AC_DEFUN([_AM_IF_OPTION],
1683 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1684 +
1685 +# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1686  
1687 -AC_DEFUN(AM_SANITY_CHECK,
1688 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1689 +# Free Software Foundation, Inc.
1690 +#
1691 +# This file is free software; the Free Software Foundation
1692 +# gives unlimited permission to copy and/or distribute it,
1693 +# with or without modifications, as long as this notice is preserved.
1694 +
1695 +# serial 4
1696 +
1697 +# AM_SANITY_CHECK
1698 +# ---------------
1699 +AC_DEFUN([AM_SANITY_CHECK],
1700  [AC_MSG_CHECKING([whether build environment is sane])
1701  # Just in case
1702  sleep 1
1703 -echo timestamp > conftestfile
1704 +echo timestamp > conftest.file
1705  # Do `set' in a subshell so we don't clobber the current shell's
1706  # arguments.  Must try -L first in case configure is actually a
1707  # symlink; some systems play weird games with the mod time of symlinks
1708  # (eg FreeBSD returns the mod time of the symlink's containing
1709  # directory).
1710  if (
1711 -   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1712 -   if test "[$]*" = "X"; then
1713 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1714 +   if test "$[*]" = "X"; then
1715        # -L didn't work.
1716 -      set X `ls -t $srcdir/configure conftestfile`
1717 +      set X `ls -t $srcdir/configure conftest.file`
1718     fi
1719 -   if test "[$]*" != "X $srcdir/configure conftestfile" \
1720 -      && test "[$]*" != "X conftestfile $srcdir/configure"; then
1721 +   rm -f conftest.file
1722 +   if test "$[*]" != "X $srcdir/configure conftest.file" \
1723 +      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1724  
1725        # If neither matched, then we have a broken ls.  This can happen
1726        # if, for instance, CONFIG_SHELL is bash and it inherits a
1727 @@ -106,7 +754,7 @@
1728  alias in your environment])
1729     fi
1730  
1731 -   test "[$]2" = conftestfile
1732 +   test "$[2]" = conftest.file
1733     )
1734  then
1735     # Ok.
1736 @@ -115,22 +763,141 @@
1737     AC_MSG_ERROR([newly created file is older than distributed files!
1738  Check your system clock])
1739  fi
1740 -rm -f conftest*
1741  AC_MSG_RESULT(yes)])
1742  
1743 -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
1744 -dnl The program must properly implement --version.
1745 -AC_DEFUN(AM_MISSING_PROG,
1746 -[AC_MSG_CHECKING(for working $2)
1747 -# Run test in a subshell; some versions of sh will print an error if
1748 -# an executable is not found, even if stderr is redirected.
1749 -# Redirect stdin to placate older versions of autoconf.  Sigh.
1750 -if ($2 --version) < /dev/null > /dev/null 2>&1; then
1751 -   $1=$2
1752 -   AC_MSG_RESULT(found)
1753 -else
1754 -   $1="$3/missing $2"
1755 -   AC_MSG_RESULT(missing)
1756 +# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1757 +#
1758 +# This file is free software; the Free Software Foundation
1759 +# gives unlimited permission to copy and/or distribute it,
1760 +# with or without modifications, as long as this notice is preserved.
1761 +
1762 +# AM_PROG_INSTALL_STRIP
1763 +# ---------------------
1764 +# One issue with vendor `install' (even GNU) is that you can't
1765 +# specify the program used to strip binaries.  This is especially
1766 +# annoying in cross-compiling environments, where the build's strip
1767 +# is unlikely to handle the host's binaries.
1768 +# Fortunately install-sh will honor a STRIPPROG variable, so we
1769 +# always use install-sh in `make install-strip', and initialize
1770 +# STRIPPROG with the value of the STRIP variable (set by the user).
1771 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
1772 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1773 +# Installed binaries are usually stripped using `strip' when the user
1774 +# run `make install-strip'.  However `strip' might not be the right
1775 +# tool to use in cross-compilation environments, therefore Automake
1776 +# will honor the `STRIP' environment variable to overrule this program.
1777 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1778 +if test "$cross_compiling" != no; then
1779 +  AC_CHECK_TOOL([STRIP], [strip], :)
1780  fi
1781 -AC_SUBST($1)])
1782 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1783 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
1784 +
1785 +# Copyright (C) 2006  Free Software Foundation, Inc.
1786 +#
1787 +# This file is free software; the Free Software Foundation
1788 +# gives unlimited permission to copy and/or distribute it,
1789 +# with or without modifications, as long as this notice is preserved.
1790 +
1791 +# _AM_SUBST_NOTMAKE(VARIABLE)
1792 +# ---------------------------
1793 +# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
1794 +# This macro is traced by Automake.
1795 +AC_DEFUN([_AM_SUBST_NOTMAKE])
1796 +
1797 +# Check how to create a tarball.                            -*- Autoconf -*-
1798 +
1799 +# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
1800 +#
1801 +# This file is free software; the Free Software Foundation
1802 +# gives unlimited permission to copy and/or distribute it,
1803 +# with or without modifications, as long as this notice is preserved.
1804 +
1805 +# serial 2
1806 +
1807 +# _AM_PROG_TAR(FORMAT)
1808 +# --------------------
1809 +# Check how to create a tarball in format FORMAT.
1810 +# FORMAT should be one of `v7', `ustar', or `pax'.
1811 +#
1812 +# Substitute a variable $(am__tar) that is a command
1813 +# writing to stdout a FORMAT-tarball containing the directory
1814 +# $tardir.
1815 +#     tardir=directory && $(am__tar) > result.tar
1816 +#
1817 +# Substitute a variable $(am__untar) that extract such
1818 +# a tarball read from stdin.
1819 +#     $(am__untar) < result.tar
1820 +AC_DEFUN([_AM_PROG_TAR],
1821 +[# Always define AMTAR for backward compatibility.
1822 +AM_MISSING_PROG([AMTAR], [tar])
1823 +m4_if([$1], [v7],
1824 +     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1825 +     [m4_case([$1], [ustar],, [pax],,
1826 +              [m4_fatal([Unknown tar format])])
1827 +AC_MSG_CHECKING([how to create a $1 tar archive])
1828 +# Loop over all known methods to create a tar archive until one works.
1829 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1830 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1831 +# Do not fold the above two line into one, because Tru64 sh and
1832 +# Solaris sh will not grok spaces in the rhs of `-'.
1833 +for _am_tool in $_am_tools
1834 +do
1835 +  case $_am_tool in
1836 +  gnutar)
1837 +    for _am_tar in tar gnutar gtar;
1838 +    do
1839 +      AM_RUN_LOG([$_am_tar --version]) && break
1840 +    done
1841 +    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1842 +    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1843 +    am__untar="$_am_tar -xf -"
1844 +    ;;
1845 +  plaintar)
1846 +    # Must skip GNU tar: if it does not support --format= it doesn't create
1847 +    # ustar tarball either.
1848 +    (tar --version) >/dev/null 2>&1 && continue
1849 +    am__tar='tar chf - "$$tardir"'
1850 +    am__tar_='tar chf - "$tardir"'
1851 +    am__untar='tar xf -'
1852 +    ;;
1853 +  pax)
1854 +    am__tar='pax -L -x $1 -w "$$tardir"'
1855 +    am__tar_='pax -L -x $1 -w "$tardir"'
1856 +    am__untar='pax -r'
1857 +    ;;
1858 +  cpio)
1859 +    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1860 +    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1861 +    am__untar='cpio -i -H $1 -d'
1862 +    ;;
1863 +  none)
1864 +    am__tar=false
1865 +    am__tar_=false
1866 +    am__untar=false
1867 +    ;;
1868 +  esac
1869 +
1870 +  # If the value was cached, stop now.  We just wanted to have am__tar
1871 +  # and am__untar set.
1872 +  test -n "${am_cv_prog_tar_$1}" && break
1873 +
1874 +  # tar/untar a dummy directory, and stop if the command works
1875 +  rm -rf conftest.dir
1876 +  mkdir conftest.dir
1877 +  echo GrepMe > conftest.dir/file
1878 +  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1879 +  rm -rf conftest.dir
1880 +  if test -s conftest.tar; then
1881 +    AM_RUN_LOG([$am__untar <conftest.tar])
1882 +    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1883 +  fi
1884 +done
1885 +rm -rf conftest.dir
1886 +
1887 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1888 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1889 +AC_SUBST([am__tar])
1890 +AC_SUBST([am__untar])
1891 +]) # _AM_PROG_TAR
1892  
1893 Index: ez-ipupdate-3.0.11b8/config.guess
1894 ===================================================================
1895 --- ez-ipupdate-3.0.11b8.orig/config.guess      2000-08-08 09:09:48.000000000 +0200
1896 +++ ez-ipupdate-3.0.11b8/config.guess   2007-03-08 16:34:52.000000000 +0100
1897 @@ -1,7 +1,11 @@
1898  #! /bin/sh
1899  # Attempt to guess a canonical system name.
1900 -#   Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
1901 -#
1902 +#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1903 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
1904 +#   Inc.
1905 +
1906 +timestamp='2006-07-02'
1907 +
1908  # This file is free software; you can redistribute it and/or modify it
1909  # under the terms of the GNU General Public License as published by
1910  # the Free Software Foundation; either version 2 of the License, or
1911 @@ -14,154 +18,326 @@
1912  #
1913  # You should have received a copy of the GNU General Public License
1914  # along with this program; if not, write to the Free Software
1915 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1916 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
1917 +# 02110-1301, USA.
1918  #
1919  # As a special exception to the GNU General Public License, if you
1920  # distribute this file as part of a program that contains a
1921  # configuration script generated by Autoconf, you may include it under
1922  # the same distribution terms that you use for the rest of that program.
1923  
1924 -# Written by Per Bothner <bothner@cygnus.com>.
1925 -# The master version of this file is at the FSF in /home/gd/gnu/lib.
1926 +
1927 +# Originally written by Per Bothner <per@bothner.com>.
1928 +# Please send patches to <config-patches@gnu.org>.  Submit a context
1929 +# diff and a properly formatted ChangeLog entry.
1930  #
1931  # This script attempts to guess a canonical system name similar to
1932  # config.sub.  If it succeeds, it prints the system name on stdout, and
1933  # exits with 0.  Otherwise, it exits with 1.
1934  #
1935  # The plan is that this can be called by configure scripts if you
1936 -# don't specify an explicit system type (host/target name).
1937 -#
1938 -# Only a few systems have been added to this list; please add others
1939 -# (but try to keep the structure clean).
1940 -#
1941 +# don't specify an explicit build system type.
1942 +
1943 +me=`echo "$0" | sed -e 's,.*/,,'`
1944 +
1945 +usage="\
1946 +Usage: $0 [OPTION]
1947 +
1948 +Output the configuration name of the system \`$me' is run on.
1949 +
1950 +Operation modes:
1951 +  -h, --help         print this help, then exit
1952 +  -t, --time-stamp   print date of last modification, then exit
1953 +  -v, --version      print version number, then exit
1954 +
1955 +Report bugs and patches to <config-patches@gnu.org>."
1956 +
1957 +version="\
1958 +GNU config.guess ($timestamp)
1959 +
1960 +Originally written by Per Bothner.
1961 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
1962 +Free Software Foundation, Inc.
1963 +
1964 +This is free software; see the source for copying conditions.  There is NO
1965 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
1966 +
1967 +help="
1968 +Try \`$me --help' for more information."
1969 +
1970 +# Parse command line
1971 +while test $# -gt 0 ; do
1972 +  case $1 in
1973 +    --time-stamp | --time* | -t )
1974 +       echo "$timestamp" ; exit ;;
1975 +    --version | -v )
1976 +       echo "$version" ; exit ;;
1977 +    --help | --h* | -h )
1978 +       echo "$usage"; exit ;;
1979 +    -- )     # Stop option processing
1980 +       shift; break ;;
1981 +    - )        # Use stdin as input.
1982 +       break ;;
1983 +    -* )
1984 +       echo "$me: invalid option $1$help" >&2
1985 +       exit 1 ;;
1986 +    * )
1987 +       break ;;
1988 +  esac
1989 +done
1990 +
1991 +if test $# != 0; then
1992 +  echo "$me: too many arguments$help" >&2
1993 +  exit 1
1994 +fi
1995 +
1996 +trap 'exit 1' 1 2 15
1997 +
1998 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
1999 +# compiler to aid in system detection is discouraged as it requires
2000 +# temporary files to be created and, as you can see below, it is a
2001 +# headache to deal with in a portable fashion.
2002 +
2003 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
2004 +# use `HOST_CC' if defined, but it is deprecated.
2005 +
2006 +# Portable tmp directory creation inspired by the Autoconf team.
2007 +
2008 +set_cc_for_build='
2009 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
2010 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
2011 +: ${TMPDIR=/tmp} ;
2012 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
2013 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
2014 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
2015 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
2016 +dummy=$tmp/dummy ;
2017 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
2018 +case $CC_FOR_BUILD,$HOST_CC,$CC in
2019 + ,,)    echo "int x;" > $dummy.c ;
2020 +       for c in cc gcc c89 c99 ; do
2021 +         if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
2022 +            CC_FOR_BUILD="$c"; break ;
2023 +         fi ;
2024 +       done ;
2025 +       if test x"$CC_FOR_BUILD" = x ; then
2026 +         CC_FOR_BUILD=no_compiler_found ;
2027 +       fi
2028 +       ;;
2029 + ,,*)   CC_FOR_BUILD=$CC ;;
2030 + ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
2031 +esac ; set_cc_for_build= ;'
2032  
2033  # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
2034 -# (ghazi@noc.rutgers.edu 8/24/94.)
2035 +# (ghazi@noc.rutgers.edu 1994-08-24)
2036  if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
2037         PATH=$PATH:/.attbin ; export PATH
2038  fi
2039  
2040  UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
2041  UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
2042 -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
2043 +UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
2044  UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
2045  
2046 -trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
2047 -
2048  # Note: order is significant - the case branches are not exclusive.
2049  
2050  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
2051 +    *:NetBSD:*:*)
2052 +       # NetBSD (nbsd) targets should (where applicable) match one or
2053 +       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
2054 +       # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
2055 +       # switched to ELF, *-*-netbsd* would select the old
2056 +       # object file format.  This provides both forward
2057 +       # compatibility and a consistent mechanism for selecting the
2058 +       # object file format.
2059 +       #
2060 +       # Note: NetBSD doesn't particularly care about the vendor
2061 +       # portion of the name.  We always set it to "unknown".
2062 +       sysctl="sysctl -n hw.machine_arch"
2063 +       UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
2064 +           /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
2065 +       case "${UNAME_MACHINE_ARCH}" in
2066 +           armeb) machine=armeb-unknown ;;
2067 +           arm*) machine=arm-unknown ;;
2068 +           sh3el) machine=shl-unknown ;;
2069 +           sh3eb) machine=sh-unknown ;;
2070 +           *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
2071 +       esac
2072 +       # The Operating System including object format, if it has switched
2073 +       # to ELF recently, or will in the future.
2074 +       case "${UNAME_MACHINE_ARCH}" in
2075 +           arm*|i386|m68k|ns32k|sh3*|sparc|vax)
2076 +               eval $set_cc_for_build
2077 +               if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
2078 +                       | grep __ELF__ >/dev/null
2079 +               then
2080 +                   # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
2081 +                   # Return netbsd for either.  FIX?
2082 +                   os=netbsd
2083 +               else
2084 +                   os=netbsdelf
2085 +               fi
2086 +               ;;
2087 +           *)
2088 +               os=netbsd
2089 +               ;;
2090 +       esac
2091 +       # The OS release
2092 +       # Debian GNU/NetBSD machines have a different userland, and
2093 +       # thus, need a distinct triplet. However, they do not need
2094 +       # kernel version information, so it can be replaced with a
2095 +       # suitable tag, in the style of linux-gnu.
2096 +       case "${UNAME_VERSION}" in
2097 +           Debian*)
2098 +               release='-gnu'
2099 +               ;;
2100 +           *)
2101 +               release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
2102 +               ;;
2103 +       esac
2104 +       # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
2105 +       # contains redundant information, the shorter form:
2106 +       # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
2107 +       echo "${machine}-${os}${release}"
2108 +       exit ;;
2109 +    *:OpenBSD:*:*)
2110 +       UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
2111 +       echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
2112 +       exit ;;
2113 +    *:ekkoBSD:*:*)
2114 +       echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
2115 +       exit ;;
2116 +    *:SolidBSD:*:*)
2117 +       echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
2118 +       exit ;;
2119 +    macppc:MirBSD:*:*)
2120 +       echo powerpc-unknown-mirbsd${UNAME_RELEASE}
2121 +       exit ;;
2122 +    *:MirBSD:*:*)
2123 +       echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
2124 +       exit ;;
2125      alpha:OSF1:*:*)
2126 -       if test $UNAME_RELEASE = "V4.0"; then
2127 +       case $UNAME_RELEASE in
2128 +       *4.0)
2129                 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
2130 -       fi
2131 +               ;;
2132 +       *5.*)
2133 +               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
2134 +               ;;
2135 +       esac
2136 +       # According to Compaq, /usr/sbin/psrinfo has been available on
2137 +       # OSF/1 and Tru64 systems produced since 1995.  I hope that
2138 +       # covers most systems running today.  This code pipes the CPU
2139 +       # types through head -n 1, so we only detect the type of CPU 0.
2140 +       ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
2141 +       case "$ALPHA_CPU_TYPE" in
2142 +           "EV4 (21064)")
2143 +               UNAME_MACHINE="alpha" ;;
2144 +           "EV4.5 (21064)")
2145 +               UNAME_MACHINE="alpha" ;;
2146 +           "LCA4 (21066/21068)")
2147 +               UNAME_MACHINE="alpha" ;;
2148 +           "EV5 (21164)")
2149 +               UNAME_MACHINE="alphaev5" ;;
2150 +           "EV5.6 (21164A)")
2151 +               UNAME_MACHINE="alphaev56" ;;
2152 +           "EV5.6 (21164PC)")
2153 +               UNAME_MACHINE="alphapca56" ;;
2154 +           "EV5.7 (21164PC)")
2155 +               UNAME_MACHINE="alphapca57" ;;
2156 +           "EV6 (21264)")
2157 +               UNAME_MACHINE="alphaev6" ;;
2158 +           "EV6.7 (21264A)")
2159 +               UNAME_MACHINE="alphaev67" ;;
2160 +           "EV6.8CB (21264C)")
2161 +               UNAME_MACHINE="alphaev68" ;;
2162 +           "EV6.8AL (21264B)")
2163 +               UNAME_MACHINE="alphaev68" ;;
2164 +           "EV6.8CX (21264D)")
2165 +               UNAME_MACHINE="alphaev68" ;;
2166 +           "EV6.9A (21264/EV69A)")
2167 +               UNAME_MACHINE="alphaev69" ;;
2168 +           "EV7 (21364)")
2169 +               UNAME_MACHINE="alphaev7" ;;
2170 +           "EV7.9 (21364A)")
2171 +               UNAME_MACHINE="alphaev79" ;;
2172 +       esac
2173 +       # A Pn.n version is a patched version.
2174         # A Vn.n version is a released version.
2175         # A Tn.n version is a released field test version.
2176         # A Xn.n version is an unreleased experimental baselevel.
2177         # 1.2 uses "1.2" for uname -r.
2178 -       cat <<EOF >dummy.s
2179 -       .globl main
2180 -       .ent main
2181 -main:
2182 -       .frame \$30,0,\$26,0
2183 -       .prologue 0
2184 -       .long 0x47e03d80 # implver $0
2185 -       lda \$2,259
2186 -       .long 0x47e20c21 # amask $2,$1
2187 -       srl \$1,8,\$2
2188 -       sll \$2,2,\$2
2189 -       sll \$0,3,\$0
2190 -       addl \$1,\$0,\$0
2191 -       addl \$2,\$0,\$0
2192 -       ret \$31,(\$26),1
2193 -       .end main
2194 -EOF
2195 -       ${CC-cc} dummy.s -o dummy 2>/dev/null
2196 -       if test "$?" = 0 ; then
2197 -               ./dummy
2198 -               case "$?" in
2199 -                       7)
2200 -                               UNAME_MACHINE="alpha"
2201 -                               ;;
2202 -                       15)
2203 -                               UNAME_MACHINE="alphaev5"
2204 -                               ;;
2205 -                       14)
2206 -                               UNAME_MACHINE="alphaev56"
2207 -                               ;;
2208 -                       10)
2209 -                               UNAME_MACHINE="alphapca56"
2210 -                               ;;
2211 -                       16)
2212 -                               UNAME_MACHINE="alphaev6"
2213 -                               ;;
2214 -               esac
2215 -       fi
2216 -       rm -f dummy.s dummy
2217 -       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
2218 -       exit 0 ;;
2219 +       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2220 +       exit ;;
2221 +    Alpha\ *:Windows_NT*:*)
2222 +       # How do we know it's Interix rather than the generic POSIX subsystem?
2223 +       # Should we change UNAME_MACHINE based on the output of uname instead
2224 +       # of the specific Alpha model?
2225 +       echo alpha-pc-interix
2226 +       exit ;;
2227      21064:Windows_NT:50:3)
2228         echo alpha-dec-winnt3.5
2229 -       exit 0 ;;
2230 +       exit ;;
2231      Amiga*:UNIX_System_V:4.0:*)
2232 -       echo m68k-cbm-sysv4
2233 -       exit 0;;
2234 -    amiga:NetBSD:*:*)
2235 -      echo m68k-cbm-netbsd${UNAME_RELEASE}
2236 -      exit 0 ;;
2237 -    amiga:OpenBSD:*:*)
2238 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
2239 -       exit 0 ;;
2240 -    arc64:OpenBSD:*:*)
2241 -       echo mips64el-unknown-openbsd${UNAME_RELEASE}
2242 -       exit 0 ;;
2243 -    arc:OpenBSD:*:*)
2244 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
2245 -       exit 0 ;;
2246 -    hkmips:OpenBSD:*:*)
2247 -       echo mips-unknown-openbsd${UNAME_RELEASE}
2248 -       exit 0 ;;
2249 -    pmax:OpenBSD:*:*)
2250 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
2251 -       exit 0 ;;
2252 -    sgi:OpenBSD:*:*)
2253 -       echo mips-unknown-openbsd${UNAME_RELEASE}
2254 -       exit 0 ;;
2255 -    wgrisc:OpenBSD:*:*)
2256 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
2257 -       exit 0 ;;
2258 +       echo m68k-unknown-sysv4
2259 +       exit ;;
2260 +    *:[Aa]miga[Oo][Ss]:*:*)
2261 +       echo ${UNAME_MACHINE}-unknown-amigaos
2262 +       exit ;;
2263 +    *:[Mm]orph[Oo][Ss]:*:*)
2264 +       echo ${UNAME_MACHINE}-unknown-morphos
2265 +       exit ;;
2266 +    *:OS/390:*:*)
2267 +       echo i370-ibm-openedition
2268 +       exit ;;
2269 +    *:z/VM:*:*)
2270 +       echo s390-ibm-zvmoe
2271 +       exit ;;
2272 +    *:OS400:*:*)
2273 +        echo powerpc-ibm-os400
2274 +       exit ;;
2275      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
2276         echo arm-acorn-riscix${UNAME_RELEASE}
2277 -       exit 0;;
2278 -    arm32:NetBSD:*:*)
2279 -       echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
2280 -       exit 0 ;;
2281 -    SR2?01:HI-UX/MPP:*:*)
2282 +       exit ;;
2283 +    arm:riscos:*:*|arm:RISCOS:*:*)
2284 +       echo arm-unknown-riscos
2285 +       exit ;;
2286 +    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
2287         echo hppa1.1-hitachi-hiuxmpp
2288 -       exit 0;;
2289 -    Pyramid*:OSx*:*:*|MIS*:OSx*:*:*)
2290 +       exit ;;
2291 +    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
2292         # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
2293         if test "`(/bin/universe) 2>/dev/null`" = att ; then
2294                 echo pyramid-pyramid-sysv3
2295         else
2296                 echo pyramid-pyramid-bsd
2297         fi
2298 -       exit 0 ;;
2299 -    NILE:*:*:dcosx)
2300 +       exit ;;
2301 +    NILE*:*:*:dcosx)
2302         echo pyramid-pyramid-svr4
2303 -       exit 0 ;;
2304 +       exit ;;
2305 +    DRS?6000:unix:4.0:6*)
2306 +       echo sparc-icl-nx6
2307 +       exit ;;
2308 +    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
2309 +       case `/usr/bin/uname -p` in
2310 +           sparc) echo sparc-icl-nx7; exit ;;
2311 +       esac ;;
2312 +    sun4H:SunOS:5.*:*)
2313 +       echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2314 +       exit ;;
2315      sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
2316         echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2317 -       exit 0 ;;
2318 +       exit ;;
2319      i86pc:SunOS:5.*:*)
2320         echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2321 -       exit 0 ;;
2322 +       exit ;;
2323      sun4*:SunOS:6*:*)
2324         # According to config.sub, this is the proper way to canonicalize
2325         # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
2326         # it's likely to be more like Solaris than SunOS4.
2327         echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2328 -       exit 0 ;;
2329 +       exit ;;
2330      sun4*:SunOS:*:*)
2331         case "`/usr/bin/arch -k`" in
2332             Series*|S4*)
2333 @@ -170,12 +346,12 @@
2334         esac
2335         # Japanese Language versions have a version number like `4.1.3-JL'.
2336         echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
2337 -       exit 0 ;;
2338 +       exit ;;
2339      sun3*:SunOS:*:*)
2340         echo m68k-sun-sunos${UNAME_RELEASE}
2341 -       exit 0 ;;
2342 +       exit ;;
2343      sun*:*:4.2BSD:*)
2344 -       UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
2345 +       UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
2346         test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
2347         case "`/bin/arch`" in
2348             sun3)
2349 @@ -185,52 +361,63 @@
2350                 echo sparc-sun-sunos${UNAME_RELEASE}
2351                 ;;
2352         esac
2353 -       exit 0 ;;
2354 +       exit ;;
2355      aushp:SunOS:*:*)
2356         echo sparc-auspex-sunos${UNAME_RELEASE}
2357 -       exit 0 ;;
2358 -    atari*:NetBSD:*:*)
2359 -       echo m68k-atari-netbsd${UNAME_RELEASE}
2360 -       exit 0 ;;
2361 -    atari*:OpenBSD:*:*)
2362 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
2363 -       exit 0 ;;
2364 -    sun3*:NetBSD:*:*)
2365 -       echo m68k-sun-netbsd${UNAME_RELEASE}
2366 -       exit 0 ;;
2367 -    sun3*:OpenBSD:*:*)
2368 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
2369 -       exit 0 ;;
2370 -    mac68k:NetBSD:*:*)
2371 -       echo m68k-apple-netbsd${UNAME_RELEASE}
2372 -       exit 0 ;;
2373 -    mac68k:OpenBSD:*:*)
2374 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
2375 -       exit 0 ;;
2376 -    mvme68k:OpenBSD:*:*)
2377 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
2378 -       exit 0 ;;
2379 -    mvme88k:OpenBSD:*:*)
2380 -       echo m88k-unknown-openbsd${UNAME_RELEASE}
2381 -       exit 0 ;;
2382 +       exit ;;
2383 +    # The situation for MiNT is a little confusing.  The machine name
2384 +    # can be virtually everything (everything which is not
2385 +    # "atarist" or "atariste" at least should have a processor
2386 +    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
2387 +    # to the lowercase version "mint" (or "freemint").  Finally
2388 +    # the system name "TOS" denotes a system which is actually not
2389 +    # MiNT.  But MiNT is downward compatible to TOS, so this should
2390 +    # be no problem.
2391 +    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
2392 +        echo m68k-atari-mint${UNAME_RELEASE}
2393 +       exit ;;
2394 +    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
2395 +       echo m68k-atari-mint${UNAME_RELEASE}
2396 +        exit ;;
2397 +    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
2398 +        echo m68k-atari-mint${UNAME_RELEASE}
2399 +       exit ;;
2400 +    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
2401 +        echo m68k-milan-mint${UNAME_RELEASE}
2402 +        exit ;;
2403 +    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
2404 +        echo m68k-hades-mint${UNAME_RELEASE}
2405 +        exit ;;
2406 +    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
2407 +        echo m68k-unknown-mint${UNAME_RELEASE}
2408 +        exit ;;
2409 +    m68k:machten:*:*)
2410 +       echo m68k-apple-machten${UNAME_RELEASE}
2411 +       exit ;;
2412      powerpc:machten:*:*)
2413         echo powerpc-apple-machten${UNAME_RELEASE}
2414 -       exit 0 ;;
2415 +       exit ;;
2416      RISC*:Mach:*:*)
2417         echo mips-dec-mach_bsd4.3
2418 -       exit 0 ;;
2419 +       exit ;;
2420      RISC*:ULTRIX:*:*)
2421         echo mips-dec-ultrix${UNAME_RELEASE}
2422 -       exit 0 ;;
2423 +       exit ;;
2424      VAX*:ULTRIX*:*:*)
2425         echo vax-dec-ultrix${UNAME_RELEASE}
2426 -       exit 0 ;;
2427 -    2020:CLIX:*:*)
2428 +       exit ;;
2429 +    2020:CLIX:*:* | 2430:CLIX:*:*)
2430         echo clipper-intergraph-clix${UNAME_RELEASE}
2431 -       exit 0 ;;
2432 +       exit ;;
2433      mips:*:*:UMIPS | mips:*:*:RISCos)
2434 -       sed 's/^        //' << EOF >dummy.c
2435 -       int main (argc, argv) int argc; char **argv; {
2436 +       eval $set_cc_for_build
2437 +       sed 's/^        //' << EOF >$dummy.c
2438 +#ifdef __cplusplus
2439 +#include <stdio.h>  /* for printf() prototype */
2440 +       int main (int argc, char *argv[]) {
2441 +#else
2442 +       int main (argc, argv) int argc; char *argv[]; {
2443 +#endif
2444         #if defined (host_mips) && defined (MIPSEB)
2445         #if defined (SYSTYPE_SYSV)
2446           printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
2447 @@ -245,62 +432,83 @@
2448           exit (-1);
2449         }
2450  EOF
2451 -       ${CC-cc} dummy.c -o dummy \
2452 -         && ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
2453 -         && rm dummy.c dummy && exit 0
2454 -       rm -f dummy.c dummy
2455 +       $CC_FOR_BUILD -o $dummy $dummy.c &&
2456 +         dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
2457 +         SYSTEM_NAME=`$dummy $dummyarg` &&
2458 +           { echo "$SYSTEM_NAME"; exit; }
2459         echo mips-mips-riscos${UNAME_RELEASE}
2460 -       exit 0 ;;
2461 +       exit ;;
2462 +    Motorola:PowerMAX_OS:*:*)
2463 +       echo powerpc-motorola-powermax
2464 +       exit ;;
2465 +    Motorola:*:4.3:PL8-*)
2466 +       echo powerpc-harris-powermax
2467 +       exit ;;
2468 +    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
2469 +       echo powerpc-harris-powermax
2470 +       exit ;;
2471      Night_Hawk:Power_UNIX:*:*)
2472         echo powerpc-harris-powerunix
2473 -       exit 0 ;;
2474 +       exit ;;
2475      m88k:CX/UX:7*:*)
2476         echo m88k-harris-cxux7
2477 -       exit 0 ;;
2478 +       exit ;;
2479      m88k:*:4*:R4*)
2480         echo m88k-motorola-sysv4
2481 -       exit 0 ;;
2482 +       exit ;;
2483      m88k:*:3*:R3*)
2484         echo m88k-motorola-sysv3
2485 -       exit 0 ;;
2486 +       exit ;;
2487      AViiON:dgux:*:*)
2488          # DG/UX returns AViiON for all architectures
2489          UNAME_PROCESSOR=`/usr/bin/uname -p`
2490 -        if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
2491 -       if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
2492 -            -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
2493 +       if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
2494 +       then
2495 +           if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
2496 +              [ ${TARGET_BINARY_INTERFACE}x = x ]
2497 +           then
2498                 echo m88k-dg-dgux${UNAME_RELEASE}
2499 -       else
2500 +           else
2501                 echo m88k-dg-dguxbcs${UNAME_RELEASE}
2502 +           fi
2503 +       else
2504 +           echo i586-dg-dgux${UNAME_RELEASE}
2505         fi
2506 -        else echo i586-dg-dgux${UNAME_RELEASE}
2507 -        fi
2508 -       exit 0 ;;
2509 +       exit ;;
2510      M88*:DolphinOS:*:*)        # DolphinOS (SVR3)
2511         echo m88k-dolphin-sysv3
2512 -       exit 0 ;;
2513 +       exit ;;
2514      M88*:*:R3*:*)
2515         # Delta 88k system running SVR3
2516         echo m88k-motorola-sysv3
2517 -       exit 0 ;;
2518 +       exit ;;
2519      XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
2520         echo m88k-tektronix-sysv3
2521 -       exit 0 ;;
2522 +       exit ;;
2523      Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
2524         echo m68k-tektronix-bsd
2525 -       exit 0 ;;
2526 +       exit ;;
2527      *:IRIX*:*:*)
2528         echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
2529 -       exit 0 ;;
2530 +       exit ;;
2531      ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
2532 -       echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
2533 -       exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
2534 -    i?86:AIX:*:*)
2535 +       echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
2536 +       exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
2537 +    i*86:AIX:*:*)
2538         echo i386-ibm-aix
2539 -       exit 0 ;;
2540 +       exit ;;
2541 +    ia64:AIX:*:*)
2542 +       if [ -x /usr/bin/oslevel ] ; then
2543 +               IBM_REV=`/usr/bin/oslevel`
2544 +       else
2545 +               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
2546 +       fi
2547 +       echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
2548 +       exit ;;
2549      *:AIX:2:3)
2550         if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
2551 -               sed 's/^                //' << EOF >dummy.c
2552 +               eval $set_cc_for_build
2553 +               sed 's/^                //' << EOF >$dummy.c
2554                 #include <sys/systemcfg.h>
2555  
2556                 main()
2557 @@ -311,17 +519,21 @@
2558                         exit(0);
2559                         }
2560  EOF
2561 -               ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
2562 -               rm -f dummy.c dummy
2563 -               echo rs6000-ibm-aix3.2.5
2564 +               if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
2565 +               then
2566 +                       echo "$SYSTEM_NAME"
2567 +               else
2568 +                       echo rs6000-ibm-aix3.2.5
2569 +               fi
2570         elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
2571                 echo rs6000-ibm-aix3.2.4
2572         else
2573                 echo rs6000-ibm-aix3.2
2574         fi
2575 -       exit 0 ;;
2576 -    *:AIX:*:4)
2577 -       if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
2578 +       exit ;;
2579 +    *:AIX:*:[45])
2580 +       IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
2581 +       if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
2582                 IBM_ARCH=rs6000
2583         else
2584                 IBM_ARCH=powerpc
2585 @@ -329,43 +541,120 @@
2586         if [ -x /usr/bin/oslevel ] ; then
2587                 IBM_REV=`/usr/bin/oslevel`
2588         else
2589 -               IBM_REV=4.${UNAME_RELEASE}
2590 +               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
2591         fi
2592         echo ${IBM_ARCH}-ibm-aix${IBM_REV}
2593 -       exit 0 ;;
2594 +       exit ;;
2595      *:AIX:*:*)
2596         echo rs6000-ibm-aix
2597 -       exit 0 ;;
2598 +       exit ;;
2599      ibmrt:4.4BSD:*|romp-ibm:BSD:*)
2600         echo romp-ibm-bsd4.4
2601 -       exit 0 ;;
2602 -    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC NetBSD and
2603 +       exit ;;
2604 +    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
2605         echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
2606 -       exit 0 ;;                           # report: romp-ibm BSD 4.3
2607 +       exit ;;                             # report: romp-ibm BSD 4.3
2608      *:BOSX:*:*)
2609         echo rs6000-bull-bosx
2610 -       exit 0 ;;
2611 +       exit ;;
2612      DPX/2?00:B.O.S.:*:*)
2613         echo m68k-bull-sysv3
2614 -       exit 0 ;;
2615 +       exit ;;
2616      9000/[34]??:4.3bsd:1.*:*)
2617         echo m68k-hp-bsd
2618 -       exit 0 ;;
2619 +       exit ;;
2620      hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
2621         echo m68k-hp-bsd4.4
2622 -       exit 0 ;;
2623 -    9000/[3478]??:HP-UX:*:*)
2624 +       exit ;;
2625 +    9000/[34678]??:HP-UX:*:*)
2626 +       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
2627         case "${UNAME_MACHINE}" in
2628             9000/31? )            HP_ARCH=m68000 ;;
2629             9000/[34]?? )         HP_ARCH=m68k ;;
2630 -           9000/7?? | 9000/8?[1679] ) HP_ARCH=hppa1.1 ;;
2631 -           9000/8?? )            HP_ARCH=hppa1.0 ;;
2632 +           9000/[678][0-9][0-9])
2633 +               if [ -x /usr/bin/getconf ]; then
2634 +                   sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
2635 +                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
2636 +                    case "${sc_cpu_version}" in
2637 +                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
2638 +                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
2639 +                      532)                      # CPU_PA_RISC2_0
2640 +                        case "${sc_kernel_bits}" in
2641 +                          32) HP_ARCH="hppa2.0n" ;;
2642 +                          64) HP_ARCH="hppa2.0w" ;;
2643 +                         '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
2644 +                        esac ;;
2645 +                    esac
2646 +               fi
2647 +               if [ "${HP_ARCH}" = "" ]; then
2648 +                   eval $set_cc_for_build
2649 +                   sed 's/^              //' << EOF >$dummy.c
2650 +
2651 +              #define _HPUX_SOURCE
2652 +              #include <stdlib.h>
2653 +              #include <unistd.h>
2654 +
2655 +              int main ()
2656 +              {
2657 +              #if defined(_SC_KERNEL_BITS)
2658 +                  long bits = sysconf(_SC_KERNEL_BITS);
2659 +              #endif
2660 +                  long cpu  = sysconf (_SC_CPU_VERSION);
2661 +
2662 +                  switch (cpu)
2663 +               {
2664 +               case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
2665 +               case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
2666 +               case CPU_PA_RISC2_0:
2667 +              #if defined(_SC_KERNEL_BITS)
2668 +                   switch (bits)
2669 +                       {
2670 +                       case 64: puts ("hppa2.0w"); break;
2671 +                       case 32: puts ("hppa2.0n"); break;
2672 +                       default: puts ("hppa2.0"); break;
2673 +                       } break;
2674 +              #else  /* !defined(_SC_KERNEL_BITS) */
2675 +                   puts ("hppa2.0"); break;
2676 +              #endif
2677 +               default: puts ("hppa1.0"); break;
2678 +               }
2679 +                  exit (0);
2680 +              }
2681 +EOF
2682 +                   (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
2683 +                   test -z "$HP_ARCH" && HP_ARCH=hppa
2684 +               fi ;;
2685         esac
2686 -       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
2687 +       if [ ${HP_ARCH} = "hppa2.0w" ]
2688 +       then
2689 +           eval $set_cc_for_build
2690 +
2691 +           # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
2692 +           # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
2693 +           # generating 64-bit code.  GNU and HP use different nomenclature:
2694 +           #
2695 +           # $ CC_FOR_BUILD=cc ./config.guess
2696 +           # => hppa2.0w-hp-hpux11.23
2697 +           # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
2698 +           # => hppa64-hp-hpux11.23
2699 +
2700 +           if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
2701 +               grep __LP64__ >/dev/null
2702 +           then
2703 +               HP_ARCH="hppa2.0w"
2704 +           else
2705 +               HP_ARCH="hppa64"
2706 +           fi
2707 +       fi
2708         echo ${HP_ARCH}-hp-hpux${HPUX_REV}
2709 -       exit 0 ;;
2710 +       exit ;;
2711 +    ia64:HP-UX:*:*)
2712 +       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
2713 +       echo ia64-hp-hpux${HPUX_REV}
2714 +       exit ;;
2715      3050*:HI-UX:*:*)
2716 -       sed 's/^        //' << EOF >dummy.c
2717 +       eval $set_cc_for_build
2718 +       sed 's/^        //' << EOF >$dummy.c
2719         #include <unistd.h>
2720         int
2721         main ()
2722 @@ -390,331 +679,475 @@
2723           exit (0);
2724         }
2725  EOF
2726 -       ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
2727 -       rm -f dummy.c dummy
2728 +       $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
2729 +               { echo "$SYSTEM_NAME"; exit; }
2730         echo unknown-hitachi-hiuxwe2
2731 -       exit 0 ;;
2732 +       exit ;;
2733      9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
2734         echo hppa1.1-hp-bsd
2735 -       exit 0 ;;
2736 +       exit ;;
2737      9000/8??:4.3bsd:*:*)
2738         echo hppa1.0-hp-bsd
2739 -       exit 0 ;;
2740 +       exit ;;
2741 +    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
2742 +       echo hppa1.0-hp-mpeix
2743 +       exit ;;
2744      hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
2745         echo hppa1.1-hp-osf
2746 -       exit 0 ;;
2747 +       exit ;;
2748      hp8??:OSF1:*:*)
2749         echo hppa1.0-hp-osf
2750 -       exit 0 ;;
2751 -    i?86:OSF1:*:*)
2752 +       exit ;;
2753 +    i*86:OSF1:*:*)
2754         if [ -x /usr/sbin/sysversion ] ; then
2755             echo ${UNAME_MACHINE}-unknown-osf1mk
2756         else
2757             echo ${UNAME_MACHINE}-unknown-osf1
2758         fi
2759 -       exit 0 ;;
2760 +       exit ;;
2761      parisc*:Lites*:*:*)
2762         echo hppa1.1-hp-lites
2763 -       exit 0 ;;
2764 +       exit ;;
2765      C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
2766         echo c1-convex-bsd
2767 -        exit 0 ;;
2768 +        exit ;;
2769      C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
2770         if getsysinfo -f scalar_acc
2771         then echo c32-convex-bsd
2772         else echo c2-convex-bsd
2773         fi
2774 -        exit 0 ;;
2775 +        exit ;;
2776      C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
2777         echo c34-convex-bsd
2778 -        exit 0 ;;
2779 +        exit ;;
2780      C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
2781         echo c38-convex-bsd
2782 -        exit 0 ;;
2783 +        exit ;;
2784      C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
2785         echo c4-convex-bsd
2786 -        exit 0 ;;
2787 -    CRAY*X-MP:*:*:*)
2788 -       echo xmp-cray-unicos
2789 -        exit 0 ;;
2790 +        exit ;;
2791      CRAY*Y-MP:*:*:*)
2792 -       echo ymp-cray-unicos${UNAME_RELEASE}
2793 -       exit 0 ;;
2794 +       echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2795 +       exit ;;
2796      CRAY*[A-Z]90:*:*:*)
2797         echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
2798         | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
2799 -             -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
2800 -       exit 0 ;;
2801 +             -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
2802 +             -e 's/\.[^.]*$/.X/'
2803 +       exit ;;
2804      CRAY*TS:*:*:*)
2805 -       echo t90-cray-unicos${UNAME_RELEASE}
2806 -       exit 0 ;;
2807 -    CRAY-2:*:*:*)
2808 -       echo cray2-cray-unicos
2809 -        exit 0 ;;
2810 -    F300:UNIX_System_V:*:*)
2811 -        FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'`
2812 +       echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2813 +       exit ;;
2814 +    CRAY*T3E:*:*:*)
2815 +       echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2816 +       exit ;;
2817 +    CRAY*SV1:*:*:*)
2818 +       echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2819 +       exit ;;
2820 +    *:UNICOS/mp:*:*)
2821 +       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2822 +       exit ;;
2823 +    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
2824 +       FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2825 +        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2826          FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
2827 -        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2828 -        exit 0 ;;
2829 -    F301:UNIX_System_V:*:*)
2830 -       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
2831 -       exit 0 ;;
2832 -    hp3[0-9][05]:NetBSD:*:*)
2833 -       echo m68k-hp-netbsd${UNAME_RELEASE}
2834 -       exit 0 ;;
2835 -    hp300:OpenBSD:*:*)
2836 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
2837 -       exit 0 ;;
2838 -    i?86:BSD/386:*:* | *:BSD/OS:*:*)
2839 +        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2840 +        exit ;;
2841 +    5000:UNIX_System_V:4.*:*)
2842 +        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2843 +        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
2844 +        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2845 +       exit ;;
2846 +    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
2847         echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
2848 -       exit 0 ;;
2849 +       exit ;;
2850 +    sparc*:BSD/OS:*:*)
2851 +       echo sparc-unknown-bsdi${UNAME_RELEASE}
2852 +       exit ;;
2853 +    *:BSD/OS:*:*)
2854 +       echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
2855 +       exit ;;
2856      *:FreeBSD:*:*)
2857 -       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
2858 -       exit 0 ;;
2859 -    *:NetBSD:*:*)
2860 -       echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
2861 -       exit 0 ;;
2862 -    *:OpenBSD:*:*)
2863 -       echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
2864 -       exit 0 ;;
2865 +       case ${UNAME_MACHINE} in
2866 +           pc98)
2867 +               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2868 +           amd64)
2869 +               echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2870 +           *)
2871 +               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2872 +       esac
2873 +       exit ;;
2874      i*:CYGWIN*:*)
2875 -       echo ${UNAME_MACHINE}-pc-cygwin32
2876 -       exit 0 ;;
2877 +       echo ${UNAME_MACHINE}-pc-cygwin
2878 +       exit ;;
2879      i*:MINGW*:*)
2880         echo ${UNAME_MACHINE}-pc-mingw32
2881 -       exit 0 ;;
2882 +       exit ;;
2883 +    i*:windows32*:*)
2884 +       # uname -m includes "-pc" on this system.
2885 +       echo ${UNAME_MACHINE}-mingw32
2886 +       exit ;;
2887 +    i*:PW*:*)
2888 +       echo ${UNAME_MACHINE}-pc-pw32
2889 +       exit ;;
2890 +    x86:Interix*:[3456]*)
2891 +       echo i586-pc-interix${UNAME_RELEASE}
2892 +       exit ;;
2893 +    EM64T:Interix*:[3456]*)
2894 +       echo x86_64-unknown-interix${UNAME_RELEASE}
2895 +       exit ;;
2896 +    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
2897 +       echo i${UNAME_MACHINE}-pc-mks
2898 +       exit ;;
2899 +    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
2900 +       # How do we know it's Interix rather than the generic POSIX subsystem?
2901 +       # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
2902 +       # UNAME_MACHINE based on the output of uname instead of i386?
2903 +       echo i586-pc-interix
2904 +       exit ;;
2905 +    i*:UWIN*:*)
2906 +       echo ${UNAME_MACHINE}-pc-uwin
2907 +       exit ;;
2908 +    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
2909 +       echo x86_64-unknown-cygwin
2910 +       exit ;;
2911      p*:CYGWIN*:*)
2912 -       echo powerpcle-unknown-cygwin32
2913 -       exit 0 ;;
2914 +       echo powerpcle-unknown-cygwin
2915 +       exit ;;
2916      prep*:SunOS:5.*:*)
2917         echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2918 -       exit 0 ;;
2919 +       exit ;;
2920      *:GNU:*:*)
2921 +       # the GNU system
2922         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
2923 -       exit 0 ;;
2924 -    *:Linux:*:*)
2925 -       # uname on the ARM produces all sorts of strangeness, and we need to
2926 -       # filter it out.
2927 -       case "$UNAME_MACHINE" in
2928 -         arm* | sa110*)              UNAME_MACHINE="arm" ;;
2929 +       exit ;;
2930 +    *:GNU/*:*:*)
2931 +       # other systems with GNU libc and userland
2932 +       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
2933 +       exit ;;
2934 +    i*86:Minix:*:*)
2935 +       echo ${UNAME_MACHINE}-pc-minix
2936 +       exit ;;
2937 +    arm*:Linux:*:*)
2938 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
2939 +       exit ;;
2940 +    avr32*:Linux:*:*)
2941 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
2942 +       exit ;;
2943 +    cris:Linux:*:*)
2944 +       echo cris-axis-linux-gnu
2945 +       exit ;;
2946 +    crisv32:Linux:*:*)
2947 +       echo crisv32-axis-linux-gnu
2948 +       exit ;;
2949 +    frv:Linux:*:*)
2950 +       echo frv-unknown-linux-gnu
2951 +       exit ;;
2952 +    ia64:Linux:*:*)
2953 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
2954 +       exit ;;
2955 +    m32r*:Linux:*:*)
2956 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
2957 +       exit ;;
2958 +    m68*:Linux:*:*)
2959 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
2960 +       exit ;;
2961 +    mips:Linux:*:*)
2962 +       eval $set_cc_for_build
2963 +       sed 's/^        //' << EOF >$dummy.c
2964 +       #undef CPU
2965 +       #undef mips
2966 +       #undef mipsel
2967 +       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
2968 +       CPU=mipsel
2969 +       #else
2970 +       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
2971 +       CPU=mips
2972 +       #else
2973 +       CPU=
2974 +       #endif
2975 +       #endif
2976 +EOF
2977 +       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
2978 +           /^CPU/{
2979 +               s: ::g
2980 +               p
2981 +           }'`"
2982 +       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
2983 +       ;;
2984 +    mips64:Linux:*:*)
2985 +       eval $set_cc_for_build
2986 +       sed 's/^        //' << EOF >$dummy.c
2987 +       #undef CPU
2988 +       #undef mips64
2989 +       #undef mips64el
2990 +       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
2991 +       CPU=mips64el
2992 +       #else
2993 +       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
2994 +       CPU=mips64
2995 +       #else
2996 +       CPU=
2997 +       #endif
2998 +       #endif
2999 +EOF
3000 +       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
3001 +           /^CPU/{
3002 +               s: ::g
3003 +               p
3004 +           }'`"
3005 +       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
3006 +       ;;
3007 +    or32:Linux:*:*)
3008 +       echo or32-unknown-linux-gnu
3009 +       exit ;;
3010 +    ppc:Linux:*:*)
3011 +       echo powerpc-unknown-linux-gnu
3012 +       exit ;;
3013 +    ppc64:Linux:*:*)
3014 +       echo powerpc64-unknown-linux-gnu
3015 +       exit ;;
3016 +    alpha:Linux:*:*)
3017 +       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
3018 +         EV5)   UNAME_MACHINE=alphaev5 ;;
3019 +         EV56)  UNAME_MACHINE=alphaev56 ;;
3020 +         PCA56) UNAME_MACHINE=alphapca56 ;;
3021 +         PCA57) UNAME_MACHINE=alphapca56 ;;
3022 +         EV6)   UNAME_MACHINE=alphaev6 ;;
3023 +         EV67)  UNAME_MACHINE=alphaev67 ;;
3024 +         EV68*) UNAME_MACHINE=alphaev68 ;;
3025 +        esac
3026 +       objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
3027 +       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
3028 +       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
3029 +       exit ;;
3030 +    parisc:Linux:*:* | hppa:Linux:*:*)
3031 +       # Look for CPU level
3032 +       case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
3033 +         PA7*) echo hppa1.1-unknown-linux-gnu ;;
3034 +         PA8*) echo hppa2.0-unknown-linux-gnu ;;
3035 +         *)    echo hppa-unknown-linux-gnu ;;
3036         esac
3037 -
3038 +       exit ;;
3039 +    parisc64:Linux:*:* | hppa64:Linux:*:*)
3040 +       echo hppa64-unknown-linux-gnu
3041 +       exit ;;
3042 +    s390:Linux:*:* | s390x:Linux:*:*)
3043 +       echo ${UNAME_MACHINE}-ibm-linux
3044 +       exit ;;
3045 +    sh64*:Linux:*:*)
3046 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
3047 +       exit ;;
3048 +    sh*:Linux:*:*)
3049 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
3050 +       exit ;;
3051 +    sparc:Linux:*:* | sparc64:Linux:*:*)
3052 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
3053 +       exit ;;
3054 +    vax:Linux:*:*)
3055 +       echo ${UNAME_MACHINE}-dec-linux-gnu
3056 +       exit ;;
3057 +    x86_64:Linux:*:*)
3058 +       echo x86_64-unknown-linux-gnu
3059 +       exit ;;
3060 +    i*86:Linux:*:*)
3061         # The BFD linker knows what the default object file format is, so
3062 -       # first see if it will tell us.
3063 -       ld_help_string=`ld --help 2>&1`
3064 -       ld_supported_emulations=`echo $ld_help_string \
3065 -                        | sed -ne '/supported emulations:/!d
3066 +       # first see if it will tell us. cd to the root directory to prevent
3067 +       # problems with other programs or directories called `ld' in the path.
3068 +       # Set LC_ALL=C to ensure ld outputs messages in English.
3069 +       ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
3070 +                        | sed -ne '/supported targets:/!d
3071                                     s/[         ][      ]*/ /g
3072 -                                   s/.*supported emulations: *//
3073 +                                   s/.*supported targets: *//
3074                                     s/ .*//
3075                                     p'`
3076 -        case "$ld_supported_emulations" in
3077 -         i?86linux)  echo "${UNAME_MACHINE}-pc-linux-gnuaout"      ; exit 0 ;;
3078 -         i?86coff)   echo "${UNAME_MACHINE}-pc-linux-gnucoff"      ; exit 0 ;;
3079 -         sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
3080 -         armlinux)   echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
3081 -         m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
3082 -         elf32ppc)   echo "powerpc-unknown-linux-gnu"              ; exit 0 ;;
3083 -       esac
3084 -
3085 -       if test "${UNAME_MACHINE}" = "alpha" ; then
3086 -               sed 's/^        //'  <<EOF >dummy.s
3087 -               .globl main
3088 -               .ent main
3089 -       main:
3090 -               .frame \$30,0,\$26,0
3091 -               .prologue 0
3092 -               .long 0x47e03d80 # implver $0
3093 -               lda \$2,259
3094 -               .long 0x47e20c21 # amask $2,$1
3095 -               srl \$1,8,\$2
3096 -               sll \$2,2,\$2
3097 -               sll \$0,3,\$0
3098 -               addl \$1,\$0,\$0
3099 -               addl \$2,\$0,\$0
3100 -               ret \$31,(\$26),1
3101 -               .end main
3102 -EOF
3103 -               LIBC=""
3104 -               ${CC-cc} dummy.s -o dummy 2>/dev/null
3105 -               if test "$?" = 0 ; then
3106 -                       ./dummy
3107 -                       case "$?" in
3108 -                       7)
3109 -                               UNAME_MACHINE="alpha"
3110 -                               ;;
3111 -                       15)
3112 -                               UNAME_MACHINE="alphaev5"
3113 -                               ;;
3114 -                       14)
3115 -                               UNAME_MACHINE="alphaev56"
3116 -                               ;;
3117 -                       10)
3118 -                               UNAME_MACHINE="alphapca56"
3119 -                               ;;
3120 -                       16)
3121 -                               UNAME_MACHINE="alphaev6"
3122 -                               ;;
3123 -                       esac    
3124 -
3125 -                       objdump --private-headers dummy | \
3126 -                         grep ld.so.1 > /dev/null
3127 -                       if test "$?" = 0 ; then
3128 -                               LIBC="libc1"
3129 -                       fi
3130 -               fi      
3131 -               rm -f dummy.s dummy
3132 -               echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
3133 -       elif test "${UNAME_MACHINE}" = "mips" ; then
3134 -         cat >dummy.c <<EOF
3135 -main(argc, argv)
3136 -     int argc;
3137 -     char *argv[];
3138 -{
3139 -#ifdef __MIPSEB__
3140 -  printf ("%s-unknown-linux-gnu\n", argv[1]);
3141 -#endif
3142 -#ifdef __MIPSEL__
3143 -  printf ("%sel-unknown-linux-gnu\n", argv[1]);
3144 -#endif
3145 -  return 0;
3146 -}
3147 -EOF
3148 -         ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
3149 -         rm -f dummy.c dummy
3150 -       else
3151 -         # Either a pre-BFD a.out linker (linux-gnuoldld)
3152 -         # or one that does not give us useful --help.
3153 -         # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
3154 -         # If ld does not provide *any* "supported emulations:"
3155 -         # that means it is gnuoldld.
3156 -         echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
3157 -         test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
3158 -
3159 -         case "${UNAME_MACHINE}" in
3160 -         i?86)
3161 -           VENDOR=pc;
3162 -           ;;
3163 -         *)
3164 -           VENDOR=unknown;
3165 -           ;;
3166 -         esac
3167 -         # Determine whether the default compiler is a.out or elf
3168 -         cat >dummy.c <<EOF
3169 -#include <features.h>
3170 -main(argc, argv)
3171 -     int argc;
3172 -     char *argv[];
3173 -{
3174 -#ifdef __ELF__
3175 -# ifdef __GLIBC__
3176 -#  if __GLIBC__ >= 2
3177 -    printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
3178 -#  else
3179 -    printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
3180 -#  endif
3181 -# else
3182 -   printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
3183 -# endif
3184 -#else
3185 -  printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
3186 -#endif
3187 -  return 0;
3188 -}
3189 +        case "$ld_supported_targets" in
3190 +         elf32-i386)
3191 +               TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
3192 +               ;;
3193 +         a.out-i386-linux)
3194 +               echo "${UNAME_MACHINE}-pc-linux-gnuaout"
3195 +               exit ;;
3196 +         coff-i386)
3197 +               echo "${UNAME_MACHINE}-pc-linux-gnucoff"
3198 +               exit ;;
3199 +         "")
3200 +               # Either a pre-BFD a.out linker (linux-gnuoldld) or
3201 +               # one that does not give us useful --help.
3202 +               echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
3203 +               exit ;;
3204 +       esac
3205 +       # Determine whether the default compiler is a.out or elf
3206 +       eval $set_cc_for_build
3207 +       sed 's/^        //' << EOF >$dummy.c
3208 +       #include <features.h>
3209 +       #ifdef __ELF__
3210 +       # ifdef __GLIBC__
3211 +       #  if __GLIBC__ >= 2
3212 +       LIBC=gnu
3213 +       #  else
3214 +       LIBC=gnulibc1
3215 +       #  endif
3216 +       # else
3217 +       LIBC=gnulibc1
3218 +       # endif
3219 +       #else
3220 +       #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
3221 +       LIBC=gnu
3222 +       #else
3223 +       LIBC=gnuaout
3224 +       #endif
3225 +       #endif
3226 +       #ifdef __dietlibc__
3227 +       LIBC=dietlibc
3228 +       #endif
3229  EOF
3230 -         ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
3231 -         rm -f dummy.c dummy
3232 -       fi ;;
3233 -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
3234 -# are messed up and put the nodename in both sysname and nodename.
3235 -    i?86:DYNIX/ptx:4*:*)
3236 +       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
3237 +           /^LIBC/{
3238 +               s: ::g
3239 +               p
3240 +           }'`"
3241 +       test x"${LIBC}" != x && {
3242 +               echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
3243 +               exit
3244 +       }
3245 +       test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
3246 +       ;;
3247 +    i*86:DYNIX/ptx:4*:*)
3248 +       # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
3249 +       # earlier versions are messed up and put the nodename in both
3250 +       # sysname and nodename.
3251         echo i386-sequent-sysv4
3252 -       exit 0 ;;
3253 -    i?86:UNIX_SV:4.2MP:2.*)
3254 +       exit ;;
3255 +    i*86:UNIX_SV:4.2MP:2.*)
3256          # Unixware is an offshoot of SVR4, but it has its own version
3257          # number series starting with 2...
3258          # I am not positive that other SVR4 systems won't match this,
3259         # I just have to hope.  -- rms.
3260          # Use sysv4.2uw... so that sysv4* matches it.
3261         echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
3262 -       exit 0 ;;
3263 -    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
3264 +       exit ;;
3265 +    i*86:OS/2:*:*)
3266 +       # If we were able to find `uname', then EMX Unix compatibility
3267 +       # is probably installed.
3268 +       echo ${UNAME_MACHINE}-pc-os2-emx
3269 +       exit ;;
3270 +    i*86:XTS-300:*:STOP)
3271 +       echo ${UNAME_MACHINE}-unknown-stop
3272 +       exit ;;
3273 +    i*86:atheos:*:*)
3274 +       echo ${UNAME_MACHINE}-unknown-atheos
3275 +       exit ;;
3276 +    i*86:syllable:*:*)
3277 +       echo ${UNAME_MACHINE}-pc-syllable
3278 +       exit ;;
3279 +    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
3280 +       echo i386-unknown-lynxos${UNAME_RELEASE}
3281 +       exit ;;
3282 +    i*86:*DOS:*:*)
3283 +       echo ${UNAME_MACHINE}-pc-msdosdjgpp
3284 +       exit ;;
3285 +    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
3286 +       UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
3287         if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
3288 -               echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
3289 +               echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
3290         else
3291 -               echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
3292 +               echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
3293         fi
3294 -       exit 0 ;;
3295 -    i?86:*:3.2:*)
3296 +       exit ;;
3297 +    i*86:*:5:[678]*)
3298 +       # UnixWare 7.x, OpenUNIX and OpenServer 6.
3299 +       case `/bin/uname -X | grep "^Machine"` in
3300 +           *486*)           UNAME_MACHINE=i486 ;;
3301 +           *Pentium)        UNAME_MACHINE=i586 ;;
3302 +           *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
3303 +       esac
3304 +       echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
3305 +       exit ;;
3306 +    i*86:*:3.2:*)
3307         if test -f /usr/options/cb.name; then
3308                 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
3309                 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
3310         elif /bin/uname -X 2>/dev/null >/dev/null ; then
3311 -               UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
3312 -               (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
3313 -               (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
3314 +               UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
3315 +               (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
3316 +               (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
3317                         && UNAME_MACHINE=i586
3318 +               (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
3319 +                       && UNAME_MACHINE=i686
3320 +               (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
3321 +                       && UNAME_MACHINE=i686
3322                 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
3323         else
3324                 echo ${UNAME_MACHINE}-pc-sysv32
3325         fi
3326 -       exit 0 ;;
3327 +       exit ;;
3328      pc:*:*:*)
3329 +       # Left here for compatibility:
3330          # uname -m prints for DJGPP always 'pc', but it prints nothing about
3331          # the processor, so we play safe by assuming i386.
3332         echo i386-pc-msdosdjgpp
3333 -        exit 0 ;;
3334 +        exit ;;
3335      Intel:Mach:3*:*)
3336         echo i386-pc-mach3
3337 -       exit 0 ;;
3338 +       exit ;;
3339      paragon:*:*:*)
3340         echo i860-intel-osf1
3341 -       exit 0 ;;
3342 +       exit ;;
3343      i860:*:4.*:*) # i860-SVR4
3344         if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
3345           echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
3346         else # Add other i860-SVR4 vendors below as they are discovered.
3347           echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
3348         fi
3349 -       exit 0 ;;
3350 +       exit ;;
3351      mini*:CTIX:SYS*5:*)
3352         # "miniframe"
3353         echo m68010-convergent-sysv
3354 -       exit 0 ;;
3355 -    M68*:*:R3V[567]*:*)
3356 -       test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3357 -    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
3358 +       exit ;;
3359 +    mc68k:UNIX:SYSTEM5:3.51m)
3360 +       echo m68k-convergent-sysv
3361 +       exit ;;
3362 +    M680?0:D-NIX:5.3:*)
3363 +       echo m68k-diab-dnix
3364 +       exit ;;
3365 +    M68*:*:R3V[5678]*:*)
3366 +       test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
3367 +    3[345]??:*: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 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
3368         OS_REL=''
3369         test -r /etc/.relid \
3370         && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
3371         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
3372 -         && echo i486-ncr-sysv4.3${OS_REL} && exit 0
3373 +         && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
3374         /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
3375 -         && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
3376 +         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
3377      3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
3378          /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
3379 -          && echo i486-ncr-sysv4 && exit 0 ;;
3380 -    m68*:LynxOS:2.*:*)
3381 +          && { echo i486-ncr-sysv4; exit; } ;;
3382 +    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
3383         echo m68k-unknown-lynxos${UNAME_RELEASE}
3384 -       exit 0 ;;
3385 +       exit ;;
3386      mc68030:UNIX_System_V:4.*:*)
3387         echo m68k-atari-sysv4
3388 -       exit 0 ;;
3389 -    i?86:LynxOS:2.*:*)
3390 -       echo i386-unknown-lynxos${UNAME_RELEASE}
3391 -       exit 0 ;;
3392 +       exit ;;
3393      TSUNAMI:LynxOS:2.*:*)
3394         echo sparc-unknown-lynxos${UNAME_RELEASE}
3395 -       exit 0 ;;
3396 -    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
3397 +       exit ;;
3398 +    rs6000:LynxOS:2.*:*)
3399         echo rs6000-unknown-lynxos${UNAME_RELEASE}
3400 -       exit 0 ;;
3401 +       exit ;;
3402 +    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
3403 +       echo powerpc-unknown-lynxos${UNAME_RELEASE}
3404 +       exit ;;
3405      SM[BE]S:UNIX_SV:*:*)
3406         echo mips-dde-sysv${UNAME_RELEASE}
3407 -       exit 0 ;;
3408 +       exit ;;
3409 +    RM*:ReliantUNIX-*:*:*)
3410 +       echo mips-sni-sysv4
3411 +       exit ;;
3412      RM*:SINIX-*:*:*)
3413         echo mips-sni-sysv4
3414 -       exit 0 ;;
3415 +       exit ;;
3416      *:SINIX-*:*:*)
3417         if uname -p 2>/dev/null >/dev/null ; then
3418                 UNAME_MACHINE=`(uname -p) 2>/dev/null`
3419 @@ -722,39 +1155,156 @@
3420         else
3421                 echo ns32k-sni-sysv
3422         fi
3423 -       exit 0 ;;
3424 -    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
3425 -                           # says <Richard.M.Bartel@ccMail.Census.GOV>
3426 +       exit ;;
3427 +    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
3428 +                      # says <Richard.M.Bartel@ccMail.Census.GOV>
3429          echo i586-unisys-sysv4
3430 -        exit 0 ;;
3431 +        exit ;;
3432      *:UNIX_System_V:4*:FTX*)
3433         # From Gerald Hewes <hewes@openmarket.com>.
3434         # How about differentiating between stratus architectures? -djm
3435         echo hppa1.1-stratus-sysv4
3436 -       exit 0 ;;
3437 +       exit ;;
3438      *:*:*:FTX*)
3439         # From seanf@swdc.stratus.com.
3440         echo i860-stratus-sysv4
3441 -       exit 0 ;;
3442 +       exit ;;
3443 +    i*86:VOS:*:*)
3444 +       # From Paul.Green@stratus.com.
3445 +       echo ${UNAME_MACHINE}-stratus-vos
3446 +       exit ;;
3447 +    *:VOS:*:*)
3448 +       # From Paul.Green@stratus.com.
3449 +       echo hppa1.1-stratus-vos
3450 +       exit ;;
3451      mc68*:A/UX:*:*)
3452         echo m68k-apple-aux${UNAME_RELEASE}
3453 -       exit 0 ;;
3454 -    news*:NEWS-OS:*:6*)
3455 +       exit ;;
3456 +    news*:NEWS-OS:6*:*)
3457         echo mips-sony-newsos6
3458 -       exit 0 ;;
3459 -    R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
3460 +       exit ;;
3461 +    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
3462         if [ -d /usr/nec ]; then
3463                 echo mips-nec-sysv${UNAME_RELEASE}
3464         else
3465                 echo mips-unknown-sysv${UNAME_RELEASE}
3466         fi
3467 -        exit 0 ;;
3468 +        exit ;;
3469 +    BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
3470 +       echo powerpc-be-beos
3471 +       exit ;;
3472 +    BeMac:BeOS:*:*)    # BeOS running on Mac or Mac clone, PPC only.
3473 +       echo powerpc-apple-beos
3474 +       exit ;;
3475 +    BePC:BeOS:*:*)     # BeOS running on Intel PC compatible.
3476 +       echo i586-pc-beos
3477 +       exit ;;
3478 +    SX-4:SUPER-UX:*:*)
3479 +       echo sx4-nec-superux${UNAME_RELEASE}
3480 +       exit ;;
3481 +    SX-5:SUPER-UX:*:*)
3482 +       echo sx5-nec-superux${UNAME_RELEASE}
3483 +       exit ;;
3484 +    SX-6:SUPER-UX:*:*)
3485 +       echo sx6-nec-superux${UNAME_RELEASE}
3486 +       exit ;;
3487 +    Power*:Rhapsody:*:*)
3488 +       echo powerpc-apple-rhapsody${UNAME_RELEASE}
3489 +       exit ;;
3490 +    *:Rhapsody:*:*)
3491 +       echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
3492 +       exit ;;
3493 +    *:Darwin:*:*)
3494 +       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
3495 +       case $UNAME_PROCESSOR in
3496 +           unknown) UNAME_PROCESSOR=powerpc ;;
3497 +       esac
3498 +       echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
3499 +       exit ;;
3500 +    *:procnto*:*:* | *:QNX:[0123456789]*:*)
3501 +       UNAME_PROCESSOR=`uname -p`
3502 +       if test "$UNAME_PROCESSOR" = "x86"; then
3503 +               UNAME_PROCESSOR=i386
3504 +               UNAME_MACHINE=pc
3505 +       fi
3506 +       echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
3507 +       exit ;;
3508 +    *:QNX:*:4*)
3509 +       echo i386-pc-qnx
3510 +       exit ;;
3511 +    NSE-?:NONSTOP_KERNEL:*:*)
3512 +       echo nse-tandem-nsk${UNAME_RELEASE}
3513 +       exit ;;
3514 +    NSR-?:NONSTOP_KERNEL:*:*)
3515 +       echo nsr-tandem-nsk${UNAME_RELEASE}
3516 +       exit ;;
3517 +    *:NonStop-UX:*:*)
3518 +       echo mips-compaq-nonstopux
3519 +       exit ;;
3520 +    BS2000:POSIX*:*:*)
3521 +       echo bs2000-siemens-sysv
3522 +       exit ;;
3523 +    DS/*:UNIX_System_V:*:*)
3524 +       echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
3525 +       exit ;;
3526 +    *:Plan9:*:*)
3527 +       # "uname -m" is not consistent, so use $cputype instead. 386
3528 +       # is converted to i386 for consistency with other x86
3529 +       # operating systems.
3530 +       if test "$cputype" = "386"; then
3531 +           UNAME_MACHINE=i386
3532 +       else
3533 +           UNAME_MACHINE="$cputype"
3534 +       fi
3535 +       echo ${UNAME_MACHINE}-unknown-plan9
3536 +       exit ;;
3537 +    *:TOPS-10:*:*)
3538 +       echo pdp10-unknown-tops10
3539 +       exit ;;
3540 +    *:TENEX:*:*)
3541 +       echo pdp10-unknown-tenex
3542 +       exit ;;
3543 +    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
3544 +       echo pdp10-dec-tops20
3545 +       exit ;;
3546 +    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
3547 +       echo pdp10-xkl-tops20
3548 +       exit ;;
3549 +    *:TOPS-20:*:*)
3550 +       echo pdp10-unknown-tops20
3551 +       exit ;;
3552 +    *:ITS:*:*)
3553 +       echo pdp10-unknown-its
3554 +       exit ;;
3555 +    SEI:*:*:SEIUX)
3556 +        echo mips-sei-seiux${UNAME_RELEASE}
3557 +       exit ;;
3558 +    *:DragonFly:*:*)
3559 +       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
3560 +       exit ;;
3561 +    *:*VMS:*:*)
3562 +       UNAME_MACHINE=`(uname -p) 2>/dev/null`
3563 +       case "${UNAME_MACHINE}" in
3564 +           A*) echo alpha-dec-vms ; exit ;;
3565 +           I*) echo ia64-dec-vms ; exit ;;
3566 +           V*) echo vax-dec-vms ; exit ;;
3567 +       esac ;;
3568 +    *:XENIX:*:SysV)
3569 +       echo i386-pc-xenix
3570 +       exit ;;
3571 +    i*86:skyos:*:*)
3572 +       echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
3573 +       exit ;;
3574 +    i*86:rdos:*:*)
3575 +       echo ${UNAME_MACHINE}-pc-rdos
3576 +       exit ;;
3577  esac
3578  
3579  #echo '(No uname command or uname output not recognized.)' 1>&2
3580  #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
3581  
3582 -cat >dummy.c <<EOF
3583 +eval $set_cc_for_build
3584 +cat >$dummy.c <<EOF
3585  #ifdef _SEQUENT_
3586  # include <sys/types.h>
3587  # include <sys/utsname.h>
3588 @@ -779,7 +1329,7 @@
3589  #endif
3590  
3591  #if defined (__arm) && defined (__acorn) && defined (__unix)
3592 -  printf ("arm-acorn-riscix"); exit (0);
3593 +  printf ("arm-acorn-riscix\n"); exit (0);
3594  #endif
3595  
3596  #if defined (hp300) && !defined (hpux)
3597 @@ -792,7 +1342,10 @@
3598  #endif
3599    int version;
3600    version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
3601 -  printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
3602 +  if (version < 4)
3603 +    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
3604 +  else
3605 +    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
3606    exit (0);
3607  #endif
3608  
3609 @@ -837,11 +1390,24 @@
3610  #endif
3611  
3612  #if defined (vax)
3613 -#if !defined (ultrix)
3614 -  printf ("vax-dec-bsd\n"); exit (0);
3615 -#else
3616 -  printf ("vax-dec-ultrix\n"); exit (0);
3617 -#endif
3618 +# if !defined (ultrix)
3619 +#  include <sys/param.h>
3620 +#  if defined (BSD)
3621 +#   if BSD == 43
3622 +      printf ("vax-dec-bsd4.3\n"); exit (0);
3623 +#   else
3624 +#    if BSD == 199006
3625 +      printf ("vax-dec-bsd4.3reno\n"); exit (0);
3626 +#    else
3627 +      printf ("vax-dec-bsd\n"); exit (0);
3628 +#    endif
3629 +#   endif
3630 +#  else
3631 +    printf ("vax-dec-bsd\n"); exit (0);
3632 +#  endif
3633 +# else
3634 +    printf ("vax-dec-ultrix\n"); exit (0);
3635 +# endif
3636  #endif
3637  
3638  #if defined (alliant) && defined (i860)
3639 @@ -852,12 +1418,12 @@
3640  }
3641  EOF
3642  
3643 -${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
3644 -rm -f dummy.c dummy
3645 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
3646 +       { echo "$SYSTEM_NAME"; exit; }
3647  
3648  # Apollos put the system type in the environment.
3649  
3650 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
3651 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
3652  
3653  # Convex versions that predate uname can use getsysinfo(1)
3654  
3655 @@ -866,25 +1432,69 @@
3656      case `getsysinfo -f cpu_type` in
3657      c1*)
3658         echo c1-convex-bsd
3659 -       exit 0 ;;
3660 +       exit ;;
3661      c2*)
3662         if getsysinfo -f scalar_acc
3663         then echo c32-convex-bsd
3664         else echo c2-convex-bsd
3665         fi
3666 -       exit 0 ;;
3667 +       exit ;;
3668      c34*)
3669         echo c34-convex-bsd
3670 -       exit 0 ;;
3671 +       exit ;;
3672      c38*)
3673         echo c38-convex-bsd
3674 -       exit 0 ;;
3675 +       exit ;;
3676      c4*)
3677         echo c4-convex-bsd
3678 -       exit 0 ;;
3679 +       exit ;;
3680      esac
3681  fi
3682  
3683 -#echo '(Unable to guess system type)' 1>&2
3684 +cat >&2 <<EOF
3685 +$0: unable to guess system type
3686 +
3687 +This script, last modified $timestamp, has failed to recognize
3688 +the operating system you are using. It is advised that you
3689 +download the most up to date version of the config scripts from
3690 +
3691 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
3692 +and
3693 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
3694 +
3695 +If the version you run ($0) is already up to date, please
3696 +send the following data and any information you think might be
3697 +pertinent to <config-patches@gnu.org> in order to provide the needed
3698 +information to handle your system.
3699 +
3700 +config.guess timestamp = $timestamp
3701 +
3702 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
3703 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
3704 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
3705 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
3706 +
3707 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
3708 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
3709 +
3710 +hostinfo               = `(hostinfo) 2>/dev/null`
3711 +/bin/universe          = `(/bin/universe) 2>/dev/null`
3712 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
3713 +/bin/arch              = `(/bin/arch) 2>/dev/null`
3714 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
3715 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
3716 +
3717 +UNAME_MACHINE = ${UNAME_MACHINE}
3718 +UNAME_RELEASE = ${UNAME_RELEASE}
3719 +UNAME_SYSTEM  = ${UNAME_SYSTEM}
3720 +UNAME_VERSION = ${UNAME_VERSION}
3721 +EOF
3722  
3723  exit 1
3724 +
3725 +# Local variables:
3726 +# eval: (add-hook 'write-file-hooks 'time-stamp)
3727 +# time-stamp-start: "timestamp='"
3728 +# time-stamp-format: "%:y-%02m-%02d"
3729 +# time-stamp-end: "'"
3730 +# End:
3731 Index: ez-ipupdate-3.0.11b8/config.h.in
3732 ===================================================================
3733 --- ez-ipupdate-3.0.11b8.orig/config.h.in       2003-04-17 19:40:14.000000000 +0200
3734 +++ ez-ipupdate-3.0.11b8/config.h.in    2007-03-08 16:34:51.000000000 +0100
3735 @@ -1,7 +1,4 @@
3736 -/* config.h.in.  Generated automatically from configure.in by autoheader.  */
3737 -
3738 -/* Define as the return type of signal handlers (int or void).  */
3739 -#undef RETSIGTYPE
3740 +/* config.h.in.  Generated from configure.in by autoheader.  */
3741  
3742  #undef PACKAGE
3743  #undef VERSION
3744 @@ -12,152 +9,200 @@
3745  #undef USE_MD5
3746  #undef DEF_SERVICE
3747  
3748 -/* Define if you have the fork function.  */
3749 +/* Define to 1 if you have the <arpa/inet.h> header file. */
3750 +#undef HAVE_ARPA_INET_H
3751 +
3752 +/* Define to 1 if you have the <errno.h> header file. */
3753 +#undef HAVE_ERRNO_H
3754 +
3755 +/* Define to 1 if you have the <fcntl.h> header file. */
3756 +#undef HAVE_FCNTL_H
3757 +
3758 +/* Define to 1 if you have the `fork' function. */
3759  #undef HAVE_FORK
3760  
3761 -/* Define if you have the getegid function.  */
3762 +/* Define to 1 if you have the `getegid' function. */
3763  #undef HAVE_GETEGID
3764  
3765 -/* Define if you have the geteuid function.  */
3766 +/* Define to 1 if you have the `geteuid' function. */
3767  #undef HAVE_GETEUID
3768  
3769 -/* Define if you have the getgid function.  */
3770 +/* Define to 1 if you have the `getgid' function. */
3771  #undef HAVE_GETGID
3772  
3773 -/* Define if you have the gethostbyaddr function.  */
3774 +/* Define to 1 if you have the `gethostbyaddr' function. */
3775  #undef HAVE_GETHOSTBYADDR
3776  
3777 -/* Define if you have the getopt function.  */
3778 +/* Define to 1 if you have the `getopt' function. */
3779  #undef HAVE_GETOPT
3780  
3781 -/* Define if you have the getopt_long function.  */
3782 +/* Define to 1 if you have the <getopt.h> header file. */
3783 +#undef HAVE_GETOPT_H
3784 +
3785 +/* Define to 1 if you have the `getopt_long' function. */
3786  #undef HAVE_GETOPT_LONG
3787  
3788 -/* Define if you have the getpid function.  */
3789 +/* Define to 1 if you have the `getpid' function. */
3790  #undef HAVE_GETPID
3791  
3792 -/* Define if you have the getservbyname function.  */
3793 +/* Define to 1 if you have the `getservbyname' function. */
3794  #undef HAVE_GETSERVBYNAME
3795  
3796 -/* Define if you have the getuid function.  */
3797 +/* Define to 1 if you have the `getuid' function. */
3798  #undef HAVE_GETUID
3799  
3800 -/* Define if you have the herror function.  */
3801 +/* Define to 1 if you have the <grp.h> header file. */
3802 +#undef HAVE_GRP_H
3803 +
3804 +/* Define to 1 if you have the `herror' function. */
3805  #undef HAVE_HERROR
3806  
3807 -/* Define if you have the inet_addr function.  */
3808 +/* Define to 1 if you have the `inet_addr' function. */
3809  #undef HAVE_INET_ADDR
3810  
3811 -/* Define if you have the inet_aton function.  */
3812 +/* Define to 1 if you have the `inet_aton' function. */
3813  #undef HAVE_INET_ATON
3814  
3815 -/* Define if you have the inet_ntoa function.  */
3816 +/* Define to 1 if you have the `inet_ntoa' function. */
3817  #undef HAVE_INET_NTOA
3818  
3819 -/* Define if you have the setegid function.  */
3820 +/* Define to 1 if you have the <inttypes.h> header file. */
3821 +#undef HAVE_INTTYPES_H
3822 +
3823 +/* Define to 1 if you have the `nsl' library (-lnsl). */
3824 +#undef HAVE_LIBNSL
3825 +
3826 +/* Define to 1 if you have the `socket' library (-lsocket). */
3827 +#undef HAVE_LIBSOCKET
3828 +
3829 +/* Define to 1 if you have the <memory.h> header file. */
3830 +#undef HAVE_MEMORY_H
3831 +
3832 +/* Define to 1 if you have the <netdb.h> header file. */
3833 +#undef HAVE_NETDB_H
3834 +
3835 +/* Define to 1 if you have the <netinet/in.h> header file. */
3836 +#undef HAVE_NETINET_IN_H
3837 +
3838 +/* Define to 1 if you have the <pwd.h> header file. */
3839 +#undef HAVE_PWD_H
3840 +
3841 +/* Define to 1 if you have the `setegid' function. */
3842  #undef HAVE_SETEGID
3843  
3844 -/* Define if you have the seteuid function.  */
3845 +/* Define to 1 if you have the `seteuid' function. */
3846  #undef HAVE_SETEUID
3847  
3848 -/* Define if you have the setgid function.  */
3849 +/* Define to 1 if you have the `setgid' function. */
3850  #undef HAVE_SETGID
3851  
3852 -/* Define if you have the setuid function.  */
3853 +/* Define to 1 if you have the `setuid' function. */
3854  #undef HAVE_SETUID
3855  
3856 -/* Define if you have the snprintf function.  */
3857 +/* Define to 1 if you have the <signal.h> header file. */
3858 +#undef HAVE_SIGNAL_H
3859 +
3860 +/* Define to 1 if you have the `snprintf' function. */
3861  #undef HAVE_SNPRINTF
3862  
3863 -/* Define if you have the socket function.  */
3864 +/* Define to 1 if you have the `socket' function. */
3865  #undef HAVE_SOCKET
3866  
3867 -/* Define if you have the stat function.  */
3868 +/* Define to 1 if you have the `stat' function. */
3869  #undef HAVE_STAT
3870  
3871 -/* Define if you have the strdup function.  */
3872 +/* Define to 1 if you have the <stdarg.h> header file. */
3873 +#undef HAVE_STDARG_H
3874 +
3875 +/* Define to 1 if you have the <stdint.h> header file. */
3876 +#undef HAVE_STDINT_H
3877 +
3878 +/* Define to 1 if you have the <stdlib.h> header file. */
3879 +#undef HAVE_STDLIB_H
3880 +
3881 +/* Define to 1 if you have the `strdup' function. */
3882  #undef HAVE_STRDUP
3883  
3884 -/* Define if you have the strerror function.  */
3885 +/* Define to 1 if you have the `strerror' function. */
3886  #undef HAVE_STRERROR
3887  
3888 -/* Define if you have the strftime function.  */
3889 +/* Define to 1 if you have the `strftime' function. */
3890  #undef HAVE_STRFTIME
3891  
3892 -/* Define if you have the vfork function.  */
3893 -#undef HAVE_VFORK
3894 +/* Define to 1 if you have the <strings.h> header file. */
3895 +#undef HAVE_STRINGS_H
3896  
3897 -/* Define if you have the vfprintf function.  */
3898 -#undef HAVE_VFPRINTF
3899 +/* Define to 1 if you have the <string.h> header file. */
3900 +#undef HAVE_STRING_H
3901  
3902 -/* Define if you have the vsnprintf function.  */
3903 -#undef HAVE_VSNPRINTF
3904 +/* Define to 1 if you have the <syslog.h> header file. */
3905 +#undef HAVE_SYSLOG_H
3906  
3907 -/* Define if you have the vsprintf function.  */
3908 -#undef HAVE_VSPRINTF
3909 +/* Define to 1 if you have the <sys/socket.h> header file. */
3910 +#undef HAVE_SYS_SOCKET_H
3911  
3912 -/* Define if you have the wait function.  */
3913 -#undef HAVE_WAIT
3914 +/* Define to 1 if you have the <sys/sockio.h> header file. */
3915 +#undef HAVE_SYS_SOCKIO_H
3916  
3917 -/* Define if you have the waitpid function.  */
3918 -#undef HAVE_WAITPID
3919 +/* Define to 1 if you have the <sys/stat.h> header file. */
3920 +#undef HAVE_SYS_STAT_H
3921  
3922 -/* Define if you have the <arpa/inet.h> header file.  */
3923 -#undef HAVE_ARPA_INET_H
3924 +/* Define to 1 if you have the <sys/time.h> header file. */
3925 +#undef HAVE_SYS_TIME_H
3926  
3927 -/* Define if you have the <errno.h> header file.  */
3928 -#undef HAVE_ERRNO_H
3929 +/* Define to 1 if you have the <sys/types.h> header file. */
3930 +#undef HAVE_SYS_TYPES_H
3931  
3932 -/* Define if you have the <fcntl.h> header file.  */
3933 -#undef HAVE_FCNTL_H
3934 +/* Define to 1 if you have the <sys/wait.h> header file. */
3935 +#undef HAVE_SYS_WAIT_H
3936  
3937 -/* Define if you have the <getopt.h> header file.  */
3938 -#undef HAVE_GETOPT_H
3939 +/* Define to 1 if you have the <time.h> header file. */
3940 +#undef HAVE_TIME_H
3941  
3942 -/* Define if you have the <grp.h> header file.  */
3943 -#undef HAVE_GRP_H
3944 +/* Define to 1 if you have the <unistd.h> header file. */
3945 +#undef HAVE_UNISTD_H
3946  
3947 -/* Define if you have the <netdb.h> header file.  */
3948 -#undef HAVE_NETDB_H
3949 +/* Define to 1 if you have the `vfork' function. */
3950 +#undef HAVE_VFORK
3951  
3952 -/* Define if you have the <netinet/in.h> header file.  */
3953 -#undef HAVE_NETINET_IN_H
3954 +/* Define to 1 if you have the `vfprintf' function. */
3955 +#undef HAVE_VFPRINTF
3956  
3957 -/* Define if you have the <pwd.h> header file.  */
3958 -#undef HAVE_PWD_H
3959 +/* Define to 1 if you have the `vsnprintf' function. */
3960 +#undef HAVE_VSNPRINTF
3961  
3962 -/* Define if you have the <signal.h> header file.  */
3963 -#undef HAVE_SIGNAL_H
3964 +/* Define to 1 if you have the `vsprintf' function. */
3965 +#undef HAVE_VSPRINTF
3966  
3967 -/* Define if you have the <stdarg.h> header file.  */
3968 -#undef HAVE_STDARG_H
3969 +/* Define to 1 if you have the `wait' function. */
3970 +#undef HAVE_WAIT
3971  
3972 -/* Define if you have the <sys/socket.h> header file.  */
3973 -#undef HAVE_SYS_SOCKET_H
3974 +/* Define to 1 if you have the `waitpid' function. */
3975 +#undef HAVE_WAITPID
3976  
3977 -/* Define if you have the <sys/sockio.h> header file.  */
3978 -#undef HAVE_SYS_SOCKIO_H
3979 +/* Name of package */
3980 +#undef PACKAGE
3981  
3982 -/* Define if you have the <sys/stat.h> header file.  */
3983 -#undef HAVE_SYS_STAT_H
3984 +/* Define to the address where bug reports for this package should be sent. */
3985 +#undef PACKAGE_BUGREPORT
3986  
3987 -/* Define if you have the <sys/time.h> header file.  */
3988 -#undef HAVE_SYS_TIME_H
3989 +/* Define to the full name of this package. */
3990 +#undef PACKAGE_NAME
3991  
3992 -/* Define if you have the <sys/types.h> header file.  */
3993 -#undef HAVE_SYS_TYPES_H
3994 +/* Define to the full name and version of this package. */
3995 +#undef PACKAGE_STRING
3996  
3997 -/* Define if you have the <sys/wait.h> header file.  */
3998 -#undef HAVE_SYS_WAIT_H
3999 +/* Define to the one symbol short name of this package. */
4000 +#undef PACKAGE_TARNAME
4001  
4002 -/* Define if you have the <syslog.h> header file.  */
4003 -#undef HAVE_SYSLOG_H
4004 +/* Define to the version of this package. */
4005 +#undef PACKAGE_VERSION
4006  
4007 -/* Define if you have the <unistd.h> header file.  */
4008 -#undef HAVE_UNISTD_H
4009 +/* Define as the return type of signal handlers (`int' or `void'). */
4010 +#undef RETSIGTYPE
4011  
4012 -/* Define if you have the nsl library (-lnsl).  */
4013 -#undef HAVE_LIBNSL
4014 +/* Define to 1 if you have the ANSI C header files. */
4015 +#undef STDC_HEADERS
4016  
4017 -/* Define if you have the socket library (-lsocket).  */
4018 -#undef HAVE_LIBSOCKET
4019 +/* Version number of package */
4020 +#undef VERSION
4021 Index: ez-ipupdate-3.0.11b8/config.sub
4022 ===================================================================
4023 --- ez-ipupdate-3.0.11b8.orig/config.sub        2000-08-08 09:09:48.000000000 +0200
4024 +++ ez-ipupdate-3.0.11b8/config.sub     2007-03-08 16:34:52.000000000 +0100
4025 @@ -1,6 +1,11 @@
4026  #! /bin/sh
4027 -# Configuration validation subroutine script, version 1.1.
4028 -#   Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
4029 +# Configuration validation subroutine script.
4030 +#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4031 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4032 +#   Inc.
4033 +
4034 +timestamp='2006-09-20'
4035 +
4036  # This file is (in principle) common to ALL GNU software.
4037  # The presence of a machine in this file suggests that SOME GNU software
4038  # can handle that machine.  It does not imply ALL GNU software can.
4039 @@ -17,14 +22,18 @@
4040  #
4041  # You should have received a copy of the GNU General Public License
4042  # along with this program; if not, write to the Free Software
4043 -# Foundation, Inc., 59 Temple Place - Suite 330,
4044 -# Boston, MA 02111-1307, USA.
4045 -
4046 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
4047 +# 02110-1301, USA.
4048 +#
4049  # As a special exception to the GNU General Public License, if you
4050  # distribute this file as part of a program that contains a
4051  # configuration script generated by Autoconf, you may include it under
4052  # the same distribution terms that you use for the rest of that program.
4053  
4054 +
4055 +# Please send patches to <config-patches@gnu.org>.  Submit a context
4056 +# diff and a properly formatted ChangeLog entry.
4057 +#
4058  # Configuration subroutine to validate and canonicalize a configuration type.
4059  # Supply the specified configuration type as an argument.
4060  # If it is invalid, we print an error message on stderr and exit with code 1.
4061 @@ -45,30 +54,75 @@
4062  #      CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
4063  # It is wrong to echo any other type of specification.
4064  
4065 -if [ x$1 = x ]
4066 -then
4067 -       echo Configuration name missing. 1>&2
4068 -       echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
4069 -       echo "or     $0 ALIAS" 1>&2
4070 -       echo where ALIAS is a recognized configuration type. 1>&2
4071 -       exit 1
4072 -fi
4073 +me=`echo "$0" | sed -e 's,.*/,,'`
4074  
4075 -# First pass through any local machine types.
4076 -case $1 in
4077 -       *local*)
4078 -               echo $1
4079 -               exit 0
4080 -               ;;
4081 -       *)
4082 -       ;;
4083 +usage="\
4084 +Usage: $0 [OPTION] CPU-MFR-OPSYS
4085 +       $0 [OPTION] ALIAS
4086 +
4087 +Canonicalize a configuration name.
4088 +
4089 +Operation modes:
4090 +  -h, --help         print this help, then exit
4091 +  -t, --time-stamp   print date of last modification, then exit
4092 +  -v, --version      print version number, then exit
4093 +
4094 +Report bugs and patches to <config-patches@gnu.org>."
4095 +
4096 +version="\
4097 +GNU config.sub ($timestamp)
4098 +
4099 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4100 +Free Software Foundation, Inc.
4101 +
4102 +This is free software; see the source for copying conditions.  There is NO
4103 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
4104 +
4105 +help="
4106 +Try \`$me --help' for more information."
4107 +
4108 +# Parse command line
4109 +while test $# -gt 0 ; do
4110 +  case $1 in
4111 +    --time-stamp | --time* | -t )
4112 +       echo "$timestamp" ; exit ;;
4113 +    --version | -v )
4114 +       echo "$version" ; exit ;;
4115 +    --help | --h* | -h )
4116 +       echo "$usage"; exit ;;
4117 +    -- )     # Stop option processing
4118 +       shift; break ;;
4119 +    - )        # Use stdin as input.
4120 +       break ;;
4121 +    -* )
4122 +       echo "$me: invalid option $1$help"
4123 +       exit 1 ;;
4124 +
4125 +    *local*)
4126 +       # First pass through any local machine types.
4127 +       echo $1
4128 +       exit ;;
4129 +
4130 +    * )
4131 +       break ;;
4132 +  esac
4133 +done
4134 +
4135 +case $# in
4136 + 0) echo "$me: missing argument$help" >&2
4137 +    exit 1;;
4138 + 1) ;;
4139 + *) echo "$me: too many arguments$help" >&2
4140 +    exit 1;;
4141  esac
4142  
4143  # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
4144  # Here we must recognize all the valid KERNEL-OS combinations.
4145  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
4146  case $maybe_os in
4147 -  linux-gnu*)
4148 +  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
4149 +  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
4150 +  storm-chaos* | os2-emx* | rtmk-nova*)
4151      os=-$maybe_os
4152      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
4153      ;;
4154 @@ -94,15 +148,37 @@
4155         -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
4156         -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
4157         -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
4158 -       -apple)
4159 +       -apple | -axis | -knuth | -cray)
4160 +               os=
4161 +               basic_machine=$1
4162 +               ;;
4163 +       -sim | -cisco | -oki | -wec | -winbond)
4164                 os=
4165                 basic_machine=$1
4166                 ;;
4167 +       -scout)
4168 +               ;;
4169 +       -wrs)
4170 +               os=-vxworks
4171 +               basic_machine=$1
4172 +               ;;
4173 +       -chorusos*)
4174 +               os=-chorusos
4175 +               basic_machine=$1
4176 +               ;;
4177 +       -chorusrdb)
4178 +               os=-chorusrdb
4179 +               basic_machine=$1
4180 +               ;;
4181         -hiux*)
4182                 os=-hiuxwe2
4183                 ;;
4184 +       -sco6)
4185 +               os=-sco5v6
4186 +               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4187 +               ;;
4188         -sco5)
4189 -               os=sco3.2v5
4190 +               os=-sco3.2v5
4191                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4192                 ;;
4193         -sco4)
4194 @@ -117,10 +193,17 @@
4195                 # Don't forget version if it is 3.2v4 or newer.
4196                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4197                 ;;
4198 +       -sco5v6*)
4199 +               # Don't forget version if it is 3.2v4 or newer.
4200 +               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4201 +               ;;
4202         -sco*)
4203                 os=-sco3.2v2
4204                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4205                 ;;
4206 +       -udk*)
4207 +               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4208 +               ;;
4209         -isc)
4210                 os=-isc2.2
4211                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4212 @@ -143,26 +226,84 @@
4213         -psos*)
4214                 os=-psos
4215                 ;;
4216 +       -mint | -mint[0-9]*)
4217 +               basic_machine=m68k-atari
4218 +               os=-mint
4219 +               ;;
4220  esac
4221  
4222  # Decode aliases for certain CPU-COMPANY combinations.
4223  case $basic_machine in
4224         # Recognize the basic CPU types without company name.
4225         # Some are omitted here because they have special meanings below.
4226 -       tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
4227 -               | arme[lb] | pyramid | mn10200 | mn10300 \
4228 -               | tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
4229 -               | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
4230 -               | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
4231 -               | mips64 | mipsel | mips64el | mips64orion | mips64orionel \
4232 -               | mipstx39 | mipstx39el \
4233 -               | sparc | sparclet | sparclite | sparc64 | v850)
4234 +       1750a | 580 \
4235 +       | a29k \
4236 +       | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
4237 +       | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
4238 +       | am33_2.0 \
4239 +       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
4240 +       | bfin \
4241 +       | c4x | clipper \
4242 +       | d10v | d30v | dlx | dsp16xx \
4243 +       | fr30 | frv \
4244 +       | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
4245 +       | i370 | i860 | i960 | ia64 \
4246 +       | ip2k | iq2000 \
4247 +       | m32c | m32r | m32rle | m68000 | m68k | m88k \
4248 +       | maxq | mb | microblaze | mcore \
4249 +       | mips | mipsbe | mipseb | mipsel | mipsle \
4250 +       | mips16 \
4251 +       | mips64 | mips64el \
4252 +       | mips64vr | mips64vrel \
4253 +       | mips64orion | mips64orionel \
4254 +       | mips64vr4100 | mips64vr4100el \
4255 +       | mips64vr4300 | mips64vr4300el \
4256 +       | mips64vr5000 | mips64vr5000el \
4257 +       | mips64vr5900 | mips64vr5900el \
4258 +       | mipsisa32 | mipsisa32el \
4259 +       | mipsisa32r2 | mipsisa32r2el \
4260 +       | mipsisa64 | mipsisa64el \
4261 +       | mipsisa64r2 | mipsisa64r2el \
4262 +       | mipsisa64sb1 | mipsisa64sb1el \
4263 +       | mipsisa64sr71k | mipsisa64sr71kel \
4264 +       | mipstx39 | mipstx39el \
4265 +       | mn10200 | mn10300 \
4266 +       | mt \
4267 +       | msp430 \
4268 +       | nios | nios2 \
4269 +       | ns16k | ns32k \
4270 +       | or32 \
4271 +       | pdp10 | pdp11 | pj | pjl \
4272 +       | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
4273 +       | pyramid \
4274 +       | score \
4275 +       | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
4276 +       | sh64 | sh64le \
4277 +       | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
4278 +       | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
4279 +       | spu | strongarm \
4280 +       | tahoe | thumb | tic4x | tic80 | tron \
4281 +       | v850 | v850e \
4282 +       | we32k \
4283 +       | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
4284 +       | z8k)
4285                 basic_machine=$basic_machine-unknown
4286                 ;;
4287 +       m6811 | m68hc11 | m6812 | m68hc12)
4288 +               # Motorola 68HC11/12.
4289 +               basic_machine=$basic_machine-unknown
4290 +               os=-none
4291 +               ;;
4292 +       m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
4293 +               ;;
4294 +       ms1)
4295 +               basic_machine=mt-unknown
4296 +               ;;
4297 +
4298         # We use `pc' rather than `unknown'
4299         # because (1) that's what they normally are, and
4300         # (2) the word "unknown" tends to confuse beginning users.
4301 -       i[34567]86)
4302 +       i*86 | x86_64)
4303           basic_machine=$basic_machine-pc
4304           ;;
4305         # Object if more than one company name word.
4306 @@ -171,27 +312,90 @@
4307                 exit 1
4308                 ;;
4309         # Recognize the basic CPU types with company name.
4310 -       vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
4311 -             | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
4312 -             | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
4313 -             | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
4314 -             | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* \
4315 -             | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
4316 -             | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
4317 -             | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
4318 -             | sparc64-* | mips64-* | mipsel-* \
4319 -             | mips64el-* | mips64orion-* | mips64orionel-*  \
4320 -             | mipstx39-* | mipstx39el-* \
4321 -             | f301-*)
4322 +       580-* \
4323 +       | a29k-* \
4324 +       | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
4325 +       | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
4326 +       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
4327 +       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
4328 +       | avr-* | avr32-* \
4329 +       | bfin-* | bs2000-* \
4330 +       | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
4331 +       | clipper-* | craynv-* | cydra-* \
4332 +       | d10v-* | d30v-* | dlx-* \
4333 +       | elxsi-* \
4334 +       | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
4335 +       | h8300-* | h8500-* \
4336 +       | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
4337 +       | i*86-* | i860-* | i960-* | ia64-* \
4338 +       | ip2k-* | iq2000-* \
4339 +       | m32c-* | m32r-* | m32rle-* \
4340 +       | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
4341 +       | m88110-* | m88k-* | maxq-* | mcore-* \
4342 +       | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
4343 +       | mips16-* \
4344 +       | mips64-* | mips64el-* \
4345 +       | mips64vr-* | mips64vrel-* \
4346 +       | mips64orion-* | mips64orionel-* \
4347 +       | mips64vr4100-* | mips64vr4100el-* \
4348 +       | mips64vr4300-* | mips64vr4300el-* \
4349 +       | mips64vr5000-* | mips64vr5000el-* \
4350 +       | mips64vr5900-* | mips64vr5900el-* \
4351 +       | mipsisa32-* | mipsisa32el-* \
4352 +       | mipsisa32r2-* | mipsisa32r2el-* \
4353 +       | mipsisa64-* | mipsisa64el-* \
4354 +       | mipsisa64r2-* | mipsisa64r2el-* \
4355 +       | mipsisa64sb1-* | mipsisa64sb1el-* \
4356 +       | mipsisa64sr71k-* | mipsisa64sr71kel-* \
4357 +       | mipstx39-* | mipstx39el-* \
4358 +       | mmix-* \
4359 +       | mt-* \
4360 +       | msp430-* \
4361 +       | nios-* | nios2-* \
4362 +       | none-* | np1-* | ns16k-* | ns32k-* \
4363 +       | orion-* \
4364 +       | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
4365 +       | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
4366 +       | pyramid-* \
4367 +       | romp-* | rs6000-* \
4368 +       | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
4369 +       | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
4370 +       | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
4371 +       | sparclite-* \
4372 +       | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
4373 +       | tahoe-* | thumb-* \
4374 +       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
4375 +       | tron-* \
4376 +       | v850-* | v850e-* | vax-* \
4377 +       | we32k-* \
4378 +       | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
4379 +       | xstormy16-* | xtensa-* \
4380 +       | ymp-* \
4381 +       | z8k-*)
4382                 ;;
4383         # Recognize the various machine names and aliases which stand
4384         # for a CPU type and a company and sometimes even an OS.
4385 +       386bsd)
4386 +               basic_machine=i386-unknown
4387 +               os=-bsd
4388 +               ;;
4389         3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
4390                 basic_machine=m68000-att
4391                 ;;
4392         3b*)
4393                 basic_machine=we32k-att
4394                 ;;
4395 +       a29khif)
4396 +               basic_machine=a29k-amd
4397 +               os=-udi
4398 +               ;;
4399 +       abacus)
4400 +               basic_machine=abacus-unknown
4401 +               ;;
4402 +       adobe68k)
4403 +               basic_machine=m68010-adobe
4404 +               os=-scout
4405 +               ;;
4406         alliant | fx80)
4407                 basic_machine=fx80-alliant
4408                 ;;
4409 @@ -202,25 +406,35 @@
4410                 basic_machine=a29k-none
4411                 os=-bsd
4412                 ;;
4413 +       amd64)
4414 +               basic_machine=x86_64-pc
4415 +               ;;
4416 +       amd64-*)
4417 +               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
4418 +               ;;
4419         amdahl)
4420                 basic_machine=580-amdahl
4421                 os=-sysv
4422                 ;;
4423         amiga | amiga-*)
4424 -               basic_machine=m68k-cbm
4425 +               basic_machine=m68k-unknown
4426                 ;;
4427         amigaos | amigados)
4428 -               basic_machine=m68k-cbm
4429 +               basic_machine=m68k-unknown
4430                 os=-amigaos
4431                 ;;
4432         amigaunix | amix)
4433 -               basic_machine=m68k-cbm
4434 +               basic_machine=m68k-unknown
4435                 os=-sysv4
4436                 ;;
4437         apollo68)
4438                 basic_machine=m68k-apollo
4439                 os=-sysv
4440                 ;;
4441 +       apollo68bsd)
4442 +               basic_machine=m68k-apollo
4443 +               os=-bsd
4444 +               ;;
4445         aux)
4446                 basic_machine=m68k-apple
4447                 os=-aux
4448 @@ -229,6 +443,10 @@
4449                 basic_machine=ns32k-sequent
4450                 os=-dynix
4451                 ;;
4452 +       c90)
4453 +               basic_machine=c90-cray
4454 +               os=-unicos
4455 +               ;;
4456         convex-c1)
4457                 basic_machine=c1-convex
4458                 os=-bsd
4459 @@ -249,27 +467,45 @@
4460                 basic_machine=c38-convex
4461                 os=-bsd
4462                 ;;
4463 -       cray | ymp)
4464 -               basic_machine=ymp-cray
4465 +       cray | j90)
4466 +               basic_machine=j90-cray
4467                 os=-unicos
4468                 ;;
4469 -       cray2)
4470 -               basic_machine=cray2-cray
4471 -               os=-unicos
4472 -               ;;
4473 -       [ctj]90-cray)
4474 -               basic_machine=c90-cray
4475 -               os=-unicos
4476 +       craynv)
4477 +               basic_machine=craynv-cray
4478 +               os=-unicosmp
4479 +               ;;
4480 +       cr16c)
4481 +               basic_machine=cr16c-unknown
4482 +               os=-elf
4483                 ;;
4484         crds | unos)
4485                 basic_machine=m68k-crds
4486                 ;;
4487 +       crisv32 | crisv32-* | etraxfs*)
4488 +               basic_machine=crisv32-axis
4489 +               ;;
4490 +       cris | cris-* | etrax*)
4491 +               basic_machine=cris-axis
4492 +               ;;
4493 +       crx)
4494 +               basic_machine=crx-unknown
4495 +               os=-elf
4496 +               ;;
4497         da30 | da30-*)
4498                 basic_machine=m68k-da30
4499                 ;;
4500         decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
4501                 basic_machine=mips-dec
4502                 ;;
4503 +       decsystem10* | dec10*)
4504 +               basic_machine=pdp10-dec
4505 +               os=-tops10
4506 +               ;;
4507 +       decsystem20* | dec20*)
4508 +               basic_machine=pdp10-dec
4509 +               os=-tops20
4510 +               ;;
4511         delta | 3300 | motorola-3300 | motorola-delta \
4512               | 3300-motorola | delta-motorola)
4513                 basic_machine=m68k-motorola
4514 @@ -278,6 +514,10 @@
4515                 basic_machine=m88k-motorola
4516                 os=-sysv3
4517                 ;;
4518 +       djgpp)
4519 +               basic_machine=i586-pc
4520 +               os=-msdosdjgpp
4521 +               ;;
4522         dpx20 | dpx20-*)
4523                 basic_machine=rs6000-bull
4524                 os=-bosx
4525 @@ -297,6 +537,10 @@
4526         encore | umax | mmax)
4527                 basic_machine=ns32k-encore
4528                 ;;
4529 +       es1800 | OSE68k | ose68k | ose | OSE)
4530 +               basic_machine=m68k-ericsson
4531 +               os=-ose
4532 +               ;;
4533         fx2800)
4534                 basic_machine=i860-alliant
4535                 ;;
4536 @@ -307,6 +551,10 @@
4537                 basic_machine=tron-gmicro
4538                 os=-sysv
4539                 ;;
4540 +       go32)
4541 +               basic_machine=i386-pc
4542 +               os=-go32
4543 +               ;;
4544         h3050r* | hiux*)
4545                 basic_machine=hppa1.1-hitachi
4546                 os=-hiuxwe2
4547 @@ -315,6 +563,14 @@
4548                 basic_machine=h8300-hitachi
4549                 os=-hms
4550                 ;;
4551 +       h8300xray)
4552 +               basic_machine=h8300-hitachi
4553 +               os=-xray
4554 +               ;;
4555 +       h8500hms)
4556 +               basic_machine=h8500-hitachi
4557 +               os=-hms
4558 +               ;;
4559         harris)
4560                 basic_machine=m88k-harris
4561                 os=-sysv3
4562 @@ -330,13 +586,30 @@
4563                 basic_machine=m68k-hp
4564                 os=-hpux
4565                 ;;
4566 +       hp3k9[0-9][0-9] | hp9[0-9][0-9])
4567 +               basic_machine=hppa1.0-hp
4568 +               ;;
4569         hp9k2[0-9][0-9] | hp9k31[0-9])
4570                 basic_machine=m68000-hp
4571                 ;;
4572         hp9k3[2-9][0-9])
4573                 basic_machine=m68k-hp
4574                 ;;
4575 -       hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
4576 +       hp9k6[0-9][0-9] | hp6[0-9][0-9])
4577 +               basic_machine=hppa1.0-hp
4578 +               ;;
4579 +       hp9k7[0-79][0-9] | hp7[0-79][0-9])
4580 +               basic_machine=hppa1.1-hp
4581 +               ;;
4582 +       hp9k78[0-9] | hp78[0-9])
4583 +               # FIXME: really hppa2.0-hp
4584 +               basic_machine=hppa1.1-hp
4585 +               ;;
4586 +       hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
4587 +               # FIXME: really hppa2.0-hp
4588 +               basic_machine=hppa1.1-hp
4589 +               ;;
4590 +       hp9k8[0-9][13679] | hp8[0-9][13679])
4591                 basic_machine=hppa1.1-hp
4592                 ;;
4593         hp9k8[0-9][0-9] | hp8[0-9][0-9])
4594 @@ -345,27 +618,42 @@
4595         hppa-next)
4596                 os=-nextstep3
4597                 ;;
4598 +       hppaosf)
4599 +               basic_machine=hppa1.1-hp
4600 +               os=-osf
4601 +               ;;
4602 +       hppro)
4603 +               basic_machine=hppa1.1-hp
4604 +               os=-proelf
4605 +               ;;
4606         i370-ibm* | ibm*)
4607                 basic_machine=i370-ibm
4608 -               os=-mvs
4609                 ;;
4610  # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
4611 -       i[34567]86v32)
4612 +       i*86v32)
4613                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4614                 os=-sysv32
4615                 ;;
4616 -       i[34567]86v4*)
4617 +       i*86v4*)
4618                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4619                 os=-sysv4
4620                 ;;
4621 -       i[34567]86v)
4622 +       i*86v)
4623                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4624                 os=-sysv
4625                 ;;
4626 -       i[34567]86sol2)
4627 +       i*86sol2)
4628                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4629                 os=-solaris2
4630                 ;;
4631 +       i386mach)
4632 +               basic_machine=i386-mach
4633 +               os=-mach
4634 +               ;;
4635 +       i386-vsta | vsta)
4636 +               basic_machine=i386-unknown
4637 +               os=-vsta
4638 +               ;;
4639         iris | iris4d)
4640                 basic_machine=mips-sgi
4641                 case $os in
4642 @@ -391,16 +679,16 @@
4643                 basic_machine=ns32k-utek
4644                 os=-sysv
4645                 ;;
4646 +       mingw32)
4647 +               basic_machine=i386-pc
4648 +               os=-mingw32
4649 +               ;;
4650         miniframe)
4651                 basic_machine=m68000-convergent
4652                 ;;
4653 -       mipsel*-linux*)
4654 -               basic_machine=mipsel-unknown
4655 -               os=-linux-gnu
4656 -               ;;
4657 -       mips*-linux*)
4658 -               basic_machine=mips-unknown
4659 -               os=-linux-gnu
4660 +       *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
4661 +               basic_machine=m68k-atari
4662 +               os=-mint
4663                 ;;
4664         mips3*-*)
4665                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
4666 @@ -408,10 +696,37 @@
4667         mips3*)
4668                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
4669                 ;;
4670 +       monitor)
4671 +               basic_machine=m68k-rom68k
4672 +               os=-coff
4673 +               ;;
4674 +       morphos)
4675 +               basic_machine=powerpc-unknown
4676 +               os=-morphos
4677 +               ;;
4678 +       msdos)
4679 +               basic_machine=i386-pc
4680 +               os=-msdos
4681 +               ;;
4682 +       ms1-*)
4683 +               basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
4684 +               ;;
4685 +       mvs)
4686 +               basic_machine=i370-ibm
4687 +               os=-mvs
4688 +               ;;
4689         ncr3000)
4690                 basic_machine=i486-ncr
4691                 os=-sysv4
4692                 ;;
4693 +       netbsd386)
4694 +               basic_machine=i386-unknown
4695 +               os=-netbsd
4696 +               ;;
4697 +       netwinder)
4698 +               basic_machine=armv4l-rebel
4699 +               os=-linux
4700 +               ;;
4701         news | news700 | news800 | news900)
4702                 basic_machine=m68k-sony
4703                 os=-newsos
4704 @@ -424,6 +739,10 @@
4705                 basic_machine=mips-sony
4706                 os=-newsos
4707                 ;;
4708 +       necv70)
4709 +               basic_machine=v70-nec
4710 +               os=-sysv
4711 +               ;;
4712         next | m*-next )
4713                 basic_machine=m68k-next
4714                 case $os in
4715 @@ -449,9 +768,39 @@
4716                 basic_machine=i960-intel
4717                 os=-nindy
4718                 ;;
4719 +       mon960)
4720 +               basic_machine=i960-intel
4721 +               os=-mon960
4722 +               ;;
4723 +       nonstopux)
4724 +               basic_machine=mips-compaq
4725 +               os=-nonstopux
4726 +               ;;
4727         np1)
4728                 basic_machine=np1-gould
4729                 ;;
4730 +       nsr-tandem)
4731 +               basic_machine=nsr-tandem
4732 +               ;;
4733 +       op50n-* | op60c-*)
4734 +               basic_machine=hppa1.1-oki
4735 +               os=-proelf
4736 +               ;;
4737 +       openrisc | openrisc-*)
4738 +               basic_machine=or32-unknown
4739 +               ;;
4740 +       os400)
4741 +               basic_machine=powerpc-ibm
4742 +               os=-os400
4743 +               ;;
4744 +       OSE68000 | ose68000)
4745 +               basic_machine=m68000-ericsson
4746 +               os=-ose
4747 +               ;;
4748 +       os68k)
4749 +               basic_machine=m68k-none
4750 +               os=-os68k
4751 +               ;;
4752         pa-hitachi)
4753                 basic_machine=hppa1.1-hitachi
4754                 os=-hiuxwe2
4755 @@ -466,51 +815,109 @@
4756         pbb)
4757                 basic_machine=m68k-tti
4758                 ;;
4759 -        pc532 | pc532-*)
4760 +       pc532 | pc532-*)
4761                 basic_machine=ns32k-pc532
4762                 ;;
4763 -       pentium | p5 | k5 | nexen)
4764 +       pc98)
4765 +               basic_machine=i386-pc
4766 +               ;;
4767 +       pc98-*)
4768 +               basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
4769 +               ;;
4770 +       pentium | p5 | k5 | k6 | nexgen | viac3)
4771                 basic_machine=i586-pc
4772                 ;;
4773 -       pentiumpro | p6 | k6 | 6x86)
4774 +       pentiumpro | p6 | 6x86 | athlon | athlon_*)
4775                 basic_machine=i686-pc
4776                 ;;
4777 -       pentiumii | pentium2)
4778 +       pentiumii | pentium2 | pentiumiii | pentium3)
4779 +               basic_machine=i686-pc
4780 +               ;;
4781 +       pentium4)
4782                 basic_machine=i786-pc
4783                 ;;
4784 -       pentium-* | p5-* | k5-* | nexen-*)
4785 +       pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
4786                 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
4787                 ;;
4788 -       pentiumpro-* | p6-* | k6-* | 6x86-*)
4789 +       pentiumpro-* | p6-* | 6x86-* | athlon-*)
4790 +               basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
4791 +               ;;
4792 +       pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
4793                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
4794                 ;;
4795 -       pentiumii-* | pentium2-*)
4796 +       pentium4-*)
4797                 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
4798                 ;;
4799         pn)
4800                 basic_machine=pn-gould
4801                 ;;
4802 -       power)  basic_machine=rs6000-ibm
4803 +       power)  basic_machine=power-ibm
4804                 ;;
4805         ppc)    basic_machine=powerpc-unknown
4806 -               ;;
4807 +               ;;
4808         ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
4809                 ;;
4810         ppcle | powerpclittle | ppc-le | powerpc-little)
4811                 basic_machine=powerpcle-unknown
4812 -               ;;
4813 +               ;;
4814         ppcle-* | powerpclittle-*)
4815                 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
4816                 ;;
4817 +       ppc64)  basic_machine=powerpc64-unknown
4818 +               ;;
4819 +       ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
4820 +               ;;
4821 +       ppc64le | powerpc64little | ppc64-le | powerpc64-little)
4822 +               basic_machine=powerpc64le-unknown
4823 +               ;;
4824 +       ppc64le-* | powerpc64little-*)
4825 +               basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
4826 +               ;;
4827         ps2)
4828                 basic_machine=i386-ibm
4829                 ;;
4830 +       pw32)
4831 +               basic_machine=i586-unknown
4832 +               os=-pw32
4833 +               ;;
4834 +       rdos)
4835 +               basic_machine=i386-pc
4836 +               os=-rdos
4837 +               ;;
4838 +       rom68k)
4839 +               basic_machine=m68k-rom68k
4840 +               os=-coff
4841 +               ;;
4842         rm[46]00)
4843                 basic_machine=mips-siemens
4844                 ;;
4845         rtpc | rtpc-*)
4846                 basic_machine=romp-ibm
4847                 ;;
4848 +       s390 | s390-*)
4849 +               basic_machine=s390-ibm
4850 +               ;;
4851 +       s390x | s390x-*)
4852 +               basic_machine=s390x-ibm
4853 +               ;;
4854 +       sa29200)
4855 +               basic_machine=a29k-amd
4856 +               os=-udi
4857 +               ;;
4858 +       sb1)
4859 +               basic_machine=mipsisa64sb1-unknown
4860 +               ;;
4861 +       sb1el)
4862 +               basic_machine=mipsisa64sb1el-unknown
4863 +               ;;
4864 +       sde)
4865 +               basic_machine=mipsisa32-sde
4866 +               os=-elf
4867 +               ;;
4868 +       sei)
4869 +               basic_machine=mips-sei
4870 +               os=-seiux
4871 +               ;;
4872         sequent)
4873                 basic_machine=i386-sequent
4874                 ;;
4875 @@ -518,6 +925,13 @@
4876                 basic_machine=sh-hitachi
4877                 os=-hms
4878                 ;;
4879 +       sh64)
4880 +               basic_machine=sh64-unknown
4881 +               ;;
4882 +       sparclite-wrs | simso-wrs)
4883 +               basic_machine=sparclite-wrs
4884 +               os=-vxworks
4885 +               ;;
4886         sps7)
4887                 basic_machine=m68k-bull
4888                 os=-sysv2
4889 @@ -525,6 +939,13 @@
4890         spur)
4891                 basic_machine=spur-unknown
4892                 ;;
4893 +       st2000)
4894 +               basic_machine=m68k-tandem
4895 +               ;;
4896 +       stratus)
4897 +               basic_machine=i860-stratus
4898 +               os=-sysv4
4899 +               ;;
4900         sun2)
4901                 basic_machine=m68000-sun
4902                 ;;
4903 @@ -565,19 +986,51 @@
4904         sun386 | sun386i | roadrunner)
4905                 basic_machine=i386-sun
4906                 ;;
4907 +       sv1)
4908 +               basic_machine=sv1-cray
4909 +               os=-unicos
4910 +               ;;
4911         symmetry)
4912                 basic_machine=i386-sequent
4913                 os=-dynix
4914                 ;;
4915 +       t3e)
4916 +               basic_machine=alphaev5-cray
4917 +               os=-unicos
4918 +               ;;
4919 +       t90)
4920 +               basic_machine=t90-cray
4921 +               os=-unicos
4922 +               ;;
4923 +       tic54x | c54x*)
4924 +               basic_machine=tic54x-unknown
4925 +               os=-coff
4926 +               ;;
4927 +       tic55x | c55x*)
4928 +               basic_machine=tic55x-unknown
4929 +               os=-coff
4930 +               ;;
4931 +       tic6x | c6x*)
4932 +               basic_machine=tic6x-unknown
4933 +               os=-coff
4934 +               ;;
4935         tx39)
4936                 basic_machine=mipstx39-unknown
4937                 ;;
4938         tx39el)
4939                 basic_machine=mipstx39el-unknown
4940                 ;;
4941 +       toad1)
4942 +               basic_machine=pdp10-xkl
4943 +               os=-tops20
4944 +               ;;
4945         tower | tower-32)
4946                 basic_machine=m68k-ncr
4947                 ;;
4948 +       tpf)
4949 +               basic_machine=s390x-ibm
4950 +               os=-tpf
4951 +               ;;
4952         udi29k)
4953                 basic_machine=a29k-amd
4954                 os=-udi
4955 @@ -586,6 +1039,10 @@
4956                 basic_machine=a29k-nyu
4957                 os=-sym1
4958                 ;;
4959 +       v810 | necv810)
4960 +               basic_machine=v810-nec
4961 +               os=-none
4962 +               ;;
4963         vaxv)
4964                 basic_machine=vax-dec
4965                 os=-sysv
4966 @@ -595,8 +1052,8 @@
4967                 os=-vms
4968                 ;;
4969         vpp*|vx|vx-*)
4970 -               basic_machine=f301-fujitsu
4971 -               ;;
4972 +               basic_machine=f301-fujitsu
4973 +               ;;
4974         vxworks960)
4975                 basic_machine=i960-wrs
4976                 os=-vxworks
4977 @@ -609,13 +1066,29 @@
4978                 basic_machine=a29k-wrs
4979                 os=-vxworks
4980                 ;;
4981 -       xmp)
4982 -               basic_machine=xmp-cray
4983 -               os=-unicos
4984 +       w65*)
4985 +               basic_machine=w65-wdc
4986 +               os=-none
4987                 ;;
4988 -        xps | xps100)
4989 +       w89k-*)
4990 +               basic_machine=hppa1.1-winbond
4991 +               os=-proelf
4992 +               ;;
4993 +       xbox)
4994 +               basic_machine=i686-pc
4995 +               os=-mingw32
4996 +               ;;
4997 +       xps | xps100)
4998                 basic_machine=xps100-honeywell
4999                 ;;
5000 +       ymp)
5001 +               basic_machine=ymp-cray
5002 +               os=-unicos
5003 +               ;;
5004 +       z8k-*-coff)
5005 +               basic_machine=z8k-unknown
5006 +               os=-sim
5007 +               ;;
5008         none)
5009                 basic_machine=none-none
5010                 os=-none
5011 @@ -623,32 +1096,44 @@
5012  
5013  # Here we handle the default manufacturer of certain CPU types.  It is in
5014  # some cases the only manufacturer, in others, it is the most popular.
5015 -       mips)
5016 -               if [ x$os = x-linux-gnu ]; then
5017 -                       basic_machine=mips-unknown
5018 -               else
5019 -                       basic_machine=mips-mips
5020 -               fi
5021 +       w89k)
5022 +               basic_machine=hppa1.1-winbond
5023 +               ;;
5024 +       op50n)
5025 +               basic_machine=hppa1.1-oki
5026 +               ;;
5027 +       op60c)
5028 +               basic_machine=hppa1.1-oki
5029                 ;;
5030         romp)
5031                 basic_machine=romp-ibm
5032                 ;;
5033 +       mmix)
5034 +               basic_machine=mmix-knuth
5035 +               ;;
5036         rs6000)
5037                 basic_machine=rs6000-ibm
5038                 ;;
5039         vax)
5040                 basic_machine=vax-dec
5041                 ;;
5042 +       pdp10)
5043 +               # there are many clones, so DEC is not a safe bet
5044 +               basic_machine=pdp10-unknown
5045 +               ;;
5046         pdp11)
5047                 basic_machine=pdp11-dec
5048                 ;;
5049         we32k)
5050                 basic_machine=we32k-att
5051                 ;;
5052 -       sparc)
5053 +       sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
5054 +               basic_machine=sh-unknown
5055 +               ;;
5056 +       sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
5057                 basic_machine=sparc-sun
5058                 ;;
5059 -        cydra)
5060 +       cydra)
5061                 basic_machine=cydra-cydrome
5062                 ;;
5063         orion)
5064 @@ -657,6 +1142,15 @@
5065         orion105)
5066                 basic_machine=clipper-highlevel
5067                 ;;
5068 +       mac | mpw | mac-mpw)
5069 +               basic_machine=m68k-apple
5070 +               ;;
5071 +       pmac | pmac-mpw)
5072 +               basic_machine=powerpc-apple
5073 +               ;;
5074 +       *-unknown)
5075 +               # Make sure to match an already-canonicalized machine name.
5076 +               ;;
5077         *)
5078                 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
5079                 exit 1
5080 @@ -709,14 +1203,49 @@
5081               | -aos* \
5082               | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
5083               | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
5084 -             | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
5085 -             | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
5086 +             | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
5087 +             | -openbsd* | -solidbsd* \
5088 +             | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
5089 +             | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
5090               | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
5091               | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
5092 -             | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
5093 -             | -mingw32* | -linux-gnu* | -uxpv*)
5094 +             | -chorusos* | -chorusrdb* \
5095 +             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
5096 +             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
5097 +             | -uxpv* | -beos* | -mpeix* | -udk* \
5098 +             | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
5099 +             | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
5100 +             | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
5101 +             | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
5102 +             | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
5103 +             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
5104 +             | -skyos* | -haiku* | -rdos* | -toppers*)
5105         # Remember, each alternative MUST END IN *, to match a version number.
5106                 ;;
5107 +       -qnx*)
5108 +               case $basic_machine in
5109 +                   x86-* | i*86-*)
5110 +                       ;;
5111 +                   *)
5112 +                       os=-nto$os
5113 +                       ;;
5114 +               esac
5115 +               ;;
5116 +       -nto-qnx*)
5117 +               ;;
5118 +       -nto*)
5119 +               os=`echo $os | sed -e 's|nto|nto-qnx|'`
5120 +               ;;
5121 +       -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
5122 +             | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
5123 +             | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
5124 +               ;;
5125 +       -mac*)
5126 +               os=`echo $os | sed -e 's|mac|macos|'`
5127 +               ;;
5128 +       -linux-dietlibc)
5129 +               os=-linux-dietlibc
5130 +               ;;
5131         -linux*)
5132                 os=`echo $os | sed -e 's|linux|linux-gnu|'`
5133                 ;;
5134 @@ -726,6 +1255,15 @@
5135         -sunos6*)
5136                 os=`echo $os | sed -e 's|sunos6|solaris3|'`
5137                 ;;
5138 +       -opened*)
5139 +               os=-openedition
5140 +               ;;
5141 +        -os400*)
5142 +               os=-os400
5143 +               ;;
5144 +       -wince*)
5145 +               os=-wince
5146 +               ;;
5147         -osfrose*)
5148                 os=-osfrose
5149                 ;;
5150 @@ -741,11 +1279,26 @@
5151         -acis*)
5152                 os=-aos
5153                 ;;
5154 +       -atheos*)
5155 +               os=-atheos
5156 +               ;;
5157 +       -syllable*)
5158 +               os=-syllable
5159 +               ;;
5160 +       -386bsd)
5161 +               os=-bsd
5162 +               ;;
5163         -ctix* | -uts*)
5164                 os=-sysv
5165                 ;;
5166 +       -nova*)
5167 +               os=-rtmk-nova
5168 +               ;;
5169         -ns2 )
5170 -               os=-nextstep2
5171 +               os=-nextstep2
5172 +               ;;
5173 +       -nsk*)
5174 +               os=-nsk
5175                 ;;
5176         # Preserve the version number of sinix5.
5177         -sinix5.*)
5178 @@ -754,6 +1307,9 @@
5179         -sinix*)
5180                 os=-sysv4
5181                 ;;
5182 +        -tpf*)
5183 +               os=-tpf
5184 +               ;;
5185         -triton*)
5186                 os=-sysv3
5187                 ;;
5188 @@ -772,9 +1328,27 @@
5189         # This must come after -sysvr4.
5190         -sysv*)
5191                 ;;
5192 +       -ose*)
5193 +               os=-ose
5194 +               ;;
5195 +       -es1800*)
5196 +               os=-ose
5197 +               ;;
5198         -xenix)
5199                 os=-xenix
5200                 ;;
5201 +       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
5202 +               os=-mint
5203 +               ;;
5204 +       -aros*)
5205 +               os=-aros
5206 +               ;;
5207 +       -kaos*)
5208 +               os=-kaos
5209 +               ;;
5210 +       -zvmoe)
5211 +               os=-zvmoe
5212 +               ;;
5213         -none)
5214                 ;;
5215         *)
5216 @@ -797,13 +1371,29 @@
5217  # system, and we'll never get to this point.
5218  
5219  case $basic_machine in
5220 +        score-*)
5221 +               os=-elf
5222 +               ;;
5223 +        spu-*)
5224 +               os=-elf
5225 +               ;;
5226         *-acorn)
5227                 os=-riscix1.2
5228                 ;;
5229 +       arm*-rebel)
5230 +               os=-linux
5231 +               ;;
5232         arm*-semi)
5233                 os=-aout
5234                 ;;
5235 -        pdp11-*)
5236 +        c4x-* | tic4x-*)
5237 +               os=-coff
5238 +               ;;
5239 +       # This must come before the *-dec entry.
5240 +       pdp10-*)
5241 +               os=-tops20
5242 +               ;;
5243 +       pdp11-*)
5244                 os=-none
5245                 ;;
5246         *-dec | vax-*)
5247 @@ -821,15 +1411,45 @@
5248                 # default.
5249                 # os=-sunos4
5250                 ;;
5251 +       m68*-cisco)
5252 +               os=-aout
5253 +               ;;
5254 +       mips*-cisco)
5255 +               os=-elf
5256 +               ;;
5257 +       mips*-*)
5258 +               os=-elf
5259 +               ;;
5260 +       or32-*)
5261 +               os=-coff
5262 +               ;;
5263         *-tti)  # must be before sparc entry or we get the wrong os.
5264                 os=-sysv3
5265                 ;;
5266         sparc-* | *-sun)
5267                 os=-sunos4.1.1
5268                 ;;
5269 +       *-be)
5270 +               os=-beos
5271 +               ;;
5272 +       *-haiku)
5273 +               os=-haiku
5274 +               ;;
5275         *-ibm)
5276                 os=-aix
5277                 ;;
5278 +       *-knuth)
5279 +               os=-mmixware
5280 +               ;;
5281 +       *-wec)
5282 +               os=-proelf
5283 +               ;;
5284 +       *-winbond)
5285 +               os=-proelf
5286 +               ;;
5287 +       *-oki)
5288 +               os=-proelf
5289 +               ;;
5290         *-hp)
5291                 os=-hpux
5292                 ;;
5293 @@ -872,27 +1492,39 @@
5294         *-next)
5295                 os=-nextstep3
5296                 ;;
5297 -        *-gould)
5298 +       *-gould)
5299                 os=-sysv
5300                 ;;
5301 -        *-highlevel)
5302 +       *-highlevel)
5303                 os=-bsd
5304                 ;;
5305         *-encore)
5306                 os=-bsd
5307                 ;;
5308 -        *-sgi)
5309 +       *-sgi)
5310                 os=-irix
5311                 ;;
5312 -        *-siemens)
5313 +       *-siemens)
5314                 os=-sysv4
5315                 ;;
5316         *-masscomp)
5317                 os=-rtu
5318                 ;;
5319 -       f301-fujitsu)
5320 +       f30[01]-fujitsu | f700-fujitsu)
5321                 os=-uxpv
5322                 ;;
5323 +       *-rom68k)
5324 +               os=-coff
5325 +               ;;
5326 +       *-*bug)
5327 +               os=-coff
5328 +               ;;
5329 +       *-apple)
5330 +               os=-macos
5331 +               ;;
5332 +       *-atari*)
5333 +               os=-mint
5334 +               ;;
5335         *)
5336                 os=-none
5337                 ;;
5338 @@ -914,9 +1546,15 @@
5339                         -aix*)
5340                                 vendor=ibm
5341                                 ;;
5342 +                       -beos*)
5343 +                               vendor=be
5344 +                               ;;
5345                         -hpux*)
5346                                 vendor=hp
5347                                 ;;
5348 +                       -mpeix*)
5349 +                               vendor=hp
5350 +                               ;;
5351                         -hiux*)
5352                                 vendor=hitachi
5353                                 ;;
5354 @@ -932,21 +1570,47 @@
5355                         -genix*)
5356                                 vendor=ns
5357                                 ;;
5358 -                       -mvs*)
5359 +                       -mvs* | -opened*)
5360 +                               vendor=ibm
5361 +                               ;;
5362 +                       -os400*)
5363                                 vendor=ibm
5364                                 ;;
5365                         -ptx*)
5366                                 vendor=sequent
5367                                 ;;
5368 -                       -vxsim* | -vxworks*)
5369 +                       -tpf*)
5370 +                               vendor=ibm
5371 +                               ;;
5372 +                       -vxsim* | -vxworks* | -windiss*)
5373                                 vendor=wrs
5374                                 ;;
5375                         -aux*)
5376                                 vendor=apple
5377                                 ;;
5378 +                       -hms*)
5379 +                               vendor=hitachi
5380 +                               ;;
5381 +                       -mpw* | -macos*)
5382 +                               vendor=apple
5383 +                               ;;
5384 +                       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
5385 +                               vendor=atari
5386 +                               ;;
5387 +                       -vos*)
5388 +                               vendor=stratus
5389 +                               ;;
5390                 esac
5391                 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
5392                 ;;
5393  esac
5394  
5395  echo $basic_machine$os
5396 +exit
5397 +
5398 +# Local variables:
5399 +# eval: (add-hook 'write-file-hooks 'time-stamp)
5400 +# time-stamp-start: "timestamp='"
5401 +# time-stamp-format: "%:y-%02m-%02d"
5402 +# time-stamp-end: "'"
5403 +# End:
5404 Index: ez-ipupdate-3.0.11b8/configure
5405 ===================================================================
5406 --- ez-ipupdate-3.0.11b8.orig/configure 2003-04-17 19:39:14.000000000 +0200
5407 +++ ez-ipupdate-3.0.11b8/configure      2007-03-08 16:34:50.000000000 +0100
5408 @@ -1,35 +1,731 @@
5409  #! /bin/sh
5410 -
5411  # Guess values for system-dependent variables and create Makefiles.
5412 -# Generated automatically using autoconf version 2.12 
5413 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
5414 +# Generated by GNU Autoconf 2.61.
5415  #
5416 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5417 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5418  # This configure script is free software; the Free Software Foundation
5419  # gives unlimited permission to copy, distribute and modify it.
5420 +## --------------------- ##
5421 +## M4sh Initialization.  ##
5422 +## --------------------- ##
5423 +
5424 +# Be more Bourne compatible
5425 +DUALCASE=1; export DUALCASE # for MKS sh
5426 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5427 +  emulate sh
5428 +  NULLCMD=:
5429 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5430 +  # is contrary to our usage.  Disable this feature.
5431 +  alias -g '${1+"$@"}'='"$@"'
5432 +  setopt NO_GLOB_SUBST
5433 +else
5434 +  case `(set -o) 2>/dev/null` in
5435 +  *posix*) set -o posix ;;
5436 +esac
5437 +
5438 +fi
5439 +
5440 +
5441 +
5442 +
5443 +# PATH needs CR
5444 +# Avoid depending upon Character Ranges.
5445 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5446 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5447 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5448 +as_cr_digits='0123456789'
5449 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5450 +
5451 +# The user is always right.
5452 +if test "${PATH_SEPARATOR+set}" != set; then
5453 +  echo "#! /bin/sh" >conf$$.sh
5454 +  echo  "exit 0"   >>conf$$.sh
5455 +  chmod +x conf$$.sh
5456 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5457 +    PATH_SEPARATOR=';'
5458 +  else
5459 +    PATH_SEPARATOR=:
5460 +  fi
5461 +  rm -f conf$$.sh
5462 +fi
5463 +
5464 +# Support unset when possible.
5465 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5466 +  as_unset=unset
5467 +else
5468 +  as_unset=false
5469 +fi
5470 +
5471 +
5472 +# IFS
5473 +# We need space, tab and new line, in precisely that order.  Quoting is
5474 +# there to prevent editors from complaining about space-tab.
5475 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5476 +# splitting by setting IFS to empty value.)
5477 +as_nl='
5478 +'
5479 +IFS=" ""       $as_nl"
5480 +
5481 +# Find who we are.  Look in the path if we contain no directory separator.
5482 +case $0 in
5483 +  *[\\/]* ) as_myself=$0 ;;
5484 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 +for as_dir in $PATH
5486 +do
5487 +  IFS=$as_save_IFS
5488 +  test -z "$as_dir" && as_dir=.
5489 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5490 +done
5491 +IFS=$as_save_IFS
5492 +
5493 +     ;;
5494 +esac
5495 +# We did not find ourselves, most probably we were run as `sh COMMAND'
5496 +# in which case we are not to be found in the path.
5497 +if test "x$as_myself" = x; then
5498 +  as_myself=$0
5499 +fi
5500 +if test ! -f "$as_myself"; then
5501 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5502 +  { (exit 1); exit 1; }
5503 +fi
5504 +
5505 +# Work around bugs in pre-3.0 UWIN ksh.
5506 +for as_var in ENV MAIL MAILPATH
5507 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5508 +done
5509 +PS1='$ '
5510 +PS2='> '
5511 +PS4='+ '
5512 +
5513 +# NLS nuisances.
5514 +for as_var in \
5515 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5516 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5517 +  LC_TELEPHONE LC_TIME
5518 +do
5519 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5520 +    eval $as_var=C; export $as_var
5521 +  else
5522 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5523 +  fi
5524 +done
5525 +
5526 +# Required to use basename.
5527 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5528 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5529 +  as_expr=expr
5530 +else
5531 +  as_expr=false
5532 +fi
5533 +
5534 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5535 +  as_basename=basename
5536 +else
5537 +  as_basename=false
5538 +fi
5539 +
5540 +
5541 +# Name of the executable.
5542 +as_me=`$as_basename -- "$0" ||
5543 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5544 +        X"$0" : 'X\(//\)$' \| \
5545 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5546 +echo X/"$0" |
5547 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
5548 +           s//\1/
5549 +           q
5550 +         }
5551 +         /^X\/\(\/\/\)$/{
5552 +           s//\1/
5553 +           q
5554 +         }
5555 +         /^X\/\(\/\).*/{
5556 +           s//\1/
5557 +           q
5558 +         }
5559 +         s/.*/./; q'`
5560 +
5561 +# CDPATH.
5562 +$as_unset CDPATH
5563 +
5564 +
5565 +if test "x$CONFIG_SHELL" = x; then
5566 +  if (eval ":") 2>/dev/null; then
5567 +  as_have_required=yes
5568 +else
5569 +  as_have_required=no
5570 +fi
5571 +
5572 +  if test $as_have_required = yes &&    (eval ":
5573 +(as_func_return () {
5574 +  (exit \$1)
5575 +}
5576 +as_func_success () {
5577 +  as_func_return 0
5578 +}
5579 +as_func_failure () {
5580 +  as_func_return 1
5581 +}
5582 +as_func_ret_success () {
5583 +  return 0
5584 +}
5585 +as_func_ret_failure () {
5586 +  return 1
5587 +}
5588 +
5589 +exitcode=0
5590 +if as_func_success; then
5591 +  :
5592 +else
5593 +  exitcode=1
5594 +  echo as_func_success failed.
5595 +fi
5596 +
5597 +if as_func_failure; then
5598 +  exitcode=1
5599 +  echo as_func_failure succeeded.
5600 +fi
5601 +
5602 +if as_func_ret_success; then
5603 +  :
5604 +else
5605 +  exitcode=1
5606 +  echo as_func_ret_success failed.
5607 +fi
5608 +
5609 +if as_func_ret_failure; then
5610 +  exitcode=1
5611 +  echo as_func_ret_failure succeeded.
5612 +fi
5613 +
5614 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5615 +  :
5616 +else
5617 +  exitcode=1
5618 +  echo positional parameters were not saved.
5619 +fi
5620 +
5621 +test \$exitcode = 0) || { (exit 1); exit 1; }
5622 +
5623 +(
5624 +  as_lineno_1=\$LINENO
5625 +  as_lineno_2=\$LINENO
5626 +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
5627 +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
5628 +") 2> /dev/null; then
5629 +  :
5630 +else
5631 +  as_candidate_shells=
5632 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5634 +do
5635 +  IFS=$as_save_IFS
5636 +  test -z "$as_dir" && as_dir=.
5637 +  case $as_dir in
5638 +        /*)
5639 +          for as_base in sh bash ksh sh5; do
5640 +            as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
5641 +          done;;
5642 +       esac
5643 +done
5644 +IFS=$as_save_IFS
5645 +
5646 +
5647 +      for as_shell in $as_candidate_shells $SHELL; do
5648 +        # Try only shells that exist, to save several forks.
5649 +        if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
5650 +               { ("$as_shell") 2> /dev/null <<\_ASEOF
5651 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5652 +  emulate sh
5653 +  NULLCMD=:
5654 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5655 +  # is contrary to our usage.  Disable this feature.
5656 +  alias -g '${1+"$@"}'='"$@"'
5657 +  setopt NO_GLOB_SUBST
5658 +else
5659 +  case `(set -o) 2>/dev/null` in
5660 +  *posix*) set -o posix ;;
5661 +esac
5662 +
5663 +fi
5664 +
5665 +
5666 +:
5667 +_ASEOF
5668 +}; then
5669 +  CONFIG_SHELL=$as_shell
5670 +              as_have_required=yes
5671 +              if { "$as_shell" 2> /dev/null <<\_ASEOF
5672 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5673 +  emulate sh
5674 +  NULLCMD=:
5675 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5676 +  # is contrary to our usage.  Disable this feature.
5677 +  alias -g '${1+"$@"}'='"$@"'
5678 +  setopt NO_GLOB_SUBST
5679 +else
5680 +  case `(set -o) 2>/dev/null` in
5681 +  *posix*) set -o posix ;;
5682 +esac
5683 +
5684 +fi
5685 +
5686 +
5687 +:
5688 +(as_func_return () {
5689 +  (exit $1)
5690 +}
5691 +as_func_success () {
5692 +  as_func_return 0
5693 +}
5694 +as_func_failure () {
5695 +  as_func_return 1
5696 +}
5697 +as_func_ret_success () {
5698 +  return 0
5699 +}
5700 +as_func_ret_failure () {
5701 +  return 1
5702 +}
5703 +
5704 +exitcode=0
5705 +if as_func_success; then
5706 +  :
5707 +else
5708 +  exitcode=1
5709 +  echo as_func_success failed.
5710 +fi
5711 +
5712 +if as_func_failure; then
5713 +  exitcode=1
5714 +  echo as_func_failure succeeded.
5715 +fi
5716 +
5717 +if as_func_ret_success; then
5718 +  :
5719 +else
5720 +  exitcode=1
5721 +  echo as_func_ret_success failed.
5722 +fi
5723 +
5724 +if as_func_ret_failure; then
5725 +  exitcode=1
5726 +  echo as_func_ret_failure succeeded.
5727 +fi
5728 +
5729 +if ( set x; as_func_ret_success y && test x = "$1" ); then
5730 +  :
5731 +else
5732 +  exitcode=1
5733 +  echo positional parameters were not saved.
5734 +fi
5735 +
5736 +test $exitcode = 0) || { (exit 1); exit 1; }
5737 +
5738 +(
5739 +  as_lineno_1=$LINENO
5740 +  as_lineno_2=$LINENO
5741 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
5742 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
5743 +
5744 +_ASEOF
5745 +}; then
5746 +  break
5747 +fi
5748 +
5749 +fi
5750 +
5751 +      done
5752 +
5753 +      if test "x$CONFIG_SHELL" != x; then
5754 +  for as_var in BASH_ENV ENV
5755 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5756 +        done
5757 +        export CONFIG_SHELL
5758 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
5759 +fi
5760 +
5761 +
5762 +    if test $as_have_required = no; then
5763 +  echo This script requires a shell more modern than all the
5764 +      echo shells that I found on your system.  Please install a
5765 +      echo modern shell, or manually run the script under such a
5766 +      echo shell if you do have one.
5767 +      { (exit 1); exit 1; }
5768 +fi
5769 +
5770 +
5771 +fi
5772 +
5773 +fi
5774 +
5775 +
5776 +
5777 +(eval "as_func_return () {
5778 +  (exit \$1)
5779 +}
5780 +as_func_success () {
5781 +  as_func_return 0
5782 +}
5783 +as_func_failure () {
5784 +  as_func_return 1
5785 +}
5786 +as_func_ret_success () {
5787 +  return 0
5788 +}
5789 +as_func_ret_failure () {
5790 +  return 1
5791 +}
5792 +
5793 +exitcode=0
5794 +if as_func_success; then
5795 +  :
5796 +else
5797 +  exitcode=1
5798 +  echo as_func_success failed.
5799 +fi
5800 +
5801 +if as_func_failure; then
5802 +  exitcode=1
5803 +  echo as_func_failure succeeded.
5804 +fi
5805 +
5806 +if as_func_ret_success; then
5807 +  :
5808 +else
5809 +  exitcode=1
5810 +  echo as_func_ret_success failed.
5811 +fi
5812 +
5813 +if as_func_ret_failure; then
5814 +  exitcode=1
5815 +  echo as_func_ret_failure succeeded.
5816 +fi
5817 +
5818 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5819 +  :
5820 +else
5821 +  exitcode=1
5822 +  echo positional parameters were not saved.
5823 +fi
5824 +
5825 +test \$exitcode = 0") || {
5826 +  echo No shell found that supports shell functions.
5827 +  echo Please tell autoconf@gnu.org about your system,
5828 +  echo including any error possibly output before this
5829 +  echo message
5830 +}
5831 +
5832 +
5833 +
5834 +  as_lineno_1=$LINENO
5835 +  as_lineno_2=$LINENO
5836 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
5837 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5838 +
5839 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5840 +  # uniformly replaced by the line number.  The first 'sed' inserts a
5841 +  # line-number line after each line using $LINENO; the second 'sed'
5842 +  # does the real work.  The second script uses 'N' to pair each
5843 +  # line-number line with the line containing $LINENO, and appends
5844 +  # trailing '-' during substitution so that $LINENO is not a special
5845 +  # case at line end.
5846 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5847 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5848 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
5849 +  sed -n '
5850 +    p
5851 +    /[$]LINENO/=
5852 +  ' <$as_myself |
5853 +    sed '
5854 +      s/[$]LINENO.*/&-/
5855 +      t lineno
5856 +      b
5857 +      :lineno
5858 +      N
5859 +      :loop
5860 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5861 +      t loop
5862 +      s/-\n.*//
5863 +    ' >$as_me.lineno &&
5864 +  chmod +x "$as_me.lineno" ||
5865 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5866 +   { (exit 1); exit 1; }; }
5867 +
5868 +  # Don't try to exec as it changes $[0], causing all sort of problems
5869 +  # (the dirname of $[0] is not the place where we might find the
5870 +  # original and so on.  Autoconf is especially sensitive to this).
5871 +  . "./$as_me.lineno"
5872 +  # Exit status is that of the last command.
5873 +  exit
5874 +}
5875 +
5876 +
5877 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5878 +  as_dirname=dirname
5879 +else
5880 +  as_dirname=false
5881 +fi
5882 +
5883 +ECHO_C= ECHO_N= ECHO_T=
5884 +case `echo -n x` in
5885 +-n*)
5886 +  case `echo 'x\c'` in
5887 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
5888 +  *)   ECHO_C='\c';;
5889 +  esac;;
5890 +*)
5891 +  ECHO_N='-n';;
5892 +esac
5893 +
5894 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5895 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5896 +  as_expr=expr
5897 +else
5898 +  as_expr=false
5899 +fi
5900 +
5901 +rm -f conf$$ conf$$.exe conf$$.file
5902 +if test -d conf$$.dir; then
5903 +  rm -f conf$$.dir/conf$$.file
5904 +else
5905 +  rm -f conf$$.dir
5906 +  mkdir conf$$.dir
5907 +fi
5908 +echo >conf$$.file
5909 +if ln -s conf$$.file conf$$ 2>/dev/null; then
5910 +  as_ln_s='ln -s'
5911 +  # ... but there are two gotchas:
5912 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5913 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5914 +  # In both cases, we have to default to `cp -p'.
5915 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5916 +    as_ln_s='cp -p'
5917 +elif ln conf$$.file conf$$ 2>/dev/null; then
5918 +  as_ln_s=ln
5919 +else
5920 +  as_ln_s='cp -p'
5921 +fi
5922 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5923 +rmdir conf$$.dir 2>/dev/null
5924 +
5925 +if mkdir -p . 2>/dev/null; then
5926 +  as_mkdir_p=:
5927 +else
5928 +  test -d ./-p && rmdir ./-p
5929 +  as_mkdir_p=false
5930 +fi
5931 +
5932 +if test -x / >/dev/null 2>&1; then
5933 +  as_test_x='test -x'
5934 +else
5935 +  if ls -dL / >/dev/null 2>&1; then
5936 +    as_ls_L_option=L
5937 +  else
5938 +    as_ls_L_option=
5939 +  fi
5940 +  as_test_x='
5941 +    eval sh -c '\''
5942 +      if test -d "$1"; then
5943 +        test -d "$1/.";
5944 +      else
5945 +       case $1 in
5946 +        -*)set "./$1";;
5947 +       esac;
5948 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5949 +       ???[sx]*):;;*)false;;esac;fi
5950 +    '\'' sh
5951 +  '
5952 +fi
5953 +as_executable_p=$as_test_x
5954 +
5955 +# Sed expression to map a string onto a valid CPP name.
5956 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5957 +
5958 +# Sed expression to map a string onto a valid variable name.
5959 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5960 +
5961 +
5962  
5963 -# Defaults:
5964 -ac_help=
5965 +exec 7<&0 </dev/null 6>&1
5966 +
5967 +# Name of the host.
5968 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5969 +# so uname gets run too.
5970 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5971 +
5972 +#
5973 +# Initializations.
5974 +#
5975  ac_default_prefix=/usr/local
5976 -# Any additions from configure.in:
5977 -ac_help="$ac_help
5978 -  --enable-default-service=SERVICE
5979 -                          the default service type to use
5980 -                          possibilities are: ezip, pgpow, justlinux, dhs,
5981 -                          dyndns, dyndns-static, ods, tzo, gnudip, easydns, easydns-partner, dyns, hn, zoneedit, heipv6tb"
5982 -ac_help="$ac_help
5983 -  --enable-debug          include support for debugging"
5984 -ac_help="$ac_help
5985 -  --disable-md5           disable MD5 support"
5986 +ac_clean_files=
5987 +ac_config_libobj_dir=.
5988 +LIBOBJS=
5989 +cross_compiling=no
5990 +subdirs=
5991 +MFLAGS=
5992 +MAKEFLAGS=
5993 +SHELL=${CONFIG_SHELL-/bin/sh}
5994 +
5995 +# Identity of this package.
5996 +PACKAGE_NAME=
5997 +PACKAGE_TARNAME=
5998 +PACKAGE_VERSION=
5999 +PACKAGE_STRING=
6000 +PACKAGE_BUGREPORT=
6001 +
6002 +ac_unique_file="ez-ipupdate.c"
6003 +# Factoring default headers for most tests.
6004 +ac_includes_default="\
6005 +#include <stdio.h>
6006 +#ifdef HAVE_SYS_TYPES_H
6007 +# include <sys/types.h>
6008 +#endif
6009 +#ifdef HAVE_SYS_STAT_H
6010 +# include <sys/stat.h>
6011 +#endif
6012 +#ifdef STDC_HEADERS
6013 +# include <stdlib.h>
6014 +# include <stddef.h>
6015 +#else
6016 +# ifdef HAVE_STDLIB_H
6017 +#  include <stdlib.h>
6018 +# endif
6019 +#endif
6020 +#ifdef HAVE_STRING_H
6021 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6022 +#  include <memory.h>
6023 +# endif
6024 +# include <string.h>
6025 +#endif
6026 +#ifdef HAVE_STRINGS_H
6027 +# include <strings.h>
6028 +#endif
6029 +#ifdef HAVE_INTTYPES_H
6030 +# include <inttypes.h>
6031 +#endif
6032 +#ifdef HAVE_STDINT_H
6033 +# include <stdint.h>
6034 +#endif
6035 +#ifdef HAVE_UNISTD_H
6036 +# include <unistd.h>
6037 +#endif"
6038 +
6039 +ac_subst_vars='SHELL
6040 +PATH_SEPARATOR
6041 +PACKAGE_NAME
6042 +PACKAGE_TARNAME
6043 +PACKAGE_VERSION
6044 +PACKAGE_STRING
6045 +PACKAGE_BUGREPORT
6046 +exec_prefix
6047 +prefix
6048 +program_transform_name
6049 +bindir
6050 +sbindir
6051 +libexecdir
6052 +datarootdir
6053 +datadir
6054 +sysconfdir
6055 +sharedstatedir
6056 +localstatedir
6057 +includedir
6058 +oldincludedir
6059 +docdir
6060 +infodir
6061 +htmldir
6062 +dvidir
6063 +pdfdir
6064 +psdir
6065 +libdir
6066 +localedir
6067 +mandir
6068 +DEFS
6069 +ECHO_C
6070 +ECHO_N
6071 +ECHO_T
6072 +LIBS
6073 +build_alias
6074 +host_alias
6075 +target_alias
6076 +INSTALL_PROGRAM
6077 +INSTALL_SCRIPT
6078 +INSTALL_DATA
6079 +am__isrc
6080 +CYGPATH_W
6081 +PACKAGE
6082 +VERSION
6083 +ACLOCAL
6084 +AUTOCONF
6085 +AUTOMAKE
6086 +AUTOHEADER
6087 +MAKEINFO
6088 +install_sh
6089 +STRIP
6090 +INSTALL_STRIP_PROGRAM
6091 +mkdir_p
6092 +AWK
6093 +SET_MAKE
6094 +am__leading_dot
6095 +AMTAR
6096 +am__tar
6097 +am__untar
6098 +MAINTAINER_MODE_TRUE
6099 +MAINTAINER_MODE_FALSE
6100 +MAINT
6101 +CC
6102 +CFLAGS
6103 +LDFLAGS
6104 +CPPFLAGS
6105 +ac_ct_CC
6106 +EXEEXT
6107 +OBJEXT
6108 +DEPDIR
6109 +am__include
6110 +am__quote
6111 +AMDEP_TRUE
6112 +AMDEP_FALSE
6113 +AMDEPBACKSLASH
6114 +CCDEPMODE
6115 +am__fastdepCC_TRUE
6116 +am__fastdepCC_FALSE
6117 +CPP
6118 +GREP
6119 +EGREP
6120 +HAVE_GETPASS_TRUE
6121 +HAVE_GETPASS_FALSE
6122 +build
6123 +build_cpu
6124 +build_vendor
6125 +build_os
6126 +host
6127 +host_cpu
6128 +host_vendor
6129 +host_os
6130 +LIBOBJS
6131 +LTLIBOBJS'
6132 +ac_subst_files=''
6133 +      ac_precious_vars='build_alias
6134 +host_alias
6135 +target_alias
6136 +CC
6137 +CFLAGS
6138 +LDFLAGS
6139 +LIBS
6140 +CPPFLAGS
6141 +CPP'
6142 +
6143  
6144  # Initialize some variables set by options.
6145 +ac_init_help=
6146 +ac_init_version=false
6147  # The variables have the same names as the options, with
6148  # dashes changed to underlines.
6149 -build=NONE
6150 -cache_file=./config.cache
6151 +cache_file=/dev/null
6152  exec_prefix=NONE
6153 -host=NONE
6154  no_create=
6155 -nonopt=NONE
6156  no_recursion=
6157  prefix=NONE
6158  program_prefix=NONE
6159 @@ -38,93 +734,117 @@
6160  silent=
6161  site=
6162  srcdir=
6163 -target=NONE
6164  verbose=
6165  x_includes=NONE
6166  x_libraries=NONE
6167 +
6168 +# Installation directory options.
6169 +# These are left unexpanded so users can "make install exec_prefix=/foo"
6170 +# and all the variables that are supposed to be based on exec_prefix
6171 +# by default will actually change.
6172 +# Use braces instead of parens because sh, perl, etc. also accept them.
6173 +# (The list follows the same order as the GNU Coding Standards.)
6174  bindir='${exec_prefix}/bin'
6175  sbindir='${exec_prefix}/sbin'
6176  libexecdir='${exec_prefix}/libexec'
6177 -datadir='${prefix}/share'
6178 +datarootdir='${prefix}/share'
6179 +datadir='${datarootdir}'
6180  sysconfdir='${prefix}/etc'
6181  sharedstatedir='${prefix}/com'
6182  localstatedir='${prefix}/var'
6183 -libdir='${exec_prefix}/lib'
6184  includedir='${prefix}/include'
6185  oldincludedir='/usr/include'
6186 -infodir='${prefix}/info'
6187 -mandir='${prefix}/man'
6188 -
6189 -# Initialize some other variables.
6190 -subdirs=
6191 -MFLAGS= MAKEFLAGS=
6192 -# Maximum number of lines to put in a shell here document.
6193 -ac_max_here_lines=12
6194 +docdir='${datarootdir}/doc/${PACKAGE}'
6195 +infodir='${datarootdir}/info'
6196 +htmldir='${docdir}'
6197 +dvidir='${docdir}'
6198 +pdfdir='${docdir}'
6199 +psdir='${docdir}'
6200 +libdir='${exec_prefix}/lib'
6201 +localedir='${datarootdir}/locale'
6202 +mandir='${datarootdir}/man'
6203  
6204  ac_prev=
6205 +ac_dashdash=
6206  for ac_option
6207  do
6208 -
6209    # If the previous option needs an argument, assign it.
6210    if test -n "$ac_prev"; then
6211 -    eval "$ac_prev=\$ac_option"
6212 +    eval $ac_prev=\$ac_option
6213      ac_prev=
6214      continue
6215    fi
6216  
6217 -  case "$ac_option" in
6218 -  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
6219 -  *) ac_optarg= ;;
6220 +  case $ac_option in
6221 +  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
6222 +  *)   ac_optarg=yes ;;
6223    esac
6224  
6225    # Accept the important Cygnus configure options, so we can diagnose typos.
6226  
6227 -  case "$ac_option" in
6228 +  case $ac_dashdash$ac_option in
6229 +  --)
6230 +    ac_dashdash=yes ;;
6231  
6232    -bindir | --bindir | --bindi | --bind | --bin | --bi)
6233      ac_prev=bindir ;;
6234    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
6235 -    bindir="$ac_optarg" ;;
6236 +    bindir=$ac_optarg ;;
6237  
6238    -build | --build | --buil | --bui | --bu)
6239 -    ac_prev=build ;;
6240 +    ac_prev=build_alias ;;
6241    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
6242 -    build="$ac_optarg" ;;
6243 +    build_alias=$ac_optarg ;;
6244  
6245    -cache-file | --cache-file | --cache-fil | --cache-fi \
6246    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6247      ac_prev=cache_file ;;
6248    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6249    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
6250 -    cache_file="$ac_optarg" ;;
6251 +    cache_file=$ac_optarg ;;
6252  
6253 -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6254 +  --config-cache | -C)
6255 +    cache_file=config.cache ;;
6256 +
6257 +  -datadir | --datadir | --datadi | --datad)
6258      ac_prev=datadir ;;
6259 -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6260 -  | --da=*)
6261 -    datadir="$ac_optarg" ;;
6262 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
6263 +    datadir=$ac_optarg ;;
6264 +
6265 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
6266 +  | --dataroo | --dataro | --datar)
6267 +    ac_prev=datarootdir ;;
6268 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
6269 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
6270 +    datarootdir=$ac_optarg ;;
6271  
6272    -disable-* | --disable-*)
6273 -    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
6274 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6275      # Reject names that are not valid shell variable names.
6276 -    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
6277 -      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
6278 -    fi
6279 -    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
6280 -    eval "enable_${ac_feature}=no" ;;
6281 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6282 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6283 +   { (exit 1); exit 1; }; }
6284 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6285 +    eval enable_$ac_feature=no ;;
6286 +
6287 +  -docdir | --docdir | --docdi | --doc | --do)
6288 +    ac_prev=docdir ;;
6289 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
6290 +    docdir=$ac_optarg ;;
6291 +
6292 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
6293 +    ac_prev=dvidir ;;
6294 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
6295 +    dvidir=$ac_optarg ;;
6296  
6297    -enable-* | --enable-*)
6298 -    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
6299 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6300      # Reject names that are not valid shell variable names.
6301 -    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
6302 -      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
6303 -    fi
6304 -    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
6305 -    case "$ac_option" in
6306 -      *=*) ;;
6307 -      *) ac_optarg=yes ;;
6308 -    esac
6309 -    eval "enable_${ac_feature}='$ac_optarg'" ;;
6310 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6311 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6312 +   { (exit 1); exit 1; }; }
6313 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6314 +    eval enable_$ac_feature=\$ac_optarg ;;
6315  
6316    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6317    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6318 @@ -133,116 +853,77 @@
6319    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
6320    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
6321    | --exec=* | --exe=* | --ex=*)
6322 -    exec_prefix="$ac_optarg" ;;
6323 +    exec_prefix=$ac_optarg ;;
6324  
6325    -gas | --gas | --ga | --g)
6326      # Obsolete; use --with-gas.
6327      with_gas=yes ;;
6328  
6329 -  -help | --help | --hel | --he)
6330 -    # Omit some internal or obsolete options to make the list less imposing.
6331 -    # This message is too long to be a string in the A/UX 3.1 sh.
6332 -    cat << EOF
6333 -Usage: configure [options] [host]
6334 -Options: [defaults in brackets after descriptions]
6335 -Configuration:
6336 -  --cache-file=FILE       cache test results in FILE
6337 -  --help                  print this message
6338 -  --no-create             do not create output files
6339 -  --quiet, --silent       do not print \`checking...' messages
6340 -  --version               print the version of autoconf that created configure
6341 -Directory and file names:
6342 -  --prefix=PREFIX         install architecture-independent files in PREFIX
6343 -                          [$ac_default_prefix]
6344 -  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6345 -                          [same as prefix]
6346 -  --bindir=DIR            user executables in DIR [EPREFIX/bin]
6347 -  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
6348 -  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
6349 -  --datadir=DIR           read-only architecture-independent data in DIR
6350 -                          [PREFIX/share]
6351 -  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
6352 -  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
6353 -                          [PREFIX/com]
6354 -  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
6355 -  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
6356 -  --includedir=DIR        C header files in DIR [PREFIX/include]
6357 -  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
6358 -  --infodir=DIR           info documentation in DIR [PREFIX/info]
6359 -  --mandir=DIR            man documentation in DIR [PREFIX/man]
6360 -  --srcdir=DIR            find the sources in DIR [configure dir or ..]
6361 -  --program-prefix=PREFIX prepend PREFIX to installed program names
6362 -  --program-suffix=SUFFIX append SUFFIX to installed program names
6363 -  --program-transform-name=PROGRAM
6364 -                          run sed PROGRAM on installed program names
6365 -EOF
6366 -    cat << EOF
6367 -Host type:
6368 -  --build=BUILD           configure for building on BUILD [BUILD=HOST]
6369 -  --host=HOST             configure for HOST [guessed]
6370 -  --target=TARGET         configure for TARGET [TARGET=HOST]
6371 -Features and packages:
6372 -  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
6373 -  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
6374 -  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
6375 -  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
6376 -  --x-includes=DIR        X include files are in DIR
6377 -  --x-libraries=DIR       X library files are in DIR
6378 -EOF
6379 -    if test -n "$ac_help"; then
6380 -      echo "--enable and --with options recognized:$ac_help"
6381 -    fi
6382 -    exit 0 ;;
6383 +  -help | --help | --hel | --he | -h)
6384 +    ac_init_help=long ;;
6385 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
6386 +    ac_init_help=recursive ;;
6387 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
6388 +    ac_init_help=short ;;
6389  
6390    -host | --host | --hos | --ho)
6391 -    ac_prev=host ;;
6392 +    ac_prev=host_alias ;;
6393    -host=* | --host=* | --hos=* | --ho=*)
6394 -    host="$ac_optarg" ;;
6395 +    host_alias=$ac_optarg ;;
6396 +
6397 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
6398 +    ac_prev=htmldir ;;
6399 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
6400 +  | --ht=*)
6401 +    htmldir=$ac_optarg ;;
6402  
6403    -includedir | --includedir | --includedi | --included | --include \
6404    | --includ | --inclu | --incl | --inc)
6405      ac_prev=includedir ;;
6406    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
6407    | --includ=* | --inclu=* | --incl=* | --inc=*)
6408 -    includedir="$ac_optarg" ;;
6409 +    includedir=$ac_optarg ;;
6410  
6411    -infodir | --infodir | --infodi | --infod | --info | --inf)
6412      ac_prev=infodir ;;
6413    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
6414 -    infodir="$ac_optarg" ;;
6415 +    infodir=$ac_optarg ;;
6416  
6417    -libdir | --libdir | --libdi | --libd)
6418      ac_prev=libdir ;;
6419    -libdir=* | --libdir=* | --libdi=* | --libd=*)
6420 -    libdir="$ac_optarg" ;;
6421 +    libdir=$ac_optarg ;;
6422  
6423    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
6424    | --libexe | --libex | --libe)
6425      ac_prev=libexecdir ;;
6426    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
6427    | --libexe=* | --libex=* | --libe=*)
6428 -    libexecdir="$ac_optarg" ;;
6429 +    libexecdir=$ac_optarg ;;
6430 +
6431 +  -localedir | --localedir | --localedi | --localed | --locale)
6432 +    ac_prev=localedir ;;
6433 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
6434 +    localedir=$ac_optarg ;;
6435  
6436    -localstatedir | --localstatedir | --localstatedi | --localstated \
6437 -  | --localstate | --localstat | --localsta | --localst \
6438 -  | --locals | --local | --loca | --loc | --lo)
6439 +  | --localstate | --localstat | --localsta | --localst | --locals)
6440      ac_prev=localstatedir ;;
6441    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6442 -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6443 -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6444 -    localstatedir="$ac_optarg" ;;
6445 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
6446 +    localstatedir=$ac_optarg ;;
6447  
6448    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6449      ac_prev=mandir ;;
6450    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
6451 -    mandir="$ac_optarg" ;;
6452 +    mandir=$ac_optarg ;;
6453  
6454    -nfp | --nfp | --nf)
6455      # Obsolete; use --without-fp.
6456      with_fp=no ;;
6457  
6458    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
6459 -  | --no-cr | --no-c)
6460 +  | --no-cr | --no-c | -n)
6461      no_create=yes ;;
6462  
6463    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
6464 @@ -256,26 +937,26 @@
6465    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
6466    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
6467    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
6468 -    oldincludedir="$ac_optarg" ;;
6469 +    oldincludedir=$ac_optarg ;;
6470  
6471    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6472      ac_prev=prefix ;;
6473    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6474 -    prefix="$ac_optarg" ;;
6475 +    prefix=$ac_optarg ;;
6476  
6477    -program-prefix | --program-prefix | --program-prefi | --program-pref \
6478    | --program-pre | --program-pr | --program-p)
6479      ac_prev=program_prefix ;;
6480    -program-prefix=* | --program-prefix=* | --program-prefi=* \
6481    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
6482 -    program_prefix="$ac_optarg" ;;
6483 +    program_prefix=$ac_optarg ;;
6484  
6485    -program-suffix | --program-suffix | --program-suffi | --program-suff \
6486    | --program-suf | --program-su | --program-s)
6487      ac_prev=program_suffix ;;
6488    -program-suffix=* | --program-suffix=* | --program-suffi=* \
6489    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
6490 -    program_suffix="$ac_optarg" ;;
6491 +    program_suffix=$ac_optarg ;;
6492  
6493    -program-transform-name | --program-transform-name \
6494    | --program-transform-nam | --program-transform-na \
6495 @@ -292,7 +973,17 @@
6496    | --program-transfo=* | --program-transf=* \
6497    | --program-trans=* | --program-tran=* \
6498    | --progr-tra=* | --program-tr=* | --program-t=*)
6499 -    program_transform_name="$ac_optarg" ;;
6500 +    program_transform_name=$ac_optarg ;;
6501 +
6502 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
6503 +    ac_prev=pdfdir ;;
6504 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
6505 +    pdfdir=$ac_optarg ;;
6506 +
6507 +  -psdir | --psdir | --psdi | --psd | --ps)
6508 +    ac_prev=psdir ;;
6509 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
6510 +    psdir=$ac_optarg ;;
6511  
6512    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6513    | -silent | --silent | --silen | --sile | --sil)
6514 @@ -302,7 +993,7 @@
6515      ac_prev=sbindir ;;
6516    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
6517    | --sbi=* | --sb=*)
6518 -    sbindir="$ac_optarg" ;;
6519 +    sbindir=$ac_optarg ;;
6520  
6521    -sharedstatedir | --sharedstatedir | --sharedstatedi \
6522    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
6523 @@ -313,58 +1004,53 @@
6524    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
6525    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
6526    | --sha=* | --sh=*)
6527 -    sharedstatedir="$ac_optarg" ;;
6528 +    sharedstatedir=$ac_optarg ;;
6529  
6530    -site | --site | --sit)
6531      ac_prev=site ;;
6532    -site=* | --site=* | --sit=*)
6533 -    site="$ac_optarg" ;;
6534 +    site=$ac_optarg ;;
6535  
6536    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6537      ac_prev=srcdir ;;
6538    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6539 -    srcdir="$ac_optarg" ;;
6540 +    srcdir=$ac_optarg ;;
6541  
6542    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
6543    | --syscon | --sysco | --sysc | --sys | --sy)
6544      ac_prev=sysconfdir ;;
6545    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
6546    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
6547 -    sysconfdir="$ac_optarg" ;;
6548 +    sysconfdir=$ac_optarg ;;
6549  
6550    -target | --target | --targe | --targ | --tar | --ta | --t)
6551 -    ac_prev=target ;;
6552 +    ac_prev=target_alias ;;
6553    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
6554 -    target="$ac_optarg" ;;
6555 +    target_alias=$ac_optarg ;;
6556  
6557    -v | -verbose | --verbose | --verbos | --verbo | --verb)
6558      verbose=yes ;;
6559  
6560 -  -version | --version | --versio | --versi | --vers)
6561 -    echo "configure generated by autoconf version 2.12"
6562 -    exit 0 ;;
6563 +  -version | --version | --versio | --versi | --vers | -V)
6564 +    ac_init_version=: ;;
6565  
6566    -with-* | --with-*)
6567 -    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
6568 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6569      # Reject names that are not valid shell variable names.
6570 -    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
6571 -      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
6572 -    fi
6573 -    ac_package=`echo $ac_package| sed 's/-/_/g'`
6574 -    case "$ac_option" in
6575 -      *=*) ;;
6576 -      *) ac_optarg=yes ;;
6577 -    esac
6578 -    eval "with_${ac_package}='$ac_optarg'" ;;
6579 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6580 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
6581 +   { (exit 1); exit 1; }; }
6582 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6583 +    eval with_$ac_package=\$ac_optarg ;;
6584  
6585    -without-* | --without-*)
6586 -    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
6587 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6588      # Reject names that are not valid shell variable names.
6589 -    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
6590 -      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
6591 -    fi
6592 -    ac_package=`echo $ac_package| sed 's/-/_/g'`
6593 -    eval "with_${ac_package}=no" ;;
6594 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6595 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
6596 +   { (exit 1); exit 1; }; }
6597 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6598 +    eval with_$ac_package=no ;;
6599  
6600    --x)
6601      # Obsolete; use --with-x.
6602 @@ -375,179 +1061,715 @@
6603      ac_prev=x_includes ;;
6604    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
6605    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
6606 -    x_includes="$ac_optarg" ;;
6607 +    x_includes=$ac_optarg ;;
6608  
6609    -x-libraries | --x-libraries | --x-librarie | --x-librari \
6610    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
6611      ac_prev=x_libraries ;;
6612    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6613    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6614 -    x_libraries="$ac_optarg" ;;
6615 +    x_libraries=$ac_optarg ;;
6616  
6617 -  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
6618 +  -*) { echo "$as_me: error: unrecognized option: $ac_option
6619 +Try \`$0 --help' for more information." >&2
6620 +   { (exit 1); exit 1; }; }
6621      ;;
6622  
6623 +  *=*)
6624 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6625 +    # Reject names that are not valid shell variable names.
6626 +    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6627 +      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6628 +   { (exit 1); exit 1; }; }
6629 +    eval $ac_envvar=\$ac_optarg
6630 +    export $ac_envvar ;;
6631 +
6632    *)
6633 -    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
6634 -      echo "configure: warning: $ac_option: invalid host type" 1>&2
6635 -    fi
6636 -    if test "x$nonopt" != xNONE; then
6637 -      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
6638 -    fi
6639 -    nonopt="$ac_option"
6640 +    # FIXME: should be removed in autoconf 3.0.
6641 +    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6642 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6643 +      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6644 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6645      ;;
6646  
6647    esac
6648  done
6649  
6650  if test -n "$ac_prev"; then
6651 -  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
6652 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6653 +  { echo "$as_me: error: missing argument to $ac_option" >&2
6654 +   { (exit 1); exit 1; }; }
6655  fi
6656  
6657 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
6658 +# Be sure to have absolute directory names.
6659 +for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
6660 +               datadir sysconfdir sharedstatedir localstatedir includedir \
6661 +               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
6662 +               libdir localedir mandir
6663 +do
6664 +  eval ac_val=\$$ac_var
6665 +  case $ac_val in
6666 +    [\\/$]* | ?:[\\/]* )  continue;;
6667 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6668 +  esac
6669 +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6670 +   { (exit 1); exit 1; }; }
6671 +done
6672  
6673 -# File descriptor usage:
6674 -# 0 standard input
6675 -# 1 file creation
6676 -# 2 errors and warnings
6677 -# 3 some systems may open it to /dev/tty
6678 -# 4 used on the Kubota Titan
6679 -# 6 checking for... messages and results
6680 -# 5 compiler messages saved in config.log
6681 -if test "$silent" = yes; then
6682 -  exec 6>/dev/null
6683 -else
6684 -  exec 6>&1
6685 +# There might be people who depend on the old broken behavior: `$host'
6686 +# used to hold the argument of --host etc.
6687 +# FIXME: To remove some day.
6688 +build=$build_alias
6689 +host=$host_alias
6690 +target=$target_alias
6691 +
6692 +# FIXME: To remove some day.
6693 +if test "x$host_alias" != x; then
6694 +  if test "x$build_alias" = x; then
6695 +    cross_compiling=maybe
6696 +    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6697 +    If a cross compiler is detected then cross compile mode will be used." >&2
6698 +  elif test "x$build_alias" != "x$host_alias"; then
6699 +    cross_compiling=yes
6700 +  fi
6701  fi
6702 -exec 5>./config.log
6703  
6704 -echo "\
6705 -This file contains any messages produced by compilers while
6706 -running configure, to aid debugging if configure makes a mistake.
6707 -" 1>&5
6708 +ac_tool_prefix=
6709 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
6710  
6711 -# Strip out --no-create and --no-recursion so they do not pile up.
6712 -# Also quote any args containing shell metacharacters.
6713 -ac_configure_args=
6714 -for ac_arg
6715 -do
6716 -  case "$ac_arg" in
6717 -  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
6718 -  | --no-cr | --no-c) ;;
6719 -  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
6720 -  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
6721 -  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
6722 -  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
6723 -  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
6724 -  esac
6725 -done
6726 +test "$silent" = yes && exec 6>/dev/null
6727  
6728 -# NLS nuisances.
6729 -# Only set these to C if already set.  These must not be set unconditionally
6730 -# because not all systems understand e.g. LANG=C (notably SCO).
6731 -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
6732 -# Non-C LC_CTYPE values break the ctype check.
6733 -if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
6734 -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
6735 -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
6736 -if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
6737  
6738 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
6739 -rm -rf conftest* confdefs.h
6740 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
6741 -echo > confdefs.h
6742 -
6743 -# A filename unique to this package, relative to the directory that
6744 -# configure is in, which we can look for to find out if srcdir is correct.
6745 -ac_unique_file=ez-ipupdate.c
6746 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
6747 +ac_ls_di=`ls -di .` &&
6748 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
6749 +  { echo "$as_me: error: Working directory cannot be determined" >&2
6750 +   { (exit 1); exit 1; }; }
6751 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
6752 +  { echo "$as_me: error: pwd does not report name of working directory" >&2
6753 +   { (exit 1); exit 1; }; }
6754 +
6755  
6756  # Find the source files, if location was not specified.
6757  if test -z "$srcdir"; then
6758    ac_srcdir_defaulted=yes
6759 -  # Try the directory containing this script, then its parent.
6760 -  ac_prog=$0
6761 -  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
6762 -  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
6763 +  # Try the directory containing this script, then the parent directory.
6764 +  ac_confdir=`$as_dirname -- "$0" ||
6765 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6766 +        X"$0" : 'X\(//\)[^/]' \| \
6767 +        X"$0" : 'X\(//\)$' \| \
6768 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6769 +echo X"$0" |
6770 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6771 +           s//\1/
6772 +           q
6773 +         }
6774 +         /^X\(\/\/\)[^/].*/{
6775 +           s//\1/
6776 +           q
6777 +         }
6778 +         /^X\(\/\/\)$/{
6779 +           s//\1/
6780 +           q
6781 +         }
6782 +         /^X\(\/\).*/{
6783 +           s//\1/
6784 +           q
6785 +         }
6786 +         s/.*/./; q'`
6787    srcdir=$ac_confdir
6788 -  if test ! -r $srcdir/$ac_unique_file; then
6789 +  if test ! -r "$srcdir/$ac_unique_file"; then
6790      srcdir=..
6791    fi
6792  else
6793    ac_srcdir_defaulted=no
6794  fi
6795 -if test ! -r $srcdir/$ac_unique_file; then
6796 -  if test "$ac_srcdir_defaulted" = yes; then
6797 -    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
6798 -  else
6799 -    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
6800 -  fi
6801 -fi
6802 -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
6803 +if test ! -r "$srcdir/$ac_unique_file"; then
6804 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
6805 +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6806 +   { (exit 1); exit 1; }; }
6807 +fi
6808 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
6809 +ac_abs_confdir=`(
6810 +       cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6811 +   { (exit 1); exit 1; }; }
6812 +       pwd)`
6813 +# When building in place, set srcdir=.
6814 +if test "$ac_abs_confdir" = "$ac_pwd"; then
6815 +  srcdir=.
6816 +fi
6817 +# Remove unnecessary trailing slashes from srcdir.
6818 +# Double slashes in file names in object file debugging info
6819 +# mess up M-x gdb in Emacs.
6820 +case $srcdir in
6821 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
6822 +esac
6823 +for ac_var in $ac_precious_vars; do
6824 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
6825 +  eval ac_env_${ac_var}_value=\$${ac_var}
6826 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
6827 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
6828 +done
6829  
6830 -# Prefer explicitly selected file to automatically selected ones.
6831 -if test -z "$CONFIG_SITE"; then
6832 -  if test "x$prefix" != xNONE; then
6833 -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
6834 -  else
6835 -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
6836 -  fi
6837 +#
6838 +# Report the --help message.
6839 +#
6840 +if test "$ac_init_help" = "long"; then
6841 +  # Omit some internal or obsolete options to make the list less imposing.
6842 +  # This message is too long to be a string in the A/UX 3.1 sh.
6843 +  cat <<_ACEOF
6844 +\`configure' configures this package to adapt to many kinds of systems.
6845 +
6846 +Usage: $0 [OPTION]... [VAR=VALUE]...
6847 +
6848 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
6849 +VAR=VALUE.  See below for descriptions of some of the useful variables.
6850 +
6851 +Defaults for the options are specified in brackets.
6852 +
6853 +Configuration:
6854 +  -h, --help              display this help and exit
6855 +      --help=short        display options specific to this package
6856 +      --help=recursive    display the short help of all the included packages
6857 +  -V, --version           display version information and exit
6858 +  -q, --quiet, --silent   do not print \`checking...' messages
6859 +      --cache-file=FILE   cache test results in FILE [disabled]
6860 +  -C, --config-cache      alias for \`--cache-file=config.cache'
6861 +  -n, --no-create         do not create output files
6862 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
6863 +
6864 +Installation directories:
6865 +  --prefix=PREFIX         install architecture-independent files in PREFIX
6866 +                         [$ac_default_prefix]
6867 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6868 +                         [PREFIX]
6869 +
6870 +By default, \`make install' will install all the files in
6871 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
6872 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
6873 +for instance \`--prefix=\$HOME'.
6874 +
6875 +For better control, use the options below.
6876 +
6877 +Fine tuning of the installation directories:
6878 +  --bindir=DIR           user executables [EPREFIX/bin]
6879 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
6880 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
6881 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
6882 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
6883 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
6884 +  --libdir=DIR           object code libraries [EPREFIX/lib]
6885 +  --includedir=DIR       C header files [PREFIX/include]
6886 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
6887 +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
6888 +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
6889 +  --infodir=DIR          info documentation [DATAROOTDIR/info]
6890 +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
6891 +  --mandir=DIR           man documentation [DATAROOTDIR/man]
6892 +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
6893 +  --htmldir=DIR          html documentation [DOCDIR]
6894 +  --dvidir=DIR           dvi documentation [DOCDIR]
6895 +  --pdfdir=DIR           pdf documentation [DOCDIR]
6896 +  --psdir=DIR            ps documentation [DOCDIR]
6897 +_ACEOF
6898 +
6899 +  cat <<\_ACEOF
6900 +
6901 +Program names:
6902 +  --program-prefix=PREFIX            prepend PREFIX to installed program names
6903 +  --program-suffix=SUFFIX            append SUFFIX to installed program names
6904 +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
6905 +
6906 +System types:
6907 +  --build=BUILD     configure for building on BUILD [guessed]
6908 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
6909 +_ACEOF
6910  fi
6911 -for ac_site_file in $CONFIG_SITE; do
6912 -  if test -r "$ac_site_file"; then
6913 -    echo "loading site script $ac_site_file"
6914 -    . "$ac_site_file"
6915 -  fi
6916 -done
6917  
6918 -if test -r "$cache_file"; then
6919 -  echo "loading cache $cache_file"
6920 -  . $cache_file
6921 -else
6922 -  echo "creating cache $cache_file"
6923 -  > $cache_file
6924 +if test -n "$ac_init_help"; then
6925 +
6926 +  cat <<\_ACEOF
6927 +
6928 +Optional Features:
6929 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
6930 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
6931 +  --enable-maintainer-mode  enable make rules and dependencies not useful
6932 +                         (and sometimes confusing) to the casual installer
6933 +  --disable-dependency-tracking  speeds up one-time build
6934 +  --enable-dependency-tracking   do not reject slow dependency extractors
6935 +  --enable-default-service=SERVICE
6936 +                          the default service type to use
6937 +                          possibilities are: ezip, pgpow, justlinux, dhs,
6938 +                          dyndns, dyndns-static, ods, tzo, gnudip, easydns, easydns-partner, dyns, hn, zoneedit, heipv6tb
6939 +  --enable-debug          include support for debugging
6940 +  --disable-md5           disable MD5 support
6941 +
6942 +Some influential environment variables:
6943 +  CC          C compiler command
6944 +  CFLAGS      C compiler flags
6945 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
6946 +              nonstandard directory <lib dir>
6947 +  LIBS        libraries to pass to the linker, e.g. -l<library>
6948 +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
6949 +              you have headers in a nonstandard directory <include dir>
6950 +  CPP         C preprocessor
6951 +
6952 +Use these variables to override the choices made by `configure' or to help
6953 +it to find libraries and programs with nonstandard names/locations.
6954 +
6955 +_ACEOF
6956 +ac_status=$?
6957 +fi
6958 +
6959 +if test "$ac_init_help" = "recursive"; then
6960 +  # If there are subdirs, report their specific --help.
6961 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6962 +    test -d "$ac_dir" || continue
6963 +    ac_builddir=.
6964 +
6965 +case "$ac_dir" in
6966 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6967 +*)
6968 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6969 +  # A ".." for each directory in $ac_dir_suffix.
6970 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6971 +  case $ac_top_builddir_sub in
6972 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6973 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6974 +  esac ;;
6975 +esac
6976 +ac_abs_top_builddir=$ac_pwd
6977 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
6978 +# for backward compatibility:
6979 +ac_top_builddir=$ac_top_build_prefix
6980 +
6981 +case $srcdir in
6982 +  .)  # We are building in place.
6983 +    ac_srcdir=.
6984 +    ac_top_srcdir=$ac_top_builddir_sub
6985 +    ac_abs_top_srcdir=$ac_pwd ;;
6986 +  [\\/]* | ?:[\\/]* )  # Absolute name.
6987 +    ac_srcdir=$srcdir$ac_dir_suffix;
6988 +    ac_top_srcdir=$srcdir
6989 +    ac_abs_top_srcdir=$srcdir ;;
6990 +  *) # Relative name.
6991 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6992 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
6993 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6994 +esac
6995 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6996 +
6997 +    cd "$ac_dir" || { ac_status=$?; continue; }
6998 +    # Check for guested configure.
6999 +    if test -f "$ac_srcdir/configure.gnu"; then
7000 +      echo &&
7001 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
7002 +    elif test -f "$ac_srcdir/configure"; then
7003 +      echo &&
7004 +      $SHELL "$ac_srcdir/configure" --help=recursive
7005 +    else
7006 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7007 +    fi || ac_status=$?
7008 +    cd "$ac_pwd" || { ac_status=$?; break; }
7009 +  done
7010  fi
7011  
7012 -ac_ext=c
7013 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7014 -ac_cpp='$CPP $CPPFLAGS'
7015 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7016 -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7017 -cross_compiling=$ac_cv_prog_cc_cross
7018 -
7019 -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
7020 -  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
7021 -  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
7022 -    ac_n= ac_c='
7023 -' ac_t='       '
7024 -  else
7025 -    ac_n=-n ac_c= ac_t=
7026 -  fi
7027 -else
7028 -  ac_n= ac_c='\c' ac_t=
7029 +test -n "$ac_init_help" && exit $ac_status
7030 +if $ac_init_version; then
7031 +  cat <<\_ACEOF
7032 +configure
7033 +generated by GNU Autoconf 2.61
7034 +
7035 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7036 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7037 +This configure script is free software; the Free Software Foundation
7038 +gives unlimited permission to copy, distribute and modify it.
7039 +_ACEOF
7040 +  exit
7041  fi
7042 +cat >config.log <<_ACEOF
7043 +This file contains any messages produced by compilers while
7044 +running configure, to aid debugging if configure makes a mistake.
7045  
7046 +It was created by $as_me, which was
7047 +generated by GNU Autoconf 2.61.  Invocation command line was
7048  
7049 +  $ $0 $@
7050  
7051 +_ACEOF
7052 +exec 5>>config.log
7053 +{
7054 +cat <<_ASUNAME
7055 +## --------- ##
7056 +## Platform. ##
7057 +## --------- ##
7058 +
7059 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7060 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
7061 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
7062 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
7063 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
7064 +
7065 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7066 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7067 +
7068 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7069 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7070 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7071 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
7072 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7073 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7074 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7075  
7076 +_ASUNAME
7077  
7078 -ac_aux_dir=
7079 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
7080 -  if test -f $ac_dir/install-sh; then
7081 -    ac_aux_dir=$ac_dir
7082 -    ac_install_sh="$ac_aux_dir/install-sh -c"
7083 -    break
7084 -  elif test -f $ac_dir/install.sh; then
7085 -    ac_aux_dir=$ac_dir
7086 -    ac_install_sh="$ac_aux_dir/install.sh -c"
7087 -    break
7088 -  fi
7089 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 +for as_dir in $PATH
7091 +do
7092 +  IFS=$as_save_IFS
7093 +  test -z "$as_dir" && as_dir=.
7094 +  echo "PATH: $as_dir"
7095  done
7096 -if test -z "$ac_aux_dir"; then
7097 -  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
7098 +IFS=$as_save_IFS
7099 +
7100 +} >&5
7101 +
7102 +cat >&5 <<_ACEOF
7103 +
7104 +
7105 +## ----------- ##
7106 +## Core tests. ##
7107 +## ----------- ##
7108 +
7109 +_ACEOF
7110 +
7111 +
7112 +# Keep a trace of the command line.
7113 +# Strip out --no-create and --no-recursion so they do not pile up.
7114 +# Strip out --silent because we don't want to record it for future runs.
7115 +# Also quote any args containing shell meta-characters.
7116 +# Make two passes to allow for proper duplicate-argument suppression.
7117 +ac_configure_args=
7118 +ac_configure_args0=
7119 +ac_configure_args1=
7120 +ac_must_keep_next=false
7121 +for ac_pass in 1 2
7122 +do
7123 +  for ac_arg
7124 +  do
7125 +    case $ac_arg in
7126 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
7127 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7128 +    | -silent | --silent | --silen | --sile | --sil)
7129 +      continue ;;
7130 +    *\'*)
7131 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7132 +    esac
7133 +    case $ac_pass in
7134 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
7135 +    2)
7136 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
7137 +      if test $ac_must_keep_next = true; then
7138 +       ac_must_keep_next=false # Got value, back to normal.
7139 +      else
7140 +       case $ac_arg in
7141 +         *=* | --config-cache | -C | -disable-* | --disable-* \
7142 +         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7143 +         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7144 +         | -with-* | --with-* | -without-* | --without-* | --x)
7145 +           case "$ac_configure_args0 " in
7146 +             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
7147 +           esac
7148 +           ;;
7149 +         -* ) ac_must_keep_next=true ;;
7150 +       esac
7151 +      fi
7152 +      ac_configure_args="$ac_configure_args '$ac_arg'"
7153 +      ;;
7154 +    esac
7155 +  done
7156 +done
7157 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
7158 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
7159 +
7160 +# When interrupted or exit'd, cleanup temporary files, and complete
7161 +# config.log.  We remove comments because anyway the quotes in there
7162 +# would cause problems or look ugly.
7163 +# WARNING: Use '\'' to represent an apostrophe within the trap.
7164 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
7165 +trap 'exit_status=$?
7166 +  # Save into config.log some information that might help in debugging.
7167 +  {
7168 +    echo
7169 +
7170 +    cat <<\_ASBOX
7171 +## ---------------- ##
7172 +## Cache variables. ##
7173 +## ---------------- ##
7174 +_ASBOX
7175 +    echo
7176 +    # The following way of writing the cache mishandles newlines in values,
7177 +(
7178 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
7179 +    eval ac_val=\$$ac_var
7180 +    case $ac_val in #(
7181 +    *${as_nl}*)
7182 +      case $ac_var in #(
7183 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7184 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7185 +      esac
7186 +      case $ac_var in #(
7187 +      _ | IFS | as_nl) ;; #(
7188 +      *) $as_unset $ac_var ;;
7189 +      esac ;;
7190 +    esac
7191 +  done
7192 +  (set) 2>&1 |
7193 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
7194 +    *${as_nl}ac_space=\ *)
7195 +      sed -n \
7196 +       "s/'\''/'\''\\\\'\'''\''/g;
7197 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
7198 +      ;; #(
7199 +    *)
7200 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7201 +      ;;
7202 +    esac |
7203 +    sort
7204 +)
7205 +    echo
7206 +
7207 +    cat <<\_ASBOX
7208 +## ----------------- ##
7209 +## Output variables. ##
7210 +## ----------------- ##
7211 +_ASBOX
7212 +    echo
7213 +    for ac_var in $ac_subst_vars
7214 +    do
7215 +      eval ac_val=\$$ac_var
7216 +      case $ac_val in
7217 +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7218 +      esac
7219 +      echo "$ac_var='\''$ac_val'\''"
7220 +    done | sort
7221 +    echo
7222 +
7223 +    if test -n "$ac_subst_files"; then
7224 +      cat <<\_ASBOX
7225 +## ------------------- ##
7226 +## File substitutions. ##
7227 +## ------------------- ##
7228 +_ASBOX
7229 +      echo
7230 +      for ac_var in $ac_subst_files
7231 +      do
7232 +       eval ac_val=\$$ac_var
7233 +       case $ac_val in
7234 +       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7235 +       esac
7236 +       echo "$ac_var='\''$ac_val'\''"
7237 +      done | sort
7238 +      echo
7239 +    fi
7240 +
7241 +    if test -s confdefs.h; then
7242 +      cat <<\_ASBOX
7243 +## ----------- ##
7244 +## confdefs.h. ##
7245 +## ----------- ##
7246 +_ASBOX
7247 +      echo
7248 +      cat confdefs.h
7249 +      echo
7250 +    fi
7251 +    test "$ac_signal" != 0 &&
7252 +      echo "$as_me: caught signal $ac_signal"
7253 +    echo "$as_me: exit $exit_status"
7254 +  } >&5
7255 +  rm -f core *.core core.conftest.* &&
7256 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
7257 +    exit $exit_status
7258 +' 0
7259 +for ac_signal in 1 2 13 15; do
7260 +  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
7261 +done
7262 +ac_signal=0
7263 +
7264 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
7265 +rm -f -r conftest* confdefs.h
7266 +
7267 +# Predefined preprocessor variables.
7268 +
7269 +cat >>confdefs.h <<_ACEOF
7270 +#define PACKAGE_NAME "$PACKAGE_NAME"
7271 +_ACEOF
7272 +
7273 +
7274 +cat >>confdefs.h <<_ACEOF
7275 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
7276 +_ACEOF
7277 +
7278 +
7279 +cat >>confdefs.h <<_ACEOF
7280 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
7281 +_ACEOF
7282 +
7283 +
7284 +cat >>confdefs.h <<_ACEOF
7285 +#define PACKAGE_STRING "$PACKAGE_STRING"
7286 +_ACEOF
7287 +
7288 +
7289 +cat >>confdefs.h <<_ACEOF
7290 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
7291 +_ACEOF
7292 +
7293 +
7294 +# Let the site file select an alternate cache file if it wants to.
7295 +# Prefer explicitly selected file to automatically selected ones.
7296 +if test -n "$CONFIG_SITE"; then
7297 +  set x "$CONFIG_SITE"
7298 +elif test "x$prefix" != xNONE; then
7299 +  set x "$prefix/share/config.site" "$prefix/etc/config.site"
7300 +else
7301 +  set x "$ac_default_prefix/share/config.site" \
7302 +       "$ac_default_prefix/etc/config.site"
7303 +fi
7304 +shift
7305 +for ac_site_file
7306 +do
7307 +  if test -r "$ac_site_file"; then
7308 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
7309 +echo "$as_me: loading site script $ac_site_file" >&6;}
7310 +    sed 's/^/| /' "$ac_site_file" >&5
7311 +    . "$ac_site_file"
7312 +  fi
7313 +done
7314 +
7315 +if test -r "$cache_file"; then
7316 +  # Some versions of bash will fail to source /dev/null (special
7317 +  # files actually), so we avoid doing that.
7318 +  if test -f "$cache_file"; then
7319 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
7320 +echo "$as_me: loading cache $cache_file" >&6;}
7321 +    case $cache_file in
7322 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
7323 +      *)                      . "./$cache_file";;
7324 +    esac
7325 +  fi
7326 +else
7327 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
7328 +echo "$as_me: creating cache $cache_file" >&6;}
7329 +  >$cache_file
7330 +fi
7331 +
7332 +# Check that the precious variables saved in the cache have kept the same
7333 +# value.
7334 +ac_cache_corrupted=false
7335 +for ac_var in $ac_precious_vars; do
7336 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
7337 +  eval ac_new_set=\$ac_env_${ac_var}_set
7338 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
7339 +  eval ac_new_val=\$ac_env_${ac_var}_value
7340 +  case $ac_old_set,$ac_new_set in
7341 +    set,)
7342 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
7343 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
7344 +      ac_cache_corrupted=: ;;
7345 +    ,set)
7346 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
7347 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
7348 +      ac_cache_corrupted=: ;;
7349 +    ,);;
7350 +    *)
7351 +      if test "x$ac_old_val" != "x$ac_new_val"; then
7352 +       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
7353 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
7354 +       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
7355 +echo "$as_me:   former value:  $ac_old_val" >&2;}
7356 +       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
7357 +echo "$as_me:   current value: $ac_new_val" >&2;}
7358 +       ac_cache_corrupted=:
7359 +      fi;;
7360 +  esac
7361 +  # Pass precious variables to config.status.
7362 +  if test "$ac_new_set" = set; then
7363 +    case $ac_new_val in
7364 +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
7365 +    *) ac_arg=$ac_var=$ac_new_val ;;
7366 +    esac
7367 +    case " $ac_configure_args " in
7368 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
7369 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
7370 +    esac
7371 +  fi
7372 +done
7373 +if $ac_cache_corrupted; then
7374 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
7375 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
7376 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
7377 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
7378 +   { (exit 1); exit 1; }; }
7379 +fi
7380 +
7381 +
7382 +
7383 +
7384 +
7385 +
7386 +
7387 +
7388 +
7389 +
7390 +
7391 +
7392 +
7393 +
7394 +
7395 +
7396 +
7397 +ac_ext=c
7398 +ac_cpp='$CPP $CPPFLAGS'
7399 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7400 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7401 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7402 +
7403 +
7404 +ac_config_headers="$ac_config_headers config.h"
7405 +
7406 +am__api_version='1.10'
7407 +
7408 +ac_aux_dir=
7409 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
7410 +  if test -f "$ac_dir/install-sh"; then
7411 +    ac_aux_dir=$ac_dir
7412 +    ac_install_sh="$ac_aux_dir/install-sh -c"
7413 +    break
7414 +  elif test -f "$ac_dir/install.sh"; then
7415 +    ac_aux_dir=$ac_dir
7416 +    ac_install_sh="$ac_aux_dir/install.sh -c"
7417 +    break
7418 +  elif test -f "$ac_dir/shtool"; then
7419 +    ac_aux_dir=$ac_dir
7420 +    ac_install_sh="$ac_aux_dir/shtool install -c"
7421 +    break
7422 +  fi
7423 +done
7424 +if test -z "$ac_aux_dir"; then
7425 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
7426 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
7427 +   { (exit 1); exit 1; }; }
7428  fi
7429 -ac_config_guess=$ac_aux_dir/config.guess
7430 -ac_config_sub=$ac_aux_dir/config.sub
7431 -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
7432 +
7433 +# These three variables are undocumented and unsupported,
7434 +# and are intended to be withdrawn in a future Autoconf release.
7435 +# They can cause serious problems if a builder's source tree is in a directory
7436 +# whose full name contains unusual characters.
7437 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
7438 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
7439 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
7440 +
7441  
7442  # Find a good install program.  We prefer a C program (faster),
7443  # so one script is as good as another.  But avoid the broken or
7444 @@ -556,483 +1778,1793 @@
7445  # SunOS /usr/etc/install
7446  # IRIX /sbin/install
7447  # AIX /bin/install
7448 +# AmigaOS /C/install, which installs bootblocks on floppy discs
7449 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7450  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7451  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7452 +# OS/2's system install, which has a completely different semantic
7453  # ./install, which can be erroneously created by make from ./install.sh.
7454 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
7455 -echo "configure:564: checking for a BSD compatible install" >&5
7456 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7457 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7458  if test -z "$INSTALL"; then
7459 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
7460 -  echo $ac_n "(cached) $ac_c" 1>&6
7461 +if test "${ac_cv_path_install+set}" = set; then
7462 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7463  else
7464 -    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
7465 -  for ac_dir in $PATH; do
7466 -    # Account for people who put trailing slashes in PATH elements.
7467 -    case "$ac_dir/" in
7468 -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
7469 -    *)
7470 -      # OSF1 and SCO ODT 3.0 have their own names for install.
7471 -      for ac_prog in ginstall installbsd scoinst install; do
7472 -        if test -f $ac_dir/$ac_prog; then
7473 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 +for as_dir in $PATH
7475 +do
7476 +  IFS=$as_save_IFS
7477 +  test -z "$as_dir" && as_dir=.
7478 +  # Account for people who put trailing slashes in PATH elements.
7479 +case $as_dir/ in
7480 +  ./ | .// | /cC/* | \
7481 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7482 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
7483 +  /usr/ucb/* ) ;;
7484 +  *)
7485 +    # OSF1 and SCO ODT 3.0 have their own names for install.
7486 +    # Don't use installbsd from OSF since it installs stuff as root
7487 +    # by default.
7488 +    for ac_prog in ginstall scoinst install; do
7489 +      for ac_exec_ext in '' $ac_executable_extensions; do
7490 +       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7491           if test $ac_prog = install &&
7492 -            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
7493 +           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7494             # AIX install.  It has an incompatible calling convention.
7495 -           # OSF/1 installbsd also uses dspmsg, but is usable.
7496 +           :
7497 +         elif test $ac_prog = install &&
7498 +           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7499 +           # program-specific install script used by HP pwplus--don't use.
7500             :
7501           else
7502 -           ac_cv_path_install="$ac_dir/$ac_prog -c"
7503 -           break 2
7504 +           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7505 +           break 3
7506           fi
7507         fi
7508        done
7509 -      ;;
7510 -    esac
7511 -  done
7512 -  IFS="$ac_save_IFS"
7513 +    done
7514 +    ;;
7515 +esac
7516 +done
7517 +IFS=$as_save_IFS
7518 +
7519  
7520  fi
7521    if test "${ac_cv_path_install+set}" = set; then
7522 -    INSTALL="$ac_cv_path_install"
7523 +    INSTALL=$ac_cv_path_install
7524    else
7525 -    # As a last resort, use the slow shell script.  We don't cache a
7526 -    # path for INSTALL within a source directory, because that will
7527 +    # As a last resort, use the slow shell script.  Don't cache a
7528 +    # value for INSTALL within a source directory, because that will
7529      # break other packages using the cache if that directory is
7530 -    # removed, or if the path is relative.
7531 -    INSTALL="$ac_install_sh"
7532 +    # removed, or if the value is a relative name.
7533 +    INSTALL=$ac_install_sh
7534    fi
7535  fi
7536 -echo "$ac_t""$INSTALL" 1>&6
7537 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
7538 +echo "${ECHO_T}$INSTALL" >&6; }
7539  
7540  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7541  # It thinks the first close brace ends the variable substitution.
7542  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7543  
7544 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7545 -
7546 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7547  
7548 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
7549 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7550  
7551 -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
7552 -echo "configure:617: checking whether build environment is sane" >&5
7553 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7554 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
7555  # Just in case
7556  sleep 1
7557 -echo timestamp > conftestfile
7558 +echo timestamp > conftest.file
7559  # Do `set' in a subshell so we don't clobber the current shell's
7560  # arguments.  Must try -L first in case configure is actually a
7561  # symlink; some systems play weird games with the mod time of symlinks
7562  # (eg FreeBSD returns the mod time of the symlink's containing
7563  # directory).
7564  if (
7565 -   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
7566 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7567     if test "$*" = "X"; then
7568        # -L didn't work.
7569 -      set X `ls -t $srcdir/configure conftestfile`
7570 +      set X `ls -t $srcdir/configure conftest.file`
7571     fi
7572 -   if test "$*" != "X $srcdir/configure conftestfile" \
7573 -      && test "$*" != "X conftestfile $srcdir/configure"; then
7574 +   rm -f conftest.file
7575 +   if test "$*" != "X $srcdir/configure conftest.file" \
7576 +      && test "$*" != "X conftest.file $srcdir/configure"; then
7577  
7578        # If neither matched, then we have a broken ls.  This can happen
7579        # if, for instance, CONFIG_SHELL is bash and it inherits a
7580        # broken ls alias from the environment.  This has actually
7581        # happened.  Such a system could not be considered "sane".
7582 -      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
7583 -alias in your environment" 1>&2; exit 1; }
7584 +      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
7585 +alias in your environment" >&5
7586 +echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
7587 +alias in your environment" >&2;}
7588 +   { (exit 1); exit 1; }; }
7589     fi
7590  
7591 -   test "$2" = conftestfile
7592 +   test "$2" = conftest.file
7593     )
7594  then
7595     # Ok.
7596     :
7597  else
7598 -   { echo "configure: error: newly created file is older than distributed files!
7599 -Check your system clock" 1>&2; exit 1; }
7600 -fi
7601 -rm -f conftest*
7602 -echo "$ac_t""yes" 1>&6
7603 -if test "$program_transform_name" = s,x,x,; then
7604 -  program_transform_name=
7605 -else
7606 -  # Double any \ or $.  echo might interpret backslashes.
7607 -  cat <<\EOF_SED > conftestsed
7608 -s,\\,\\\\,g; s,\$,$$,g
7609 -EOF_SED
7610 -  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
7611 -  rm -f conftestsed
7612 +   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
7613 +Check your system clock" >&5
7614 +echo "$as_me: error: newly created file is older than distributed files!
7615 +Check your system clock" >&2;}
7616 +   { (exit 1); exit 1; }; }
7617  fi
7618 +{ echo "$as_me:$LINENO: result: yes" >&5
7619 +echo "${ECHO_T}yes" >&6; }
7620  test "$program_prefix" != NONE &&
7621 -  program_transform_name="s,^,${program_prefix},; $program_transform_name"
7622 +  program_transform_name="s&^&$program_prefix&;$program_transform_name"
7623  # Use a double $ so make ignores it.
7624  test "$program_suffix" != NONE &&
7625 -  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
7626 +  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
7627 +# Double any \ or $.  echo might interpret backslashes.
7628 +# By default was `s,x,x', remove it if useless.
7629 +cat <<\_ACEOF >conftest.sed
7630 +s/[\\$]/&&/g;s/;s,x,x,$//
7631 +_ACEOF
7632 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
7633 +rm -f conftest.sed
7634 +
7635 +# expand $ac_aux_dir to an absolute path
7636 +am_aux_dir=`cd $ac_aux_dir && pwd`
7637 +
7638 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7639 +# Use eval to expand $SHELL
7640 +if eval "$MISSING --run true"; then
7641 +  am_missing_run="$MISSING --run "
7642 +else
7643 +  am_missing_run=
7644 +  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
7645 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7646 +fi
7647 +
7648 +{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
7649 +echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
7650 +if test -z "$MKDIR_P"; then
7651 +  if test "${ac_cv_path_mkdir+set}" = set; then
7652 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7653 +else
7654 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655 +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
7656 +do
7657 +  IFS=$as_save_IFS
7658 +  test -z "$as_dir" && as_dir=.
7659 +  for ac_prog in mkdir gmkdir; do
7660 +        for ac_exec_ext in '' $ac_executable_extensions; do
7661 +          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
7662 +          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
7663 +            'mkdir (GNU coreutils) '* | \
7664 +            'mkdir (coreutils) '* | \
7665 +            'mkdir (fileutils) '4.1*)
7666 +              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
7667 +              break 3;;
7668 +          esac
7669 +        done
7670 +       done
7671 +done
7672 +IFS=$as_save_IFS
7673 +
7674 +fi
7675 +
7676 +  if test "${ac_cv_path_mkdir+set}" = set; then
7677 +    MKDIR_P="$ac_cv_path_mkdir -p"
7678 +  else
7679 +    # As a last resort, use the slow shell script.  Don't cache a
7680 +    # value for MKDIR_P within a source directory, because that will
7681 +    # break other packages using the cache if that directory is
7682 +    # removed, or if the value is a relative name.
7683 +    test -d ./--version && rmdir ./--version
7684 +    MKDIR_P="$ac_install_sh -d"
7685 +  fi
7686 +fi
7687 +{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
7688 +echo "${ECHO_T}$MKDIR_P" >&6; }
7689  
7690 -# sed with no file args requires a program.
7691 -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
7692 +mkdir_p="$MKDIR_P"
7693 +case $mkdir_p in
7694 +  [\\/$]* | ?:[\\/]*) ;;
7695 +  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
7696 +esac
7697  
7698 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
7699 -echo "configure:674: checking whether ${MAKE-make} sets \${MAKE}" >&5
7700 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
7701 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
7702 -  echo $ac_n "(cached) $ac_c" 1>&6
7703 +for ac_prog in gawk mawk nawk awk
7704 +do
7705 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
7706 +set dummy $ac_prog; ac_word=$2
7707 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7708 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7709 +if test "${ac_cv_prog_AWK+set}" = set; then
7710 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7711  else
7712 -  cat > conftestmake <<\EOF
7713 -all:
7714 -       @echo 'ac_maketemp="${MAKE}"'
7715 -EOF
7716 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7717 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
7718 -if test -n "$ac_maketemp"; then
7719 -  eval ac_cv_prog_make_${ac_make}_set=yes
7720 +  if test -n "$AWK"; then
7721 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
7722  else
7723 -  eval ac_cv_prog_make_${ac_make}_set=no
7724 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 +for as_dir in $PATH
7726 +do
7727 +  IFS=$as_save_IFS
7728 +  test -z "$as_dir" && as_dir=.
7729 +  for ac_exec_ext in '' $ac_executable_extensions; do
7730 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7731 +    ac_cv_prog_AWK="$ac_prog"
7732 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 +    break 2
7734 +  fi
7735 +done
7736 +done
7737 +IFS=$as_save_IFS
7738 +
7739  fi
7740 -rm -f conftestmake
7741  fi
7742 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7743 -  echo "$ac_t""yes" 1>&6
7744 +AWK=$ac_cv_prog_AWK
7745 +if test -n "$AWK"; then
7746 +  { echo "$as_me:$LINENO: result: $AWK" >&5
7747 +echo "${ECHO_T}$AWK" >&6; }
7748 +else
7749 +  { echo "$as_me:$LINENO: result: no" >&5
7750 +echo "${ECHO_T}no" >&6; }
7751 +fi
7752 +
7753 +
7754 +  test -n "$AWK" && break
7755 +done
7756 +
7757 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7758 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7759 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7760 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7761 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7762 +else
7763 +  cat >conftest.make <<\_ACEOF
7764 +SHELL = /bin/sh
7765 +all:
7766 +       @echo '@@@%%%=$(MAKE)=@@@%%%'
7767 +_ACEOF
7768 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7769 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
7770 +  *@@@%%%=?*=@@@%%%*)
7771 +    eval ac_cv_prog_make_${ac_make}_set=yes;;
7772 +  *)
7773 +    eval ac_cv_prog_make_${ac_make}_set=no;;
7774 +esac
7775 +rm -f conftest.make
7776 +fi
7777 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7778 +  { echo "$as_me:$LINENO: result: yes" >&5
7779 +echo "${ECHO_T}yes" >&6; }
7780    SET_MAKE=
7781  else
7782 -  echo "$ac_t""no" 1>&6
7783 +  { echo "$as_me:$LINENO: result: no" >&5
7784 +echo "${ECHO_T}no" >&6; }
7785    SET_MAKE="MAKE=${MAKE-make}"
7786  fi
7787  
7788 +rm -rf .tst 2>/dev/null
7789 +mkdir .tst 2>/dev/null
7790 +if test -d .tst; then
7791 +  am__leading_dot=.
7792 +else
7793 +  am__leading_dot=_
7794 +fi
7795 +rmdir .tst 2>/dev/null
7796 +
7797 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
7798 +  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
7799 +  # is not polluted with repeated "-I."
7800 +  am__isrc=' -I$(srcdir)'
7801 +  # test to see if srcdir already configured
7802 +  if test -f $srcdir/config.status; then
7803 +    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
7804 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
7805 +   { (exit 1); exit 1; }; }
7806 +  fi
7807 +fi
7808 +
7809 +# test whether we have cygpath
7810 +if test -z "$CYGPATH_W"; then
7811 +  if (cygpath --version) >/dev/null 2>/dev/null; then
7812 +    CYGPATH_W='cygpath -w'
7813 +  else
7814 +    CYGPATH_W=echo
7815 +  fi
7816 +fi
7817  
7818 -PACKAGE=ez-ipupdate
7819  
7820 -VERSION=3.0.11b8
7821 +# Define the identity of the package.
7822 + PACKAGE=ez-ipupdate
7823 + VERSION=3.0.11b8
7824  
7825 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
7826 -  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
7827 -fi
7828 -cat >> confdefs.h <<EOF
7829 +
7830 +cat >>confdefs.h <<_ACEOF
7831  #define PACKAGE "$PACKAGE"
7832 -EOF
7833 +_ACEOF
7834 +
7835  
7836 -cat >> confdefs.h <<EOF
7837 +cat >>confdefs.h <<_ACEOF
7838  #define VERSION "$VERSION"
7839 -EOF
7840 +_ACEOF
7841 +
7842 +# Some tools Automake needs.
7843 +
7844 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
7845 +
7846 +
7847 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
7848 +
7849  
7850 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
7851  
7852  
7853 -missing_dir=`cd $ac_aux_dir && pwd`
7854 -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
7855 -echo "configure:720: checking for working aclocal" >&5
7856 -# Run test in a subshell; some versions of sh will print an error if
7857 -# an executable is not found, even if stderr is redirected.
7858 -# Redirect stdin to placate older versions of autoconf.  Sigh.
7859 -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
7860 -   ACLOCAL=aclocal
7861 -   echo "$ac_t""found" 1>&6
7862 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
7863 +
7864 +
7865 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
7866 +
7867 +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
7868 +
7869 +# Installed binaries are usually stripped using `strip' when the user
7870 +# run `make install-strip'.  However `strip' might not be the right
7871 +# tool to use in cross-compilation environments, therefore Automake
7872 +# will honor the `STRIP' environment variable to overrule this program.
7873 +if test "$cross_compiling" != no; then
7874 +  if test -n "$ac_tool_prefix"; then
7875 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7876 +set dummy ${ac_tool_prefix}strip; ac_word=$2
7877 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7878 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7879 +if test "${ac_cv_prog_STRIP+set}" = set; then
7880 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7881 +else
7882 +  if test -n "$STRIP"; then
7883 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7884  else
7885 -   ACLOCAL="$missing_dir/missing aclocal"
7886 -   echo "$ac_t""missing" 1>&6
7887 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 +for as_dir in $PATH
7889 +do
7890 +  IFS=$as_save_IFS
7891 +  test -z "$as_dir" && as_dir=.
7892 +  for ac_exec_ext in '' $ac_executable_extensions; do
7893 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7894 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7895 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 +    break 2
7897 +  fi
7898 +done
7899 +done
7900 +IFS=$as_save_IFS
7901 +
7902 +fi
7903 +fi
7904 +STRIP=$ac_cv_prog_STRIP
7905 +if test -n "$STRIP"; then
7906 +  { echo "$as_me:$LINENO: result: $STRIP" >&5
7907 +echo "${ECHO_T}$STRIP" >&6; }
7908 +else
7909 +  { echo "$as_me:$LINENO: result: no" >&5
7910 +echo "${ECHO_T}no" >&6; }
7911  fi
7912  
7913 -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
7914 -echo "configure:733: checking for working autoconf" >&5
7915 -# Run test in a subshell; some versions of sh will print an error if
7916 -# an executable is not found, even if stderr is redirected.
7917 -# Redirect stdin to placate older versions of autoconf.  Sigh.
7918 -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
7919 -   AUTOCONF=autoconf
7920 -   echo "$ac_t""found" 1>&6
7921 +
7922 +fi
7923 +if test -z "$ac_cv_prog_STRIP"; then
7924 +  ac_ct_STRIP=$STRIP
7925 +  # Extract the first word of "strip", so it can be a program name with args.
7926 +set dummy strip; ac_word=$2
7927 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7928 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7929 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7930 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7931  else
7932 -   AUTOCONF="$missing_dir/missing autoconf"
7933 -   echo "$ac_t""missing" 1>&6
7934 +  if test -n "$ac_ct_STRIP"; then
7935 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7936 +else
7937 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 +for as_dir in $PATH
7939 +do
7940 +  IFS=$as_save_IFS
7941 +  test -z "$as_dir" && as_dir=.
7942 +  for ac_exec_ext in '' $ac_executable_extensions; do
7943 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7944 +    ac_cv_prog_ac_ct_STRIP="strip"
7945 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 +    break 2
7947 +  fi
7948 +done
7949 +done
7950 +IFS=$as_save_IFS
7951 +
7952 +fi
7953 +fi
7954 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7955 +if test -n "$ac_ct_STRIP"; then
7956 +  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7957 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7958 +else
7959 +  { echo "$as_me:$LINENO: result: no" >&5
7960 +echo "${ECHO_T}no" >&6; }
7961  fi
7962  
7963 -echo $ac_n "checking for working automake""... $ac_c" 1>&6
7964 -echo "configure:746: checking for working automake" >&5
7965 -# Run test in a subshell; some versions of sh will print an error if
7966 -# an executable is not found, even if stderr is redirected.
7967 -# Redirect stdin to placate older versions of autoconf.  Sigh.
7968 -if (automake --version) < /dev/null > /dev/null 2>&1; then
7969 -   AUTOMAKE=automake
7970 -   echo "$ac_t""found" 1>&6
7971 +  if test "x$ac_ct_STRIP" = x; then
7972 +    STRIP=":"
7973 +  else
7974 +    case $cross_compiling:$ac_tool_warned in
7975 +yes:)
7976 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7977 +whose name does not start with the host triplet.  If you think this
7978 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7979 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7980 +whose name does not start with the host triplet.  If you think this
7981 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7982 +ac_tool_warned=yes ;;
7983 +esac
7984 +    STRIP=$ac_ct_STRIP
7985 +  fi
7986  else
7987 -   AUTOMAKE="$missing_dir/missing automake"
7988 -   echo "$ac_t""missing" 1>&6
7989 +  STRIP="$ac_cv_prog_STRIP"
7990  fi
7991  
7992 -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
7993 -echo "configure:759: checking for working autoheader" >&5
7994 -# Run test in a subshell; some versions of sh will print an error if
7995 -# an executable is not found, even if stderr is redirected.
7996 -# Redirect stdin to placate older versions of autoconf.  Sigh.
7997 -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
7998 -   AUTOHEADER=autoheader
7999 -   echo "$ac_t""found" 1>&6
8000 +fi
8001 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8002 +
8003 +# We need awk for the "check" target.  The system "awk" is bad on
8004 +# some platforms.
8005 +# Always define AMTAR for backward compatibility.
8006 +
8007 +AMTAR=${AMTAR-"${am_missing_run}tar"}
8008 +
8009 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
8010 +
8011 +
8012 +
8013 +
8014 +
8015 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8016 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
8017 +    # Check whether --enable-maintainer-mode was given.
8018 +if test "${enable_maintainer_mode+set}" = set; then
8019 +  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
8020  else
8021 -   AUTOHEADER="$missing_dir/missing autoheader"
8022 -   echo "$ac_t""missing" 1>&6
8023 +  USE_MAINTAINER_MODE=no
8024  fi
8025  
8026 -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
8027 -echo "configure:772: checking for working makeinfo" >&5
8028 -# Run test in a subshell; some versions of sh will print an error if
8029 -# an executable is not found, even if stderr is redirected.
8030 -# Redirect stdin to placate older versions of autoconf.  Sigh.
8031 -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
8032 -   MAKEINFO=makeinfo
8033 -   echo "$ac_t""found" 1>&6
8034 +  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8035 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
8036 +   if test $USE_MAINTAINER_MODE = yes; then
8037 +  MAINTAINER_MODE_TRUE=
8038 +  MAINTAINER_MODE_FALSE='#'
8039  else
8040 -   MAKEINFO="$missing_dir/missing makeinfo"
8041 -   echo "$ac_t""missing" 1>&6
8042 +  MAINTAINER_MODE_TRUE='#'
8043 +  MAINTAINER_MODE_FALSE=
8044  fi
8045  
8046 +  MAINT=$MAINTAINER_MODE_TRUE
8047  
8048  
8049  
8050  
8051 -if test "$program_transform_name" = s,x,x,; then
8052 -  program_transform_name=
8053 +
8054 +
8055 +ac_ext=c
8056 +ac_cpp='$CPP $CPPFLAGS'
8057 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8058 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8059 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8060 +if test -n "$ac_tool_prefix"; then
8061 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8062 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
8063 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8064 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8065 +if test "${ac_cv_prog_CC+set}" = set; then
8066 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8067 +else
8068 +  if test -n "$CC"; then
8069 +  ac_cv_prog_CC="$CC" # Let the user override the test.
8070 +else
8071 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 +for as_dir in $PATH
8073 +do
8074 +  IFS=$as_save_IFS
8075 +  test -z "$as_dir" && as_dir=.
8076 +  for ac_exec_ext in '' $ac_executable_extensions; do
8077 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8078 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
8079 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 +    break 2
8081 +  fi
8082 +done
8083 +done
8084 +IFS=$as_save_IFS
8085 +
8086 +fi
8087 +fi
8088 +CC=$ac_cv_prog_CC
8089 +if test -n "$CC"; then
8090 +  { echo "$as_me:$LINENO: result: $CC" >&5
8091 +echo "${ECHO_T}$CC" >&6; }
8092  else
8093 -  # Double any \ or $.  echo might interpret backslashes.
8094 -  cat <<\EOF_SED > conftestsed
8095 -s,\\,\\\\,g; s,\$,$$,g
8096 -EOF_SED
8097 -  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
8098 -  rm -f conftestsed
8099 +  { echo "$as_me:$LINENO: result: no" >&5
8100 +echo "${ECHO_T}no" >&6; }
8101  fi
8102 -test "$program_prefix" != NONE &&
8103 -  program_transform_name="s,^,${program_prefix},; $program_transform_name"
8104 -# Use a double $ so make ignores it.
8105 -test "$program_suffix" != NONE &&
8106 -  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
8107  
8108 -# sed with no file args requires a program.
8109 -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
8110  
8111 -# Extract the first word of "gcc", so it can be a program name with args.
8112 +fi
8113 +if test -z "$ac_cv_prog_CC"; then
8114 +  ac_ct_CC=$CC
8115 +  # Extract the first word of "gcc", so it can be a program name with args.
8116  set dummy gcc; ac_word=$2
8117 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8118 -echo "configure:810: checking for $ac_word" >&5
8119 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8120 -  echo $ac_n "(cached) $ac_c" 1>&6
8121 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8122 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8123 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8124 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8125 +else
8126 +  if test -n "$ac_ct_CC"; then
8127 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8128 +else
8129 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130 +for as_dir in $PATH
8131 +do
8132 +  IFS=$as_save_IFS
8133 +  test -z "$as_dir" && as_dir=.
8134 +  for ac_exec_ext in '' $ac_executable_extensions; do
8135 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8136 +    ac_cv_prog_ac_ct_CC="gcc"
8137 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8138 +    break 2
8139 +  fi
8140 +done
8141 +done
8142 +IFS=$as_save_IFS
8143 +
8144 +fi
8145 +fi
8146 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
8147 +if test -n "$ac_ct_CC"; then
8148 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8149 +echo "${ECHO_T}$ac_ct_CC" >&6; }
8150 +else
8151 +  { echo "$as_me:$LINENO: result: no" >&5
8152 +echo "${ECHO_T}no" >&6; }
8153 +fi
8154 +
8155 +  if test "x$ac_ct_CC" = x; then
8156 +    CC=""
8157 +  else
8158 +    case $cross_compiling:$ac_tool_warned in
8159 +yes:)
8160 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8161 +whose name does not start with the host triplet.  If you think this
8162 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8163 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8164 +whose name does not start with the host triplet.  If you think this
8165 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8166 +ac_tool_warned=yes ;;
8167 +esac
8168 +    CC=$ac_ct_CC
8169 +  fi
8170 +else
8171 +  CC="$ac_cv_prog_CC"
8172 +fi
8173 +
8174 +if test -z "$CC"; then
8175 +          if test -n "$ac_tool_prefix"; then
8176 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8177 +set dummy ${ac_tool_prefix}cc; ac_word=$2
8178 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8179 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8180 +if test "${ac_cv_prog_CC+set}" = set; then
8181 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8182  else
8183    if test -n "$CC"; then
8184    ac_cv_prog_CC="$CC" # Let the user override the test.
8185  else
8186 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8187 -  for ac_dir in $PATH; do
8188 -    test -z "$ac_dir" && ac_dir=.
8189 -    if test -f $ac_dir/$ac_word; then
8190 -      ac_cv_prog_CC="gcc"
8191 -      break
8192 -    fi
8193 -  done
8194 -  IFS="$ac_save_ifs"
8195 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 +for as_dir in $PATH
8197 +do
8198 +  IFS=$as_save_IFS
8199 +  test -z "$as_dir" && as_dir=.
8200 +  for ac_exec_ext in '' $ac_executable_extensions; do
8201 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8202 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
8203 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8204 +    break 2
8205 +  fi
8206 +done
8207 +done
8208 +IFS=$as_save_IFS
8209 +
8210  fi
8211  fi
8212 -CC="$ac_cv_prog_CC"
8213 +CC=$ac_cv_prog_CC
8214  if test -n "$CC"; then
8215 -  echo "$ac_t""$CC" 1>&6
8216 +  { echo "$as_me:$LINENO: result: $CC" >&5
8217 +echo "${ECHO_T}$CC" >&6; }
8218  else
8219 -  echo "$ac_t""no" 1>&6
8220 +  { echo "$as_me:$LINENO: result: no" >&5
8221 +echo "${ECHO_T}no" >&6; }
8222  fi
8223  
8224 +
8225 +  fi
8226 +fi
8227  if test -z "$CC"; then
8228    # Extract the first word of "cc", so it can be a program name with args.
8229  set dummy cc; ac_word=$2
8230 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8231 -echo "configure:839: checking for $ac_word" >&5
8232 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8233 -  echo $ac_n "(cached) $ac_c" 1>&6
8234 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8235 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8236 +if test "${ac_cv_prog_CC+set}" = set; then
8237 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8238  else
8239    if test -n "$CC"; then
8240    ac_cv_prog_CC="$CC" # Let the user override the test.
8241  else
8242 -  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8243    ac_prog_rejected=no
8244 -  for ac_dir in $PATH; do
8245 -    test -z "$ac_dir" && ac_dir=.
8246 -    if test -f $ac_dir/$ac_word; then
8247 -      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8248 -        ac_prog_rejected=yes
8249 -       continue
8250 -      fi
8251 -      ac_cv_prog_CC="cc"
8252 -      break
8253 -    fi
8254 -  done
8255 -  IFS="$ac_save_ifs"
8256 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8257 +for as_dir in $PATH
8258 +do
8259 +  IFS=$as_save_IFS
8260 +  test -z "$as_dir" && as_dir=.
8261 +  for ac_exec_ext in '' $ac_executable_extensions; do
8262 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8263 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
8264 +       ac_prog_rejected=yes
8265 +       continue
8266 +     fi
8267 +    ac_cv_prog_CC="cc"
8268 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8269 +    break 2
8270 +  fi
8271 +done
8272 +done
8273 +IFS=$as_save_IFS
8274 +
8275  if test $ac_prog_rejected = yes; then
8276    # We found a bogon in the path, so make sure we never use it.
8277    set dummy $ac_cv_prog_CC
8278    shift
8279 -  if test $# -gt 0; then
8280 +  if test $# != 0; then
8281      # We chose a different compiler from the bogus one.
8282      # However, it has the same basename, so the bogon will be chosen
8283      # first if we set CC to just the basename; use the full file name.
8284      shift
8285 -    set dummy "$ac_dir/$ac_word" "$@"
8286 -    shift
8287 -    ac_cv_prog_CC="$@"
8288 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
8289    fi
8290  fi
8291  fi
8292  fi
8293 -CC="$ac_cv_prog_CC"
8294 +CC=$ac_cv_prog_CC
8295  if test -n "$CC"; then
8296 -  echo "$ac_t""$CC" 1>&6
8297 +  { echo "$as_me:$LINENO: result: $CC" >&5
8298 +echo "${ECHO_T}$CC" >&6; }
8299 +else
8300 +  { echo "$as_me:$LINENO: result: no" >&5
8301 +echo "${ECHO_T}no" >&6; }
8302 +fi
8303 +
8304 +
8305 +fi
8306 +if test -z "$CC"; then
8307 +  if test -n "$ac_tool_prefix"; then
8308 +  for ac_prog in cl.exe
8309 +  do
8310 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8311 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8312 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8313 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8314 +if test "${ac_cv_prog_CC+set}" = set; then
8315 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8316 +else
8317 +  if test -n "$CC"; then
8318 +  ac_cv_prog_CC="$CC" # Let the user override the test.
8319 +else
8320 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 +for as_dir in $PATH
8322 +do
8323 +  IFS=$as_save_IFS
8324 +  test -z "$as_dir" && as_dir=.
8325 +  for ac_exec_ext in '' $ac_executable_extensions; do
8326 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8327 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
8328 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 +    break 2
8330 +  fi
8331 +done
8332 +done
8333 +IFS=$as_save_IFS
8334 +
8335 +fi
8336 +fi
8337 +CC=$ac_cv_prog_CC
8338 +if test -n "$CC"; then
8339 +  { echo "$as_me:$LINENO: result: $CC" >&5
8340 +echo "${ECHO_T}$CC" >&6; }
8341 +else
8342 +  { echo "$as_me:$LINENO: result: no" >&5
8343 +echo "${ECHO_T}no" >&6; }
8344 +fi
8345 +
8346 +
8347 +    test -n "$CC" && break
8348 +  done
8349 +fi
8350 +if test -z "$CC"; then
8351 +  ac_ct_CC=$CC
8352 +  for ac_prog in cl.exe
8353 +do
8354 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
8355 +set dummy $ac_prog; ac_word=$2
8356 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8357 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8358 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8359 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8360 +else
8361 +  if test -n "$ac_ct_CC"; then
8362 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8363 +else
8364 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 +for as_dir in $PATH
8366 +do
8367 +  IFS=$as_save_IFS
8368 +  test -z "$as_dir" && as_dir=.
8369 +  for ac_exec_ext in '' $ac_executable_extensions; do
8370 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371 +    ac_cv_prog_ac_ct_CC="$ac_prog"
8372 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8373 +    break 2
8374 +  fi
8375 +done
8376 +done
8377 +IFS=$as_save_IFS
8378 +
8379 +fi
8380 +fi
8381 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
8382 +if test -n "$ac_ct_CC"; then
8383 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8384 +echo "${ECHO_T}$ac_ct_CC" >&6; }
8385 +else
8386 +  { echo "$as_me:$LINENO: result: no" >&5
8387 +echo "${ECHO_T}no" >&6; }
8388 +fi
8389 +
8390 +
8391 +  test -n "$ac_ct_CC" && break
8392 +done
8393 +
8394 +  if test "x$ac_ct_CC" = x; then
8395 +    CC=""
8396 +  else
8397 +    case $cross_compiling:$ac_tool_warned in
8398 +yes:)
8399 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8400 +whose name does not start with the host triplet.  If you think this
8401 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8402 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8403 +whose name does not start with the host triplet.  If you think this
8404 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8405 +ac_tool_warned=yes ;;
8406 +esac
8407 +    CC=$ac_ct_CC
8408 +  fi
8409 +fi
8410 +
8411 +fi
8412 +
8413 +
8414 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
8415 +See \`config.log' for more details." >&5
8416 +echo "$as_me: error: no acceptable C compiler found in \$PATH
8417 +See \`config.log' for more details." >&2;}
8418 +   { (exit 1); exit 1; }; }
8419 +
8420 +# Provide some information about the compiler.
8421 +echo "$as_me:$LINENO: checking for C compiler version" >&5
8422 +ac_compiler=`set X $ac_compile; echo $2`
8423 +{ (ac_try="$ac_compiler --version >&5"
8424 +case "(($ac_try" in
8425 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8426 +  *) ac_try_echo=$ac_try;;
8427 +esac
8428 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8429 +  (eval "$ac_compiler --version >&5") 2>&5
8430 +  ac_status=$?
8431 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 +  (exit $ac_status); }
8433 +{ (ac_try="$ac_compiler -v >&5"
8434 +case "(($ac_try" in
8435 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8436 +  *) ac_try_echo=$ac_try;;
8437 +esac
8438 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8439 +  (eval "$ac_compiler -v >&5") 2>&5
8440 +  ac_status=$?
8441 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 +  (exit $ac_status); }
8443 +{ (ac_try="$ac_compiler -V >&5"
8444 +case "(($ac_try" in
8445 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8446 +  *) ac_try_echo=$ac_try;;
8447 +esac
8448 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8449 +  (eval "$ac_compiler -V >&5") 2>&5
8450 +  ac_status=$?
8451 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 +  (exit $ac_status); }
8453 +
8454 +cat >conftest.$ac_ext <<_ACEOF
8455 +/* confdefs.h.  */
8456 +_ACEOF
8457 +cat confdefs.h >>conftest.$ac_ext
8458 +cat >>conftest.$ac_ext <<_ACEOF
8459 +/* end confdefs.h.  */
8460 +
8461 +int
8462 +main ()
8463 +{
8464 +
8465 +  ;
8466 +  return 0;
8467 +}
8468 +_ACEOF
8469 +ac_clean_files_save=$ac_clean_files
8470 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
8471 +# Try to create an executable without -o first, disregard a.out.
8472 +# It will help us diagnose broken compilers, and finding out an intuition
8473 +# of exeext.
8474 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8475 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
8476 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8477 +#
8478 +# List of possible output files, starting from the most likely.
8479 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
8480 +# only as a last resort.  b.out is created by i960 compilers.
8481 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
8482 +#
8483 +# The IRIX 6 linker writes into existing files which may not be
8484 +# executable, retaining their permissions.  Remove them first so a
8485 +# subsequent execution test works.
8486 +ac_rmfiles=
8487 +for ac_file in $ac_files
8488 +do
8489 +  case $ac_file in
8490 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8491 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8492 +  esac
8493 +done
8494 +rm -f $ac_rmfiles
8495 +
8496 +if { (ac_try="$ac_link_default"
8497 +case "(($ac_try" in
8498 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8499 +  *) ac_try_echo=$ac_try;;
8500 +esac
8501 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8502 +  (eval "$ac_link_default") 2>&5
8503 +  ac_status=$?
8504 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 +  (exit $ac_status); }; then
8506 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8507 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8508 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
8509 +# so that the user can short-circuit this test for compilers unknown to
8510 +# Autoconf.
8511 +for ac_file in $ac_files ''
8512 +do
8513 +  test -f "$ac_file" || continue
8514 +  case $ac_file in
8515 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
8516 +       ;;
8517 +    [ab].out )
8518 +       # We found the default executable, but exeext='' is most
8519 +       # certainly right.
8520 +       break;;
8521 +    *.* )
8522 +        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8523 +       then :; else
8524 +          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8525 +       fi
8526 +       # We set ac_cv_exeext here because the later test for it is not
8527 +       # safe: cross compilers may not add the suffix if given an `-o'
8528 +       # argument, so we may need to know it at that point already.
8529 +       # Even if this section looks crufty: it has the advantage of
8530 +       # actually working.
8531 +       break;;
8532 +    * )
8533 +       break;;
8534 +  esac
8535 +done
8536 +test "$ac_cv_exeext" = no && ac_cv_exeext=
8537 +
8538 +else
8539 +  ac_file=''
8540 +fi
8541 +
8542 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
8543 +echo "${ECHO_T}$ac_file" >&6; }
8544 +if test -z "$ac_file"; then
8545 +  echo "$as_me: failed program was:" >&5
8546 +sed 's/^/| /' conftest.$ac_ext >&5
8547 +
8548 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
8549 +See \`config.log' for more details." >&5
8550 +echo "$as_me: error: C compiler cannot create executables
8551 +See \`config.log' for more details." >&2;}
8552 +   { (exit 77); exit 77; }; }
8553 +fi
8554 +
8555 +ac_exeext=$ac_cv_exeext
8556 +
8557 +# Check that the compiler produces executables we can run.  If not, either
8558 +# the compiler is broken, or we cross compile.
8559 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8560 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
8561 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
8562 +# If not cross compiling, check that we can run a simple program.
8563 +if test "$cross_compiling" != yes; then
8564 +  if { ac_try='./$ac_file'
8565 +  { (case "(($ac_try" in
8566 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8567 +  *) ac_try_echo=$ac_try;;
8568 +esac
8569 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8570 +  (eval "$ac_try") 2>&5
8571 +  ac_status=$?
8572 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 +  (exit $ac_status); }; }; then
8574 +    cross_compiling=no
8575 +  else
8576 +    if test "$cross_compiling" = maybe; then
8577 +       cross_compiling=yes
8578 +    else
8579 +       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
8580 +If you meant to cross compile, use \`--host'.
8581 +See \`config.log' for more details." >&5
8582 +echo "$as_me: error: cannot run C compiled programs.
8583 +If you meant to cross compile, use \`--host'.
8584 +See \`config.log' for more details." >&2;}
8585 +   { (exit 1); exit 1; }; }
8586 +    fi
8587 +  fi
8588 +fi
8589 +{ echo "$as_me:$LINENO: result: yes" >&5
8590 +echo "${ECHO_T}yes" >&6; }
8591 +
8592 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
8593 +ac_clean_files=$ac_clean_files_save
8594 +# Check that the compiler produces executables we can run.  If not, either
8595 +# the compiler is broken, or we cross compile.
8596 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8597 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
8598 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
8599 +echo "${ECHO_T}$cross_compiling" >&6; }
8600 +
8601 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
8602 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
8603 +if { (ac_try="$ac_link"
8604 +case "(($ac_try" in
8605 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8606 +  *) ac_try_echo=$ac_try;;
8607 +esac
8608 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 +  (eval "$ac_link") 2>&5
8610 +  ac_status=$?
8611 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 +  (exit $ac_status); }; then
8613 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
8614 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
8615 +# work properly (i.e., refer to `conftest.exe'), while it won't with
8616 +# `rm'.
8617 +for ac_file in conftest.exe conftest conftest.*; do
8618 +  test -f "$ac_file" || continue
8619 +  case $ac_file in
8620 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8621 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8622 +         break;;
8623 +    * ) break;;
8624 +  esac
8625 +done
8626 +else
8627 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
8628 +See \`config.log' for more details." >&5
8629 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
8630 +See \`config.log' for more details." >&2;}
8631 +   { (exit 1); exit 1; }; }
8632 +fi
8633 +
8634 +rm -f conftest$ac_cv_exeext
8635 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8636 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
8637 +
8638 +rm -f conftest.$ac_ext
8639 +EXEEXT=$ac_cv_exeext
8640 +ac_exeext=$EXEEXT
8641 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
8642 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
8643 +if test "${ac_cv_objext+set}" = set; then
8644 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8645 +else
8646 +  cat >conftest.$ac_ext <<_ACEOF
8647 +/* confdefs.h.  */
8648 +_ACEOF
8649 +cat confdefs.h >>conftest.$ac_ext
8650 +cat >>conftest.$ac_ext <<_ACEOF
8651 +/* end confdefs.h.  */
8652 +
8653 +int
8654 +main ()
8655 +{
8656 +
8657 +  ;
8658 +  return 0;
8659 +}
8660 +_ACEOF
8661 +rm -f conftest.o conftest.obj
8662 +if { (ac_try="$ac_compile"
8663 +case "(($ac_try" in
8664 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8665 +  *) ac_try_echo=$ac_try;;
8666 +esac
8667 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8668 +  (eval "$ac_compile") 2>&5
8669 +  ac_status=$?
8670 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 +  (exit $ac_status); }; then
8672 +  for ac_file in conftest.o conftest.obj conftest.*; do
8673 +  test -f "$ac_file" || continue;
8674 +  case $ac_file in
8675 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
8676 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
8677 +       break;;
8678 +  esac
8679 +done
8680 +else
8681 +  echo "$as_me: failed program was:" >&5
8682 +sed 's/^/| /' conftest.$ac_ext >&5
8683 +
8684 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
8685 +See \`config.log' for more details." >&5
8686 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
8687 +See \`config.log' for more details." >&2;}
8688 +   { (exit 1); exit 1; }; }
8689 +fi
8690 +
8691 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
8692 +fi
8693 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8694 +echo "${ECHO_T}$ac_cv_objext" >&6; }
8695 +OBJEXT=$ac_cv_objext
8696 +ac_objext=$OBJEXT
8697 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8698 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
8699 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
8700 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8701 +else
8702 +  cat >conftest.$ac_ext <<_ACEOF
8703 +/* confdefs.h.  */
8704 +_ACEOF
8705 +cat confdefs.h >>conftest.$ac_ext
8706 +cat >>conftest.$ac_ext <<_ACEOF
8707 +/* end confdefs.h.  */
8708 +
8709 +int
8710 +main ()
8711 +{
8712 +#ifndef __GNUC__
8713 +       choke me
8714 +#endif
8715 +
8716 +  ;
8717 +  return 0;
8718 +}
8719 +_ACEOF
8720 +rm -f conftest.$ac_objext
8721 +if { (ac_try="$ac_compile"
8722 +case "(($ac_try" in
8723 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8724 +  *) ac_try_echo=$ac_try;;
8725 +esac
8726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8727 +  (eval "$ac_compile") 2>conftest.er1
8728 +  ac_status=$?
8729 +  grep -v '^ *+' conftest.er1 >conftest.err
8730 +  rm -f conftest.er1
8731 +  cat conftest.err >&5
8732 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 +  (exit $ac_status); } && {
8734 +        test -z "$ac_c_werror_flag" ||
8735 +        test ! -s conftest.err
8736 +       } && test -s conftest.$ac_objext; then
8737 +  ac_compiler_gnu=yes
8738 +else
8739 +  echo "$as_me: failed program was:" >&5
8740 +sed 's/^/| /' conftest.$ac_ext >&5
8741 +
8742 +       ac_compiler_gnu=no
8743 +fi
8744 +
8745 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8746 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
8747 +
8748 +fi
8749 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8750 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
8751 +GCC=`test $ac_compiler_gnu = yes && echo yes`
8752 +ac_test_CFLAGS=${CFLAGS+set}
8753 +ac_save_CFLAGS=$CFLAGS
8754 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8755 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
8756 +if test "${ac_cv_prog_cc_g+set}" = set; then
8757 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8758 +else
8759 +  ac_save_c_werror_flag=$ac_c_werror_flag
8760 +   ac_c_werror_flag=yes
8761 +   ac_cv_prog_cc_g=no
8762 +   CFLAGS="-g"
8763 +   cat >conftest.$ac_ext <<_ACEOF
8764 +/* confdefs.h.  */
8765 +_ACEOF
8766 +cat confdefs.h >>conftest.$ac_ext
8767 +cat >>conftest.$ac_ext <<_ACEOF
8768 +/* end confdefs.h.  */
8769 +
8770 +int
8771 +main ()
8772 +{
8773 +
8774 +  ;
8775 +  return 0;
8776 +}
8777 +_ACEOF
8778 +rm -f conftest.$ac_objext
8779 +if { (ac_try="$ac_compile"
8780 +case "(($ac_try" in
8781 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8782 +  *) ac_try_echo=$ac_try;;
8783 +esac
8784 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8785 +  (eval "$ac_compile") 2>conftest.er1
8786 +  ac_status=$?
8787 +  grep -v '^ *+' conftest.er1 >conftest.err
8788 +  rm -f conftest.er1
8789 +  cat conftest.err >&5
8790 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 +  (exit $ac_status); } && {
8792 +        test -z "$ac_c_werror_flag" ||
8793 +        test ! -s conftest.err
8794 +       } && test -s conftest.$ac_objext; then
8795 +  ac_cv_prog_cc_g=yes
8796 +else
8797 +  echo "$as_me: failed program was:" >&5
8798 +sed 's/^/| /' conftest.$ac_ext >&5
8799 +
8800 +       CFLAGS=""
8801 +      cat >conftest.$ac_ext <<_ACEOF
8802 +/* confdefs.h.  */
8803 +_ACEOF
8804 +cat confdefs.h >>conftest.$ac_ext
8805 +cat >>conftest.$ac_ext <<_ACEOF
8806 +/* end confdefs.h.  */
8807 +
8808 +int
8809 +main ()
8810 +{
8811 +
8812 +  ;
8813 +  return 0;
8814 +}
8815 +_ACEOF
8816 +rm -f conftest.$ac_objext
8817 +if { (ac_try="$ac_compile"
8818 +case "(($ac_try" in
8819 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8820 +  *) ac_try_echo=$ac_try;;
8821 +esac
8822 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8823 +  (eval "$ac_compile") 2>conftest.er1
8824 +  ac_status=$?
8825 +  grep -v '^ *+' conftest.er1 >conftest.err
8826 +  rm -f conftest.er1
8827 +  cat conftest.err >&5
8828 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 +  (exit $ac_status); } && {
8830 +        test -z "$ac_c_werror_flag" ||
8831 +        test ! -s conftest.err
8832 +       } && test -s conftest.$ac_objext; then
8833 +  :
8834 +else
8835 +  echo "$as_me: failed program was:" >&5
8836 +sed 's/^/| /' conftest.$ac_ext >&5
8837 +
8838 +       ac_c_werror_flag=$ac_save_c_werror_flag
8839 +        CFLAGS="-g"
8840 +        cat >conftest.$ac_ext <<_ACEOF
8841 +/* confdefs.h.  */
8842 +_ACEOF
8843 +cat confdefs.h >>conftest.$ac_ext
8844 +cat >>conftest.$ac_ext <<_ACEOF
8845 +/* end confdefs.h.  */
8846 +
8847 +int
8848 +main ()
8849 +{
8850 +
8851 +  ;
8852 +  return 0;
8853 +}
8854 +_ACEOF
8855 +rm -f conftest.$ac_objext
8856 +if { (ac_try="$ac_compile"
8857 +case "(($ac_try" in
8858 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8859 +  *) ac_try_echo=$ac_try;;
8860 +esac
8861 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 +  (eval "$ac_compile") 2>conftest.er1
8863 +  ac_status=$?
8864 +  grep -v '^ *+' conftest.er1 >conftest.err
8865 +  rm -f conftest.er1
8866 +  cat conftest.err >&5
8867 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 +  (exit $ac_status); } && {
8869 +        test -z "$ac_c_werror_flag" ||
8870 +        test ! -s conftest.err
8871 +       } && test -s conftest.$ac_objext; then
8872 +  ac_cv_prog_cc_g=yes
8873 +else
8874 +  echo "$as_me: failed program was:" >&5
8875 +sed 's/^/| /' conftest.$ac_ext >&5
8876 +
8877 +
8878 +fi
8879 +
8880 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8881 +fi
8882 +
8883 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8884 +fi
8885 +
8886 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8887 +   ac_c_werror_flag=$ac_save_c_werror_flag
8888 +fi
8889 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8890 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
8891 +if test "$ac_test_CFLAGS" = set; then
8892 +  CFLAGS=$ac_save_CFLAGS
8893 +elif test $ac_cv_prog_cc_g = yes; then
8894 +  if test "$GCC" = yes; then
8895 +    CFLAGS="-g -O2"
8896 +  else
8897 +    CFLAGS="-g"
8898 +  fi
8899 +else
8900 +  if test "$GCC" = yes; then
8901 +    CFLAGS="-O2"
8902 +  else
8903 +    CFLAGS=
8904 +  fi
8905 +fi
8906 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
8907 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
8908 +if test "${ac_cv_prog_cc_c89+set}" = set; then
8909 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8910 +else
8911 +  ac_cv_prog_cc_c89=no
8912 +ac_save_CC=$CC
8913 +cat >conftest.$ac_ext <<_ACEOF
8914 +/* confdefs.h.  */
8915 +_ACEOF
8916 +cat confdefs.h >>conftest.$ac_ext
8917 +cat >>conftest.$ac_ext <<_ACEOF
8918 +/* end confdefs.h.  */
8919 +#include <stdarg.h>
8920 +#include <stdio.h>
8921 +#include <sys/types.h>
8922 +#include <sys/stat.h>
8923 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
8924 +struct buf { int x; };
8925 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
8926 +static char *e (p, i)
8927 +     char **p;
8928 +     int i;
8929 +{
8930 +  return p[i];
8931 +}
8932 +static char *f (char * (*g) (char **, int), char **p, ...)
8933 +{
8934 +  char *s;
8935 +  va_list v;
8936 +  va_start (v,p);
8937 +  s = g (p, va_arg (v,int));
8938 +  va_end (v);
8939 +  return s;
8940 +}
8941 +
8942 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
8943 +   function prototypes and stuff, but not '\xHH' hex character constants.
8944 +   These don't provoke an error unfortunately, instead are silently treated
8945 +   as 'x'.  The following induces an error, until -std is added to get
8946 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
8947 +   array size at least.  It's necessary to write '\x00'==0 to get something
8948 +   that's true only with -std.  */
8949 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8950 +
8951 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8952 +   inside strings and character constants.  */
8953 +#define FOO(x) 'x'
8954 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8955 +
8956 +int test (int i, double x);
8957 +struct s1 {int (*f) (int a);};
8958 +struct s2 {int (*f) (double a);};
8959 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8960 +int argc;
8961 +char **argv;
8962 +int
8963 +main ()
8964 +{
8965 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
8966 +  ;
8967 +  return 0;
8968 +}
8969 +_ACEOF
8970 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8971 +       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8972 +do
8973 +  CC="$ac_save_CC $ac_arg"
8974 +  rm -f conftest.$ac_objext
8975 +if { (ac_try="$ac_compile"
8976 +case "(($ac_try" in
8977 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8978 +  *) ac_try_echo=$ac_try;;
8979 +esac
8980 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8981 +  (eval "$ac_compile") 2>conftest.er1
8982 +  ac_status=$?
8983 +  grep -v '^ *+' conftest.er1 >conftest.err
8984 +  rm -f conftest.er1
8985 +  cat conftest.err >&5
8986 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 +  (exit $ac_status); } && {
8988 +        test -z "$ac_c_werror_flag" ||
8989 +        test ! -s conftest.err
8990 +       } && test -s conftest.$ac_objext; then
8991 +  ac_cv_prog_cc_c89=$ac_arg
8992 +else
8993 +  echo "$as_me: failed program was:" >&5
8994 +sed 's/^/| /' conftest.$ac_ext >&5
8995 +
8996 +
8997 +fi
8998 +
8999 +rm -f core conftest.err conftest.$ac_objext
9000 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
9001 +done
9002 +rm -f conftest.$ac_ext
9003 +CC=$ac_save_CC
9004 +
9005 +fi
9006 +# AC_CACHE_VAL
9007 +case "x$ac_cv_prog_cc_c89" in
9008 +  x)
9009 +    { echo "$as_me:$LINENO: result: none needed" >&5
9010 +echo "${ECHO_T}none needed" >&6; } ;;
9011 +  xno)
9012 +    { echo "$as_me:$LINENO: result: unsupported" >&5
9013 +echo "${ECHO_T}unsupported" >&6; } ;;
9014 +  *)
9015 +    CC="$CC $ac_cv_prog_cc_c89"
9016 +    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
9017 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
9018 +esac
9019 +
9020 +
9021 +ac_ext=c
9022 +ac_cpp='$CPP $CPPFLAGS'
9023 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9024 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9025 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9026 +DEPDIR="${am__leading_dot}deps"
9027 +
9028 +ac_config_commands="$ac_config_commands depfiles"
9029 +
9030 +
9031 +am_make=${MAKE-make}
9032 +cat > confinc << 'END'
9033 +am__doit:
9034 +       @echo done
9035 +.PHONY: am__doit
9036 +END
9037 +# If we don't find an include directive, just comment out the code.
9038 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
9039 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
9040 +am__include="#"
9041 +am__quote=
9042 +_am_result=none
9043 +# First try GNU make style include.
9044 +echo "include confinc" > confmf
9045 +# We grep out `Entering directory' and `Leaving directory'
9046 +# messages which can occur if `w' ends up in MAKEFLAGS.
9047 +# In particular we don't look at `^make:' because GNU make might
9048 +# be invoked under some other name (usually "gmake"), in which
9049 +# case it prints its new name instead of `make'.
9050 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9051 +   am__include=include
9052 +   am__quote=
9053 +   _am_result=GNU
9054 +fi
9055 +# Now try BSD make style include.
9056 +if test "$am__include" = "#"; then
9057 +   echo '.include "confinc"' > confmf
9058 +   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9059 +      am__include=.include
9060 +      am__quote="\""
9061 +      _am_result=BSD
9062 +   fi
9063 +fi
9064 +
9065 +
9066 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
9067 +echo "${ECHO_T}$_am_result" >&6; }
9068 +rm -f confinc confmf
9069 +
9070 +# Check whether --enable-dependency-tracking was given.
9071 +if test "${enable_dependency_tracking+set}" = set; then
9072 +  enableval=$enable_dependency_tracking;
9073 +fi
9074 +
9075 +if test "x$enable_dependency_tracking" != xno; then
9076 +  am_depcomp="$ac_aux_dir/depcomp"
9077 +  AMDEPBACKSLASH='\'
9078 +fi
9079 + if test "x$enable_dependency_tracking" != xno; then
9080 +  AMDEP_TRUE=
9081 +  AMDEP_FALSE='#'
9082 +else
9083 +  AMDEP_TRUE='#'
9084 +  AMDEP_FALSE=
9085 +fi
9086 +
9087 +
9088 +
9089 +depcc="$CC"   am_compiler_list=
9090 +
9091 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9092 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9093 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
9094 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9095 +else
9096 +  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9097 +  # We make a subdir and do the tests there.  Otherwise we can end up
9098 +  # making bogus files that we don't know about and never remove.  For
9099 +  # instance it was reported that on HP-UX the gcc test will end up
9100 +  # making a dummy file named `D' -- because `-MD' means `put the output
9101 +  # in D'.
9102 +  mkdir conftest.dir
9103 +  # Copy depcomp to subdir because otherwise we won't find it if we're
9104 +  # using a relative directory.
9105 +  cp "$am_depcomp" conftest.dir
9106 +  cd conftest.dir
9107 +  # We will build objects and dependencies in a subdirectory because
9108 +  # it helps to detect inapplicable dependency modes.  For instance
9109 +  # both Tru64's cc and ICC support -MD to output dependencies as a
9110 +  # side effect of compilation, but ICC will put the dependencies in
9111 +  # the current directory while Tru64 will put them in the object
9112 +  # directory.
9113 +  mkdir sub
9114 +
9115 +  am_cv_CC_dependencies_compiler_type=none
9116 +  if test "$am_compiler_list" = ""; then
9117 +     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9118 +  fi
9119 +  for depmode in $am_compiler_list; do
9120 +    # Setup a source with many dependencies, because some compilers
9121 +    # like to wrap large dependency lists on column 80 (with \), and
9122 +    # we should not choose a depcomp mode which is confused by this.
9123 +    #
9124 +    # We need to recreate these files for each test, as the compiler may
9125 +    # overwrite some of them when testing with obscure command lines.
9126 +    # This happens at least with the AIX C compiler.
9127 +    : > sub/conftest.c
9128 +    for i in 1 2 3 4 5 6; do
9129 +      echo '#include "conftst'$i'.h"' >> sub/conftest.c
9130 +      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9131 +      # Solaris 8's {/usr,}/bin/sh.
9132 +      touch sub/conftst$i.h
9133 +    done
9134 +    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9135 +
9136 +    case $depmode in
9137 +    nosideeffect)
9138 +      # after this tag, mechanisms are not by side-effect, so they'll
9139 +      # only be used when explicitly requested
9140 +      if test "x$enable_dependency_tracking" = xyes; then
9141 +       continue
9142 +      else
9143 +       break
9144 +      fi
9145 +      ;;
9146 +    none) break ;;
9147 +    esac
9148 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9149 +    # mode.  It turns out that the SunPro C++ compiler does not properly
9150 +    # handle `-M -o', and we need to detect this.
9151 +    if depmode=$depmode \
9152 +       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9153 +       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9154 +       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9155 +         >/dev/null 2>conftest.err &&
9156 +       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9157 +       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9158 +       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9159 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9160 +      # icc doesn't choke on unknown options, it will just issue warnings
9161 +      # or remarks (even with -Werror).  So we grep stderr for any message
9162 +      # that says an option was ignored or not supported.
9163 +      # When given -MP, icc 7.0 and 7.1 complain thusly:
9164 +      #   icc: Command line warning: ignoring option '-M'; no argument required
9165 +      # The diagnosis changed in icc 8.0:
9166 +      #   icc: Command line remark: option '-MP' not supported
9167 +      if (grep 'ignoring option' conftest.err ||
9168 +          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9169 +        am_cv_CC_dependencies_compiler_type=$depmode
9170 +        break
9171 +      fi
9172 +    fi
9173 +  done
9174 +
9175 +  cd ..
9176 +  rm -rf conftest.dir
9177  else
9178 -  echo "$ac_t""no" 1>&6
9179 +  am_cv_CC_dependencies_compiler_type=none
9180  fi
9181  
9182 -  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9183  fi
9184 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9185 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
9186 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9187  
9188 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9189 -echo "configure:887: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9190 -
9191 -ac_ext=c
9192 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9193 -ac_cpp='$CPP $CPPFLAGS'
9194 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9195 -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9196 -cross_compiling=$ac_cv_prog_cc_cross
9197 -
9198 -cat > conftest.$ac_ext <<EOF
9199 -#line 897 "configure"
9200 -#include "confdefs.h"
9201 -main(){return(0);}
9202 -EOF
9203 -if { (eval echo configure:901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9204 -  ac_cv_prog_cc_works=yes
9205 -  # If we can't run a trivial program, we are probably using a cross compiler.
9206 -  if (./conftest; exit) 2>/dev/null; then
9207 -    ac_cv_prog_cc_cross=no
9208 -  else
9209 -    ac_cv_prog_cc_cross=yes
9210 -  fi
9211 + if
9212 +  test "x$enable_dependency_tracking" != xno \
9213 +  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9214 +  am__fastdepCC_TRUE=
9215 +  am__fastdepCC_FALSE='#'
9216  else
9217 -  echo "configure: failed program was:" >&5
9218 -  cat conftest.$ac_ext >&5
9219 -  ac_cv_prog_cc_works=no
9220 +  am__fastdepCC_TRUE='#'
9221 +  am__fastdepCC_FALSE=
9222  fi
9223 -rm -fr conftest*
9224  
9225 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9226 -if test $ac_cv_prog_cc_works = no; then
9227 -  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9228 -fi
9229 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9230 -echo "configure:921: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9231 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9232 -cross_compiling=$ac_cv_prog_cc_cross
9233  
9234 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9235 -echo "configure:926: checking whether we are using GNU C" >&5
9236 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9237 -  echo $ac_n "(cached) $ac_c" 1>&6
9238 +ac_ext=c
9239 +ac_cpp='$CPP $CPPFLAGS'
9240 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9241 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9242 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9243 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
9244 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
9245 +# On Suns, sometimes $CPP names a directory.
9246 +if test -n "$CPP" && test -d "$CPP"; then
9247 +  CPP=
9248 +fi
9249 +if test -z "$CPP"; then
9250 +  if test "${ac_cv_prog_CPP+set}" = set; then
9251 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9252  else
9253 -  cat > conftest.c <<EOF
9254 -#ifdef __GNUC__
9255 -  yes;
9256 +      # Double quotes because CPP needs to be expanded
9257 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9258 +    do
9259 +      ac_preproc_ok=false
9260 +for ac_c_preproc_warn_flag in '' yes
9261 +do
9262 +  # Use a header file that comes with gcc, so configuring glibc
9263 +  # with a fresh cross-compiler works.
9264 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9265 +  # <limits.h> exists even on freestanding compilers.
9266 +  # On the NeXT, cc -E runs the code through the compiler's parser,
9267 +  # not just through cpp. "Syntax error" is here to catch this case.
9268 +  cat >conftest.$ac_ext <<_ACEOF
9269 +/* confdefs.h.  */
9270 +_ACEOF
9271 +cat confdefs.h >>conftest.$ac_ext
9272 +cat >>conftest.$ac_ext <<_ACEOF
9273 +/* end confdefs.h.  */
9274 +#ifdef __STDC__
9275 +# include <limits.h>
9276 +#else
9277 +# include <assert.h>
9278  #endif
9279 -EOF
9280 -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
9281 -  ac_cv_prog_gcc=yes
9282 +                    Syntax error
9283 +_ACEOF
9284 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9285 +case "(($ac_try" in
9286 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9287 +  *) ac_try_echo=$ac_try;;
9288 +esac
9289 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9290 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9291 +  ac_status=$?
9292 +  grep -v '^ *+' conftest.er1 >conftest.err
9293 +  rm -f conftest.er1
9294 +  cat conftest.err >&5
9295 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 +  (exit $ac_status); } >/dev/null && {
9297 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9298 +        test ! -s conftest.err
9299 +       }; then
9300 +  :
9301  else
9302 -  ac_cv_prog_gcc=no
9303 -fi
9304 +  echo "$as_me: failed program was:" >&5
9305 +sed 's/^/| /' conftest.$ac_ext >&5
9306 +
9307 +  # Broken: fails on valid input.
9308 +continue
9309  fi
9310  
9311 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9312 +rm -f conftest.err conftest.$ac_ext
9313  
9314 -if test $ac_cv_prog_gcc = yes; then
9315 -  GCC=yes
9316 -  ac_test_CFLAGS="${CFLAGS+set}"
9317 -  ac_save_CFLAGS="$CFLAGS"
9318 -  CFLAGS=
9319 -  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9320 -echo "configure:950: checking whether ${CC-cc} accepts -g" >&5
9321 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9322 -  echo $ac_n "(cached) $ac_c" 1>&6
9323 -else
9324 -  echo 'void f(){}' > conftest.c
9325 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9326 -  ac_cv_prog_cc_g=yes
9327 -else
9328 -  ac_cv_prog_cc_g=no
9329 +  # OK, works on sane cases.  Now check whether nonexistent headers
9330 +  # can be detected and how.
9331 +  cat >conftest.$ac_ext <<_ACEOF
9332 +/* confdefs.h.  */
9333 +_ACEOF
9334 +cat confdefs.h >>conftest.$ac_ext
9335 +cat >>conftest.$ac_ext <<_ACEOF
9336 +/* end confdefs.h.  */
9337 +#include <ac_nonexistent.h>
9338 +_ACEOF
9339 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9340 +case "(($ac_try" in
9341 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9342 +  *) ac_try_echo=$ac_try;;
9343 +esac
9344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9345 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9346 +  ac_status=$?
9347 +  grep -v '^ *+' conftest.er1 >conftest.err
9348 +  rm -f conftest.er1
9349 +  cat conftest.err >&5
9350 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 +  (exit $ac_status); } >/dev/null && {
9352 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9353 +        test ! -s conftest.err
9354 +       }; then
9355 +  # Broken: success on invalid input.
9356 +continue
9357 +else
9358 +  echo "$as_me: failed program was:" >&5
9359 +sed 's/^/| /' conftest.$ac_ext >&5
9360 +
9361 +  # Passes both tests.
9362 +ac_preproc_ok=:
9363 +break
9364  fi
9365 -rm -f conftest*
9366  
9367 -fi
9368 +rm -f conftest.err conftest.$ac_ext
9369  
9370 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9371 -  if test "$ac_test_CFLAGS" = set; then
9372 -    CFLAGS="$ac_save_CFLAGS"
9373 -  elif test $ac_cv_prog_cc_g = yes; then
9374 -    CFLAGS="-g -O2"
9375 -  else
9376 -    CFLAGS="-O2"
9377 -  fi
9378 -else
9379 -  GCC=
9380 -  test "${CFLAGS+set}" = set || CFLAGS="-g"
9381 +done
9382 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9383 +rm -f conftest.err conftest.$ac_ext
9384 +if $ac_preproc_ok; then
9385 +  break
9386  fi
9387  
9388 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9389 -echo "configure:978: checking how to run the C preprocessor" >&5
9390 -# On Suns, sometimes $CPP names a directory.
9391 -if test -n "$CPP" && test -d "$CPP"; then
9392 -  CPP=
9393 +    done
9394 +    ac_cv_prog_CPP=$CPP
9395 +
9396  fi
9397 -if test -z "$CPP"; then
9398 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9399 -  echo $ac_n "(cached) $ac_c" 1>&6
9400 +  CPP=$ac_cv_prog_CPP
9401  else
9402 -    # This must be in double quotes, not single quotes, because CPP may get
9403 -  # substituted into the Makefile and "${CC-cc}" will confuse make.
9404 -  CPP="${CC-cc} -E"
9405 +  ac_cv_prog_CPP=$CPP
9406 +fi
9407 +{ echo "$as_me:$LINENO: result: $CPP" >&5
9408 +echo "${ECHO_T}$CPP" >&6; }
9409 +ac_preproc_ok=false
9410 +for ac_c_preproc_warn_flag in '' yes
9411 +do
9412 +  # Use a header file that comes with gcc, so configuring glibc
9413 +  # with a fresh cross-compiler works.
9414 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9415 +  # <limits.h> exists even on freestanding compilers.
9416    # On the NeXT, cc -E runs the code through the compiler's parser,
9417 -  # not just through cpp.
9418 -  cat > conftest.$ac_ext <<EOF
9419 -#line 993 "configure"
9420 -#include "confdefs.h"
9421 -#include <assert.h>
9422 -Syntax Error
9423 -EOF
9424 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9425 -{ (eval echo configure:999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9426 -ac_err=`grep -v '^ *+' conftest.out`
9427 -if test -z "$ac_err"; then
9428 -  :
9429 -else
9430 -  echo "$ac_err" >&5
9431 -  echo "configure: failed program was:" >&5
9432 -  cat conftest.$ac_ext >&5
9433 -  rm -rf conftest*
9434 -  CPP="${CC-cc} -E -traditional-cpp"
9435 -  cat > conftest.$ac_ext <<EOF
9436 -#line 1010 "configure"
9437 -#include "confdefs.h"
9438 -#include <assert.h>
9439 -Syntax Error
9440 -EOF
9441 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9442 -{ (eval echo configure:1016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9443 -ac_err=`grep -v '^ *+' conftest.out`
9444 -if test -z "$ac_err"; then
9445 +  # not just through cpp. "Syntax error" is here to catch this case.
9446 +  cat >conftest.$ac_ext <<_ACEOF
9447 +/* confdefs.h.  */
9448 +_ACEOF
9449 +cat confdefs.h >>conftest.$ac_ext
9450 +cat >>conftest.$ac_ext <<_ACEOF
9451 +/* end confdefs.h.  */
9452 +#ifdef __STDC__
9453 +# include <limits.h>
9454 +#else
9455 +# include <assert.h>
9456 +#endif
9457 +                    Syntax error
9458 +_ACEOF
9459 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9460 +case "(($ac_try" in
9461 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9462 +  *) ac_try_echo=$ac_try;;
9463 +esac
9464 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9465 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9466 +  ac_status=$?
9467 +  grep -v '^ *+' conftest.er1 >conftest.err
9468 +  rm -f conftest.er1
9469 +  cat conftest.err >&5
9470 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 +  (exit $ac_status); } >/dev/null && {
9472 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9473 +        test ! -s conftest.err
9474 +       }; then
9475    :
9476  else
9477 -  echo "$ac_err" >&5
9478 -  echo "configure: failed program was:" >&5
9479 -  cat conftest.$ac_ext >&5
9480 -  rm -rf conftest*
9481 -  CPP=/lib/cpp
9482 -fi
9483 -rm -f conftest*
9484 +  echo "$as_me: failed program was:" >&5
9485 +sed 's/^/| /' conftest.$ac_ext >&5
9486 +
9487 +  # Broken: fails on valid input.
9488 +continue
9489  fi
9490 -rm -f conftest*
9491 -  ac_cv_prog_CPP="$CPP"
9492 +
9493 +rm -f conftest.err conftest.$ac_ext
9494 +
9495 +  # OK, works on sane cases.  Now check whether nonexistent headers
9496 +  # can be detected and how.
9497 +  cat >conftest.$ac_ext <<_ACEOF
9498 +/* confdefs.h.  */
9499 +_ACEOF
9500 +cat confdefs.h >>conftest.$ac_ext
9501 +cat >>conftest.$ac_ext <<_ACEOF
9502 +/* end confdefs.h.  */
9503 +#include <ac_nonexistent.h>
9504 +_ACEOF
9505 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9506 +case "(($ac_try" in
9507 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9508 +  *) ac_try_echo=$ac_try;;
9509 +esac
9510 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9511 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9512 +  ac_status=$?
9513 +  grep -v '^ *+' conftest.er1 >conftest.err
9514 +  rm -f conftest.er1
9515 +  cat conftest.err >&5
9516 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 +  (exit $ac_status); } >/dev/null && {
9518 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9519 +        test ! -s conftest.err
9520 +       }; then
9521 +  # Broken: success on invalid input.
9522 +continue
9523 +else
9524 +  echo "$as_me: failed program was:" >&5
9525 +sed 's/^/| /' conftest.$ac_ext >&5
9526 +
9527 +  # Passes both tests.
9528 +ac_preproc_ok=:
9529 +break
9530  fi
9531 -  CPP="$ac_cv_prog_CPP"
9532 +
9533 +rm -f conftest.err conftest.$ac_ext
9534 +
9535 +done
9536 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9537 +rm -f conftest.err conftest.$ac_ext
9538 +if $ac_preproc_ok; then
9539 +  :
9540  else
9541 -  ac_cv_prog_CPP="$CPP"
9542 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
9543 +See \`config.log' for more details." >&5
9544 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
9545 +See \`config.log' for more details." >&2;}
9546 +   { (exit 1); exit 1; }; }
9547  fi
9548 -echo "$ac_t""$CPP" 1>&6
9549 +
9550 +ac_ext=c
9551 +ac_cpp='$CPP $CPPFLAGS'
9552 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9553 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9554 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9555  
9556  # Find a good install program.  We prefer a C program (faster),
9557  # so one script is as good as another.  But avoid the broken or
9558 @@ -1041,298 +3573,480 @@
9559  # SunOS /usr/etc/install
9560  # IRIX /sbin/install
9561  # AIX /bin/install
9562 +# AmigaOS /C/install, which installs bootblocks on floppy discs
9563 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9564  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9565  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9566 +# OS/2's system install, which has a completely different semantic
9567  # ./install, which can be erroneously created by make from ./install.sh.
9568 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9569 -echo "configure:1049: checking for a BSD compatible install" >&5
9570 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9571 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9572  if test -z "$INSTALL"; then
9573 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9574 -  echo $ac_n "(cached) $ac_c" 1>&6
9575 +if test "${ac_cv_path_install+set}" = set; then
9576 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9577  else
9578 -    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
9579 -  for ac_dir in $PATH; do
9580 -    # Account for people who put trailing slashes in PATH elements.
9581 -    case "$ac_dir/" in
9582 -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9583 -    *)
9584 -      # OSF1 and SCO ODT 3.0 have their own names for install.
9585 -      for ac_prog in ginstall installbsd scoinst install; do
9586 -        if test -f $ac_dir/$ac_prog; then
9587 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9588 +for as_dir in $PATH
9589 +do
9590 +  IFS=$as_save_IFS
9591 +  test -z "$as_dir" && as_dir=.
9592 +  # Account for people who put trailing slashes in PATH elements.
9593 +case $as_dir/ in
9594 +  ./ | .// | /cC/* | \
9595 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9596 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
9597 +  /usr/ucb/* ) ;;
9598 +  *)
9599 +    # OSF1 and SCO ODT 3.0 have their own names for install.
9600 +    # Don't use installbsd from OSF since it installs stuff as root
9601 +    # by default.
9602 +    for ac_prog in ginstall scoinst install; do
9603 +      for ac_exec_ext in '' $ac_executable_extensions; do
9604 +       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9605           if test $ac_prog = install &&
9606 -            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9607 +           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9608             # AIX install.  It has an incompatible calling convention.
9609 -           # OSF/1 installbsd also uses dspmsg, but is usable.
9610 +           :
9611 +         elif test $ac_prog = install &&
9612 +           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9613 +           # program-specific install script used by HP pwplus--don't use.
9614             :
9615           else
9616 -           ac_cv_path_install="$ac_dir/$ac_prog -c"
9617 -           break 2
9618 +           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9619 +           break 3
9620           fi
9621         fi
9622        done
9623 -      ;;
9624 -    esac
9625 -  done
9626 -  IFS="$ac_save_IFS"
9627 +    done
9628 +    ;;
9629 +esac
9630 +done
9631 +IFS=$as_save_IFS
9632 +
9633  
9634  fi
9635    if test "${ac_cv_path_install+set}" = set; then
9636 -    INSTALL="$ac_cv_path_install"
9637 +    INSTALL=$ac_cv_path_install
9638    else
9639 -    # As a last resort, use the slow shell script.  We don't cache a
9640 -    # path for INSTALL within a source directory, because that will
9641 +    # As a last resort, use the slow shell script.  Don't cache a
9642 +    # value for INSTALL within a source directory, because that will
9643      # break other packages using the cache if that directory is
9644 -    # removed, or if the path is relative.
9645 -    INSTALL="$ac_install_sh"
9646 +    # removed, or if the value is a relative name.
9647 +    INSTALL=$ac_install_sh
9648    fi
9649  fi
9650 -echo "$ac_t""$INSTALL" 1>&6
9651 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9652 +echo "${ECHO_T}$INSTALL" >&6; }
9653  
9654  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9655  # It thinks the first close brace ends the variable substitution.
9656  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9657  
9658 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
9659 +
9660  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9661  
9662  
9663 -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
9664 -echo "configure:1100: checking return type of signal handlers" >&5
9665 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
9666 -  echo $ac_n "(cached) $ac_c" 1>&6
9667 -else
9668 -  cat > conftest.$ac_ext <<EOF
9669 -#line 1105 "configure"
9670 -#include "confdefs.h"
9671 +
9672 +{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
9673 +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
9674 +if test "${ac_cv_type_signal+set}" = set; then
9675 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9676 +else
9677 +  cat >conftest.$ac_ext <<_ACEOF
9678 +/* confdefs.h.  */
9679 +_ACEOF
9680 +cat confdefs.h >>conftest.$ac_ext
9681 +cat >>conftest.$ac_ext <<_ACEOF
9682 +/* end confdefs.h.  */
9683  #include <sys/types.h>
9684  #include <signal.h>
9685 -#ifdef signal
9686 -#undef signal
9687 -#endif
9688 -#ifdef __cplusplus
9689 -extern "C" void (*signal (int, void (*)(int)))(int);
9690 -#else
9691 -void (*signal ()) ();
9692 -#endif
9693  
9694 -int main() {
9695 -int i;
9696 -; return 0; }
9697 -EOF
9698 -if { (eval echo configure:1122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9699 -  rm -rf conftest*
9700 -  ac_cv_type_signal=void
9701 -else
9702 -  echo "configure: failed program was:" >&5
9703 -  cat conftest.$ac_ext >&5
9704 -  rm -rf conftest*
9705 +int
9706 +main ()
9707 +{
9708 +return *(signal (0, 0)) (0) == 1;
9709 +  ;
9710 +  return 0;
9711 +}
9712 +_ACEOF
9713 +rm -f conftest.$ac_objext
9714 +if { (ac_try="$ac_compile"
9715 +case "(($ac_try" in
9716 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9717 +  *) ac_try_echo=$ac_try;;
9718 +esac
9719 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9720 +  (eval "$ac_compile") 2>conftest.er1
9721 +  ac_status=$?
9722 +  grep -v '^ *+' conftest.er1 >conftest.err
9723 +  rm -f conftest.er1
9724 +  cat conftest.err >&5
9725 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 +  (exit $ac_status); } && {
9727 +        test -z "$ac_c_werror_flag" ||
9728 +        test ! -s conftest.err
9729 +       } && test -s conftest.$ac_objext; then
9730    ac_cv_type_signal=int
9731 +else
9732 +  echo "$as_me: failed program was:" >&5
9733 +sed 's/^/| /' conftest.$ac_ext >&5
9734 +
9735 +       ac_cv_type_signal=void
9736  fi
9737 -rm -f conftest*
9738 +
9739 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9740  fi
9741 +{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
9742 +echo "${ECHO_T}$ac_cv_type_signal" >&6; }
9743  
9744 -echo "$ac_t""$ac_cv_type_signal" 1>&6
9745 -cat >> confdefs.h <<EOF
9746 +cat >>confdefs.h <<_ACEOF
9747  #define RETSIGTYPE $ac_cv_type_signal
9748 -EOF
9749 +_ACEOF
9750  
9751  
9752  
9753  
9754 -echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9755 -echo "configure:1143: checking for gethostbyname" >&5
9756 -if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9757 -  echo $ac_n "(cached) $ac_c" 1>&6
9758 +{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
9759 +echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
9760 +if test "${ac_cv_func_gethostbyname+set}" = set; then
9761 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9762  else
9763 -  cat > conftest.$ac_ext <<EOF
9764 -#line 1148 "configure"
9765 -#include "confdefs.h"
9766 +  cat >conftest.$ac_ext <<_ACEOF
9767 +/* confdefs.h.  */
9768 +_ACEOF
9769 +cat confdefs.h >>conftest.$ac_ext
9770 +cat >>conftest.$ac_ext <<_ACEOF
9771 +/* end confdefs.h.  */
9772 +/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
9773 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9774 +#define gethostbyname innocuous_gethostbyname
9775 +
9776  /* System header to define __stub macros and hopefully few prototypes,
9777 -    which can conflict with char gethostbyname(); below.  */
9778 -#include <assert.h>
9779 -/* Override any gcc2 internal prototype to avoid an error.  */
9780 -/* We use char because int might match the return type of a gcc2
9781 -    builtin and then its argument prototype would still apply.  */
9782 -char gethostbyname();
9783 +    which can conflict with char gethostbyname (); below.
9784 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9785 +    <limits.h> exists even on freestanding compilers.  */
9786 +
9787 +#ifdef __STDC__
9788 +# include <limits.h>
9789 +#else
9790 +# include <assert.h>
9791 +#endif
9792  
9793 -int main() {
9794 +#undef gethostbyname
9795  
9796 +/* Override any GCC internal prototype to avoid an error.
9797 +   Use char because int might match the return type of a GCC
9798 +   builtin and then its argument prototype would still apply.  */
9799 +#ifdef __cplusplus
9800 +extern "C"
9801 +#endif
9802 +char gethostbyname ();
9803  /* The GNU C library defines this for functions which it implements
9804      to always fail with ENOSYS.  Some functions are actually named
9805      something starting with __ and the normal name is an alias.  */
9806 -#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9807 +#if defined __stub_gethostbyname || defined __stub___gethostbyname
9808  choke me
9809 -#else
9810 -gethostbyname();
9811  #endif
9812  
9813 -; return 0; }
9814 -EOF
9815 -if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9816 -  rm -rf conftest*
9817 -  eval "ac_cv_func_gethostbyname=yes"
9818 -else
9819 -  echo "configure: failed program was:" >&5
9820 -  cat conftest.$ac_ext >&5
9821 -  rm -rf conftest*
9822 -  eval "ac_cv_func_gethostbyname=no"
9823 -fi
9824 -rm -f conftest*
9825 +int
9826 +main ()
9827 +{
9828 +return gethostbyname ();
9829 +  ;
9830 +  return 0;
9831 +}
9832 +_ACEOF
9833 +rm -f conftest.$ac_objext conftest$ac_exeext
9834 +if { (ac_try="$ac_link"
9835 +case "(($ac_try" in
9836 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 +  *) ac_try_echo=$ac_try;;
9838 +esac
9839 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9840 +  (eval "$ac_link") 2>conftest.er1
9841 +  ac_status=$?
9842 +  grep -v '^ *+' conftest.er1 >conftest.err
9843 +  rm -f conftest.er1
9844 +  cat conftest.err >&5
9845 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 +  (exit $ac_status); } && {
9847 +        test -z "$ac_c_werror_flag" ||
9848 +        test ! -s conftest.err
9849 +       } && test -s conftest$ac_exeext &&
9850 +       $as_test_x conftest$ac_exeext; then
9851 +  ac_cv_func_gethostbyname=yes
9852 +else
9853 +  echo "$as_me: failed program was:" >&5
9854 +sed 's/^/| /' conftest.$ac_ext >&5
9855 +
9856 +       ac_cv_func_gethostbyname=no
9857  fi
9858  
9859 -if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9860 -  echo "$ac_t""yes" 1>&6
9861 -  :
9862 -else
9863 -  echo "$ac_t""no" 1>&6
9864 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9865 +      conftest$ac_exeext conftest.$ac_ext
9866  fi
9867 +{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
9868 +echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
9869  
9870  if test $ac_cv_func_gethostbyname = no; then
9871 -    echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9872 -echo "configure:1192: checking for gethostbyname in -lnsl" >&5
9873 -ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9874 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9875 -  echo $ac_n "(cached) $ac_c" 1>&6
9876 +
9877 +{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
9878 +echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
9879 +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
9880 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9881  else
9882 -  ac_save_LIBS="$LIBS"
9883 +  ac_check_lib_save_LIBS=$LIBS
9884  LIBS="-lnsl  $LIBS"
9885 -cat > conftest.$ac_ext <<EOF
9886 -#line 1200 "configure"
9887 -#include "confdefs.h"
9888 -/* Override any gcc2 internal prototype to avoid an error.  */
9889 -/* We use char because int might match the return type of a gcc2
9890 -    builtin and then its argument prototype would still apply.  */
9891 -char gethostbyname();
9892 -
9893 -int main() {
9894 -gethostbyname()
9895 -; return 0; }
9896 -EOF
9897 -if { (eval echo configure:1211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9898 -  rm -rf conftest*
9899 -  eval "ac_cv_lib_$ac_lib_var=yes"
9900 -else
9901 -  echo "configure: failed program was:" >&5
9902 -  cat conftest.$ac_ext >&5
9903 -  rm -rf conftest*
9904 -  eval "ac_cv_lib_$ac_lib_var=no"
9905 -fi
9906 -rm -f conftest*
9907 -LIBS="$ac_save_LIBS"
9908 -
9909 -fi
9910 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9911 -  echo "$ac_t""yes" 1>&6
9912 -    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9913 -    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9914 -  cat >> confdefs.h <<EOF
9915 -#define $ac_tr_lib 1
9916 -EOF
9917 +cat >conftest.$ac_ext <<_ACEOF
9918 +/* confdefs.h.  */
9919 +_ACEOF
9920 +cat confdefs.h >>conftest.$ac_ext
9921 +cat >>conftest.$ac_ext <<_ACEOF
9922 +/* end confdefs.h.  */
9923 +
9924 +/* Override any GCC internal prototype to avoid an error.
9925 +   Use char because int might match the return type of a GCC
9926 +   builtin and then its argument prototype would still apply.  */
9927 +#ifdef __cplusplus
9928 +extern "C"
9929 +#endif
9930 +char gethostbyname ();
9931 +int
9932 +main ()
9933 +{
9934 +return gethostbyname ();
9935 +  ;
9936 +  return 0;
9937 +}
9938 +_ACEOF
9939 +rm -f conftest.$ac_objext conftest$ac_exeext
9940 +if { (ac_try="$ac_link"
9941 +case "(($ac_try" in
9942 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9943 +  *) ac_try_echo=$ac_try;;
9944 +esac
9945 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9946 +  (eval "$ac_link") 2>conftest.er1
9947 +  ac_status=$?
9948 +  grep -v '^ *+' conftest.er1 >conftest.err
9949 +  rm -f conftest.er1
9950 +  cat conftest.err >&5
9951 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 +  (exit $ac_status); } && {
9953 +        test -z "$ac_c_werror_flag" ||
9954 +        test ! -s conftest.err
9955 +       } && test -s conftest$ac_exeext &&
9956 +       $as_test_x conftest$ac_exeext; then
9957 +  ac_cv_lib_nsl_gethostbyname=yes
9958 +else
9959 +  echo "$as_me: failed program was:" >&5
9960 +sed 's/^/| /' conftest.$ac_ext >&5
9961 +
9962 +       ac_cv_lib_nsl_gethostbyname=no
9963 +fi
9964 +
9965 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9966 +      conftest$ac_exeext conftest.$ac_ext
9967 +LIBS=$ac_check_lib_save_LIBS
9968 +fi
9969 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
9970 +echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
9971 +if test $ac_cv_lib_nsl_gethostbyname = yes; then
9972 +  cat >>confdefs.h <<_ACEOF
9973 +#define HAVE_LIBNSL 1
9974 +_ACEOF
9975  
9976    LIBS="-lnsl $LIBS"
9977  
9978 -else
9979 -  echo "$ac_t""no" 1>&6
9980  fi
9981  
9982  fi
9983 -echo $ac_n "checking for connect""... $ac_c" 1>&6
9984 -echo "configure:1240: checking for connect" >&5
9985 -if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9986 -  echo $ac_n "(cached) $ac_c" 1>&6
9987 -else
9988 -  cat > conftest.$ac_ext <<EOF
9989 -#line 1245 "configure"
9990 -#include "confdefs.h"
9991 +{ echo "$as_me:$LINENO: checking for connect" >&5
9992 +echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
9993 +if test "${ac_cv_func_connect+set}" = set; then
9994 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9995 +else
9996 +  cat >conftest.$ac_ext <<_ACEOF
9997 +/* confdefs.h.  */
9998 +_ACEOF
9999 +cat confdefs.h >>conftest.$ac_ext
10000 +cat >>conftest.$ac_ext <<_ACEOF
10001 +/* end confdefs.h.  */
10002 +/* Define connect to an innocuous variant, in case <limits.h> declares connect.
10003 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10004 +#define connect innocuous_connect
10005 +
10006  /* System header to define __stub macros and hopefully few prototypes,
10007 -    which can conflict with char connect(); below.  */
10008 -#include <assert.h>
10009 -/* Override any gcc2 internal prototype to avoid an error.  */
10010 -/* We use char because int might match the return type of a gcc2
10011 -    builtin and then its argument prototype would still apply.  */
10012 -char connect();
10013 +    which can conflict with char connect (); below.
10014 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10015 +    <limits.h> exists even on freestanding compilers.  */
10016 +
10017 +#ifdef __STDC__
10018 +# include <limits.h>
10019 +#else
10020 +# include <assert.h>
10021 +#endif
10022  
10023 -int main() {
10024 +#undef connect
10025  
10026 +/* Override any GCC internal prototype to avoid an error.
10027 +   Use char because int might match the return type of a GCC
10028 +   builtin and then its argument prototype would still apply.  */
10029 +#ifdef __cplusplus
10030 +extern "C"
10031 +#endif
10032 +char connect ();
10033  /* The GNU C library defines this for functions which it implements
10034      to always fail with ENOSYS.  Some functions are actually named
10035      something starting with __ and the normal name is an alias.  */
10036 -#if defined (__stub_connect) || defined (__stub___connect)
10037 +#if defined __stub_connect || defined __stub___connect
10038  choke me
10039 -#else
10040 -connect();
10041  #endif
10042  
10043 -; return 0; }
10044 -EOF
10045 -if { (eval echo configure:1268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10046 -  rm -rf conftest*
10047 -  eval "ac_cv_func_connect=yes"
10048 -else
10049 -  echo "configure: failed program was:" >&5
10050 -  cat conftest.$ac_ext >&5
10051 -  rm -rf conftest*
10052 -  eval "ac_cv_func_connect=no"
10053 -fi
10054 -rm -f conftest*
10055 +int
10056 +main ()
10057 +{
10058 +return connect ();
10059 +  ;
10060 +  return 0;
10061 +}
10062 +_ACEOF
10063 +rm -f conftest.$ac_objext conftest$ac_exeext
10064 +if { (ac_try="$ac_link"
10065 +case "(($ac_try" in
10066 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10067 +  *) ac_try_echo=$ac_try;;
10068 +esac
10069 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10070 +  (eval "$ac_link") 2>conftest.er1
10071 +  ac_status=$?
10072 +  grep -v '^ *+' conftest.er1 >conftest.err
10073 +  rm -f conftest.er1
10074 +  cat conftest.err >&5
10075 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 +  (exit $ac_status); } && {
10077 +        test -z "$ac_c_werror_flag" ||
10078 +        test ! -s conftest.err
10079 +       } && test -s conftest$ac_exeext &&
10080 +       $as_test_x conftest$ac_exeext; then
10081 +  ac_cv_func_connect=yes
10082 +else
10083 +  echo "$as_me: failed program was:" >&5
10084 +sed 's/^/| /' conftest.$ac_ext >&5
10085 +
10086 +       ac_cv_func_connect=no
10087  fi
10088  
10089 -if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10090 -  echo "$ac_t""yes" 1>&6
10091 -  :
10092 -else
10093 -  echo "$ac_t""no" 1>&6
10094 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10095 +      conftest$ac_exeext conftest.$ac_ext
10096  fi
10097 +{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10098 +echo "${ECHO_T}$ac_cv_func_connect" >&6; }
10099  
10100  if test $ac_cv_func_connect = no; then
10101 -    echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10102 -echo "configure:1289: checking for connect in -lsocket" >&5
10103 -ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10104 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10105 -  echo $ac_n "(cached) $ac_c" 1>&6
10106 +
10107 +{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10108 +echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
10109 +if test "${ac_cv_lib_socket_connect+set}" = set; then
10110 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10111  else
10112 -  ac_save_LIBS="$LIBS"
10113 +  ac_check_lib_save_LIBS=$LIBS
10114  LIBS="-lsocket  $LIBS"
10115 -cat > conftest.$ac_ext <<EOF
10116 -#line 1297 "configure"
10117 -#include "confdefs.h"
10118 -/* Override any gcc2 internal prototype to avoid an error.  */
10119 -/* We use char because int might match the return type of a gcc2
10120 -    builtin and then its argument prototype would still apply.  */
10121 -char connect();
10122 -
10123 -int main() {
10124 -connect()
10125 -; return 0; }
10126 -EOF
10127 -if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10128 -  rm -rf conftest*
10129 -  eval "ac_cv_lib_$ac_lib_var=yes"
10130 -else
10131 -  echo "configure: failed program was:" >&5
10132 -  cat conftest.$ac_ext >&5
10133 -  rm -rf conftest*
10134 -  eval "ac_cv_lib_$ac_lib_var=no"
10135 -fi
10136 -rm -f conftest*
10137 -LIBS="$ac_save_LIBS"
10138 -
10139 -fi
10140 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10141 -  echo "$ac_t""yes" 1>&6
10142 -    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10143 -    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
10144 -  cat >> confdefs.h <<EOF
10145 -#define $ac_tr_lib 1
10146 -EOF
10147 +cat >conftest.$ac_ext <<_ACEOF
10148 +/* confdefs.h.  */
10149 +_ACEOF
10150 +cat confdefs.h >>conftest.$ac_ext
10151 +cat >>conftest.$ac_ext <<_ACEOF
10152 +/* end confdefs.h.  */
10153 +
10154 +/* Override any GCC internal prototype to avoid an error.
10155 +   Use char because int might match the return type of a GCC
10156 +   builtin and then its argument prototype would still apply.  */
10157 +#ifdef __cplusplus
10158 +extern "C"
10159 +#endif
10160 +char connect ();
10161 +int
10162 +main ()
10163 +{
10164 +return connect ();
10165 +  ;
10166 +  return 0;
10167 +}
10168 +_ACEOF
10169 +rm -f conftest.$ac_objext conftest$ac_exeext
10170 +if { (ac_try="$ac_link"
10171 +case "(($ac_try" in
10172 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10173 +  *) ac_try_echo=$ac_try;;
10174 +esac
10175 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10176 +  (eval "$ac_link") 2>conftest.er1
10177 +  ac_status=$?
10178 +  grep -v '^ *+' conftest.er1 >conftest.err
10179 +  rm -f conftest.er1
10180 +  cat conftest.err >&5
10181 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 +  (exit $ac_status); } && {
10183 +        test -z "$ac_c_werror_flag" ||
10184 +        test ! -s conftest.err
10185 +       } && test -s conftest$ac_exeext &&
10186 +       $as_test_x conftest$ac_exeext; then
10187 +  ac_cv_lib_socket_connect=yes
10188 +else
10189 +  echo "$as_me: failed program was:" >&5
10190 +sed 's/^/| /' conftest.$ac_ext >&5
10191 +
10192 +       ac_cv_lib_socket_connect=no
10193 +fi
10194 +
10195 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10196 +      conftest$ac_exeext conftest.$ac_ext
10197 +LIBS=$ac_check_lib_save_LIBS
10198 +fi
10199 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10200 +echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
10201 +if test $ac_cv_lib_socket_connect = yes; then
10202 +  cat >>confdefs.h <<_ACEOF
10203 +#define HAVE_LIBSOCKET 1
10204 +_ACEOF
10205  
10206    LIBS="-lsocket $LIBS"
10207  
10208 -else
10209 -  echo "$ac_t""no" 1>&6
10210  fi
10211  
10212  fi
10213  
10214 +
10215 +
10216 +
10217 +
10218 +
10219 +
10220 +
10221 +
10222 +
10223 +
10224 +
10225 +
10226 +
10227 +
10228 +
10229 +
10230 +
10231 +
10232 +
10233 +
10234 +
10235 +
10236 +
10237 +
10238 +
10239 +
10240 +
10241 +
10242 +
10243  for ac_func in socket \
10244                 strdup \
10245                 getopt_long \
10246 @@ -1361,68 +4075,530 @@
10247                 setgid \
10248                 setegid \
10249                 inet_aton \
10250 -               herror 
10251 +               herror
10252  do
10253 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10254 -echo "configure:1368: checking for $ac_func" >&5
10255 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10256 -  echo $ac_n "(cached) $ac_c" 1>&6
10257 -else
10258 -  cat > conftest.$ac_ext <<EOF
10259 -#line 1373 "configure"
10260 -#include "confdefs.h"
10261 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10262 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10263 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10264 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10265 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10266 +else
10267 +  cat >conftest.$ac_ext <<_ACEOF
10268 +/* confdefs.h.  */
10269 +_ACEOF
10270 +cat confdefs.h >>conftest.$ac_ext
10271 +cat >>conftest.$ac_ext <<_ACEOF
10272 +/* end confdefs.h.  */
10273 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10274 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10275 +#define $ac_func innocuous_$ac_func
10276 +
10277  /* System header to define __stub macros and hopefully few prototypes,
10278 -    which can conflict with char $ac_func(); below.  */
10279 -#include <assert.h>
10280 -/* Override any gcc2 internal prototype to avoid an error.  */
10281 -/* We use char because int might match the return type of a gcc2
10282 -    builtin and then its argument prototype would still apply.  */
10283 -char $ac_func();
10284 +    which can conflict with char $ac_func (); below.
10285 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10286 +    <limits.h> exists even on freestanding compilers.  */
10287 +
10288 +#ifdef __STDC__
10289 +# include <limits.h>
10290 +#else
10291 +# include <assert.h>
10292 +#endif
10293  
10294 -int main() {
10295 +#undef $ac_func
10296  
10297 +/* Override any GCC internal prototype to avoid an error.
10298 +   Use char because int might match the return type of a GCC
10299 +   builtin and then its argument prototype would still apply.  */
10300 +#ifdef __cplusplus
10301 +extern "C"
10302 +#endif
10303 +char $ac_func ();
10304  /* The GNU C library defines this for functions which it implements
10305      to always fail with ENOSYS.  Some functions are actually named
10306      something starting with __ and the normal name is an alias.  */
10307 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10308 +#if defined __stub_$ac_func || defined __stub___$ac_func
10309  choke me
10310 +#endif
10311 +
10312 +int
10313 +main ()
10314 +{
10315 +return $ac_func ();
10316 +  ;
10317 +  return 0;
10318 +}
10319 +_ACEOF
10320 +rm -f conftest.$ac_objext conftest$ac_exeext
10321 +if { (ac_try="$ac_link"
10322 +case "(($ac_try" in
10323 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10324 +  *) ac_try_echo=$ac_try;;
10325 +esac
10326 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10327 +  (eval "$ac_link") 2>conftest.er1
10328 +  ac_status=$?
10329 +  grep -v '^ *+' conftest.er1 >conftest.err
10330 +  rm -f conftest.er1
10331 +  cat conftest.err >&5
10332 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 +  (exit $ac_status); } && {
10334 +        test -z "$ac_c_werror_flag" ||
10335 +        test ! -s conftest.err
10336 +       } && test -s conftest$ac_exeext &&
10337 +       $as_test_x conftest$ac_exeext; then
10338 +  eval "$as_ac_var=yes"
10339 +else
10340 +  echo "$as_me: failed program was:" >&5
10341 +sed 's/^/| /' conftest.$ac_ext >&5
10342 +
10343 +       eval "$as_ac_var=no"
10344 +fi
10345 +
10346 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10347 +      conftest$ac_exeext conftest.$ac_ext
10348 +fi
10349 +ac_res=`eval echo '${'$as_ac_var'}'`
10350 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
10351 +echo "${ECHO_T}$ac_res" >&6; }
10352 +if test `eval echo '${'$as_ac_var'}'` = yes; then
10353 +  cat >>confdefs.h <<_ACEOF
10354 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10355 +_ACEOF
10356 +
10357 +fi
10358 +done
10359 +
10360 +
10361 +
10362 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
10363 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
10364 +if test "${ac_cv_path_GREP+set}" = set; then
10365 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10366 +else
10367 +  # Extract the first word of "grep ggrep" to use in msg output
10368 +if test -z "$GREP"; then
10369 +set dummy grep ggrep; ac_prog_name=$2
10370 +if test "${ac_cv_path_GREP+set}" = set; then
10371 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10372 +else
10373 +  ac_path_GREP_found=false
10374 +# Loop through the user's path and test for each of PROGNAME-LIST
10375 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10376 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10377 +do
10378 +  IFS=$as_save_IFS
10379 +  test -z "$as_dir" && as_dir=.
10380 +  for ac_prog in grep ggrep; do
10381 +  for ac_exec_ext in '' $ac_executable_extensions; do
10382 +    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
10383 +    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
10384 +    # Check for GNU ac_path_GREP and select it if it is found.
10385 +  # Check for GNU $ac_path_GREP
10386 +case `"$ac_path_GREP" --version 2>&1` in
10387 +*GNU*)
10388 +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
10389 +*)
10390 +  ac_count=0
10391 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
10392 +  while :
10393 +  do
10394 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
10395 +    mv "conftest.tmp" "conftest.in"
10396 +    cp "conftest.in" "conftest.nl"
10397 +    echo 'GREP' >> "conftest.nl"
10398 +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
10399 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10400 +    ac_count=`expr $ac_count + 1`
10401 +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
10402 +      # Best one so far, save it but keep looking for a better one
10403 +      ac_cv_path_GREP="$ac_path_GREP"
10404 +      ac_path_GREP_max=$ac_count
10405 +    fi
10406 +    # 10*(2^10) chars as input seems more than enough
10407 +    test $ac_count -gt 10 && break
10408 +  done
10409 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10410 +esac
10411 +
10412 +
10413 +    $ac_path_GREP_found && break 3
10414 +  done
10415 +done
10416 +
10417 +done
10418 +IFS=$as_save_IFS
10419 +
10420 +
10421 +fi
10422 +
10423 +GREP="$ac_cv_path_GREP"
10424 +if test -z "$GREP"; then
10425 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
10426 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
10427 +   { (exit 1); exit 1; }; }
10428 +fi
10429 +
10430 +else
10431 +  ac_cv_path_GREP=$GREP
10432 +fi
10433 +
10434 +
10435 +fi
10436 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
10437 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
10438 + GREP="$ac_cv_path_GREP"
10439 +
10440 +
10441 +{ echo "$as_me:$LINENO: checking for egrep" >&5
10442 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
10443 +if test "${ac_cv_path_EGREP+set}" = set; then
10444 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10445 +else
10446 +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
10447 +   then ac_cv_path_EGREP="$GREP -E"
10448 +   else
10449 +     # Extract the first word of "egrep" to use in msg output
10450 +if test -z "$EGREP"; then
10451 +set dummy egrep; ac_prog_name=$2
10452 +if test "${ac_cv_path_EGREP+set}" = set; then
10453 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10454 +else
10455 +  ac_path_EGREP_found=false
10456 +# Loop through the user's path and test for each of PROGNAME-LIST
10457 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10458 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10459 +do
10460 +  IFS=$as_save_IFS
10461 +  test -z "$as_dir" && as_dir=.
10462 +  for ac_prog in egrep; do
10463 +  for ac_exec_ext in '' $ac_executable_extensions; do
10464 +    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
10465 +    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
10466 +    # Check for GNU ac_path_EGREP and select it if it is found.
10467 +  # Check for GNU $ac_path_EGREP
10468 +case `"$ac_path_EGREP" --version 2>&1` in
10469 +*GNU*)
10470 +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
10471 +*)
10472 +  ac_count=0
10473 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
10474 +  while :
10475 +  do
10476 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
10477 +    mv "conftest.tmp" "conftest.in"
10478 +    cp "conftest.in" "conftest.nl"
10479 +    echo 'EGREP' >> "conftest.nl"
10480 +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
10481 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10482 +    ac_count=`expr $ac_count + 1`
10483 +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
10484 +      # Best one so far, save it but keep looking for a better one
10485 +      ac_cv_path_EGREP="$ac_path_EGREP"
10486 +      ac_path_EGREP_max=$ac_count
10487 +    fi
10488 +    # 10*(2^10) chars as input seems more than enough
10489 +    test $ac_count -gt 10 && break
10490 +  done
10491 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10492 +esac
10493 +
10494 +
10495 +    $ac_path_EGREP_found && break 3
10496 +  done
10497 +done
10498 +
10499 +done
10500 +IFS=$as_save_IFS
10501 +
10502 +
10503 +fi
10504 +
10505 +EGREP="$ac_cv_path_EGREP"
10506 +if test -z "$EGREP"; then
10507 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
10508 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
10509 +   { (exit 1); exit 1; }; }
10510 +fi
10511 +
10512 +else
10513 +  ac_cv_path_EGREP=$EGREP
10514 +fi
10515 +
10516 +
10517 +   fi
10518 +fi
10519 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
10520 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
10521 + EGREP="$ac_cv_path_EGREP"
10522 +
10523 +
10524 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10525 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10526 +if test "${ac_cv_header_stdc+set}" = set; then
10527 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10528 +else
10529 +  cat >conftest.$ac_ext <<_ACEOF
10530 +/* confdefs.h.  */
10531 +_ACEOF
10532 +cat confdefs.h >>conftest.$ac_ext
10533 +cat >>conftest.$ac_ext <<_ACEOF
10534 +/* end confdefs.h.  */
10535 +#include <stdlib.h>
10536 +#include <stdarg.h>
10537 +#include <string.h>
10538 +#include <float.h>
10539 +
10540 +int
10541 +main ()
10542 +{
10543 +
10544 +  ;
10545 +  return 0;
10546 +}
10547 +_ACEOF
10548 +rm -f conftest.$ac_objext
10549 +if { (ac_try="$ac_compile"
10550 +case "(($ac_try" in
10551 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10552 +  *) ac_try_echo=$ac_try;;
10553 +esac
10554 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10555 +  (eval "$ac_compile") 2>conftest.er1
10556 +  ac_status=$?
10557 +  grep -v '^ *+' conftest.er1 >conftest.err
10558 +  rm -f conftest.er1
10559 +  cat conftest.err >&5
10560 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 +  (exit $ac_status); } && {
10562 +        test -z "$ac_c_werror_flag" ||
10563 +        test ! -s conftest.err
10564 +       } && test -s conftest.$ac_objext; then
10565 +  ac_cv_header_stdc=yes
10566 +else
10567 +  echo "$as_me: failed program was:" >&5
10568 +sed 's/^/| /' conftest.$ac_ext >&5
10569 +
10570 +       ac_cv_header_stdc=no
10571 +fi
10572 +
10573 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10574 +
10575 +if test $ac_cv_header_stdc = yes; then
10576 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10577 +  cat >conftest.$ac_ext <<_ACEOF
10578 +/* confdefs.h.  */
10579 +_ACEOF
10580 +cat confdefs.h >>conftest.$ac_ext
10581 +cat >>conftest.$ac_ext <<_ACEOF
10582 +/* end confdefs.h.  */
10583 +#include <string.h>
10584 +
10585 +_ACEOF
10586 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10587 +  $EGREP "memchr" >/dev/null 2>&1; then
10588 +  :
10589 +else
10590 +  ac_cv_header_stdc=no
10591 +fi
10592 +rm -f conftest*
10593 +
10594 +fi
10595 +
10596 +if test $ac_cv_header_stdc = yes; then
10597 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10598 +  cat >conftest.$ac_ext <<_ACEOF
10599 +/* confdefs.h.  */
10600 +_ACEOF
10601 +cat confdefs.h >>conftest.$ac_ext
10602 +cat >>conftest.$ac_ext <<_ACEOF
10603 +/* end confdefs.h.  */
10604 +#include <stdlib.h>
10605 +
10606 +_ACEOF
10607 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10608 +  $EGREP "free" >/dev/null 2>&1; then
10609 +  :
10610 +else
10611 +  ac_cv_header_stdc=no
10612 +fi
10613 +rm -f conftest*
10614 +
10615 +fi
10616 +
10617 +if test $ac_cv_header_stdc = yes; then
10618 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10619 +  if test "$cross_compiling" = yes; then
10620 +  :
10621 +else
10622 +  cat >conftest.$ac_ext <<_ACEOF
10623 +/* confdefs.h.  */
10624 +_ACEOF
10625 +cat confdefs.h >>conftest.$ac_ext
10626 +cat >>conftest.$ac_ext <<_ACEOF
10627 +/* end confdefs.h.  */
10628 +#include <ctype.h>
10629 +#include <stdlib.h>
10630 +#if ((' ' & 0x0FF) == 0x020)
10631 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10632 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10633  #else
10634 -$ac_func();
10635 +# define ISLOWER(c) \
10636 +                  (('a' <= (c) && (c) <= 'i') \
10637 +                    || ('j' <= (c) && (c) <= 'r') \
10638 +                    || ('s' <= (c) && (c) <= 'z'))
10639 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10640  #endif
10641  
10642 -; return 0; }
10643 -EOF
10644 -if { (eval echo configure:1396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10645 -  rm -rf conftest*
10646 -  eval "ac_cv_func_$ac_func=yes"
10647 -else
10648 -  echo "configure: failed program was:" >&5
10649 -  cat conftest.$ac_ext >&5
10650 -  rm -rf conftest*
10651 -  eval "ac_cv_func_$ac_func=no"
10652 -fi
10653 -rm -f conftest*
10654 -fi
10655 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10656 +int
10657 +main ()
10658 +{
10659 +  int i;
10660 +  for (i = 0; i < 256; i++)
10661 +    if (XOR (islower (i), ISLOWER (i))
10662 +       || toupper (i) != TOUPPER (i))
10663 +      return 2;
10664 +  return 0;
10665 +}
10666 +_ACEOF
10667 +rm -f conftest$ac_exeext
10668 +if { (ac_try="$ac_link"
10669 +case "(($ac_try" in
10670 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10671 +  *) ac_try_echo=$ac_try;;
10672 +esac
10673 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10674 +  (eval "$ac_link") 2>&5
10675 +  ac_status=$?
10676 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10678 +  { (case "(($ac_try" in
10679 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10680 +  *) ac_try_echo=$ac_try;;
10681 +esac
10682 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10683 +  (eval "$ac_try") 2>&5
10684 +  ac_status=$?
10685 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 +  (exit $ac_status); }; }; then
10687 +  :
10688 +else
10689 +  echo "$as_me: program exited with status $ac_status" >&5
10690 +echo "$as_me: failed program was:" >&5
10691 +sed 's/^/| /' conftest.$ac_ext >&5
10692 +
10693 +( exit $ac_status )
10694 +ac_cv_header_stdc=no
10695 +fi
10696 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10697 +fi
10698 +
10699 +
10700 +fi
10701 +fi
10702 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10703 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
10704 +if test $ac_cv_header_stdc = yes; then
10705 +
10706 +cat >>confdefs.h <<\_ACEOF
10707 +#define STDC_HEADERS 1
10708 +_ACEOF
10709 +
10710 +fi
10711 +
10712 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
10713 +
10714 +
10715 +
10716 +
10717 +
10718 +
10719 +
10720 +
10721 +
10722 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10723 +                 inttypes.h stdint.h unistd.h
10724 +do
10725 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10726 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10727 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10728 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10729 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10730 +else
10731 +  cat >conftest.$ac_ext <<_ACEOF
10732 +/* confdefs.h.  */
10733 +_ACEOF
10734 +cat confdefs.h >>conftest.$ac_ext
10735 +cat >>conftest.$ac_ext <<_ACEOF
10736 +/* end confdefs.h.  */
10737 +$ac_includes_default
10738 +
10739 +#include <$ac_header>
10740 +_ACEOF
10741 +rm -f conftest.$ac_objext
10742 +if { (ac_try="$ac_compile"
10743 +case "(($ac_try" in
10744 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10745 +  *) ac_try_echo=$ac_try;;
10746 +esac
10747 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10748 +  (eval "$ac_compile") 2>conftest.er1
10749 +  ac_status=$?
10750 +  grep -v '^ *+' conftest.er1 >conftest.err
10751 +  rm -f conftest.er1
10752 +  cat conftest.err >&5
10753 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754 +  (exit $ac_status); } && {
10755 +        test -z "$ac_c_werror_flag" ||
10756 +        test ! -s conftest.err
10757 +       } && test -s conftest.$ac_objext; then
10758 +  eval "$as_ac_Header=yes"
10759 +else
10760 +  echo "$as_me: failed program was:" >&5
10761 +sed 's/^/| /' conftest.$ac_ext >&5
10762 +
10763 +       eval "$as_ac_Header=no"
10764 +fi
10765 +
10766 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10767 +fi
10768 +ac_res=`eval echo '${'$as_ac_Header'}'`
10769 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
10770 +echo "${ECHO_T}$ac_res" >&6; }
10771 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
10772 +  cat >>confdefs.h <<_ACEOF
10773 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10774 +_ACEOF
10775  
10776 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10777 -  echo "$ac_t""yes" 1>&6
10778 -    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10779 -  cat >> confdefs.h <<EOF
10780 -#define $ac_tr_func 1
10781 -EOF
10782
10783 -else
10784 -  echo "$ac_t""no" 1>&6
10785  fi
10786 +
10787  done
10788  
10789  
10790 -for ac_hdr in arpa/inet.h \
10791 +
10792 +
10793 +
10794 +
10795 +
10796 +
10797 +
10798 +
10799 +
10800 +
10801 +
10802 +
10803 +
10804 +
10805 +
10806 +
10807 +for ac_header in arpa/inet.h \
10808                   sys/types.h \
10809 +                 time.h \
10810                   sys/time.h \
10811                   sys/stat.h \
10812                   fcntl.h \
10813                   signal.h \
10814 +                 string.h \
10815                   syslog.h \
10816                   pwd.h \
10817                   stdarg.h \
10818 @@ -1430,778 +4606,2130 @@
10819                   errno.h \
10820                   sys/sockio.h \
10821                   sys/wait.h \
10822 -                 getopt.h 
10823 +                 getopt.h
10824  do
10825 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10826 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10827 -echo "configure:1438: checking for $ac_hdr" >&5
10828 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10829 -  echo $ac_n "(cached) $ac_c" 1>&6
10830 -else
10831 -  cat > conftest.$ac_ext <<EOF
10832 -#line 1443 "configure"
10833 -#include "confdefs.h"
10834 -#include <$ac_hdr>
10835 -EOF
10836 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10837 -{ (eval echo configure:1448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10838 -ac_err=`grep -v '^ *+' conftest.out`
10839 -if test -z "$ac_err"; then
10840 -  rm -rf conftest*
10841 -  eval "ac_cv_header_$ac_safe=yes"
10842 -else
10843 -  echo "$ac_err" >&5
10844 -  echo "configure: failed program was:" >&5
10845 -  cat conftest.$ac_ext >&5
10846 -  rm -rf conftest*
10847 -  eval "ac_cv_header_$ac_safe=no"
10848 -fi
10849 -rm -f conftest*
10850 -fi
10851 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10852 -  echo "$ac_t""yes" 1>&6
10853 -    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10854 -  cat >> confdefs.h <<EOF
10855 -#define $ac_tr_hdr 1
10856 -EOF
10857
10858 -else
10859 -  echo "$ac_t""no" 1>&6
10860 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10861 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10862 +  { echo "$as_me:$LINENO: checking for $ac_header" >&5
10863 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10864 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10865 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10866 +fi
10867 +ac_res=`eval echo '${'$as_ac_Header'}'`
10868 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
10869 +echo "${ECHO_T}$ac_res" >&6; }
10870 +else
10871 +  # Is the header compilable?
10872 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10873 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10874 +cat >conftest.$ac_ext <<_ACEOF
10875 +/* confdefs.h.  */
10876 +_ACEOF
10877 +cat confdefs.h >>conftest.$ac_ext
10878 +cat >>conftest.$ac_ext <<_ACEOF
10879 +/* end confdefs.h.  */
10880 +$ac_includes_default
10881 +#include <$ac_header>
10882 +_ACEOF
10883 +rm -f conftest.$ac_objext
10884 +if { (ac_try="$ac_compile"
10885 +case "(($ac_try" in
10886 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10887 +  *) ac_try_echo=$ac_try;;
10888 +esac
10889 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10890 +  (eval "$ac_compile") 2>conftest.er1
10891 +  ac_status=$?
10892 +  grep -v '^ *+' conftest.er1 >conftest.err
10893 +  rm -f conftest.er1
10894 +  cat conftest.err >&5
10895 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 +  (exit $ac_status); } && {
10897 +        test -z "$ac_c_werror_flag" ||
10898 +        test ! -s conftest.err
10899 +       } && test -s conftest.$ac_objext; then
10900 +  ac_header_compiler=yes
10901 +else
10902 +  echo "$as_me: failed program was:" >&5
10903 +sed 's/^/| /' conftest.$ac_ext >&5
10904 +
10905 +       ac_header_compiler=no
10906 +fi
10907 +
10908 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10909 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10910 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10911 +
10912 +# Is the header present?
10913 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10914 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10915 +cat >conftest.$ac_ext <<_ACEOF
10916 +/* confdefs.h.  */
10917 +_ACEOF
10918 +cat confdefs.h >>conftest.$ac_ext
10919 +cat >>conftest.$ac_ext <<_ACEOF
10920 +/* end confdefs.h.  */
10921 +#include <$ac_header>
10922 +_ACEOF
10923 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10924 +case "(($ac_try" in
10925 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10926 +  *) ac_try_echo=$ac_try;;
10927 +esac
10928 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10929 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10930 +  ac_status=$?
10931 +  grep -v '^ *+' conftest.er1 >conftest.err
10932 +  rm -f conftest.er1
10933 +  cat conftest.err >&5
10934 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 +  (exit $ac_status); } >/dev/null && {
10936 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10937 +        test ! -s conftest.err
10938 +       }; then
10939 +  ac_header_preproc=yes
10940 +else
10941 +  echo "$as_me: failed program was:" >&5
10942 +sed 's/^/| /' conftest.$ac_ext >&5
10943 +
10944 +  ac_header_preproc=no
10945 +fi
10946 +
10947 +rm -f conftest.err conftest.$ac_ext
10948 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10949 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10950 +
10951 +# So?  What about this header?
10952 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10953 +  yes:no: )
10954 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10955 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10956 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10957 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10958 +    ac_header_preproc=yes
10959 +    ;;
10960 +  no:yes:* )
10961 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10962 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10963 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10964 +echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10965 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10966 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10967 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10968 +echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10969 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10970 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10971 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10972 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10973 +
10974 +    ;;
10975 +esac
10976 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10977 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10978 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10979 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10980 +else
10981 +  eval "$as_ac_Header=\$ac_header_preproc"
10982 +fi
10983 +ac_res=`eval echo '${'$as_ac_Header'}'`
10984 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
10985 +echo "${ECHO_T}$ac_res" >&6; }
10986 +
10987 +fi
10988 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
10989 +  cat >>confdefs.h <<_ACEOF
10990 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10991 +_ACEOF
10992 +
10993  fi
10994 +
10995  done
10996  
10997 -for ac_hdr in unistd.h \
10998 +
10999 +
11000 +
11001 +
11002 +for ac_header in unistd.h \
11003                   netinet/in.h \
11004                   netdb.h \
11005                   sys/socket.h
11006 -                  
11007 +
11008  do
11009 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11010 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11011 -echo "configure:1482: checking for $ac_hdr" >&5
11012 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11013 -  echo $ac_n "(cached) $ac_c" 1>&6
11014 -else
11015 -  cat > conftest.$ac_ext <<EOF
11016 -#line 1487 "configure"
11017 -#include "confdefs.h"
11018 -#include <$ac_hdr>
11019 -EOF
11020 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11021 -{ (eval echo configure:1492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11022 -ac_err=`grep -v '^ *+' conftest.out`
11023 -if test -z "$ac_err"; then
11024 -  rm -rf conftest*
11025 -  eval "ac_cv_header_$ac_safe=yes"
11026 -else
11027 -  echo "$ac_err" >&5
11028 -  echo "configure: failed program was:" >&5
11029 -  cat conftest.$ac_ext >&5
11030 -  rm -rf conftest*
11031 -  eval "ac_cv_header_$ac_safe=no"
11032 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11033 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11034 +  { echo "$as_me:$LINENO: checking for $ac_header" >&5
11035 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11036 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11037 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11038 +fi
11039 +ac_res=`eval echo '${'$as_ac_Header'}'`
11040 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
11041 +echo "${ECHO_T}$ac_res" >&6; }
11042 +else
11043 +  # Is the header compilable?
11044 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11045 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11046 +cat >conftest.$ac_ext <<_ACEOF
11047 +/* confdefs.h.  */
11048 +_ACEOF
11049 +cat confdefs.h >>conftest.$ac_ext
11050 +cat >>conftest.$ac_ext <<_ACEOF
11051 +/* end confdefs.h.  */
11052 +$ac_includes_default
11053 +#include <$ac_header>
11054 +_ACEOF
11055 +rm -f conftest.$ac_objext
11056 +if { (ac_try="$ac_compile"
11057 +case "(($ac_try" in
11058 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11059 +  *) ac_try_echo=$ac_try;;
11060 +esac
11061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11062 +  (eval "$ac_compile") 2>conftest.er1
11063 +  ac_status=$?
11064 +  grep -v '^ *+' conftest.er1 >conftest.err
11065 +  rm -f conftest.er1
11066 +  cat conftest.err >&5
11067 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 +  (exit $ac_status); } && {
11069 +        test -z "$ac_c_werror_flag" ||
11070 +        test ! -s conftest.err
11071 +       } && test -s conftest.$ac_objext; then
11072 +  ac_header_compiler=yes
11073 +else
11074 +  echo "$as_me: failed program was:" >&5
11075 +sed 's/^/| /' conftest.$ac_ext >&5
11076 +
11077 +       ac_header_compiler=no
11078 +fi
11079 +
11080 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11081 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11082 +echo "${ECHO_T}$ac_header_compiler" >&6; }
11083 +
11084 +# Is the header present?
11085 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11086 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11087 +cat >conftest.$ac_ext <<_ACEOF
11088 +/* confdefs.h.  */
11089 +_ACEOF
11090 +cat confdefs.h >>conftest.$ac_ext
11091 +cat >>conftest.$ac_ext <<_ACEOF
11092 +/* end confdefs.h.  */
11093 +#include <$ac_header>
11094 +_ACEOF
11095 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11096 +case "(($ac_try" in
11097 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11098 +  *) ac_try_echo=$ac_try;;
11099 +esac
11100 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11101 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11102 +  ac_status=$?
11103 +  grep -v '^ *+' conftest.er1 >conftest.err
11104 +  rm -f conftest.er1
11105 +  cat conftest.err >&5
11106 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 +  (exit $ac_status); } >/dev/null && {
11108 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11109 +        test ! -s conftest.err
11110 +       }; then
11111 +  ac_header_preproc=yes
11112 +else
11113 +  echo "$as_me: failed program was:" >&5
11114 +sed 's/^/| /' conftest.$ac_ext >&5
11115 +
11116 +  ac_header_preproc=no
11117 +fi
11118 +
11119 +rm -f conftest.err conftest.$ac_ext
11120 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11121 +echo "${ECHO_T}$ac_header_preproc" >&6; }
11122 +
11123 +# So?  What about this header?
11124 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11125 +  yes:no: )
11126 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11127 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11128 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11129 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11130 +    ac_header_preproc=yes
11131 +    ;;
11132 +  no:yes:* )
11133 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11134 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11135 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11136 +echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11137 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11138 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11139 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11140 +echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11141 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11142 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11143 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11144 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11145 +
11146 +    ;;
11147 +esac
11148 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11149 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11150 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11151 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11152 +else
11153 +  eval "$as_ac_Header=\$ac_header_preproc"
11154  fi
11155 -rm -f conftest*
11156 +ac_res=`eval echo '${'$as_ac_Header'}'`
11157 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
11158 +echo "${ECHO_T}$ac_res" >&6; }
11159 +
11160  fi
11161 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11162 -  echo "$ac_t""yes" 1>&6
11163 -    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11164 -  cat >> confdefs.h <<EOF
11165 -#define $ac_tr_hdr 1
11166 -EOF
11167
11168 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
11169 +  cat >>confdefs.h <<_ACEOF
11170 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11171 +_ACEOF
11172 +
11173  else
11174 -  echo "$ac_t""no" 1>&6
11175 -{ echo "configure: error: could not locate neccessary system header files" 1>&2; exit 1; } 
11176 +  { { echo "$as_me:$LINENO: error: could not locate neccessary system header files" >&5
11177 +echo "$as_me: error: could not locate neccessary system header files" >&2;}
11178 +   { (exit 1); exit 1; }; }
11179  fi
11180 +
11181  done
11182  
11183  
11184 -echo $ac_n "checking for sys_errlist in -lc""... $ac_c" 1>&6
11185 -echo "configure:1521: checking for sys_errlist in -lc" >&5
11186 -ac_lib_var=`echo c'_'sys_errlist | sed 'y%./+-%__p_%'`
11187 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11188 -  echo $ac_n "(cached) $ac_c" 1>&6
11189 +{ echo "$as_me:$LINENO: checking for sys_errlist in -lc" >&5
11190 +echo $ECHO_N "checking for sys_errlist in -lc... $ECHO_C" >&6; }
11191 +if test "${ac_cv_lib_c_sys_errlist+set}" = set; then
11192 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11193  else
11194 -  ac_save_LIBS="$LIBS"
11195 +  ac_check_lib_save_LIBS=$LIBS
11196  LIBS="-lc  $LIBS"
11197 -cat > conftest.$ac_ext <<EOF
11198 -#line 1529 "configure"
11199 -#include "confdefs.h"
11200 -/* Override any gcc2 internal prototype to avoid an error.  */
11201 -/* We use char because int might match the return type of a gcc2
11202 -    builtin and then its argument prototype would still apply.  */
11203 -char sys_errlist();
11204 -
11205 -int main() {
11206 -sys_errlist()
11207 -; return 0; }
11208 -EOF
11209 -if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11210 -  rm -rf conftest*
11211 -  eval "ac_cv_lib_$ac_lib_var=yes"
11212 -else
11213 -  echo "configure: failed program was:" >&5
11214 -  cat conftest.$ac_ext >&5
11215 -  rm -rf conftest*
11216 -  eval "ac_cv_lib_$ac_lib_var=no"
11217 -fi
11218 -rm -f conftest*
11219 -LIBS="$ac_save_LIBS"
11220 -
11221 -fi
11222 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11223 -  echo "$ac_t""yes" 1>&6
11224 -  cat >> confdefs.h <<\EOF
11225 +cat >conftest.$ac_ext <<_ACEOF
11226 +/* confdefs.h.  */
11227 +_ACEOF
11228 +cat confdefs.h >>conftest.$ac_ext
11229 +cat >>conftest.$ac_ext <<_ACEOF
11230 +/* end confdefs.h.  */
11231 +
11232 +/* Override any GCC internal prototype to avoid an error.
11233 +   Use char because int might match the return type of a GCC
11234 +   builtin and then its argument prototype would still apply.  */
11235 +#ifdef __cplusplus
11236 +extern "C"
11237 +#endif
11238 +char sys_errlist ();
11239 +int
11240 +main ()
11241 +{
11242 +return sys_errlist ();
11243 +  ;
11244 +  return 0;
11245 +}
11246 +_ACEOF
11247 +rm -f conftest.$ac_objext conftest$ac_exeext
11248 +if { (ac_try="$ac_link"
11249 +case "(($ac_try" in
11250 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11251 +  *) ac_try_echo=$ac_try;;
11252 +esac
11253 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11254 +  (eval "$ac_link") 2>conftest.er1
11255 +  ac_status=$?
11256 +  grep -v '^ *+' conftest.er1 >conftest.err
11257 +  rm -f conftest.er1
11258 +  cat conftest.err >&5
11259 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 +  (exit $ac_status); } && {
11261 +        test -z "$ac_c_werror_flag" ||
11262 +        test ! -s conftest.err
11263 +       } && test -s conftest$ac_exeext &&
11264 +       $as_test_x conftest$ac_exeext; then
11265 +  ac_cv_lib_c_sys_errlist=yes
11266 +else
11267 +  echo "$as_me: failed program was:" >&5
11268 +sed 's/^/| /' conftest.$ac_ext >&5
11269 +
11270 +       ac_cv_lib_c_sys_errlist=no
11271 +fi
11272 +
11273 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11274 +      conftest$ac_exeext conftest.$ac_ext
11275 +LIBS=$ac_check_lib_save_LIBS
11276 +fi
11277 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_sys_errlist" >&5
11278 +echo "${ECHO_T}$ac_cv_lib_c_sys_errlist" >&6; }
11279 +if test $ac_cv_lib_c_sys_errlist = yes; then
11280 +  cat >>confdefs.h <<\_ACEOF
11281  #define HAVE_SYS_ERRLIST 1
11282 -EOF
11283 +_ACEOF
11284  
11285 -else
11286 -  echo "$ac_t""no" 1>&6
11287  fi
11288  
11289  
11290 +
11291  for ac_func in getopt
11292  do
11293 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11294 -echo "configure:1567: checking for $ac_func" >&5
11295 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11296 -  echo $ac_n "(cached) $ac_c" 1>&6
11297 -else
11298 -  cat > conftest.$ac_ext <<EOF
11299 -#line 1572 "configure"
11300 -#include "confdefs.h"
11301 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11302 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11303 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11304 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11305 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11306 +else
11307 +  cat >conftest.$ac_ext <<_ACEOF
11308 +/* confdefs.h.  */
11309 +_ACEOF
11310 +cat confdefs.h >>conftest.$ac_ext
11311 +cat >>conftest.$ac_ext <<_ACEOF
11312 +/* end confdefs.h.  */
11313 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11314 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11315 +#define $ac_func innocuous_$ac_func
11316 +
11317  /* System header to define __stub macros and hopefully few prototypes,
11318 -    which can conflict with char $ac_func(); below.  */
11319 -#include <assert.h>
11320 -/* Override any gcc2 internal prototype to avoid an error.  */
11321 -/* We use char because int might match the return type of a gcc2
11322 -    builtin and then its argument prototype would still apply.  */
11323 -char $ac_func();
11324 +    which can conflict with char $ac_func (); below.
11325 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11326 +    <limits.h> exists even on freestanding compilers.  */
11327  
11328 -int main() {
11329 +#ifdef __STDC__
11330 +# include <limits.h>
11331 +#else
11332 +# include <assert.h>
11333 +#endif
11334  
11335 +#undef $ac_func
11336 +
11337 +/* Override any GCC internal prototype to avoid an error.
11338 +   Use char because int might match the return type of a GCC
11339 +   builtin and then its argument prototype would still apply.  */
11340 +#ifdef __cplusplus
11341 +extern "C"
11342 +#endif
11343 +char $ac_func ();
11344  /* The GNU C library defines this for functions which it implements
11345      to always fail with ENOSYS.  Some functions are actually named
11346      something starting with __ and the normal name is an alias.  */
11347 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11348 +#if defined __stub_$ac_func || defined __stub___$ac_func
11349  choke me
11350 -#else
11351 -$ac_func();
11352  #endif
11353  
11354 -; return 0; }
11355 -EOF
11356 -if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11357 -  rm -rf conftest*
11358 -  eval "ac_cv_func_$ac_func=yes"
11359 -else
11360 -  echo "configure: failed program was:" >&5
11361 -  cat conftest.$ac_ext >&5
11362 -  rm -rf conftest*
11363 -  eval "ac_cv_func_$ac_func=no"
11364 -fi
11365 -rm -f conftest*
11366 -fi
11367 +int
11368 +main ()
11369 +{
11370 +return $ac_func ();
11371 +  ;
11372 +  return 0;
11373 +}
11374 +_ACEOF
11375 +rm -f conftest.$ac_objext conftest$ac_exeext
11376 +if { (ac_try="$ac_link"
11377 +case "(($ac_try" in
11378 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11379 +  *) ac_try_echo=$ac_try;;
11380 +esac
11381 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11382 +  (eval "$ac_link") 2>conftest.er1
11383 +  ac_status=$?
11384 +  grep -v '^ *+' conftest.er1 >conftest.err
11385 +  rm -f conftest.er1
11386 +  cat conftest.err >&5
11387 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 +  (exit $ac_status); } && {
11389 +        test -z "$ac_c_werror_flag" ||
11390 +        test ! -s conftest.err
11391 +       } && test -s conftest$ac_exeext &&
11392 +       $as_test_x conftest$ac_exeext; then
11393 +  eval "$as_ac_var=yes"
11394 +else
11395 +  echo "$as_me: failed program was:" >&5
11396 +sed 's/^/| /' conftest.$ac_ext >&5
11397 +
11398 +       eval "$as_ac_var=no"
11399 +fi
11400 +
11401 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11402 +      conftest$ac_exeext conftest.$ac_ext
11403 +fi
11404 +ac_res=`eval echo '${'$as_ac_var'}'`
11405 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
11406 +echo "${ECHO_T}$ac_res" >&6; }
11407 +if test `eval echo '${'$as_ac_var'}'` = yes; then
11408 +  cat >>confdefs.h <<_ACEOF
11409 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11410 +_ACEOF
11411  
11412 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11413 -  echo "$ac_t""yes" 1>&6
11414 -    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11415 -  cat >> confdefs.h <<EOF
11416 -#define $ac_tr_func 1
11417 -EOF
11418
11419 -else
11420 -  echo "$ac_t""no" 1>&6
11421  fi
11422  done
11423  
11424  if test "$ac_cv_func_getopt" != yes; then
11425 -  { echo "configure: error: getopt is needed for this program to work" 1>&2; exit 1; }
11426 -fi
11427 +  { { echo "$as_me:$LINENO: error: getopt is needed for this program to work" >&5
11428 +echo "$as_me: error: getopt is needed for this program to work" >&2;}
11429 +   { (exit 1); exit 1; }; }
11430 +fi
11431 +
11432 +{ echo "$as_me:$LINENO: checking for getpass" >&5
11433 +echo $ECHO_N "checking for getpass... $ECHO_C" >&6; }
11434 +if test "${ac_cv_func_getpass+set}" = set; then
11435 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11436 +else
11437 +  cat >conftest.$ac_ext <<_ACEOF
11438 +/* confdefs.h.  */
11439 +_ACEOF
11440 +cat confdefs.h >>conftest.$ac_ext
11441 +cat >>conftest.$ac_ext <<_ACEOF
11442 +/* end confdefs.h.  */
11443 +/* Define getpass to an innocuous variant, in case <limits.h> declares getpass.
11444 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11445 +#define getpass innocuous_getpass
11446  
11447 -echo $ac_n "checking for getpass""... $ac_c" 1>&6
11448 -echo "configure:1624: checking for getpass" >&5
11449 -if eval "test \"`echo '$''{'ac_cv_func_getpass'+set}'`\" = set"; then
11450 -  echo $ac_n "(cached) $ac_c" 1>&6
11451 -else
11452 -  cat > conftest.$ac_ext <<EOF
11453 -#line 1629 "configure"
11454 -#include "confdefs.h"
11455  /* System header to define __stub macros and hopefully few prototypes,
11456 -    which can conflict with char getpass(); below.  */
11457 -#include <assert.h>
11458 -/* Override any gcc2 internal prototype to avoid an error.  */
11459 -/* We use char because int might match the return type of a gcc2
11460 -    builtin and then its argument prototype would still apply.  */
11461 -char getpass();
11462 +    which can conflict with char getpass (); below.
11463 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11464 +    <limits.h> exists even on freestanding compilers.  */
11465 +
11466 +#ifdef __STDC__
11467 +# include <limits.h>
11468 +#else
11469 +# include <assert.h>
11470 +#endif
11471  
11472 -int main() {
11473 +#undef getpass
11474  
11475 +/* Override any GCC internal prototype to avoid an error.
11476 +   Use char because int might match the return type of a GCC
11477 +   builtin and then its argument prototype would still apply.  */
11478 +#ifdef __cplusplus
11479 +extern "C"
11480 +#endif
11481 +char getpass ();
11482  /* The GNU C library defines this for functions which it implements
11483      to always fail with ENOSYS.  Some functions are actually named
11484      something starting with __ and the normal name is an alias.  */
11485 -#if defined (__stub_getpass) || defined (__stub___getpass)
11486 +#if defined __stub_getpass || defined __stub___getpass
11487  choke me
11488 -#else
11489 -getpass();
11490  #endif
11491  
11492 -; return 0; }
11493 -EOF
11494 -if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11495 -  rm -rf conftest*
11496 -  eval "ac_cv_func_getpass=yes"
11497 -else
11498 -  echo "configure: failed program was:" >&5
11499 -  cat conftest.$ac_ext >&5
11500 -  rm -rf conftest*
11501 -  eval "ac_cv_func_getpass=no"
11502 -fi
11503 -rm -f conftest*
11504 -fi
11505 -
11506 -if eval "test \"`echo '$ac_cv_func_'getpass`\" = yes"; then
11507 -  echo "$ac_t""yes" 1>&6
11508 -  cat >> confdefs.h <<\EOF
11509 +int
11510 +main ()
11511 +{
11512 +return getpass ();
11513 +  ;
11514 +  return 0;
11515 +}
11516 +_ACEOF
11517 +rm -f conftest.$ac_objext conftest$ac_exeext
11518 +if { (ac_try="$ac_link"
11519 +case "(($ac_try" in
11520 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11521 +  *) ac_try_echo=$ac_try;;
11522 +esac
11523 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11524 +  (eval "$ac_link") 2>conftest.er1
11525 +  ac_status=$?
11526 +  grep -v '^ *+' conftest.er1 >conftest.err
11527 +  rm -f conftest.er1
11528 +  cat conftest.err >&5
11529 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 +  (exit $ac_status); } && {
11531 +        test -z "$ac_c_werror_flag" ||
11532 +        test ! -s conftest.err
11533 +       } && test -s conftest$ac_exeext &&
11534 +       $as_test_x conftest$ac_exeext; then
11535 +  ac_cv_func_getpass=yes
11536 +else
11537 +  echo "$as_me: failed program was:" >&5
11538 +sed 's/^/| /' conftest.$ac_ext >&5
11539 +
11540 +       ac_cv_func_getpass=no
11541 +fi
11542 +
11543 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11544 +      conftest$ac_exeext conftest.$ac_ext
11545 +fi
11546 +{ echo "$as_me:$LINENO: result: $ac_cv_func_getpass" >&5
11547 +echo "${ECHO_T}$ac_cv_func_getpass" >&6; }
11548 +if test $ac_cv_func_getpass = yes; then
11549 +  cat >>confdefs.h <<\_ACEOF
11550  #define HAVE_GETPASS 1
11551 -EOF
11552 +_ACEOF
11553  
11554 -else
11555 -  echo "$ac_t""no" 1>&6
11556 -EXTRASRC="$EXTRASRC \$(srcdir)/getpass.c"
11557 -    EXTRAOBJ="$EXTRAOBJ \$(srcdir)/getpass.o" 
11558  fi
11559  
11560 + if test "$ac_cv_func_getpass" != yes; then
11561 +  HAVE_GETPASS_TRUE=
11562 +  HAVE_GETPASS_FALSE='#'
11563 +else
11564 +  HAVE_GETPASS_TRUE='#'
11565 +  HAVE_GETPASS_FALSE=
11566 +fi
11567  
11568  
11569  # Make sure we can run config.sub.
11570 -if $ac_config_sub sun4 >/dev/null 2>&1; then :
11571 -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
11572 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11573 +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
11574 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
11575 +   { (exit 1); exit 1; }; }
11576 +
11577 +{ echo "$as_me:$LINENO: checking build system type" >&5
11578 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
11579 +if test "${ac_cv_build+set}" = set; then
11580 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11581 +else
11582 +  ac_build_alias=$build_alias
11583 +test "x$ac_build_alias" = x &&
11584 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
11585 +test "x$ac_build_alias" = x &&
11586 +  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11587 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11588 +   { (exit 1); exit 1; }; }
11589 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
11590 +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
11591 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
11592 +   { (exit 1); exit 1; }; }
11593 +
11594 +fi
11595 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11596 +echo "${ECHO_T}$ac_cv_build" >&6; }
11597 +case $ac_cv_build in
11598 +*-*-*) ;;
11599 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
11600 +echo "$as_me: error: invalid value of canonical build" >&2;}
11601 +   { (exit 1); exit 1; }; };;
11602 +esac
11603 +build=$ac_cv_build
11604 +ac_save_IFS=$IFS; IFS='-'
11605 +set x $ac_cv_build
11606 +shift
11607 +build_cpu=$1
11608 +build_vendor=$2
11609 +shift; shift
11610 +# Remember, the first character of IFS is used to create $*,
11611 +# except with old shells:
11612 +build_os=$*
11613 +IFS=$ac_save_IFS
11614 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
11615 +
11616 +
11617 +{ echo "$as_me:$LINENO: checking host system type" >&5
11618 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
11619 +if test "${ac_cv_host+set}" = set; then
11620 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11621 +else
11622 +  if test "x$host_alias" = x; then
11623 +  ac_cv_host=$ac_cv_build
11624 +else
11625 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11626 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
11627 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
11628 +   { (exit 1); exit 1; }; }
11629  fi
11630  
11631 -echo $ac_n "checking host system type""... $ac_c" 1>&6
11632 -echo "configure:1684: checking host system type" >&5
11633 -
11634 -host_alias=$host
11635 -case "$host_alias" in
11636 -NONE)
11637 -  case $nonopt in
11638 -  NONE)
11639 -    if host_alias=`$ac_config_guess`; then :
11640 -    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
11641 -    fi ;;
11642 -  *) host_alias=$nonopt ;;
11643 -  esac ;;
11644 +fi
11645 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11646 +echo "${ECHO_T}$ac_cv_host" >&6; }
11647 +case $ac_cv_host in
11648 +*-*-*) ;;
11649 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
11650 +echo "$as_me: error: invalid value of canonical host" >&2;}
11651 +   { (exit 1); exit 1; }; };;
11652  esac
11653 +host=$ac_cv_host
11654 +ac_save_IFS=$IFS; IFS='-'
11655 +set x $ac_cv_host
11656 +shift
11657 +host_cpu=$1
11658 +host_vendor=$2
11659 +shift; shift
11660 +# Remember, the first character of IFS is used to create $*,
11661 +# except with old shells:
11662 +host_os=$*
11663 +IFS=$ac_save_IFS
11664 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11665  
11666 -host=`$ac_config_sub $host_alias`
11667 -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11668 -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11669 -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11670 -echo "$ac_t""$host" 1>&6
11671  
11672 -cat >> confdefs.h <<EOF
11673 +cat >>confdefs.h <<_ACEOF
11674  #define OS "${host}"
11675 -EOF
11676 +_ACEOF
11677  
11678  
11679 -echo $ac_n "checking for user supplied default service""... $ac_c" 1>&6
11680 -echo "configure:1710: checking for user supplied default service" >&5
11681 -# Check whether --enable-default-service or --disable-default-service was given.
11682 +{ echo "$as_me:$LINENO: checking for user supplied default service" >&5
11683 +echo $ECHO_N "checking for user supplied default service... $ECHO_C" >&6; }
11684 +# Check whether --enable-default-service was given.
11685  if test "${enable_default_service+set}" = set; then
11686 -  enableval="$enable_default_service"
11687 -   use_SERVICE=$enableval;
11688 -               echo "$ac_t""yes" 1>&6 
11689 +  enableval=$enable_default_service;  use_SERVICE=$enableval;
11690 +               { echo "$as_me:$LINENO: result: yes" >&5
11691 +echo "${ECHO_T}yes" >&6; }
11692  else
11693 -   echo "$ac_t""no" 1>&6 
11694 +   { echo "$as_me:$LINENO: result: no" >&5
11695 +echo "${ECHO_T}no" >&6; }
11696                  use_SERVICE=null
11697 -                echo "configure: warning: not setting default service" 1>&2    
11698 +                { echo "$as_me:$LINENO: WARNING: not setting default service" >&5
11699 +echo "$as_me: WARNING: not setting default service" >&2;}
11700  fi
11701  
11702  case "$use_SERVICE" in
11703 -  ezip ) cat >> confdefs.h <<\EOF
11704 +  ezip ) cat >>confdefs.h <<\_ACEOF
11705  #define DEF_SERVICE "ezip"
11706 -EOF
11707 +_ACEOF
11708  ;;
11709 -  ez-ip ) cat >> confdefs.h <<\EOF
11710 +  ez-ip ) cat >>confdefs.h <<\_ACEOF
11711  #define DEF_SERVICE "ezip"
11712 -EOF
11713 +_ACEOF
11714  ;;
11715 -  pgpow ) cat >> confdefs.h <<\EOF
11716 +  pgpow ) cat >>confdefs.h <<\_ACEOF
11717  #define DEF_SERVICE "pgpow"
11718 -EOF
11719 +_ACEOF
11720  ;;
11721 -  penguinpowered ) cat >> confdefs.h <<\EOF
11722 +  penguinpowered ) cat >>confdefs.h <<\_ACEOF
11723  #define DEF_SERVICE "pgpow"
11724 -EOF
11725 +_ACEOF
11726  ;;
11727 -  justlinux ) cat >> confdefs.h <<\EOF
11728 +  justlinux ) cat >>confdefs.h <<\_ACEOF
11729  #define DEF_SERVICE "justlinux"
11730 -EOF
11731 +_ACEOF
11732  ;;
11733 -  dhs ) cat >> confdefs.h <<\EOF
11734 +  dhs ) cat >>confdefs.h <<\_ACEOF
11735  #define DEF_SERVICE "dhs"
11736 -EOF
11737 +_ACEOF
11738  ;;
11739 -  dyndns ) cat >> confdefs.h <<\EOF
11740 +  dyndns ) cat >>confdefs.h <<\_ACEOF
11741  #define DEF_SERVICE "dyndns"
11742 -EOF
11743 +_ACEOF
11744  ;;
11745 -  dyndns-stat ) cat >> confdefs.h <<\EOF
11746 +  dyndns-stat ) cat >>confdefs.h <<\_ACEOF
11747  #define DEF_SERVICE "dyndns-stat"
11748 -EOF
11749 +_ACEOF
11750  ;;
11751 -  dyndns-static ) cat >> confdefs.h <<\EOF
11752 +  dyndns-static ) cat >>confdefs.h <<\_ACEOF
11753  #define DEF_SERVICE "dyndns-static"
11754 -EOF
11755 +_ACEOF
11756  ;;
11757 -  ods ) cat >> confdefs.h <<\EOF
11758 +  ods ) cat >>confdefs.h <<\_ACEOF
11759  #define DEF_SERVICE "ods"
11760 -EOF
11761 +_ACEOF
11762  ;;
11763 -  tzo ) cat >> confdefs.h <<\EOF
11764 +  tzo ) cat >>confdefs.h <<\_ACEOF
11765  #define DEF_SERVICE "tzo"
11766 -EOF
11767 +_ACEOF
11768  ;;
11769 -  gnudip ) cat >> confdefs.h <<\EOF
11770 +  gnudip ) cat >>confdefs.h <<\_ACEOF
11771  #define DEF_SERVICE "gnudip"
11772 -EOF
11773 +_ACEOF
11774  ;;
11775 -  easydns ) cat >> confdefs.h <<\EOF
11776 +  easydns ) cat >>confdefs.h <<\_ACEOF
11777  #define DEF_SERVICE "easydns"
11778 -EOF
11779 +_ACEOF
11780  ;;
11781 -  easydns-partner ) cat >> confdefs.h <<\EOF
11782 +  easydns-partner ) cat >>confdefs.h <<\_ACEOF
11783  #define DEF_SERVICE "easydns-partner"
11784 -EOF
11785 +_ACEOF
11786  ;;
11787 -  dyns ) cat >> confdefs.h <<\EOF
11788 +  dyns ) cat >>confdefs.h <<\_ACEOF
11789  #define DEF_SERVICE "dyns"
11790 -EOF
11791 +_ACEOF
11792  ;;
11793 -  hn ) cat >> confdefs.h <<\EOF
11794 +  hn ) cat >>confdefs.h <<\_ACEOF
11795  #define DEF_SERVICE "hn"
11796 -EOF
11797 +_ACEOF
11798  ;;
11799 -  zoneedit ) cat >> confdefs.h <<\EOF
11800 +  zoneedit ) cat >>confdefs.h <<\_ACEOF
11801  #define DEF_SERVICE "zoneedit"
11802 -EOF
11803 +_ACEOF
11804  ;;
11805 -  heipv6tb ) cat >> confdefs.h <<\EOF
11806 +  heipv6tb ) cat >>confdefs.h <<\_ACEOF
11807  #define DEF_SERVICE "heipv6tb"
11808 -EOF
11809 +_ACEOF
11810  ;;
11811 -  null ) cat >> confdefs.h <<\EOF
11812 +  null ) cat >>confdefs.h <<\_ACEOF
11813  #define DEF_SERVICE "NULL"
11814 -EOF
11815 +_ACEOF
11816  ;;
11817    "" ) ;;
11818 -  * ) { echo "configure: error: unknown default service type" 1>&2; exit 1; };;
11819 +  * ) { { echo "$as_me:$LINENO: error: unknown default service type" >&5
11820 +echo "$as_me: error: unknown default service type" >&2;}
11821 +   { (exit 1); exit 1; }; };;
11822  esac
11823  
11824 -echo $ac_n "checking whether user wants debugging support""... $ac_c" 1>&6
11825 -echo "configure:1804: checking whether user wants debugging support" >&5
11826 -# Check whether --enable-debug or --disable-debug was given.
11827 +{ echo "$as_me:$LINENO: checking whether user wants debugging support" >&5
11828 +echo $ECHO_N "checking whether user wants debugging support... $ECHO_C" >&6; }
11829 +# Check whether --enable-debug was given.
11830  if test "${enable_debug+set}" = set; then
11831 -  enableval="$enable_debug"
11832 -   cat >> confdefs.h <<\EOF
11833 +  enableval=$enable_debug;  cat >>confdefs.h <<\_ACEOF
11834  #define DEBUG 1
11835 -EOF
11836 +_ACEOF
11837  
11838 -               echo "$ac_t""yes" 1>&6 
11839 +               { echo "$as_me:$LINENO: result: yes" >&5
11840 +echo "${ECHO_T}yes" >&6; }
11841  else
11842 -   echo "$ac_t""no" 1>&6    
11843 +   { echo "$as_me:$LINENO: result: no" >&5
11844 +echo "${ECHO_T}no" >&6; }
11845  fi
11846  
11847  
11848 -echo $ac_n "checking whether user wants to dissable MD5 support""... $ac_c" 1>&6
11849 -echo "configure:1819: checking whether user wants to dissable MD5 support" >&5
11850 -# Check whether --enable-md5 or --disable-md5 was given.
11851 +{ echo "$as_me:$LINENO: checking whether user wants to dissable MD5 support" >&5
11852 +echo $ECHO_N "checking whether user wants to dissable MD5 support... $ECHO_C" >&6; }
11853 +# Check whether --enable-md5 was given.
11854  if test "${enable_md5+set}" = set; then
11855 -  enableval="$enable_md5"
11856 -   echo "$ac_t""yes" 1>&6 
11857 +  enableval=$enable_md5;  { echo "$as_me:$LINENO: result: yes" >&5
11858 +echo "${ECHO_T}yes" >&6; }
11859  else
11860 -   cat >> confdefs.h <<\EOF
11861 +   cat >>confdefs.h <<\_ACEOF
11862  #define USE_MD5 1
11863 -EOF
11864 +_ACEOF
11865  
11866 -                echo "$ac_t""no" 1>&6    
11867 +                { echo "$as_me:$LINENO: result: no" >&5
11868 +echo "${ECHO_T}no" >&6; }
11869  fi
11870  
11871  
11872 +ac_config_files="$ac_config_files Makefile"
11873  
11874 -
11875 -
11876 -trap '' 1 2 15
11877 -cat > confcache <<\EOF
11878 +cat >confcache <<\_ACEOF
11879  # This file is a shell script that caches the results of configure
11880  # tests run on this system so they can be shared between configure
11881 -# scripts and configure runs.  It is not useful on other systems.
11882 -# If it contains results you don't want to keep, you may remove or edit it.
11883 +# scripts and configure runs, see configure's option --config-cache.
11884 +# It is not useful on other systems.  If it contains results you don't
11885 +# want to keep, you may remove or edit it.
11886  #
11887 -# By default, configure uses ./config.cache as the cache file,
11888 -# creating it if it does not exist already.  You can give configure
11889 -# the --cache-file=FILE option to use a different cache file; that is
11890 -# what configure does when it calls configure scripts in
11891 -# subdirectories, so they share the cache.
11892 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
11893 -# config.status only pays attention to the cache file if you give it the
11894 -# --recheck option to rerun configure.
11895 +# config.status only pays attention to the cache file if you give it
11896 +# the --recheck option to rerun configure.
11897  #
11898 -EOF
11899 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
11900 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
11901 +# following values.
11902 +
11903 +_ACEOF
11904 +
11905  # The following way of writing the cache mishandles newlines in values,
11906  # but we know of no workaround that is simple, portable, and efficient.
11907 -# So, don't put newlines in cache variables' values.
11908 +# So, we kill variables containing newlines.
11909  # Ultrix sh set writes to stderr and can't be redirected directly,
11910  # and sets the high bit in the cache file unless we assign to the vars.
11911 -(set) 2>&1 |
11912 -  case `(ac_space=' '; set) 2>&1` in
11913 -  *ac_space=\ *)
11914 -    # `set' does not quote correctly, so add quotes (double-quote substitution
11915 -    # turns \\\\ into \\, and sed turns \\ into \).
11916 -    sed -n \
11917 -      -e "s/'/'\\\\''/g" \
11918 -      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11919 -    ;;
11920 -  *)
11921 -    # `set' quotes correctly as required by POSIX, so do not add quotes.
11922 -    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11923 -    ;;
11924 -  esac >> confcache
11925 -if cmp -s $cache_file confcache; then
11926 -  :
11927 -else
11928 -  if test -w $cache_file; then
11929 -    echo "updating cache $cache_file"
11930 -    cat confcache > $cache_file
11931 +(
11932 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11933 +    eval ac_val=\$$ac_var
11934 +    case $ac_val in #(
11935 +    *${as_nl}*)
11936 +      case $ac_var in #(
11937 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11938 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11939 +      esac
11940 +      case $ac_var in #(
11941 +      _ | IFS | as_nl) ;; #(
11942 +      *) $as_unset $ac_var ;;
11943 +      esac ;;
11944 +    esac
11945 +  done
11946 +
11947 +  (set) 2>&1 |
11948 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11949 +    *${as_nl}ac_space=\ *)
11950 +      # `set' does not quote correctly, so add quotes (double-quote
11951 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
11952 +      sed -n \
11953 +       "s/'/'\\\\''/g;
11954 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11955 +      ;; #(
11956 +    *)
11957 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
11958 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11959 +      ;;
11960 +    esac |
11961 +    sort
11962 +) |
11963 +  sed '
11964 +     /^ac_cv_env_/b end
11965 +     t clear
11966 +     :clear
11967 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11968 +     t end
11969 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11970 +     :end' >>confcache
11971 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11972 +  if test -w "$cache_file"; then
11973 +    test "x$cache_file" != "x/dev/null" &&
11974 +      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11975 +echo "$as_me: updating cache $cache_file" >&6;}
11976 +    cat confcache >$cache_file
11977    else
11978 -    echo "not updating unwritable cache $cache_file"
11979 +    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11980 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11981    fi
11982  fi
11983  rm -f confcache
11984  
11985 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11986 -
11987  test "x$prefix" = xNONE && prefix=$ac_default_prefix
11988  # Let make expand exec_prefix.
11989  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11990  
11991 -# Any assignment to VPATH causes Sun make to only execute
11992 -# the first set of double-colon rules, so remove it if not needed.
11993 -# If there is a colon in the path, we need to keep it.
11994 -if test "x$srcdir" = x.; then
11995 -  ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
11996 -fi
11997 +DEFS=-DHAVE_CONFIG_H
11998  
11999 -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12000 +ac_libobjs=
12001 +ac_ltlibobjs=
12002 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12003 +  # 1. Remove the extension, and $U if already installed.
12004 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12005 +  ac_i=`echo "$ac_i" | sed "$ac_script"`
12006 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12007 +  #    will be set to the directory where LIBOBJS objects are built.
12008 +  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12009 +  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12010 +done
12011 +LIBOBJS=$ac_libobjs
12012  
12013 -DEFS=-DHAVE_CONFIG_H
12014 +LTLIBOBJS=$ac_ltlibobjs
12015  
12016 -# Without the "./", some shells look in PATH for config.status.
12017 -: ${CONFIG_STATUS=./config.status}
12018  
12019 -echo creating $CONFIG_STATUS
12020 -rm -f $CONFIG_STATUS
12021 -cat > $CONFIG_STATUS <<EOF
12022 -#! /bin/sh
12023 -# Generated automatically by configure.
12024 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12025 +  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12026 +Usually this means the macro was only invoked conditionally." >&5
12027 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12028 +Usually this means the macro was only invoked conditionally." >&2;}
12029 +   { (exit 1); exit 1; }; }
12030 +fi
12031 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12032 +  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12033 +Usually this means the macro was only invoked conditionally." >&5
12034 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
12035 +Usually this means the macro was only invoked conditionally." >&2;}
12036 +   { (exit 1); exit 1; }; }
12037 +fi
12038 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12039 +  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12040 +Usually this means the macro was only invoked conditionally." >&5
12041 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12042 +Usually this means the macro was only invoked conditionally." >&2;}
12043 +   { (exit 1); exit 1; }; }
12044 +fi
12045 +if test -z "${HAVE_GETPASS_TRUE}" && test -z "${HAVE_GETPASS_FALSE}"; then
12046 +  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GETPASS\" was never defined.
12047 +Usually this means the macro was only invoked conditionally." >&5
12048 +echo "$as_me: error: conditional \"HAVE_GETPASS\" was never defined.
12049 +Usually this means the macro was only invoked conditionally." >&2;}
12050 +   { (exit 1); exit 1; }; }
12051 +fi
12052 +
12053 +: ${CONFIG_STATUS=./config.status}
12054 +ac_clean_files_save=$ac_clean_files
12055 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12056 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12057 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
12058 +cat >$CONFIG_STATUS <<_ACEOF
12059 +#! $SHELL
12060 +# Generated by $as_me.
12061  # Run this file to recreate the current configuration.
12062 -# This directory was configured as follows,
12063 -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12064 -#
12065 -# $0 $ac_configure_args
12066 -#
12067  # Compiler output produced by configure, useful for debugging
12068 -# configure, is in ./config.log if it exists.
12069 +# configure, is in config.log if it exists.
12070  
12071 -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12072 -for ac_option
12073 +debug=false
12074 +ac_cs_recheck=false
12075 +ac_cs_silent=false
12076 +SHELL=\${CONFIG_SHELL-$SHELL}
12077 +_ACEOF
12078 +
12079 +cat >>$CONFIG_STATUS <<\_ACEOF
12080 +## --------------------- ##
12081 +## M4sh Initialization.  ##
12082 +## --------------------- ##
12083 +
12084 +# Be more Bourne compatible
12085 +DUALCASE=1; export DUALCASE # for MKS sh
12086 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12087 +  emulate sh
12088 +  NULLCMD=:
12089 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12090 +  # is contrary to our usage.  Disable this feature.
12091 +  alias -g '${1+"$@"}'='"$@"'
12092 +  setopt NO_GLOB_SUBST
12093 +else
12094 +  case `(set -o) 2>/dev/null` in
12095 +  *posix*) set -o posix ;;
12096 +esac
12097 +
12098 +fi
12099 +
12100 +
12101 +
12102 +
12103 +# PATH needs CR
12104 +# Avoid depending upon Character Ranges.
12105 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12106 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12107 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12108 +as_cr_digits='0123456789'
12109 +as_cr_alnum=$as_cr_Letters$as_cr_digits
12110 +
12111 +# The user is always right.
12112 +if test "${PATH_SEPARATOR+set}" != set; then
12113 +  echo "#! /bin/sh" >conf$$.sh
12114 +  echo  "exit 0"   >>conf$$.sh
12115 +  chmod +x conf$$.sh
12116 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12117 +    PATH_SEPARATOR=';'
12118 +  else
12119 +    PATH_SEPARATOR=:
12120 +  fi
12121 +  rm -f conf$$.sh
12122 +fi
12123 +
12124 +# Support unset when possible.
12125 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12126 +  as_unset=unset
12127 +else
12128 +  as_unset=false
12129 +fi
12130 +
12131 +
12132 +# IFS
12133 +# We need space, tab and new line, in precisely that order.  Quoting is
12134 +# there to prevent editors from complaining about space-tab.
12135 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12136 +# splitting by setting IFS to empty value.)
12137 +as_nl='
12138 +'
12139 +IFS=" ""       $as_nl"
12140 +
12141 +# Find who we are.  Look in the path if we contain no directory separator.
12142 +case $0 in
12143 +  *[\\/]* ) as_myself=$0 ;;
12144 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 +for as_dir in $PATH
12146  do
12147 -  case "\$ac_option" in
12148 -  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12149 -    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12150 -    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12151 -  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12152 -    echo "$CONFIG_STATUS generated by autoconf version 2.12"
12153 -    exit 0 ;;
12154 -  -help | --help | --hel | --he | --h)
12155 -    echo "\$ac_cs_usage"; exit 0 ;;
12156 -  *) echo "\$ac_cs_usage"; exit 1 ;;
12157 -  esac
12158 +  IFS=$as_save_IFS
12159 +  test -z "$as_dir" && as_dir=.
12160 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12161  done
12162 +IFS=$as_save_IFS
12163  
12164 -ac_given_srcdir=$srcdir
12165 -ac_given_INSTALL="$INSTALL"
12166 -
12167 -trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12168 -EOF
12169 -cat >> $CONFIG_STATUS <<EOF
12170 -
12171 -# Protect against being on the right side of a sed subst in config.status.
12172 -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12173 - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12174 -$ac_vpsub
12175 -$extrasub
12176 -s%@CFLAGS@%$CFLAGS%g
12177 -s%@CPPFLAGS@%$CPPFLAGS%g
12178 -s%@CXXFLAGS@%$CXXFLAGS%g
12179 -s%@DEFS@%$DEFS%g
12180 -s%@LDFLAGS@%$LDFLAGS%g
12181 -s%@LIBS@%$LIBS%g
12182 -s%@exec_prefix@%$exec_prefix%g
12183 -s%@prefix@%$prefix%g
12184 -s%@program_transform_name@%$program_transform_name%g
12185 -s%@bindir@%$bindir%g
12186 -s%@sbindir@%$sbindir%g
12187 -s%@libexecdir@%$libexecdir%g
12188 -s%@datadir@%$datadir%g
12189 -s%@sysconfdir@%$sysconfdir%g
12190 -s%@sharedstatedir@%$sharedstatedir%g
12191 -s%@localstatedir@%$localstatedir%g
12192 -s%@libdir@%$libdir%g
12193 -s%@includedir@%$includedir%g
12194 -s%@oldincludedir@%$oldincludedir%g
12195 -s%@infodir@%$infodir%g
12196 -s%@mandir@%$mandir%g
12197 -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12198 -s%@INSTALL_DATA@%$INSTALL_DATA%g
12199 -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12200 -s%@PACKAGE@%$PACKAGE%g
12201 -s%@VERSION@%$VERSION%g
12202 -s%@ACLOCAL@%$ACLOCAL%g
12203 -s%@AUTOCONF@%$AUTOCONF%g
12204 -s%@AUTOMAKE@%$AUTOMAKE%g
12205 -s%@AUTOHEADER@%$AUTOHEADER%g
12206 -s%@MAKEINFO@%$MAKEINFO%g
12207 -s%@SET_MAKE@%$SET_MAKE%g
12208 -s%@CC@%$CC%g
12209 -s%@CPP@%$CPP%g
12210 -s%@host@%$host%g
12211 -s%@host_alias@%$host_alias%g
12212 -s%@host_cpu@%$host_cpu%g
12213 -s%@host_vendor@%$host_vendor%g
12214 -s%@host_os@%$host_os%g
12215 -s%@EXTRASRC@%$EXTRASRC%g
12216 -s%@EXTRAOBJ@%$EXTRAOBJ%g
12217 -
12218 -CEOF
12219 -EOF
12220 -
12221 -cat >> $CONFIG_STATUS <<\EOF
12222 -
12223 -# Split the substitutions into bite-sized pieces for seds with
12224 -# small command number limits, like on Digital OSF/1 and HP-UX.
12225 -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
12226 -ac_file=1 # Number of current file.
12227 -ac_beg=1 # First line for current file.
12228 -ac_end=$ac_max_sed_cmds # Line after last line for current file.
12229 -ac_more_lines=:
12230 -ac_sed_cmds=""
12231 -while $ac_more_lines; do
12232 -  if test $ac_beg -gt 1; then
12233 -    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
12234 +     ;;
12235 +esac
12236 +# We did not find ourselves, most probably we were run as `sh COMMAND'
12237 +# in which case we are not to be found in the path.
12238 +if test "x$as_myself" = x; then
12239 +  as_myself=$0
12240 +fi
12241 +if test ! -f "$as_myself"; then
12242 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12243 +  { (exit 1); exit 1; }
12244 +fi
12245 +
12246 +# Work around bugs in pre-3.0 UWIN ksh.
12247 +for as_var in ENV MAIL MAILPATH
12248 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12249 +done
12250 +PS1='$ '
12251 +PS2='> '
12252 +PS4='+ '
12253 +
12254 +# NLS nuisances.
12255 +for as_var in \
12256 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12257 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12258 +  LC_TELEPHONE LC_TIME
12259 +do
12260 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12261 +    eval $as_var=C; export $as_var
12262    else
12263 -    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
12264 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12265    fi
12266 -  if test ! -s conftest.s$ac_file; then
12267 -    ac_more_lines=false
12268 -    rm -f conftest.s$ac_file
12269 -  else
12270 -    if test -z "$ac_sed_cmds"; then
12271 -      ac_sed_cmds="sed -f conftest.s$ac_file"
12272 -    else
12273 -      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
12274 -    fi
12275 -    ac_file=`expr $ac_file + 1`
12276 -    ac_beg=$ac_end
12277 -    ac_end=`expr $ac_end + $ac_max_sed_cmds`
12278 -  fi
12279 -done
12280 -if test -z "$ac_sed_cmds"; then
12281 -  ac_sed_cmds=cat
12282 -fi
12283 -EOF
12284 -
12285 -cat >> $CONFIG_STATUS <<EOF
12286 -
12287 -CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
12288 -EOF
12289 -cat >> $CONFIG_STATUS <<\EOF
12290 -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
12291 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12292 -  case "$ac_file" in
12293 -  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
12294 -       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
12295 -  *) ac_file_in="${ac_file}.in" ;;
12296 -  esac
12297 -
12298 -  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12299 -
12300 -  # Remove last slash and all that follows it.  Not all systems have dirname.
12301 -  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12302 -  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12303 -    # The file is in a subdirectory.
12304 -    test ! -d "$ac_dir" && mkdir "$ac_dir"
12305 -    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
12306 -    # A "../" for each directory in $ac_dir_suffix.
12307 -    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12308 +done
12309 +
12310 +# Required to use basename.
12311 +if expr a : '\(a\)' >/dev/null 2>&1 &&
12312 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12313 +  as_expr=expr
12314 +else
12315 +  as_expr=false
12316 +fi
12317 +
12318 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12319 +  as_basename=basename
12320 +else
12321 +  as_basename=false
12322 +fi
12323 +
12324 +
12325 +# Name of the executable.
12326 +as_me=`$as_basename -- "$0" ||
12327 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12328 +        X"$0" : 'X\(//\)$' \| \
12329 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12330 +echo X/"$0" |
12331 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
12332 +           s//\1/
12333 +           q
12334 +         }
12335 +         /^X\/\(\/\/\)$/{
12336 +           s//\1/
12337 +           q
12338 +         }
12339 +         /^X\/\(\/\).*/{
12340 +           s//\1/
12341 +           q
12342 +         }
12343 +         s/.*/./; q'`
12344 +
12345 +# CDPATH.
12346 +$as_unset CDPATH
12347 +
12348 +
12349 +
12350 +  as_lineno_1=$LINENO
12351 +  as_lineno_2=$LINENO
12352 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
12353 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12354 +
12355 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12356 +  # uniformly replaced by the line number.  The first 'sed' inserts a
12357 +  # line-number line after each line using $LINENO; the second 'sed'
12358 +  # does the real work.  The second script uses 'N' to pair each
12359 +  # line-number line with the line containing $LINENO, and appends
12360 +  # trailing '-' during substitution so that $LINENO is not a special
12361 +  # case at line end.
12362 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12363 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
12364 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
12365 +  sed -n '
12366 +    p
12367 +    /[$]LINENO/=
12368 +  ' <$as_myself |
12369 +    sed '
12370 +      s/[$]LINENO.*/&-/
12371 +      t lineno
12372 +      b
12373 +      :lineno
12374 +      N
12375 +      :loop
12376 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12377 +      t loop
12378 +      s/-\n.*//
12379 +    ' >$as_me.lineno &&
12380 +  chmod +x "$as_me.lineno" ||
12381 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12382 +   { (exit 1); exit 1; }; }
12383 +
12384 +  # Don't try to exec as it changes $[0], causing all sort of problems
12385 +  # (the dirname of $[0] is not the place where we might find the
12386 +  # original and so on.  Autoconf is especially sensitive to this).
12387 +  . "./$as_me.lineno"
12388 +  # Exit status is that of the last command.
12389 +  exit
12390 +}
12391 +
12392 +
12393 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12394 +  as_dirname=dirname
12395 +else
12396 +  as_dirname=false
12397 +fi
12398 +
12399 +ECHO_C= ECHO_N= ECHO_T=
12400 +case `echo -n x` in
12401 +-n*)
12402 +  case `echo 'x\c'` in
12403 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
12404 +  *)   ECHO_C='\c';;
12405 +  esac;;
12406 +*)
12407 +  ECHO_N='-n';;
12408 +esac
12409 +
12410 +if expr a : '\(a\)' >/dev/null 2>&1 &&
12411 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12412 +  as_expr=expr
12413 +else
12414 +  as_expr=false
12415 +fi
12416 +
12417 +rm -f conf$$ conf$$.exe conf$$.file
12418 +if test -d conf$$.dir; then
12419 +  rm -f conf$$.dir/conf$$.file
12420 +else
12421 +  rm -f conf$$.dir
12422 +  mkdir conf$$.dir
12423 +fi
12424 +echo >conf$$.file
12425 +if ln -s conf$$.file conf$$ 2>/dev/null; then
12426 +  as_ln_s='ln -s'
12427 +  # ... but there are two gotchas:
12428 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12429 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12430 +  # In both cases, we have to default to `cp -p'.
12431 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12432 +    as_ln_s='cp -p'
12433 +elif ln conf$$.file conf$$ 2>/dev/null; then
12434 +  as_ln_s=ln
12435 +else
12436 +  as_ln_s='cp -p'
12437 +fi
12438 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12439 +rmdir conf$$.dir 2>/dev/null
12440 +
12441 +if mkdir -p . 2>/dev/null; then
12442 +  as_mkdir_p=:
12443 +else
12444 +  test -d ./-p && rmdir ./-p
12445 +  as_mkdir_p=false
12446 +fi
12447 +
12448 +if test -x / >/dev/null 2>&1; then
12449 +  as_test_x='test -x'
12450 +else
12451 +  if ls -dL / >/dev/null 2>&1; then
12452 +    as_ls_L_option=L
12453    else
12454 -    ac_dir_suffix= ac_dots=
12455 +    as_ls_L_option=
12456    fi
12457 +  as_test_x='
12458 +    eval sh -c '\''
12459 +      if test -d "$1"; then
12460 +        test -d "$1/.";
12461 +      else
12462 +       case $1 in
12463 +        -*)set "./$1";;
12464 +       esac;
12465 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12466 +       ???[sx]*):;;*)false;;esac;fi
12467 +    '\'' sh
12468 +  '
12469 +fi
12470 +as_executable_p=$as_test_x
12471 +
12472 +# Sed expression to map a string onto a valid CPP name.
12473 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12474 +
12475 +# Sed expression to map a string onto a valid variable name.
12476 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12477 +
12478 +
12479 +exec 6>&1
12480 +
12481 +# Save the log message, to keep $[0] and so on meaningful, and to
12482 +# report actual input values of CONFIG_FILES etc. instead of their
12483 +# values after options handling.
12484 +ac_log="
12485 +This file was extended by $as_me, which was
12486 +generated by GNU Autoconf 2.61.  Invocation command line was
12487 +
12488 +  CONFIG_FILES    = $CONFIG_FILES
12489 +  CONFIG_HEADERS  = $CONFIG_HEADERS
12490 +  CONFIG_LINKS    = $CONFIG_LINKS
12491 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
12492 +  $ $0 $@
12493 +
12494 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
12495 +"
12496 +
12497 +_ACEOF
12498 +
12499 +cat >>$CONFIG_STATUS <<_ACEOF
12500 +# Files that config.status was made for.
12501 +config_files="$ac_config_files"
12502 +config_headers="$ac_config_headers"
12503 +config_commands="$ac_config_commands"
12504 +
12505 +_ACEOF
12506 +
12507 +cat >>$CONFIG_STATUS <<\_ACEOF
12508 +ac_cs_usage="\
12509 +\`$as_me' instantiates files from templates according to the
12510 +current configuration.
12511 +
12512 +Usage: $0 [OPTIONS] [FILE]...
12513 +
12514 +  -h, --help       print this help, then exit
12515 +  -V, --version    print version number and configuration settings, then exit
12516 +  -q, --quiet      do not print progress messages
12517 +  -d, --debug      don't remove temporary files
12518 +      --recheck    update $as_me by reconfiguring in the same conditions
12519 +  --file=FILE[:TEMPLATE]
12520 +                  instantiate the configuration file FILE
12521 +  --header=FILE[:TEMPLATE]
12522 +                  instantiate the configuration header FILE
12523 +
12524 +Configuration files:
12525 +$config_files
12526 +
12527 +Configuration headers:
12528 +$config_headers
12529 +
12530 +Configuration commands:
12531 +$config_commands
12532 +
12533 +Report bugs to <bug-autoconf@gnu.org>."
12534 +
12535 +_ACEOF
12536 +cat >>$CONFIG_STATUS <<_ACEOF
12537 +ac_cs_version="\\
12538 +config.status
12539 +configured by $0, generated by GNU Autoconf 2.61,
12540 +  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12541 +
12542 +Copyright (C) 2006 Free Software Foundation, Inc.
12543 +This config.status script is free software; the Free Software Foundation
12544 +gives unlimited permission to copy, distribute and modify it."
12545 +
12546 +ac_pwd='$ac_pwd'
12547 +srcdir='$srcdir'
12548 +INSTALL='$INSTALL'
12549 +MKDIR_P='$MKDIR_P'
12550 +_ACEOF
12551 +
12552 +cat >>$CONFIG_STATUS <<\_ACEOF
12553 +# If no file are specified by the user, then we need to provide default
12554 +# value.  By we need to know if files were specified by the user.
12555 +ac_need_defaults=:
12556 +while test $# != 0
12557 +do
12558 +  case $1 in
12559 +  --*=*)
12560 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12561 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12562 +    ac_shift=:
12563 +    ;;
12564 +  *)
12565 +    ac_option=$1
12566 +    ac_optarg=$2
12567 +    ac_shift=shift
12568 +    ;;
12569 +  esac
12570 +
12571 +  case $ac_option in
12572 +  # Handling of the options.
12573 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12574 +    ac_cs_recheck=: ;;
12575 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12576 +    echo "$ac_cs_version"; exit ;;
12577 +  --debug | --debu | --deb | --de | --d | -d )
12578 +    debug=: ;;
12579 +  --file | --fil | --fi | --f )
12580 +    $ac_shift
12581 +    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12582 +    ac_need_defaults=false;;
12583 +  --header | --heade | --head | --hea )
12584 +    $ac_shift
12585 +    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12586 +    ac_need_defaults=false;;
12587 +  --he | --h)
12588 +    # Conflict between --help and --header
12589 +    { echo "$as_me: error: ambiguous option: $1
12590 +Try \`$0 --help' for more information." >&2
12591 +   { (exit 1); exit 1; }; };;
12592 +  --help | --hel | -h )
12593 +    echo "$ac_cs_usage"; exit ;;
12594 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12595 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12596 +    ac_cs_silent=: ;;
12597 +
12598 +  # This is an error.
12599 +  -*) { echo "$as_me: error: unrecognized option: $1
12600 +Try \`$0 --help' for more information." >&2
12601 +   { (exit 1); exit 1; }; } ;;
12602 +
12603 +  *) ac_config_targets="$ac_config_targets $1"
12604 +     ac_need_defaults=false ;;
12605 +
12606 +  esac
12607 +  shift
12608 +done
12609 +
12610 +ac_configure_extra_args=
12611 +
12612 +if $ac_cs_silent; then
12613 +  exec 6>/dev/null
12614 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
12615 +fi
12616 +
12617 +_ACEOF
12618 +cat >>$CONFIG_STATUS <<_ACEOF
12619 +if \$ac_cs_recheck; then
12620 +  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12621 +  CONFIG_SHELL=$SHELL
12622 +  export CONFIG_SHELL
12623 +  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12624 +fi
12625 +
12626 +_ACEOF
12627 +cat >>$CONFIG_STATUS <<\_ACEOF
12628 +exec 5>>config.log
12629 +{
12630 +  echo
12631 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12632 +## Running $as_me. ##
12633 +_ASBOX
12634 +  echo "$ac_log"
12635 +} >&5
12636 +
12637 +_ACEOF
12638 +cat >>$CONFIG_STATUS <<_ACEOF
12639 +#
12640 +# INIT-COMMANDS
12641 +#
12642 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12643 +
12644 +_ACEOF
12645  
12646 -  case "$ac_given_srcdir" in
12647 -  .)  srcdir=.
12648 -      if test -z "$ac_dots"; then top_srcdir=.
12649 -      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12650 -  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
12651 -  *) # Relative path.
12652 -    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12653 -    top_srcdir="$ac_dots$ac_given_srcdir" ;;
12654 -  esac
12655 -
12656 -  case "$ac_given_INSTALL" in
12657 -  [/$]*) INSTALL="$ac_given_INSTALL" ;;
12658 -  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
12659 -  esac
12660 -
12661 -  echo creating "$ac_file"
12662 -  rm -f "$ac_file"
12663 -  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12664 -  case "$ac_file" in
12665 -  *Makefile*) ac_comsub="1i\\
12666 -# $configure_input" ;;
12667 -  *) ac_comsub= ;;
12668 -  esac
12669 -
12670 -  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12671 -  sed -e "$ac_comsub
12672 -s%@configure_input@%$configure_input%g
12673 -s%@srcdir@%$srcdir%g
12674 -s%@top_srcdir@%$top_srcdir%g
12675 -s%@INSTALL@%$INSTALL%g
12676 -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12677 -fi; done
12678 -rm -f conftest.s*
12679 +cat >>$CONFIG_STATUS <<\_ACEOF
12680 +
12681 +# Handling of arguments.
12682 +for ac_config_target in $ac_config_targets
12683 +do
12684 +  case $ac_config_target in
12685 +    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12686 +    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12687 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12688 +
12689 +  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12690 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12691 +   { (exit 1); exit 1; }; };;
12692 +  esac
12693 +done
12694 +
12695 +
12696 +# If the user did not use the arguments to specify the items to instantiate,
12697 +# then the envvar interface is used.  Set only those that are not.
12698 +# We use the long form for the default assignment because of an extremely
12699 +# bizarre bug on SunOS 4.1.3.
12700 +if $ac_need_defaults; then
12701 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12702 +  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12703 +  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12704 +fi
12705 +
12706 +# Have a temporary directory for convenience.  Make it in the build tree
12707 +# simply because there is no reason against having it here, and in addition,
12708 +# creating and moving files from /tmp can sometimes cause problems.
12709 +# Hook for its removal unless debugging.
12710 +# Note that there is a small window in which the directory will not be cleaned:
12711 +# after its creation but before its name has been assigned to `$tmp'.
12712 +$debug ||
12713 +{
12714 +  tmp=
12715 +  trap 'exit_status=$?
12716 +  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12717 +' 0
12718 +  trap '{ (exit 1); exit 1; }' 1 2 13 15
12719 +}
12720 +# Create a (secure) tmp directory for tmp files.
12721 +
12722 +{
12723 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12724 +  test -n "$tmp" && test -d "$tmp"
12725 +}  ||
12726 +{
12727 +  tmp=./conf$$-$RANDOM
12728 +  (umask 077 && mkdir "$tmp")
12729 +} ||
12730 +{
12731 +   echo "$me: cannot create a temporary directory in ." >&2
12732 +   { (exit 1); exit 1; }
12733 +}
12734  
12735 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12736 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
12737  #
12738 -# ac_d sets the value in "#define NAME VALUE" lines.
12739 -ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
12740 -ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
12741 -ac_dC='\3'
12742 -ac_dD='%g'
12743 -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12744 -ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
12745 -ac_uB='\([     ]\)%\1#\2define\3'
12746 -ac_uC=' '
12747 -ac_uD='\4%g'
12748 -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12749 -ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
12750 -ac_eB='$%\1#\2define\3'
12751 -ac_eC=' '
12752 -ac_eD='%g'
12753 -
12754 -if test "${CONFIG_HEADERS+set}" != set; then
12755 -EOF
12756 -cat >> $CONFIG_STATUS <<EOF
12757 -  CONFIG_HEADERS="config.h"
12758 -EOF
12759 -cat >> $CONFIG_STATUS <<\EOF
12760 -fi
12761 -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
12762 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12763 -  case "$ac_file" in
12764 -  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
12765 -       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
12766 -  *) ac_file_in="${ac_file}.in" ;;
12767 -  esac
12768 -
12769 -  echo creating $ac_file
12770 -
12771 -  rm -f conftest.frag conftest.in conftest.out
12772 -  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12773 -  cat $ac_file_inputs > conftest.in
12774 -
12775 -EOF
12776 -
12777 -# Transform confdefs.h into a sed script conftest.vals that substitutes
12778 -# the proper values into config.h.in to produce config.h.  And first:
12779 -# Protect against being on the right side of a sed subst in config.status.
12780 -# Protect against being in an unquoted here document in config.status.
12781 -rm -f conftest.vals
12782 -cat > conftest.hdr <<\EOF
12783 -s/[\\&%]/\\&/g
12784 -s%[\\$`]%\\&%g
12785 -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12786 -s%ac_d%ac_u%gp
12787 -s%ac_u%ac_e%gp
12788 -EOF
12789 -sed -n -f conftest.hdr confdefs.h > conftest.vals
12790 -rm -f conftest.hdr
12791 +# Set up the sed scripts for CONFIG_FILES section.
12792 +#
12793 +
12794 +# No need to generate the scripts if there are no CONFIG_FILES.
12795 +# This happens for instance when ./config.status config.h
12796 +if test -n "$CONFIG_FILES"; then
12797 +
12798 +_ACEOF
12799 +
12800 +
12801 +
12802 +ac_delim='%!_!# '
12803 +for ac_last_try in false false false false false :; do
12804 +  cat >conf$$subs.sed <<_ACEOF
12805 +SHELL!$SHELL$ac_delim
12806 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12807 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12808 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12809 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12810 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12811 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12812 +exec_prefix!$exec_prefix$ac_delim
12813 +prefix!$prefix$ac_delim
12814 +program_transform_name!$program_transform_name$ac_delim
12815 +bindir!$bindir$ac_delim
12816 +sbindir!$sbindir$ac_delim
12817 +libexecdir!$libexecdir$ac_delim
12818 +datarootdir!$datarootdir$ac_delim
12819 +datadir!$datadir$ac_delim
12820 +sysconfdir!$sysconfdir$ac_delim
12821 +sharedstatedir!$sharedstatedir$ac_delim
12822 +localstatedir!$localstatedir$ac_delim
12823 +includedir!$includedir$ac_delim
12824 +oldincludedir!$oldincludedir$ac_delim
12825 +docdir!$docdir$ac_delim
12826 +infodir!$infodir$ac_delim
12827 +htmldir!$htmldir$ac_delim
12828 +dvidir!$dvidir$ac_delim
12829 +pdfdir!$pdfdir$ac_delim
12830 +psdir!$psdir$ac_delim
12831 +libdir!$libdir$ac_delim
12832 +localedir!$localedir$ac_delim
12833 +mandir!$mandir$ac_delim
12834 +DEFS!$DEFS$ac_delim
12835 +ECHO_C!$ECHO_C$ac_delim
12836 +ECHO_N!$ECHO_N$ac_delim
12837 +ECHO_T!$ECHO_T$ac_delim
12838 +LIBS!$LIBS$ac_delim
12839 +build_alias!$build_alias$ac_delim
12840 +host_alias!$host_alias$ac_delim
12841 +target_alias!$target_alias$ac_delim
12842 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12843 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12844 +INSTALL_DATA!$INSTALL_DATA$ac_delim
12845 +am__isrc!$am__isrc$ac_delim
12846 +CYGPATH_W!$CYGPATH_W$ac_delim
12847 +PACKAGE!$PACKAGE$ac_delim
12848 +VERSION!$VERSION$ac_delim
12849 +ACLOCAL!$ACLOCAL$ac_delim
12850 +AUTOCONF!$AUTOCONF$ac_delim
12851 +AUTOMAKE!$AUTOMAKE$ac_delim
12852 +AUTOHEADER!$AUTOHEADER$ac_delim
12853 +MAKEINFO!$MAKEINFO$ac_delim
12854 +install_sh!$install_sh$ac_delim
12855 +STRIP!$STRIP$ac_delim
12856 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
12857 +mkdir_p!$mkdir_p$ac_delim
12858 +AWK!$AWK$ac_delim
12859 +SET_MAKE!$SET_MAKE$ac_delim
12860 +am__leading_dot!$am__leading_dot$ac_delim
12861 +AMTAR!$AMTAR$ac_delim
12862 +am__tar!$am__tar$ac_delim
12863 +am__untar!$am__untar$ac_delim
12864 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
12865 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
12866 +MAINT!$MAINT$ac_delim
12867 +CC!$CC$ac_delim
12868 +CFLAGS!$CFLAGS$ac_delim
12869 +LDFLAGS!$LDFLAGS$ac_delim
12870 +CPPFLAGS!$CPPFLAGS$ac_delim
12871 +ac_ct_CC!$ac_ct_CC$ac_delim
12872 +EXEEXT!$EXEEXT$ac_delim
12873 +OBJEXT!$OBJEXT$ac_delim
12874 +DEPDIR!$DEPDIR$ac_delim
12875 +am__include!$am__include$ac_delim
12876 +am__quote!$am__quote$ac_delim
12877 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
12878 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
12879 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
12880 +CCDEPMODE!$CCDEPMODE$ac_delim
12881 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
12882 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
12883 +CPP!$CPP$ac_delim
12884 +GREP!$GREP$ac_delim
12885 +EGREP!$EGREP$ac_delim
12886 +HAVE_GETPASS_TRUE!$HAVE_GETPASS_TRUE$ac_delim
12887 +HAVE_GETPASS_FALSE!$HAVE_GETPASS_FALSE$ac_delim
12888 +build!$build$ac_delim
12889 +build_cpu!$build_cpu$ac_delim
12890 +build_vendor!$build_vendor$ac_delim
12891 +build_os!$build_os$ac_delim
12892 +host!$host$ac_delim
12893 +host_cpu!$host_cpu$ac_delim
12894 +host_vendor!$host_vendor$ac_delim
12895 +host_os!$host_os$ac_delim
12896 +LIBOBJS!$LIBOBJS$ac_delim
12897 +LTLIBOBJS!$LTLIBOBJS$ac_delim
12898 +_ACEOF
12899 +
12900 +  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
12901 +    break
12902 +  elif $ac_last_try; then
12903 +    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12904 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12905 +   { (exit 1); exit 1; }; }
12906 +  else
12907 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12908 +  fi
12909 +done
12910 +
12911 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12912 +if test -n "$ac_eof"; then
12913 +  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12914 +  ac_eof=`expr $ac_eof + 1`
12915 +fi
12916 +
12917 +cat >>$CONFIG_STATUS <<_ACEOF
12918 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12919 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12920 +_ACEOF
12921 +sed '
12922 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12923 +s/^/s,@/; s/!/@,|#_!!_#|/
12924 +:n
12925 +t n
12926 +s/'"$ac_delim"'$/,g/; t
12927 +s/$/\\/; p
12928 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12929 +' >>$CONFIG_STATUS <conf$$subs.sed
12930 +rm -f conf$$subs.sed
12931 +cat >>$CONFIG_STATUS <<_ACEOF
12932 +:end
12933 +s/|#_!!_#|//g
12934 +CEOF$ac_eof
12935 +_ACEOF
12936 +
12937 +
12938 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
12939 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12940 +# trailing colons and then remove the whole line if VPATH becomes empty
12941 +# (actually we leave an empty line to preserve line numbers).
12942 +if test "x$srcdir" = x.; then
12943 +  ac_vpsub='/^[         ]*VPATH[        ]*=/{
12944 +s/:*\$(srcdir):*/:/
12945 +s/:*\${srcdir}:*/:/
12946 +s/:*@srcdir@:*/:/
12947 +s/^\([^=]*=[    ]*\):*/\1/
12948 +s/:*$//
12949 +s/^[^=]*=[      ]*$//
12950 +}'
12951 +fi
12952 +
12953 +cat >>$CONFIG_STATUS <<\_ACEOF
12954 +fi # test -n "$CONFIG_FILES"
12955 +
12956 +
12957 +for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
12958 +do
12959 +  case $ac_tag in
12960 +  :[FHLC]) ac_mode=$ac_tag; continue;;
12961 +  esac
12962 +  case $ac_mode$ac_tag in
12963 +  :[FHL]*:*);;
12964 +  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12965 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12966 +   { (exit 1); exit 1; }; };;
12967 +  :[FH]-) ac_tag=-:-;;
12968 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12969 +  esac
12970 +  ac_save_IFS=$IFS
12971 +  IFS=:
12972 +  set x $ac_tag
12973 +  IFS=$ac_save_IFS
12974 +  shift
12975 +  ac_file=$1
12976 +  shift
12977 +
12978 +  case $ac_mode in
12979 +  :L) ac_source=$1;;
12980 +  :[FH])
12981 +    ac_file_inputs=
12982 +    for ac_f
12983 +    do
12984 +      case $ac_f in
12985 +      -) ac_f="$tmp/stdin";;
12986 +      *) # Look for the file first in the build tree, then in the source tree
12987 +        # (if the path is not absolute).  The absolute path cannot be DOS-style,
12988 +        # because $ac_f cannot contain `:'.
12989 +        test -f "$ac_f" ||
12990 +          case $ac_f in
12991 +          [\\/$]*) false;;
12992 +          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12993 +          esac ||
12994 +          { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12995 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12996 +   { (exit 1); exit 1; }; };;
12997 +      esac
12998 +      ac_file_inputs="$ac_file_inputs $ac_f"
12999 +    done
13000 +
13001 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
13002 +    # use $as_me), people would be surprised to read:
13003 +    #    /* config.h.  Generated by config.status.  */
13004 +    configure_input="Generated from "`IFS=:
13005 +         echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13006 +    if test x"$ac_file" != x-; then
13007 +      configure_input="$ac_file.  $configure_input"
13008 +      { echo "$as_me:$LINENO: creating $ac_file" >&5
13009 +echo "$as_me: creating $ac_file" >&6;}
13010 +    fi
13011 +
13012 +    case $ac_tag in
13013 +    *:-:* | *:-) cat >"$tmp/stdin";;
13014 +    esac
13015 +    ;;
13016 +  esac
13017 +
13018 +  ac_dir=`$as_dirname -- "$ac_file" ||
13019 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13020 +        X"$ac_file" : 'X\(//\)[^/]' \| \
13021 +        X"$ac_file" : 'X\(//\)$' \| \
13022 +        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13023 +echo X"$ac_file" |
13024 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13025 +           s//\1/
13026 +           q
13027 +         }
13028 +         /^X\(\/\/\)[^/].*/{
13029 +           s//\1/
13030 +           q
13031 +         }
13032 +         /^X\(\/\/\)$/{
13033 +           s//\1/
13034 +           q
13035 +         }
13036 +         /^X\(\/\).*/{
13037 +           s//\1/
13038 +           q
13039 +         }
13040 +         s/.*/./; q'`
13041 +  { as_dir="$ac_dir"
13042 +  case $as_dir in #(
13043 +  -*) as_dir=./$as_dir;;
13044 +  esac
13045 +  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13046 +    as_dirs=
13047 +    while :; do
13048 +      case $as_dir in #(
13049 +      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13050 +      *) as_qdir=$as_dir;;
13051 +      esac
13052 +      as_dirs="'$as_qdir' $as_dirs"
13053 +      as_dir=`$as_dirname -- "$as_dir" ||
13054 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13055 +        X"$as_dir" : 'X\(//\)[^/]' \| \
13056 +        X"$as_dir" : 'X\(//\)$' \| \
13057 +        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13058 +echo X"$as_dir" |
13059 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13060 +           s//\1/
13061 +           q
13062 +         }
13063 +         /^X\(\/\/\)[^/].*/{
13064 +           s//\1/
13065 +           q
13066 +         }
13067 +         /^X\(\/\/\)$/{
13068 +           s//\1/
13069 +           q
13070 +         }
13071 +         /^X\(\/\).*/{
13072 +           s//\1/
13073 +           q
13074 +         }
13075 +         s/.*/./; q'`
13076 +      test -d "$as_dir" && break
13077 +    done
13078 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
13079 +  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13080 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
13081 +   { (exit 1); exit 1; }; }; }
13082 +  ac_builddir=.
13083 +
13084 +case "$ac_dir" in
13085 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13086 +*)
13087 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13088 +  # A ".." for each directory in $ac_dir_suffix.
13089 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13090 +  case $ac_top_builddir_sub in
13091 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13092 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13093 +  esac ;;
13094 +esac
13095 +ac_abs_top_builddir=$ac_pwd
13096 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
13097 +# for backward compatibility:
13098 +ac_top_builddir=$ac_top_build_prefix
13099 +
13100 +case $srcdir in
13101 +  .)  # We are building in place.
13102 +    ac_srcdir=.
13103 +    ac_top_srcdir=$ac_top_builddir_sub
13104 +    ac_abs_top_srcdir=$ac_pwd ;;
13105 +  [\\/]* | ?:[\\/]* )  # Absolute name.
13106 +    ac_srcdir=$srcdir$ac_dir_suffix;
13107 +    ac_top_srcdir=$srcdir
13108 +    ac_abs_top_srcdir=$srcdir ;;
13109 +  *) # Relative name.
13110 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13111 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
13112 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13113 +esac
13114 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13115 +
13116 +
13117 +  case $ac_mode in
13118 +  :F)
13119 +  #
13120 +  # CONFIG_FILE
13121 +  #
13122 +
13123 +  case $INSTALL in
13124 +  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13125 +  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13126 +  esac
13127 +  ac_MKDIR_P=$MKDIR_P
13128 +  case $MKDIR_P in
13129 +  [\\/$]* | ?:[\\/]* ) ;;
13130 +  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13131 +  esac
13132 +_ACEOF
13133 +
13134 +cat >>$CONFIG_STATUS <<\_ACEOF
13135 +# If the template does not know about datarootdir, expand it.
13136 +# FIXME: This hack should be removed a few years after 2.60.
13137 +ac_datarootdir_hack=; ac_datarootdir_seen=
13138 +
13139 +case `sed -n '/datarootdir/ {
13140 +  p
13141 +  q
13142 +}
13143 +/@datadir@/p
13144 +/@docdir@/p
13145 +/@infodir@/p
13146 +/@localedir@/p
13147 +/@mandir@/p
13148 +' $ac_file_inputs` in
13149 +*datarootdir*) ac_datarootdir_seen=yes;;
13150 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13151 +  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13152 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13153 +_ACEOF
13154 +cat >>$CONFIG_STATUS <<_ACEOF
13155 +  ac_datarootdir_hack='
13156 +  s&@datadir@&$datadir&g
13157 +  s&@docdir@&$docdir&g
13158 +  s&@infodir@&$infodir&g
13159 +  s&@localedir@&$localedir&g
13160 +  s&@mandir@&$mandir&g
13161 +    s&\\\${datarootdir}&$datarootdir&g' ;;
13162 +esac
13163 +_ACEOF
13164 +
13165 +# Neutralize VPATH when `$srcdir' = `.'.
13166 +# Shell code in configure.ac might set extrasub.
13167 +# FIXME: do we really want to maintain this feature?
13168 +cat >>$CONFIG_STATUS <<_ACEOF
13169 +  sed "$ac_vpsub
13170 +$extrasub
13171 +_ACEOF
13172 +cat >>$CONFIG_STATUS <<\_ACEOF
13173 +:t
13174 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13175 +s&@configure_input@&$configure_input&;t t
13176 +s&@top_builddir@&$ac_top_builddir_sub&;t t
13177 +s&@srcdir@&$ac_srcdir&;t t
13178 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
13179 +s&@top_srcdir@&$ac_top_srcdir&;t t
13180 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13181 +s&@builddir@&$ac_builddir&;t t
13182 +s&@abs_builddir@&$ac_abs_builddir&;t t
13183 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13184 +s&@INSTALL@&$ac_INSTALL&;t t
13185 +s&@MKDIR_P@&$ac_MKDIR_P&;t t
13186 +$ac_datarootdir_hack
13187 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
13188 +
13189 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13190 +  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13191 +  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13192 +  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13193 +which seems to be undefined.  Please make sure it is defined." >&5
13194 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13195 +which seems to be undefined.  Please make sure it is defined." >&2;}
13196 +
13197 +  rm -f "$tmp/stdin"
13198 +  case $ac_file in
13199 +  -) cat "$tmp/out"; rm -f "$tmp/out";;
13200 +  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13201 +  esac
13202 + ;;
13203 +  :H)
13204 +  #
13205 +  # CONFIG_HEADER
13206 +  #
13207 +_ACEOF
13208 +
13209 +# Transform confdefs.h into a sed script `conftest.defines', that
13210 +# substitutes the proper values into config.h.in to produce config.h.
13211 +rm -f conftest.defines conftest.tail
13212 +# First, append a space to every undef/define line, to ease matching.
13213 +echo 's/$/ /' >conftest.defines
13214 +# Then, protect against being on the right side of a sed subst, or in
13215 +# an unquoted here document, in config.status.  If some macros were
13216 +# called several times there might be several #defines for the same
13217 +# symbol, which is useless.  But do not sort them, since the last
13218 +# AC_DEFINE must be honored.
13219 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13220 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13221 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
13222 +# PARAMS is the parameter list in the macro definition--in most cases, it's
13223 +# just an empty string.
13224 +ac_dA='s,^\\([  #]*\\)[^        ]*\\([  ]*'
13225 +ac_dB='\\)[     (].*,\\1define\\2'
13226 +ac_dC=' '
13227 +ac_dD=' ,'
13228 +
13229 +uniq confdefs.h |
13230 +  sed -n '
13231 +       t rset
13232 +       :rset
13233 +       s/^[     ]*#[    ]*define[       ][      ]*//
13234 +       t ok
13235 +       d
13236 +       :ok
13237 +       s/[\\&,]/\\&/g
13238 +       s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13239 +       s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13240 +  ' >>conftest.defines
13241  
13242 -# This sed command replaces #undef with comments.  This is necessary, for
13243 +# Remove the space that was appended to ease matching.
13244 +# Then replace #undef with comments.  This is necessary, for
13245  # example, in the case of _POSIX_SOURCE, which is predefined and required
13246  # on some systems where configure will not decide to define it.
13247 -cat >> conftest.vals <<\EOF
13248 -s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13249 -EOF
13250 +# (The regexp can be short, since the line contains either #define or #undef.)
13251 +echo 's/ $//
13252 +s,^[    #]*u.*,/* & */,' >>conftest.defines
13253 +
13254 +# Break up conftest.defines:
13255 +ac_max_sed_lines=50
13256 +
13257 +# First sed command is:         sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13258 +# Second one is:        sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13259 +# Third one will be:    sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13260 +# et cetera.
13261 +ac_in='$ac_file_inputs'
13262 +ac_out='"$tmp/out1"'
13263 +ac_nxt='"$tmp/out2"'
13264  
13265 -# Break up conftest.vals because some shells have a limit on
13266 -# the size of here documents, and old seds have small limits too.
13267 -
13268 -rm -f conftest.tail
13269  while :
13270  do
13271 -  ac_lines=`grep -c . conftest.vals`
13272 -  # grep -c gives empty output for an empty file on some AIX systems.
13273 -  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13274 -  # Write a limited-size here document to conftest.frag.
13275 -  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13276 -  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13277 +  # Write a here document:
13278 +    cat >>$CONFIG_STATUS <<_ACEOF
13279 +    # First, check the format of the line:
13280 +    cat >"\$tmp/defines.sed" <<\\CEOF
13281 +/^[     ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
13282 +/^[     ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
13283 +b
13284 +:def
13285 +_ACEOF
13286 +  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
13287    echo 'CEOF
13288 -  sed -f conftest.frag conftest.in > conftest.out
13289 -  rm -f conftest.in
13290 -  mv conftest.out conftest.in
13291 -' >> $CONFIG_STATUS
13292 -  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13293 -  rm -f conftest.vals
13294 -  mv conftest.tail conftest.vals
13295 -done
13296 -rm -f conftest.vals
13297 -
13298 -cat >> $CONFIG_STATUS <<\EOF
13299 -  rm -f conftest.frag conftest.h
13300 -  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
13301 -  cat conftest.in >> conftest.h
13302 -  rm -f conftest.in
13303 -  if cmp -s $ac_file conftest.h 2>/dev/null; then
13304 -    echo "$ac_file is unchanged"
13305 -    rm -f conftest.h
13306 -  else
13307 -    # Remove last slash and all that follows it.  Not all systems have dirname.
13308 -      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13309 -      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13310 -      # The file is in a subdirectory.
13311 -      test ! -d "$ac_dir" && mkdir "$ac_dir"
13312 +    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13313 +  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
13314 +  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
13315 +  grep . conftest.tail >/dev/null || break
13316 +  rm -f conftest.defines
13317 +  mv conftest.tail conftest.defines
13318 +done
13319 +rm -f conftest.defines conftest.tail
13320 +
13321 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
13322 +cat >>$CONFIG_STATUS <<\_ACEOF
13323 +  if test x"$ac_file" != x-; then
13324 +    echo "/* $configure_input  */" >"$tmp/config.h"
13325 +    cat "$ac_result" >>"$tmp/config.h"
13326 +    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
13327 +      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13328 +echo "$as_me: $ac_file is unchanged" >&6;}
13329 +    else
13330 +      rm -f $ac_file
13331 +      mv "$tmp/config.h" $ac_file
13332      fi
13333 -    rm -f $ac_file
13334 -    mv conftest.h $ac_file
13335 +  else
13336 +    echo "/* $configure_input  */"
13337 +    cat "$ac_result"
13338    fi
13339 -fi; done
13340 +  rm -f "$tmp/out12"
13341 +# Compute $ac_file's index in $config_headers.
13342 +_am_stamp_count=1
13343 +for _am_header in $config_headers :; do
13344 +  case $_am_header in
13345 +    $ac_file | $ac_file:* )
13346 +      break ;;
13347 +    * )
13348 +      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13349 +  esac
13350 +done
13351 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
13352 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13353 +        X$ac_file : 'X\(//\)[^/]' \| \
13354 +        X$ac_file : 'X\(//\)$' \| \
13355 +        X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
13356 +echo X$ac_file |
13357 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13358 +           s//\1/
13359 +           q
13360 +         }
13361 +         /^X\(\/\/\)[^/].*/{
13362 +           s//\1/
13363 +           q
13364 +         }
13365 +         /^X\(\/\/\)$/{
13366 +           s//\1/
13367 +           q
13368 +         }
13369 +         /^X\(\/\).*/{
13370 +           s//\1/
13371 +           q
13372 +         }
13373 +         s/.*/./; q'`/stamp-h$_am_stamp_count
13374 + ;;
13375 +
13376 +  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13377 +echo "$as_me: executing $ac_file commands" >&6;}
13378 + ;;
13379 +  esac
13380 +
13381  
13382 -EOF
13383 -cat >> $CONFIG_STATUS <<EOF
13384 +  case $ac_file$ac_mode in
13385 +    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13386 +  # Strip MF so we end up with the name of the file.
13387 +  mf=`echo "$mf" | sed -e 's/:.*$//'`
13388 +  # Check whether this is an Automake generated Makefile or not.
13389 +  # We used to match only the files named `Makefile.in', but
13390 +  # some people rename them; so instead we look at the file content.
13391 +  # Grep'ing the first line is not enough: some people post-process
13392 +  # each Makefile.in and add a new line on top of each file to say so.
13393 +  # Grep'ing the whole file is not good either: AIX grep has a line
13394 +  # limit of 2048, but all sed's we know have understand at least 4000.
13395 +  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
13396 +    dirpart=`$as_dirname -- "$mf" ||
13397 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13398 +        X"$mf" : 'X\(//\)[^/]' \| \
13399 +        X"$mf" : 'X\(//\)$' \| \
13400 +        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13401 +echo X"$mf" |
13402 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13403 +           s//\1/
13404 +           q
13405 +         }
13406 +         /^X\(\/\/\)[^/].*/{
13407 +           s//\1/
13408 +           q
13409 +         }
13410 +         /^X\(\/\/\)$/{
13411 +           s//\1/
13412 +           q
13413 +         }
13414 +         /^X\(\/\).*/{
13415 +           s//\1/
13416 +           q
13417 +         }
13418 +         s/.*/./; q'`
13419 +  else
13420 +    continue
13421 +  fi
13422 +  # Extract the definition of DEPDIR, am__include, and am__quote
13423 +  # from the Makefile without running `make'.
13424 +  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13425 +  test -z "$DEPDIR" && continue
13426 +  am__include=`sed -n 's/^am__include = //p' < "$mf"`
13427 +  test -z "am__include" && continue
13428 +  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13429 +  # When using ansi2knr, U may be empty or an underscore; expand it
13430 +  U=`sed -n 's/^U = //p' < "$mf"`
13431 +  # Find all dependency output files, they are included files with
13432 +  # $(DEPDIR) in their names.  We invoke sed twice because it is the
13433 +  # simplest approach to changing $(DEPDIR) to its actual value in the
13434 +  # expansion.
13435 +  for file in `sed -n "
13436 +    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13437 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13438 +    # Make sure the directory exists.
13439 +    test -f "$dirpart/$file" && continue
13440 +    fdir=`$as_dirname -- "$file" ||
13441 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13442 +        X"$file" : 'X\(//\)[^/]' \| \
13443 +        X"$file" : 'X\(//\)$' \| \
13444 +        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13445 +echo X"$file" |
13446 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13447 +           s//\1/
13448 +           q
13449 +         }
13450 +         /^X\(\/\/\)[^/].*/{
13451 +           s//\1/
13452 +           q
13453 +         }
13454 +         /^X\(\/\/\)$/{
13455 +           s//\1/
13456 +           q
13457 +         }
13458 +         /^X\(\/\).*/{
13459 +           s//\1/
13460 +           q
13461 +         }
13462 +         s/.*/./; q'`
13463 +    { as_dir=$dirpart/$fdir
13464 +  case $as_dir in #(
13465 +  -*) as_dir=./$as_dir;;
13466 +  esac
13467 +  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13468 +    as_dirs=
13469 +    while :; do
13470 +      case $as_dir in #(
13471 +      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13472 +      *) as_qdir=$as_dir;;
13473 +      esac
13474 +      as_dirs="'$as_qdir' $as_dirs"
13475 +      as_dir=`$as_dirname -- "$as_dir" ||
13476 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13477 +        X"$as_dir" : 'X\(//\)[^/]' \| \
13478 +        X"$as_dir" : 'X\(//\)$' \| \
13479 +        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13480 +echo X"$as_dir" |
13481 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13482 +           s//\1/
13483 +           q
13484 +         }
13485 +         /^X\(\/\/\)[^/].*/{
13486 +           s//\1/
13487 +           q
13488 +         }
13489 +         /^X\(\/\/\)$/{
13490 +           s//\1/
13491 +           q
13492 +         }
13493 +         /^X\(\/\).*/{
13494 +           s//\1/
13495 +           q
13496 +         }
13497 +         s/.*/./; q'`
13498 +      test -d "$as_dir" && break
13499 +    done
13500 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
13501 +  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13502 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
13503 +   { (exit 1); exit 1; }; }; }
13504 +    # echo "creating $dirpart/$file"
13505 +    echo '# dummy' > "$dirpart/$file"
13506 +  done
13507 +done
13508 + ;;
13509  
13510 +  esac
13511 +done # for ac_tag
13512  
13513 -EOF
13514 -cat >> $CONFIG_STATUS <<\EOF
13515 -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
13516  
13517 -exit 0
13518 -EOF
13519 +{ (exit 0); exit 0; }
13520 +_ACEOF
13521  chmod +x $CONFIG_STATUS
13522 -rm -fr confdefs* $ac_clean_files
13523 -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13524 +ac_clean_files=$ac_clean_files_save
13525 +
13526 +
13527 +# configure is writing to config.log, and then calls config.status.
13528 +# config.status does its own redirection, appending to config.log.
13529 +# Unfortunately, on DOS this fails, as config.log is still kept open
13530 +# by configure, so config.status won't be able to write to it; its
13531 +# output is simply discarded.  So we exec the FD to /dev/null,
13532 +# effectively closing config.log, so it can be properly (re)opened and
13533 +# appended to by config.status.  When coming back to configure, we
13534 +# need to make the FD available again.
13535 +if test "$no_create" != yes; then
13536 +  ac_cs_success=:
13537 +  ac_config_status_args=
13538 +  test "$silent" = yes &&
13539 +    ac_config_status_args="$ac_config_status_args --quiet"
13540 +  exec 5>/dev/null
13541 +  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13542 +  exec 5>>config.log
13543 +  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13544 +  # would make configure fail if this is the last instruction.
13545 +  $ac_cs_success || { (exit 1); exit 1; }
13546 +fi
13547  
13548  
13549 Index: ez-ipupdate-3.0.11b8/install-sh
13550 ===================================================================
13551 --- ez-ipupdate-3.0.11b8.orig/install-sh        2000-08-08 09:09:48.000000000 +0200
13552 +++ ez-ipupdate-3.0.11b8/install-sh     2007-03-08 16:34:52.000000000 +0100
13553 @@ -1,36 +1,62 @@
13554  #!/bin/sh
13555 -#
13556  # install - install a program, script, or datafile
13557 -# This comes from X11R5 (mit/util/scripts/install.sh).
13558 +
13559 +scriptversion=2006-10-14.15
13560 +
13561 +# This originates from X11R5 (mit/util/scripts/install.sh), which was
13562 +# later released in X11R6 (xc/config/util/install.sh) with the
13563 +# following copyright and license.
13564 +#
13565 +# Copyright (C) 1994 X Consortium
13566 +#
13567 +# Permission is hereby granted, free of charge, to any person obtaining a copy
13568 +# of this software and associated documentation files (the "Software"), to
13569 +# deal in the Software without restriction, including without limitation the
13570 +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
13571 +# sell copies of the Software, and to permit persons to whom the Software is
13572 +# furnished to do so, subject to the following conditions:
13573  #
13574 -# Copyright 1991 by the Massachusetts Institute of Technology
13575 +# The above copyright notice and this permission notice shall be included in
13576 +# all copies or substantial portions of the Software.
13577  #
13578 -# Permission to use, copy, modify, distribute, and sell this software and its
13579 -# documentation for any purpose is hereby granted without fee, provided that
13580 -# the above copyright notice appear in all copies and that both that
13581 -# copyright notice and this permission notice appear in supporting
13582 -# documentation, and that the name of M.I.T. not be used in advertising or
13583 -# publicity pertaining to distribution of the software without specific,
13584 -# written prior permission.  M.I.T. makes no representations about the
13585 -# suitability of this software for any purpose.  It is provided "as is"
13586 -# without express or implied warranty.
13587 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13588 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13589 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
13590 +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
13591 +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
13592 +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13593 +#
13594 +# Except as contained in this notice, the name of the X Consortium shall not
13595 +# be used in advertising or otherwise to promote the sale, use or other deal-
13596 +# ings in this Software without prior written authorization from the X Consor-
13597 +# tium.
13598 +#
13599 +#
13600 +# FSF changes to this file are in the public domain.
13601  #
13602  # Calling this script install-sh is preferred over install.sh, to prevent
13603  # `make' implicit rules from creating a file called install from it
13604  # when there is no Makefile.
13605  #
13606  # This script is compatible with the BSD install script, but was written
13607 -# from scratch.  It can only install one file at a time, a restriction
13608 -# shared with many OS's install programs.
13609 +# from scratch.
13610  
13611 +nl='
13612 +'
13613 +IFS=" ""       $nl"
13614  
13615  # set DOITPROG to echo to test this script
13616  
13617  # Don't use :- since 4.3BSD and earlier shells don't like it.
13618  doit="${DOITPROG-}"
13619 +if test -z "$doit"; then
13620 +  doit_exec=exec
13621 +else
13622 +  doit_exec=$doit
13623 +fi
13624  
13625 -
13626 -# put in absolute paths if you don't have them in your path; or use env. vars.
13627 +# Put in absolute file names if you don't have them in your path;
13628 +# or use environment vars.
13629  
13630  mvprog="${MVPROG-mv}"
13631  cpprog="${CPPROG-cp}"
13632 @@ -41,210 +67,441 @@
13633  rmprog="${RMPROG-rm}"
13634  mkdirprog="${MKDIRPROG-mkdir}"
13635  
13636 -transformbasename=""
13637 -transform_arg=""
13638 -instcmd="$mvprog"
13639 -chmodcmd="$chmodprog 0755"
13640 -chowncmd=""
13641 -chgrpcmd=""
13642 -stripcmd=""
13643 -rmcmd="$rmprog -f"
13644 -mvcmd="$mvprog"
13645 -src=""
13646 -dst=""
13647 -dir_arg=""
13648 -
13649 -while [ x"$1" != x ]; do
13650 -    case $1 in
13651 -       -c) instcmd="$cpprog"
13652 -           shift
13653 -           continue;;
13654 -
13655 -       -d) dir_arg=true
13656 -           shift
13657 -           continue;;
13658 -
13659 -       -m) chmodcmd="$chmodprog $2"
13660 -           shift
13661 -           shift
13662 -           continue;;
13663 -
13664 -       -o) chowncmd="$chownprog $2"
13665 -           shift
13666 -           shift
13667 -           continue;;
13668 -
13669 -       -g) chgrpcmd="$chgrpprog $2"
13670 -           shift
13671 -           shift
13672 -           continue;;
13673 -
13674 -       -s) stripcmd="$stripprog"
13675 -           shift
13676 -           continue;;
13677 -
13678 -       -t=*) transformarg=`echo $1 | sed 's/-t=//'`
13679 -           shift
13680 -           continue;;
13681 -
13682 -       -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
13683 -           shift
13684 -           continue;;
13685 -
13686 -       *)  if [ x"$src" = x ]
13687 -           then
13688 -               src=$1
13689 -           else
13690 -               # this colon is to work around a 386BSD /bin/sh bug
13691 -               :
13692 -               dst=$1
13693 -           fi
13694 -           shift
13695 -           continue;;
13696 -    esac
13697 -done
13698 -
13699 -if [ x"$src" = x ]
13700 -then
13701 -       echo "install:  no input file specified"
13702 -       exit 1
13703 -else
13704 -       true
13705 -fi
13706 +posix_glob=
13707 +posix_mkdir=
13708  
13709 -if [ x"$dir_arg" != x ]; then
13710 -       dst=$src
13711 -       src=""
13712 -       
13713 -       if [ -d $dst ]; then
13714 -               instcmd=:
13715 -       else
13716 -               instcmd=mkdir
13717 -       fi
13718 -else
13719 +# Desired mode of installed file.
13720 +mode=0755
13721  
13722 -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
13723 -# might cause directories to be created, which would be especially bad 
13724 -# if $src (and thus $dsttmp) contains '*'.
13725 -
13726 -       if [ -f $src -o -d $src ]
13727 -       then
13728 -               true
13729 -       else
13730 -               echo "install:  $src does not exist"
13731 -               exit 1
13732 -       fi
13733 -       
13734 -       if [ x"$dst" = x ]
13735 -       then
13736 -               echo "install:  no destination specified"
13737 -               exit 1
13738 -       else
13739 -               true
13740 -       fi
13741 +chmodcmd=$chmodprog
13742 +chowncmd=
13743 +chgrpcmd=
13744 +stripcmd=
13745 +rmcmd="$rmprog -f"
13746 +mvcmd="$mvprog"
13747 +src=
13748 +dst=
13749 +dir_arg=
13750 +dstarg=
13751 +no_target_directory=
13752 +
13753 +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
13754 +   or: $0 [OPTION]... SRCFILES... DIRECTORY
13755 +   or: $0 [OPTION]... -t DIRECTORY SRCFILES...
13756 +   or: $0 [OPTION]... -d DIRECTORIES...
13757 +
13758 +In the 1st form, copy SRCFILE to DSTFILE.
13759 +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
13760 +In the 4th, create DIRECTORIES.
13761 +
13762 +Options:
13763 +-c         (ignored)
13764 +-d         create directories instead of installing files.
13765 +-g GROUP   $chgrpprog installed files to GROUP.
13766 +-m MODE    $chmodprog installed files to MODE.
13767 +-o USER    $chownprog installed files to USER.
13768 +-s         $stripprog installed files.
13769 +-t DIRECTORY  install into DIRECTORY.
13770 +-T         report an error if DSTFILE is a directory.
13771 +--help     display this help and exit.
13772 +--version  display version info and exit.
13773 +
13774 +Environment variables override the default commands:
13775 +  CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
13776 +"
13777 +
13778 +while test $# -ne 0; do
13779 +  case $1 in
13780 +    -c) shift
13781 +        continue;;
13782 +
13783 +    -d) dir_arg=true
13784 +        shift
13785 +        continue;;
13786 +
13787 +    -g) chgrpcmd="$chgrpprog $2"
13788 +        shift
13789 +        shift
13790 +        continue;;
13791 +
13792 +    --help) echo "$usage"; exit $?;;
13793 +
13794 +    -m) mode=$2
13795 +        shift
13796 +        shift
13797 +       case $mode in
13798 +         *' '* | *'    '* | *'
13799 +'*       | *'*'* | *'?'* | *'['*)
13800 +           echo "$0: invalid mode: $mode" >&2
13801 +           exit 1;;
13802 +       esac
13803 +        continue;;
13804 +
13805 +    -o) chowncmd="$chownprog $2"
13806 +        shift
13807 +        shift
13808 +        continue;;
13809 +
13810 +    -s) stripcmd=$stripprog
13811 +        shift
13812 +        continue;;
13813  
13814 -# If destination is a directory, append the input filename; if your system
13815 -# does not like double slashes in filenames, you may need to add some logic
13816 +    -t) dstarg=$2
13817 +       shift
13818 +       shift
13819 +       continue;;
13820  
13821 -       if [ -d $dst ]
13822 -       then
13823 -               dst="$dst"/`basename $src`
13824 -       else
13825 -               true
13826 -       fi
13827 -fi
13828 +    -T) no_target_directory=true
13829 +       shift
13830 +       continue;;
13831  
13832 -## this sed command emulates the dirname command
13833 -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
13834 +    --version) echo "$0 $scriptversion"; exit $?;;
13835  
13836 -# Make sure that the destination directory exists.
13837 -#  this part is taken from Noah Friedman's mkinstalldirs script
13838 +    --)        shift
13839 +       break;;
13840  
13841 -# Skip lots of stat calls in the usual case.
13842 -if [ ! -d "$dstdir" ]; then
13843 -defaultIFS='   
13844 -'
13845 -IFS="${IFS-${defaultIFS}}"
13846 +    -*)        echo "$0: invalid option: $1" >&2
13847 +       exit 1;;
13848  
13849 -oIFS="${IFS}"
13850 -# Some sh's can't handle IFS=/ for some reason.
13851 -IFS='%'
13852 -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
13853 -IFS="${oIFS}"
13854 +    *)  break;;
13855 +  esac
13856 +done
13857  
13858 -pathcomp=''
13859 +if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
13860 +  # When -d is used, all remaining arguments are directories to create.
13861 +  # When -t is used, the destination is already specified.
13862 +  # Otherwise, the last argument is the destination.  Remove it from $@.
13863 +  for arg
13864 +  do
13865 +    if test -n "$dstarg"; then
13866 +      # $@ is not empty: it contains at least $arg.
13867 +      set fnord "$@" "$dstarg"
13868 +      shift # fnord
13869 +    fi
13870 +    shift # arg
13871 +    dstarg=$arg
13872 +  done
13873 +fi
13874  
13875 -while [ $# -ne 0 ] ; do
13876 -       pathcomp="${pathcomp}${1}"
13877 -       shift
13878 +if test $# -eq 0; then
13879 +  if test -z "$dir_arg"; then
13880 +    echo "$0: no input file specified." >&2
13881 +    exit 1
13882 +  fi
13883 +  # It's OK to call `install-sh -d' without argument.
13884 +  # This can happen when creating conditional directories.
13885 +  exit 0
13886 +fi
13887  
13888 -       if [ ! -d "${pathcomp}" ] ;
13889 -        then
13890 -               $mkdirprog "${pathcomp}"
13891 -       else
13892 -               true
13893 -       fi
13894 +if test -z "$dir_arg"; then
13895 +  trap '(exit $?); exit' 1 2 13 15
13896  
13897 -       pathcomp="${pathcomp}/"
13898 -done
13899 +  # Set umask so as not to create temps with too-generous modes.
13900 +  # However, 'strip' requires both read and write access to temps.
13901 +  case $mode in
13902 +    # Optimize common cases.
13903 +    *644) cp_umask=133;;
13904 +    *755) cp_umask=22;;
13905 +
13906 +    *[0-7])
13907 +      if test -z "$stripcmd"; then
13908 +       u_plus_rw=
13909 +      else
13910 +       u_plus_rw='% 200'
13911 +      fi
13912 +      cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
13913 +    *)
13914 +      if test -z "$stripcmd"; then
13915 +       u_plus_rw=
13916 +      else
13917 +       u_plus_rw=,u+rw
13918 +      fi
13919 +      cp_umask=$mode$u_plus_rw;;
13920 +  esac
13921  fi
13922  
13923 -if [ x"$dir_arg" != x ]
13924 -then
13925 -       $doit $instcmd $dst &&
13926 -
13927 -       if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
13928 -       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
13929 -       if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
13930 -       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
13931 -else
13932 -
13933 -# If we're going to rename the final executable, determine the name now.
13934 +for src
13935 +do
13936 +  # Protect names starting with `-'.
13937 +  case $src in
13938 +    -*) src=./$src ;;
13939 +  esac
13940 +
13941 +  if test -n "$dir_arg"; then
13942 +    dst=$src
13943 +    dstdir=$dst
13944 +    test -d "$dstdir"
13945 +    dstdir_status=$?
13946 +  else
13947 +
13948 +    # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
13949 +    # might cause directories to be created, which would be especially bad
13950 +    # if $src (and thus $dsttmp) contains '*'.
13951 +    if test ! -f "$src" && test ! -d "$src"; then
13952 +      echo "$0: $src does not exist." >&2
13953 +      exit 1
13954 +    fi
13955 +
13956 +    if test -z "$dstarg"; then
13957 +      echo "$0: no destination specified." >&2
13958 +      exit 1
13959 +    fi
13960 +
13961 +    dst=$dstarg
13962 +    # Protect names starting with `-'.
13963 +    case $dst in
13964 +      -*) dst=./$dst ;;
13965 +    esac
13966  
13967 -       if [ x"$transformarg" = x ] 
13968 -       then
13969 -               dstfile=`basename $dst`
13970 +    # If destination is a directory, append the input filename; won't work
13971 +    # if double slashes aren't ignored.
13972 +    if test -d "$dst"; then
13973 +      if test -n "$no_target_directory"; then
13974 +       echo "$0: $dstarg: Is a directory" >&2
13975 +       exit 1
13976 +      fi
13977 +      dstdir=$dst
13978 +      dst=$dstdir/`basename "$src"`
13979 +      dstdir_status=0
13980 +    else
13981 +      # Prefer dirname, but fall back on a substitute if dirname fails.
13982 +      dstdir=`
13983 +       (dirname "$dst") 2>/dev/null ||
13984 +       expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13985 +            X"$dst" : 'X\(//\)[^/]' \| \
13986 +            X"$dst" : 'X\(//\)$' \| \
13987 +            X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
13988 +       echo X"$dst" |
13989 +           sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13990 +                  s//\1/
13991 +                  q
13992 +                }
13993 +                /^X\(\/\/\)[^/].*/{
13994 +                  s//\1/
13995 +                  q
13996 +                }
13997 +                /^X\(\/\/\)$/{
13998 +                  s//\1/
13999 +                  q
14000 +                }
14001 +                /^X\(\/\).*/{
14002 +                  s//\1/
14003 +                  q
14004 +                }
14005 +                s/.*/./; q'
14006 +      `
14007 +
14008 +      test -d "$dstdir"
14009 +      dstdir_status=$?
14010 +    fi
14011 +  fi
14012 +
14013 +  obsolete_mkdir_used=false
14014 +
14015 +  if test $dstdir_status != 0; then
14016 +    case $posix_mkdir in
14017 +      '')
14018 +       # Create intermediate dirs using mode 755 as modified by the umask.
14019 +       # This is like FreeBSD 'install' as of 1997-10-28.
14020 +       umask=`umask`
14021 +       case $stripcmd.$umask in
14022 +         # Optimize common cases.
14023 +         *[2367][2367]) mkdir_umask=$umask;;
14024 +         .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
14025 +
14026 +         *[0-7])
14027 +           mkdir_umask=`expr $umask + 22 \
14028 +             - $umask % 100 % 40 + $umask % 20 \
14029 +             - $umask % 10 % 4 + $umask % 2
14030 +           `;;
14031 +         *) mkdir_umask=$umask,go-w;;
14032 +       esac
14033 +
14034 +       # With -d, create the new directory with the user-specified mode.
14035 +       # Otherwise, rely on $mkdir_umask.
14036 +       if test -n "$dir_arg"; then
14037 +         mkdir_mode=-m$mode
14038         else
14039 -               dstfile=`basename $dst $transformbasename | 
14040 -                       sed $transformarg`$transformbasename
14041 +         mkdir_mode=
14042         fi
14043  
14044 -# don't allow the sed command to completely eliminate the filename
14045 +       posix_mkdir=false
14046 +       case $umask in
14047 +         *[123567][0-7][0-7])
14048 +           # POSIX mkdir -p sets u+wx bits regardless of umask, which
14049 +           # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
14050 +           ;;
14051 +         *)
14052 +           tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
14053 +           trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
14054  
14055 -       if [ x"$dstfile" = x ] 
14056 -       then
14057 -               dstfile=`basename $dst`
14058 +           if (umask $mkdir_umask &&
14059 +               exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
14060 +           then
14061 +             if test -z "$dir_arg" || {
14062 +                  # Check for POSIX incompatibilities with -m.
14063 +                  # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
14064 +                  # other-writeable bit of parent directory when it shouldn't.
14065 +                  # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
14066 +                  ls_ld_tmpdir=`ls -ld "$tmpdir"`
14067 +                  case $ls_ld_tmpdir in
14068 +                    d????-?r-*) different_mode=700;;
14069 +                    d????-?--*) different_mode=755;;
14070 +                    *) false;;
14071 +                  esac &&
14072 +                  $mkdirprog -m$different_mode -p -- "$tmpdir" && {
14073 +                    ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
14074 +                    test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
14075 +                  }
14076 +                }
14077 +             then posix_mkdir=:
14078 +             fi
14079 +             rmdir "$tmpdir/d" "$tmpdir"
14080 +           else
14081 +             # Remove any dirs left behind by ancient mkdir implementations.
14082 +             rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
14083 +           fi
14084 +           trap '' 0;;
14085 +       esac;;
14086 +    esac
14087 +
14088 +    if
14089 +      $posix_mkdir && (
14090 +       umask $mkdir_umask &&
14091 +       $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
14092 +      )
14093 +    then :
14094 +    else
14095 +
14096 +      # The umask is ridiculous, or mkdir does not conform to POSIX,
14097 +      # or it failed possibly due to a race condition.  Create the
14098 +      # directory the slow way, step by step, checking for races as we go.
14099 +
14100 +      case $dstdir in
14101 +       /*) prefix=/ ;;
14102 +       -*) prefix=./ ;;
14103 +       *)  prefix= ;;
14104 +      esac
14105 +
14106 +      case $posix_glob in
14107 +        '')
14108 +         if (set -f) 2>/dev/null; then
14109 +           posix_glob=true
14110 +         else
14111 +           posix_glob=false
14112 +         fi ;;
14113 +      esac
14114 +
14115 +      oIFS=$IFS
14116 +      IFS=/
14117 +      $posix_glob && set -f
14118 +      set fnord $dstdir
14119 +      shift
14120 +      $posix_glob && set +f
14121 +      IFS=$oIFS
14122 +
14123 +      prefixes=
14124 +
14125 +      for d
14126 +      do
14127 +       test -z "$d" && continue
14128 +
14129 +       prefix=$prefix$d
14130 +       if test -d "$prefix"; then
14131 +         prefixes=
14132         else
14133 -               true
14134 +         if $posix_mkdir; then
14135 +           (umask=$mkdir_umask &&
14136 +            $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
14137 +           # Don't fail if two instances are running concurrently.
14138 +           test -d "$prefix" || exit 1
14139 +         else
14140 +           case $prefix in
14141 +             *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
14142 +             *) qprefix=$prefix;;
14143 +           esac
14144 +           prefixes="$prefixes '$qprefix'"
14145 +         fi
14146         fi
14147 +       prefix=$prefix/
14148 +      done
14149  
14150 -# Make a temp file name in the proper directory.
14151 -
14152 -       dsttmp=$dstdir/#inst.$$#
14153 -
14154 -# Move or copy the file name to the temp name
14155 -
14156 -       $doit $instcmd $src $dsttmp &&
14157 -
14158 -       trap "rm -f ${dsttmp}" 0 &&
14159 -
14160 -# and set any options; do chmod last to preserve setuid bits
14161 -
14162 -# If any of these fail, we abort the whole thing.  If we want to
14163 -# ignore errors from any of these, just make sure not to ignore
14164 -# errors from the above "$doit $instcmd $src $dsttmp" command.
14165 -
14166 -       if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
14167 -       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
14168 -       if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
14169 -       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
14170 -
14171 -# Now rename the file to the real destination.
14172 -
14173 -       $doit $rmcmd -f $dstdir/$dstfile &&
14174 -       $doit $mvcmd $dsttmp $dstdir/$dstfile 
14175 -
14176 -fi &&
14177 +      if test -n "$prefixes"; then
14178 +       # Don't fail if two instances are running concurrently.
14179 +       (umask $mkdir_umask &&
14180 +        eval "\$doit_exec \$mkdirprog $prefixes") ||
14181 +         test -d "$dstdir" || exit 1
14182 +       obsolete_mkdir_used=true
14183 +      fi
14184 +    fi
14185 +  fi
14186 +
14187 +  if test -n "$dir_arg"; then
14188 +    { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
14189 +    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
14190 +    { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
14191 +      test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
14192 +  else
14193 +
14194 +    # Make a couple of temp file names in the proper directory.
14195 +    dsttmp=$dstdir/_inst.$$_
14196 +    rmtmp=$dstdir/_rm.$$_
14197 +
14198 +    # Trap to clean up those temp files at exit.
14199 +    trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
14200 +
14201 +    # Copy the file name to the temp name.
14202 +    (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
14203 +
14204 +    # and set any options; do chmod last to preserve setuid bits.
14205 +    #
14206 +    # If any of these fail, we abort the whole thing.  If we want to
14207 +    # ignore errors from any of these, just make sure not to ignore
14208 +    # errors from the above "$doit $cpprog $src $dsttmp" command.
14209 +    #
14210 +    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
14211 +      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
14212 +      && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
14213 +      && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
14214 +
14215 +    # Now rename the file to the real destination.
14216 +    { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
14217 +      || {
14218 +          # The rename failed, perhaps because mv can't rename something else
14219 +          # to itself, or perhaps because mv is so ancient that it does not
14220 +          # support -f.
14221 +
14222 +          # Now remove or move aside any old file at destination location.
14223 +          # We try this two ways since rm can't unlink itself on some
14224 +          # systems and the destination file might be busy for other
14225 +          # reasons.  In this case, the final cleanup might fail but the new
14226 +          # file should still install successfully.
14227 +          {
14228 +            if test -f "$dst"; then
14229 +              $doit $rmcmd -f "$dst" 2>/dev/null \
14230 +              || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
14231 +                    && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
14232 +              || {
14233 +                echo "$0: cannot unlink or rename $dst" >&2
14234 +                (exit 1); exit 1
14235 +              }
14236 +            else
14237 +              :
14238 +            fi
14239 +          } &&
14240 +
14241 +          # Now rename the file to the real destination.
14242 +          $doit $mvcmd "$dsttmp" "$dst"
14243 +        }
14244 +    } || exit 1
14245  
14246 +    trap '' 0
14247 +  fi
14248 +done
14249  
14250 -exit 0
14251 +# Local variables:
14252 +# eval: (add-hook 'write-file-hooks 'time-stamp)
14253 +# time-stamp-start: "scriptversion="
14254 +# time-stamp-format: "%:y-%02m-%02d.%02H"
14255 +# time-stamp-end: "$"
14256 +# End:
14257 Index: ez-ipupdate-3.0.11b8/missing
14258 ===================================================================
14259 --- ez-ipupdate-3.0.11b8.orig/missing   2000-08-08 09:09:48.000000000 +0200
14260 +++ ez-ipupdate-3.0.11b8/missing        2007-03-08 16:34:52.000000000 +0100
14261 @@ -1 +1,367 @@
14262 -#autoconf complains if this is not here
14263 +#! /bin/sh
14264 +# Common stub for a few missing GNU programs while installing.
14265 +
14266 +scriptversion=2006-05-10.23
14267 +
14268 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
14269 +#   Free Software Foundation, Inc.
14270 +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
14271 +
14272 +# This program is free software; you can redistribute it and/or modify
14273 +# it under the terms of the GNU General Public License as published by
14274 +# the Free Software Foundation; either version 2, or (at your option)
14275 +# any later version.
14276 +
14277 +# This program is distributed in the hope that it will be useful,
14278 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
14279 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14280 +# GNU General Public License for more details.
14281 +
14282 +# You should have received a copy of the GNU General Public License
14283 +# along with this program; if not, write to the Free Software
14284 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
14285 +# 02110-1301, USA.
14286 +
14287 +# As a special exception to the GNU General Public License, if you
14288 +# distribute this file as part of a program that contains a
14289 +# configuration script generated by Autoconf, you may include it under
14290 +# the same distribution terms that you use for the rest of that program.
14291 +
14292 +if test $# -eq 0; then
14293 +  echo 1>&2 "Try \`$0 --help' for more information"
14294 +  exit 1
14295 +fi
14296 +
14297 +run=:
14298 +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
14299 +sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
14300 +
14301 +# In the cases where this matters, `missing' is being run in the
14302 +# srcdir already.
14303 +if test -f configure.ac; then
14304 +  configure_ac=configure.ac
14305 +else
14306 +  configure_ac=configure.in
14307 +fi
14308 +
14309 +msg="missing on your system"
14310 +
14311 +case $1 in
14312 +--run)
14313 +  # Try to run requested program, and just exit if it succeeds.
14314 +  run=
14315 +  shift
14316 +  "$@" && exit 0
14317 +  # Exit code 63 means version mismatch.  This often happens
14318 +  # when the user try to use an ancient version of a tool on
14319 +  # a file that requires a minimum version.  In this case we
14320 +  # we should proceed has if the program had been absent, or
14321 +  # if --run hadn't been passed.
14322 +  if test $? = 63; then
14323 +    run=:
14324 +    msg="probably too old"
14325 +  fi
14326 +  ;;
14327 +
14328 +  -h|--h|--he|--hel|--help)
14329 +    echo "\
14330 +$0 [OPTION]... PROGRAM [ARGUMENT]...
14331 +
14332 +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
14333 +error status if there is no known handling for PROGRAM.
14334 +
14335 +Options:
14336 +  -h, --help      display this help and exit
14337 +  -v, --version   output version information and exit
14338 +  --run           try to run the given command, and emulate it if it fails
14339 +
14340 +Supported PROGRAM values:
14341 +  aclocal      touch file \`aclocal.m4'
14342 +  autoconf     touch file \`configure'
14343 +  autoheader   touch file \`config.h.in'
14344 +  autom4te     touch the output file, or create a stub one
14345 +  automake     touch all \`Makefile.in' files
14346 +  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
14347 +  flex         create \`lex.yy.c', if possible, from existing .c
14348 +  help2man     touch the output file
14349 +  lex          create \`lex.yy.c', if possible, from existing .c
14350 +  makeinfo     touch the output file
14351 +  tar          try tar, gnutar, gtar, then tar without non-portable flags
14352 +  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
14353 +
14354 +Send bug reports to <bug-automake@gnu.org>."
14355 +    exit $?
14356 +    ;;
14357 +
14358 +  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
14359 +    echo "missing $scriptversion (GNU Automake)"
14360 +    exit $?
14361 +    ;;
14362 +
14363 +  -*)
14364 +    echo 1>&2 "$0: Unknown \`$1' option"
14365 +    echo 1>&2 "Try \`$0 --help' for more information"
14366 +    exit 1
14367 +    ;;
14368 +
14369 +esac
14370 +
14371 +# Now exit if we have it, but it failed.  Also exit now if we
14372 +# don't have it and --version was passed (most likely to detect
14373 +# the program).
14374 +case $1 in
14375 +  lex|yacc)
14376 +    # Not GNU programs, they don't have --version.
14377 +    ;;
14378 +
14379 +  tar)
14380 +    if test -n "$run"; then
14381 +       echo 1>&2 "ERROR: \`tar' requires --run"
14382 +       exit 1
14383 +    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
14384 +       exit 1
14385 +    fi
14386 +    ;;
14387 +
14388 +  *)
14389 +    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
14390 +       # We have it, but it failed.
14391 +       exit 1
14392 +    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
14393 +       # Could not run --version or --help.  This is probably someone
14394 +       # running `$TOOL --version' or `$TOOL --help' to check whether
14395 +       # $TOOL exists and not knowing $TOOL uses missing.
14396 +       exit 1
14397 +    fi
14398 +    ;;
14399 +esac
14400 +
14401 +# If it does not exist, or fails to run (possibly an outdated version),
14402 +# try to emulate it.
14403 +case $1 in
14404 +  aclocal*)
14405 +    echo 1>&2 "\
14406 +WARNING: \`$1' is $msg.  You should only need it if
14407 +         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
14408 +         to install the \`Automake' and \`Perl' packages.  Grab them from
14409 +         any GNU archive site."
14410 +    touch aclocal.m4
14411 +    ;;
14412 +
14413 +  autoconf)
14414 +    echo 1>&2 "\
14415 +WARNING: \`$1' is $msg.  You should only need it if
14416 +         you modified \`${configure_ac}'.  You might want to install the
14417 +         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
14418 +         archive site."
14419 +    touch configure
14420 +    ;;
14421 +
14422 +  autoheader)
14423 +    echo 1>&2 "\
14424 +WARNING: \`$1' is $msg.  You should only need it if
14425 +         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
14426 +         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
14427 +         from any GNU archive site."
14428 +    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
14429 +    test -z "$files" && files="config.h"
14430 +    touch_files=
14431 +    for f in $files; do
14432 +      case $f in
14433 +      *:*) touch_files="$touch_files "`echo "$f" |
14434 +                                      sed -e 's/^[^:]*://' -e 's/:.*//'`;;
14435 +      *) touch_files="$touch_files $f.in";;
14436 +      esac
14437 +    done
14438 +    touch $touch_files
14439 +    ;;
14440 +
14441 +  automake*)
14442 +    echo 1>&2 "\
14443 +WARNING: \`$1' is $msg.  You should only need it if
14444 +         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
14445 +         You might want to install the \`Automake' and \`Perl' packages.
14446 +         Grab them from any GNU archive site."
14447 +    find . -type f -name Makefile.am -print |
14448 +          sed 's/\.am$/.in/' |
14449 +          while read f; do touch "$f"; done
14450 +    ;;
14451 +
14452 +  autom4te)
14453 +    echo 1>&2 "\
14454 +WARNING: \`$1' is needed, but is $msg.
14455 +         You might have modified some files without having the
14456 +         proper tools for further handling them.
14457 +         You can get \`$1' as part of \`Autoconf' from any GNU
14458 +         archive site."
14459 +
14460 +    file=`echo "$*" | sed -n "$sed_output"`
14461 +    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
14462 +    if test -f "$file"; then
14463 +       touch $file
14464 +    else
14465 +       test -z "$file" || exec >$file
14466 +       echo "#! /bin/sh"
14467 +       echo "# Created by GNU Automake missing as a replacement of"
14468 +       echo "#  $ $@"
14469 +       echo "exit 0"
14470 +       chmod +x $file
14471 +       exit 1
14472 +    fi
14473 +    ;;
14474 +
14475 +  bison|yacc)
14476 +    echo 1>&2 "\
14477 +WARNING: \`$1' $msg.  You should only need it if
14478 +         you modified a \`.y' file.  You may need the \`Bison' package
14479 +         in order for those modifications to take effect.  You can get
14480 +         \`Bison' from any GNU archive site."
14481 +    rm -f y.tab.c y.tab.h
14482 +    if test $# -ne 1; then
14483 +        eval LASTARG="\${$#}"
14484 +       case $LASTARG in
14485 +       *.y)
14486 +           SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
14487 +           if test -f "$SRCFILE"; then
14488 +                cp "$SRCFILE" y.tab.c
14489 +           fi
14490 +           SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
14491 +           if test -f "$SRCFILE"; then
14492 +                cp "$SRCFILE" y.tab.h
14493 +           fi
14494 +         ;;
14495 +       esac
14496 +    fi
14497 +    if test ! -f y.tab.h; then
14498 +       echo >y.tab.h
14499 +    fi
14500 +    if test ! -f y.tab.c; then
14501 +       echo 'main() { return 0; }' >y.tab.c
14502 +    fi
14503 +    ;;
14504 +
14505 +  lex|flex)
14506 +    echo 1>&2 "\
14507 +WARNING: \`$1' is $msg.  You should only need it if
14508 +         you modified a \`.l' file.  You may need the \`Flex' package
14509 +         in order for those modifications to take effect.  You can get
14510 +         \`Flex' from any GNU archive site."
14511 +    rm -f lex.yy.c
14512 +    if test $# -ne 1; then
14513 +        eval LASTARG="\${$#}"
14514 +       case $LASTARG in
14515 +       *.l)
14516 +           SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
14517 +           if test -f "$SRCFILE"; then
14518 +                cp "$SRCFILE" lex.yy.c
14519 +           fi
14520 +         ;;
14521 +       esac
14522 +    fi
14523 +    if test ! -f lex.yy.c; then
14524 +       echo 'main() { return 0; }' >lex.yy.c
14525 +    fi
14526 +    ;;
14527 +
14528 +  help2man)
14529 +    echo 1>&2 "\
14530 +WARNING: \`$1' is $msg.  You should only need it if
14531 +        you modified a dependency of a manual page.  You may need the
14532 +        \`Help2man' package in order for those modifications to take
14533 +        effect.  You can get \`Help2man' from any GNU archive site."
14534 +
14535 +    file=`echo "$*" | sed -n "$sed_output"`
14536 +    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
14537 +    if test -f "$file"; then
14538 +       touch $file
14539 +    else
14540 +       test -z "$file" || exec >$file
14541 +       echo ".ab help2man is required to generate this page"
14542 +       exit 1
14543 +    fi
14544 +    ;;
14545 +
14546 +  makeinfo)
14547 +    echo 1>&2 "\
14548 +WARNING: \`$1' is $msg.  You should only need it if
14549 +         you modified a \`.texi' or \`.texinfo' file, or any other file
14550 +         indirectly affecting the aspect of the manual.  The spurious
14551 +         call might also be the consequence of using a buggy \`make' (AIX,
14552 +         DU, IRIX).  You might want to install the \`Texinfo' package or
14553 +         the \`GNU make' package.  Grab either from any GNU archive site."
14554 +    # The file to touch is that specified with -o ...
14555 +    file=`echo "$*" | sed -n "$sed_output"`
14556 +    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
14557 +    if test -z "$file"; then
14558 +      # ... or it is the one specified with @setfilename ...
14559 +      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
14560 +      file=`sed -n '
14561 +       /^@setfilename/{
14562 +         s/.* \([^ ]*\) *$/\1/
14563 +         p
14564 +         q
14565 +       }' $infile`
14566 +      # ... or it is derived from the source name (dir/f.texi becomes f.info)
14567 +      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
14568 +    fi
14569 +    # If the file does not exist, the user really needs makeinfo;
14570 +    # let's fail without touching anything.
14571 +    test -f $file || exit 1
14572 +    touch $file
14573 +    ;;
14574 +
14575 +  tar)
14576 +    shift
14577 +
14578 +    # We have already tried tar in the generic part.
14579 +    # Look for gnutar/gtar before invocation to avoid ugly error
14580 +    # messages.
14581 +    if (gnutar --version > /dev/null 2>&1); then
14582 +       gnutar "$@" && exit 0
14583 +    fi
14584 +    if (gtar --version > /dev/null 2>&1); then
14585 +       gtar "$@" && exit 0
14586 +    fi
14587 +    firstarg="$1"
14588 +    if shift; then
14589 +       case $firstarg in
14590 +       *o*)
14591 +           firstarg=`echo "$firstarg" | sed s/o//`
14592 +           tar "$firstarg" "$@" && exit 0
14593 +           ;;
14594 +       esac
14595 +       case $firstarg in
14596 +       *h*)
14597 +           firstarg=`echo "$firstarg" | sed s/h//`
14598 +           tar "$firstarg" "$@" && exit 0
14599 +           ;;
14600 +       esac
14601 +    fi
14602 +
14603 +    echo 1>&2 "\
14604 +WARNING: I can't seem to be able to run \`tar' with the given arguments.
14605 +         You may want to install GNU tar or Free paxutils, or check the
14606 +         command line arguments."
14607 +    exit 1
14608 +    ;;
14609 +
14610 +  *)
14611 +    echo 1>&2 "\
14612 +WARNING: \`$1' is needed, and is $msg.
14613 +         You might have modified some files without having the
14614 +         proper tools for further handling them.  Check the \`README' file,
14615 +         it often tells you about the needed prerequisites for installing
14616 +         this package.  You may also peek at any GNU archive site, in case
14617 +         some other package would contain this missing \`$1' program."
14618 +    exit 1
14619 +    ;;
14620 +esac
14621 +
14622 +exit 0
14623 +
14624 +# Local variables:
14625 +# eval: (add-hook 'write-file-hooks 'time-stamp)
14626 +# time-stamp-start: "scriptversion="
14627 +# time-stamp-format: "%:y-%02m-%02d.%02H"
14628 +# time-stamp-end: "$"
14629 +# End:
14630 Index: ez-ipupdate-3.0.11b8/mkinstalldirs
14631 ===================================================================
14632 --- ez-ipupdate-3.0.11b8.orig/mkinstalldirs     2000-08-08 09:09:48.000000000 +0200
14633 +++ /dev/null   1970-01-01 00:00:00.000000000 +0000
14634 @@ -1,40 +0,0 @@
14635 -#! /bin/sh
14636 -# mkinstalldirs --- make directory hierarchy
14637 -# Author: Noah Friedman <friedman@prep.ai.mit.edu>
14638 -# Created: 1993-05-16
14639 -# Public domain
14640 -
14641 -# $Id: mkinstalldirs,v 1.1.1.1 1999/04/19 00:34:59 amackay Exp $
14642 -
14643 -errstatus=0
14644 -
14645 -for file
14646 -do
14647 -   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
14648 -   shift
14649 -
14650 -   pathcomp=
14651 -   for d
14652 -   do
14653 -     pathcomp="$pathcomp$d"
14654 -     case "$pathcomp" in
14655 -       -* ) pathcomp=./$pathcomp ;;
14656 -     esac
14657 -
14658 -     if test ! -d "$pathcomp"; then
14659 -        echo "mkdir $pathcomp" 1>&2
14660 -
14661 -        mkdir "$pathcomp" || lasterr=$?
14662 -
14663 -        if test ! -d "$pathcomp"; then
14664 -         errstatus=$lasterr
14665 -        fi
14666 -     fi
14667 -
14668 -     pathcomp="$pathcomp/"
14669 -   done
14670 -done
14671 -
14672 -exit $errstatus
14673 -
14674 -# mkinstalldirs ends here
14675 Index: ez-ipupdate-3.0.11b8/depcomp
14676 ===================================================================
14677 --- /dev/null   1970-01-01 00:00:00.000000000 +0000
14678 +++ ez-ipupdate-3.0.11b8/depcomp        2007-03-08 16:34:52.000000000 +0100
14679 @@ -0,0 +1,584 @@
14680 +#! /bin/sh
14681 +# depcomp - compile a program generating dependencies as side-effects
14682 +
14683 +scriptversion=2006-10-15.18
14684 +
14685 +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
14686 +# Foundation, Inc.
14687 +
14688 +# This program is free software; you can redistribute it and/or modify
14689 +# it under the terms of the GNU General Public License as published by
14690 +# the Free Software Foundation; either version 2, or (at your option)
14691 +# any later version.
14692 +
14693 +# This program is distributed in the hope that it will be useful,
14694 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
14695 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14696 +# GNU General Public License for more details.
14697 +
14698 +# You should have received a copy of the GNU General Public License
14699 +# along with this program; if not, write to the Free Software
14700 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
14701 +# 02110-1301, USA.
14702 +
14703 +# As a special exception to the GNU General Public License, if you
14704 +# distribute this file as part of a program that contains a
14705 +# configuration script generated by Autoconf, you may include it under
14706 +# the same distribution terms that you use for the rest of that program.
14707 +
14708 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
14709 +
14710 +case $1 in
14711 +  '')
14712 +     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
14713 +     exit 1;
14714 +     ;;
14715 +  -h | --h*)
14716 +    cat <<\EOF
14717 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
14718 +
14719 +Run PROGRAMS ARGS to compile a file, generating dependencies
14720 +as side-effects.
14721 +
14722 +Environment variables:
14723 +  depmode     Dependency tracking mode.
14724 +  source      Source file read by `PROGRAMS ARGS'.
14725 +  object      Object file output by `PROGRAMS ARGS'.
14726 +  DEPDIR      directory where to store dependencies.
14727 +  depfile     Dependency file to output.
14728 +  tmpdepfile  Temporary file to use when outputing dependencies.
14729 +  libtool     Whether libtool is used (yes/no).
14730 +
14731 +Report bugs to <bug-automake@gnu.org>.
14732 +EOF
14733 +    exit $?
14734 +    ;;
14735 +  -v | --v*)
14736 +    echo "depcomp $scriptversion"
14737 +    exit $?
14738 +    ;;
14739 +esac
14740 +
14741 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
14742 +  echo "depcomp: Variables source, object and depmode must be set" 1>&2
14743 +  exit 1
14744 +fi
14745 +
14746 +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
14747 +depfile=${depfile-`echo "$object" |
14748 +  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
14749 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
14750 +
14751 +rm -f "$tmpdepfile"
14752 +
14753 +# Some modes work just like other modes, but use different flags.  We
14754 +# parameterize here, but still list the modes in the big case below,
14755 +# to make depend.m4 easier to write.  Note that we *cannot* use a case
14756 +# here, because this file can only contain one case statement.
14757 +if test "$depmode" = hp; then
14758 +  # HP compiler uses -M and no extra arg.
14759 +  gccflag=-M
14760 +  depmode=gcc
14761 +fi
14762 +
14763 +if test "$depmode" = dashXmstdout; then
14764 +   # This is just like dashmstdout with a different argument.
14765 +   dashmflag=-xM
14766 +   depmode=dashmstdout
14767 +fi
14768 +
14769 +case "$depmode" in
14770 +gcc3)
14771 +## gcc 3 implements dependency tracking that does exactly what
14772 +## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
14773 +## it if -MD -MP comes after the -MF stuff.  Hmm.
14774 +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
14775 +## the command line argument order; so add the flags where they
14776 +## appear in depend2.am.  Note that the slowdown incurred here
14777 +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
14778 +  for arg
14779 +  do
14780 +    case $arg in
14781 +    -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
14782 +    *)  set fnord "$@" "$arg" ;;
14783 +    esac
14784 +    shift # fnord
14785 +    shift # $arg
14786 +  done
14787 +  "$@"
14788 +  stat=$?
14789 +  if test $stat -eq 0; then :
14790 +  else
14791 +    rm -f "$tmpdepfile"
14792 +    exit $stat
14793 +  fi
14794 +  mv "$tmpdepfile" "$depfile"
14795 +  ;;
14796 +
14797 +gcc)
14798 +## There are various ways to get dependency output from gcc.  Here's
14799 +## why we pick this rather obscure method:
14800 +## - Don't want to use -MD because we'd like the dependencies to end
14801 +##   up in a subdir.  Having to rename by hand is ugly.
14802 +##   (We might end up doing this anyway to support other compilers.)
14803 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
14804 +##   -MM, not -M (despite what the docs say).
14805 +## - Using -M directly means running the compiler twice (even worse
14806 +##   than renaming).
14807 +  if test -z "$gccflag"; then
14808 +    gccflag=-MD,
14809 +  fi
14810 +  "$@" -Wp,"$gccflag$tmpdepfile"
14811 +  stat=$?
14812 +  if test $stat -eq 0; then :
14813 +  else
14814 +    rm -f "$tmpdepfile"
14815 +    exit $stat
14816 +  fi
14817 +  rm -f "$depfile"
14818 +  echo "$object : \\" > "$depfile"
14819 +  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
14820 +## The second -e expression handles DOS-style file names with drive letters.
14821 +  sed -e 's/^[^:]*: / /' \
14822 +      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
14823 +## This next piece of magic avoids the `deleted header file' problem.
14824 +## The problem is that when a header file which appears in a .P file
14825 +## is deleted, the dependency causes make to die (because there is
14826 +## typically no way to rebuild the header).  We avoid this by adding
14827 +## dummy dependencies for each header file.  Too bad gcc doesn't do
14828 +## this for us directly.
14829 +  tr ' ' '
14830 +' < "$tmpdepfile" |
14831 +## Some versions of gcc put a space before the `:'.  On the theory
14832 +## that the space means something, we add a space to the output as
14833 +## well.
14834 +## Some versions of the HPUX 10.20 sed can't process this invocation
14835 +## correctly.  Breaking it into two sed invocations is a workaround.
14836 +    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
14837 +  rm -f "$tmpdepfile"
14838 +  ;;
14839 +
14840 +hp)
14841 +  # This case exists only to let depend.m4 do its work.  It works by
14842 +  # looking at the text of this script.  This case will never be run,
14843 +  # since it is checked for above.
14844 +  exit 1
14845 +  ;;
14846 +
14847 +sgi)
14848 +  if test "$libtool" = yes; then
14849 +    "$@" "-Wp,-MDupdate,$tmpdepfile"
14850 +  else
14851 +    "$@" -MDupdate "$tmpdepfile"
14852 +  fi
14853 +  stat=$?
14854 +  if test $stat -eq 0; then :
14855 +  else
14856 +    rm -f "$tmpdepfile"
14857 +    exit $stat
14858 +  fi
14859 +  rm -f "$depfile"
14860 +
14861 +  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
14862 +    echo "$object : \\" > "$depfile"
14863 +
14864 +    # Clip off the initial element (the dependent).  Don't try to be
14865 +    # clever and replace this with sed code, as IRIX sed won't handle
14866 +    # lines with more than a fixed number of characters (4096 in
14867 +    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
14868 +    # the IRIX cc adds comments like `#:fec' to the end of the
14869 +    # dependency line.
14870 +    tr ' ' '
14871 +' < "$tmpdepfile" \
14872 +    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
14873 +    tr '
14874 +' ' ' >> $depfile
14875 +    echo >> $depfile
14876 +
14877 +    # The second pass generates a dummy entry for each header file.
14878 +    tr ' ' '
14879 +' < "$tmpdepfile" \
14880 +   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
14881 +   >> $depfile
14882 +  else
14883 +    # The sourcefile does not contain any dependencies, so just
14884 +    # store a dummy comment line, to avoid errors with the Makefile
14885 +    # "include basename.Plo" scheme.
14886 +    echo "#dummy" > "$depfile"
14887 +  fi
14888 +  rm -f "$tmpdepfile"
14889 +  ;;
14890 +
14891 +aix)
14892 +  # The C for AIX Compiler uses -M and outputs the dependencies
14893 +  # in a .u file.  In older versions, this file always lives in the
14894 +  # current directory.  Also, the AIX compiler puts `$object:' at the
14895 +  # start of each line; $object doesn't have directory information.
14896 +  # Version 6 uses the directory in both cases.
14897 +  stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
14898 +  tmpdepfile="$stripped.u"
14899 +  if test "$libtool" = yes; then
14900 +    "$@" -Wc,-M
14901 +  else
14902 +    "$@" -M
14903 +  fi
14904 +  stat=$?
14905 +
14906 +  if test -f "$tmpdepfile"; then :
14907 +  else
14908 +    stripped=`echo "$stripped" | sed 's,^.*/,,'`
14909 +    tmpdepfile="$stripped.u"
14910 +  fi
14911 +
14912 +  if test $stat -eq 0; then :
14913 +  else
14914 +    rm -f "$tmpdepfile"
14915 +    exit $stat
14916 +  fi
14917 +
14918 +  if test -f "$tmpdepfile"; then
14919 +    outname="$stripped.o"
14920 +    # Each line is of the form `foo.o: dependent.h'.
14921 +    # Do two passes, one to just change these to
14922 +    # `$object: dependent.h' and one to simply `dependent.h:'.
14923 +    sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
14924 +    sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
14925 +  else
14926 +    # The sourcefile does not contain any dependencies, so just
14927 +    # store a dummy comment line, to avoid errors with the Makefile
14928 +    # "include basename.Plo" scheme.
14929 +    echo "#dummy" > "$depfile"
14930 +  fi
14931 +  rm -f "$tmpdepfile"
14932 +  ;;
14933 +
14934 +icc)
14935 +  # Intel's C compiler understands `-MD -MF file'.  However on
14936 +  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
14937 +  # ICC 7.0 will fill foo.d with something like
14938 +  #    foo.o: sub/foo.c
14939 +  #    foo.o: sub/foo.h
14940 +  # which is wrong.  We want:
14941 +  #    sub/foo.o: sub/foo.c
14942 +  #    sub/foo.o: sub/foo.h
14943 +  #    sub/foo.c:
14944 +  #    sub/foo.h:
14945 +  # ICC 7.1 will output
14946 +  #    foo.o: sub/foo.c sub/foo.h
14947 +  # and will wrap long lines using \ :
14948 +  #    foo.o: sub/foo.c ... \
14949 +  #     sub/foo.h ... \
14950 +  #     ...
14951 +
14952 +  "$@" -MD -MF "$tmpdepfile"
14953 +  stat=$?
14954 +  if test $stat -eq 0; then :
14955 +  else
14956 +    rm -f "$tmpdepfile"
14957 +    exit $stat
14958 +  fi
14959 +  rm -f "$depfile"
14960 +  # Each line is of the form `foo.o: dependent.h',
14961 +  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
14962 +  # Do two passes, one to just change these to
14963 +  # `$object: dependent.h' and one to simply `dependent.h:'.
14964 +  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
14965 +  # Some versions of the HPUX 10.20 sed can't process this invocation
14966 +  # correctly.  Breaking it into two sed invocations is a workaround.
14967 +  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
14968 +    sed -e 's/$/ :/' >> "$depfile"
14969 +  rm -f "$tmpdepfile"
14970 +  ;;
14971 +
14972 +hp2)
14973 +  # The "hp" stanza above does not work with aCC (C++) and HP's ia64
14974 +  # compilers, which have integrated preprocessors.  The correct option
14975 +  # to use with these is +Maked; it writes dependencies to a file named
14976 +  # 'foo.d', which lands next to the object file, wherever that
14977 +  # happens to be.
14978 +  # Much of this is similar to the tru64 case; see comments there.
14979 +  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
14980 +  test "x$dir" = "x$object" && dir=
14981 +  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
14982 +  if test "$libtool" = yes; then
14983 +    tmpdepfile1=$dir$base.d
14984 +    tmpdepfile2=$dir.libs/$base.d
14985 +    "$@" -Wc,+Maked
14986 +  else
14987 +    tmpdepfile1=$dir$base.d
14988 +    tmpdepfile2=$dir$base.d
14989 +    "$@" +Maked
14990 +  fi
14991 +  stat=$?
14992 +  if test $stat -eq 0; then :
14993 +  else
14994 +     rm -f "$tmpdepfile1" "$tmpdepfile2"
14995 +     exit $stat
14996 +  fi
14997 +
14998 +  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
14999 +  do
15000 +    test -f "$tmpdepfile" && break
15001 +  done
15002 +  if test -f "$tmpdepfile"; then
15003 +    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
15004 +    # Add `dependent.h:' lines.
15005 +    sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
15006 +  else
15007 +    echo "#dummy" > "$depfile"
15008 +  fi
15009 +  rm -f "$tmpdepfile" "$tmpdepfile2"
15010 +  ;;
15011 +
15012 +tru64)
15013 +   # The Tru64 compiler uses -MD to generate dependencies as a side
15014 +   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
15015 +   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
15016 +   # dependencies in `foo.d' instead, so we check for that too.
15017 +   # Subdirectories are respected.
15018 +   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
15019 +   test "x$dir" = "x$object" && dir=
15020 +   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
15021 +
15022 +   if test "$libtool" = yes; then
15023 +      # With Tru64 cc, shared objects can also be used to make a
15024 +      # static library.  This mechanism is used in libtool 1.4 series to
15025 +      # handle both shared and static libraries in a single compilation.
15026 +      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
15027 +      #
15028 +      # With libtool 1.5 this exception was removed, and libtool now
15029 +      # generates 2 separate objects for the 2 libraries.  These two
15030 +      # compilations output dependencies in $dir.libs/$base.o.d and
15031 +      # in $dir$base.o.d.  We have to check for both files, because
15032 +      # one of the two compilations can be disabled.  We should prefer
15033 +      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
15034 +      # automatically cleaned when .libs/ is deleted, while ignoring
15035 +      # the former would cause a distcleancheck panic.
15036 +      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
15037 +      tmpdepfile2=$dir$base.o.d          # libtool 1.5
15038 +      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
15039 +      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
15040 +      "$@" -Wc,-MD
15041 +   else
15042 +      tmpdepfile1=$dir$base.o.d
15043 +      tmpdepfile2=$dir$base.d
15044 +      tmpdepfile3=$dir$base.d
15045 +      tmpdepfile4=$dir$base.d
15046 +      "$@" -MD
15047 +   fi
15048 +
15049 +   stat=$?
15050 +   if test $stat -eq 0; then :
15051 +   else
15052 +      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
15053 +      exit $stat
15054 +   fi
15055 +
15056 +   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
15057 +   do
15058 +     test -f "$tmpdepfile" && break
15059 +   done
15060 +   if test -f "$tmpdepfile"; then
15061 +      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
15062 +      # That's a tab and a space in the [].
15063 +      sed -e 's,^.*\.[a-z]*:[   ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
15064 +   else
15065 +      echo "#dummy" > "$depfile"
15066 +   fi
15067 +   rm -f "$tmpdepfile"
15068 +   ;;
15069 +
15070 +#nosideeffect)
15071 +  # This comment above is used by automake to tell side-effect
15072 +  # dependency tracking mechanisms from slower ones.
15073 +
15074 +dashmstdout)
15075 +  # Important note: in order to support this mode, a compiler *must*
15076 +  # always write the preprocessed file to stdout, regardless of -o.
15077 +  "$@" || exit $?
15078 +
15079 +  # Remove the call to Libtool.
15080 +  if test "$libtool" = yes; then
15081 +    while test $1 != '--mode=compile'; do
15082 +      shift
15083 +    done
15084 +    shift
15085 +  fi
15086 +
15087 +  # Remove `-o $object'.
15088 +  IFS=" "
15089 +  for arg
15090 +  do
15091 +    case $arg in
15092 +    -o)
15093 +      shift
15094 +      ;;
15095 +    $object)
15096 +      shift
15097 +      ;;
15098 +    *)
15099 +      set fnord "$@" "$arg"
15100 +      shift # fnord
15101 +      shift # $arg
15102 +      ;;
15103 +    esac
15104 +  done
15105 +
15106 +  test -z "$dashmflag" && dashmflag=-M
15107 +  # Require at least two characters before searching for `:'
15108 +  # in the target name.  This is to cope with DOS-style filenames:
15109 +  # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
15110 +  "$@" $dashmflag |
15111 +    sed 's:^[  ]*[^: ][^:][^:]*\:[    ]*:'"$object"'\: :' > "$tmpdepfile"
15112 +  rm -f "$depfile"
15113 +  cat < "$tmpdepfile" > "$depfile"
15114 +  tr ' ' '
15115 +' < "$tmpdepfile" | \
15116 +## Some versions of the HPUX 10.20 sed can't process this invocation
15117 +## correctly.  Breaking it into two sed invocations is a workaround.
15118 +    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
15119 +  rm -f "$tmpdepfile"
15120 +  ;;
15121 +
15122 +dashXmstdout)
15123 +  # This case only exists to satisfy depend.m4.  It is never actually
15124 +  # run, as this mode is specially recognized in the preamble.
15125 +  exit 1
15126 +  ;;
15127 +
15128 +makedepend)
15129 +  "$@" || exit $?
15130 +  # Remove any Libtool call
15131 +  if test "$libtool" = yes; then
15132 +    while test $1 != '--mode=compile'; do
15133 +      shift
15134 +    done
15135 +    shift
15136 +  fi
15137 +  # X makedepend
15138 +  shift
15139 +  cleared=no
15140 +  for arg in "$@"; do
15141 +    case $cleared in
15142 +    no)
15143 +      set ""; shift
15144 +      cleared=yes ;;
15145 +    esac
15146 +    case "$arg" in
15147 +    -D*|-I*)
15148 +      set fnord "$@" "$arg"; shift ;;
15149 +    # Strip any option that makedepend may not understand.  Remove
15150 +    # the object too, otherwise makedepend will parse it as a source file.
15151 +    -*|$object)
15152 +      ;;
15153 +    *)
15154 +      set fnord "$@" "$arg"; shift ;;
15155 +    esac
15156 +  done
15157 +  obj_suffix="`echo $object | sed 's/^.*\././'`"
15158 +  touch "$tmpdepfile"
15159 +  ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
15160 +  rm -f "$depfile"
15161 +  cat < "$tmpdepfile" > "$depfile"
15162 +  sed '1,2d' "$tmpdepfile" | tr ' ' '
15163 +' | \
15164 +## Some versions of the HPUX 10.20 sed can't process this invocation
15165 +## correctly.  Breaking it into two sed invocations is a workaround.
15166 +    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
15167 +  rm -f "$tmpdepfile" "$tmpdepfile".bak
15168 +  ;;
15169 +
15170 +cpp)
15171 +  # Important note: in order to support this mode, a compiler *must*
15172 +  # always write the preprocessed file to stdout.
15173 +  "$@" || exit $?
15174 +
15175 +  # Remove the call to Libtool.
15176 +  if test "$libtool" = yes; then
15177 +    while test $1 != '--mode=compile'; do
15178 +      shift
15179 +    done
15180 +    shift
15181 +  fi
15182 +
15183 +  # Remove `-o $object'.
15184 +  IFS=" "
15185 +  for arg
15186 +  do
15187 +    case $arg in
15188 +    -o)
15189 +      shift
15190 +      ;;
15191 +    $object)
15192 +      shift
15193 +      ;;
15194 +    *)
15195 +      set fnord "$@" "$arg"
15196 +      shift # fnord
15197 +      shift # $arg
15198 +      ;;
15199 +    esac
15200 +  done
15201 +
15202 +  "$@" -E |
15203 +    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
15204 +       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
15205 +    sed '$ s: \\$::' > "$tmpdepfile"
15206 +  rm -f "$depfile"
15207 +  echo "$object : \\" > "$depfile"
15208 +  cat < "$tmpdepfile" >> "$depfile"
15209 +  sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
15210 +  rm -f "$tmpdepfile"
15211 +  ;;
15212 +
15213 +msvisualcpp)
15214 +  # Important note: in order to support this mode, a compiler *must*
15215 +  # always write the preprocessed file to stdout, regardless of -o,
15216 +  # because we must use -o when running libtool.
15217 +  "$@" || exit $?
15218 +  IFS=" "
15219 +  for arg
15220 +  do
15221 +    case "$arg" in
15222 +    "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
15223 +       set fnord "$@"
15224 +       shift
15225 +       shift
15226 +       ;;
15227 +    *)
15228 +       set fnord "$@" "$arg"
15229 +       shift
15230 +       shift
15231 +       ;;
15232 +    esac
15233 +  done
15234 +  "$@" -E |
15235 +  sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
15236 +  rm -f "$depfile"
15237 +  echo "$object : \\" > "$depfile"
15238 +  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::   \1 \\:p' >> "$depfile"
15239 +  echo "       " >> "$depfile"
15240 +  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
15241 +  rm -f "$tmpdepfile"
15242 +  ;;
15243 +
15244 +none)
15245 +  exec "$@"
15246 +  ;;
15247 +
15248 +*)
15249 +  echo "Unknown depmode $depmode" 1>&2
15250 +  exit 1
15251 +  ;;
15252 +esac
15253 +
15254 +exit 0
15255 +
15256 +# Local Variables:
15257 +# mode: shell-script
15258 +# sh-indentation: 2
15259 +# eval: (add-hook 'write-file-hooks 'time-stamp)
15260 +# time-stamp-start: "scriptversion="
15261 +# time-stamp-format: "%:y-%02m-%02d.%02H"
15262 +# time-stamp-end: "$"
15263 +# End:
15264 --- ez-ipupdate-3.0.11b8.orig/ez-ipupdate.c
15265 +++ ez-ipupdate-3.0.11b8/ez-ipupdate.c
15266 @@ -139,6 +139,9 @@
15267  #if HAVE_SIGNAL_H
15268  #  include <signal.h>
15269  #endif
15270 +#if HAVE_TIME_H
15271 +#  include <time.h>
15272 +#endif
15273  #if HAVE_SYS_TIME_H
15274  #  include <sys/time.h>
15275  #endif
15276 @@ -165,7 +168,7 @@
15277  #endif
15278  
15279  
15280 -#if __linux__ || __SVR4 || __OpenBSD__ || __FreeBSD__ || __NetBSD__
15281 +#if __GLIBC__ || __SVR4 || __OpenBSD__ || __FreeBSD__ || __NetBSD__
15282  #  define IF_LOOKUP 1
15283  #  include <sys/ioctl.h>
15284  #  include <net/if.h>
15285 --- ez-ipupdate-3.0.11b8.orig/ez-ipupdate.c
15286 +++ ez-ipupdate-3.0.11b8/ez-ipupdate.c
15287 @@ -704,6 +707,10 @@
15288    }
15289  #endif
15290  
15291 +#if HAVE_SYSLOG_H
15292 +  closelog();
15293 +#endif
15294 +
15295    exit(1);
15296  }
15297  RETSIGTYPE generic_sig_handler(int sig)
15298 @@ -798,7 +805,7 @@
15299      sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt);
15300  #endif
15301  
15302 -    syslog(LOG_NOTICE, buf);
15303 +    syslog(LOG_NOTICE, "%s", buf);
15304    }
15305    else
15306    {
15307 @@ -4519,23 +4526,25 @@
15308        if(fork() > 0) { exit(0); } /* parent */
15309      }
15310  
15311 +#  if HAVE_SYSLOG_H
15312 +    openlog(program_name, LOG_PID, LOG_DAEMON );
15313 +    //options |= OPT_QUIET;
15314 +#  endif
15315 +    show_message("version %s, interface %s, host %s, server %s, service %s\n",
15316 +        VERSION, N_STR(interface), N_STR(host), server, service->title);
15317 +
15318  #if HAVE_GETPID
15319      if(pid_file && pid_file_create(pid_file) != 0)
15320      {
15321 -      fprintf(stderr, "exiting...\n");
15322 +      show_message("could not create pid file %s (%s), exiting\n",
15323 +                   pid_file, strerror(errno));
15324 +#if HAVE_SYSLOG_H
15325 +      closelog();
15326 +#endif
15327        exit(1);
15328      }
15329  #endif
15330  
15331 -#  if HAVE_SYSLOG_H
15332 -    openlog(program_name, LOG_PID, LOG_USER );
15333 -    options |= OPT_QUIET;
15334 -#  endif
15335 -    show_message("ez-ipupdate Version %s, Copyright (C) 1998-2001 Angus Mackay.\n", 
15336 -        VERSION);
15337 -    show_message("%s started for interface %s host %s using server %s and service %s\n",
15338 -        program_name, N_STR(interface), N_STR(host), server, service->title);
15339 -
15340      memset(&sin, 0, sizeof(sin));
15341  
15342      if(cache_file)
15343 --- ez-ipupdate-3.0.11b8.orig/ez-ipupdate.c
15344 +++ ez-ipupdate-3.0.11b8/ez-ipupdate.c
15345 @@ -3392,7 +3399,7 @@
15346  
15347    // send an offline request if address 0.0.0.0 is used
15348    // otherwise, we ignore the address and send an update request
15349 -  gnudip_request[0] = strcmp(address, "0.0.0.0") == 0 ? '1' : '0';
15350 +  gnudip_request[0] = address && strcmp(address, "0.0.0.0") == 0 ? '1' : '0';
15351    gnudip_request[1] = '\0';
15352  
15353    // find domainname
15354 @@ -4215,8 +4222,6 @@
15355  
15356    switch(ret)
15357    {
15358 -    char *p;
15359 -
15360      case -1:
15361        if(!(options & OPT_QUIET))
15362        {
15363 @@ -4456,13 +4463,13 @@
15364      dprintf((stderr, "user_name: %s\n", user_name));
15365      dprintf((stderr, "password: %s\n", password));
15366    }
15367 -  if(*user_name == '\0')
15368 +  if(*user_name == '\0' && !(options & OPT_DAEMON))
15369    {
15370      printf("user name: ");
15371      fgets(user_name, sizeof(user_name), stdin);
15372      chomp(user_name);
15373    }
15374 -  if(*password == '\0')
15375 +  if(*password == '\0' && !(options & OPT_DAEMON))
15376    {
15377      strncpy(password, getpass("password: "), sizeof(password));
15378    }
15379 @@ -4560,7 +4569,7 @@
15380            strftime(timebuf, sizeof(timebuf), "%Y/%m/%d %H:%M", ts);
15381            show_message("got last update %s on %s from cache file\n", ipstr, timebuf);
15382          }
15383 -        else
15384 +        else if(ipstr||ipdate)
15385          {
15386            show_message("malformed cache file: %s\n", cache_file);
15387          }
15388 @@ -4840,7 +4849,7 @@
15389        {
15390          char ipbuf[64];
15391  
15392 -        if(address == NULL || *address == '\0')
15393 +        if((address == NULL || *address == '\0') && interface != NULL)
15394          {
15395  #ifdef IF_LOOKUP
15396            struct sockaddr_in sin;
15397 --- ez-ipupdate-3.0.11b8.orig/ez-ipupdate.c
15398 +++ ez-ipupdate-3.0.11b8/ez-ipupdate.c
15399 @@ -1683,7 +1690,7 @@
15400        close(client_sockfd);
15401        return(-1);
15402      }
15403 -    if(strstr(buf, "\r\n") > 0)
15404 +    if(strstr(buf, "\n") != NULL)
15405      {
15406        break;
15407      }
15408 --- ../ez-ipupdate-3.0.11b8/cache_file.c        2003-04-17 13:31:04.000000000 -0400
15409 +++ x/cache_file.c        2005-08-18 14:47:20.417859984 -0400
15410 @@ -133,7 +133,9 @@ int read_cache_file(char *file, time_t *
15411      ipstr = p;
15412  
15413      *date = strtoul(datestr, NULL, 10);
15414 -    *ipaddr = strdup(ipstr);
15415 +
15416 +    if (strcmp(ipstr,"(null)")!=0)
15417 +      *ipaddr = strdup(ipstr);
15418    }
15419    else
15420    {
15421 --- ../ez-ipupdate-3.0.11b8/ez-ipupdate.c       2006-04-09 15:24:03.000000000 -0400
15422 +++ x/ez-ipupdate.c       2005-08-18 14:44:31.510537800 -0400
15423 @@ -1615,7 +1615,13 @@ int get_if_addr(int sock, char *name, st
15424    struct ifreq ifr;
15425  
15426    memset(&ifr, 0, sizeof(ifr));
15427 -  strcpy(ifr.ifr_name, name);
15428 +
15429 +  if (name == NULL) {
15430 +    dprintf((stderr, "get_if_addr called with name == NULL\n"));
15431 +  } else {
15432 +    strcpy(ifr.ifr_name, name);
15433 +  }
15434 +
15435    /* why does this need to be done twice? */
15436    if(ioctl(sock, SIOCGIFADDR, &ifr) < 0) 
15437    { 
15438 @@ -4748,7 +4754,7 @@ int main(int argc, char **argv)
15439        if(ipstr != NULL)
15440        {
15441  
15442 -        if(address == NULL || *address == '\0')
15443 +        if((address == NULL || *address == '\0') && interface != NULL)
15444          {
15445  #ifdef IF_LOOKUP
15446            struct sockaddr_in sin;
15447 --- ez-ipupdate-3.0.11b8.orig/ez-ipupdate.c
15448 +++ ez-ipupdate-3.0.11b8/ez-ipupdate.c
15449 @@ -640,7 +643,7 @@
15450    fprintf(stdout, "  -q, --quiet \t\t\tbe quiet\n");
15451    fprintf(stdout, "  -r, --retrys <num>\t\tnumber of trys (default: 1)\n");
15452    fprintf(stdout, "  -R, --run-as-user <user>\tchange to <user> for running, be ware\n\t\t\t\tthat this can cause problems with handeling\n\t\t\t\tSIGHUP properly if that user can't read the\n\t\t\t\tconfig file. also it can't write it's pid file \n\t\t\t\tto a root directory\n");
15453 -  fprintf(stdout, "  -Q, --run-as-euser <user>\tchange to effective <user> for running, \n\t\t\t\tthis is NOT secure but it does solve the \n\t\t\t\tproblems with run-as-user and config files and \n\t\t\t\tpid files.\n");
15454 +  fprintf(stdout, "  -Q, --run-as-euser <user>\tchange to effective <user> for running, \n\t\t\t\tthis is NOT secure but it does solve the \n\t\t\t\tproblems with run-as-user and config files and \n\t\t\t\tpid files\n");
15455    fprintf(stdout, "  -s, --server <server[:port]>\tthe server to connect to\n");
15456    fprintf(stdout, "  -S, --service-type <server>\tthe type of service that you are using\n");
15457    width = fprintf(stdout, "\t\t\t\ttry one of: ") + 4*7;
15458 @@ -682,7 +685,7 @@
15459  
15460  void print_signalhelp( void )
15461  {
15462 -  fprintf(stdout, "\nsignals are only really used when in daemon mode.\n\n");
15463 +  fprintf(stdout, "\nsignals are only really used when in daemon mode\n\n");
15464    fprintf(stdout, "signals: \n");
15465    fprintf(stdout, "  HUP\t\tcauses it to re-read its config file\n");
15466    fprintf(stdout, "  TERM\t\twake up and possibly perform an update\n");
15467 @@ -693,7 +696,7 @@
15468  #if HAVE_SIGNAL_H
15469  RETSIGTYPE sigint_handler(int sig)
15470  {
15471 -  char message[] = "interupted.\n";
15472 +  char message[] = "interrupted\n";
15473    close(client_sockfd);
15474    write(2, message, sizeof(message)-1);
15475  
15476 @@ -1439,7 +1446,7 @@
15477    if(!(options & OPT_QUIET))
15478    {
15479      fprintf(stderr,
15480 -        "connected to %s (%s) on port %d.\n",
15481 +        "connected to %s (%s) on port %d\n",
15482          host,
15483          inet_ntoa(address.sin_addr),
15484          ntohs(address.sin_port));
15485 @@ -1702,8 +1709,8 @@
15486  
15487    if(options & OPT_DAEMON)
15488    {
15489 -    fprintf(stderr, "no compile time default service was set therefor you must "
15490 -        "specify a service type.\n");
15491 +    fprintf(stderr, "no compile time default service was set, you must "
15492 +        "specify a service type\n");
15493  
15494      return(-1);
15495    }
15496 @@ -2039,7 +2046,7 @@
15497          }
15498          else if(strstr(buf, "\nnumhost") != NULL)
15499          {
15500 -          show_message("Too many or too few hosts found\n");
15501 +          show_message("too many or too few hosts found\n");
15502            retval = UPDATERES_SHUTDOWN;
15503          }
15504          else if(strstr(buf, "\ndnserr") != NULL)
15505 @@ -2051,17 +2058,17 @@
15506          }
15507          else if(strstr(buf, "\n911") != NULL)
15508          {
15509 -          show_message("Ahhhh! call 911!\n");
15510 +          show_message("ahhhh! call 911!\n");
15511            retval = UPDATERES_SHUTDOWN;
15512          }
15513          else if(strstr(buf, "\n999") != NULL)
15514          {
15515 -          show_message("Ahhhh! call 999!\n");
15516 +          show_message("ahhhh! call 999!\n");
15517            retval = UPDATERES_SHUTDOWN;
15518          }
15519          else if(strstr(buf, "\n!donator") != NULL)
15520          {
15521 -          show_message("a feature requested is only available to donators, please donate.\n", host);
15522 +          show_message("a feature requested is only available to donators, please donate\n", host);
15523            retval = UPDATERES_OK;
15524          }
15525          // this one should be last as it is a stupid string to signify waits
15526 @@ -2095,9 +2102,9 @@
15527              sprintf(reason, "problem parsing reason for wait response");
15528            }
15529  
15530 -          show_message("Wait response received, waiting for %s before next update.\n",
15531 +          show_message("wait response received, waiting for %s before next update\n",
15532                format_time(howlong));
15533 -          show_message("Wait response reason: %d\n", N_STR(reason));
15534 +          show_message("wait response reason: %d\n", N_STR(reason));
15535            sleep(howlong);
15536            retval = UPDATERES_ERROR;
15537          }
15538 @@ -3370,7 +3377,7 @@
15539    {
15540      if(!(options & OPT_QUIET))
15541      {
15542 -      fprintf(stderr, "warning: for GNUDIP the \"address\" parpameter is only used if set to \"0.0.0.0\" thus making an offline request.\n");
15543 +      fprintf(stderr, "warning: for GNUDIP the \"address\" parameter is only used if set to \"0.0.0.0\" thus making an offline request\n");
15544      }
15545    }
15546  
15547 @@ -3943,22 +3950,22 @@
15548            break;
15549  
15550          case 201:
15551 -          show_message("Last update was less than %d seconds ago.\n", 300);
15552 +          show_message("last update was less than %d seconds ago\n", 300);
15553            return(UPDATERES_ERROR);
15554            break;
15555  
15556          case 202:
15557 -          show_message("Server error.\n");
15558 +          show_message("server error\n");
15559            return(UPDATERES_ERROR);
15560            break;
15561  
15562          case 203:
15563 -          show_message("Failure because account is frozen (by admin).\n");
15564 +          show_message("failure because account is frozen (by admin)\n");
15565            return(UPDATERES_SHUTDOWN);
15566            break;
15567  
15568          case 204:
15569 -          show_message("Failure because account is locked (by user).\n");
15570 +          show_message("failure because account is locked (by user)\n");
15571            return(UPDATERES_SHUTDOWN);
15572            break;
15573  
15574 @@ -4349,7 +4354,7 @@
15575      case SIGHUP:
15576        if(config_file)
15577        {
15578 -        show_message("SIGHUP recieved, re-reading config file\n");
15579 +        show_message("SIGHUP received, re-reading config file\n");
15580          if(parse_conf_file(config_file, conf_commands) != 0)
15581          {
15582            show_message("error parsing config file \"%s\"\n", config_file);
15583 @@ -4384,6 +4389,7 @@
15584  
15585  int main(int argc, char **argv)
15586  {
15587 +  char *tmp;
15588    int ifresolve_warned = 0;
15589    int i;
15590    int retval = 1;
15591 @@ -4395,9 +4401,10 @@
15592    mcheck(NULL);
15593  #endif
15594  
15595 -  dprintf((stderr, "staring...\n"));
15596 +  dprintf((stderr, "starting...\n"));
15597  
15598 -  program_name = argv[0];
15599 +  tmp = strrchr(argv[0], '/');
15600 +  program_name = tmp ? tmp + 1 : argv[0];
15601    options = 0;
15602    *user = '\0';
15603    timeout.tv_sec = DEFAULT_TIMEOUT;
15604 @@ -4417,7 +4424,7 @@
15605  
15606    if(!(options & OPT_QUIET) && !(options & OPT_DAEMON))
15607    {
15608 -    fprintf(stderr, "ez-ipupdate Version %s\nCopyright (C) 1998-2001 Angus Mackay.\n", VERSION);
15609 +    fprintf(stderr, "%s Version %s\nCopyright (C) 1998-2001 Angus Mackay\n", program_name, VERSION);
15610    }
15611  
15612    dprintf((stderr, "options: 0x%04X\n", options));
15613 @@ -4434,7 +4441,7 @@
15614    {
15615      if(service->check_info() != 0)
15616      {
15617 -      fprintf(stderr, "invalid data to perform requested action.\n");
15618 +      fprintf(stderr, "invalid data to perform requested action\n");
15619        exit(1);
15620      }
15621    }
15622 @@ -4480,7 +4487,7 @@
15623  
15624    if(service->check_info() != 0)
15625    {
15626 -    fprintf(stderr, "invalid data to perform requested action.\n");
15627 +    fprintf(stderr, "invalid data to perform requested action\n");
15628      exit(1);
15629    }
15630  
15631 @@ -4503,7 +4510,7 @@
15632  
15633      if(interface == NULL) 
15634      { 
15635 -      fprintf(stderr, "invalid data to perform requested action.\n");
15636 +      fprintf(stderr, "invalid data to perform requested action\n");
15637        fprintf(stderr, "you must provide an interface for daemon mode");
15638        exit(1);
15639      }
15640 @@ -4647,7 +4656,7 @@
15641            }
15642            else
15643            {
15644 -            show_message("failure to update %s->%s (%s)\n",
15645 +            show_message("failed to update %s->%s (%s)\n",
15646                  interface, inet_ntoa(sin.sin_addr), N_STR(host));
15647              memset(&sin, 0, sizeof(sin));
15648  
15649 @@ -4671,7 +4680,7 @@
15650              dprintf((stderr, "updateres: %d\n", updateres));
15651              if(updateres == UPDATERES_SHUTDOWN)
15652              {
15653 -              show_message("shuting down updater for %s due to fatal error\n", 
15654 +              show_message("shutting down updater for %s due to fatal error\n",
15655                    N_STR(host));
15656  
15657                if(notify_email && *notify_email != '\0')
15658 @@ -4711,7 +4720,7 @@
15659  #endif
15660  
15661  #else
15662 -    fprintf(stderr, "sorry, this mode is only available on platforms that the ");
15663 +    fprintf(stderr, "sorry, this mode is only available on platforms where the ");
15664      fprintf(stderr, "IP address \ncan be determined. feel free to hack the code");
15665      fprintf(stderr, " though.\n");
15666      exit(1);
15667 @@ -4799,7 +4808,7 @@
15668          }
15669          else
15670          {
15671 -          show_message("could not resolve ip address for %s.\n", interface);
15672 +          show_message("could not resolve ip address for %s\n", interface);
15673            exit(1);
15674          }
15675          close(sock);
15676 --- ez-ipupdate-3.0.11b8.orig/example.conf
15677 +++ ez-ipupdate-3.0.11b8/example.conf
15678 @@ -1,4 +1,4 @@
15679 -#!/usr/local/bin/ez-ipupdate -c
15680 +#!/usr/sbin/ez-ipupdate -c
15681  #
15682  # example config file for ez-ipupdate
15683  #
15684 --- ez-ipupdate-3.0.11b8.orig/example-pgpow.conf
15685 +++ ez-ipupdate-3.0.11b8/example-pgpow.conf
15686 @@ -1,4 +1,4 @@
15687 -#!/usr/local/bin/ez-ipupdate -c
15688 +#!/usr/sbin/ez-ipupdate -c
15689  #
15690  # example config file for ez-ipupdate
15691  #
15692 @@ -10,8 +10,8 @@
15693  host=mydomain.penguinpowered.com
15694  interface=eth1
15695  
15696 -# if you use run-as ensure the user has permission to write this file
15697 -cache-file=/tmp/ez-ipupdate.cache
15698 +run-as-user=ez-ipupd
15699 +cache-file=/var/cache/ez-ipupdate/default-cache
15700  
15701  # uncomment this once you have everything working how you want and you are
15702  # ready to have ez-ipupdate running in the background all the time. to stop it
15703 --- ez-ipupdate-3.0.11b8.orig/example-dhs.conf
15704 +++ ez-ipupdate-3.0.11b8/example-dhs.conf
15705 @@ -1,4 +1,4 @@
15706 -#!/usr/local/bin/ez-ipupdate -c
15707 +#!/usr/sbin/ez-ipupdate -c
15708  #
15709  # example config file for ez-ipupdate
15710  #
15711 @@ -10,8 +10,8 @@
15712  host=mydomain.whatever.com
15713  interface=eth1
15714  
15715 -# if you use run-as ensure the user has permission to write this file
15716 -cache-file=/tmp/ez-ipupdate.cache
15717 +run-as-user=ez-ipupd
15718 +cache-file=/var/cache/ez-ipupdate/default-cache
15719  
15720  # uncomment this once you have everything working how you want and you are
15721  # ready to have ez-ipupdate running in the background all the time. to stop it
15722 --- ez-ipupdate-3.0.11b8.orig/example-dyndns.conf
15723 +++ ez-ipupdate-3.0.11b8/example-dyndns.conf
15724 @@ -1,4 +1,4 @@
15725 -#!/usr/local/bin/ez-ipupdate -c
15726 +#!/usr/sbin/ez-ipupdate -c
15727  #
15728  # example config file for ez-ipupdate
15729  #
15730 @@ -12,14 +12,9 @@
15731  interface=eth1
15732  max-interval=2073600
15733  
15734 -# please create this file and ensure that the user that ez-ipupdate is running
15735 -# as has write permissions to it then uncomment this line, if you don't your
15736 -# dyndns account will probably get banned. if you run ez-ipupdate as root (bad
15737 -# idea, use "run-as-user") then you can just uncomment this line.
15738 -#cache-file=/etc/ez-ipupdate.cache.eth1
15739 -
15740 -# for the mean time we'll just use a cache file in the temp directory
15741 -cache-file=/tmp/ez-ipupdate.cache
15742 +# if you don't use a cache file your dyndns account will probably get banned.
15743 +run-as-user=ez-ipupd
15744 +cache-file=/var/cache/ez-ipupdate/default-cache
15745  
15746  # uncomment this once you have everything working how you want and you are
15747  # ready to have ez-ipupdate running in the background all the time. to stop it
15748 --- ez-ipupdate-3.0.11b8.orig/example-ods.conf
15749 +++ ez-ipupdate-3.0.11b8/example-ods.conf
15750 @@ -1,4 +1,4 @@
15751 -#!/usr/local/bin/ez-ipupdate -c
15752 +#!/usr/sbin/ez-ipupdate -c
15753  #
15754  # example config file for ez-ipupdate
15755  #
15756 @@ -10,8 +10,8 @@
15757  host=mydomain.ods.org
15758  interface=eth1
15759  
15760 -# if you use run-as ensure the user has permission to write this file
15761 -cache-file=/tmp/ez-ipupdate.cache
15762 +run-as-user=ez-ipupd
15763 +cache-file=/var/cache/ez-ipupdate/default-cache
15764  
15765  # uncomment this once you have everything working how you want and you are
15766  # ready to have ez-ipupdate running in the background all the time. to stop it
15767 --- ez-ipupdate-3.0.11b8.orig/example-tzo.conf
15768 +++ ez-ipupdate-3.0.11b8/example-tzo.conf
15769 @@ -1,4 +1,4 @@
15770 -#!/usr/local/bin/ez-ipupdate -c
15771 +#!/usr/sbin/ez-ipupdate -c
15772  #
15773  # example config file for ez-ipupdate
15774  #
15775 @@ -14,8 +14,8 @@
15776  max-interval=2073600
15777  interface=eth1
15778  
15779 -# if you use run-as ensure the user has permission to write this file
15780 -cache-file=/tmp/ez-ipupdate.cache
15781 +run-as-user=ez-ipupd
15782 +cache-file=/var/cache/ez-ipupdate/default-cache
15783  
15784  # uncomment this once you have everything working how you want and you are
15785  # ready to have ez-ipupdate running in the background all the time. to stop it
15786 --- ez-ipupdate-3.0.11b8.orig/example-gnudip.conf
15787 +++ ez-ipupdate-3.0.11b8/example-gnudip.conf
15788 @@ -1,4 +1,4 @@
15789 -#!/usr/local/bin/ez-ipupdate -c
15790 +#!/usr/sbin/ez-ipupdate -c
15791  #
15792  # example config file for ez-ipupdate
15793  #
15794 @@ -14,8 +14,8 @@
15795  # any other value is ignored
15796  #address=0.0.0.0
15797  
15798 -# if you use run-as ensure the user has permission to write this file
15799 -cache-file=/tmp/ez-ipupdate.cache
15800 +run-as-user=ez-ipupd
15801 +cache-file=/var/cache/ez-ipupdate/default-cache
15802  
15803  # uncomment this once you have everything working how you want and you are
15804  # ready to have ez-ipupdate running in the background all the time. to stop it
15805 --- ez-ipupdate-3.0.11b8.orig/example-easydns.conf
15806 +++ ez-ipupdate-3.0.11b8/example-easydns.conf
15807 @@ -1,4 +1,4 @@
15808 -#!/usr/local/bin/ez-ipupdate -c
15809 +#!/usr/sbin/ez-ipupdate -c
15810  #
15811  # example config file for ez-ipupdate
15812  #
15813 @@ -10,8 +10,8 @@
15814  host=mydomain.whatever.com
15815  interface=eth1
15816  
15817 -# if you use run-as ensure the user has permission to write this file
15818 -cache-file=/tmp/ez-ipupdate.cache
15819 +run-as-user=ez-ipupd
15820 +cache-file=/var/cache/ez-ipupdate/default-cache
15821  
15822  # uncomment this once you have everything working how you want and you are
15823  # ready to have ez-ipupdate running in the background all the time. to stop it
15824 --- ez-ipupdate-3.0.11b8.orig/example-justlinux.conf
15825 +++ ez-ipupdate-3.0.11b8/example-justlinux.conf
15826 @@ -1,4 +1,4 @@
15827 -#!/usr/local/bin/ez-ipupdate -c
15828 +#!/usr/sbin/ez-ipupdate -c
15829  #
15830  # example config file for ez-ipupdate
15831  #
15832 @@ -10,8 +10,8 @@
15833  host=mydomain.penguinpowered.com
15834  interface=eth1
15835  
15836 -# if you use run-as ensure the user has permission to write this file
15837 -cache-file=/tmp/ez-ipupdate.cache
15838 +run-as-user=ez-ipupd
15839 +cache-file=/var/cache/ez-ipupdate/default-cache
15840  
15841  # uncomment this once you have everything working how you want and you are
15842  # ready to have ez-ipupdate running in the background all the time. to stop it
15843 --- ez-ipupdate-3.0.11b8.orig/example-dyns.conf
15844 +++ ez-ipupdate-3.0.11b8/example-dyns.conf
15845 @@ -1,4 +1,4 @@
15846 -#!/usr/local/bin/ez-ipupdate -c
15847 +#!/usr/sbin/ez-ipupdate -c
15848  #
15849  # example config file for ez-ipupdate
15850  #
15851 @@ -10,8 +10,8 @@
15852  host=myhost
15853  #interface=eth1
15854  
15855 -# if you use run-as ensure the user has permission to write this file
15856 -#cache-file=/tmp/ez-ipupdate.cache
15857 +run-as-user=ez-ipupd
15858 +cache-file=/var/cache/ez-ipupdate/default-cache
15859  
15860  # uncomment this once you have everything working how you want and you are
15861  # ready to have ez-ipupdate running in the background all the time. to stop it
15862 --- ez-ipupdate-3.0.11b8.orig/example-heipv6tb.conf
15863 +++ ez-ipupdate-3.0.11b8/example-heipv6tb.conf
15864 @@ -1,4 +1,4 @@
15865 -#!/usr/local/bin/ez-ipupdate -c
15866 +#!/usr/sbin/ez-ipupdate -c
15867  #
15868  # example config file for ez-ipupdate
15869  #
15870 @@ -11,14 +11,9 @@
15871  interface=eth1
15872  max-interval=2073600
15873  
15874 -# please create this file and ensure that the user that ez-ipupdate is running
15875 -# as has write permissions to it then uncomment this line, if you don't your
15876 -# dyndns account will probably get banned. if you run ez-ipupdate as root (bad
15877 -# idea, use "run-as-user") then you can just uncomment this line.
15878 -#cache-file=/etc/ez-ipupdate.cache.eth1
15879 -
15880 -# for the mean time we'll just use a cache file in the temp directory
15881 -cache-file=/tmp/ez-ipupdate.cache
15882 +# if you don't use a cache file your account will probably get banned.
15883 +run-as-user=ez-ipupd
15884 +cache-file=/var/cache/ez-ipupdate/default-cache
15885  
15886  # uncomment this once you have everything working how you want and you are
15887  # ready to have ez-ipupdate running in the background all the time. to stop it
15888 --- ez-ipupdate-3.0.11b8.orig/CHANGELOG
15889 +++ ez-ipupdate-3.0.11b8/CHANGELOG
15890 @@ -1,3 +1,86 @@
15891 +Changelog for ez-ipupdate:
15892 +
15893 +version 3.0.11b7 is a bug fix for the new ODS server update (it was
15894 +ez-ipupdate's bug).
15895 +
15896 +version 3.0.11b6 has a small fix for dyns.cx changing their protocol by
15897 +accident (lower case Host now).
15898 +
15899 +version 3.0.7 -> 3.0.11x I can't remember, check the changelog.
15900 +
15901 +version 3.0.7 gives us a default max-interval for dyndns and allows specifying
15902 +intervals in days/weeks/months as well as support for another service
15903 +zoneedit.
15904 +
15905 +version 3.0.3 brings a fix for hn.org that was causing it to ignore the
15906 +supplied IP address and always use the one that you were connecting from.
15907 +
15908 +version 3.0.1 brings supoprt for hn.org and the option of using a pid file.
15909 +
15910 +version 3.0.0 brings new symantics, now you MUST specify an interface and
15911 +service-type for daemon mode. it also brings many fixes, it seems that there
15912 +have been some serious bugs introduced some time after version 2.9.1 and this
15913 +should fix those and bring some new features like self throttling. All users
15914 +are strongly encoraged to upgrade to version 3.x.x.
15915 +
15916 +version 2.9.3 brings long awaited support for a cache file. this was needed in
15917 +a big way for use with the dyndns.org service.
15918 +
15919 +version 2.9.2 brings support for justlinux.com's new version 2.0 service, now
15920 +"justlinux" is for the justlinux v2.0 service and "pgpow" is for the justlinux
15921 +v1.0 service. now that penguinpowered has switched to their v2.0 update method
15922 +I don't know which one I like the best, probably dyndns.org.
15923 +
15924 +version 2.9.0 adds support for EasyDNS. Their service is nice, very good web .
15925 +site design, it is commercial though thanks to Mark Jeftovic for the code to .
15926 +support EasyDNS                                                              .
15927 +
15928 +version 2.8.0 adds support for GNUDip and TZO as well as a new feature to run.
15929 +a command after every successful update. There are probably some bug fixes in.
15930 +there too thanks to Jeremy Bopp for the code to support GNUDip and TZO       .
15931 +
15932 +version 2.6.0 adds support for ODS and a couple minor fixups.
15933 +
15934 +version 2.4.2 adds support for dyndns and some other cleanups. the service
15935 +that dyndns offers looks good, I still think I like justlinux better though.
15936 +
15937 +version 2.2.2 gives us support for updating the MX record for dhs.org. I
15938 +have to say that the implementation of dhs.org's service is laughable. I
15939 +strongly advise people not to use it, it is just that bad. If you are updating
15940 +a dhs.org acount with an MX record then there is 60 second sleep() call (or
15941 +the length of the timeout, whichever is shorter) to get around problems with
15942 +dhs' service.
15943 +
15944 +version 2.2.1 brings support for our friends at dhs.org and fixes a socket
15945 +leak in the dhs code and the penguinpowered code. I have to say though that I
15946 +am not impressed with the dhs.org service, penguinpowered.com gets my vote for
15947 +best implementation. (although they wont even acknowledge my client or put a
15948 +link to it on thier site)
15949 +
15950 +If you are getting errors connecting to the server for a justlinux.com service
15951 +please ensure that you either specify "-S pgpow" or "--service penguinpowered"
15952 +on either the command line or in the config file(in the config file the syntax
15953 +is "service=penguinpowered"). The default for this tool is to think it is
15954 +connecting to an ez-ip.net service.
15955 +
15956 +Version 2.0.0 brings support for other services than just ez-ip.net and
15957 +contains some bug fixes.
15958 +
15959 +Version 1.0.1 brings some new features such the useage of config files,
15960 +timeouts on I/O, set user id and many more.
15961 +
15962 +Version 0.9.0 fixes a problem with a leaky file descriptor and some other
15963 +litte things wrong. It also moves the version number up quite a bit as I have
15964 +been running it in daemon mode for over 60 days without any problems.
15965 +
15966 +Version 0.0.3 fixes a bug in the user/password code and a bunch of issues with
15967 +the packaging (I copied another project to start this one and forgot to update
15968 +some stuff). I Also added the system type to the User-Agent string.
15969 +
15970 +Version 0.0.2 adds some nice features for those of use who use Linux. It
15971 +now can run in daemon mode periodicly check the IP address of the specified
15972 +interface and only update it if it has changed. It also adds the feature to
15973 +turn your password in to '***' for the proccess listing.
15974  
15975  RCS file: /home/amackay/src/cvsroot/ez-ipupdate/ez-ipupdate.c,v
15976  Working file: ez-ipupdate.c
This page took 1.812938 seconds and 3 git commands to generate.