]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - contrib/ntp/arlib/configure
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / contrib / ntp / arlib / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
274 ac_unique_file="arlib.c"
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
277
278 # Initialize some variables set by options.
279 ac_init_help=
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
283 cache_file=/dev/null
284 exec_prefix=NONE
285 no_create=
286 no_recursion=
287 prefix=NONE
288 program_prefix=NONE
289 program_suffix=NONE
290 program_transform_name=s,x,x,
291 silent=
292 site=
293 srcdir=
294 verbose=
295 x_includes=NONE
296 x_libraries=NONE
297
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
315
316 ac_prev=
317 for ac_option
318 do
319   # If the previous option needs an argument, assign it.
320   if test -n "$ac_prev"; then
321     eval "$ac_prev=\$ac_option"
322     ac_prev=
323     continue
324   fi
325
326   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328   # Accept the important Cygnus configure options, so we can diagnose typos.
329
330   case $ac_option in
331
332   -bindir | --bindir | --bindi | --bind | --bin | --bi)
333     ac_prev=bindir ;;
334   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335     bindir=$ac_optarg ;;
336
337   -build | --build | --buil | --bui | --bu)
338     ac_prev=build_alias ;;
339   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340     build_alias=$ac_optarg ;;
341
342   -cache-file | --cache-file | --cache-fil | --cache-fi \
343   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344     ac_prev=cache_file ;;
345   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347     cache_file=$ac_optarg ;;
348
349   --config-cache | -C)
350     cache_file=config.cache ;;
351
352   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353     ac_prev=datadir ;;
354   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355   | --da=*)
356     datadir=$ac_optarg ;;
357
358   -disable-* | --disable-*)
359     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360     # Reject names that are not valid shell variable names.
361     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363    { (exit 1); exit 1; }; }
364     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365     eval "enable_$ac_feature=no" ;;
366
367   -enable-* | --enable-*)
368     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369     # Reject names that are not valid shell variable names.
370     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372    { (exit 1); exit 1; }; }
373     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374     case $ac_option in
375       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376       *) ac_optarg=yes ;;
377     esac
378     eval "enable_$ac_feature='$ac_optarg'" ;;
379
380   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382   | --exec | --exe | --ex)
383     ac_prev=exec_prefix ;;
384   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386   | --exec=* | --exe=* | --ex=*)
387     exec_prefix=$ac_optarg ;;
388
389   -gas | --gas | --ga | --g)
390     # Obsolete; use --with-gas.
391     with_gas=yes ;;
392
393   -help | --help | --hel | --he | -h)
394     ac_init_help=long ;;
395   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396     ac_init_help=recursive ;;
397   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398     ac_init_help=short ;;
399
400   -host | --host | --hos | --ho)
401     ac_prev=host_alias ;;
402   -host=* | --host=* | --hos=* | --ho=*)
403     host_alias=$ac_optarg ;;
404
405   -includedir | --includedir | --includedi | --included | --include \
406   | --includ | --inclu | --incl | --inc)
407     ac_prev=includedir ;;
408   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409   | --includ=* | --inclu=* | --incl=* | --inc=*)
410     includedir=$ac_optarg ;;
411
412   -infodir | --infodir | --infodi | --infod | --info | --inf)
413     ac_prev=infodir ;;
414   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415     infodir=$ac_optarg ;;
416
417   -libdir | --libdir | --libdi | --libd)
418     ac_prev=libdir ;;
419   -libdir=* | --libdir=* | --libdi=* | --libd=*)
420     libdir=$ac_optarg ;;
421
422   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423   | --libexe | --libex | --libe)
424     ac_prev=libexecdir ;;
425   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426   | --libexe=* | --libex=* | --libe=*)
427     libexecdir=$ac_optarg ;;
428
429   -localstatedir | --localstatedir | --localstatedi | --localstated \
430   | --localstate | --localstat | --localsta | --localst \
431   | --locals | --local | --loca | --loc | --lo)
432     ac_prev=localstatedir ;;
433   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436     localstatedir=$ac_optarg ;;
437
438   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439     ac_prev=mandir ;;
440   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441     mandir=$ac_optarg ;;
442
443   -nfp | --nfp | --nf)
444     # Obsolete; use --without-fp.
445     with_fp=no ;;
446
447   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448   | --no-cr | --no-c | -n)
449     no_create=yes ;;
450
451   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453     no_recursion=yes ;;
454
455   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457   | --oldin | --oldi | --old | --ol | --o)
458     ac_prev=oldincludedir ;;
459   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462     oldincludedir=$ac_optarg ;;
463
464   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465     ac_prev=prefix ;;
466   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467     prefix=$ac_optarg ;;
468
469   -program-prefix | --program-prefix | --program-prefi | --program-pref \
470   | --program-pre | --program-pr | --program-p)
471     ac_prev=program_prefix ;;
472   -program-prefix=* | --program-prefix=* | --program-prefi=* \
473   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474     program_prefix=$ac_optarg ;;
475
476   -program-suffix | --program-suffix | --program-suffi | --program-suff \
477   | --program-suf | --program-su | --program-s)
478     ac_prev=program_suffix ;;
479   -program-suffix=* | --program-suffix=* | --program-suffi=* \
480   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481     program_suffix=$ac_optarg ;;
482
483   -program-transform-name | --program-transform-name \
484   | --program-transform-nam | --program-transform-na \
485   | --program-transform-n | --program-transform- \
486   | --program-transform | --program-transfor \
487   | --program-transfo | --program-transf \
488   | --program-trans | --program-tran \
489   | --progr-tra | --program-tr | --program-t)
490     ac_prev=program_transform_name ;;
491   -program-transform-name=* | --program-transform-name=* \
492   | --program-transform-nam=* | --program-transform-na=* \
493   | --program-transform-n=* | --program-transform-=* \
494   | --program-transform=* | --program-transfor=* \
495   | --program-transfo=* | --program-transf=* \
496   | --program-trans=* | --program-tran=* \
497   | --progr-tra=* | --program-tr=* | --program-t=*)
498     program_transform_name=$ac_optarg ;;
499
500   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501   | -silent | --silent | --silen | --sile | --sil)
502     silent=yes ;;
503
504   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505     ac_prev=sbindir ;;
506   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507   | --sbi=* | --sb=*)
508     sbindir=$ac_optarg ;;
509
510   -sharedstatedir | --sharedstatedir | --sharedstatedi \
511   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512   | --sharedst | --shareds | --shared | --share | --shar \
513   | --sha | --sh)
514     ac_prev=sharedstatedir ;;
515   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518   | --sha=* | --sh=*)
519     sharedstatedir=$ac_optarg ;;
520
521   -site | --site | --sit)
522     ac_prev=site ;;
523   -site=* | --site=* | --sit=*)
524     site=$ac_optarg ;;
525
526   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527     ac_prev=srcdir ;;
528   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529     srcdir=$ac_optarg ;;
530
531   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532   | --syscon | --sysco | --sysc | --sys | --sy)
533     ac_prev=sysconfdir ;;
534   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536     sysconfdir=$ac_optarg ;;
537
538   -target | --target | --targe | --targ | --tar | --ta | --t)
539     ac_prev=target_alias ;;
540   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541     target_alias=$ac_optarg ;;
542
543   -v | -verbose | --verbose | --verbos | --verbo | --verb)
544     verbose=yes ;;
545
546   -version | --version | --versio | --versi | --vers | -V)
547     ac_init_version=: ;;
548
549   -with-* | --with-*)
550     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551     # Reject names that are not valid shell variable names.
552     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553       { echo "$as_me: error: invalid package name: $ac_package" >&2
554    { (exit 1); exit 1; }; }
555     ac_package=`echo $ac_package| sed 's/-/_/g'`
556     case $ac_option in
557       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558       *) ac_optarg=yes ;;
559     esac
560     eval "with_$ac_package='$ac_optarg'" ;;
561
562   -without-* | --without-*)
563     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564     # Reject names that are not valid shell variable names.
565     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566       { echo "$as_me: error: invalid package name: $ac_package" >&2
567    { (exit 1); exit 1; }; }
568     ac_package=`echo $ac_package | sed 's/-/_/g'`
569     eval "with_$ac_package=no" ;;
570
571   --x)
572     # Obsolete; use --with-x.
573     with_x=yes ;;
574
575   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576   | --x-incl | --x-inc | --x-in | --x-i)
577     ac_prev=x_includes ;;
578   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580     x_includes=$ac_optarg ;;
581
582   -x-libraries | --x-libraries | --x-librarie | --x-librari \
583   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584     ac_prev=x_libraries ;;
585   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587     x_libraries=$ac_optarg ;;
588
589   -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591    { (exit 1); exit 1; }; }
592     ;;
593
594   *=*)
595     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596     # Reject names that are not valid shell variable names.
597     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599    { (exit 1); exit 1; }; }
600     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601     eval "$ac_envvar='$ac_optarg'"
602     export $ac_envvar ;;
603
604   *)
605     # FIXME: should be removed in autoconf 3.0.
606     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610     ;;
611
612   esac
613 done
614
615 if test -n "$ac_prev"; then
616   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617   { echo "$as_me: error: missing argument to $ac_option" >&2
618    { (exit 1); exit 1; }; }
619 fi
620
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
623 do
624   eval ac_val=$`echo $ac_var`
625   case $ac_val in
626     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628    { (exit 1); exit 1; }; };;
629   esac
630 done
631
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634               localstatedir libdir includedir oldincludedir infodir mandir
635 do
636   eval ac_val=$`echo $ac_var`
637   case $ac_val in
638     [\\/$]* | ?:[\\/]* ) ;;
639     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640    { (exit 1); exit 1; }; };;
641   esac
642 done
643
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
647 build=$build_alias
648 host=$host_alias
649 target=$target_alias
650
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653   if test "x$build_alias" = x; then
654     cross_compiling=maybe
655     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656     If a cross compiler is detected then cross compile mode will be used." >&2
657   elif test "x$build_alias" != "x$host_alias"; then
658     cross_compiling=yes
659   fi
660 fi
661
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665 test "$silent" = yes && exec 6>/dev/null
666
667
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670   ac_srcdir_defaulted=yes
671   # Try the directory containing this script, then its parent.
672   ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674          X"$0" : 'X\(//\)[^/]' \| \
675          X"$0" : 'X\(//\)$' \| \
676          X"$0" : 'X\(/\)' \| \
677          .     : '\(.\)' 2>/dev/null ||
678 echo X"$0" |
679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681           /^X\(\/\/\)$/{ s//\1/; q; }
682           /^X\(\/\).*/{ s//\1/; q; }
683           s/.*/./; q'`
684   srcdir=$ac_confdir
685   if test ! -r $srcdir/$ac_unique_file; then
686     srcdir=..
687   fi
688 else
689   ac_srcdir_defaulted=no
690 fi
691 if test ! -r $srcdir/$ac_unique_file; then
692   if test "$ac_srcdir_defaulted" = yes; then
693     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694    { (exit 1); exit 1; }; }
695   else
696     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697    { (exit 1); exit 1; }; }
698   fi
699 fi
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702    { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
717 ac_env_CC_value=$CC
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
733 #
734 # Report the --help message.
735 #
736 if test "$ac_init_help" = "long"; then
737   # Omit some internal or obsolete options to make the list less imposing.
738   # This message is too long to be a string in the A/UX 3.1 sh.
739   cat <<_ACEOF
740 \`configure' configures this package to adapt to many kinds of systems.
741
742 Usage: $0 [OPTION]... [VAR=VALUE]...
743
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE.  See below for descriptions of some of the useful variables.
746
747 Defaults for the options are specified in brackets.
748
749 Configuration:
750   -h, --help              display this help and exit
751       --help=short        display options specific to this package
752       --help=recursive    display the short help of all the included packages
753   -V, --version           display version information and exit
754   -q, --quiet, --silent   do not print \`checking...' messages
755       --cache-file=FILE   cache test results in FILE [disabled]
756   -C, --config-cache      alias for \`--cache-file=config.cache'
757   -n, --no-create         do not create output files
758       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
759
760 _ACEOF
761
762   cat <<_ACEOF
763 Installation directories:
764   --prefix=PREFIX         install architecture-independent files in PREFIX
765                           [$ac_default_prefix]
766   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
767                           [PREFIX]
768
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
773
774 For better control, use the options below.
775
776 Fine tuning of the installation directories:
777   --bindir=DIR           user executables [EPREFIX/bin]
778   --sbindir=DIR          system admin executables [EPREFIX/sbin]
779   --libexecdir=DIR       program executables [EPREFIX/libexec]
780   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
781   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
782   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
783   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
784   --libdir=DIR           object code libraries [EPREFIX/lib]
785   --includedir=DIR       C header files [PREFIX/include]
786   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
787   --infodir=DIR          info documentation [PREFIX/info]
788   --mandir=DIR           man documentation [PREFIX/man]
789 _ACEOF
790
791   cat <<\_ACEOF
792
793 Program names:
794   --program-prefix=PREFIX            prepend PREFIX to installed program names
795   --program-suffix=SUFFIX            append SUFFIX to installed program names
796   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
797 _ACEOF
798 fi
799
800 if test -n "$ac_init_help"; then
801
802   cat <<\_ACEOF
803
804 Optional Features:
805   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
806   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
807   --disable-dependency-tracking  speeds up one-time build
808   --enable-dependency-tracking   do not reject slow dependency extractors
809
810 Some influential environment variables:
811   CC          C compiler command
812   CFLAGS      C compiler flags
813   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
814               nonstandard directory <lib dir>
815   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
816               headers in a nonstandard directory <include dir>
817
818 Use these variables to override the choices made by `configure' or to help
819 it to find libraries and programs with nonstandard names/locations.
820
821 _ACEOF
822 fi
823
824 if test "$ac_init_help" = "recursive"; then
825   # If there are subdirs, report their specific --help.
826   ac_popdir=`pwd`
827   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
828     test -d $ac_dir || continue
829     ac_builddir=.
830
831 if test "$ac_dir" != .; then
832   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
833   # A "../" for each directory in $ac_dir_suffix.
834   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
835 else
836   ac_dir_suffix= ac_top_builddir=
837 fi
838
839 case $srcdir in
840   .)  # No --srcdir option.  We are building in place.
841     ac_srcdir=.
842     if test -z "$ac_top_builddir"; then
843        ac_top_srcdir=.
844     else
845        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
846     fi ;;
847   [\\/]* | ?:[\\/]* )  # Absolute path.
848     ac_srcdir=$srcdir$ac_dir_suffix;
849     ac_top_srcdir=$srcdir ;;
850   *) # Relative path.
851     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
852     ac_top_srcdir=$ac_top_builddir$srcdir ;;
853 esac
854
855 # Do not use `cd foo && pwd` to compute absolute paths, because
856 # the directories may not exist.
857 case `pwd` in
858 .) ac_abs_builddir="$ac_dir";;
859 *)
860   case "$ac_dir" in
861   .) ac_abs_builddir=`pwd`;;
862   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
863   *) ac_abs_builddir=`pwd`/"$ac_dir";;
864   esac;;
865 esac
866 case $ac_abs_builddir in
867 .) ac_abs_top_builddir=${ac_top_builddir}.;;
868 *)
869   case ${ac_top_builddir}. in
870   .) ac_abs_top_builddir=$ac_abs_builddir;;
871   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
872   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
873   esac;;
874 esac
875 case $ac_abs_builddir in
876 .) ac_abs_srcdir=$ac_srcdir;;
877 *)
878   case $ac_srcdir in
879   .) ac_abs_srcdir=$ac_abs_builddir;;
880   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
881   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
882   esac;;
883 esac
884 case $ac_abs_builddir in
885 .) ac_abs_top_srcdir=$ac_top_srcdir;;
886 *)
887   case $ac_top_srcdir in
888   .) ac_abs_top_srcdir=$ac_abs_builddir;;
889   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
890   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
891   esac;;
892 esac
893
894     cd $ac_dir
895     # Check for guested configure; otherwise get Cygnus style configure.
896     if test -f $ac_srcdir/configure.gnu; then
897       echo
898       $SHELL $ac_srcdir/configure.gnu  --help=recursive
899     elif test -f $ac_srcdir/configure; then
900       echo
901       $SHELL $ac_srcdir/configure  --help=recursive
902     elif test -f $ac_srcdir/configure.ac ||
903            test -f $ac_srcdir/configure.in; then
904       echo
905       $ac_configure --help
906     else
907       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
908     fi
909     cd $ac_popdir
910   done
911 fi
912
913 test -n "$ac_init_help" && exit 0
914 if $ac_init_version; then
915   cat <<\_ACEOF
916
917 Copyright (C) 2003 Free Software Foundation, Inc.
918 This configure script is free software; the Free Software Foundation
919 gives unlimited permission to copy, distribute and modify it.
920 _ACEOF
921   exit 0
922 fi
923 exec 5>config.log
924 cat >&5 <<_ACEOF
925 This file contains any messages produced by compilers while
926 running configure, to aid debugging if configure makes a mistake.
927
928 It was created by $as_me, which was
929 generated by GNU Autoconf 2.59.  Invocation command line was
930
931   $ $0 $@
932
933 _ACEOF
934 {
935 cat <<_ASUNAME
936 ## --------- ##
937 ## Platform. ##
938 ## --------- ##
939
940 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
941 uname -m = `(uname -m) 2>/dev/null || echo unknown`
942 uname -r = `(uname -r) 2>/dev/null || echo unknown`
943 uname -s = `(uname -s) 2>/dev/null || echo unknown`
944 uname -v = `(uname -v) 2>/dev/null || echo unknown`
945
946 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
947 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
948
949 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
950 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
951 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
952 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
953 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
954 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
955 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
956
957 _ASUNAME
958
959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
960 for as_dir in $PATH
961 do
962   IFS=$as_save_IFS
963   test -z "$as_dir" && as_dir=.
964   echo "PATH: $as_dir"
965 done
966
967 } >&5
968
969 cat >&5 <<_ACEOF
970
971
972 ## ----------- ##
973 ## Core tests. ##
974 ## ----------- ##
975
976 _ACEOF
977
978
979 # Keep a trace of the command line.
980 # Strip out --no-create and --no-recursion so they do not pile up.
981 # Strip out --silent because we don't want to record it for future runs.
982 # Also quote any args containing shell meta-characters.
983 # Make two passes to allow for proper duplicate-argument suppression.
984 ac_configure_args=
985 ac_configure_args0=
986 ac_configure_args1=
987 ac_sep=
988 ac_must_keep_next=false
989 for ac_pass in 1 2
990 do
991   for ac_arg
992   do
993     case $ac_arg in
994     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
995     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996     | -silent | --silent | --silen | --sile | --sil)
997       continue ;;
998     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000     esac
1001     case $ac_pass in
1002     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1003     2)
1004       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1005       if test $ac_must_keep_next = true; then
1006         ac_must_keep_next=false # Got value, back to normal.
1007       else
1008         case $ac_arg in
1009           *=* | --config-cache | -C | -disable-* | --disable-* \
1010           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1011           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1012           | -with-* | --with-* | -without-* | --without-* | --x)
1013             case "$ac_configure_args0 " in
1014               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1015             esac
1016             ;;
1017           -* ) ac_must_keep_next=true ;;
1018         esac
1019       fi
1020       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1021       # Get rid of the leading space.
1022       ac_sep=" "
1023       ;;
1024     esac
1025   done
1026 done
1027 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1028 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1029
1030 # When interrupted or exit'd, cleanup temporary files, and complete
1031 # config.log.  We remove comments because anyway the quotes in there
1032 # would cause problems or look ugly.
1033 # WARNING: Be sure not to use single quotes in there, as some shells,
1034 # such as our DU 5.0 friend, will then `close' the trap.
1035 trap 'exit_status=$?
1036   # Save into config.log some information that might help in debugging.
1037   {
1038     echo
1039
1040     cat <<\_ASBOX
1041 ## ---------------- ##
1042 ## Cache variables. ##
1043 ## ---------------- ##
1044 _ASBOX
1045     echo
1046     # The following way of writing the cache mishandles newlines in values,
1047 {
1048   (set) 2>&1 |
1049     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1050     *ac_space=\ *)
1051       sed -n \
1052         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1053           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1054       ;;
1055     *)
1056       sed -n \
1057         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1058       ;;
1059     esac;
1060 }
1061     echo
1062
1063     cat <<\_ASBOX
1064 ## ----------------- ##
1065 ## Output variables. ##
1066 ## ----------------- ##
1067 _ASBOX
1068     echo
1069     for ac_var in $ac_subst_vars
1070     do
1071       eval ac_val=$`echo $ac_var`
1072       echo "$ac_var='"'"'$ac_val'"'"'"
1073     done | sort
1074     echo
1075
1076     if test -n "$ac_subst_files"; then
1077       cat <<\_ASBOX
1078 ## ------------- ##
1079 ## Output files. ##
1080 ## ------------- ##
1081 _ASBOX
1082       echo
1083       for ac_var in $ac_subst_files
1084       do
1085         eval ac_val=$`echo $ac_var`
1086         echo "$ac_var='"'"'$ac_val'"'"'"
1087       done | sort
1088       echo
1089     fi
1090
1091     if test -s confdefs.h; then
1092       cat <<\_ASBOX
1093 ## ----------- ##
1094 ## confdefs.h. ##
1095 ## ----------- ##
1096 _ASBOX
1097       echo
1098       sed "/^$/d" confdefs.h | sort
1099       echo
1100     fi
1101     test "$ac_signal" != 0 &&
1102       echo "$as_me: caught signal $ac_signal"
1103     echo "$as_me: exit $exit_status"
1104   } >&5
1105   rm -f core *.core &&
1106   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1107     exit $exit_status
1108      ' 0
1109 for ac_signal in 1 2 13 15; do
1110   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1111 done
1112 ac_signal=0
1113
1114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1115 rm -rf conftest* confdefs.h
1116 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1117 echo >confdefs.h
1118
1119 # Predefined preprocessor variables.
1120
1121 cat >>confdefs.h <<_ACEOF
1122 #define PACKAGE_NAME "$PACKAGE_NAME"
1123 _ACEOF
1124
1125
1126 cat >>confdefs.h <<_ACEOF
1127 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1128 _ACEOF
1129
1130
1131 cat >>confdefs.h <<_ACEOF
1132 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1133 _ACEOF
1134
1135
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_STRING "$PACKAGE_STRING"
1138 _ACEOF
1139
1140
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1143 _ACEOF
1144
1145
1146 # Let the site file select an alternate cache file if it wants to.
1147 # Prefer explicitly selected file to automatically selected ones.
1148 if test -z "$CONFIG_SITE"; then
1149   if test "x$prefix" != xNONE; then
1150     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1151   else
1152     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1153   fi
1154 fi
1155 for ac_site_file in $CONFIG_SITE; do
1156   if test -r "$ac_site_file"; then
1157     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1158 echo "$as_me: loading site script $ac_site_file" >&6;}
1159     sed 's/^/| /' "$ac_site_file" >&5
1160     . "$ac_site_file"
1161   fi
1162 done
1163
1164 if test -r "$cache_file"; then
1165   # Some versions of bash will fail to source /dev/null (special
1166   # files actually), so we avoid doing that.
1167   if test -f "$cache_file"; then
1168     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1169 echo "$as_me: loading cache $cache_file" >&6;}
1170     case $cache_file in
1171       [\\/]* | ?:[\\/]* ) . $cache_file;;
1172       *)                      . ./$cache_file;;
1173     esac
1174   fi
1175 else
1176   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1177 echo "$as_me: creating cache $cache_file" >&6;}
1178   >$cache_file
1179 fi
1180
1181 # Check that the precious variables saved in the cache have kept the same
1182 # value.
1183 ac_cache_corrupted=false
1184 for ac_var in `(set) 2>&1 |
1185                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1186   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1187   eval ac_new_set=\$ac_env_${ac_var}_set
1188   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1189   eval ac_new_val="\$ac_env_${ac_var}_value"
1190   case $ac_old_set,$ac_new_set in
1191     set,)
1192       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1193 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1194       ac_cache_corrupted=: ;;
1195     ,set)
1196       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1197 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1198       ac_cache_corrupted=: ;;
1199     ,);;
1200     *)
1201       if test "x$ac_old_val" != "x$ac_new_val"; then
1202         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1203 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1204         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1205 echo "$as_me:   former value:  $ac_old_val" >&2;}
1206         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1207 echo "$as_me:   current value: $ac_new_val" >&2;}
1208         ac_cache_corrupted=:
1209       fi;;
1210   esac
1211   # Pass precious variables to config.status.
1212   if test "$ac_new_set" = set; then
1213     case $ac_new_val in
1214     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1215       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1216     *) ac_arg=$ac_var=$ac_new_val ;;
1217     esac
1218     case " $ac_configure_args " in
1219       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1220       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1221     esac
1222   fi
1223 done
1224 if $ac_cache_corrupted; then
1225   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1226 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1227   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1228 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1229    { (exit 1); exit 1; }; }
1230 fi
1231
1232 ac_ext=c
1233 ac_cpp='$CPP $CPPFLAGS'
1234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256 am__api_version="1.9"
1257 ac_aux_dir=
1258 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1259   if test -f $ac_dir/install-sh; then
1260     ac_aux_dir=$ac_dir
1261     ac_install_sh="$ac_aux_dir/install-sh -c"
1262     break
1263   elif test -f $ac_dir/install.sh; then
1264     ac_aux_dir=$ac_dir
1265     ac_install_sh="$ac_aux_dir/install.sh -c"
1266     break
1267   elif test -f $ac_dir/shtool; then
1268     ac_aux_dir=$ac_dir
1269     ac_install_sh="$ac_aux_dir/shtool install -c"
1270     break
1271   fi
1272 done
1273 if test -z "$ac_aux_dir"; then
1274   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1275 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1276    { (exit 1); exit 1; }; }
1277 fi
1278 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1279 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1280 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1281
1282 # Find a good install program.  We prefer a C program (faster),
1283 # so one script is as good as another.  But avoid the broken or
1284 # incompatible versions:
1285 # SysV /etc/install, /usr/sbin/install
1286 # SunOS /usr/etc/install
1287 # IRIX /sbin/install
1288 # AIX /bin/install
1289 # AmigaOS /C/install, which installs bootblocks on floppy discs
1290 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1291 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1292 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1293 # OS/2's system install, which has a completely different semantic
1294 # ./install, which can be erroneously created by make from ./install.sh.
1295 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1296 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1297 if test -z "$INSTALL"; then
1298 if test "${ac_cv_path_install+set}" = set; then
1299   echo $ECHO_N "(cached) $ECHO_C" >&6
1300 else
1301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1302 for as_dir in $PATH
1303 do
1304   IFS=$as_save_IFS
1305   test -z "$as_dir" && as_dir=.
1306   # Account for people who put trailing slashes in PATH elements.
1307 case $as_dir/ in
1308   ./ | .// | /cC/* | \
1309   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1310   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1311   /usr/ucb/* ) ;;
1312   *)
1313     # OSF1 and SCO ODT 3.0 have their own names for install.
1314     # Don't use installbsd from OSF since it installs stuff as root
1315     # by default.
1316     for ac_prog in ginstall scoinst install; do
1317       for ac_exec_ext in '' $ac_executable_extensions; do
1318         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1319           if test $ac_prog = install &&
1320             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1321             # AIX install.  It has an incompatible calling convention.
1322             :
1323           elif test $ac_prog = install &&
1324             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1325             # program-specific install script used by HP pwplus--don't use.
1326             :
1327           else
1328             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1329             break 3
1330           fi
1331         fi
1332       done
1333     done
1334     ;;
1335 esac
1336 done
1337
1338
1339 fi
1340   if test "${ac_cv_path_install+set}" = set; then
1341     INSTALL=$ac_cv_path_install
1342   else
1343     # As a last resort, use the slow shell script.  We don't cache a
1344     # path for INSTALL within a source directory, because that will
1345     # break other packages using the cache if that directory is
1346     # removed, or if the path is relative.
1347     INSTALL=$ac_install_sh
1348   fi
1349 fi
1350 echo "$as_me:$LINENO: result: $INSTALL" >&5
1351 echo "${ECHO_T}$INSTALL" >&6
1352
1353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1354 # It thinks the first close brace ends the variable substitution.
1355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1356
1357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1358
1359 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1360
1361 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1362 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1363 # Just in case
1364 sleep 1
1365 echo timestamp > conftest.file
1366 # Do `set' in a subshell so we don't clobber the current shell's
1367 # arguments.  Must try -L first in case configure is actually a
1368 # symlink; some systems play weird games with the mod time of symlinks
1369 # (eg FreeBSD returns the mod time of the symlink's containing
1370 # directory).
1371 if (
1372    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1373    if test "$*" = "X"; then
1374       # -L didn't work.
1375       set X `ls -t $srcdir/configure conftest.file`
1376    fi
1377    rm -f conftest.file
1378    if test "$*" != "X $srcdir/configure conftest.file" \
1379       && test "$*" != "X conftest.file $srcdir/configure"; then
1380
1381       # If neither matched, then we have a broken ls.  This can happen
1382       # if, for instance, CONFIG_SHELL is bash and it inherits a
1383       # broken ls alias from the environment.  This has actually
1384       # happened.  Such a system could not be considered "sane".
1385       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1386 alias in your environment" >&5
1387 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1388 alias in your environment" >&2;}
1389    { (exit 1); exit 1; }; }
1390    fi
1391
1392    test "$2" = conftest.file
1393    )
1394 then
1395    # Ok.
1396    :
1397 else
1398    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1399 Check your system clock" >&5
1400 echo "$as_me: error: newly created file is older than distributed files!
1401 Check your system clock" >&2;}
1402    { (exit 1); exit 1; }; }
1403 fi
1404 echo "$as_me:$LINENO: result: yes" >&5
1405 echo "${ECHO_T}yes" >&6
1406 test "$program_prefix" != NONE &&
1407   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1408 # Use a double $ so make ignores it.
1409 test "$program_suffix" != NONE &&
1410   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1411 # Double any \ or $.  echo might interpret backslashes.
1412 # By default was `s,x,x', remove it if useless.
1413 cat <<\_ACEOF >conftest.sed
1414 s/[\\$]/&&/g;s/;s,x,x,$//
1415 _ACEOF
1416 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1417 rm conftest.sed
1418
1419 # expand $ac_aux_dir to an absolute path
1420 am_aux_dir=`cd $ac_aux_dir && pwd`
1421
1422 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1423 # Use eval to expand $SHELL
1424 if eval "$MISSING --run true"; then
1425   am_missing_run="$MISSING --run "
1426 else
1427   am_missing_run=
1428   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1429 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1430 fi
1431
1432 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1433   # We used to keeping the `.' as first argument, in order to
1434   # allow $(mkdir_p) to be used without argument.  As in
1435   #   $(mkdir_p) $(somedir)
1436   # where $(somedir) is conditionally defined.  However this is wrong
1437   # for two reasons:
1438   #  1. if the package is installed by a user who cannot write `.'
1439   #     make install will fail,
1440   #  2. the above comment should most certainly read
1441   #     $(mkdir_p) $(DESTDIR)$(somedir)
1442   #     so it does not work when $(somedir) is undefined and
1443   #     $(DESTDIR) is not.
1444   #  To support the latter case, we have to write
1445   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1446   #  so the `.' trick is pointless.
1447   mkdir_p='mkdir -p --'
1448 else
1449   # On NextStep and OpenStep, the `mkdir' command does not
1450   # recognize any option.  It will interpret all options as
1451   # directories to create, and then abort because `.' already
1452   # exists.
1453   for d in ./-p ./--version;
1454   do
1455     test -d $d && rmdir $d
1456   done
1457   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1458   if test -f "$ac_aux_dir/mkinstalldirs"; then
1459     mkdir_p='$(mkinstalldirs)'
1460   else
1461     mkdir_p='$(install_sh) -d'
1462   fi
1463 fi
1464
1465 for ac_prog in gawk mawk nawk awk
1466 do
1467   # Extract the first word of "$ac_prog", so it can be a program name with args.
1468 set dummy $ac_prog; ac_word=$2
1469 echo "$as_me:$LINENO: checking for $ac_word" >&5
1470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1471 if test "${ac_cv_prog_AWK+set}" = set; then
1472   echo $ECHO_N "(cached) $ECHO_C" >&6
1473 else
1474   if test -n "$AWK"; then
1475   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1476 else
1477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478 for as_dir in $PATH
1479 do
1480   IFS=$as_save_IFS
1481   test -z "$as_dir" && as_dir=.
1482   for ac_exec_ext in '' $ac_executable_extensions; do
1483   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1484     ac_cv_prog_AWK="$ac_prog"
1485     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1486     break 2
1487   fi
1488 done
1489 done
1490
1491 fi
1492 fi
1493 AWK=$ac_cv_prog_AWK
1494 if test -n "$AWK"; then
1495   echo "$as_me:$LINENO: result: $AWK" >&5
1496 echo "${ECHO_T}$AWK" >&6
1497 else
1498   echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
1500 fi
1501
1502   test -n "$AWK" && break
1503 done
1504
1505 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1506 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1507 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1508 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1509   echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511   cat >conftest.make <<\_ACEOF
1512 all:
1513         @echo 'ac_maketemp="$(MAKE)"'
1514 _ACEOF
1515 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1516 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1517 if test -n "$ac_maketemp"; then
1518   eval ac_cv_prog_make_${ac_make}_set=yes
1519 else
1520   eval ac_cv_prog_make_${ac_make}_set=no
1521 fi
1522 rm -f conftest.make
1523 fi
1524 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1525   echo "$as_me:$LINENO: result: yes" >&5
1526 echo "${ECHO_T}yes" >&6
1527   SET_MAKE=
1528 else
1529   echo "$as_me:$LINENO: result: no" >&5
1530 echo "${ECHO_T}no" >&6
1531   SET_MAKE="MAKE=${MAKE-make}"
1532 fi
1533
1534 rm -rf .tst 2>/dev/null
1535 mkdir .tst 2>/dev/null
1536 if test -d .tst; then
1537   am__leading_dot=.
1538 else
1539   am__leading_dot=_
1540 fi
1541 rmdir .tst 2>/dev/null
1542
1543 # test to see if srcdir already configured
1544 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1545    test -f $srcdir/config.status; then
1546   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1547 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1548    { (exit 1); exit 1; }; }
1549 fi
1550
1551 # test whether we have cygpath
1552 if test -z "$CYGPATH_W"; then
1553   if (cygpath --version) >/dev/null 2>/dev/null; then
1554     CYGPATH_W='cygpath -w'
1555   else
1556     CYGPATH_W=echo
1557   fi
1558 fi
1559
1560
1561 # Define the identity of the package.
1562  PACKAGE=arlib
1563  VERSION=1.0
1564
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE "$PACKAGE"
1568 _ACEOF
1569
1570
1571 cat >>confdefs.h <<_ACEOF
1572 #define VERSION "$VERSION"
1573 _ACEOF
1574
1575 # Some tools Automake needs.
1576
1577 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1578
1579
1580 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1581
1582
1583 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1584
1585
1586 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1587
1588
1589 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1590
1591 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1592
1593 # Installed binaries are usually stripped using `strip' when the user
1594 # run `make install-strip'.  However `strip' might not be the right
1595 # tool to use in cross-compilation environments, therefore Automake
1596 # will honor the `STRIP' environment variable to overrule this program.
1597 if test "$cross_compiling" != no; then
1598   if test -n "$ac_tool_prefix"; then
1599   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1600 set dummy ${ac_tool_prefix}strip; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_STRIP+set}" = set; then
1604   echo $ECHO_N "(cached) $ECHO_C" >&6
1605 else
1606   if test -n "$STRIP"; then
1607   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1608 else
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 for as_dir in $PATH
1611 do
1612   IFS=$as_save_IFS
1613   test -z "$as_dir" && as_dir=.
1614   for ac_exec_ext in '' $ac_executable_extensions; do
1615   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1617     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618     break 2
1619   fi
1620 done
1621 done
1622
1623 fi
1624 fi
1625 STRIP=$ac_cv_prog_STRIP
1626 if test -n "$STRIP"; then
1627   echo "$as_me:$LINENO: result: $STRIP" >&5
1628 echo "${ECHO_T}$STRIP" >&6
1629 else
1630   echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1632 fi
1633
1634 fi
1635 if test -z "$ac_cv_prog_STRIP"; then
1636   ac_ct_STRIP=$STRIP
1637   # Extract the first word of "strip", so it can be a program name with args.
1638 set dummy strip; ac_word=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1642   echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644   if test -n "$ac_ct_STRIP"; then
1645   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1646 else
1647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 for as_dir in $PATH
1649 do
1650   IFS=$as_save_IFS
1651   test -z "$as_dir" && as_dir=.
1652   for ac_exec_ext in '' $ac_executable_extensions; do
1653   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654     ac_cv_prog_ac_ct_STRIP="strip"
1655     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1656     break 2
1657   fi
1658 done
1659 done
1660
1661   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1662 fi
1663 fi
1664 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1665 if test -n "$ac_ct_STRIP"; then
1666   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1667 echo "${ECHO_T}$ac_ct_STRIP" >&6
1668 else
1669   echo "$as_me:$LINENO: result: no" >&5
1670 echo "${ECHO_T}no" >&6
1671 fi
1672
1673   STRIP=$ac_ct_STRIP
1674 else
1675   STRIP="$ac_cv_prog_STRIP"
1676 fi
1677
1678 fi
1679 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1680
1681 # We need awk for the "check" target.  The system "awk" is bad on
1682 # some platforms.
1683 # Always define AMTAR for backward compatibility.
1684
1685 AMTAR=${AMTAR-"${am_missing_run}tar"}
1686
1687 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1688
1689
1690
1691
1692
1693
1694 #AM_CONFIG_HEADER([config.h])
1695
1696 # Checks for programs.
1697 ac_ext=c
1698 ac_cpp='$CPP $CPPFLAGS'
1699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1702 if test -n "$ac_tool_prefix"; then
1703   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1704 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_CC+set}" = set; then
1708   echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710   if test -n "$CC"; then
1711   ac_cv_prog_CC="$CC" # Let the user override the test.
1712 else
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1715 do
1716   IFS=$as_save_IFS
1717   test -z "$as_dir" && as_dir=.
1718   for ac_exec_ext in '' $ac_executable_extensions; do
1719   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1721     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722     break 2
1723   fi
1724 done
1725 done
1726
1727 fi
1728 fi
1729 CC=$ac_cv_prog_CC
1730 if test -n "$CC"; then
1731   echo "$as_me:$LINENO: result: $CC" >&5
1732 echo "${ECHO_T}$CC" >&6
1733 else
1734   echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 fi
1737
1738 fi
1739 if test -z "$ac_cv_prog_CC"; then
1740   ac_ct_CC=$CC
1741   # Extract the first word of "gcc", so it can be a program name with args.
1742 set dummy gcc; ac_word=$2
1743 echo "$as_me:$LINENO: checking for $ac_word" >&5
1744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1746   echo $ECHO_N "(cached) $ECHO_C" >&6
1747 else
1748   if test -n "$ac_ct_CC"; then
1749   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1750 else
1751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 for as_dir in $PATH
1753 do
1754   IFS=$as_save_IFS
1755   test -z "$as_dir" && as_dir=.
1756   for ac_exec_ext in '' $ac_executable_extensions; do
1757   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1758     ac_cv_prog_ac_ct_CC="gcc"
1759     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760     break 2
1761   fi
1762 done
1763 done
1764
1765 fi
1766 fi
1767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1768 if test -n "$ac_ct_CC"; then
1769   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1770 echo "${ECHO_T}$ac_ct_CC" >&6
1771 else
1772   echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6
1774 fi
1775
1776   CC=$ac_ct_CC
1777 else
1778   CC="$ac_cv_prog_CC"
1779 fi
1780
1781 if test -z "$CC"; then
1782   if test -n "$ac_tool_prefix"; then
1783   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1784 set dummy ${ac_tool_prefix}cc; ac_word=$2
1785 echo "$as_me:$LINENO: checking for $ac_word" >&5
1786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787 if test "${ac_cv_prog_CC+set}" = set; then
1788   echo $ECHO_N "(cached) $ECHO_C" >&6
1789 else
1790   if test -n "$CC"; then
1791   ac_cv_prog_CC="$CC" # Let the user override the test.
1792 else
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 for as_dir in $PATH
1795 do
1796   IFS=$as_save_IFS
1797   test -z "$as_dir" && as_dir=.
1798   for ac_exec_ext in '' $ac_executable_extensions; do
1799   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800     ac_cv_prog_CC="${ac_tool_prefix}cc"
1801     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802     break 2
1803   fi
1804 done
1805 done
1806
1807 fi
1808 fi
1809 CC=$ac_cv_prog_CC
1810 if test -n "$CC"; then
1811   echo "$as_me:$LINENO: result: $CC" >&5
1812 echo "${ECHO_T}$CC" >&6
1813 else
1814   echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1816 fi
1817
1818 fi
1819 if test -z "$ac_cv_prog_CC"; then
1820   ac_ct_CC=$CC
1821   # Extract the first word of "cc", so it can be a program name with args.
1822 set dummy cc; ac_word=$2
1823 echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826   echo $ECHO_N "(cached) $ECHO_C" >&6
1827 else
1828   if test -n "$ac_ct_CC"; then
1829   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830 else
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 for as_dir in $PATH
1833 do
1834   IFS=$as_save_IFS
1835   test -z "$as_dir" && as_dir=.
1836   for ac_exec_ext in '' $ac_executable_extensions; do
1837   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838     ac_cv_prog_ac_ct_CC="cc"
1839     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840     break 2
1841   fi
1842 done
1843 done
1844
1845 fi
1846 fi
1847 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1848 if test -n "$ac_ct_CC"; then
1849   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1850 echo "${ECHO_T}$ac_ct_CC" >&6
1851 else
1852   echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1854 fi
1855
1856   CC=$ac_ct_CC
1857 else
1858   CC="$ac_cv_prog_CC"
1859 fi
1860
1861 fi
1862 if test -z "$CC"; then
1863   # Extract the first word of "cc", so it can be a program name with args.
1864 set dummy cc; ac_word=$2
1865 echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867 if test "${ac_cv_prog_CC+set}" = set; then
1868   echo $ECHO_N "(cached) $ECHO_C" >&6
1869 else
1870   if test -n "$CC"; then
1871   ac_cv_prog_CC="$CC" # Let the user override the test.
1872 else
1873   ac_prog_rejected=no
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 for as_dir in $PATH
1876 do
1877   IFS=$as_save_IFS
1878   test -z "$as_dir" && as_dir=.
1879   for ac_exec_ext in '' $ac_executable_extensions; do
1880   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1882        ac_prog_rejected=yes
1883        continue
1884      fi
1885     ac_cv_prog_CC="cc"
1886     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887     break 2
1888   fi
1889 done
1890 done
1891
1892 if test $ac_prog_rejected = yes; then
1893   # We found a bogon in the path, so make sure we never use it.
1894   set dummy $ac_cv_prog_CC
1895   shift
1896   if test $# != 0; then
1897     # We chose a different compiler from the bogus one.
1898     # However, it has the same basename, so the bogon will be chosen
1899     # first if we set CC to just the basename; use the full file name.
1900     shift
1901     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1902   fi
1903 fi
1904 fi
1905 fi
1906 CC=$ac_cv_prog_CC
1907 if test -n "$CC"; then
1908   echo "$as_me:$LINENO: result: $CC" >&5
1909 echo "${ECHO_T}$CC" >&6
1910 else
1911   echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1913 fi
1914
1915 fi
1916 if test -z "$CC"; then
1917   if test -n "$ac_tool_prefix"; then
1918   for ac_prog in cl
1919   do
1920     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924 if test "${ac_cv_prog_CC+set}" = set; then
1925   echo $ECHO_N "(cached) $ECHO_C" >&6
1926 else
1927   if test -n "$CC"; then
1928   ac_cv_prog_CC="$CC" # Let the user override the test.
1929 else
1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 for as_dir in $PATH
1932 do
1933   IFS=$as_save_IFS
1934   test -z "$as_dir" && as_dir=.
1935   for ac_exec_ext in '' $ac_executable_extensions; do
1936   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1937     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1938     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939     break 2
1940   fi
1941 done
1942 done
1943
1944 fi
1945 fi
1946 CC=$ac_cv_prog_CC
1947 if test -n "$CC"; then
1948   echo "$as_me:$LINENO: result: $CC" >&5
1949 echo "${ECHO_T}$CC" >&6
1950 else
1951   echo "$as_me:$LINENO: result: no" >&5
1952 echo "${ECHO_T}no" >&6
1953 fi
1954
1955     test -n "$CC" && break
1956   done
1957 fi
1958 if test -z "$CC"; then
1959   ac_ct_CC=$CC
1960   for ac_prog in cl
1961 do
1962   # Extract the first word of "$ac_prog", so it can be a program name with args.
1963 set dummy $ac_prog; ac_word=$2
1964 echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1967   echo $ECHO_N "(cached) $ECHO_C" >&6
1968 else
1969   if test -n "$ac_ct_CC"; then
1970   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971 else
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 for as_dir in $PATH
1974 do
1975   IFS=$as_save_IFS
1976   test -z "$as_dir" && as_dir=.
1977   for ac_exec_ext in '' $ac_executable_extensions; do
1978   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979     ac_cv_prog_ac_ct_CC="$ac_prog"
1980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981     break 2
1982   fi
1983 done
1984 done
1985
1986 fi
1987 fi
1988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1989 if test -n "$ac_ct_CC"; then
1990   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991 echo "${ECHO_T}$ac_ct_CC" >&6
1992 else
1993   echo "$as_me:$LINENO: result: no" >&5
1994 echo "${ECHO_T}no" >&6
1995 fi
1996
1997   test -n "$ac_ct_CC" && break
1998 done
1999
2000   CC=$ac_ct_CC
2001 fi
2002
2003 fi
2004
2005
2006 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: no acceptable C compiler found in \$PATH
2009 See \`config.log' for more details." >&2;}
2010    { (exit 1); exit 1; }; }
2011
2012 # Provide some information about the compiler.
2013 echo "$as_me:$LINENO:" \
2014      "checking for C compiler version" >&5
2015 ac_compiler=`set X $ac_compile; echo $2`
2016 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2017   (eval $ac_compiler --version </dev/null >&5) 2>&5
2018   ac_status=$?
2019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020   (exit $ac_status); }
2021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2022   (eval $ac_compiler -v </dev/null >&5) 2>&5
2023   ac_status=$?
2024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025   (exit $ac_status); }
2026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2027   (eval $ac_compiler -V </dev/null >&5) 2>&5
2028   ac_status=$?
2029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030   (exit $ac_status); }
2031
2032 cat >conftest.$ac_ext <<_ACEOF
2033 /* confdefs.h.  */
2034 _ACEOF
2035 cat confdefs.h >>conftest.$ac_ext
2036 cat >>conftest.$ac_ext <<_ACEOF
2037 /* end confdefs.h.  */
2038
2039 int
2040 main ()
2041 {
2042
2043   ;
2044   return 0;
2045 }
2046 _ACEOF
2047 ac_clean_files_save=$ac_clean_files
2048 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2049 # Try to create an executable without -o first, disregard a.out.
2050 # It will help us diagnose broken compilers, and finding out an intuition
2051 # of exeext.
2052 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2053 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2054 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2055 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2056   (eval $ac_link_default) 2>&5
2057   ac_status=$?
2058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059   (exit $ac_status); }; then
2060   # Find the output, starting from the most likely.  This scheme is
2061 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2062 # resort.
2063
2064 # Be careful to initialize this variable, since it used to be cached.
2065 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2066 ac_cv_exeext=
2067 # b.out is created by i960 compilers.
2068 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2069 do
2070   test -f "$ac_file" || continue
2071   case $ac_file in
2072     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2073         ;;
2074     conftest.$ac_ext )
2075         # This is the source file.
2076         ;;
2077     [ab].out )
2078         # We found the default executable, but exeext='' is most
2079         # certainly right.
2080         break;;
2081     *.* )
2082         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2083         # FIXME: I believe we export ac_cv_exeext for Libtool,
2084         # but it would be cool to find out if it's true.  Does anybody
2085         # maintain Libtool? --akim.
2086         export ac_cv_exeext
2087         break;;
2088     * )
2089         break;;
2090   esac
2091 done
2092 else
2093   echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.$ac_ext >&5
2095
2096 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2097 See \`config.log' for more details." >&5
2098 echo "$as_me: error: C compiler cannot create executables
2099 See \`config.log' for more details." >&2;}
2100    { (exit 77); exit 77; }; }
2101 fi
2102
2103 ac_exeext=$ac_cv_exeext
2104 echo "$as_me:$LINENO: result: $ac_file" >&5
2105 echo "${ECHO_T}$ac_file" >&6
2106
2107 # Check the compiler produces executables we can run.  If not, either
2108 # the compiler is broken, or we cross compile.
2109 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2110 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2111 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2112 # If not cross compiling, check that we can run a simple program.
2113 if test "$cross_compiling" != yes; then
2114   if { ac_try='./$ac_file'
2115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116   (eval $ac_try) 2>&5
2117   ac_status=$?
2118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119   (exit $ac_status); }; }; then
2120     cross_compiling=no
2121   else
2122     if test "$cross_compiling" = maybe; then
2123         cross_compiling=yes
2124     else
2125         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2126 If you meant to cross compile, use \`--host'.
2127 See \`config.log' for more details." >&5
2128 echo "$as_me: error: cannot run C compiled programs.
2129 If you meant to cross compile, use \`--host'.
2130 See \`config.log' for more details." >&2;}
2131    { (exit 1); exit 1; }; }
2132     fi
2133   fi
2134 fi
2135 echo "$as_me:$LINENO: result: yes" >&5
2136 echo "${ECHO_T}yes" >&6
2137
2138 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2139 ac_clean_files=$ac_clean_files_save
2140 # Check the compiler produces executables we can run.  If not, either
2141 # the compiler is broken, or we cross compile.
2142 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2143 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2144 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2145 echo "${ECHO_T}$cross_compiling" >&6
2146
2147 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2148 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2150   (eval $ac_link) 2>&5
2151   ac_status=$?
2152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153   (exit $ac_status); }; then
2154   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2155 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2156 # work properly (i.e., refer to `conftest.exe'), while it won't with
2157 # `rm'.
2158 for ac_file in conftest.exe conftest conftest.*; do
2159   test -f "$ac_file" || continue
2160   case $ac_file in
2161     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2162     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2163           export ac_cv_exeext
2164           break;;
2165     * ) break;;
2166   esac
2167 done
2168 else
2169   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2170 See \`config.log' for more details." >&5
2171 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2172 See \`config.log' for more details." >&2;}
2173    { (exit 1); exit 1; }; }
2174 fi
2175
2176 rm -f conftest$ac_cv_exeext
2177 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2178 echo "${ECHO_T}$ac_cv_exeext" >&6
2179
2180 rm -f conftest.$ac_ext
2181 EXEEXT=$ac_cv_exeext
2182 ac_exeext=$EXEEXT
2183 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2184 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2185 if test "${ac_cv_objext+set}" = set; then
2186   echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188   cat >conftest.$ac_ext <<_ACEOF
2189 /* confdefs.h.  */
2190 _ACEOF
2191 cat confdefs.h >>conftest.$ac_ext
2192 cat >>conftest.$ac_ext <<_ACEOF
2193 /* end confdefs.h.  */
2194
2195 int
2196 main ()
2197 {
2198
2199   ;
2200   return 0;
2201 }
2202 _ACEOF
2203 rm -f conftest.o conftest.obj
2204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2205   (eval $ac_compile) 2>&5
2206   ac_status=$?
2207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208   (exit $ac_status); }; then
2209   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2210   case $ac_file in
2211     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2212     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2213        break;;
2214   esac
2215 done
2216 else
2217   echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.$ac_ext >&5
2219
2220 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2221 See \`config.log' for more details." >&5
2222 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2223 See \`config.log' for more details." >&2;}
2224    { (exit 1); exit 1; }; }
2225 fi
2226
2227 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2228 fi
2229 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2230 echo "${ECHO_T}$ac_cv_objext" >&6
2231 OBJEXT=$ac_cv_objext
2232 ac_objext=$OBJEXT
2233 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2234 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2235 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2236   echo $ECHO_N "(cached) $ECHO_C" >&6
2237 else
2238   cat >conftest.$ac_ext <<_ACEOF
2239 /* confdefs.h.  */
2240 _ACEOF
2241 cat confdefs.h >>conftest.$ac_ext
2242 cat >>conftest.$ac_ext <<_ACEOF
2243 /* end confdefs.h.  */
2244
2245 int
2246 main ()
2247 {
2248 #ifndef __GNUC__
2249        choke me
2250 #endif
2251
2252   ;
2253   return 0;
2254 }
2255 _ACEOF
2256 rm -f conftest.$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258   (eval $ac_compile) 2>conftest.er1
2259   ac_status=$?
2260   grep -v '^ *+' conftest.er1 >conftest.err
2261   rm -f conftest.er1
2262   cat conftest.err >&5
2263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264   (exit $ac_status); } &&
2265          { ac_try='test -z "$ac_c_werror_flag"
2266                          || test ! -s conftest.err'
2267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268   (eval $ac_try) 2>&5
2269   ac_status=$?
2270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271   (exit $ac_status); }; } &&
2272          { ac_try='test -s conftest.$ac_objext'
2273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274   (eval $ac_try) 2>&5
2275   ac_status=$?
2276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277   (exit $ac_status); }; }; then
2278   ac_compiler_gnu=yes
2279 else
2280   echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2282
2283 ac_compiler_gnu=no
2284 fi
2285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2286 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2287
2288 fi
2289 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2290 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2291 GCC=`test $ac_compiler_gnu = yes && echo yes`
2292 ac_test_CFLAGS=${CFLAGS+set}
2293 ac_save_CFLAGS=$CFLAGS
2294 CFLAGS="-g"
2295 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2296 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2297 if test "${ac_cv_prog_cc_g+set}" = set; then
2298   echo $ECHO_N "(cached) $ECHO_C" >&6
2299 else
2300   cat >conftest.$ac_ext <<_ACEOF
2301 /* confdefs.h.  */
2302 _ACEOF
2303 cat confdefs.h >>conftest.$ac_ext
2304 cat >>conftest.$ac_ext <<_ACEOF
2305 /* end confdefs.h.  */
2306
2307 int
2308 main ()
2309 {
2310
2311   ;
2312   return 0;
2313 }
2314 _ACEOF
2315 rm -f conftest.$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317   (eval $ac_compile) 2>conftest.er1
2318   ac_status=$?
2319   grep -v '^ *+' conftest.er1 >conftest.err
2320   rm -f conftest.er1
2321   cat conftest.err >&5
2322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323   (exit $ac_status); } &&
2324          { ac_try='test -z "$ac_c_werror_flag"
2325                          || test ! -s conftest.err'
2326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327   (eval $ac_try) 2>&5
2328   ac_status=$?
2329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330   (exit $ac_status); }; } &&
2331          { ac_try='test -s conftest.$ac_objext'
2332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333   (eval $ac_try) 2>&5
2334   ac_status=$?
2335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336   (exit $ac_status); }; }; then
2337   ac_cv_prog_cc_g=yes
2338 else
2339   echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2341
2342 ac_cv_prog_cc_g=no
2343 fi
2344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2345 fi
2346 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2347 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2348 if test "$ac_test_CFLAGS" = set; then
2349   CFLAGS=$ac_save_CFLAGS
2350 elif test $ac_cv_prog_cc_g = yes; then
2351   if test "$GCC" = yes; then
2352     CFLAGS="-g -O2"
2353   else
2354     CFLAGS="-g"
2355   fi
2356 else
2357   if test "$GCC" = yes; then
2358     CFLAGS="-O2"
2359   else
2360     CFLAGS=
2361   fi
2362 fi
2363 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2364 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2365 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2366   echo $ECHO_N "(cached) $ECHO_C" >&6
2367 else
2368   ac_cv_prog_cc_stdc=no
2369 ac_save_CC=$CC
2370 cat >conftest.$ac_ext <<_ACEOF
2371 /* confdefs.h.  */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h.  */
2376 #include <stdarg.h>
2377 #include <stdio.h>
2378 #include <sys/types.h>
2379 #include <sys/stat.h>
2380 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2381 struct buf { int x; };
2382 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2383 static char *e (p, i)
2384      char **p;
2385      int i;
2386 {
2387   return p[i];
2388 }
2389 static char *f (char * (*g) (char **, int), char **p, ...)
2390 {
2391   char *s;
2392   va_list v;
2393   va_start (v,p);
2394   s = g (p, va_arg (v,int));
2395   va_end (v);
2396   return s;
2397 }
2398
2399 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2400    function prototypes and stuff, but not '\xHH' hex character constants.
2401    These don't provoke an error unfortunately, instead are silently treated
2402    as 'x'.  The following induces an error, until -std1 is added to get
2403    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2404    array size at least.  It's necessary to write '\x00'==0 to get something
2405    that's true only with -std1.  */
2406 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2407
2408 int test (int i, double x);
2409 struct s1 {int (*f) (int a);};
2410 struct s2 {int (*f) (double a);};
2411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2412 int argc;
2413 char **argv;
2414 int
2415 main ()
2416 {
2417 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2418   ;
2419   return 0;
2420 }
2421 _ACEOF
2422 # Don't try gcc -ansi; that turns off useful extensions and
2423 # breaks some systems' header files.
2424 # AIX                   -qlanglvl=ansi
2425 # Ultrix and OSF/1      -std1
2426 # HP-UX 10.20 and later -Ae
2427 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2428 # SVR4                  -Xc -D__EXTENSIONS__
2429 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2430 do
2431   CC="$ac_save_CC $ac_arg"
2432   rm -f conftest.$ac_objext
2433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2434   (eval $ac_compile) 2>conftest.er1
2435   ac_status=$?
2436   grep -v '^ *+' conftest.er1 >conftest.err
2437   rm -f conftest.er1
2438   cat conftest.err >&5
2439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440   (exit $ac_status); } &&
2441          { ac_try='test -z "$ac_c_werror_flag"
2442                          || test ! -s conftest.err'
2443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444   (eval $ac_try) 2>&5
2445   ac_status=$?
2446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447   (exit $ac_status); }; } &&
2448          { ac_try='test -s conftest.$ac_objext'
2449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450   (eval $ac_try) 2>&5
2451   ac_status=$?
2452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453   (exit $ac_status); }; }; then
2454   ac_cv_prog_cc_stdc=$ac_arg
2455 break
2456 else
2457   echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.$ac_ext >&5
2459
2460 fi
2461 rm -f conftest.err conftest.$ac_objext
2462 done
2463 rm -f conftest.$ac_ext conftest.$ac_objext
2464 CC=$ac_save_CC
2465
2466 fi
2467
2468 case "x$ac_cv_prog_cc_stdc" in
2469   x|xno)
2470     echo "$as_me:$LINENO: result: none needed" >&5
2471 echo "${ECHO_T}none needed" >&6 ;;
2472   *)
2473     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2474 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2475     CC="$CC $ac_cv_prog_cc_stdc" ;;
2476 esac
2477
2478 # Some people use a C++ compiler to compile C.  Since we use `exit',
2479 # in C++ we need to declare it.  In case someone uses the same compiler
2480 # for both compiling C and C++ we need to have the C++ compiler decide
2481 # the declaration of exit, since it's the most demanding environment.
2482 cat >conftest.$ac_ext <<_ACEOF
2483 #ifndef __cplusplus
2484   choke me
2485 #endif
2486 _ACEOF
2487 rm -f conftest.$ac_objext
2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489   (eval $ac_compile) 2>conftest.er1
2490   ac_status=$?
2491   grep -v '^ *+' conftest.er1 >conftest.err
2492   rm -f conftest.er1
2493   cat conftest.err >&5
2494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495   (exit $ac_status); } &&
2496          { ac_try='test -z "$ac_c_werror_flag"
2497                          || test ! -s conftest.err'
2498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499   (eval $ac_try) 2>&5
2500   ac_status=$?
2501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502   (exit $ac_status); }; } &&
2503          { ac_try='test -s conftest.$ac_objext'
2504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505   (eval $ac_try) 2>&5
2506   ac_status=$?
2507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508   (exit $ac_status); }; }; then
2509   for ac_declaration in \
2510    '' \
2511    'extern "C" void std::exit (int) throw (); using std::exit;' \
2512    'extern "C" void std::exit (int); using std::exit;' \
2513    'extern "C" void exit (int) throw ();' \
2514    'extern "C" void exit (int);' \
2515    'void exit (int);'
2516 do
2517   cat >conftest.$ac_ext <<_ACEOF
2518 /* confdefs.h.  */
2519 _ACEOF
2520 cat confdefs.h >>conftest.$ac_ext
2521 cat >>conftest.$ac_ext <<_ACEOF
2522 /* end confdefs.h.  */
2523 $ac_declaration
2524 #include <stdlib.h>
2525 int
2526 main ()
2527 {
2528 exit (42);
2529   ;
2530   return 0;
2531 }
2532 _ACEOF
2533 rm -f conftest.$ac_objext
2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535   (eval $ac_compile) 2>conftest.er1
2536   ac_status=$?
2537   grep -v '^ *+' conftest.er1 >conftest.err
2538   rm -f conftest.er1
2539   cat conftest.err >&5
2540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541   (exit $ac_status); } &&
2542          { ac_try='test -z "$ac_c_werror_flag"
2543                          || test ! -s conftest.err'
2544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545   (eval $ac_try) 2>&5
2546   ac_status=$?
2547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548   (exit $ac_status); }; } &&
2549          { ac_try='test -s conftest.$ac_objext'
2550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551   (eval $ac_try) 2>&5
2552   ac_status=$?
2553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554   (exit $ac_status); }; }; then
2555   :
2556 else
2557   echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2559
2560 continue
2561 fi
2562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2563   cat >conftest.$ac_ext <<_ACEOF
2564 /* confdefs.h.  */
2565 _ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h.  */
2569 $ac_declaration
2570 int
2571 main ()
2572 {
2573 exit (42);
2574   ;
2575   return 0;
2576 }
2577 _ACEOF
2578 rm -f conftest.$ac_objext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580   (eval $ac_compile) 2>conftest.er1
2581   ac_status=$?
2582   grep -v '^ *+' conftest.er1 >conftest.err
2583   rm -f conftest.er1
2584   cat conftest.err >&5
2585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586   (exit $ac_status); } &&
2587          { ac_try='test -z "$ac_c_werror_flag"
2588                          || test ! -s conftest.err'
2589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590   (eval $ac_try) 2>&5
2591   ac_status=$?
2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593   (exit $ac_status); }; } &&
2594          { ac_try='test -s conftest.$ac_objext'
2595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596   (eval $ac_try) 2>&5
2597   ac_status=$?
2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599   (exit $ac_status); }; }; then
2600   break
2601 else
2602   echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 fi
2606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2607 done
2608 rm -f conftest*
2609 if test -n "$ac_declaration"; then
2610   echo '#ifdef __cplusplus' >>confdefs.h
2611   echo $ac_declaration      >>confdefs.h
2612   echo '#endif'             >>confdefs.h
2613 fi
2614
2615 else
2616   echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2618
2619 fi
2620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2621 ac_ext=c
2622 ac_cpp='$CPP $CPPFLAGS'
2623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626 DEPDIR="${am__leading_dot}deps"
2627
2628           ac_config_commands="$ac_config_commands depfiles"
2629
2630
2631 am_make=${MAKE-make}
2632 cat > confinc << 'END'
2633 am__doit:
2634         @echo done
2635 .PHONY: am__doit
2636 END
2637 # If we don't find an include directive, just comment out the code.
2638 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2639 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2640 am__include="#"
2641 am__quote=
2642 _am_result=none
2643 # First try GNU make style include.
2644 echo "include confinc" > confmf
2645 # We grep out `Entering directory' and `Leaving directory'
2646 # messages which can occur if `w' ends up in MAKEFLAGS.
2647 # In particular we don't look at `^make:' because GNU make might
2648 # be invoked under some other name (usually "gmake"), in which
2649 # case it prints its new name instead of `make'.
2650 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2651    am__include=include
2652    am__quote=
2653    _am_result=GNU
2654 fi
2655 # Now try BSD make style include.
2656 if test "$am__include" = "#"; then
2657    echo '.include "confinc"' > confmf
2658    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2659       am__include=.include
2660       am__quote="\""
2661       _am_result=BSD
2662    fi
2663 fi
2664
2665
2666 echo "$as_me:$LINENO: result: $_am_result" >&5
2667 echo "${ECHO_T}$_am_result" >&6
2668 rm -f confinc confmf
2669
2670 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2671 if test "${enable_dependency_tracking+set}" = set; then
2672   enableval="$enable_dependency_tracking"
2673
2674 fi;
2675 if test "x$enable_dependency_tracking" != xno; then
2676   am_depcomp="$ac_aux_dir/depcomp"
2677   AMDEPBACKSLASH='\'
2678 fi
2679
2680
2681 if test "x$enable_dependency_tracking" != xno; then
2682   AMDEP_TRUE=
2683   AMDEP_FALSE='#'
2684 else
2685   AMDEP_TRUE='#'
2686   AMDEP_FALSE=
2687 fi
2688
2689
2690
2691
2692 depcc="$CC"   am_compiler_list=
2693
2694 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2695 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2696 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2697   echo $ECHO_N "(cached) $ECHO_C" >&6
2698 else
2699   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2700   # We make a subdir and do the tests there.  Otherwise we can end up
2701   # making bogus files that we don't know about and never remove.  For
2702   # instance it was reported that on HP-UX the gcc test will end up
2703   # making a dummy file named `D' -- because `-MD' means `put the output
2704   # in D'.
2705   mkdir conftest.dir
2706   # Copy depcomp to subdir because otherwise we won't find it if we're
2707   # using a relative directory.
2708   cp "$am_depcomp" conftest.dir
2709   cd conftest.dir
2710   # We will build objects and dependencies in a subdirectory because
2711   # it helps to detect inapplicable dependency modes.  For instance
2712   # both Tru64's cc and ICC support -MD to output dependencies as a
2713   # side effect of compilation, but ICC will put the dependencies in
2714   # the current directory while Tru64 will put them in the object
2715   # directory.
2716   mkdir sub
2717
2718   am_cv_CC_dependencies_compiler_type=none
2719   if test "$am_compiler_list" = ""; then
2720      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2721   fi
2722   for depmode in $am_compiler_list; do
2723     # Setup a source with many dependencies, because some compilers
2724     # like to wrap large dependency lists on column 80 (with \), and
2725     # we should not choose a depcomp mode which is confused by this.
2726     #
2727     # We need to recreate these files for each test, as the compiler may
2728     # overwrite some of them when testing with obscure command lines.
2729     # This happens at least with the AIX C compiler.
2730     : > sub/conftest.c
2731     for i in 1 2 3 4 5 6; do
2732       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2733       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2734       # Solaris 8's {/usr,}/bin/sh.
2735       touch sub/conftst$i.h
2736     done
2737     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2738
2739     case $depmode in
2740     nosideeffect)
2741       # after this tag, mechanisms are not by side-effect, so they'll
2742       # only be used when explicitly requested
2743       if test "x$enable_dependency_tracking" = xyes; then
2744         continue
2745       else
2746         break
2747       fi
2748       ;;
2749     none) break ;;
2750     esac
2751     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2752     # mode.  It turns out that the SunPro C++ compiler does not properly
2753     # handle `-M -o', and we need to detect this.
2754     if depmode=$depmode \
2755        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2756        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2757        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2758          >/dev/null 2>conftest.err &&
2759        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2760        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2761        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2762       # icc doesn't choke on unknown options, it will just issue warnings
2763       # or remarks (even with -Werror).  So we grep stderr for any message
2764       # that says an option was ignored or not supported.
2765       # When given -MP, icc 7.0 and 7.1 complain thusly:
2766       #   icc: Command line warning: ignoring option '-M'; no argument required
2767       # The diagnosis changed in icc 8.0:
2768       #   icc: Command line remark: option '-MP' not supported
2769       if (grep 'ignoring option' conftest.err ||
2770           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2771         am_cv_CC_dependencies_compiler_type=$depmode
2772         break
2773       fi
2774     fi
2775   done
2776
2777   cd ..
2778   rm -rf conftest.dir
2779 else
2780   am_cv_CC_dependencies_compiler_type=none
2781 fi
2782
2783 fi
2784 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2785 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2786 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2787
2788
2789
2790 if
2791   test "x$enable_dependency_tracking" != xno \
2792   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2793   am__fastdepCC_TRUE=
2794   am__fastdepCC_FALSE='#'
2795 else
2796   am__fastdepCC_TRUE='#'
2797   am__fastdepCC_FALSE=
2798 fi
2799
2800
2801 if test -n "$ac_tool_prefix"; then
2802   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2803 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2804 echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2806 if test "${ac_cv_prog_RANLIB+set}" = set; then
2807   echo $ECHO_N "(cached) $ECHO_C" >&6
2808 else
2809   if test -n "$RANLIB"; then
2810   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2811 else
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 for as_dir in $PATH
2814 do
2815   IFS=$as_save_IFS
2816   test -z "$as_dir" && as_dir=.
2817   for ac_exec_ext in '' $ac_executable_extensions; do
2818   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2819     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2820     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2821     break 2
2822   fi
2823 done
2824 done
2825
2826 fi
2827 fi
2828 RANLIB=$ac_cv_prog_RANLIB
2829 if test -n "$RANLIB"; then
2830   echo "$as_me:$LINENO: result: $RANLIB" >&5
2831 echo "${ECHO_T}$RANLIB" >&6
2832 else
2833   echo "$as_me:$LINENO: result: no" >&5
2834 echo "${ECHO_T}no" >&6
2835 fi
2836
2837 fi
2838 if test -z "$ac_cv_prog_RANLIB"; then
2839   ac_ct_RANLIB=$RANLIB
2840   # Extract the first word of "ranlib", so it can be a program name with args.
2841 set dummy ranlib; ac_word=$2
2842 echo "$as_me:$LINENO: checking for $ac_word" >&5
2843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2844 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2845   echo $ECHO_N "(cached) $ECHO_C" >&6
2846 else
2847   if test -n "$ac_ct_RANLIB"; then
2848   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2849 else
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 for as_dir in $PATH
2852 do
2853   IFS=$as_save_IFS
2854   test -z "$as_dir" && as_dir=.
2855   for ac_exec_ext in '' $ac_executable_extensions; do
2856   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857     ac_cv_prog_ac_ct_RANLIB="ranlib"
2858     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859     break 2
2860   fi
2861 done
2862 done
2863
2864   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2865 fi
2866 fi
2867 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2868 if test -n "$ac_ct_RANLIB"; then
2869   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2870 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2871 else
2872   echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6
2874 fi
2875
2876   RANLIB=$ac_ct_RANLIB
2877 else
2878   RANLIB="$ac_cv_prog_RANLIB"
2879 fi
2880
2881
2882 # Checks for libraries.
2883 echo "$as_me:$LINENO: checking for gethostent" >&5
2884 echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
2885 if test "${ac_cv_func_gethostent+set}" = set; then
2886   echo $ECHO_N "(cached) $ECHO_C" >&6
2887 else
2888   cat >conftest.$ac_ext <<_ACEOF
2889 /* confdefs.h.  */
2890 _ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h.  */
2894 /* Define gethostent to an innocuous variant, in case <limits.h> declares gethostent.
2895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2896 #define gethostent innocuous_gethostent
2897
2898 /* System header to define __stub macros and hopefully few prototypes,
2899     which can conflict with char gethostent (); below.
2900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2901     <limits.h> exists even on freestanding compilers.  */
2902
2903 #ifdef __STDC__
2904 # include <limits.h>
2905 #else
2906 # include <assert.h>
2907 #endif
2908
2909 #undef gethostent
2910
2911 /* Override any gcc2 internal prototype to avoid an error.  */
2912 #ifdef __cplusplus
2913 extern "C"
2914 {
2915 #endif
2916 /* We use char because int might match the return type of a gcc2
2917    builtin and then its argument prototype would still apply.  */
2918 char gethostent ();
2919 /* The GNU C library defines this for functions which it implements
2920     to always fail with ENOSYS.  Some functions are actually named
2921     something starting with __ and the normal name is an alias.  */
2922 #if defined (__stub_gethostent) || defined (__stub___gethostent)
2923 choke me
2924 #else
2925 char (*f) () = gethostent;
2926 #endif
2927 #ifdef __cplusplus
2928 }
2929 #endif
2930
2931 int
2932 main ()
2933 {
2934 return f != gethostent;
2935   ;
2936   return 0;
2937 }
2938 _ACEOF
2939 rm -f conftest.$ac_objext conftest$ac_exeext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2941   (eval $ac_link) 2>conftest.er1
2942   ac_status=$?
2943   grep -v '^ *+' conftest.er1 >conftest.err
2944   rm -f conftest.er1
2945   cat conftest.err >&5
2946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947   (exit $ac_status); } &&
2948          { ac_try='test -z "$ac_c_werror_flag"
2949                          || test ! -s conftest.err'
2950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951   (eval $ac_try) 2>&5
2952   ac_status=$?
2953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954   (exit $ac_status); }; } &&
2955          { ac_try='test -s conftest$ac_exeext'
2956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957   (eval $ac_try) 2>&5
2958   ac_status=$?
2959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960   (exit $ac_status); }; }; then
2961   ac_cv_func_gethostent=yes
2962 else
2963   echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2965
2966 ac_cv_func_gethostent=no
2967 fi
2968 rm -f conftest.err conftest.$ac_objext \
2969       conftest$ac_exeext conftest.$ac_ext
2970 fi
2971 echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
2972 echo "${ECHO_T}$ac_cv_func_gethostent" >&6
2973 if test $ac_cv_func_gethostent = yes; then
2974   :
2975 else
2976
2977 echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
2978 echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
2979 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
2980   echo $ECHO_N "(cached) $ECHO_C" >&6
2981 else
2982   ac_check_lib_save_LIBS=$LIBS
2983 LIBS="-lnsl -lsocket $LIBS"
2984
2985 cat >conftest.$ac_ext <<_ACEOF
2986 /* confdefs.h.  */
2987 _ACEOF
2988 cat confdefs.h >>conftest.$ac_ext
2989 cat >>conftest.$ac_ext <<_ACEOF
2990 /* end confdefs.h.  */
2991
2992 /* Override any gcc2 internal prototype to avoid an error.  */
2993 #ifdef __cplusplus
2994 extern "C"
2995 #endif
2996 /* We use char because int might match the return type of a gcc2
2997    builtin and then its argument prototype would still apply.  */
2998 char gethostent ();
2999 int
3000 main ()
3001 {
3002 gethostent ();
3003   ;
3004   return 0;
3005 }
3006 _ACEOF
3007 rm -f conftest.$ac_objext conftest$ac_exeext
3008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3009   (eval $ac_link) 2>conftest.er1
3010   ac_status=$?
3011   grep -v '^ *+' conftest.er1 >conftest.err
3012   rm -f conftest.er1
3013   cat conftest.err >&5
3014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015   (exit $ac_status); } &&
3016          { ac_try='test -z "$ac_c_werror_flag"
3017                          || test ! -s conftest.err'
3018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3019   (eval $ac_try) 2>&5
3020   ac_status=$?
3021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022   (exit $ac_status); }; } &&
3023          { ac_try='test -s conftest$ac_exeext'
3024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025   (eval $ac_try) 2>&5
3026   ac_status=$?
3027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028   (exit $ac_status); }; }; then
3029   ac_cv_lib_nsl_gethostent=yes
3030 else
3031   echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3033
3034 ac_cv_lib_nsl_gethostent=no
3035 fi
3036 rm -f conftest.err conftest.$ac_objext \
3037       conftest$ac_exeext conftest.$ac_ext
3038 LIBS=$ac_check_lib_save_LIBS
3039 fi
3040 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
3041 echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
3042 if test $ac_cv_lib_nsl_gethostent = yes; then
3043   cat >>confdefs.h <<_ACEOF
3044 #define HAVE_LIBNSL 1
3045 _ACEOF
3046
3047   LIBS="-lnsl $LIBS"
3048
3049 fi
3050
3051 fi
3052
3053 echo "$as_me:$LINENO: checking for setsockopt" >&5
3054 echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
3055 if test "${ac_cv_func_setsockopt+set}" = set; then
3056   echo $ECHO_N "(cached) $ECHO_C" >&6
3057 else
3058   cat >conftest.$ac_ext <<_ACEOF
3059 /* confdefs.h.  */
3060 _ACEOF
3061 cat confdefs.h >>conftest.$ac_ext
3062 cat >>conftest.$ac_ext <<_ACEOF
3063 /* end confdefs.h.  */
3064 /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
3065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3066 #define setsockopt innocuous_setsockopt
3067
3068 /* System header to define __stub macros and hopefully few prototypes,
3069     which can conflict with char setsockopt (); below.
3070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3071     <limits.h> exists even on freestanding compilers.  */
3072
3073 #ifdef __STDC__
3074 # include <limits.h>
3075 #else
3076 # include <assert.h>
3077 #endif
3078
3079 #undef setsockopt
3080
3081 /* Override any gcc2 internal prototype to avoid an error.  */
3082 #ifdef __cplusplus
3083 extern "C"
3084 {
3085 #endif
3086 /* We use char because int might match the return type of a gcc2
3087    builtin and then its argument prototype would still apply.  */
3088 char setsockopt ();
3089 /* The GNU C library defines this for functions which it implements
3090     to always fail with ENOSYS.  Some functions are actually named
3091     something starting with __ and the normal name is an alias.  */
3092 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
3093 choke me
3094 #else
3095 char (*f) () = setsockopt;
3096 #endif
3097 #ifdef __cplusplus
3098 }
3099 #endif
3100
3101 int
3102 main ()
3103 {
3104 return f != setsockopt;
3105   ;
3106   return 0;
3107 }
3108 _ACEOF
3109 rm -f conftest.$ac_objext conftest$ac_exeext
3110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3111   (eval $ac_link) 2>conftest.er1
3112   ac_status=$?
3113   grep -v '^ *+' conftest.er1 >conftest.err
3114   rm -f conftest.er1
3115   cat conftest.err >&5
3116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117   (exit $ac_status); } &&
3118          { ac_try='test -z "$ac_c_werror_flag"
3119                          || test ! -s conftest.err'
3120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121   (eval $ac_try) 2>&5
3122   ac_status=$?
3123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124   (exit $ac_status); }; } &&
3125          { ac_try='test -s conftest$ac_exeext'
3126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127   (eval $ac_try) 2>&5
3128   ac_status=$?
3129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130   (exit $ac_status); }; }; then
3131   ac_cv_func_setsockopt=yes
3132 else
3133   echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3135
3136 ac_cv_func_setsockopt=no
3137 fi
3138 rm -f conftest.err conftest.$ac_objext \
3139       conftest$ac_exeext conftest.$ac_ext
3140 fi
3141 echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
3142 echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
3143 if test $ac_cv_func_setsockopt = yes; then
3144   :
3145 else
3146
3147 echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
3148 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
3149 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
3150   echo $ECHO_N "(cached) $ECHO_C" >&6
3151 else
3152   ac_check_lib_save_LIBS=$LIBS
3153 LIBS="-lsocket  $LIBS"
3154 cat >conftest.$ac_ext <<_ACEOF
3155 /* confdefs.h.  */
3156 _ACEOF
3157 cat confdefs.h >>conftest.$ac_ext
3158 cat >>conftest.$ac_ext <<_ACEOF
3159 /* end confdefs.h.  */
3160
3161 /* Override any gcc2 internal prototype to avoid an error.  */
3162 #ifdef __cplusplus
3163 extern "C"
3164 #endif
3165 /* We use char because int might match the return type of a gcc2
3166    builtin and then its argument prototype would still apply.  */
3167 char setsockopt ();
3168 int
3169 main ()
3170 {
3171 setsockopt ();
3172   ;
3173   return 0;
3174 }
3175 _ACEOF
3176 rm -f conftest.$ac_objext conftest$ac_exeext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3178   (eval $ac_link) 2>conftest.er1
3179   ac_status=$?
3180   grep -v '^ *+' conftest.er1 >conftest.err
3181   rm -f conftest.er1
3182   cat conftest.err >&5
3183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184   (exit $ac_status); } &&
3185          { ac_try='test -z "$ac_c_werror_flag"
3186                          || test ! -s conftest.err'
3187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188   (eval $ac_try) 2>&5
3189   ac_status=$?
3190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191   (exit $ac_status); }; } &&
3192          { ac_try='test -s conftest$ac_exeext'
3193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194   (eval $ac_try) 2>&5
3195   ac_status=$?
3196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197   (exit $ac_status); }; }; then
3198   ac_cv_lib_socket_setsockopt=yes
3199 else
3200   echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3202
3203 ac_cv_lib_socket_setsockopt=no
3204 fi
3205 rm -f conftest.err conftest.$ac_objext \
3206       conftest$ac_exeext conftest.$ac_ext
3207 LIBS=$ac_check_lib_save_LIBS
3208 fi
3209 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
3210 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
3211 if test $ac_cv_lib_socket_setsockopt = yes; then
3212   cat >>confdefs.h <<_ACEOF
3213 #define HAVE_LIBSOCKET 1
3214 _ACEOF
3215
3216   LIBS="-lsocket $LIBS"
3217
3218 fi
3219
3220 fi
3221
3222 echo "$as_me:$LINENO: checking for res_init" >&5
3223 echo $ECHO_N "checking for res_init... $ECHO_C" >&6
3224 if test "${ac_cv_func_res_init+set}" = set; then
3225   echo $ECHO_N "(cached) $ECHO_C" >&6
3226 else
3227   cat >conftest.$ac_ext <<_ACEOF
3228 /* confdefs.h.  */
3229 _ACEOF
3230 cat confdefs.h >>conftest.$ac_ext
3231 cat >>conftest.$ac_ext <<_ACEOF
3232 /* end confdefs.h.  */
3233 /* Define res_init to an innocuous variant, in case <limits.h> declares res_init.
3234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3235 #define res_init innocuous_res_init
3236
3237 /* System header to define __stub macros and hopefully few prototypes,
3238     which can conflict with char res_init (); below.
3239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3240     <limits.h> exists even on freestanding compilers.  */
3241
3242 #ifdef __STDC__
3243 # include <limits.h>
3244 #else
3245 # include <assert.h>
3246 #endif
3247
3248 #undef res_init
3249
3250 /* Override any gcc2 internal prototype to avoid an error.  */
3251 #ifdef __cplusplus
3252 extern "C"
3253 {
3254 #endif
3255 /* We use char because int might match the return type of a gcc2
3256    builtin and then its argument prototype would still apply.  */
3257 char res_init ();
3258 /* The GNU C library defines this for functions which it implements
3259     to always fail with ENOSYS.  Some functions are actually named
3260     something starting with __ and the normal name is an alias.  */
3261 #if defined (__stub_res_init) || defined (__stub___res_init)
3262 choke me
3263 #else
3264 char (*f) () = res_init;
3265 #endif
3266 #ifdef __cplusplus
3267 }
3268 #endif
3269
3270 int
3271 main ()
3272 {
3273 return f != res_init;
3274   ;
3275   return 0;
3276 }
3277 _ACEOF
3278 rm -f conftest.$ac_objext conftest$ac_exeext
3279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3280   (eval $ac_link) 2>conftest.er1
3281   ac_status=$?
3282   grep -v '^ *+' conftest.er1 >conftest.err
3283   rm -f conftest.er1
3284   cat conftest.err >&5
3285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286   (exit $ac_status); } &&
3287          { ac_try='test -z "$ac_c_werror_flag"
3288                          || test ! -s conftest.err'
3289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3290   (eval $ac_try) 2>&5
3291   ac_status=$?
3292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293   (exit $ac_status); }; } &&
3294          { ac_try='test -s conftest$ac_exeext'
3295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3296   (eval $ac_try) 2>&5
3297   ac_status=$?
3298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299   (exit $ac_status); }; }; then
3300   ac_cv_func_res_init=yes
3301 else
3302   echo "$as_me: failed program was:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3304
3305 ac_cv_func_res_init=no
3306 fi
3307 rm -f conftest.err conftest.$ac_objext \
3308       conftest$ac_exeext conftest.$ac_ext
3309 fi
3310 echo "$as_me:$LINENO: result: $ac_cv_func_res_init" >&5
3311 echo "${ECHO_T}$ac_cv_func_res_init" >&6
3312 if test $ac_cv_func_res_init = yes; then
3313   :
3314 else
3315
3316 echo "$as_me:$LINENO: checking for res_init in -lresolv" >&5
3317 echo $ECHO_N "checking for res_init in -lresolv... $ECHO_C" >&6
3318 if test "${ac_cv_lib_resolv_res_init+set}" = set; then
3319   echo $ECHO_N "(cached) $ECHO_C" >&6
3320 else
3321   ac_check_lib_save_LIBS=$LIBS
3322 LIBS="-lresolv  $LIBS"
3323 cat >conftest.$ac_ext <<_ACEOF
3324 /* confdefs.h.  */
3325 _ACEOF
3326 cat confdefs.h >>conftest.$ac_ext
3327 cat >>conftest.$ac_ext <<_ACEOF
3328 /* end confdefs.h.  */
3329
3330 /* Override any gcc2 internal prototype to avoid an error.  */
3331 #ifdef __cplusplus
3332 extern "C"
3333 #endif
3334 /* We use char because int might match the return type of a gcc2
3335    builtin and then its argument prototype would still apply.  */
3336 char res_init ();
3337 int
3338 main ()
3339 {
3340 res_init ();
3341   ;
3342   return 0;
3343 }
3344 _ACEOF
3345 rm -f conftest.$ac_objext conftest$ac_exeext
3346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3347   (eval $ac_link) 2>conftest.er1
3348   ac_status=$?
3349   grep -v '^ *+' conftest.er1 >conftest.err
3350   rm -f conftest.er1
3351   cat conftest.err >&5
3352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353   (exit $ac_status); } &&
3354          { ac_try='test -z "$ac_c_werror_flag"
3355                          || test ! -s conftest.err'
3356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357   (eval $ac_try) 2>&5
3358   ac_status=$?
3359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360   (exit $ac_status); }; } &&
3361          { ac_try='test -s conftest$ac_exeext'
3362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363   (eval $ac_try) 2>&5
3364   ac_status=$?
3365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366   (exit $ac_status); }; }; then
3367   ac_cv_lib_resolv_res_init=yes
3368 else
3369   echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3371
3372 ac_cv_lib_resolv_res_init=no
3373 fi
3374 rm -f conftest.err conftest.$ac_objext \
3375       conftest$ac_exeext conftest.$ac_ext
3376 LIBS=$ac_check_lib_save_LIBS
3377 fi
3378 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_init" >&5
3379 echo "${ECHO_T}$ac_cv_lib_resolv_res_init" >&6
3380 if test $ac_cv_lib_resolv_res_init = yes; then
3381   cat >>confdefs.h <<_ACEOF
3382 #define HAVE_LIBRESOLV 1
3383 _ACEOF
3384
3385   LIBS="-lresolv $LIBS"
3386
3387 fi
3388
3389 fi
3390
3391
3392 # Checks for header files.
3393
3394 # Checks for typedefs, structures, and compiler characteristics.
3395
3396 echo "$as_me:$LINENO: checking for u_int32_t" >&5
3397 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3398 if test "${ac_cv_type_u_int32_t+set}" = set; then
3399   echo $ECHO_N "(cached) $ECHO_C" >&6
3400 else
3401   cat >conftest.$ac_ext <<_ACEOF
3402 /* confdefs.h.  */
3403 _ACEOF
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h.  */
3407
3408 #include <sys/types.h>
3409 #include <netinet/in.h>
3410
3411 int
3412 main ()
3413 {
3414 if ((u_int32_t *) 0)
3415   return 0;
3416 if (sizeof (u_int32_t))
3417   return 0;
3418   ;
3419   return 0;
3420 }
3421 _ACEOF
3422 rm -f conftest.$ac_objext
3423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3424   (eval $ac_compile) 2>conftest.er1
3425   ac_status=$?
3426   grep -v '^ *+' conftest.er1 >conftest.err
3427   rm -f conftest.er1
3428   cat conftest.err >&5
3429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430   (exit $ac_status); } &&
3431          { ac_try='test -z "$ac_c_werror_flag"
3432                          || test ! -s conftest.err'
3433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434   (eval $ac_try) 2>&5
3435   ac_status=$?
3436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437   (exit $ac_status); }; } &&
3438          { ac_try='test -s conftest.$ac_objext'
3439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3440   (eval $ac_try) 2>&5
3441   ac_status=$?
3442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443   (exit $ac_status); }; }; then
3444   ac_cv_type_u_int32_t=yes
3445 else
3446   echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3448
3449 ac_cv_type_u_int32_t=no
3450 fi
3451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3452 fi
3453 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
3454 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3455 if test $ac_cv_type_u_int32_t = yes; then
3456   :
3457 else
3458
3459 cat >>confdefs.h <<\_ACEOF
3460 #define u_int32_t unsigned int
3461 _ACEOF
3462
3463 fi
3464
3465
3466 echo "$as_me:$LINENO: checking for name of NS address list" >&5
3467 echo $ECHO_N "checking for name of NS address list... $ECHO_C" >&6
3468 if test "${ac_cv_var_ns_addr_list+set}" = set; then
3469   echo $ECHO_N "(cached) $ECHO_C" >&6
3470 else
3471   ans=''
3472 # Normal
3473 cat >conftest.$ac_ext <<_ACEOF
3474 /* confdefs.h.  */
3475 _ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h.  */
3479
3480 #include <sys/types.h>
3481 #include <netinet/in.h>
3482 #include <arpa/nameser.h>
3483 #include <resolv.h>
3484 int
3485 main ()
3486 {
3487  return sizeof(_res.nsaddr_list);
3488   ;
3489   return 0;
3490 }
3491 _ACEOF
3492 rm -f conftest.$ac_objext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494   (eval $ac_compile) 2>conftest.er1
3495   ac_status=$?
3496   grep -v '^ *+' conftest.er1 >conftest.err
3497   rm -f conftest.er1
3498   cat conftest.err >&5
3499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500   (exit $ac_status); } &&
3501          { ac_try='test -z "$ac_c_werror_flag"
3502                          || test ! -s conftest.err'
3503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504   (eval $ac_try) 2>&5
3505   ac_status=$?
3506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507   (exit $ac_status); }; } &&
3508          { ac_try='test -s conftest.$ac_objext'
3509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510   (eval $ac_try) 2>&5
3511   ac_status=$?
3512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513   (exit $ac_status); }; }; then
3514   ans=nsaddr_list
3515 else
3516   echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 # Ultrix
3520 cat >conftest.$ac_ext <<_ACEOF
3521 /* confdefs.h.  */
3522 _ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h.  */
3526
3527 #include <sys/types.h>
3528 #include <netinet/in.h>
3529 #include <arpa/nameser.h>
3530 #include <resolv.h>
3531 int
3532 main ()
3533 {
3534  return sizeof(_res.ns_list);
3535   ;
3536   return 0;
3537 }
3538 _ACEOF
3539 rm -f conftest.$ac_objext
3540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3541   (eval $ac_compile) 2>conftest.er1
3542   ac_status=$?
3543   grep -v '^ *+' conftest.er1 >conftest.err
3544   rm -f conftest.er1
3545   cat conftest.err >&5
3546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547   (exit $ac_status); } &&
3548          { ac_try='test -z "$ac_c_werror_flag"
3549                          || test ! -s conftest.err'
3550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551   (eval $ac_try) 2>&5
3552   ac_status=$?
3553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554   (exit $ac_status); }; } &&
3555          { ac_try='test -s conftest.$ac_objext'
3556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3557   (eval $ac_try) 2>&5
3558   ac_status=$?
3559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560   (exit $ac_status); }; }; then
3561   ans=ns_list
3562 else
3563   echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.$ac_ext >&5
3565
3566 fi
3567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3568 fi
3569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3570         case "$ans" in
3571          '') echo "$as_me:$LINENO: result: ???" >&5
3572 echo "${ECHO_T}???" >&6
3573              { { echo "$as_me:$LINENO: error: Can't find nameserver address list in _res" >&5
3574 echo "$as_me: error: Can't find nameserver address list in _res" >&2;}
3575    { (exit 1); exit 1; }; }
3576              ;;
3577         esac
3578         ac_cv_var_ns_addr_list=$ans
3579 fi
3580 echo "$as_me:$LINENO: result: $ac_cv_var_ns_addr_list" >&5
3581 echo "${ECHO_T}$ac_cv_var_ns_addr_list" >&6
3582
3583 cat >>confdefs.h <<_ACEOF
3584 #define NS_ADDR_LIST $ans
3585 _ACEOF
3586
3587
3588 # Checks for library functions.
3589
3590           ac_config_files="$ac_config_files Makefile"
3591
3592 cat >confcache <<\_ACEOF
3593 # This file is a shell script that caches the results of configure
3594 # tests run on this system so they can be shared between configure
3595 # scripts and configure runs, see configure's option --config-cache.
3596 # It is not useful on other systems.  If it contains results you don't
3597 # want to keep, you may remove or edit it.
3598 #
3599 # config.status only pays attention to the cache file if you give it
3600 # the --recheck option to rerun configure.
3601 #
3602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3604 # following values.
3605
3606 _ACEOF
3607
3608 # The following way of writing the cache mishandles newlines in values,
3609 # but we know of no workaround that is simple, portable, and efficient.
3610 # So, don't put newlines in cache variables' values.
3611 # Ultrix sh set writes to stderr and can't be redirected directly,
3612 # and sets the high bit in the cache file unless we assign to the vars.
3613 {
3614   (set) 2>&1 |
3615     case `(ac_space=' '; set | grep ac_space) 2>&1` in
3616     *ac_space=\ *)
3617       # `set' does not quote correctly, so add quotes (double-quote
3618       # substitution turns \\\\ into \\, and sed turns \\ into \).
3619       sed -n \
3620         "s/'/'\\\\''/g;
3621           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3622       ;;
3623     *)
3624       # `set' quotes correctly as required by POSIX, so do not add quotes.
3625       sed -n \
3626         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3627       ;;
3628     esac;
3629 } |
3630   sed '
3631      t clear
3632      : clear
3633      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3634      t end
3635      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3636      : end' >>confcache
3637 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3638   if test -w $cache_file; then
3639     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3640     cat confcache >$cache_file
3641   else
3642     echo "not updating unwritable cache $cache_file"
3643   fi
3644 fi
3645 rm -f confcache
3646
3647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3648 # Let make expand exec_prefix.
3649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3650
3651 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3652 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3653 # trailing colons and then remove the whole line if VPATH becomes empty
3654 # (actually we leave an empty line to preserve line numbers).
3655 if test "x$srcdir" = x.; then
3656   ac_vpsub='/^[  ]*VPATH[        ]*=/{
3657 s/:*\$(srcdir):*/:/;
3658 s/:*\${srcdir}:*/:/;
3659 s/:*@srcdir@:*/:/;
3660 s/^\([^=]*=[     ]*\):*/\1/;
3661 s/:*$//;
3662 s/^[^=]*=[       ]*$//;
3663 }'
3664 fi
3665
3666 # Transform confdefs.h into DEFS.
3667 # Protect against shell expansion while executing Makefile rules.
3668 # Protect against Makefile macro expansion.
3669 #
3670 # If the first sed substitution is executed (which looks for macros that
3671 # take arguments), then we branch to the quote section.  Otherwise,
3672 # look for a macro that doesn't take arguments.
3673 cat >confdef2opt.sed <<\_ACEOF
3674 t clear
3675 : clear
3676 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3677 t quote
3678 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3679 t quote
3680 d
3681 : quote
3682 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
3683 s,\[,\\&,g
3684 s,\],\\&,g
3685 s,\$,$$,g
3686 p
3687 _ACEOF
3688 # We use echo to avoid assuming a particular line-breaking character.
3689 # The extra dot is to prevent the shell from consuming trailing
3690 # line-breaks from the sub-command output.  A line-break within
3691 # single-quotes doesn't work because, if this script is created in a
3692 # platform that uses two characters for line-breaks (e.g., DOS), tr
3693 # would break.
3694 ac_LF_and_DOT=`echo; echo .`
3695 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3696 rm -f confdef2opt.sed
3697
3698
3699 ac_libobjs=
3700 ac_ltlibobjs=
3701 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3702   # 1. Remove the extension, and $U if already installed.
3703   ac_i=`echo "$ac_i" |
3704          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3705   # 2. Add them.
3706   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3707   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3708 done
3709 LIBOBJS=$ac_libobjs
3710
3711 LTLIBOBJS=$ac_ltlibobjs
3712
3713
3714 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3715   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3716 Usually this means the macro was only invoked conditionally." >&5
3717 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3718 Usually this means the macro was only invoked conditionally." >&2;}
3719    { (exit 1); exit 1; }; }
3720 fi
3721 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3722   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3723 Usually this means the macro was only invoked conditionally." >&5
3724 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3725 Usually this means the macro was only invoked conditionally." >&2;}
3726    { (exit 1); exit 1; }; }
3727 fi
3728
3729 : ${CONFIG_STATUS=./config.status}
3730 ac_clean_files_save=$ac_clean_files
3731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3732 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3733 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3734 cat >$CONFIG_STATUS <<_ACEOF
3735 #! $SHELL
3736 # Generated by $as_me.
3737 # Run this file to recreate the current configuration.
3738 # Compiler output produced by configure, useful for debugging
3739 # configure, is in config.log if it exists.
3740
3741 debug=false
3742 ac_cs_recheck=false
3743 ac_cs_silent=false
3744 SHELL=\${CONFIG_SHELL-$SHELL}
3745 _ACEOF
3746
3747 cat >>$CONFIG_STATUS <<\_ACEOF
3748 ## --------------------- ##
3749 ## M4sh Initialization.  ##
3750 ## --------------------- ##
3751
3752 # Be Bourne compatible
3753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3754   emulate sh
3755   NULLCMD=:
3756   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3757   # is contrary to our usage.  Disable this feature.
3758   alias -g '${1+"$@"}'='"$@"'
3759 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3760   set -o posix
3761 fi
3762 DUALCASE=1; export DUALCASE # for MKS sh
3763
3764 # Support unset when possible.
3765 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3766   as_unset=unset
3767 else
3768   as_unset=false
3769 fi
3770
3771
3772 # Work around bugs in pre-3.0 UWIN ksh.
3773 $as_unset ENV MAIL MAILPATH
3774 PS1='$ '
3775 PS2='> '
3776 PS4='+ '
3777
3778 # NLS nuisances.
3779 for as_var in \
3780   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3781   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3782   LC_TELEPHONE LC_TIME
3783 do
3784   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3785     eval $as_var=C; export $as_var
3786   else
3787     $as_unset $as_var
3788   fi
3789 done
3790
3791 # Required to use basename.
3792 if expr a : '\(a\)' >/dev/null 2>&1; then
3793   as_expr=expr
3794 else
3795   as_expr=false
3796 fi
3797
3798 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3799   as_basename=basename
3800 else
3801   as_basename=false
3802 fi
3803
3804
3805 # Name of the executable.
3806 as_me=`$as_basename "$0" ||
3807 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3808          X"$0" : 'X\(//\)$' \| \
3809          X"$0" : 'X\(/\)$' \| \
3810          .     : '\(.\)' 2>/dev/null ||
3811 echo X/"$0" |
3812     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3813           /^X\/\(\/\/\)$/{ s//\1/; q; }
3814           /^X\/\(\/\).*/{ s//\1/; q; }
3815           s/.*/./; q'`
3816
3817
3818 # PATH needs CR, and LINENO needs CR and PATH.
3819 # Avoid depending upon Character Ranges.
3820 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3821 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3822 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3823 as_cr_digits='0123456789'
3824 as_cr_alnum=$as_cr_Letters$as_cr_digits
3825
3826 # The user is always right.
3827 if test "${PATH_SEPARATOR+set}" != set; then
3828   echo "#! /bin/sh" >conf$$.sh
3829   echo  "exit 0"   >>conf$$.sh
3830   chmod +x conf$$.sh
3831   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3832     PATH_SEPARATOR=';'
3833   else
3834     PATH_SEPARATOR=:
3835   fi
3836   rm -f conf$$.sh
3837 fi
3838
3839
3840   as_lineno_1=$LINENO
3841   as_lineno_2=$LINENO
3842   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3843   test "x$as_lineno_1" != "x$as_lineno_2" &&
3844   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3845   # Find who we are.  Look in the path if we contain no path at all
3846   # relative or not.
3847   case $0 in
3848     *[\\/]* ) as_myself=$0 ;;
3849     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 for as_dir in $PATH
3851 do
3852   IFS=$as_save_IFS
3853   test -z "$as_dir" && as_dir=.
3854   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3855 done
3856
3857        ;;
3858   esac
3859   # We did not find ourselves, most probably we were run as `sh COMMAND'
3860   # in which case we are not to be found in the path.
3861   if test "x$as_myself" = x; then
3862     as_myself=$0
3863   fi
3864   if test ! -f "$as_myself"; then
3865     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3866 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3867    { (exit 1); exit 1; }; }
3868   fi
3869   case $CONFIG_SHELL in
3870   '')
3871     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3873 do
3874   IFS=$as_save_IFS
3875   test -z "$as_dir" && as_dir=.
3876   for as_base in sh bash ksh sh5; do
3877          case $as_dir in
3878          /*)
3879            if ("$as_dir/$as_base" -c '
3880   as_lineno_1=$LINENO
3881   as_lineno_2=$LINENO
3882   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3883   test "x$as_lineno_1" != "x$as_lineno_2" &&
3884   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3885              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3886              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3887              CONFIG_SHELL=$as_dir/$as_base
3888              export CONFIG_SHELL
3889              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3890            fi;;
3891          esac
3892        done
3893 done
3894 ;;
3895   esac
3896
3897   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3898   # uniformly replaced by the line number.  The first 'sed' inserts a
3899   # line-number line before each line; the second 'sed' does the real
3900   # work.  The second script uses 'N' to pair each line-number line
3901   # with the numbered line, and appends trailing '-' during
3902   # substitution so that $LINENO is not a special case at line end.
3903   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3904   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3905   sed '=' <$as_myself |
3906     sed '
3907       N
3908       s,$,-,
3909       : loop
3910       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3911       t loop
3912       s,-$,,
3913       s,^['$as_cr_digits']*\n,,
3914     ' >$as_me.lineno &&
3915   chmod +x $as_me.lineno ||
3916     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3917 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3918    { (exit 1); exit 1; }; }
3919
3920   # Don't try to exec as it changes $[0], causing all sort of problems
3921   # (the dirname of $[0] is not the place where we might find the
3922   # original and so on.  Autoconf is especially sensible to this).
3923   . ./$as_me.lineno
3924   # Exit status is that of the last command.
3925   exit
3926 }
3927
3928
3929 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3930   *c*,-n*) ECHO_N= ECHO_C='
3931 ' ECHO_T='      ' ;;
3932   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3933   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3934 esac
3935
3936 if expr a : '\(a\)' >/dev/null 2>&1; then
3937   as_expr=expr
3938 else
3939   as_expr=false
3940 fi
3941
3942 rm -f conf$$ conf$$.exe conf$$.file
3943 echo >conf$$.file
3944 if ln -s conf$$.file conf$$ 2>/dev/null; then
3945   # We could just check for DJGPP; but this test a) works b) is more generic
3946   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3947   if test -f conf$$.exe; then
3948     # Don't use ln at all; we don't have any links
3949     as_ln_s='cp -p'
3950   else
3951     as_ln_s='ln -s'
3952   fi
3953 elif ln conf$$.file conf$$ 2>/dev/null; then
3954   as_ln_s=ln
3955 else
3956   as_ln_s='cp -p'
3957 fi
3958 rm -f conf$$ conf$$.exe conf$$.file
3959
3960 if mkdir -p . 2>/dev/null; then
3961   as_mkdir_p=:
3962 else
3963   test -d ./-p && rmdir ./-p
3964   as_mkdir_p=false
3965 fi
3966
3967 as_executable_p="test -f"
3968
3969 # Sed expression to map a string onto a valid CPP name.
3970 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3971
3972 # Sed expression to map a string onto a valid variable name.
3973 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3974
3975
3976 # IFS
3977 # We need space, tab and new line, in precisely that order.
3978 as_nl='
3979 '
3980 IFS="   $as_nl"
3981
3982 # CDPATH.
3983 $as_unset CDPATH
3984
3985 exec 6>&1
3986
3987 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3988 # report actual input values of CONFIG_FILES etc. instead of their
3989 # values after options handling.  Logging --version etc. is OK.
3990 exec 5>>config.log
3991 {
3992   echo
3993   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3994 ## Running $as_me. ##
3995 _ASBOX
3996 } >&5
3997 cat >&5 <<_CSEOF
3998
3999 This file was extended by $as_me, which was
4000 generated by GNU Autoconf 2.59.  Invocation command line was
4001
4002   CONFIG_FILES    = $CONFIG_FILES
4003   CONFIG_HEADERS  = $CONFIG_HEADERS
4004   CONFIG_LINKS    = $CONFIG_LINKS
4005   CONFIG_COMMANDS = $CONFIG_COMMANDS
4006   $ $0 $@
4007
4008 _CSEOF
4009 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4010 echo >&5
4011 _ACEOF
4012
4013 # Files that config.status was made for.
4014 if test -n "$ac_config_files"; then
4015   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4016 fi
4017
4018 if test -n "$ac_config_headers"; then
4019   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4020 fi
4021
4022 if test -n "$ac_config_links"; then
4023   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4024 fi
4025
4026 if test -n "$ac_config_commands"; then
4027   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4028 fi
4029
4030 cat >>$CONFIG_STATUS <<\_ACEOF
4031
4032 ac_cs_usage="\
4033 \`$as_me' instantiates files from templates according to the
4034 current configuration.
4035
4036 Usage: $0 [OPTIONS] [FILE]...
4037
4038   -h, --help       print this help, then exit
4039   -V, --version    print version number, then exit
4040   -q, --quiet      do not print progress messages
4041   -d, --debug      don't remove temporary files
4042       --recheck    update $as_me by reconfiguring in the same conditions
4043   --file=FILE[:TEMPLATE]
4044                    instantiate the configuration file FILE
4045
4046 Configuration files:
4047 $config_files
4048
4049 Configuration commands:
4050 $config_commands
4051
4052 Report bugs to <bug-autoconf@gnu.org>."
4053 _ACEOF
4054
4055 cat >>$CONFIG_STATUS <<_ACEOF
4056 ac_cs_version="\\
4057 config.status
4058 configured by $0, generated by GNU Autoconf 2.59,
4059   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4060
4061 Copyright (C) 2003 Free Software Foundation, Inc.
4062 This config.status script is free software; the Free Software Foundation
4063 gives unlimited permission to copy, distribute and modify it."
4064 srcdir=$srcdir
4065 INSTALL="$INSTALL"
4066 _ACEOF
4067
4068 cat >>$CONFIG_STATUS <<\_ACEOF
4069 # If no file are specified by the user, then we need to provide default
4070 # value.  By we need to know if files were specified by the user.
4071 ac_need_defaults=:
4072 while test $# != 0
4073 do
4074   case $1 in
4075   --*=*)
4076     ac_option=`expr "x$1" : 'x\([^=]*\)='`
4077     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4078     ac_shift=:
4079     ;;
4080   -*)
4081     ac_option=$1
4082     ac_optarg=$2
4083     ac_shift=shift
4084     ;;
4085   *) # This is not an option, so the user has probably given explicit
4086      # arguments.
4087      ac_option=$1
4088      ac_need_defaults=false;;
4089   esac
4090
4091   case $ac_option in
4092   # Handling of the options.
4093 _ACEOF
4094 cat >>$CONFIG_STATUS <<\_ACEOF
4095   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4096     ac_cs_recheck=: ;;
4097   --version | --vers* | -V )
4098     echo "$ac_cs_version"; exit 0 ;;
4099   --he | --h)
4100     # Conflict between --help and --header
4101     { { echo "$as_me:$LINENO: error: ambiguous option: $1
4102 Try \`$0 --help' for more information." >&5
4103 echo "$as_me: error: ambiguous option: $1
4104 Try \`$0 --help' for more information." >&2;}
4105    { (exit 1); exit 1; }; };;
4106   --help | --hel | -h )
4107     echo "$ac_cs_usage"; exit 0 ;;
4108   --debug | --d* | -d )
4109     debug=: ;;
4110   --file | --fil | --fi | --f )
4111     $ac_shift
4112     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4113     ac_need_defaults=false;;
4114   --header | --heade | --head | --hea )
4115     $ac_shift
4116     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4117     ac_need_defaults=false;;
4118   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4119   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4120     ac_cs_silent=: ;;
4121
4122   # This is an error.
4123   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4124 Try \`$0 --help' for more information." >&5
4125 echo "$as_me: error: unrecognized option: $1
4126 Try \`$0 --help' for more information." >&2;}
4127    { (exit 1); exit 1; }; } ;;
4128
4129   *) ac_config_targets="$ac_config_targets $1" ;;
4130
4131   esac
4132   shift
4133 done
4134
4135 ac_configure_extra_args=
4136
4137 if $ac_cs_silent; then
4138   exec 6>/dev/null
4139   ac_configure_extra_args="$ac_configure_extra_args --silent"
4140 fi
4141
4142 _ACEOF
4143 cat >>$CONFIG_STATUS <<_ACEOF
4144 if \$ac_cs_recheck; then
4145   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4146   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4147 fi
4148
4149 _ACEOF
4150
4151 cat >>$CONFIG_STATUS <<_ACEOF
4152 #
4153 # INIT-COMMANDS section.
4154 #
4155
4156 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4157
4158 _ACEOF
4159
4160
4161
4162 cat >>$CONFIG_STATUS <<\_ACEOF
4163 for ac_config_target in $ac_config_targets
4164 do
4165   case "$ac_config_target" in
4166   # Handling of arguments.
4167   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4168   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4169   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4170 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4171    { (exit 1); exit 1; }; };;
4172   esac
4173 done
4174
4175 # If the user did not use the arguments to specify the items to instantiate,
4176 # then the envvar interface is used.  Set only those that are not.
4177 # We use the long form for the default assignment because of an extremely
4178 # bizarre bug on SunOS 4.1.3.
4179 if $ac_need_defaults; then
4180   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4181   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4182 fi
4183
4184 # Have a temporary directory for convenience.  Make it in the build tree
4185 # simply because there is no reason to put it here, and in addition,
4186 # creating and moving files from /tmp can sometimes cause problems.
4187 # Create a temporary directory, and hook for its removal unless debugging.
4188 $debug ||
4189 {
4190   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4191   trap '{ (exit 1); exit 1; }' 1 2 13 15
4192 }
4193
4194 # Create a (secure) tmp directory for tmp files.
4195
4196 {
4197   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4198   test -n "$tmp" && test -d "$tmp"
4199 }  ||
4200 {
4201   tmp=./confstat$$-$RANDOM
4202   (umask 077 && mkdir $tmp)
4203 } ||
4204 {
4205    echo "$me: cannot create a temporary directory in ." >&2
4206    { (exit 1); exit 1; }
4207 }
4208
4209 _ACEOF
4210
4211 cat >>$CONFIG_STATUS <<_ACEOF
4212
4213 #
4214 # CONFIG_FILES section.
4215 #
4216
4217 # No need to generate the scripts if there are no CONFIG_FILES.
4218 # This happens for instance when ./config.status config.h
4219 if test -n "\$CONFIG_FILES"; then
4220   # Protect against being on the right side of a sed subst in config.status.
4221   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4222    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4223 s,@SHELL@,$SHELL,;t t
4224 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4225 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4226 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4227 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4228 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4229 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4230 s,@exec_prefix@,$exec_prefix,;t t
4231 s,@prefix@,$prefix,;t t
4232 s,@program_transform_name@,$program_transform_name,;t t
4233 s,@bindir@,$bindir,;t t
4234 s,@sbindir@,$sbindir,;t t
4235 s,@libexecdir@,$libexecdir,;t t
4236 s,@datadir@,$datadir,;t t
4237 s,@sysconfdir@,$sysconfdir,;t t
4238 s,@sharedstatedir@,$sharedstatedir,;t t
4239 s,@localstatedir@,$localstatedir,;t t
4240 s,@libdir@,$libdir,;t t
4241 s,@includedir@,$includedir,;t t
4242 s,@oldincludedir@,$oldincludedir,;t t
4243 s,@infodir@,$infodir,;t t
4244 s,@mandir@,$mandir,;t t
4245 s,@build_alias@,$build_alias,;t t
4246 s,@host_alias@,$host_alias,;t t
4247 s,@target_alias@,$target_alias,;t t
4248 s,@DEFS@,$DEFS,;t t
4249 s,@ECHO_C@,$ECHO_C,;t t
4250 s,@ECHO_N@,$ECHO_N,;t t
4251 s,@ECHO_T@,$ECHO_T,;t t
4252 s,@LIBS@,$LIBS,;t t
4253 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4254 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4255 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4256 s,@CYGPATH_W@,$CYGPATH_W,;t t
4257 s,@PACKAGE@,$PACKAGE,;t t
4258 s,@VERSION@,$VERSION,;t t
4259 s,@ACLOCAL@,$ACLOCAL,;t t
4260 s,@AUTOCONF@,$AUTOCONF,;t t
4261 s,@AUTOMAKE@,$AUTOMAKE,;t t
4262 s,@AUTOHEADER@,$AUTOHEADER,;t t
4263 s,@MAKEINFO@,$MAKEINFO,;t t
4264 s,@install_sh@,$install_sh,;t t
4265 s,@STRIP@,$STRIP,;t t
4266 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4267 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4268 s,@mkdir_p@,$mkdir_p,;t t
4269 s,@AWK@,$AWK,;t t
4270 s,@SET_MAKE@,$SET_MAKE,;t t
4271 s,@am__leading_dot@,$am__leading_dot,;t t
4272 s,@AMTAR@,$AMTAR,;t t
4273 s,@am__tar@,$am__tar,;t t
4274 s,@am__untar@,$am__untar,;t t
4275 s,@CC@,$CC,;t t
4276 s,@CFLAGS@,$CFLAGS,;t t
4277 s,@LDFLAGS@,$LDFLAGS,;t t
4278 s,@CPPFLAGS@,$CPPFLAGS,;t t
4279 s,@ac_ct_CC@,$ac_ct_CC,;t t
4280 s,@EXEEXT@,$EXEEXT,;t t
4281 s,@OBJEXT@,$OBJEXT,;t t
4282 s,@DEPDIR@,$DEPDIR,;t t
4283 s,@am__include@,$am__include,;t t
4284 s,@am__quote@,$am__quote,;t t
4285 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4286 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4287 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4288 s,@CCDEPMODE@,$CCDEPMODE,;t t
4289 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4290 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4291 s,@RANLIB@,$RANLIB,;t t
4292 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4293 s,@LIBOBJS@,$LIBOBJS,;t t
4294 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4295 CEOF
4296
4297 _ACEOF
4298
4299   cat >>$CONFIG_STATUS <<\_ACEOF
4300   # Split the substitutions into bite-sized pieces for seds with
4301   # small command number limits, like on Digital OSF/1 and HP-UX.
4302   ac_max_sed_lines=48
4303   ac_sed_frag=1 # Number of current file.
4304   ac_beg=1 # First line for current file.
4305   ac_end=$ac_max_sed_lines # Line after last line for current file.
4306   ac_more_lines=:
4307   ac_sed_cmds=
4308   while $ac_more_lines; do
4309     if test $ac_beg -gt 1; then
4310       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4311     else
4312       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4313     fi
4314     if test ! -s $tmp/subs.frag; then
4315       ac_more_lines=false
4316     else
4317       # The purpose of the label and of the branching condition is to
4318       # speed up the sed processing (if there are no `@' at all, there
4319       # is no need to browse any of the substitutions).
4320       # These are the two extra sed commands mentioned above.
4321       (echo ':t
4322   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4323       if test -z "$ac_sed_cmds"; then
4324         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4325       else
4326         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4327       fi
4328       ac_sed_frag=`expr $ac_sed_frag + 1`
4329       ac_beg=$ac_end
4330       ac_end=`expr $ac_end + $ac_max_sed_lines`
4331     fi
4332   done
4333   if test -z "$ac_sed_cmds"; then
4334     ac_sed_cmds=cat
4335   fi
4336 fi # test -n "$CONFIG_FILES"
4337
4338 _ACEOF
4339 cat >>$CONFIG_STATUS <<\_ACEOF
4340 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4341   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4342   case $ac_file in
4343   - | *:- | *:-:* ) # input from stdin
4344         cat >$tmp/stdin
4345         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4346         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4347   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4348         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4349   * )   ac_file_in=$ac_file.in ;;
4350   esac
4351
4352   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4353   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4354 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4355          X"$ac_file" : 'X\(//\)[^/]' \| \
4356          X"$ac_file" : 'X\(//\)$' \| \
4357          X"$ac_file" : 'X\(/\)' \| \
4358          .     : '\(.\)' 2>/dev/null ||
4359 echo X"$ac_file" |
4360     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4361           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4362           /^X\(\/\/\)$/{ s//\1/; q; }
4363           /^X\(\/\).*/{ s//\1/; q; }
4364           s/.*/./; q'`
4365   { if $as_mkdir_p; then
4366     mkdir -p "$ac_dir"
4367   else
4368     as_dir="$ac_dir"
4369     as_dirs=
4370     while test ! -d "$as_dir"; do
4371       as_dirs="$as_dir $as_dirs"
4372       as_dir=`(dirname "$as_dir") 2>/dev/null ||
4373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4374          X"$as_dir" : 'X\(//\)[^/]' \| \
4375          X"$as_dir" : 'X\(//\)$' \| \
4376          X"$as_dir" : 'X\(/\)' \| \
4377          .     : '\(.\)' 2>/dev/null ||
4378 echo X"$as_dir" |
4379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4380           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4381           /^X\(\/\/\)$/{ s//\1/; q; }
4382           /^X\(\/\).*/{ s//\1/; q; }
4383           s/.*/./; q'`
4384     done
4385     test ! -n "$as_dirs" || mkdir $as_dirs
4386   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4387 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4388    { (exit 1); exit 1; }; }; }
4389
4390   ac_builddir=.
4391
4392 if test "$ac_dir" != .; then
4393   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4394   # A "../" for each directory in $ac_dir_suffix.
4395   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4396 else
4397   ac_dir_suffix= ac_top_builddir=
4398 fi
4399
4400 case $srcdir in
4401   .)  # No --srcdir option.  We are building in place.
4402     ac_srcdir=.
4403     if test -z "$ac_top_builddir"; then
4404        ac_top_srcdir=.
4405     else
4406        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4407     fi ;;
4408   [\\/]* | ?:[\\/]* )  # Absolute path.
4409     ac_srcdir=$srcdir$ac_dir_suffix;
4410     ac_top_srcdir=$srcdir ;;
4411   *) # Relative path.
4412     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4413     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4414 esac
4415
4416 # Do not use `cd foo && pwd` to compute absolute paths, because
4417 # the directories may not exist.
4418 case `pwd` in
4419 .) ac_abs_builddir="$ac_dir";;
4420 *)
4421   case "$ac_dir" in
4422   .) ac_abs_builddir=`pwd`;;
4423   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4424   *) ac_abs_builddir=`pwd`/"$ac_dir";;
4425   esac;;
4426 esac
4427 case $ac_abs_builddir in
4428 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4429 *)
4430   case ${ac_top_builddir}. in
4431   .) ac_abs_top_builddir=$ac_abs_builddir;;
4432   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4433   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4434   esac;;
4435 esac
4436 case $ac_abs_builddir in
4437 .) ac_abs_srcdir=$ac_srcdir;;
4438 *)
4439   case $ac_srcdir in
4440   .) ac_abs_srcdir=$ac_abs_builddir;;
4441   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4442   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4443   esac;;
4444 esac
4445 case $ac_abs_builddir in
4446 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4447 *)
4448   case $ac_top_srcdir in
4449   .) ac_abs_top_srcdir=$ac_abs_builddir;;
4450   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4451   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4452   esac;;
4453 esac
4454
4455
4456   case $INSTALL in
4457   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4458   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4459   esac
4460
4461   if test x"$ac_file" != x-; then
4462     { echo "$as_me:$LINENO: creating $ac_file" >&5
4463 echo "$as_me: creating $ac_file" >&6;}
4464     rm -f "$ac_file"
4465   fi
4466   # Let's still pretend it is `configure' which instantiates (i.e., don't
4467   # use $as_me), people would be surprised to read:
4468   #    /* config.h.  Generated by config.status.  */
4469   if test x"$ac_file" = x-; then
4470     configure_input=
4471   else
4472     configure_input="$ac_file.  "
4473   fi
4474   configure_input=$configure_input"Generated from `echo $ac_file_in |
4475                                      sed 's,.*/,,'` by configure."
4476
4477   # First look for the input files in the build tree, otherwise in the
4478   # src tree.
4479   ac_file_inputs=`IFS=:
4480     for f in $ac_file_in; do
4481       case $f in
4482       -) echo $tmp/stdin ;;
4483       [\\/$]*)
4484          # Absolute (can't be DOS-style, as IFS=:)
4485          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4486 echo "$as_me: error: cannot find input file: $f" >&2;}
4487    { (exit 1); exit 1; }; }
4488          echo "$f";;
4489       *) # Relative
4490          if test -f "$f"; then
4491            # Build tree
4492            echo "$f"
4493          elif test -f "$srcdir/$f"; then
4494            # Source tree
4495            echo "$srcdir/$f"
4496          else
4497            # /dev/null tree
4498            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4499 echo "$as_me: error: cannot find input file: $f" >&2;}
4500    { (exit 1); exit 1; }; }
4501          fi;;
4502       esac
4503     done` || { (exit 1); exit 1; }
4504 _ACEOF
4505 cat >>$CONFIG_STATUS <<_ACEOF
4506   sed "$ac_vpsub
4507 $extrasub
4508 _ACEOF
4509 cat >>$CONFIG_STATUS <<\_ACEOF
4510 :t
4511 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4512 s,@configure_input@,$configure_input,;t t
4513 s,@srcdir@,$ac_srcdir,;t t
4514 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4515 s,@top_srcdir@,$ac_top_srcdir,;t t
4516 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4517 s,@builddir@,$ac_builddir,;t t
4518 s,@abs_builddir@,$ac_abs_builddir,;t t
4519 s,@top_builddir@,$ac_top_builddir,;t t
4520 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4521 s,@INSTALL@,$ac_INSTALL,;t t
4522 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4523   rm -f $tmp/stdin
4524   if test x"$ac_file" != x-; then
4525     mv $tmp/out $ac_file
4526   else
4527     cat $tmp/out
4528     rm -f $tmp/out
4529   fi
4530
4531 done
4532 _ACEOF
4533 cat >>$CONFIG_STATUS <<\_ACEOF
4534
4535 #
4536 # CONFIG_COMMANDS section.
4537 #
4538 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4539   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4540   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4541   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4542 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4543          X"$ac_dest" : 'X\(//\)[^/]' \| \
4544          X"$ac_dest" : 'X\(//\)$' \| \
4545          X"$ac_dest" : 'X\(/\)' \| \
4546          .     : '\(.\)' 2>/dev/null ||
4547 echo X"$ac_dest" |
4548     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4549           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4550           /^X\(\/\/\)$/{ s//\1/; q; }
4551           /^X\(\/\).*/{ s//\1/; q; }
4552           s/.*/./; q'`
4553   { if $as_mkdir_p; then
4554     mkdir -p "$ac_dir"
4555   else
4556     as_dir="$ac_dir"
4557     as_dirs=
4558     while test ! -d "$as_dir"; do
4559       as_dirs="$as_dir $as_dirs"
4560       as_dir=`(dirname "$as_dir") 2>/dev/null ||
4561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4562          X"$as_dir" : 'X\(//\)[^/]' \| \
4563          X"$as_dir" : 'X\(//\)$' \| \
4564          X"$as_dir" : 'X\(/\)' \| \
4565          .     : '\(.\)' 2>/dev/null ||
4566 echo X"$as_dir" |
4567     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4568           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4569           /^X\(\/\/\)$/{ s//\1/; q; }
4570           /^X\(\/\).*/{ s//\1/; q; }
4571           s/.*/./; q'`
4572     done
4573     test ! -n "$as_dirs" || mkdir $as_dirs
4574   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4575 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4576    { (exit 1); exit 1; }; }; }
4577
4578   ac_builddir=.
4579
4580 if test "$ac_dir" != .; then
4581   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4582   # A "../" for each directory in $ac_dir_suffix.
4583   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4584 else
4585   ac_dir_suffix= ac_top_builddir=
4586 fi
4587
4588 case $srcdir in
4589   .)  # No --srcdir option.  We are building in place.
4590     ac_srcdir=.
4591     if test -z "$ac_top_builddir"; then
4592        ac_top_srcdir=.
4593     else
4594        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4595     fi ;;
4596   [\\/]* | ?:[\\/]* )  # Absolute path.
4597     ac_srcdir=$srcdir$ac_dir_suffix;
4598     ac_top_srcdir=$srcdir ;;
4599   *) # Relative path.
4600     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4601     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4602 esac
4603
4604 # Do not use `cd foo && pwd` to compute absolute paths, because
4605 # the directories may not exist.
4606 case `pwd` in
4607 .) ac_abs_builddir="$ac_dir";;
4608 *)
4609   case "$ac_dir" in
4610   .) ac_abs_builddir=`pwd`;;
4611   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4612   *) ac_abs_builddir=`pwd`/"$ac_dir";;
4613   esac;;
4614 esac
4615 case $ac_abs_builddir in
4616 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4617 *)
4618   case ${ac_top_builddir}. in
4619   .) ac_abs_top_builddir=$ac_abs_builddir;;
4620   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4621   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4622   esac;;
4623 esac
4624 case $ac_abs_builddir in
4625 .) ac_abs_srcdir=$ac_srcdir;;
4626 *)
4627   case $ac_srcdir in
4628   .) ac_abs_srcdir=$ac_abs_builddir;;
4629   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4630   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4631   esac;;
4632 esac
4633 case $ac_abs_builddir in
4634 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4635 *)
4636   case $ac_top_srcdir in
4637   .) ac_abs_top_srcdir=$ac_abs_builddir;;
4638   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4639   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4640   esac;;
4641 esac
4642
4643
4644   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4645 echo "$as_me: executing $ac_dest commands" >&6;}
4646   case $ac_dest in
4647     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4648   # Strip MF so we end up with the name of the file.
4649   mf=`echo "$mf" | sed -e 's/:.*$//'`
4650   # Check whether this is an Automake generated Makefile or not.
4651   # We used to match only the files named `Makefile.in', but
4652   # some people rename them; so instead we look at the file content.
4653   # Grep'ing the first line is not enough: some people post-process
4654   # each Makefile.in and add a new line on top of each file to say so.
4655   # So let's grep whole file.
4656   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4657     dirpart=`(dirname "$mf") 2>/dev/null ||
4658 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4659          X"$mf" : 'X\(//\)[^/]' \| \
4660          X"$mf" : 'X\(//\)$' \| \
4661          X"$mf" : 'X\(/\)' \| \
4662          .     : '\(.\)' 2>/dev/null ||
4663 echo X"$mf" |
4664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4665           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4666           /^X\(\/\/\)$/{ s//\1/; q; }
4667           /^X\(\/\).*/{ s//\1/; q; }
4668           s/.*/./; q'`
4669   else
4670     continue
4671   fi
4672   # Extract the definition of DEPDIR, am__include, and am__quote
4673   # from the Makefile without running `make'.
4674   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4675   test -z "$DEPDIR" && continue
4676   am__include=`sed -n 's/^am__include = //p' < "$mf"`
4677   test -z "am__include" && continue
4678   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4679   # When using ansi2knr, U may be empty or an underscore; expand it
4680   U=`sed -n 's/^U = //p' < "$mf"`
4681   # Find all dependency output files, they are included files with
4682   # $(DEPDIR) in their names.  We invoke sed twice because it is the
4683   # simplest approach to changing $(DEPDIR) to its actual value in the
4684   # expansion.
4685   for file in `sed -n "
4686     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4687        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4688     # Make sure the directory exists.
4689     test -f "$dirpart/$file" && continue
4690     fdir=`(dirname "$file") 2>/dev/null ||
4691 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4692          X"$file" : 'X\(//\)[^/]' \| \
4693          X"$file" : 'X\(//\)$' \| \
4694          X"$file" : 'X\(/\)' \| \
4695          .     : '\(.\)' 2>/dev/null ||
4696 echo X"$file" |
4697     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4698           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4699           /^X\(\/\/\)$/{ s//\1/; q; }
4700           /^X\(\/\).*/{ s//\1/; q; }
4701           s/.*/./; q'`
4702     { if $as_mkdir_p; then
4703     mkdir -p $dirpart/$fdir
4704   else
4705     as_dir=$dirpart/$fdir
4706     as_dirs=
4707     while test ! -d "$as_dir"; do
4708       as_dirs="$as_dir $as_dirs"
4709       as_dir=`(dirname "$as_dir") 2>/dev/null ||
4710 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4711          X"$as_dir" : 'X\(//\)[^/]' \| \
4712          X"$as_dir" : 'X\(//\)$' \| \
4713          X"$as_dir" : 'X\(/\)' \| \
4714          .     : '\(.\)' 2>/dev/null ||
4715 echo X"$as_dir" |
4716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4718           /^X\(\/\/\)$/{ s//\1/; q; }
4719           /^X\(\/\).*/{ s//\1/; q; }
4720           s/.*/./; q'`
4721     done
4722     test ! -n "$as_dirs" || mkdir $as_dirs
4723   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4724 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4725    { (exit 1); exit 1; }; }; }
4726
4727     # echo "creating $dirpart/$file"
4728     echo '# dummy' > "$dirpart/$file"
4729   done
4730 done
4731  ;;
4732   esac
4733 done
4734 _ACEOF
4735
4736 cat >>$CONFIG_STATUS <<\_ACEOF
4737
4738 { (exit 0); exit 0; }
4739 _ACEOF
4740 chmod +x $CONFIG_STATUS
4741 ac_clean_files=$ac_clean_files_save
4742
4743
4744 # configure is writing to config.log, and then calls config.status.
4745 # config.status does its own redirection, appending to config.log.
4746 # Unfortunately, on DOS this fails, as config.log is still kept open
4747 # by configure, so config.status won't be able to write to it; its
4748 # output is simply discarded.  So we exec the FD to /dev/null,
4749 # effectively closing config.log, so it can be properly (re)opened and
4750 # appended to by config.status.  When coming back to configure, we
4751 # need to make the FD available again.
4752 if test "$no_create" != yes; then
4753   ac_cs_success=:
4754   ac_config_status_args=
4755   test "$silent" = yes &&
4756     ac_config_status_args="$ac_config_status_args --quiet"
4757   exec 5>/dev/null
4758   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4759   exec 5>>config.log
4760   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4761   # would make configure fail if this is the last instruction.
4762   $ac_cs_success || { (exit 1); exit 1; }
4763 fi
4764