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