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