Spam scanning investigation
[gnucomo.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GnuCoMo 0.0.13.
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='GnuCoMo'
579 PACKAGE_TARNAME='gnucomo'
580 PACKAGE_VERSION='0.0.13'
581 PACKAGE_STRING='GnuCoMo 0.0.13'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="src/lib/database.cpp"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 #  include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #  include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 LIBPQXX_LIBS
627 LIBPQXX_CFLAGS
628 PKG_CONFIG_LIBDIR
629 PKG_CONFIG_PATH
630 PKG_CONFIG
631 EGREP
632 GREP
633 CXXCPP
634 XML_CONFIG
635 RANLIB
636 am__fastdepCC_FALSE
637 am__fastdepCC_TRUE
638 CCDEPMODE
639 ac_ct_CC
640 CFLAGS
641 CC
642 am__fastdepCXX_FALSE
643 am__fastdepCXX_TRUE
644 CXXDEPMODE
645 am__nodep
646 AMDEPBACKSLASH
647 AMDEP_FALSE
648 AMDEP_TRUE
649 am__quote
650 am__include
651 DEPDIR
652 OBJEXT
653 EXEEXT
654 ac_ct_CXX
655 CPPFLAGS
656 LDFLAGS
657 CXXFLAGS
658 CXX
659 AM_BACKSLASH
660 AM_DEFAULT_VERBOSITY
661 AM_DEFAULT_V
662 AM_V
663 am__untar
664 am__tar
665 AMTAR
666 am__leading_dot
667 SET_MAKE
668 AWK
669 mkdir_p
670 MKDIR_P
671 INSTALL_STRIP_PROGRAM
672 STRIP
673 install_sh
674 MAKEINFO
675 AUTOHEADER
676 AUTOMAKE
677 AUTOCONF
678 ACLOCAL
679 VERSION
680 PACKAGE
681 CYGPATH_W
682 am__isrc
683 INSTALL_DATA
684 INSTALL_SCRIPT
685 INSTALL_PROGRAM
686 target_alias
687 host_alias
688 build_alias
689 LIBS
690 ECHO_T
691 ECHO_N
692 ECHO_C
693 DEFS
694 mandir
695 localedir
696 libdir
697 psdir
698 pdfdir
699 dvidir
700 htmldir
701 infodir
702 docdir
703 oldincludedir
704 includedir
705 runstatedir
706 localstatedir
707 sharedstatedir
708 sysconfdir
709 datadir
710 datarootdir
711 libexecdir
712 sbindir
713 bindir
714 program_transform_name
715 prefix
716 exec_prefix
717 PACKAGE_URL
718 PACKAGE_BUGREPORT
719 PACKAGE_STRING
720 PACKAGE_VERSION
721 PACKAGE_TARNAME
722 PACKAGE_NAME
723 PATH_SEPARATOR
724 SHELL'
725 ac_subst_files=''
726 ac_user_opts='
727 enable_option_checking
728 enable_silent_rules
729 enable_dependency_tracking
730 '
731       ac_precious_vars='build_alias
732 host_alias
733 target_alias
734 CXX
735 CXXFLAGS
736 LDFLAGS
737 LIBS
738 CPPFLAGS
739 CCC
740 CC
741 CFLAGS
742 CXXCPP
743 PKG_CONFIG
744 PKG_CONFIG_PATH
745 PKG_CONFIG_LIBDIR
746 LIBPQXX_CFLAGS
747 LIBPQXX_LIBS'
748
749
750 # Initialize some variables set by options.
751 ac_init_help=
752 ac_init_version=false
753 ac_unrecognized_opts=
754 ac_unrecognized_sep=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
757 cache_file=/dev/null
758 exec_prefix=NONE
759 no_create=
760 no_recursion=
761 prefix=NONE
762 program_prefix=NONE
763 program_suffix=NONE
764 program_transform_name=s,x,x,
765 silent=
766 site=
767 srcdir=
768 verbose=
769 x_includes=NONE
770 x_libraries=NONE
771
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 runstatedir='${localstatedir}/run'
787 includedir='${prefix}/include'
788 oldincludedir='/usr/include'
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir='${datarootdir}/info'
791 htmldir='${docdir}'
792 dvidir='${docdir}'
793 pdfdir='${docdir}'
794 psdir='${docdir}'
795 libdir='${exec_prefix}/lib'
796 localedir='${datarootdir}/locale'
797 mandir='${datarootdir}/man'
798
799 ac_prev=
800 ac_dashdash=
801 for ac_option
802 do
803   # If the previous option needs an argument, assign it.
804   if test -n "$ac_prev"; then
805     eval $ac_prev=\$ac_option
806     ac_prev=
807     continue
808   fi
809
810   case $ac_option in
811   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812   *=)   ac_optarg= ;;
813   *)    ac_optarg=yes ;;
814   esac
815
816   # Accept the important Cygnus configure options, so we can diagnose typos.
817
818   case $ac_dashdash$ac_option in
819   --)
820     ac_dashdash=yes ;;
821
822   -bindir | --bindir | --bindi | --bind | --bin | --bi)
823     ac_prev=bindir ;;
824   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825     bindir=$ac_optarg ;;
826
827   -build | --build | --buil | --bui | --bu)
828     ac_prev=build_alias ;;
829   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830     build_alias=$ac_optarg ;;
831
832   -cache-file | --cache-file | --cache-fil | --cache-fi \
833   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834     ac_prev=cache_file ;;
835   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837     cache_file=$ac_optarg ;;
838
839   --config-cache | -C)
840     cache_file=config.cache ;;
841
842   -datadir | --datadir | --datadi | --datad)
843     ac_prev=datadir ;;
844   -datadir=* | --datadir=* | --datadi=* | --datad=*)
845     datadir=$ac_optarg ;;
846
847   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848   | --dataroo | --dataro | --datar)
849     ac_prev=datarootdir ;;
850   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852     datarootdir=$ac_optarg ;;
853
854   -disable-* | --disable-*)
855     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856     # Reject names that are not valid shell variable names.
857     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858       as_fn_error $? "invalid feature name: $ac_useropt"
859     ac_useropt_orig=$ac_useropt
860     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861     case $ac_user_opts in
862       *"
863 "enable_$ac_useropt"
864 "*) ;;
865       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866          ac_unrecognized_sep=', ';;
867     esac
868     eval enable_$ac_useropt=no ;;
869
870   -docdir | --docdir | --docdi | --doc | --do)
871     ac_prev=docdir ;;
872   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
873     docdir=$ac_optarg ;;
874
875   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
876     ac_prev=dvidir ;;
877   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
878     dvidir=$ac_optarg ;;
879
880   -enable-* | --enable-*)
881     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882     # Reject names that are not valid shell variable names.
883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884       as_fn_error $? "invalid feature name: $ac_useropt"
885     ac_useropt_orig=$ac_useropt
886     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887     case $ac_user_opts in
888       *"
889 "enable_$ac_useropt"
890 "*) ;;
891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892          ac_unrecognized_sep=', ';;
893     esac
894     eval enable_$ac_useropt=\$ac_optarg ;;
895
896   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898   | --exec | --exe | --ex)
899     ac_prev=exec_prefix ;;
900   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902   | --exec=* | --exe=* | --ex=*)
903     exec_prefix=$ac_optarg ;;
904
905   -gas | --gas | --ga | --g)
906     # Obsolete; use --with-gas.
907     with_gas=yes ;;
908
909   -help | --help | --hel | --he | -h)
910     ac_init_help=long ;;
911   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912     ac_init_help=recursive ;;
913   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914     ac_init_help=short ;;
915
916   -host | --host | --hos | --ho)
917     ac_prev=host_alias ;;
918   -host=* | --host=* | --hos=* | --ho=*)
919     host_alias=$ac_optarg ;;
920
921   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
922     ac_prev=htmldir ;;
923   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
924   | --ht=*)
925     htmldir=$ac_optarg ;;
926
927   -includedir | --includedir | --includedi | --included | --include \
928   | --includ | --inclu | --incl | --inc)
929     ac_prev=includedir ;;
930   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931   | --includ=* | --inclu=* | --incl=* | --inc=*)
932     includedir=$ac_optarg ;;
933
934   -infodir | --infodir | --infodi | --infod | --info | --inf)
935     ac_prev=infodir ;;
936   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937     infodir=$ac_optarg ;;
938
939   -libdir | --libdir | --libdi | --libd)
940     ac_prev=libdir ;;
941   -libdir=* | --libdir=* | --libdi=* | --libd=*)
942     libdir=$ac_optarg ;;
943
944   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945   | --libexe | --libex | --libe)
946     ac_prev=libexecdir ;;
947   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948   | --libexe=* | --libex=* | --libe=*)
949     libexecdir=$ac_optarg ;;
950
951   -localedir | --localedir | --localedi | --localed | --locale)
952     ac_prev=localedir ;;
953   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954     localedir=$ac_optarg ;;
955
956   -localstatedir | --localstatedir | --localstatedi | --localstated \
957   | --localstate | --localstat | --localsta | --localst | --locals)
958     ac_prev=localstatedir ;;
959   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961     localstatedir=$ac_optarg ;;
962
963   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
964     ac_prev=mandir ;;
965   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
966     mandir=$ac_optarg ;;
967
968   -nfp | --nfp | --nf)
969     # Obsolete; use --without-fp.
970     with_fp=no ;;
971
972   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973   | --no-cr | --no-c | -n)
974     no_create=yes ;;
975
976   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
978     no_recursion=yes ;;
979
980   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982   | --oldin | --oldi | --old | --ol | --o)
983     ac_prev=oldincludedir ;;
984   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987     oldincludedir=$ac_optarg ;;
988
989   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
990     ac_prev=prefix ;;
991   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
992     prefix=$ac_optarg ;;
993
994   -program-prefix | --program-prefix | --program-prefi | --program-pref \
995   | --program-pre | --program-pr | --program-p)
996     ac_prev=program_prefix ;;
997   -program-prefix=* | --program-prefix=* | --program-prefi=* \
998   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999     program_prefix=$ac_optarg ;;
1000
1001   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002   | --program-suf | --program-su | --program-s)
1003     ac_prev=program_suffix ;;
1004   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006     program_suffix=$ac_optarg ;;
1007
1008   -program-transform-name | --program-transform-name \
1009   | --program-transform-nam | --program-transform-na \
1010   | --program-transform-n | --program-transform- \
1011   | --program-transform | --program-transfor \
1012   | --program-transfo | --program-transf \
1013   | --program-trans | --program-tran \
1014   | --progr-tra | --program-tr | --program-t)
1015     ac_prev=program_transform_name ;;
1016   -program-transform-name=* | --program-transform-name=* \
1017   | --program-transform-nam=* | --program-transform-na=* \
1018   | --program-transform-n=* | --program-transform-=* \
1019   | --program-transform=* | --program-transfor=* \
1020   | --program-transfo=* | --program-transf=* \
1021   | --program-trans=* | --program-tran=* \
1022   | --progr-tra=* | --program-tr=* | --program-t=*)
1023     program_transform_name=$ac_optarg ;;
1024
1025   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1026     ac_prev=pdfdir ;;
1027   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028     pdfdir=$ac_optarg ;;
1029
1030   -psdir | --psdir | --psdi | --psd | --ps)
1031     ac_prev=psdir ;;
1032   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1033     psdir=$ac_optarg ;;
1034
1035   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036   | -silent | --silent | --silen | --sile | --sil)
1037     silent=yes ;;
1038
1039   -runstatedir | --runstatedir | --runstatedi | --runstated \
1040   | --runstate | --runstat | --runsta | --runst | --runs \
1041   | --run | --ru | --r)
1042     ac_prev=runstatedir ;;
1043   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1044   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1045   | --run=* | --ru=* | --r=*)
1046     runstatedir=$ac_optarg ;;
1047
1048   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1049     ac_prev=sbindir ;;
1050   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1051   | --sbi=* | --sb=*)
1052     sbindir=$ac_optarg ;;
1053
1054   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1055   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1056   | --sharedst | --shareds | --shared | --share | --shar \
1057   | --sha | --sh)
1058     ac_prev=sharedstatedir ;;
1059   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1060   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1061   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1062   | --sha=* | --sh=*)
1063     sharedstatedir=$ac_optarg ;;
1064
1065   -site | --site | --sit)
1066     ac_prev=site ;;
1067   -site=* | --site=* | --sit=*)
1068     site=$ac_optarg ;;
1069
1070   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1071     ac_prev=srcdir ;;
1072   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1073     srcdir=$ac_optarg ;;
1074
1075   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1076   | --syscon | --sysco | --sysc | --sys | --sy)
1077     ac_prev=sysconfdir ;;
1078   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1079   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1080     sysconfdir=$ac_optarg ;;
1081
1082   -target | --target | --targe | --targ | --tar | --ta | --t)
1083     ac_prev=target_alias ;;
1084   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1085     target_alias=$ac_optarg ;;
1086
1087   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1088     verbose=yes ;;
1089
1090   -version | --version | --versio | --versi | --vers | -V)
1091     ac_init_version=: ;;
1092
1093   -with-* | --with-*)
1094     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095     # Reject names that are not valid shell variable names.
1096     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097       as_fn_error $? "invalid package name: $ac_useropt"
1098     ac_useropt_orig=$ac_useropt
1099     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100     case $ac_user_opts in
1101       *"
1102 "with_$ac_useropt"
1103 "*) ;;
1104       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105          ac_unrecognized_sep=', ';;
1106     esac
1107     eval with_$ac_useropt=\$ac_optarg ;;
1108
1109   -without-* | --without-*)
1110     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111     # Reject names that are not valid shell variable names.
1112     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113       as_fn_error $? "invalid package name: $ac_useropt"
1114     ac_useropt_orig=$ac_useropt
1115     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116     case $ac_user_opts in
1117       *"
1118 "with_$ac_useropt"
1119 "*) ;;
1120       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121          ac_unrecognized_sep=', ';;
1122     esac
1123     eval with_$ac_useropt=no ;;
1124
1125   --x)
1126     # Obsolete; use --with-x.
1127     with_x=yes ;;
1128
1129   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130   | --x-incl | --x-inc | --x-in | --x-i)
1131     ac_prev=x_includes ;;
1132   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134     x_includes=$ac_optarg ;;
1135
1136   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138     ac_prev=x_libraries ;;
1139   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141     x_libraries=$ac_optarg ;;
1142
1143   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
1145     ;;
1146
1147   *=*)
1148     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149     # Reject names that are not valid shell variable names.
1150     case $ac_envvar in #(
1151       '' | [0-9]* | *[!_$as_cr_alnum]* )
1152       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1153     esac
1154     eval $ac_envvar=\$ac_optarg
1155     export $ac_envvar ;;
1156
1157   *)
1158     # FIXME: should be removed in autoconf 3.0.
1159     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1163     ;;
1164
1165   esac
1166 done
1167
1168 if test -n "$ac_prev"; then
1169   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170   as_fn_error $? "missing argument to $ac_option"
1171 fi
1172
1173 if test -n "$ac_unrecognized_opts"; then
1174   case $enable_option_checking in
1175     no) ;;
1176     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178   esac
1179 fi
1180
1181 # Check all directory arguments for consistency.
1182 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183                 datadir sysconfdir sharedstatedir localstatedir includedir \
1184                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185                 libdir localedir mandir runstatedir
1186 do
1187   eval ac_val=\$$ac_var
1188   # Remove trailing slashes.
1189   case $ac_val in
1190     */ )
1191       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192       eval $ac_var=\$ac_val;;
1193   esac
1194   # Be sure to have absolute directory names.
1195   case $ac_val in
1196     [\\/$]* | ?:[\\/]* )  continue;;
1197     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198   esac
1199   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1200 done
1201
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1205 build=$build_alias
1206 host=$host_alias
1207 target=$target_alias
1208
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x; then
1211   if test "x$build_alias" = x; then
1212     cross_compiling=maybe
1213   elif test "x$build_alias" != "x$host_alias"; then
1214     cross_compiling=yes
1215   fi
1216 fi
1217
1218 ac_tool_prefix=
1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221 test "$silent" = yes && exec 6>/dev/null
1222
1223
1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di=`ls -di .` &&
1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227   as_fn_error $? "working directory cannot be determined"
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229   as_fn_error $? "pwd does not report name of working directory"
1230
1231
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234   ac_srcdir_defaulted=yes
1235   # Try the directory containing this script, then the parent directory.
1236   ac_confdir=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238          X"$as_myself" : 'X\(//\)[^/]' \| \
1239          X"$as_myself" : 'X\(//\)$' \| \
1240          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243             s//\1/
1244             q
1245           }
1246           /^X\(\/\/\)[^/].*/{
1247             s//\1/
1248             q
1249           }
1250           /^X\(\/\/\)$/{
1251             s//\1/
1252             q
1253           }
1254           /^X\(\/\).*/{
1255             s//\1/
1256             q
1257           }
1258           s/.*/./; q'`
1259   srcdir=$ac_confdir
1260   if test ! -r "$srcdir/$ac_unique_file"; then
1261     srcdir=..
1262   fi
1263 else
1264   ac_srcdir_defaulted=no
1265 fi
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1269 fi
1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 ac_abs_confdir=`(
1272         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1273         pwd)`
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276   srcdir=.
1277 fi
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1281 case $srcdir in
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 esac
1284 for ac_var in $ac_precious_vars; do
1285   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286   eval ac_env_${ac_var}_value=\$${ac_var}
1287   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 done
1290
1291 #
1292 # Report the --help message.
1293 #
1294 if test "$ac_init_help" = "long"; then
1295   # Omit some internal or obsolete options to make the list less imposing.
1296   # This message is too long to be a string in the A/UX 3.1 sh.
1297   cat <<_ACEOF
1298 \`configure' configures GnuCoMo 0.0.13 to adapt to many kinds of systems.
1299
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1301
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE.  See below for descriptions of some of the useful variables.
1304
1305 Defaults for the options are specified in brackets.
1306
1307 Configuration:
1308   -h, --help              display this help and exit
1309       --help=short        display options specific to this package
1310       --help=recursive    display the short help of all the included packages
1311   -V, --version           display version information and exit
1312   -q, --quiet, --silent   do not print \`checking ...' messages
1313       --cache-file=FILE   cache test results in FILE [disabled]
1314   -C, --config-cache      alias for \`--cache-file=config.cache'
1315   -n, --no-create         do not create output files
1316       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1317
1318 Installation directories:
1319   --prefix=PREFIX         install architecture-independent files in PREFIX
1320                           [$ac_default_prefix]
1321   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1322                           [PREFIX]
1323
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1328
1329 For better control, use the options below.
1330
1331 Fine tuning of the installation directories:
1332   --bindir=DIR            user executables [EPREFIX/bin]
1333   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1334   --libexecdir=DIR        program executables [EPREFIX/libexec]
1335   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1336   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1337   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1338   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1339   --libdir=DIR            object code libraries [EPREFIX/lib]
1340   --includedir=DIR        C header files [PREFIX/include]
1341   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1342   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1343   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1344   --infodir=DIR           info documentation [DATAROOTDIR/info]
1345   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1346   --mandir=DIR            man documentation [DATAROOTDIR/man]
1347   --docdir=DIR            documentation root [DATAROOTDIR/doc/gnucomo]
1348   --htmldir=DIR           html documentation [DOCDIR]
1349   --dvidir=DIR            dvi documentation [DOCDIR]
1350   --pdfdir=DIR            pdf documentation [DOCDIR]
1351   --psdir=DIR             ps documentation [DOCDIR]
1352 _ACEOF
1353
1354   cat <<\_ACEOF
1355
1356 Program names:
1357   --program-prefix=PREFIX            prepend PREFIX to installed program names
1358   --program-suffix=SUFFIX            append SUFFIX to installed program names
1359   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1360 _ACEOF
1361 fi
1362
1363 if test -n "$ac_init_help"; then
1364   case $ac_init_help in
1365      short | recursive ) echo "Configuration of GnuCoMo 0.0.13:";;
1366    esac
1367   cat <<\_ACEOF
1368
1369 Optional Features:
1370   --disable-option-checking  ignore unrecognized --enable/--with options
1371   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1372   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1373   --enable-silent-rules   less verbose build output (undo: "make V=1")
1374   --disable-silent-rules  verbose build output (undo: "make V=0")
1375   --enable-dependency-tracking
1376                           do not reject slow dependency extractors
1377   --disable-dependency-tracking
1378                           speeds up one-time build
1379
1380 Some influential environment variables:
1381   CXX         C++ compiler command
1382   CXXFLAGS    C++ compiler flags
1383   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1384               nonstandard directory <lib dir>
1385   LIBS        libraries to pass to the linker, e.g. -l<library>
1386   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1387               you have headers in a nonstandard directory <include dir>
1388   CC          C compiler command
1389   CFLAGS      C compiler flags
1390   CXXCPP      C++ preprocessor
1391   PKG_CONFIG  path to pkg-config utility
1392   PKG_CONFIG_PATH
1393               directories to add to pkg-config's search path
1394   PKG_CONFIG_LIBDIR
1395               path overriding pkg-config's built-in search path
1396   LIBPQXX_CFLAGS
1397               C compiler flags for LIBPQXX, overriding pkg-config
1398   LIBPQXX_LIBS
1399               linker flags for LIBPQXX, overriding pkg-config
1400
1401 Use these variables to override the choices made by `configure' or to help
1402 it to find libraries and programs with nonstandard names/locations.
1403
1404 Report bugs to the package provider.
1405 _ACEOF
1406 ac_status=$?
1407 fi
1408
1409 if test "$ac_init_help" = "recursive"; then
1410   # If there are subdirs, report their specific --help.
1411   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412     test -d "$ac_dir" ||
1413       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1414       continue
1415     ac_builddir=.
1416
1417 case "$ac_dir" in
1418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 *)
1420   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1421   # A ".." for each directory in $ac_dir_suffix.
1422   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1423   case $ac_top_builddir_sub in
1424   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426   esac ;;
1427 esac
1428 ac_abs_top_builddir=$ac_pwd
1429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430 # for backward compatibility:
1431 ac_top_builddir=$ac_top_build_prefix
1432
1433 case $srcdir in
1434   .)  # We are building in place.
1435     ac_srcdir=.
1436     ac_top_srcdir=$ac_top_builddir_sub
1437     ac_abs_top_srcdir=$ac_pwd ;;
1438   [\\/]* | ?:[\\/]* )  # Absolute name.
1439     ac_srcdir=$srcdir$ac_dir_suffix;
1440     ac_top_srcdir=$srcdir
1441     ac_abs_top_srcdir=$srcdir ;;
1442   *) # Relative name.
1443     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444     ac_top_srcdir=$ac_top_build_prefix$srcdir
1445     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446 esac
1447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448
1449     cd "$ac_dir" || { ac_status=$?; continue; }
1450     # Check for guested configure.
1451     if test -f "$ac_srcdir/configure.gnu"; then
1452       echo &&
1453       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454     elif test -f "$ac_srcdir/configure"; then
1455       echo &&
1456       $SHELL "$ac_srcdir/configure" --help=recursive
1457     else
1458       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459     fi || ac_status=$?
1460     cd "$ac_pwd" || { ac_status=$?; break; }
1461   done
1462 fi
1463
1464 test -n "$ac_init_help" && exit $ac_status
1465 if $ac_init_version; then
1466   cat <<\_ACEOF
1467 GnuCoMo configure 0.0.13
1468 generated by GNU Autoconf 2.69
1469
1470 Copyright (C) 2012 Free Software Foundation, Inc.
1471 This configure script is free software; the Free Software Foundation
1472 gives unlimited permission to copy, distribute and modify it.
1473 _ACEOF
1474   exit
1475 fi
1476
1477 ## ------------------------ ##
1478 ## Autoconf initialization. ##
1479 ## ------------------------ ##
1480
1481 # ac_fn_cxx_try_compile LINENO
1482 # ----------------------------
1483 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1484 ac_fn_cxx_try_compile ()
1485 {
1486   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487   rm -f conftest.$ac_objext
1488   if { { ac_try="$ac_compile"
1489 case "(($ac_try" in
1490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491   *) ac_try_echo=$ac_try;;
1492 esac
1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494 $as_echo "$ac_try_echo"; } >&5
1495   (eval "$ac_compile") 2>conftest.err
1496   ac_status=$?
1497   if test -s conftest.err; then
1498     grep -v '^ *+' conftest.err >conftest.er1
1499     cat conftest.er1 >&5
1500     mv -f conftest.er1 conftest.err
1501   fi
1502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503   test $ac_status = 0; } && {
1504          test -z "$ac_cxx_werror_flag" ||
1505          test ! -s conftest.err
1506        } && test -s conftest.$ac_objext; then :
1507   ac_retval=0
1508 else
1509   $as_echo "$as_me: failed program was:" >&5
1510 sed 's/^/| /' conftest.$ac_ext >&5
1511
1512         ac_retval=1
1513 fi
1514   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515   as_fn_set_status $ac_retval
1516
1517 } # ac_fn_cxx_try_compile
1518
1519 # ac_fn_c_try_compile LINENO
1520 # --------------------------
1521 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1522 ac_fn_c_try_compile ()
1523 {
1524   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525   rm -f conftest.$ac_objext
1526   if { { ac_try="$ac_compile"
1527 case "(($ac_try" in
1528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529   *) ac_try_echo=$ac_try;;
1530 esac
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533   (eval "$ac_compile") 2>conftest.err
1534   ac_status=$?
1535   if test -s conftest.err; then
1536     grep -v '^ *+' conftest.err >conftest.er1
1537     cat conftest.er1 >&5
1538     mv -f conftest.er1 conftest.err
1539   fi
1540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541   test $ac_status = 0; } && {
1542          test -z "$ac_c_werror_flag" ||
1543          test ! -s conftest.err
1544        } && test -s conftest.$ac_objext; then :
1545   ac_retval=0
1546 else
1547   $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1549
1550         ac_retval=1
1551 fi
1552   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553   as_fn_set_status $ac_retval
1554
1555 } # ac_fn_c_try_compile
1556
1557 # ac_fn_cxx_try_cpp LINENO
1558 # ------------------------
1559 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_cxx_try_cpp ()
1561 {
1562   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563   if { { ac_try="$ac_cpp conftest.$ac_ext"
1564 case "(($ac_try" in
1565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566   *) ac_try_echo=$ac_try;;
1567 esac
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1571   ac_status=$?
1572   if test -s conftest.err; then
1573     grep -v '^ *+' conftest.err >conftest.er1
1574     cat conftest.er1 >&5
1575     mv -f conftest.er1 conftest.err
1576   fi
1577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578   test $ac_status = 0; } > conftest.i && {
1579          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1580          test ! -s conftest.err
1581        }; then :
1582   ac_retval=0
1583 else
1584   $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1586
1587     ac_retval=1
1588 fi
1589   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590   as_fn_set_status $ac_retval
1591
1592 } # ac_fn_cxx_try_cpp
1593
1594 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1595 # ---------------------------------------------------------
1596 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1597 # the include files in INCLUDES and setting the cache variable VAR
1598 # accordingly.
1599 ac_fn_cxx_check_header_mongrel ()
1600 {
1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602   if eval \${$3+:} false; then :
1603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if eval \${$3+:} false; then :
1606   $as_echo_n "(cached) " >&6
1607 fi
1608 eval ac_res=\$$3
1609                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610 $as_echo "$ac_res" >&6; }
1611 else
1612   # Is the header compilable?
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1614 $as_echo_n "checking $2 usability... " >&6; }
1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616 /* end confdefs.h.  */
1617 $4
1618 #include <$2>
1619 _ACEOF
1620 if ac_fn_cxx_try_compile "$LINENO"; then :
1621   ac_header_compiler=yes
1622 else
1623   ac_header_compiler=no
1624 fi
1625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1627 $as_echo "$ac_header_compiler" >&6; }
1628
1629 # Is the header present?
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1631 $as_echo_n "checking $2 presence... " >&6; }
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h.  */
1634 #include <$2>
1635 _ACEOF
1636 if ac_fn_cxx_try_cpp "$LINENO"; then :
1637   ac_header_preproc=yes
1638 else
1639   ac_header_preproc=no
1640 fi
1641 rm -f conftest.err conftest.i conftest.$ac_ext
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1643 $as_echo "$ac_header_preproc" >&6; }
1644
1645 # So?  What about this header?
1646 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1647   yes:no: )
1648     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1649 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1652     ;;
1653   no:yes:* )
1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1655 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1657 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1659 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1661 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664     ;;
1665 esac
1666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if eval \${$3+:} false; then :
1669   $as_echo_n "(cached) " >&6
1670 else
1671   eval "$3=\$ac_header_compiler"
1672 fi
1673 eval ac_res=\$$3
1674                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1676 fi
1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678
1679 } # ac_fn_cxx_check_header_mongrel
1680
1681 # ac_fn_cxx_try_run LINENO
1682 # ------------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1684 # that executables *can* be run.
1685 ac_fn_cxx_try_run ()
1686 {
1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688   if { { ac_try="$ac_link"
1689 case "(($ac_try" in
1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691   *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695   (eval "$ac_link") 2>&5
1696   ac_status=$?
1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1699   { { case "(($ac_try" in
1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701   *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705   (eval "$ac_try") 2>&5
1706   ac_status=$?
1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708   test $ac_status = 0; }; }; then :
1709   ac_retval=0
1710 else
1711   $as_echo "$as_me: program exited with status $ac_status" >&5
1712        $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1714
1715        ac_retval=$ac_status
1716 fi
1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719   as_fn_set_status $ac_retval
1720
1721 } # ac_fn_cxx_try_run
1722
1723 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1724 # ---------------------------------------------------------
1725 # Tests whether HEADER exists and can be compiled using the include files in
1726 # INCLUDES, setting the cache variable VAR accordingly.
1727 ac_fn_cxx_check_header_compile ()
1728 {
1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733   $as_echo_n "(cached) " >&6
1734 else
1735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h.  */
1737 $4
1738 #include <$2>
1739 _ACEOF
1740 if ac_fn_cxx_try_compile "$LINENO"; then :
1741   eval "$3=yes"
1742 else
1743   eval "$3=no"
1744 fi
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 fi
1747 eval ac_res=\$$3
1748                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751
1752 } # ac_fn_cxx_check_header_compile
1753
1754 # ac_fn_cxx_try_link LINENO
1755 # -------------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_cxx_try_link ()
1758 {
1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760   rm -f conftest.$ac_objext conftest$ac_exeext
1761   if { { ac_try="$ac_link"
1762 case "(($ac_try" in
1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764   *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768   (eval "$ac_link") 2>conftest.err
1769   ac_status=$?
1770   if test -s conftest.err; then
1771     grep -v '^ *+' conftest.err >conftest.er1
1772     cat conftest.er1 >&5
1773     mv -f conftest.er1 conftest.err
1774   fi
1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776   test $ac_status = 0; } && {
1777          test -z "$ac_cxx_werror_flag" ||
1778          test ! -s conftest.err
1779        } && test -s conftest$ac_exeext && {
1780          test "$cross_compiling" = yes ||
1781          test -x conftest$ac_exeext
1782        }; then :
1783   ac_retval=0
1784 else
1785   $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787
1788         ac_retval=1
1789 fi
1790   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792   # interfere with the next link command; also delete a directory that is
1793   # left behind by Apple's compiler.  We do this before executing the actions.
1794   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796   as_fn_set_status $ac_retval
1797
1798 } # ac_fn_cxx_try_link
1799
1800 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1801 # ---------------------------------------------
1802 # Tests whether TYPE exists after having included INCLUDES, setting cache
1803 # variable VAR accordingly.
1804 ac_fn_cxx_check_type ()
1805 {
1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval \${$3+:} false; then :
1810   $as_echo_n "(cached) " >&6
1811 else
1812   eval "$3=no"
1813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h.  */
1815 $4
1816 int
1817 main ()
1818 {
1819 if (sizeof ($2))
1820          return 0;
1821   ;
1822   return 0;
1823 }
1824 _ACEOF
1825 if ac_fn_cxx_try_compile "$LINENO"; then :
1826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h.  */
1828 $4
1829 int
1830 main ()
1831 {
1832 if (sizeof (($2)))
1833             return 0;
1834   ;
1835   return 0;
1836 }
1837 _ACEOF
1838 if ac_fn_cxx_try_compile "$LINENO"; then :
1839
1840 else
1841   eval "$3=yes"
1842 fi
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844 fi
1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 fi
1847 eval ac_res=\$$3
1848                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
1852 } # ac_fn_cxx_check_type
1853
1854 # ac_fn_cxx_check_func LINENO FUNC VAR
1855 # ------------------------------------
1856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1857 ac_fn_cxx_check_func ()
1858 {
1859   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863   $as_echo_n "(cached) " >&6
1864 else
1865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h.  */
1867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1869 #define $2 innocuous_$2
1870
1871 /* System header to define __stub macros and hopefully few prototypes,
1872     which can conflict with char $2 (); below.
1873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1874     <limits.h> exists even on freestanding compilers.  */
1875
1876 #ifdef __STDC__
1877 # include <limits.h>
1878 #else
1879 # include <assert.h>
1880 #endif
1881
1882 #undef $2
1883
1884 /* Override any GCC internal prototype to avoid an error.
1885    Use char because int might match the return type of a GCC
1886    builtin and then its argument prototype would still apply.  */
1887 #ifdef __cplusplus
1888 extern "C"
1889 #endif
1890 char $2 ();
1891 /* The GNU C library defines this for functions which it implements
1892     to always fail with ENOSYS.  Some functions are actually named
1893     something starting with __ and the normal name is an alias.  */
1894 #if defined __stub_$2 || defined __stub___$2
1895 choke me
1896 #endif
1897
1898 int
1899 main ()
1900 {
1901 return $2 ();
1902   ;
1903   return 0;
1904 }
1905 _ACEOF
1906 if ac_fn_cxx_try_link "$LINENO"; then :
1907   eval "$3=yes"
1908 else
1909   eval "$3=no"
1910 fi
1911 rm -f core conftest.err conftest.$ac_objext \
1912     conftest$ac_exeext conftest.$ac_ext
1913 fi
1914 eval ac_res=\$$3
1915                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918
1919 } # ac_fn_cxx_check_func
1920 cat >config.log <<_ACEOF
1921 This file contains any messages produced by compilers while
1922 running configure, to aid debugging if configure makes a mistake.
1923
1924 It was created by GnuCoMo $as_me 0.0.13, which was
1925 generated by GNU Autoconf 2.69.  Invocation command line was
1926
1927   $ $0 $@
1928
1929 _ACEOF
1930 exec 5>>config.log
1931 {
1932 cat <<_ASUNAME
1933 ## --------- ##
1934 ## Platform. ##
1935 ## --------- ##
1936
1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1942
1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1944 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1945
1946 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1947 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1949 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1950 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1951 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1952 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1953
1954 _ASUNAME
1955
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 for as_dir in $PATH
1958 do
1959   IFS=$as_save_IFS
1960   test -z "$as_dir" && as_dir=.
1961     $as_echo "PATH: $as_dir"
1962   done
1963 IFS=$as_save_IFS
1964
1965 } >&5
1966
1967 cat >&5 <<_ACEOF
1968
1969
1970 ## ----------- ##
1971 ## Core tests. ##
1972 ## ----------- ##
1973
1974 _ACEOF
1975
1976
1977 # Keep a trace of the command line.
1978 # Strip out --no-create and --no-recursion so they do not pile up.
1979 # Strip out --silent because we don't want to record it for future runs.
1980 # Also quote any args containing shell meta-characters.
1981 # Make two passes to allow for proper duplicate-argument suppression.
1982 ac_configure_args=
1983 ac_configure_args0=
1984 ac_configure_args1=
1985 ac_must_keep_next=false
1986 for ac_pass in 1 2
1987 do
1988   for ac_arg
1989   do
1990     case $ac_arg in
1991     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1992     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1993     | -silent | --silent | --silen | --sile | --sil)
1994       continue ;;
1995     *\'*)
1996       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1997     esac
1998     case $ac_pass in
1999     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2000     2)
2001       as_fn_append ac_configure_args1 " '$ac_arg'"
2002       if test $ac_must_keep_next = true; then
2003         ac_must_keep_next=false # Got value, back to normal.
2004       else
2005         case $ac_arg in
2006           *=* | --config-cache | -C | -disable-* | --disable-* \
2007           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2008           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2009           | -with-* | --with-* | -without-* | --without-* | --x)
2010             case "$ac_configure_args0 " in
2011               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2012             esac
2013             ;;
2014           -* ) ac_must_keep_next=true ;;
2015         esac
2016       fi
2017       as_fn_append ac_configure_args " '$ac_arg'"
2018       ;;
2019     esac
2020   done
2021 done
2022 { ac_configure_args0=; unset ac_configure_args0;}
2023 { ac_configure_args1=; unset ac_configure_args1;}
2024
2025 # When interrupted or exit'd, cleanup temporary files, and complete
2026 # config.log.  We remove comments because anyway the quotes in there
2027 # would cause problems or look ugly.
2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2030 trap 'exit_status=$?
2031   # Save into config.log some information that might help in debugging.
2032   {
2033     echo
2034
2035     $as_echo "## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##"
2038     echo
2039     # The following way of writing the cache mishandles newlines in values,
2040 (
2041   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2042     eval ac_val=\$$ac_var
2043     case $ac_val in #(
2044     *${as_nl}*)
2045       case $ac_var in #(
2046       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2048       esac
2049       case $ac_var in #(
2050       _ | IFS | as_nl) ;; #(
2051       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2052       *) { eval $ac_var=; unset $ac_var;} ;;
2053       esac ;;
2054     esac
2055   done
2056   (set) 2>&1 |
2057     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2058     *${as_nl}ac_space=\ *)
2059       sed -n \
2060         "s/'\''/'\''\\\\'\'''\''/g;
2061           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2062       ;; #(
2063     *)
2064       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2065       ;;
2066     esac |
2067     sort
2068 )
2069     echo
2070
2071     $as_echo "## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##"
2074     echo
2075     for ac_var in $ac_subst_vars
2076     do
2077       eval ac_val=\$$ac_var
2078       case $ac_val in
2079       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2080       esac
2081       $as_echo "$ac_var='\''$ac_val'\''"
2082     done | sort
2083     echo
2084
2085     if test -n "$ac_subst_files"; then
2086       $as_echo "## ------------------- ##
2087 ## File substitutions. ##
2088 ## ------------------- ##"
2089       echo
2090       for ac_var in $ac_subst_files
2091       do
2092         eval ac_val=\$$ac_var
2093         case $ac_val in
2094         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2095         esac
2096         $as_echo "$ac_var='\''$ac_val'\''"
2097       done | sort
2098       echo
2099     fi
2100
2101     if test -s confdefs.h; then
2102       $as_echo "## ----------- ##
2103 ## confdefs.h. ##
2104 ## ----------- ##"
2105       echo
2106       cat confdefs.h
2107       echo
2108     fi
2109     test "$ac_signal" != 0 &&
2110       $as_echo "$as_me: caught signal $ac_signal"
2111     $as_echo "$as_me: exit $exit_status"
2112   } >&5
2113   rm -f core *.core core.conftest.* &&
2114     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2115     exit $exit_status
2116 ' 0
2117 for ac_signal in 1 2 13 15; do
2118   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2119 done
2120 ac_signal=0
2121
2122 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2123 rm -f -r conftest* confdefs.h
2124
2125 $as_echo "/* confdefs.h */" > confdefs.h
2126
2127 # Predefined preprocessor variables.
2128
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_NAME "$PACKAGE_NAME"
2131 _ACEOF
2132
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2135 _ACEOF
2136
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2139 _ACEOF
2140
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_STRING "$PACKAGE_STRING"
2143 _ACEOF
2144
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2147 _ACEOF
2148
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_URL "$PACKAGE_URL"
2151 _ACEOF
2152
2153
2154 # Let the site file select an alternate cache file if it wants to.
2155 # Prefer an explicitly selected file to automatically selected ones.
2156 ac_site_file1=NONE
2157 ac_site_file2=NONE
2158 if test -n "$CONFIG_SITE"; then
2159   # We do not want a PATH search for config.site.
2160   case $CONFIG_SITE in #((
2161     -*)  ac_site_file1=./$CONFIG_SITE;;
2162     */*) ac_site_file1=$CONFIG_SITE;;
2163     *)   ac_site_file1=./$CONFIG_SITE;;
2164   esac
2165 elif test "x$prefix" != xNONE; then
2166   ac_site_file1=$prefix/share/config.site
2167   ac_site_file2=$prefix/etc/config.site
2168 else
2169   ac_site_file1=$ac_default_prefix/share/config.site
2170   ac_site_file2=$ac_default_prefix/etc/config.site
2171 fi
2172 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2173 do
2174   test "x$ac_site_file" = xNONE && continue
2175   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2176     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2178     sed 's/^/| /' "$ac_site_file" >&5
2179     . "$ac_site_file" \
2180       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2182 as_fn_error $? "failed to load site script $ac_site_file
2183 See \`config.log' for more details" "$LINENO" 5; }
2184   fi
2185 done
2186
2187 if test -r "$cache_file"; then
2188   # Some versions of bash will fail to source /dev/null (special files
2189   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2190   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2191     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2192 $as_echo "$as_me: loading cache $cache_file" >&6;}
2193     case $cache_file in
2194       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2195       *)                      . "./$cache_file";;
2196     esac
2197   fi
2198 else
2199   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2200 $as_echo "$as_me: creating cache $cache_file" >&6;}
2201   >$cache_file
2202 fi
2203
2204 # Check that the precious variables saved in the cache have kept the same
2205 # value.
2206 ac_cache_corrupted=false
2207 for ac_var in $ac_precious_vars; do
2208   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2209   eval ac_new_set=\$ac_env_${ac_var}_set
2210   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2211   eval ac_new_val=\$ac_env_${ac_var}_value
2212   case $ac_old_set,$ac_new_set in
2213     set,)
2214       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2215 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2216       ac_cache_corrupted=: ;;
2217     ,set)
2218       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2220       ac_cache_corrupted=: ;;
2221     ,);;
2222     *)
2223       if test "x$ac_old_val" != "x$ac_new_val"; then
2224         # differences in whitespace do not lead to failure.
2225         ac_old_val_w=`echo x $ac_old_val`
2226         ac_new_val_w=`echo x $ac_new_val`
2227         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2228           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2229 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2230           ac_cache_corrupted=:
2231         else
2232           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2233 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2234           eval $ac_var=\$ac_old_val
2235         fi
2236         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2237 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2238         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2239 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2240       fi;;
2241   esac
2242   # Pass precious variables to config.status.
2243   if test "$ac_new_set" = set; then
2244     case $ac_new_val in
2245     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2246     *) ac_arg=$ac_var=$ac_new_val ;;
2247     esac
2248     case " $ac_configure_args " in
2249       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2250       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2251     esac
2252   fi
2253 done
2254 if $ac_cache_corrupted; then
2255   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2258 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2259   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2260 fi
2261 ## -------------------- ##
2262 ## Main body of script. ##
2263 ## -------------------- ##
2264
2265 ac_ext=c
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270
2271
2272 am__api_version='1.15'
2273
2274 ac_aux_dir=
2275 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2276   if test -f "$ac_dir/install-sh"; then
2277     ac_aux_dir=$ac_dir
2278     ac_install_sh="$ac_aux_dir/install-sh -c"
2279     break
2280   elif test -f "$ac_dir/install.sh"; then
2281     ac_aux_dir=$ac_dir
2282     ac_install_sh="$ac_aux_dir/install.sh -c"
2283     break
2284   elif test -f "$ac_dir/shtool"; then
2285     ac_aux_dir=$ac_dir
2286     ac_install_sh="$ac_aux_dir/shtool install -c"
2287     break
2288   fi
2289 done
2290 if test -z "$ac_aux_dir"; then
2291   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2292 fi
2293
2294 # These three variables are undocumented and unsupported,
2295 # and are intended to be withdrawn in a future Autoconf release.
2296 # They can cause serious problems if a builder's source tree is in a directory
2297 # whose full name contains unusual characters.
2298 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2299 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2300 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2301
2302
2303 # Find a good install program.  We prefer a C program (faster),
2304 # so one script is as good as another.  But avoid the broken or
2305 # incompatible versions:
2306 # SysV /etc/install, /usr/sbin/install
2307 # SunOS /usr/etc/install
2308 # IRIX /sbin/install
2309 # AIX /bin/install
2310 # AmigaOS /C/install, which installs bootblocks on floppy discs
2311 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2312 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2313 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2314 # OS/2's system install, which has a completely different semantic
2315 # ./install, which can be erroneously created by make from ./install.sh.
2316 # Reject install programs that cannot install multiple files.
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2318 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2319 if test -z "$INSTALL"; then
2320 if ${ac_cv_path_install+:} false; then :
2321   $as_echo_n "(cached) " >&6
2322 else
2323   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2325 do
2326   IFS=$as_save_IFS
2327   test -z "$as_dir" && as_dir=.
2328     # Account for people who put trailing slashes in PATH elements.
2329 case $as_dir/ in #((
2330   ./ | .// | /[cC]/* | \
2331   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2332   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2333   /usr/ucb/* ) ;;
2334   *)
2335     # OSF1 and SCO ODT 3.0 have their own names for install.
2336     # Don't use installbsd from OSF since it installs stuff as root
2337     # by default.
2338     for ac_prog in ginstall scoinst install; do
2339       for ac_exec_ext in '' $ac_executable_extensions; do
2340         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2341           if test $ac_prog = install &&
2342             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2343             # AIX install.  It has an incompatible calling convention.
2344             :
2345           elif test $ac_prog = install &&
2346             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2347             # program-specific install script used by HP pwplus--don't use.
2348             :
2349           else
2350             rm -rf conftest.one conftest.two conftest.dir
2351             echo one > conftest.one
2352             echo two > conftest.two
2353             mkdir conftest.dir
2354             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2355               test -s conftest.one && test -s conftest.two &&
2356               test -s conftest.dir/conftest.one &&
2357               test -s conftest.dir/conftest.two
2358             then
2359               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2360               break 3
2361             fi
2362           fi
2363         fi
2364       done
2365     done
2366     ;;
2367 esac
2368
2369   done
2370 IFS=$as_save_IFS
2371
2372 rm -rf conftest.one conftest.two conftest.dir
2373
2374 fi
2375   if test "${ac_cv_path_install+set}" = set; then
2376     INSTALL=$ac_cv_path_install
2377   else
2378     # As a last resort, use the slow shell script.  Don't cache a
2379     # value for INSTALL within a source directory, because that will
2380     # break other packages using the cache if that directory is
2381     # removed, or if the value is a relative name.
2382     INSTALL=$ac_install_sh
2383   fi
2384 fi
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2386 $as_echo "$INSTALL" >&6; }
2387
2388 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2389 # It thinks the first close brace ends the variable substitution.
2390 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2391
2392 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2393
2394 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2395
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2397 $as_echo_n "checking whether build environment is sane... " >&6; }
2398 # Reject unsafe characters in $srcdir or the absolute working directory
2399 # name.  Accept space and tab only in the latter.
2400 am_lf='
2401 '
2402 case `pwd` in
2403   *[\\\"\#\$\&\'\`$am_lf]*)
2404     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2405 esac
2406 case $srcdir in
2407   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2408     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2409 esac
2410
2411 # Do 'set' in a subshell so we don't clobber the current shell's
2412 # arguments.  Must try -L first in case configure is actually a
2413 # symlink; some systems play weird games with the mod time of symlinks
2414 # (eg FreeBSD returns the mod time of the symlink's containing
2415 # directory).
2416 if (
2417    am_has_slept=no
2418    for am_try in 1 2; do
2419      echo "timestamp, slept: $am_has_slept" > conftest.file
2420      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2421      if test "$*" = "X"; then
2422         # -L didn't work.
2423         set X `ls -t "$srcdir/configure" conftest.file`
2424      fi
2425      if test "$*" != "X $srcdir/configure conftest.file" \
2426         && test "$*" != "X conftest.file $srcdir/configure"; then
2427
2428         # If neither matched, then we have a broken ls.  This can happen
2429         # if, for instance, CONFIG_SHELL is bash and it inherits a
2430         # broken ls alias from the environment.  This has actually
2431         # happened.  Such a system could not be considered "sane".
2432         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2433   alias in your environment" "$LINENO" 5
2434      fi
2435      if test "$2" = conftest.file || test $am_try -eq 2; then
2436        break
2437      fi
2438      # Just in case.
2439      sleep 1
2440      am_has_slept=yes
2441    done
2442    test "$2" = conftest.file
2443    )
2444 then
2445    # Ok.
2446    :
2447 else
2448    as_fn_error $? "newly created file is older than distributed files!
2449 Check your system clock" "$LINENO" 5
2450 fi
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2452 $as_echo "yes" >&6; }
2453 # If we didn't sleep, we still need to ensure time stamps of config.status and
2454 # generated files are strictly newer.
2455 am_sleep_pid=
2456 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2457   ( sleep 1 ) &
2458   am_sleep_pid=$!
2459 fi
2460
2461 rm -f conftest.file
2462
2463 test "$program_prefix" != NONE &&
2464   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2465 # Use a double $ so make ignores it.
2466 test "$program_suffix" != NONE &&
2467   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2468 # Double any \ or $.
2469 # By default was `s,x,x', remove it if useless.
2470 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2471 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2472
2473 # Expand $ac_aux_dir to an absolute path.
2474 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2475
2476 if test x"${MISSING+set}" != xset; then
2477   case $am_aux_dir in
2478   *\ * | *\     *)
2479     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2480   *)
2481     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2482   esac
2483 fi
2484 # Use eval to expand $SHELL
2485 if eval "$MISSING --is-lightweight"; then
2486   am_missing_run="$MISSING "
2487 else
2488   am_missing_run=
2489   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2490 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2491 fi
2492
2493 if test x"${install_sh+set}" != xset; then
2494   case $am_aux_dir in
2495   *\ * | *\     *)
2496     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2497   *)
2498     install_sh="\${SHELL} $am_aux_dir/install-sh"
2499   esac
2500 fi
2501
2502 # Installed binaries are usually stripped using 'strip' when the user
2503 # run "make install-strip".  However 'strip' might not be the right
2504 # tool to use in cross-compilation environments, therefore Automake
2505 # will honor the 'STRIP' environment variable to overrule this program.
2506 if test "$cross_compiling" != no; then
2507   if test -n "$ac_tool_prefix"; then
2508   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2509 set dummy ${ac_tool_prefix}strip; ac_word=$2
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511 $as_echo_n "checking for $ac_word... " >&6; }
2512 if ${ac_cv_prog_STRIP+:} false; then :
2513   $as_echo_n "(cached) " >&6
2514 else
2515   if test -n "$STRIP"; then
2516   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2517 else
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 for as_dir in $PATH
2520 do
2521   IFS=$as_save_IFS
2522   test -z "$as_dir" && as_dir=.
2523     for ac_exec_ext in '' $ac_executable_extensions; do
2524   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2525     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2527     break 2
2528   fi
2529 done
2530   done
2531 IFS=$as_save_IFS
2532
2533 fi
2534 fi
2535 STRIP=$ac_cv_prog_STRIP
2536 if test -n "$STRIP"; then
2537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2538 $as_echo "$STRIP" >&6; }
2539 else
2540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2542 fi
2543
2544
2545 fi
2546 if test -z "$ac_cv_prog_STRIP"; then
2547   ac_ct_STRIP=$STRIP
2548   # Extract the first word of "strip", so it can be a program name with args.
2549 set dummy strip; ac_word=$2
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2553   $as_echo_n "(cached) " >&6
2554 else
2555   if test -n "$ac_ct_STRIP"; then
2556   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2557 else
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 for as_dir in $PATH
2560 do
2561   IFS=$as_save_IFS
2562   test -z "$as_dir" && as_dir=.
2563     for ac_exec_ext in '' $ac_executable_extensions; do
2564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2565     ac_cv_prog_ac_ct_STRIP="strip"
2566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567     break 2
2568   fi
2569 done
2570   done
2571 IFS=$as_save_IFS
2572
2573 fi
2574 fi
2575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2576 if test -n "$ac_ct_STRIP"; then
2577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2578 $as_echo "$ac_ct_STRIP" >&6; }
2579 else
2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2582 fi
2583
2584   if test "x$ac_ct_STRIP" = x; then
2585     STRIP=":"
2586   else
2587     case $cross_compiling:$ac_tool_warned in
2588 yes:)
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2591 ac_tool_warned=yes ;;
2592 esac
2593     STRIP=$ac_ct_STRIP
2594   fi
2595 else
2596   STRIP="$ac_cv_prog_STRIP"
2597 fi
2598
2599 fi
2600 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2601
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2603 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2604 if test -z "$MKDIR_P"; then
2605   if ${ac_cv_path_mkdir+:} false; then :
2606   $as_echo_n "(cached) " >&6
2607 else
2608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2610 do
2611   IFS=$as_save_IFS
2612   test -z "$as_dir" && as_dir=.
2613     for ac_prog in mkdir gmkdir; do
2614          for ac_exec_ext in '' $ac_executable_extensions; do
2615            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2616            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2617              'mkdir (GNU coreutils) '* | \
2618              'mkdir (coreutils) '* | \
2619              'mkdir (fileutils) '4.1*)
2620                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2621                break 3;;
2622            esac
2623          done
2624        done
2625   done
2626 IFS=$as_save_IFS
2627
2628 fi
2629
2630   test -d ./--version && rmdir ./--version
2631   if test "${ac_cv_path_mkdir+set}" = set; then
2632     MKDIR_P="$ac_cv_path_mkdir -p"
2633   else
2634     # As a last resort, use the slow shell script.  Don't cache a
2635     # value for MKDIR_P within a source directory, because that will
2636     # break other packages using the cache if that directory is
2637     # removed, or if the value is a relative name.
2638     MKDIR_P="$ac_install_sh -d"
2639   fi
2640 fi
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2642 $as_echo "$MKDIR_P" >&6; }
2643
2644 for ac_prog in gawk mawk nawk awk
2645 do
2646   # Extract the first word of "$ac_prog", so it can be a program name with args.
2647 set dummy $ac_prog; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_AWK+:} false; then :
2651   $as_echo_n "(cached) " >&6
2652 else
2653   if test -n "$AWK"; then
2654   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2655 else
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH
2658 do
2659   IFS=$as_save_IFS
2660   test -z "$as_dir" && as_dir=.
2661     for ac_exec_ext in '' $ac_executable_extensions; do
2662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663     ac_cv_prog_AWK="$ac_prog"
2664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2665     break 2
2666   fi
2667 done
2668   done
2669 IFS=$as_save_IFS
2670
2671 fi
2672 fi
2673 AWK=$ac_cv_prog_AWK
2674 if test -n "$AWK"; then
2675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2676 $as_echo "$AWK" >&6; }
2677 else
2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2680 fi
2681
2682
2683   test -n "$AWK" && break
2684 done
2685
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2687 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2688 set x ${MAKE-make}
2689 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2690 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2691   $as_echo_n "(cached) " >&6
2692 else
2693   cat >conftest.make <<\_ACEOF
2694 SHELL = /bin/sh
2695 all:
2696         @echo '@@@%%%=$(MAKE)=@@@%%%'
2697 _ACEOF
2698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2699 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2700   *@@@%%%=?*=@@@%%%*)
2701     eval ac_cv_prog_make_${ac_make}_set=yes;;
2702   *)
2703     eval ac_cv_prog_make_${ac_make}_set=no;;
2704 esac
2705 rm -f conftest.make
2706 fi
2707 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2709 $as_echo "yes" >&6; }
2710   SET_MAKE=
2711 else
2712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2714   SET_MAKE="MAKE=${MAKE-make}"
2715 fi
2716
2717 rm -rf .tst 2>/dev/null
2718 mkdir .tst 2>/dev/null
2719 if test -d .tst; then
2720   am__leading_dot=.
2721 else
2722   am__leading_dot=_
2723 fi
2724 rmdir .tst 2>/dev/null
2725
2726 # Check whether --enable-silent-rules was given.
2727 if test "${enable_silent_rules+set}" = set; then :
2728   enableval=$enable_silent_rules;
2729 fi
2730
2731 case $enable_silent_rules in # (((
2732   yes) AM_DEFAULT_VERBOSITY=0;;
2733    no) AM_DEFAULT_VERBOSITY=1;;
2734     *) AM_DEFAULT_VERBOSITY=1;;
2735 esac
2736 am_make=${MAKE-make}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2738 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2739 if ${am_cv_make_support_nested_variables+:} false; then :
2740   $as_echo_n "(cached) " >&6
2741 else
2742   if $as_echo 'TRUE=$(BAR$(V))
2743 BAR0=false
2744 BAR1=true
2745 V=1
2746 am__doit:
2747         @$(TRUE)
2748 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2749   am_cv_make_support_nested_variables=yes
2750 else
2751   am_cv_make_support_nested_variables=no
2752 fi
2753 fi
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2755 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2756 if test $am_cv_make_support_nested_variables = yes; then
2757     AM_V='$(V)'
2758   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2759 else
2760   AM_V=$AM_DEFAULT_VERBOSITY
2761   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2762 fi
2763 AM_BACKSLASH='\'
2764
2765 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2766   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2767   # is not polluted with repeated "-I."
2768   am__isrc=' -I$(srcdir)'
2769   # test to see if srcdir already configured
2770   if test -f $srcdir/config.status; then
2771     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2772   fi
2773 fi
2774
2775 # test whether we have cygpath
2776 if test -z "$CYGPATH_W"; then
2777   if (cygpath --version) >/dev/null 2>/dev/null; then
2778     CYGPATH_W='cygpath -w'
2779   else
2780     CYGPATH_W=echo
2781   fi
2782 fi
2783
2784
2785 # Define the identity of the package.
2786  PACKAGE='gnucomo'
2787  VERSION='0.0.13'
2788
2789
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE "$PACKAGE"
2792 _ACEOF
2793
2794
2795 cat >>confdefs.h <<_ACEOF
2796 #define VERSION "$VERSION"
2797 _ACEOF
2798
2799 # Some tools Automake needs.
2800
2801 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2802
2803
2804 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2805
2806
2807 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2808
2809
2810 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2811
2812
2813 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2814
2815 # For better backward compatibility.  To be removed once Automake 1.9.x
2816 # dies out for good.  For more background, see:
2817 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2818 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2819 mkdir_p='$(MKDIR_P)'
2820
2821 # We need awk for the "check" target (and possibly the TAP driver).  The
2822 # system "awk" is bad on some platforms.
2823 # Always define AMTAR for backward compatibility.  Yes, it's still used
2824 # in the wild :-(  We should find a proper way to deprecate it ...
2825 AMTAR='$${TAR-tar}'
2826
2827
2828 # We'll loop over all known methods to create a tar archive until one works.
2829 _am_tools='gnutar  pax cpio none'
2830
2831 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2832
2833
2834
2835
2836
2837
2838 # POSIX will say in a future version that running "rm -f" with no argument
2839 # is OK; and we want to be able to make that assumption in our Makefile
2840 # recipes.  So use an aggressive probe to check that the usage we want is
2841 # actually supported "in the wild" to an acceptable degree.
2842 # See automake bug#10828.
2843 # To make any issue more visible, cause the running configure to be aborted
2844 # by default if the 'rm' program in use doesn't match our expectations; the
2845 # user can still override this though.
2846 if rm -f && rm -fr && rm -rf; then : OK; else
2847   cat >&2 <<'END'
2848 Oops!
2849
2850 Your 'rm' program seems unable to run without file operands specified
2851 on the command line, even when the '-f' option is present.  This is contrary
2852 to the behaviour of most rm programs out there, and not conforming with
2853 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2854
2855 Please tell bug-automake@gnu.org about your system, including the value
2856 of your $PATH and any error possibly output before this message.  This
2857 can help us improve future automake versions.
2858
2859 END
2860   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2861     echo 'Configuration will proceed anyway, since you have set the' >&2
2862     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2863     echo >&2
2864   else
2865     cat >&2 <<'END'
2866 Aborting the configuration process, to ensure you take notice of the issue.
2867
2868 You can download and install GNU coreutils to get an 'rm' implementation
2869 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2870
2871 If you want to complete the configuration process using your problematic
2872 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2873 to "yes", and re-run configure.
2874
2875 END
2876     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2877   fi
2878 fi
2879
2880 ac_ext=cpp
2881 ac_cpp='$CXXCPP $CPPFLAGS'
2882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2885
2886
2887 ac_config_headers="$ac_config_headers config.h"
2888
2889
2890 # Checks for programs.
2891 ac_ext=cpp
2892 ac_cpp='$CXXCPP $CPPFLAGS'
2893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2896 if test -z "$CXX"; then
2897   if test -n "$CCC"; then
2898     CXX=$CCC
2899   else
2900     if test -n "$ac_tool_prefix"; then
2901   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2902   do
2903     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if ${ac_cv_prog_CXX+:} false; then :
2908   $as_echo_n "(cached) " >&6
2909 else
2910   if test -n "$CXX"; then
2911   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2912 else
2913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914 for as_dir in $PATH
2915 do
2916   IFS=$as_save_IFS
2917   test -z "$as_dir" && as_dir=.
2918     for ac_exec_ext in '' $ac_executable_extensions; do
2919   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2920     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922     break 2
2923   fi
2924 done
2925   done
2926 IFS=$as_save_IFS
2927
2928 fi
2929 fi
2930 CXX=$ac_cv_prog_CXX
2931 if test -n "$CXX"; then
2932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2933 $as_echo "$CXX" >&6; }
2934 else
2935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2937 fi
2938
2939
2940     test -n "$CXX" && break
2941   done
2942 fi
2943 if test -z "$CXX"; then
2944   ac_ct_CXX=$CXX
2945   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2946 do
2947   # Extract the first word of "$ac_prog", so it can be a program name with args.
2948 set dummy $ac_prog; ac_word=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2952   $as_echo_n "(cached) " >&6
2953 else
2954   if test -n "$ac_ct_CXX"; then
2955   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2956 else
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 for as_dir in $PATH
2959 do
2960   IFS=$as_save_IFS
2961   test -z "$as_dir" && as_dir=.
2962     for ac_exec_ext in '' $ac_executable_extensions; do
2963   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964     ac_cv_prog_ac_ct_CXX="$ac_prog"
2965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966     break 2
2967   fi
2968 done
2969   done
2970 IFS=$as_save_IFS
2971
2972 fi
2973 fi
2974 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2975 if test -n "$ac_ct_CXX"; then
2976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2977 $as_echo "$ac_ct_CXX" >&6; }
2978 else
2979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2981 fi
2982
2983
2984   test -n "$ac_ct_CXX" && break
2985 done
2986
2987   if test "x$ac_ct_CXX" = x; then
2988     CXX="g++"
2989   else
2990     case $cross_compiling:$ac_tool_warned in
2991 yes:)
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2994 ac_tool_warned=yes ;;
2995 esac
2996     CXX=$ac_ct_CXX
2997   fi
2998 fi
2999
3000   fi
3001 fi
3002 # Provide some information about the compiler.
3003 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3004 set X $ac_compile
3005 ac_compiler=$2
3006 for ac_option in --version -v -V -qversion; do
3007   { { ac_try="$ac_compiler $ac_option >&5"
3008 case "(($ac_try" in
3009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010   *) ac_try_echo=$ac_try;;
3011 esac
3012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3013 $as_echo "$ac_try_echo"; } >&5
3014   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3015   ac_status=$?
3016   if test -s conftest.err; then
3017     sed '10a\
3018 ... rest of stderr output deleted ...
3019          10q' conftest.err >conftest.er1
3020     cat conftest.er1 >&5
3021   fi
3022   rm -f conftest.er1 conftest.err
3023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024   test $ac_status = 0; }
3025 done
3026
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h.  */
3029
3030 int
3031 main ()
3032 {
3033
3034   ;
3035   return 0;
3036 }
3037 _ACEOF
3038 ac_clean_files_save=$ac_clean_files
3039 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3040 # Try to create an executable without -o first, disregard a.out.
3041 # It will help us diagnose broken compilers, and finding out an intuition
3042 # of exeext.
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3044 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3045 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3046
3047 # The possible output files:
3048 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3049
3050 ac_rmfiles=
3051 for ac_file in $ac_files
3052 do
3053   case $ac_file in
3054     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3055     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3056   esac
3057 done
3058 rm -f $ac_rmfiles
3059
3060 if { { ac_try="$ac_link_default"
3061 case "(($ac_try" in
3062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063   *) ac_try_echo=$ac_try;;
3064 esac
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067   (eval "$ac_link_default") 2>&5
3068   ac_status=$?
3069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070   test $ac_status = 0; }; then :
3071   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3072 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3073 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3074 # so that the user can short-circuit this test for compilers unknown to
3075 # Autoconf.
3076 for ac_file in $ac_files ''
3077 do
3078   test -f "$ac_file" || continue
3079   case $ac_file in
3080     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3081         ;;
3082     [ab].out )
3083         # We found the default executable, but exeext='' is most
3084         # certainly right.
3085         break;;
3086     *.* )
3087         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3088         then :; else
3089            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090         fi
3091         # We set ac_cv_exeext here because the later test for it is not
3092         # safe: cross compilers may not add the suffix if given an `-o'
3093         # argument, so we may need to know it at that point already.
3094         # Even if this section looks crufty: it has the advantage of
3095         # actually working.
3096         break;;
3097     * )
3098         break;;
3099   esac
3100 done
3101 test "$ac_cv_exeext" = no && ac_cv_exeext=
3102
3103 else
3104   ac_file=''
3105 fi
3106 if test -z "$ac_file"; then :
3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3109 $as_echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3111
3112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3114 as_fn_error 77 "C++ compiler cannot create executables
3115 See \`config.log' for more details" "$LINENO" 5; }
3116 else
3117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3118 $as_echo "yes" >&6; }
3119 fi
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3121 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3123 $as_echo "$ac_file" >&6; }
3124 ac_exeext=$ac_cv_exeext
3125
3126 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3127 ac_clean_files=$ac_clean_files_save
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3129 $as_echo_n "checking for suffix of executables... " >&6; }
3130 if { { ac_try="$ac_link"
3131 case "(($ac_try" in
3132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133   *) ac_try_echo=$ac_try;;
3134 esac
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136 $as_echo "$ac_try_echo"; } >&5
3137   (eval "$ac_link") 2>&5
3138   ac_status=$?
3139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140   test $ac_status = 0; }; then :
3141   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3142 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3143 # work properly (i.e., refer to `conftest.exe'), while it won't with
3144 # `rm'.
3145 for ac_file in conftest.exe conftest conftest.*; do
3146   test -f "$ac_file" || continue
3147   case $ac_file in
3148     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3149     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150           break;;
3151     * ) break;;
3152   esac
3153 done
3154 else
3155   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3157 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3158 See \`config.log' for more details" "$LINENO" 5; }
3159 fi
3160 rm -f conftest conftest$ac_cv_exeext
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3162 $as_echo "$ac_cv_exeext" >&6; }
3163
3164 rm -f conftest.$ac_ext
3165 EXEEXT=$ac_cv_exeext
3166 ac_exeext=$EXEEXT
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h.  */
3169 #include <stdio.h>
3170 int
3171 main ()
3172 {
3173 FILE *f = fopen ("conftest.out", "w");
3174  return ferror (f) || fclose (f) != 0;
3175
3176   ;
3177   return 0;
3178 }
3179 _ACEOF
3180 ac_clean_files="$ac_clean_files conftest.out"
3181 # Check that the compiler produces executables we can run.  If not, either
3182 # the compiler is broken, or we cross compile.
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3184 $as_echo_n "checking whether we are cross compiling... " >&6; }
3185 if test "$cross_compiling" != yes; then
3186   { { ac_try="$ac_link"
3187 case "(($ac_try" in
3188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189   *) ac_try_echo=$ac_try;;
3190 esac
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193   (eval "$ac_link") 2>&5
3194   ac_status=$?
3195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196   test $ac_status = 0; }
3197   if { ac_try='./conftest$ac_cv_exeext'
3198   { { case "(($ac_try" in
3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200   *) ac_try_echo=$ac_try;;
3201 esac
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204   (eval "$ac_try") 2>&5
3205   ac_status=$?
3206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207   test $ac_status = 0; }; }; then
3208     cross_compiling=no
3209   else
3210     if test "$cross_compiling" = maybe; then
3211         cross_compiling=yes
3212     else
3213         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 as_fn_error $? "cannot run C++ compiled programs.
3216 If you meant to cross compile, use \`--host'.
3217 See \`config.log' for more details" "$LINENO" 5; }
3218     fi
3219   fi
3220 fi
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3222 $as_echo "$cross_compiling" >&6; }
3223
3224 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3225 ac_clean_files=$ac_clean_files_save
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3227 $as_echo_n "checking for suffix of object files... " >&6; }
3228 if ${ac_cv_objext+:} false; then :
3229   $as_echo_n "(cached) " >&6
3230 else
3231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h.  */
3233
3234 int
3235 main ()
3236 {
3237
3238   ;
3239   return 0;
3240 }
3241 _ACEOF
3242 rm -f conftest.o conftest.obj
3243 if { { ac_try="$ac_compile"
3244 case "(($ac_try" in
3245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246   *) ac_try_echo=$ac_try;;
3247 esac
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250   (eval "$ac_compile") 2>&5
3251   ac_status=$?
3252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253   test $ac_status = 0; }; then :
3254   for ac_file in conftest.o conftest.obj conftest.*; do
3255   test -f "$ac_file" || continue;
3256   case $ac_file in
3257     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3258     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3259        break;;
3260   esac
3261 done
3262 else
3263   $as_echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3265
3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error $? "cannot compute suffix of object files: cannot compile
3269 See \`config.log' for more details" "$LINENO" 5; }
3270 fi
3271 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3272 fi
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3274 $as_echo "$ac_cv_objext" >&6; }
3275 OBJEXT=$ac_cv_objext
3276 ac_objext=$OBJEXT
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3278 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3279 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3280   $as_echo_n "(cached) " >&6
3281 else
3282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h.  */
3284
3285 int
3286 main ()
3287 {
3288 #ifndef __GNUC__
3289        choke me
3290 #endif
3291
3292   ;
3293   return 0;
3294 }
3295 _ACEOF
3296 if ac_fn_cxx_try_compile "$LINENO"; then :
3297   ac_compiler_gnu=yes
3298 else
3299   ac_compiler_gnu=no
3300 fi
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3303
3304 fi
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3306 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3307 if test $ac_compiler_gnu = yes; then
3308   GXX=yes
3309 else
3310   GXX=
3311 fi
3312 ac_test_CXXFLAGS=${CXXFLAGS+set}
3313 ac_save_CXXFLAGS=$CXXFLAGS
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3315 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3316 if ${ac_cv_prog_cxx_g+:} false; then :
3317   $as_echo_n "(cached) " >&6
3318 else
3319   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3320    ac_cxx_werror_flag=yes
3321    ac_cv_prog_cxx_g=no
3322    CXXFLAGS="-g"
3323    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h.  */
3325
3326 int
3327 main ()
3328 {
3329
3330   ;
3331   return 0;
3332 }
3333 _ACEOF
3334 if ac_fn_cxx_try_compile "$LINENO"; then :
3335   ac_cv_prog_cxx_g=yes
3336 else
3337   CXXFLAGS=""
3338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h.  */
3340
3341 int
3342 main ()
3343 {
3344
3345   ;
3346   return 0;
3347 }
3348 _ACEOF
3349 if ac_fn_cxx_try_compile "$LINENO"; then :
3350
3351 else
3352   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3353          CXXFLAGS="-g"
3354          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h.  */
3356
3357 int
3358 main ()
3359 {
3360
3361   ;
3362   return 0;
3363 }
3364 _ACEOF
3365 if ac_fn_cxx_try_compile "$LINENO"; then :
3366   ac_cv_prog_cxx_g=yes
3367 fi
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 fi
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3371 fi
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3374 fi
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3376 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3377 if test "$ac_test_CXXFLAGS" = set; then
3378   CXXFLAGS=$ac_save_CXXFLAGS
3379 elif test $ac_cv_prog_cxx_g = yes; then
3380   if test "$GXX" = yes; then
3381     CXXFLAGS="-g -O2"
3382   else
3383     CXXFLAGS="-g"
3384   fi
3385 else
3386   if test "$GXX" = yes; then
3387     CXXFLAGS="-O2"
3388   else
3389     CXXFLAGS=
3390   fi
3391 fi
3392 ac_ext=cpp
3393 ac_cpp='$CXXCPP $CPPFLAGS'
3394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3397 DEPDIR="${am__leading_dot}deps"
3398
3399 ac_config_commands="$ac_config_commands depfiles"
3400
3401
3402 am_make=${MAKE-make}
3403 cat > confinc << 'END'
3404 am__doit:
3405         @echo this is the am__doit target
3406 .PHONY: am__doit
3407 END
3408 # If we don't find an include directive, just comment out the code.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3410 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3411 am__include="#"
3412 am__quote=
3413 _am_result=none
3414 # First try GNU make style include.
3415 echo "include confinc" > confmf
3416 # Ignore all kinds of additional output from 'make'.
3417 case `$am_make -s -f confmf 2> /dev/null` in #(
3418 *the\ am__doit\ target*)
3419   am__include=include
3420   am__quote=
3421   _am_result=GNU
3422   ;;
3423 esac
3424 # Now try BSD make style include.
3425 if test "$am__include" = "#"; then
3426    echo '.include "confinc"' > confmf
3427    case `$am_make -s -f confmf 2> /dev/null` in #(
3428    *the\ am__doit\ target*)
3429      am__include=.include
3430      am__quote="\""
3431      _am_result=BSD
3432      ;;
3433    esac
3434 fi
3435
3436
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3438 $as_echo "$_am_result" >&6; }
3439 rm -f confinc confmf
3440
3441 # Check whether --enable-dependency-tracking was given.
3442 if test "${enable_dependency_tracking+set}" = set; then :
3443   enableval=$enable_dependency_tracking;
3444 fi
3445
3446 if test "x$enable_dependency_tracking" != xno; then
3447   am_depcomp="$ac_aux_dir/depcomp"
3448   AMDEPBACKSLASH='\'
3449   am__nodep='_no'
3450 fi
3451  if test "x$enable_dependency_tracking" != xno; then
3452   AMDEP_TRUE=
3453   AMDEP_FALSE='#'
3454 else
3455   AMDEP_TRUE='#'
3456   AMDEP_FALSE=
3457 fi
3458
3459
3460
3461 depcc="$CXX"  am_compiler_list=
3462
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3464 $as_echo_n "checking dependency style of $depcc... " >&6; }
3465 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3466   $as_echo_n "(cached) " >&6
3467 else
3468   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3469   # We make a subdir and do the tests there.  Otherwise we can end up
3470   # making bogus files that we don't know about and never remove.  For
3471   # instance it was reported that on HP-UX the gcc test will end up
3472   # making a dummy file named 'D' -- because '-MD' means "put the output
3473   # in D".
3474   rm -rf conftest.dir
3475   mkdir conftest.dir
3476   # Copy depcomp to subdir because otherwise we won't find it if we're
3477   # using a relative directory.
3478   cp "$am_depcomp" conftest.dir
3479   cd conftest.dir
3480   # We will build objects and dependencies in a subdirectory because
3481   # it helps to detect inapplicable dependency modes.  For instance
3482   # both Tru64's cc and ICC support -MD to output dependencies as a
3483   # side effect of compilation, but ICC will put the dependencies in
3484   # the current directory while Tru64 will put them in the object
3485   # directory.
3486   mkdir sub
3487
3488   am_cv_CXX_dependencies_compiler_type=none
3489   if test "$am_compiler_list" = ""; then
3490      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3491   fi
3492   am__universal=false
3493   case " $depcc " in #(
3494      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3495      esac
3496
3497   for depmode in $am_compiler_list; do
3498     # Setup a source with many dependencies, because some compilers
3499     # like to wrap large dependency lists on column 80 (with \), and
3500     # we should not choose a depcomp mode which is confused by this.
3501     #
3502     # We need to recreate these files for each test, as the compiler may
3503     # overwrite some of them when testing with obscure command lines.
3504     # This happens at least with the AIX C compiler.
3505     : > sub/conftest.c
3506     for i in 1 2 3 4 5 6; do
3507       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3508       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3509       # Solaris 10 /bin/sh.
3510       echo '/* dummy */' > sub/conftst$i.h
3511     done
3512     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3513
3514     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3515     # mode.  It turns out that the SunPro C++ compiler does not properly
3516     # handle '-M -o', and we need to detect this.  Also, some Intel
3517     # versions had trouble with output in subdirs.
3518     am__obj=sub/conftest.${OBJEXT-o}
3519     am__minus_obj="-o $am__obj"
3520     case $depmode in
3521     gcc)
3522       # This depmode causes a compiler race in universal mode.
3523       test "$am__universal" = false || continue
3524       ;;
3525     nosideeffect)
3526       # After this tag, mechanisms are not by side-effect, so they'll
3527       # only be used when explicitly requested.
3528       if test "x$enable_dependency_tracking" = xyes; then
3529         continue
3530       else
3531         break
3532       fi
3533       ;;
3534     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3535       # This compiler won't grok '-c -o', but also, the minuso test has
3536       # not run yet.  These depmodes are late enough in the game, and
3537       # so weak that their functioning should not be impacted.
3538       am__obj=conftest.${OBJEXT-o}
3539       am__minus_obj=
3540       ;;
3541     none) break ;;
3542     esac
3543     if depmode=$depmode \
3544        source=sub/conftest.c object=$am__obj \
3545        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3546        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3547          >/dev/null 2>conftest.err &&
3548        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3549        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3550        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3551        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3552       # icc doesn't choke on unknown options, it will just issue warnings
3553       # or remarks (even with -Werror).  So we grep stderr for any message
3554       # that says an option was ignored or not supported.
3555       # When given -MP, icc 7.0 and 7.1 complain thusly:
3556       #   icc: Command line warning: ignoring option '-M'; no argument required
3557       # The diagnosis changed in icc 8.0:
3558       #   icc: Command line remark: option '-MP' not supported
3559       if (grep 'ignoring option' conftest.err ||
3560           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3561         am_cv_CXX_dependencies_compiler_type=$depmode
3562         break
3563       fi
3564     fi
3565   done
3566
3567   cd ..
3568   rm -rf conftest.dir
3569 else
3570   am_cv_CXX_dependencies_compiler_type=none
3571 fi
3572
3573 fi
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3575 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3576 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3577
3578  if
3579   test "x$enable_dependency_tracking" != xno \
3580   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3581   am__fastdepCXX_TRUE=
3582   am__fastdepCXX_FALSE='#'
3583 else
3584   am__fastdepCXX_TRUE='#'
3585   am__fastdepCXX_FALSE=
3586 fi
3587
3588
3589 ac_ext=c
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 if test -n "$ac_tool_prefix"; then
3595   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3596 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if ${ac_cv_prog_CC+:} false; then :
3600   $as_echo_n "(cached) " >&6
3601 else
3602   if test -n "$CC"; then
3603   ac_cv_prog_CC="$CC" # Let the user override the test.
3604 else
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 for as_dir in $PATH
3607 do
3608   IFS=$as_save_IFS
3609   test -z "$as_dir" && as_dir=.
3610     for ac_exec_ext in '' $ac_executable_extensions; do
3611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614     break 2
3615   fi
3616 done
3617   done
3618 IFS=$as_save_IFS
3619
3620 fi
3621 fi
3622 CC=$ac_cv_prog_CC
3623 if test -n "$CC"; then
3624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3625 $as_echo "$CC" >&6; }
3626 else
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3629 fi
3630
3631
3632 fi
3633 if test -z "$ac_cv_prog_CC"; then
3634   ac_ct_CC=$CC
3635   # Extract the first word of "gcc", so it can be a program name with args.
3636 set dummy gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   if test -n "$ac_ct_CC"; then
3643   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3647 do
3648   IFS=$as_save_IFS
3649   test -z "$as_dir" && as_dir=.
3650     for ac_exec_ext in '' $ac_executable_extensions; do
3651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652     ac_cv_prog_ac_ct_CC="gcc"
3653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654     break 2
3655   fi
3656 done
3657   done
3658 IFS=$as_save_IFS
3659
3660 fi
3661 fi
3662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3663 if test -n "$ac_ct_CC"; then
3664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3665 $as_echo "$ac_ct_CC" >&6; }
3666 else
3667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3669 fi
3670
3671   if test "x$ac_ct_CC" = x; then
3672     CC=""
3673   else
3674     case $cross_compiling:$ac_tool_warned in
3675 yes:)
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3678 ac_tool_warned=yes ;;
3679 esac
3680     CC=$ac_ct_CC
3681   fi
3682 else
3683   CC="$ac_cv_prog_CC"
3684 fi
3685
3686 if test -z "$CC"; then
3687           if test -n "$ac_tool_prefix"; then
3688     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3689 set dummy ${ac_tool_prefix}cc; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if ${ac_cv_prog_CC+:} false; then :
3693   $as_echo_n "(cached) " >&6
3694 else
3695   if test -n "$CC"; then
3696   ac_cv_prog_CC="$CC" # Let the user override the test.
3697 else
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3699 for as_dir in $PATH
3700 do
3701   IFS=$as_save_IFS
3702   test -z "$as_dir" && as_dir=.
3703     for ac_exec_ext in '' $ac_executable_extensions; do
3704   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3705     ac_cv_prog_CC="${ac_tool_prefix}cc"
3706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707     break 2
3708   fi
3709 done
3710   done
3711 IFS=$as_save_IFS
3712
3713 fi
3714 fi
3715 CC=$ac_cv_prog_CC
3716 if test -n "$CC"; then
3717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3718 $as_echo "$CC" >&6; }
3719 else
3720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3722 fi
3723
3724
3725   fi
3726 fi
3727 if test -z "$CC"; then
3728   # Extract the first word of "cc", so it can be a program name with args.
3729 set dummy cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733   $as_echo_n "(cached) " >&6
3734 else
3735   if test -n "$CC"; then
3736   ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738   ac_prog_rejected=no
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3741 do
3742   IFS=$as_save_IFS
3743   test -z "$as_dir" && as_dir=.
3744     for ac_exec_ext in '' $ac_executable_extensions; do
3745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3747        ac_prog_rejected=yes
3748        continue
3749      fi
3750     ac_cv_prog_CC="cc"
3751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752     break 2
3753   fi
3754 done
3755   done
3756 IFS=$as_save_IFS
3757
3758 if test $ac_prog_rejected = yes; then
3759   # We found a bogon in the path, so make sure we never use it.
3760   set dummy $ac_cv_prog_CC
3761   shift
3762   if test $# != 0; then
3763     # We chose a different compiler from the bogus one.
3764     # However, it has the same basename, so the bogon will be chosen
3765     # first if we set CC to just the basename; use the full file name.
3766     shift
3767     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3768   fi
3769 fi
3770 fi
3771 fi
3772 CC=$ac_cv_prog_CC
3773 if test -n "$CC"; then
3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3776 else
3777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3779 fi
3780
3781
3782 fi
3783 if test -z "$CC"; then
3784   if test -n "$ac_tool_prefix"; then
3785   for ac_prog in cl.exe
3786   do
3787     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CC+:} false; then :
3792   $as_echo_n "(cached) " >&6
3793 else
3794   if test -n "$CC"; then
3795   ac_cv_prog_CC="$CC" # Let the user override the test.
3796 else
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3799 do
3800   IFS=$as_save_IFS
3801   test -z "$as_dir" && as_dir=.
3802     for ac_exec_ext in '' $ac_executable_extensions; do
3803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806     break 2
3807   fi
3808 done
3809   done
3810 IFS=$as_save_IFS
3811
3812 fi
3813 fi
3814 CC=$ac_cv_prog_CC
3815 if test -n "$CC"; then
3816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3818 else
3819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3821 fi
3822
3823
3824     test -n "$CC" && break
3825   done
3826 fi
3827 if test -z "$CC"; then
3828   ac_ct_CC=$CC
3829   for ac_prog in cl.exe
3830 do
3831   # Extract the first word of "$ac_prog", so it can be a program name with args.
3832 set dummy $ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3836   $as_echo_n "(cached) " >&6
3837 else
3838   if test -n "$ac_ct_CC"; then
3839   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3840 else
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842 for as_dir in $PATH
3843 do
3844   IFS=$as_save_IFS
3845   test -z "$as_dir" && as_dir=.
3846     for ac_exec_ext in '' $ac_executable_extensions; do
3847   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848     ac_cv_prog_ac_ct_CC="$ac_prog"
3849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850     break 2
3851   fi
3852 done
3853   done
3854 IFS=$as_save_IFS
3855
3856 fi
3857 fi
3858 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3859 if test -n "$ac_ct_CC"; then
3860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3861 $as_echo "$ac_ct_CC" >&6; }
3862 else
3863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3865 fi
3866
3867
3868   test -n "$ac_ct_CC" && break
3869 done
3870
3871   if test "x$ac_ct_CC" = x; then
3872     CC=""
3873   else
3874     case $cross_compiling:$ac_tool_warned in
3875 yes:)
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3878 ac_tool_warned=yes ;;
3879 esac
3880     CC=$ac_ct_CC
3881   fi
3882 fi
3883
3884 fi
3885
3886
3887 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3889 as_fn_error $? "no acceptable C compiler found in \$PATH
3890 See \`config.log' for more details" "$LINENO" 5; }
3891
3892 # Provide some information about the compiler.
3893 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3894 set X $ac_compile
3895 ac_compiler=$2
3896 for ac_option in --version -v -V -qversion; do
3897   { { ac_try="$ac_compiler $ac_option >&5"
3898 case "(($ac_try" in
3899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900   *) ac_try_echo=$ac_try;;
3901 esac
3902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3903 $as_echo "$ac_try_echo"; } >&5
3904   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3905   ac_status=$?
3906   if test -s conftest.err; then
3907     sed '10a\
3908 ... rest of stderr output deleted ...
3909          10q' conftest.err >conftest.er1
3910     cat conftest.er1 >&5
3911   fi
3912   rm -f conftest.er1 conftest.err
3913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914   test $ac_status = 0; }
3915 done
3916
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3918 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3919 if ${ac_cv_c_compiler_gnu+:} false; then :
3920   $as_echo_n "(cached) " >&6
3921 else
3922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h.  */
3924
3925 int
3926 main ()
3927 {
3928 #ifndef __GNUC__
3929        choke me
3930 #endif
3931
3932   ;
3933   return 0;
3934 }
3935 _ACEOF
3936 if ac_fn_c_try_compile "$LINENO"; then :
3937   ac_compiler_gnu=yes
3938 else
3939   ac_compiler_gnu=no
3940 fi
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3943
3944 fi
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3946 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3947 if test $ac_compiler_gnu = yes; then
3948   GCC=yes
3949 else
3950   GCC=
3951 fi
3952 ac_test_CFLAGS=${CFLAGS+set}
3953 ac_save_CFLAGS=$CFLAGS
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3955 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3956 if ${ac_cv_prog_cc_g+:} false; then :
3957   $as_echo_n "(cached) " >&6
3958 else
3959   ac_save_c_werror_flag=$ac_c_werror_flag
3960    ac_c_werror_flag=yes
3961    ac_cv_prog_cc_g=no
3962    CFLAGS="-g"
3963    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h.  */
3965
3966 int
3967 main ()
3968 {
3969
3970   ;
3971   return 0;
3972 }
3973 _ACEOF
3974 if ac_fn_c_try_compile "$LINENO"; then :
3975   ac_cv_prog_cc_g=yes
3976 else
3977   CFLAGS=""
3978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h.  */
3980
3981 int
3982 main ()
3983 {
3984
3985   ;
3986   return 0;
3987 }
3988 _ACEOF
3989 if ac_fn_c_try_compile "$LINENO"; then :
3990
3991 else
3992   ac_c_werror_flag=$ac_save_c_werror_flag
3993          CFLAGS="-g"
3994          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h.  */
3996
3997 int
3998 main ()
3999 {
4000
4001   ;
4002   return 0;
4003 }
4004 _ACEOF
4005 if ac_fn_c_try_compile "$LINENO"; then :
4006   ac_cv_prog_cc_g=yes
4007 fi
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009 fi
4010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 fi
4012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4013    ac_c_werror_flag=$ac_save_c_werror_flag
4014 fi
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4016 $as_echo "$ac_cv_prog_cc_g" >&6; }
4017 if test "$ac_test_CFLAGS" = set; then
4018   CFLAGS=$ac_save_CFLAGS
4019 elif test $ac_cv_prog_cc_g = yes; then
4020   if test "$GCC" = yes; then
4021     CFLAGS="-g -O2"
4022   else
4023     CFLAGS="-g"
4024   fi
4025 else
4026   if test "$GCC" = yes; then
4027     CFLAGS="-O2"
4028   else
4029     CFLAGS=
4030   fi
4031 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4033 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4034 if ${ac_cv_prog_cc_c89+:} false; then :
4035   $as_echo_n "(cached) " >&6
4036 else
4037   ac_cv_prog_cc_c89=no
4038 ac_save_CC=$CC
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h.  */
4041 #include <stdarg.h>
4042 #include <stdio.h>
4043 struct stat;
4044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4045 struct buf { int x; };
4046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4047 static char *e (p, i)
4048      char **p;
4049      int i;
4050 {
4051   return p[i];
4052 }
4053 static char *f (char * (*g) (char **, int), char **p, ...)
4054 {
4055   char *s;
4056   va_list v;
4057   va_start (v,p);
4058   s = g (p, va_arg (v,int));
4059   va_end (v);
4060   return s;
4061 }
4062
4063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4064    function prototypes and stuff, but not '\xHH' hex character constants.
4065    These don't provoke an error unfortunately, instead are silently treated
4066    as 'x'.  The following induces an error, until -std is added to get
4067    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4068    array size at least.  It's necessary to write '\x00'==0 to get something
4069    that's true only with -std.  */
4070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4071
4072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4073    inside strings and character constants.  */
4074 #define FOO(x) 'x'
4075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4076
4077 int test (int i, double x);
4078 struct s1 {int (*f) (int a);};
4079 struct s2 {int (*f) (double a);};
4080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4081 int argc;
4082 char **argv;
4083 int
4084 main ()
4085 {
4086 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4087   ;
4088   return 0;
4089 }
4090 _ACEOF
4091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4092         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4093 do
4094   CC="$ac_save_CC $ac_arg"
4095   if ac_fn_c_try_compile "$LINENO"; then :
4096   ac_cv_prog_cc_c89=$ac_arg
4097 fi
4098 rm -f core conftest.err conftest.$ac_objext
4099   test "x$ac_cv_prog_cc_c89" != "xno" && break
4100 done
4101 rm -f conftest.$ac_ext
4102 CC=$ac_save_CC
4103
4104 fi
4105 # AC_CACHE_VAL
4106 case "x$ac_cv_prog_cc_c89" in
4107   x)
4108     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4109 $as_echo "none needed" >&6; } ;;
4110   xno)
4111     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4112 $as_echo "unsupported" >&6; } ;;
4113   *)
4114     CC="$CC $ac_cv_prog_cc_c89"
4115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4117 esac
4118 if test "x$ac_cv_prog_cc_c89" != xno; then :
4119
4120 fi
4121
4122 ac_ext=cpp
4123 ac_cpp='$CXXCPP $CPPFLAGS'
4124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4127
4128 ac_ext=c
4129 ac_cpp='$CPP $CPPFLAGS'
4130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4134 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4135 if ${am_cv_prog_cc_c_o+:} false; then :
4136   $as_echo_n "(cached) " >&6
4137 else
4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h.  */
4140
4141 int
4142 main ()
4143 {
4144
4145   ;
4146   return 0;
4147 }
4148 _ACEOF
4149   # Make sure it works both with $CC and with simple cc.
4150   # Following AC_PROG_CC_C_O, we do the test twice because some
4151   # compilers refuse to overwrite an existing .o file with -o,
4152   # though they will create one.
4153   am_cv_prog_cc_c_o=yes
4154   for am_i in 1 2; do
4155     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4156    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4157    ac_status=$?
4158    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159    (exit $ac_status); } \
4160          && test -f conftest2.$ac_objext; then
4161       : OK
4162     else
4163       am_cv_prog_cc_c_o=no
4164       break
4165     fi
4166   done
4167   rm -f core conftest*
4168   unset am_i
4169 fi
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4171 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4172 if test "$am_cv_prog_cc_c_o" != yes; then
4173    # Losing compiler, so override with the script.
4174    # FIXME: It is wrong to rewrite CC.
4175    # But if we don't then we get into trouble of one sort or another.
4176    # A longer-term fix would be to have automake use am__CC in this case,
4177    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4178    CC="$am_aux_dir/compile $CC"
4179 fi
4180 ac_ext=cpp
4181 ac_cpp='$CXXCPP $CPPFLAGS'
4182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4185
4186
4187 depcc="$CC"   am_compiler_list=
4188
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4190 $as_echo_n "checking dependency style of $depcc... " >&6; }
4191 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4192   $as_echo_n "(cached) " >&6
4193 else
4194   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4195   # We make a subdir and do the tests there.  Otherwise we can end up
4196   # making bogus files that we don't know about and never remove.  For
4197   # instance it was reported that on HP-UX the gcc test will end up
4198   # making a dummy file named 'D' -- because '-MD' means "put the output
4199   # in D".
4200   rm -rf conftest.dir
4201   mkdir conftest.dir
4202   # Copy depcomp to subdir because otherwise we won't find it if we're
4203   # using a relative directory.
4204   cp "$am_depcomp" conftest.dir
4205   cd conftest.dir
4206   # We will build objects and dependencies in a subdirectory because
4207   # it helps to detect inapplicable dependency modes.  For instance
4208   # both Tru64's cc and ICC support -MD to output dependencies as a
4209   # side effect of compilation, but ICC will put the dependencies in
4210   # the current directory while Tru64 will put them in the object
4211   # directory.
4212   mkdir sub
4213
4214   am_cv_CC_dependencies_compiler_type=none
4215   if test "$am_compiler_list" = ""; then
4216      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4217   fi
4218   am__universal=false
4219   case " $depcc " in #(
4220      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4221      esac
4222
4223   for depmode in $am_compiler_list; do
4224     # Setup a source with many dependencies, because some compilers
4225     # like to wrap large dependency lists on column 80 (with \), and
4226     # we should not choose a depcomp mode which is confused by this.
4227     #
4228     # We need to recreate these files for each test, as the compiler may
4229     # overwrite some of them when testing with obscure command lines.
4230     # This happens at least with the AIX C compiler.
4231     : > sub/conftest.c
4232     for i in 1 2 3 4 5 6; do
4233       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4234       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4235       # Solaris 10 /bin/sh.
4236       echo '/* dummy */' > sub/conftst$i.h
4237     done
4238     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4239
4240     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4241     # mode.  It turns out that the SunPro C++ compiler does not properly
4242     # handle '-M -o', and we need to detect this.  Also, some Intel
4243     # versions had trouble with output in subdirs.
4244     am__obj=sub/conftest.${OBJEXT-o}
4245     am__minus_obj="-o $am__obj"
4246     case $depmode in
4247     gcc)
4248       # This depmode causes a compiler race in universal mode.
4249       test "$am__universal" = false || continue
4250       ;;
4251     nosideeffect)
4252       # After this tag, mechanisms are not by side-effect, so they'll
4253       # only be used when explicitly requested.
4254       if test "x$enable_dependency_tracking" = xyes; then
4255         continue
4256       else
4257         break
4258       fi
4259       ;;
4260     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4261       # This compiler won't grok '-c -o', but also, the minuso test has
4262       # not run yet.  These depmodes are late enough in the game, and
4263       # so weak that their functioning should not be impacted.
4264       am__obj=conftest.${OBJEXT-o}
4265       am__minus_obj=
4266       ;;
4267     none) break ;;
4268     esac
4269     if depmode=$depmode \
4270        source=sub/conftest.c object=$am__obj \
4271        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4272        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4273          >/dev/null 2>conftest.err &&
4274        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4275        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4276        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4277        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4278       # icc doesn't choke on unknown options, it will just issue warnings
4279       # or remarks (even with -Werror).  So we grep stderr for any message
4280       # that says an option was ignored or not supported.
4281       # When given -MP, icc 7.0 and 7.1 complain thusly:
4282       #   icc: Command line warning: ignoring option '-M'; no argument required
4283       # The diagnosis changed in icc 8.0:
4284       #   icc: Command line remark: option '-MP' not supported
4285       if (grep 'ignoring option' conftest.err ||
4286           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4287         am_cv_CC_dependencies_compiler_type=$depmode
4288         break
4289       fi
4290     fi
4291   done
4292
4293   cd ..
4294   rm -rf conftest.dir
4295 else
4296   am_cv_CC_dependencies_compiler_type=none
4297 fi
4298
4299 fi
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4301 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4302 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4303
4304  if
4305   test "x$enable_dependency_tracking" != xno \
4306   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4307   am__fastdepCC_TRUE=
4308   am__fastdepCC_FALSE='#'
4309 else
4310   am__fastdepCC_TRUE='#'
4311   am__fastdepCC_FALSE=
4312 fi
4313
4314
4315 if test -n "$ac_tool_prefix"; then
4316   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4317 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if ${ac_cv_prog_RANLIB+:} false; then :
4321   $as_echo_n "(cached) " >&6
4322 else
4323   if test -n "$RANLIB"; then
4324   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4325 else
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH
4328 do
4329   IFS=$as_save_IFS
4330   test -z "$as_dir" && as_dir=.
4331     for ac_exec_ext in '' $ac_executable_extensions; do
4332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4333     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335     break 2
4336   fi
4337 done
4338   done
4339 IFS=$as_save_IFS
4340
4341 fi
4342 fi
4343 RANLIB=$ac_cv_prog_RANLIB
4344 if test -n "$RANLIB"; then
4345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4346 $as_echo "$RANLIB" >&6; }
4347 else
4348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4350 fi
4351
4352
4353 fi
4354 if test -z "$ac_cv_prog_RANLIB"; then
4355   ac_ct_RANLIB=$RANLIB
4356   # Extract the first word of "ranlib", so it can be a program name with args.
4357 set dummy ranlib; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4361   $as_echo_n "(cached) " >&6
4362 else
4363   if test -n "$ac_ct_RANLIB"; then
4364   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4365 else
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 for as_dir in $PATH
4368 do
4369   IFS=$as_save_IFS
4370   test -z "$as_dir" && as_dir=.
4371     for ac_exec_ext in '' $ac_executable_extensions; do
4372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373     ac_cv_prog_ac_ct_RANLIB="ranlib"
4374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375     break 2
4376   fi
4377 done
4378   done
4379 IFS=$as_save_IFS
4380
4381 fi
4382 fi
4383 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4384 if test -n "$ac_ct_RANLIB"; then
4385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4386 $as_echo "$ac_ct_RANLIB" >&6; }
4387 else
4388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4390 fi
4391
4392   if test "x$ac_ct_RANLIB" = x; then
4393     RANLIB=":"
4394   else
4395     case $cross_compiling:$ac_tool_warned in
4396 yes:)
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399 ac_tool_warned=yes ;;
4400 esac
4401     RANLIB=$ac_ct_RANLIB
4402   fi
4403 else
4404   RANLIB="$ac_cv_prog_RANLIB"
4405 fi
4406
4407
4408 # Extract the first word of "xml2-config", so it can be a program name with args.
4409 set dummy xml2-config; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_path_XML_CONFIG+:} false; then :
4413   $as_echo_n "(cached) " >&6
4414 else
4415   case $XML_CONFIG in
4416   [\\/]* | ?:[\\/]*)
4417   ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path.
4418   ;;
4419   *)
4420   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 for as_dir in $PATH
4422 do
4423   IFS=$as_save_IFS
4424   test -z "$as_dir" && as_dir=.
4425     for ac_exec_ext in '' $ac_executable_extensions; do
4426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427     ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429     break 2
4430   fi
4431 done
4432   done
4433 IFS=$as_save_IFS
4434
4435   test -z "$ac_cv_path_XML_CONFIG" && ac_cv_path_XML_CONFIG="no"
4436   ;;
4437 esac
4438 fi
4439 XML_CONFIG=$ac_cv_path_XML_CONFIG
4440 if test -n "$XML_CONFIG"; then
4441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5
4442 $as_echo "$XML_CONFIG" >&6; }
4443 else
4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4446 fi
4447
4448
4449
4450
4451 if test $XML_CONFIG = "no"
4452 then
4453    echo "XML library not found (see http://xmlsoft.org/)."
4454    exit 1;
4455 fi
4456
4457
4458 ac_ext=cpp
4459 ac_cpp='$CXXCPP $CPPFLAGS'
4460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4464 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4465 if test -z "$CXXCPP"; then
4466   if ${ac_cv_prog_CXXCPP+:} false; then :
4467   $as_echo_n "(cached) " >&6
4468 else
4469       # Double quotes because CXXCPP needs to be expanded
4470     for CXXCPP in "$CXX -E" "/lib/cpp"
4471     do
4472       ac_preproc_ok=false
4473 for ac_cxx_preproc_warn_flag in '' yes
4474 do
4475   # Use a header file that comes with gcc, so configuring glibc
4476   # with a fresh cross-compiler works.
4477   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4478   # <limits.h> exists even on freestanding compilers.
4479   # On the NeXT, cc -E runs the code through the compiler's parser,
4480   # not just through cpp. "Syntax error" is here to catch this case.
4481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h.  */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4488                      Syntax error
4489 _ACEOF
4490 if ac_fn_cxx_try_cpp "$LINENO"; then :
4491
4492 else
4493   # Broken: fails on valid input.
4494 continue
4495 fi
4496 rm -f conftest.err conftest.i conftest.$ac_ext
4497
4498   # OK, works on sane cases.  Now check whether nonexistent headers
4499   # can be detected and how.
4500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h.  */
4502 #include <ac_nonexistent.h>
4503 _ACEOF
4504 if ac_fn_cxx_try_cpp "$LINENO"; then :
4505   # Broken: success on invalid input.
4506 continue
4507 else
4508   # Passes both tests.
4509 ac_preproc_ok=:
4510 break
4511 fi
4512 rm -f conftest.err conftest.i conftest.$ac_ext
4513
4514 done
4515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4516 rm -f conftest.i conftest.err conftest.$ac_ext
4517 if $ac_preproc_ok; then :
4518   break
4519 fi
4520
4521     done
4522     ac_cv_prog_CXXCPP=$CXXCPP
4523
4524 fi
4525   CXXCPP=$ac_cv_prog_CXXCPP
4526 else
4527   ac_cv_prog_CXXCPP=$CXXCPP
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4530 $as_echo "$CXXCPP" >&6; }
4531 ac_preproc_ok=false
4532 for ac_cxx_preproc_warn_flag in '' yes
4533 do
4534   # Use a header file that comes with gcc, so configuring glibc
4535   # with a fresh cross-compiler works.
4536   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4537   # <limits.h> exists even on freestanding compilers.
4538   # On the NeXT, cc -E runs the code through the compiler's parser,
4539   # not just through cpp. "Syntax error" is here to catch this case.
4540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h.  */
4542 #ifdef __STDC__
4543 # include <limits.h>
4544 #else
4545 # include <assert.h>
4546 #endif
4547                      Syntax error
4548 _ACEOF
4549 if ac_fn_cxx_try_cpp "$LINENO"; then :
4550
4551 else
4552   # Broken: fails on valid input.
4553 continue
4554 fi
4555 rm -f conftest.err conftest.i conftest.$ac_ext
4556
4557   # OK, works on sane cases.  Now check whether nonexistent headers
4558   # can be detected and how.
4559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h.  */
4561 #include <ac_nonexistent.h>
4562 _ACEOF
4563 if ac_fn_cxx_try_cpp "$LINENO"; then :
4564   # Broken: success on invalid input.
4565 continue
4566 else
4567   # Passes both tests.
4568 ac_preproc_ok=:
4569 break
4570 fi
4571 rm -f conftest.err conftest.i conftest.$ac_ext
4572
4573 done
4574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4575 rm -f conftest.i conftest.err conftest.$ac_ext
4576 if $ac_preproc_ok; then :
4577
4578 else
4579   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4581 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4582 See \`config.log' for more details" "$LINENO" 5; }
4583 fi
4584
4585 ac_ext=cpp
4586 ac_cpp='$CXXCPP $CPPFLAGS'
4587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4590
4591
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4593 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4594 if ${ac_cv_path_GREP+:} false; then :
4595   $as_echo_n "(cached) " >&6
4596 else
4597   if test -z "$GREP"; then
4598   ac_path_GREP_found=false
4599   # Loop through the user's path and test for each of PROGNAME-LIST
4600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4602 do
4603   IFS=$as_save_IFS
4604   test -z "$as_dir" && as_dir=.
4605     for ac_prog in grep ggrep; do
4606     for ac_exec_ext in '' $ac_executable_extensions; do
4607       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4608       as_fn_executable_p "$ac_path_GREP" || continue
4609 # Check for GNU ac_path_GREP and select it if it is found.
4610   # Check for GNU $ac_path_GREP
4611 case `"$ac_path_GREP" --version 2>&1` in
4612 *GNU*)
4613   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4614 *)
4615   ac_count=0
4616   $as_echo_n 0123456789 >"conftest.in"
4617   while :
4618   do
4619     cat "conftest.in" "conftest.in" >"conftest.tmp"
4620     mv "conftest.tmp" "conftest.in"
4621     cp "conftest.in" "conftest.nl"
4622     $as_echo 'GREP' >> "conftest.nl"
4623     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4624     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4625     as_fn_arith $ac_count + 1 && ac_count=$as_val
4626     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4627       # Best one so far, save it but keep looking for a better one
4628       ac_cv_path_GREP="$ac_path_GREP"
4629       ac_path_GREP_max=$ac_count
4630     fi
4631     # 10*(2^10) chars as input seems more than enough
4632     test $ac_count -gt 10 && break
4633   done
4634   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4635 esac
4636
4637       $ac_path_GREP_found && break 3
4638     done
4639   done
4640   done
4641 IFS=$as_save_IFS
4642   if test -z "$ac_cv_path_GREP"; then
4643     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4644   fi
4645 else
4646   ac_cv_path_GREP=$GREP
4647 fi
4648
4649 fi
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4651 $as_echo "$ac_cv_path_GREP" >&6; }
4652  GREP="$ac_cv_path_GREP"
4653
4654
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4656 $as_echo_n "checking for egrep... " >&6; }
4657 if ${ac_cv_path_EGREP+:} false; then :
4658   $as_echo_n "(cached) " >&6
4659 else
4660   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4661    then ac_cv_path_EGREP="$GREP -E"
4662    else
4663      if test -z "$EGREP"; then
4664   ac_path_EGREP_found=false
4665   # Loop through the user's path and test for each of PROGNAME-LIST
4666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4668 do
4669   IFS=$as_save_IFS
4670   test -z "$as_dir" && as_dir=.
4671     for ac_prog in egrep; do
4672     for ac_exec_ext in '' $ac_executable_extensions; do
4673       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4674       as_fn_executable_p "$ac_path_EGREP" || continue
4675 # Check for GNU ac_path_EGREP and select it if it is found.
4676   # Check for GNU $ac_path_EGREP
4677 case `"$ac_path_EGREP" --version 2>&1` in
4678 *GNU*)
4679   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4680 *)
4681   ac_count=0
4682   $as_echo_n 0123456789 >"conftest.in"
4683   while :
4684   do
4685     cat "conftest.in" "conftest.in" >"conftest.tmp"
4686     mv "conftest.tmp" "conftest.in"
4687     cp "conftest.in" "conftest.nl"
4688     $as_echo 'EGREP' >> "conftest.nl"
4689     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4690     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4691     as_fn_arith $ac_count + 1 && ac_count=$as_val
4692     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4693       # Best one so far, save it but keep looking for a better one
4694       ac_cv_path_EGREP="$ac_path_EGREP"
4695       ac_path_EGREP_max=$ac_count
4696     fi
4697     # 10*(2^10) chars as input seems more than enough
4698     test $ac_count -gt 10 && break
4699   done
4700   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4701 esac
4702
4703       $ac_path_EGREP_found && break 3
4704     done
4705   done
4706   done
4707 IFS=$as_save_IFS
4708   if test -z "$ac_cv_path_EGREP"; then
4709     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4710   fi
4711 else
4712   ac_cv_path_EGREP=$EGREP
4713 fi
4714
4715    fi
4716 fi
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4718 $as_echo "$ac_cv_path_EGREP" >&6; }
4719  EGREP="$ac_cv_path_EGREP"
4720
4721
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4723 $as_echo_n "checking for ANSI C header files... " >&6; }
4724 if ${ac_cv_header_stdc+:} false; then :
4725   $as_echo_n "(cached) " >&6
4726 else
4727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h.  */
4729 #include <stdlib.h>
4730 #include <stdarg.h>
4731 #include <string.h>
4732 #include <float.h>
4733
4734 int
4735 main ()
4736 {
4737
4738   ;
4739   return 0;
4740 }
4741 _ACEOF
4742 if ac_fn_cxx_try_compile "$LINENO"; then :
4743   ac_cv_header_stdc=yes
4744 else
4745   ac_cv_header_stdc=no
4746 fi
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748
4749 if test $ac_cv_header_stdc = yes; then
4750   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h.  */
4753 #include <string.h>
4754
4755 _ACEOF
4756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4757   $EGREP "memchr" >/dev/null 2>&1; then :
4758
4759 else
4760   ac_cv_header_stdc=no
4761 fi
4762 rm -f conftest*
4763
4764 fi
4765
4766 if test $ac_cv_header_stdc = yes; then
4767   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h.  */
4770 #include <stdlib.h>
4771
4772 _ACEOF
4773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4774   $EGREP "free" >/dev/null 2>&1; then :
4775
4776 else
4777   ac_cv_header_stdc=no
4778 fi
4779 rm -f conftest*
4780
4781 fi
4782
4783 if test $ac_cv_header_stdc = yes; then
4784   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4785   if test "$cross_compiling" = yes; then :
4786   :
4787 else
4788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h.  */
4790 #include <ctype.h>
4791 #include <stdlib.h>
4792 #if ((' ' & 0x0FF) == 0x020)
4793 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4794 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4795 #else
4796 # define ISLOWER(c) \
4797                    (('a' <= (c) && (c) <= 'i') \
4798                      || ('j' <= (c) && (c) <= 'r') \
4799                      || ('s' <= (c) && (c) <= 'z'))
4800 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4801 #endif
4802
4803 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4804 int
4805 main ()
4806 {
4807   int i;
4808   for (i = 0; i < 256; i++)
4809     if (XOR (islower (i), ISLOWER (i))
4810         || toupper (i) != TOUPPER (i))
4811       return 2;
4812   return 0;
4813 }
4814 _ACEOF
4815 if ac_fn_cxx_try_run "$LINENO"; then :
4816
4817 else
4818   ac_cv_header_stdc=no
4819 fi
4820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4821   conftest.$ac_objext conftest.beam conftest.$ac_ext
4822 fi
4823
4824 fi
4825 fi
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4827 $as_echo "$ac_cv_header_stdc" >&6; }
4828 if test $ac_cv_header_stdc = yes; then
4829
4830 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4831
4832 fi
4833
4834 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4835 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4836                   inttypes.h stdint.h unistd.h
4837 do :
4838   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4839 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4840 "
4841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4842   cat >>confdefs.h <<_ACEOF
4843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4844 _ACEOF
4845
4846 fi
4847
4848 done
4849
4850
4851 ac_fn_cxx_check_header_mongrel "$LINENO" "date.h" "ac_cv_header_date_h" "$ac_includes_default"
4852 if test "x$ac_cv_header_date_h" = xyes; then :
4853
4854 fi
4855
4856
4857
4858 # Checks for libraries.
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
4860 $as_echo_n "checking for gzread in -lz... " >&6; }
4861 if ${ac_cv_lib_z_gzread+:} false; then :
4862   $as_echo_n "(cached) " >&6
4863 else
4864   ac_check_lib_save_LIBS=$LIBS
4865 LIBS="-lz  $LIBS"
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h.  */
4868
4869 /* Override any GCC internal prototype to avoid an error.
4870    Use char because int might match the return type of a GCC
4871    builtin and then its argument prototype would still apply.  */
4872 #ifdef __cplusplus
4873 extern "C"
4874 #endif
4875 char gzread ();
4876 int
4877 main ()
4878 {
4879 return gzread ();
4880   ;
4881   return 0;
4882 }
4883 _ACEOF
4884 if ac_fn_cxx_try_link "$LINENO"; then :
4885   ac_cv_lib_z_gzread=yes
4886 else
4887   ac_cv_lib_z_gzread=no
4888 fi
4889 rm -f core conftest.err conftest.$ac_objext \
4890     conftest$ac_exeext conftest.$ac_ext
4891 LIBS=$ac_check_lib_save_LIBS
4892 fi
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
4894 $as_echo "$ac_cv_lib_z_gzread" >&6; }
4895 if test "x$ac_cv_lib_z_gzread" = xyes; then :
4896   cat >>confdefs.h <<_ACEOF
4897 #define HAVE_LIBZ 1
4898 _ACEOF
4899
4900   LIBS="-lz $LIBS"
4901
4902 fi
4903
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
4905 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
4906 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
4907   $as_echo_n "(cached) " >&6
4908 else
4909   ac_check_lib_save_LIBS=$LIBS
4910 LIBS="-llzma  $LIBS"
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h.  */
4913
4914 /* Override any GCC internal prototype to avoid an error.
4915    Use char because int might match the return type of a GCC
4916    builtin and then its argument prototype would still apply.  */
4917 #ifdef __cplusplus
4918 extern "C"
4919 #endif
4920 char lzma_code ();
4921 int
4922 main ()
4923 {
4924 return lzma_code ();
4925   ;
4926   return 0;
4927 }
4928 _ACEOF
4929 if ac_fn_cxx_try_link "$LINENO"; then :
4930   ac_cv_lib_lzma_lzma_code=yes
4931 else
4932   ac_cv_lib_lzma_lzma_code=no
4933 fi
4934 rm -f core conftest.err conftest.$ac_objext \
4935     conftest$ac_exeext conftest.$ac_ext
4936 LIBS=$ac_check_lib_save_LIBS
4937 fi
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
4939 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
4940 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
4941   cat >>confdefs.h <<_ACEOF
4942 #define HAVE_LIBLZMA 1
4943 _ACEOF
4944
4945   LIBS="-llzma $LIBS"
4946
4947 fi
4948
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5
4950 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; }
4951 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then :
4952   $as_echo_n "(cached) " >&6
4953 else
4954   ac_check_lib_save_LIBS=$LIBS
4955 LIBS="-lxml2  $LIBS"
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h.  */
4958
4959 /* Override any GCC internal prototype to avoid an error.
4960    Use char because int might match the return type of a GCC
4961    builtin and then its argument prototype would still apply.  */
4962 #ifdef __cplusplus
4963 extern "C"
4964 #endif
4965 char xmlParseFile ();
4966 int
4967 main ()
4968 {
4969 return xmlParseFile ();
4970   ;
4971   return 0;
4972 }
4973 _ACEOF
4974 if ac_fn_cxx_try_link "$LINENO"; then :
4975   ac_cv_lib_xml2_xmlParseFile=yes
4976 else
4977   ac_cv_lib_xml2_xmlParseFile=no
4978 fi
4979 rm -f core conftest.err conftest.$ac_objext \
4980     conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4982 fi
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4984 $as_echo "$ac_cv_lib_xml2_xmlParseFile" >&6; }
4985 if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then :
4986   cat >>confdefs.h <<_ACEOF
4987 #define HAVE_LIBXML2 1
4988 _ACEOF
4989
4990   LIBS="-lxml2 $LIBS"
4991
4992 fi
4993
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
4995 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; }
4996 if ${ac_cv_lib_pq_PQconnectdb+:} false; then :
4997   $as_echo_n "(cached) " >&6
4998 else
4999   ac_check_lib_save_LIBS=$LIBS
5000 LIBS="-lpq  $LIBS"
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h.  */
5003
5004 /* Override any GCC internal prototype to avoid an error.
5005    Use char because int might match the return type of a GCC
5006    builtin and then its argument prototype would still apply.  */
5007 #ifdef __cplusplus
5008 extern "C"
5009 #endif
5010 char PQconnectdb ();
5011 int
5012 main ()
5013 {
5014 return PQconnectdb ();
5015   ;
5016   return 0;
5017 }
5018 _ACEOF
5019 if ac_fn_cxx_try_link "$LINENO"; then :
5020   ac_cv_lib_pq_PQconnectdb=yes
5021 else
5022   ac_cv_lib_pq_PQconnectdb=no
5023 fi
5024 rm -f core conftest.err conftest.$ac_objext \
5025     conftest$ac_exeext conftest.$ac_ext
5026 LIBS=$ac_check_lib_save_LIBS
5027 fi
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
5029 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; }
5030 if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then :
5031   cat >>confdefs.h <<_ACEOF
5032 #define HAVE_LIBPQ 1
5033 _ACEOF
5034
5035   LIBS="-lpq $LIBS"
5036
5037 fi
5038
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL_Version in -lACL" >&5
5040 $as_echo_n "checking for ACL_Version in -lACL... " >&6; }
5041 if ${ac_cv_lib_ACL_ACL_Version+:} false; then :
5042   $as_echo_n "(cached) " >&6
5043 else
5044   ac_check_lib_save_LIBS=$LIBS
5045 LIBS="-lACL  $LIBS"
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h.  */
5048
5049 /* Override any GCC internal prototype to avoid an error.
5050    Use char because int might match the return type of a GCC
5051    builtin and then its argument prototype would still apply.  */
5052 #ifdef __cplusplus
5053 extern "C"
5054 #endif
5055 char ACL_Version ();
5056 int
5057 main ()
5058 {
5059 return ACL_Version ();
5060   ;
5061   return 0;
5062 }
5063 _ACEOF
5064 if ac_fn_cxx_try_link "$LINENO"; then :
5065   ac_cv_lib_ACL_ACL_Version=yes
5066 else
5067   ac_cv_lib_ACL_ACL_Version=no
5068 fi
5069 rm -f core conftest.err conftest.$ac_objext \
5070     conftest$ac_exeext conftest.$ac_ext
5071 LIBS=$ac_check_lib_save_LIBS
5072 fi
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ACL_ACL_Version" >&5
5074 $as_echo "$ac_cv_lib_ACL_ACL_Version" >&6; }
5075 if test "x$ac_cv_lib_ACL_ACL_Version" = xyes; then :
5076   cat >>confdefs.h <<_ACEOF
5077 #define HAVE_LIBACL 1
5078 _ACEOF
5079
5080   LIBS="-lACL $LIBS"
5081
5082 fi
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5093         if test -n "$ac_tool_prefix"; then
5094   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5095 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5099   $as_echo_n "(cached) " >&6
5100 else
5101   case $PKG_CONFIG in
5102   [\\/]* | ?:[\\/]*)
5103   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5104   ;;
5105   *)
5106   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5108 do
5109   IFS=$as_save_IFS
5110   test -z "$as_dir" && as_dir=.
5111     for ac_exec_ext in '' $ac_executable_extensions; do
5112   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115     break 2
5116   fi
5117 done
5118   done
5119 IFS=$as_save_IFS
5120
5121   ;;
5122 esac
5123 fi
5124 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5125 if test -n "$PKG_CONFIG"; then
5126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5127 $as_echo "$PKG_CONFIG" >&6; }
5128 else
5129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5131 fi
5132
5133
5134 fi
5135 if test -z "$ac_cv_path_PKG_CONFIG"; then
5136   ac_pt_PKG_CONFIG=$PKG_CONFIG
5137   # Extract the first word of "pkg-config", so it can be a program name with args.
5138 set dummy pkg-config; ac_word=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5142   $as_echo_n "(cached) " >&6
5143 else
5144   case $ac_pt_PKG_CONFIG in
5145   [\\/]* | ?:[\\/]*)
5146   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5147   ;;
5148   *)
5149   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5151 do
5152   IFS=$as_save_IFS
5153   test -z "$as_dir" && as_dir=.
5154     for ac_exec_ext in '' $ac_executable_extensions; do
5155   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158     break 2
5159   fi
5160 done
5161   done
5162 IFS=$as_save_IFS
5163
5164   ;;
5165 esac
5166 fi
5167 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5168 if test -n "$ac_pt_PKG_CONFIG"; then
5169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5170 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5171 else
5172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5174 fi
5175
5176   if test "x$ac_pt_PKG_CONFIG" = x; then
5177     PKG_CONFIG=""
5178   else
5179     case $cross_compiling:$ac_tool_warned in
5180 yes:)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned=yes ;;
5184 esac
5185     PKG_CONFIG=$ac_pt_PKG_CONFIG
5186   fi
5187 else
5188   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5189 fi
5190
5191 fi
5192 if test -n "$PKG_CONFIG"; then
5193         _pkg_min_version=0.9.0
5194         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5195 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5196         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5197                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5198 $as_echo "yes" >&6; }
5199         else
5200                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5202                 PKG_CONFIG=""
5203         fi
5204 fi
5205
5206 pkg_failed=no
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPQXX" >&5
5208 $as_echo_n "checking for LIBPQXX... " >&6; }
5209
5210 if test -n "$LIBPQXX_CFLAGS"; then
5211     pkg_cv_LIBPQXX_CFLAGS="$LIBPQXX_CFLAGS"
5212  elif test -n "$PKG_CONFIG"; then
5213     if test -n "$PKG_CONFIG" && \
5214     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpqxx >= 4.0.1\""; } >&5
5215   ($PKG_CONFIG --exists --print-errors "libpqxx >= 4.0.1") 2>&5
5216   ac_status=$?
5217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5218   test $ac_status = 0; }; then
5219   pkg_cv_LIBPQXX_CFLAGS=`$PKG_CONFIG --cflags "libpqxx >= 4.0.1" 2>/dev/null`
5220                       test "x$?" != "x0" && pkg_failed=yes
5221 else
5222   pkg_failed=yes
5223 fi
5224  else
5225     pkg_failed=untried
5226 fi
5227 if test -n "$LIBPQXX_LIBS"; then
5228     pkg_cv_LIBPQXX_LIBS="$LIBPQXX_LIBS"
5229  elif test -n "$PKG_CONFIG"; then
5230     if test -n "$PKG_CONFIG" && \
5231     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpqxx >= 4.0.1\""; } >&5
5232   ($PKG_CONFIG --exists --print-errors "libpqxx >= 4.0.1") 2>&5
5233   ac_status=$?
5234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235   test $ac_status = 0; }; then
5236   pkg_cv_LIBPQXX_LIBS=`$PKG_CONFIG --libs "libpqxx >= 4.0.1" 2>/dev/null`
5237                       test "x$?" != "x0" && pkg_failed=yes
5238 else
5239   pkg_failed=yes
5240 fi
5241  else
5242     pkg_failed=untried
5243 fi
5244
5245
5246
5247 if test $pkg_failed = yes; then
5248         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5250
5251 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5252         _pkg_short_errors_supported=yes
5253 else
5254         _pkg_short_errors_supported=no
5255 fi
5256         if test $_pkg_short_errors_supported = yes; then
5257                 LIBPQXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpqxx >= 4.0.1" 2>&1`
5258         else
5259                 LIBPQXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpqxx >= 4.0.1" 2>&1`
5260         fi
5261         # Put the nasty error message in config.log where it belongs
5262         echo "$LIBPQXX_PKG_ERRORS" >&5
5263
5264         as_fn_error $? "Package requirements (libpqxx >= 4.0.1) were not met:
5265
5266 $LIBPQXX_PKG_ERRORS
5267
5268 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5269 installed software in a non-standard prefix.
5270
5271 Alternatively, you may set the environment variables LIBPQXX_CFLAGS
5272 and LIBPQXX_LIBS to avoid the need to call pkg-config.
5273 See the pkg-config man page for more details." "$LINENO" 5
5274 elif test $pkg_failed = untried; then
5275         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5277         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5279 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5280 is in your PATH or set the PKG_CONFIG environment variable to the full
5281 path to pkg-config.
5282
5283 Alternatively, you may set the environment variables LIBPQXX_CFLAGS
5284 and LIBPQXX_LIBS to avoid the need to call pkg-config.
5285 See the pkg-config man page for more details.
5286
5287 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5288 See \`config.log' for more details" "$LINENO" 5; }
5289 else
5290         LIBPQXX_CFLAGS=$pkg_cv_LIBPQXX_CFLAGS
5291         LIBPQXX_LIBS=$pkg_cv_LIBPQXX_LIBS
5292         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5293 $as_echo "yes" >&6; }
5294
5295 fi
5296
5297
5298
5299 # Checks for header files.
5300 XML_CFLAGS=`$XML_CONFIG --cflags`
5301 CFLAGS="$CFLAGS $X_CFLAGS $XML_CFLAGS "
5302 CXXFLAGS="$CXXFLAGS  -Wno-deprecated $X_CFLAGS $XML_CFLAGS"
5303
5304 for ac_header in arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h syslog.h unistd.h
5305 do :
5306   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5307 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5308 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5309   cat >>confdefs.h <<_ACEOF
5310 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5311 _ACEOF
5312
5313 fi
5314
5315 done
5316
5317
5318 # Checks for typedefs, structures, and compiler characteristics.
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5320 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5321 if ${ac_cv_header_stdbool_h+:} false; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h.  */
5326
5327              #include <stdbool.h>
5328              #ifndef bool
5329               "error: bool is not defined"
5330              #endif
5331              #ifndef false
5332               "error: false is not defined"
5333              #endif
5334              #if false
5335               "error: false is not 0"
5336              #endif
5337              #ifndef true
5338               "error: true is not defined"
5339              #endif
5340              #if true != 1
5341               "error: true is not 1"
5342              #endif
5343              #ifndef __bool_true_false_are_defined
5344               "error: __bool_true_false_are_defined is not defined"
5345              #endif
5346
5347              struct s { _Bool s: 1; _Bool t; } s;
5348
5349              char a[true == 1 ? 1 : -1];
5350              char b[false == 0 ? 1 : -1];
5351              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5352              char d[(bool) 0.5 == true ? 1 : -1];
5353              /* See body of main program for 'e'.  */
5354              char f[(_Bool) 0.0 == false ? 1 : -1];
5355              char g[true];
5356              char h[sizeof (_Bool)];
5357              char i[sizeof s.t];
5358              enum { j = false, k = true, l = false * true, m = true * 256 };
5359              /* The following fails for
5360                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5361              _Bool n[m];
5362              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5363              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5364              /* Catch a bug in an HP-UX C compiler.  See
5365                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5366                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5367               */
5368              _Bool q = true;
5369              _Bool *pq = &q;
5370
5371 int
5372 main ()
5373 {
5374
5375              bool e = &s;
5376              *pq |= q;
5377              *pq |= ! q;
5378              /* Refer to every declared value, to avoid compiler optimizations.  */
5379              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5380                      + !m + !n + !o + !p + !q + !pq);
5381
5382   ;
5383   return 0;
5384 }
5385 _ACEOF
5386 if ac_fn_cxx_try_compile "$LINENO"; then :
5387   ac_cv_header_stdbool_h=yes
5388 else
5389   ac_cv_header_stdbool_h=no
5390 fi
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 fi
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5394 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5395    ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5396 if test "x$ac_cv_type__Bool" = xyes; then :
5397
5398 cat >>confdefs.h <<_ACEOF
5399 #define HAVE__BOOL 1
5400 _ACEOF
5401
5402
5403 fi
5404
5405
5406 if test $ac_cv_header_stdbool_h = yes; then
5407
5408 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5409
5410 fi
5411
5412 ac_fn_cxx_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5413 if test "x$ac_cv_type_off_t" = xyes; then :
5414
5415 else
5416
5417 cat >>confdefs.h <<_ACEOF
5418 #define off_t long int
5419 _ACEOF
5420
5421 fi
5422
5423
5424 # Checks for library functions.
5425 for ac_header in stdlib.h
5426 do :
5427   ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5428 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5429   cat >>confdefs.h <<_ACEOF
5430 #define HAVE_STDLIB_H 1
5431 _ACEOF
5432
5433 fi
5434
5435 done
5436
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5438 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5439 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5440   $as_echo_n "(cached) " >&6
5441 else
5442   if test "$cross_compiling" = yes; then :
5443   ac_cv_func_malloc_0_nonnull=no
5444 else
5445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h.  */
5447 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5448 # include <stdlib.h>
5449 #else
5450 char *malloc ();
5451 #endif
5452
5453 int
5454 main ()
5455 {
5456 return ! malloc (0);
5457   ;
5458   return 0;
5459 }
5460 _ACEOF
5461 if ac_fn_cxx_try_run "$LINENO"; then :
5462   ac_cv_func_malloc_0_nonnull=yes
5463 else
5464   ac_cv_func_malloc_0_nonnull=no
5465 fi
5466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5467   conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 fi
5469
5470 fi
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5472 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5473 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5474
5475 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5476
5477 else
5478   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5479
5480    case " $LIBOBJS " in
5481   *" malloc.$ac_objext "* ) ;;
5482   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5483  ;;
5484 esac
5485
5486
5487 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5488
5489 fi
5490
5491
5492 for ac_func in gethostbyname gethostname memmove socket strchr strdup strerror
5493 do :
5494   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5495 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
5496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5497   cat >>confdefs.h <<_ACEOF
5498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5499 _ACEOF
5500
5501 fi
5502 done
5503
5504
5505 ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/gcm_input/Makefile src/spam/Makefile test/Makefile"
5506
5507 cat >confcache <<\_ACEOF
5508 # This file is a shell script that caches the results of configure
5509 # tests run on this system so they can be shared between configure
5510 # scripts and configure runs, see configure's option --config-cache.
5511 # It is not useful on other systems.  If it contains results you don't
5512 # want to keep, you may remove or edit it.
5513 #
5514 # config.status only pays attention to the cache file if you give it
5515 # the --recheck option to rerun configure.
5516 #
5517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5519 # following values.
5520
5521 _ACEOF
5522
5523 # The following way of writing the cache mishandles newlines in values,
5524 # but we know of no workaround that is simple, portable, and efficient.
5525 # So, we kill variables containing newlines.
5526 # Ultrix sh set writes to stderr and can't be redirected directly,
5527 # and sets the high bit in the cache file unless we assign to the vars.
5528 (
5529   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5530     eval ac_val=\$$ac_var
5531     case $ac_val in #(
5532     *${as_nl}*)
5533       case $ac_var in #(
5534       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5535 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5536       esac
5537       case $ac_var in #(
5538       _ | IFS | as_nl) ;; #(
5539       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5540       *) { eval $ac_var=; unset $ac_var;} ;;
5541       esac ;;
5542     esac
5543   done
5544
5545   (set) 2>&1 |
5546     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5547     *${as_nl}ac_space=\ *)
5548       # `set' does not quote correctly, so add quotes: double-quote
5549       # substitution turns \\\\ into \\, and sed turns \\ into \.
5550       sed -n \
5551         "s/'/'\\\\''/g;
5552           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5553       ;; #(
5554     *)
5555       # `set' quotes correctly as required by POSIX, so do not add quotes.
5556       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5557       ;;
5558     esac |
5559     sort
5560 ) |
5561   sed '
5562      /^ac_cv_env_/b end
5563      t clear
5564      :clear
5565      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5566      t end
5567      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5568      :end' >>confcache
5569 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5570   if test -w "$cache_file"; then
5571     if test "x$cache_file" != "x/dev/null"; then
5572       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5573 $as_echo "$as_me: updating cache $cache_file" >&6;}
5574       if test ! -f "$cache_file" || test -h "$cache_file"; then
5575         cat confcache >"$cache_file"
5576       else
5577         case $cache_file in #(
5578         */* | ?:*)
5579           mv -f confcache "$cache_file"$$ &&
5580           mv -f "$cache_file"$$ "$cache_file" ;; #(
5581         *)
5582           mv -f confcache "$cache_file" ;;
5583         esac
5584       fi
5585     fi
5586   else
5587     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5588 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5589   fi
5590 fi
5591 rm -f confcache
5592
5593 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5594 # Let make expand exec_prefix.
5595 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5596
5597 DEFS=-DHAVE_CONFIG_H
5598
5599 ac_libobjs=
5600 ac_ltlibobjs=
5601 U=
5602 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5603   # 1. Remove the extension, and $U if already installed.
5604   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5605   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5606   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5607   #    will be set to the directory where LIBOBJS objects are built.
5608   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5609   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5610 done
5611 LIBOBJS=$ac_libobjs
5612
5613 LTLIBOBJS=$ac_ltlibobjs
5614
5615
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5617 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5618    if test -n "$am_sleep_pid"; then
5619      # Hide warnings about reused PIDs.
5620      wait $am_sleep_pid 2>/dev/null
5621    fi
5622    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5623 $as_echo "done" >&6; }
5624  if test -n "$EXEEXT"; then
5625   am__EXEEXT_TRUE=
5626   am__EXEEXT_FALSE='#'
5627 else
5628   am__EXEEXT_TRUE='#'
5629   am__EXEEXT_FALSE=
5630 fi
5631
5632 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5633   as_fn_error $? "conditional \"AMDEP\" was never defined.
5634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5635 fi
5636 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5637   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5639 fi
5640 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5641   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5643 fi
5644
5645 : "${CONFIG_STATUS=./config.status}"
5646 ac_write_fail=0
5647 ac_clean_files_save=$ac_clean_files
5648 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5650 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5651 as_write_fail=0
5652 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5653 #! $SHELL
5654 # Generated by $as_me.
5655 # Run this file to recreate the current configuration.
5656 # Compiler output produced by configure, useful for debugging
5657 # configure, is in config.log if it exists.
5658
5659 debug=false
5660 ac_cs_recheck=false
5661 ac_cs_silent=false
5662
5663 SHELL=\${CONFIG_SHELL-$SHELL}
5664 export SHELL
5665 _ASEOF
5666 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5667 ## -------------------- ##
5668 ## M4sh Initialization. ##
5669 ## -------------------- ##
5670
5671 # Be more Bourne compatible
5672 DUALCASE=1; export DUALCASE # for MKS sh
5673 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5674   emulate sh
5675   NULLCMD=:
5676   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5677   # is contrary to our usage.  Disable this feature.
5678   alias -g '${1+"$@"}'='"$@"'
5679   setopt NO_GLOB_SUBST
5680 else
5681   case `(set -o) 2>/dev/null` in #(
5682   *posix*) :
5683     set -o posix ;; #(
5684   *) :
5685      ;;
5686 esac
5687 fi
5688
5689
5690 as_nl='
5691 '
5692 export as_nl
5693 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5694 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5696 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5697 # Prefer a ksh shell builtin over an external printf program on Solaris,
5698 # but without wasting forks for bash or zsh.
5699 if test -z "$BASH_VERSION$ZSH_VERSION" \
5700     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5701   as_echo='print -r --'
5702   as_echo_n='print -rn --'
5703 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5704   as_echo='printf %s\n'
5705   as_echo_n='printf %s'
5706 else
5707   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5708     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5709     as_echo_n='/usr/ucb/echo -n'
5710   else
5711     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5712     as_echo_n_body='eval
5713       arg=$1;
5714       case $arg in #(
5715       *"$as_nl"*)
5716         expr "X$arg" : "X\\(.*\\)$as_nl";
5717         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5718       esac;
5719       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5720     '
5721     export as_echo_n_body
5722     as_echo_n='sh -c $as_echo_n_body as_echo'
5723   fi
5724   export as_echo_body
5725   as_echo='sh -c $as_echo_body as_echo'
5726 fi
5727
5728 # The user is always right.
5729 if test "${PATH_SEPARATOR+set}" != set; then
5730   PATH_SEPARATOR=:
5731   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5732     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5733       PATH_SEPARATOR=';'
5734   }
5735 fi
5736
5737
5738 # IFS
5739 # We need space, tab and new line, in precisely that order.  Quoting is
5740 # there to prevent editors from complaining about space-tab.
5741 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5742 # splitting by setting IFS to empty value.)
5743 IFS=" ""        $as_nl"
5744
5745 # Find who we are.  Look in the path if we contain no directory separator.
5746 as_myself=
5747 case $0 in #((
5748   *[\\/]* ) as_myself=$0 ;;
5749   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5751 do
5752   IFS=$as_save_IFS
5753   test -z "$as_dir" && as_dir=.
5754     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5755   done
5756 IFS=$as_save_IFS
5757
5758      ;;
5759 esac
5760 # We did not find ourselves, most probably we were run as `sh COMMAND'
5761 # in which case we are not to be found in the path.
5762 if test "x$as_myself" = x; then
5763   as_myself=$0
5764 fi
5765 if test ! -f "$as_myself"; then
5766   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5767   exit 1
5768 fi
5769
5770 # Unset variables that we do not need and which cause bugs (e.g. in
5771 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5772 # suppresses any "Segmentation fault" message there.  '((' could
5773 # trigger a bug in pdksh 5.2.14.
5774 for as_var in BASH_ENV ENV MAIL MAILPATH
5775 do eval test x\${$as_var+set} = xset \
5776   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5777 done
5778 PS1='$ '
5779 PS2='> '
5780 PS4='+ '
5781
5782 # NLS nuisances.
5783 LC_ALL=C
5784 export LC_ALL
5785 LANGUAGE=C
5786 export LANGUAGE
5787
5788 # CDPATH.
5789 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5790
5791
5792 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5793 # ----------------------------------------
5794 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5795 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5796 # script with STATUS, using 1 if that was 0.
5797 as_fn_error ()
5798 {
5799   as_status=$1; test $as_status -eq 0 && as_status=1
5800   if test "$4"; then
5801     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5802     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5803   fi
5804   $as_echo "$as_me: error: $2" >&2
5805   as_fn_exit $as_status
5806 } # as_fn_error
5807
5808
5809 # as_fn_set_status STATUS
5810 # -----------------------
5811 # Set $? to STATUS, without forking.
5812 as_fn_set_status ()
5813 {
5814   return $1
5815 } # as_fn_set_status
5816
5817 # as_fn_exit STATUS
5818 # -----------------
5819 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5820 as_fn_exit ()
5821 {
5822   set +e
5823   as_fn_set_status $1
5824   exit $1
5825 } # as_fn_exit
5826
5827 # as_fn_unset VAR
5828 # ---------------
5829 # Portably unset VAR.
5830 as_fn_unset ()
5831 {
5832   { eval $1=; unset $1;}
5833 }
5834 as_unset=as_fn_unset
5835 # as_fn_append VAR VALUE
5836 # ----------------------
5837 # Append the text in VALUE to the end of the definition contained in VAR. Take
5838 # advantage of any shell optimizations that allow amortized linear growth over
5839 # repeated appends, instead of the typical quadratic growth present in naive
5840 # implementations.
5841 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5842   eval 'as_fn_append ()
5843   {
5844     eval $1+=\$2
5845   }'
5846 else
5847   as_fn_append ()
5848   {
5849     eval $1=\$$1\$2
5850   }
5851 fi # as_fn_append
5852
5853 # as_fn_arith ARG...
5854 # ------------------
5855 # Perform arithmetic evaluation on the ARGs, and store the result in the
5856 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5857 # must be portable across $(()) and expr.
5858 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5859   eval 'as_fn_arith ()
5860   {
5861     as_val=$(( $* ))
5862   }'
5863 else
5864   as_fn_arith ()
5865   {
5866     as_val=`expr "$@" || test $? -eq 1`
5867   }
5868 fi # as_fn_arith
5869
5870
5871 if expr a : '\(a\)' >/dev/null 2>&1 &&
5872    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5873   as_expr=expr
5874 else
5875   as_expr=false
5876 fi
5877
5878 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5879   as_basename=basename
5880 else
5881   as_basename=false
5882 fi
5883
5884 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5885   as_dirname=dirname
5886 else
5887   as_dirname=false
5888 fi
5889
5890 as_me=`$as_basename -- "$0" ||
5891 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5892          X"$0" : 'X\(//\)$' \| \
5893          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5894 $as_echo X/"$0" |
5895     sed '/^.*\/\([^/][^/]*\)\/*$/{
5896             s//\1/
5897             q
5898           }
5899           /^X\/\(\/\/\)$/{
5900             s//\1/
5901             q
5902           }
5903           /^X\/\(\/\).*/{
5904             s//\1/
5905             q
5906           }
5907           s/.*/./; q'`
5908
5909 # Avoid depending upon Character Ranges.
5910 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5911 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5912 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5913 as_cr_digits='0123456789'
5914 as_cr_alnum=$as_cr_Letters$as_cr_digits
5915
5916 ECHO_C= ECHO_N= ECHO_T=
5917 case `echo -n x` in #(((((
5918 -n*)
5919   case `echo 'xy\c'` in
5920   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5921   xy)  ECHO_C='\c';;
5922   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5923        ECHO_T=' ';;
5924   esac;;
5925 *)
5926   ECHO_N='-n';;
5927 esac
5928
5929 rm -f conf$$ conf$$.exe conf$$.file
5930 if test -d conf$$.dir; then
5931   rm -f conf$$.dir/conf$$.file
5932 else
5933   rm -f conf$$.dir
5934   mkdir conf$$.dir 2>/dev/null
5935 fi
5936 if (echo >conf$$.file) 2>/dev/null; then
5937   if ln -s conf$$.file conf$$ 2>/dev/null; then
5938     as_ln_s='ln -s'
5939     # ... but there are two gotchas:
5940     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5941     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5942     # In both cases, we have to default to `cp -pR'.
5943     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5944       as_ln_s='cp -pR'
5945   elif ln conf$$.file conf$$ 2>/dev/null; then
5946     as_ln_s=ln
5947   else
5948     as_ln_s='cp -pR'
5949   fi
5950 else
5951   as_ln_s='cp -pR'
5952 fi
5953 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5954 rmdir conf$$.dir 2>/dev/null
5955
5956
5957 # as_fn_mkdir_p
5958 # -------------
5959 # Create "$as_dir" as a directory, including parents if necessary.
5960 as_fn_mkdir_p ()
5961 {
5962
5963   case $as_dir in #(
5964   -*) as_dir=./$as_dir;;
5965   esac
5966   test -d "$as_dir" || eval $as_mkdir_p || {
5967     as_dirs=
5968     while :; do
5969       case $as_dir in #(
5970       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5971       *) as_qdir=$as_dir;;
5972       esac
5973       as_dirs="'$as_qdir' $as_dirs"
5974       as_dir=`$as_dirname -- "$as_dir" ||
5975 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5976          X"$as_dir" : 'X\(//\)[^/]' \| \
5977          X"$as_dir" : 'X\(//\)$' \| \
5978          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5979 $as_echo X"$as_dir" |
5980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5981             s//\1/
5982             q
5983           }
5984           /^X\(\/\/\)[^/].*/{
5985             s//\1/
5986             q
5987           }
5988           /^X\(\/\/\)$/{
5989             s//\1/
5990             q
5991           }
5992           /^X\(\/\).*/{
5993             s//\1/
5994             q
5995           }
5996           s/.*/./; q'`
5997       test -d "$as_dir" && break
5998     done
5999     test -z "$as_dirs" || eval "mkdir $as_dirs"
6000   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6001
6002
6003 } # as_fn_mkdir_p
6004 if mkdir -p . 2>/dev/null; then
6005   as_mkdir_p='mkdir -p "$as_dir"'
6006 else
6007   test -d ./-p && rmdir ./-p
6008   as_mkdir_p=false
6009 fi
6010
6011
6012 # as_fn_executable_p FILE
6013 # -----------------------
6014 # Test if FILE is an executable regular file.
6015 as_fn_executable_p ()
6016 {
6017   test -f "$1" && test -x "$1"
6018 } # as_fn_executable_p
6019 as_test_x='test -x'
6020 as_executable_p=as_fn_executable_p
6021
6022 # Sed expression to map a string onto a valid CPP name.
6023 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6024
6025 # Sed expression to map a string onto a valid variable name.
6026 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6027
6028
6029 exec 6>&1
6030 ## ----------------------------------- ##
6031 ## Main body of $CONFIG_STATUS script. ##
6032 ## ----------------------------------- ##
6033 _ASEOF
6034 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6035
6036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6037 # Save the log message, to keep $0 and so on meaningful, and to
6038 # report actual input values of CONFIG_FILES etc. instead of their
6039 # values after options handling.
6040 ac_log="
6041 This file was extended by GnuCoMo $as_me 0.0.13, which was
6042 generated by GNU Autoconf 2.69.  Invocation command line was
6043
6044   CONFIG_FILES    = $CONFIG_FILES
6045   CONFIG_HEADERS  = $CONFIG_HEADERS
6046   CONFIG_LINKS    = $CONFIG_LINKS
6047   CONFIG_COMMANDS = $CONFIG_COMMANDS
6048   $ $0 $@
6049
6050 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6051 "
6052
6053 _ACEOF
6054
6055 case $ac_config_files in *"
6056 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6057 esac
6058
6059 case $ac_config_headers in *"
6060 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6061 esac
6062
6063
6064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6065 # Files that config.status was made for.
6066 config_files="$ac_config_files"
6067 config_headers="$ac_config_headers"
6068 config_commands="$ac_config_commands"
6069
6070 _ACEOF
6071
6072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6073 ac_cs_usage="\
6074 \`$as_me' instantiates files and other configuration actions
6075 from templates according to the current configuration.  Unless the files
6076 and actions are specified as TAGs, all are instantiated by default.
6077
6078 Usage: $0 [OPTION]... [TAG]...
6079
6080   -h, --help       print this help, then exit
6081   -V, --version    print version number and configuration settings, then exit
6082       --config     print configuration, then exit
6083   -q, --quiet, --silent
6084                    do not print progress messages
6085   -d, --debug      don't remove temporary files
6086       --recheck    update $as_me by reconfiguring in the same conditions
6087       --file=FILE[:TEMPLATE]
6088                    instantiate the configuration file FILE
6089       --header=FILE[:TEMPLATE]
6090                    instantiate the configuration header FILE
6091
6092 Configuration files:
6093 $config_files
6094
6095 Configuration headers:
6096 $config_headers
6097
6098 Configuration commands:
6099 $config_commands
6100
6101 Report bugs to the package provider."
6102
6103 _ACEOF
6104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6105 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6106 ac_cs_version="\\
6107 GnuCoMo config.status 0.0.13
6108 configured by $0, generated by GNU Autoconf 2.69,
6109   with options \\"\$ac_cs_config\\"
6110
6111 Copyright (C) 2012 Free Software Foundation, Inc.
6112 This config.status script is free software; the Free Software Foundation
6113 gives unlimited permission to copy, distribute and modify it."
6114
6115 ac_pwd='$ac_pwd'
6116 srcdir='$srcdir'
6117 INSTALL='$INSTALL'
6118 MKDIR_P='$MKDIR_P'
6119 AWK='$AWK'
6120 test -n "\$AWK" || AWK=awk
6121 _ACEOF
6122
6123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6124 # The default lists apply if the user does not specify any file.
6125 ac_need_defaults=:
6126 while test $# != 0
6127 do
6128   case $1 in
6129   --*=?*)
6130     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6131     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6132     ac_shift=:
6133     ;;
6134   --*=)
6135     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6136     ac_optarg=
6137     ac_shift=:
6138     ;;
6139   *)
6140     ac_option=$1
6141     ac_optarg=$2
6142     ac_shift=shift
6143     ;;
6144   esac
6145
6146   case $ac_option in
6147   # Handling of the options.
6148   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6149     ac_cs_recheck=: ;;
6150   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6151     $as_echo "$ac_cs_version"; exit ;;
6152   --config | --confi | --conf | --con | --co | --c )
6153     $as_echo "$ac_cs_config"; exit ;;
6154   --debug | --debu | --deb | --de | --d | -d )
6155     debug=: ;;
6156   --file | --fil | --fi | --f )
6157     $ac_shift
6158     case $ac_optarg in
6159     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6160     '') as_fn_error $? "missing file argument" ;;
6161     esac
6162     as_fn_append CONFIG_FILES " '$ac_optarg'"
6163     ac_need_defaults=false;;
6164   --header | --heade | --head | --hea )
6165     $ac_shift
6166     case $ac_optarg in
6167     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6168     esac
6169     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6170     ac_need_defaults=false;;
6171   --he | --h)
6172     # Conflict between --help and --header
6173     as_fn_error $? "ambiguous option: \`$1'
6174 Try \`$0 --help' for more information.";;
6175   --help | --hel | -h )
6176     $as_echo "$ac_cs_usage"; exit ;;
6177   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6178   | -silent | --silent | --silen | --sile | --sil | --si | --s)
6179     ac_cs_silent=: ;;
6180
6181   # This is an error.
6182   -*) as_fn_error $? "unrecognized option: \`$1'
6183 Try \`$0 --help' for more information." ;;
6184
6185   *) as_fn_append ac_config_targets " $1"
6186      ac_need_defaults=false ;;
6187
6188   esac
6189   shift
6190 done
6191
6192 ac_configure_extra_args=
6193
6194 if $ac_cs_silent; then
6195   exec 6>/dev/null
6196   ac_configure_extra_args="$ac_configure_extra_args --silent"
6197 fi
6198
6199 _ACEOF
6200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6201 if \$ac_cs_recheck; then
6202   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6203   shift
6204   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6205   CONFIG_SHELL='$SHELL'
6206   export CONFIG_SHELL
6207   exec "\$@"
6208 fi
6209
6210 _ACEOF
6211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6212 exec 5>>config.log
6213 {
6214   echo
6215   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6216 ## Running $as_me. ##
6217 _ASBOX
6218   $as_echo "$ac_log"
6219 } >&5
6220
6221 _ACEOF
6222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6223 #
6224 # INIT-COMMANDS
6225 #
6226 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6227
6228 _ACEOF
6229
6230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6231
6232 # Handling of arguments.
6233 for ac_config_target in $ac_config_targets
6234 do
6235   case $ac_config_target in
6236     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6237     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6238     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6239     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6240     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
6241     "src/gcm_input/Makefile") CONFIG_FILES="$CONFIG_FILES src/gcm_input/Makefile" ;;
6242     "src/spam/Makefile") CONFIG_FILES="$CONFIG_FILES src/spam/Makefile" ;;
6243     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
6244
6245   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6246   esac
6247 done
6248
6249
6250 # If the user did not use the arguments to specify the items to instantiate,
6251 # then the envvar interface is used.  Set only those that are not.
6252 # We use the long form for the default assignment because of an extremely
6253 # bizarre bug on SunOS 4.1.3.
6254 if $ac_need_defaults; then
6255   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6256   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6257   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6258 fi
6259
6260 # Have a temporary directory for convenience.  Make it in the build tree
6261 # simply because there is no reason against having it here, and in addition,
6262 # creating and moving files from /tmp can sometimes cause problems.
6263 # Hook for its removal unless debugging.
6264 # Note that there is a small window in which the directory will not be cleaned:
6265 # after its creation but before its name has been assigned to `$tmp'.
6266 $debug ||
6267 {
6268   tmp= ac_tmp=
6269   trap 'exit_status=$?
6270   : "${ac_tmp:=$tmp}"
6271   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6272 ' 0
6273   trap 'as_fn_exit 1' 1 2 13 15
6274 }
6275 # Create a (secure) tmp directory for tmp files.
6276
6277 {
6278   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6279   test -d "$tmp"
6280 }  ||
6281 {
6282   tmp=./conf$$-$RANDOM
6283   (umask 077 && mkdir "$tmp")
6284 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6285 ac_tmp=$tmp
6286
6287 # Set up the scripts for CONFIG_FILES section.
6288 # No need to generate them if there are no CONFIG_FILES.
6289 # This happens for instance with `./config.status config.h'.
6290 if test -n "$CONFIG_FILES"; then
6291
6292
6293 ac_cr=`echo X | tr X '\015'`
6294 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6295 # But we know of no other shell where ac_cr would be empty at this
6296 # point, so we can use a bashism as a fallback.
6297 if test "x$ac_cr" = x; then
6298   eval ac_cr=\$\'\\r\'
6299 fi
6300 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6301 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6302   ac_cs_awk_cr='\\r'
6303 else
6304   ac_cs_awk_cr=$ac_cr
6305 fi
6306
6307 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6308 _ACEOF
6309
6310
6311 {
6312   echo "cat >conf$$subs.awk <<_ACEOF" &&
6313   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6314   echo "_ACEOF"
6315 } >conf$$subs.sh ||
6316   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6317 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6318 ac_delim='%!_!# '
6319 for ac_last_try in false false false false false :; do
6320   . ./conf$$subs.sh ||
6321     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6322
6323   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6324   if test $ac_delim_n = $ac_delim_num; then
6325     break
6326   elif $ac_last_try; then
6327     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6328   else
6329     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6330   fi
6331 done
6332 rm -f conf$$subs.sh
6333
6334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6335 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6336 _ACEOF
6337 sed -n '
6338 h
6339 s/^/S["/; s/!.*/"]=/
6340 p
6341 g
6342 s/^[^!]*!//
6343 :repl
6344 t repl
6345 s/'"$ac_delim"'$//
6346 t delim
6347 :nl
6348 h
6349 s/\(.\{148\}\)..*/\1/
6350 t more1
6351 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6352 p
6353 n
6354 b repl
6355 :more1
6356 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6357 p
6358 g
6359 s/.\{148\}//
6360 t nl
6361 :delim
6362 h
6363 s/\(.\{148\}\)..*/\1/
6364 t more2
6365 s/["\\]/\\&/g; s/^/"/; s/$/"/
6366 p
6367 b
6368 :more2
6369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6370 p
6371 g
6372 s/.\{148\}//
6373 t delim
6374 ' <conf$$subs.awk | sed '
6375 /^[^""]/{
6376   N
6377   s/\n//
6378 }
6379 ' >>$CONFIG_STATUS || ac_write_fail=1
6380 rm -f conf$$subs.awk
6381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6382 _ACAWK
6383 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6384   for (key in S) S_is_set[key] = 1
6385   FS = "\a"
6386
6387 }
6388 {
6389   line = $ 0
6390   nfields = split(line, field, "@")
6391   substed = 0
6392   len = length(field[1])
6393   for (i = 2; i < nfields; i++) {
6394     key = field[i]
6395     keylen = length(key)
6396     if (S_is_set[key]) {
6397       value = S[key]
6398       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6399       len += length(value) + length(field[++i])
6400       substed = 1
6401     } else
6402       len += 1 + keylen
6403   }
6404
6405   print line
6406 }
6407
6408 _ACAWK
6409 _ACEOF
6410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6411 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6412   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6413 else
6414   cat
6415 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6416   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6417 _ACEOF
6418
6419 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6420 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6421 # trailing colons and then remove the whole line if VPATH becomes empty
6422 # (actually we leave an empty line to preserve line numbers).
6423 if test "x$srcdir" = x.; then
6424   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6425 h
6426 s///
6427 s/^/:/
6428 s/[      ]*$/:/
6429 s/:\$(srcdir):/:/g
6430 s/:\${srcdir}:/:/g
6431 s/:@srcdir@:/:/g
6432 s/^:*//
6433 s/:*$//
6434 x
6435 s/\(=[   ]*\).*/\1/
6436 G
6437 s/\n//
6438 s/^[^=]*=[       ]*$//
6439 }'
6440 fi
6441
6442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6443 fi # test -n "$CONFIG_FILES"
6444
6445 # Set up the scripts for CONFIG_HEADERS section.
6446 # No need to generate them if there are no CONFIG_HEADERS.
6447 # This happens for instance with `./config.status Makefile'.
6448 if test -n "$CONFIG_HEADERS"; then
6449 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6450 BEGIN {
6451 _ACEOF
6452
6453 # Transform confdefs.h into an awk script `defines.awk', embedded as
6454 # here-document in config.status, that substitutes the proper values into
6455 # config.h.in to produce config.h.
6456
6457 # Create a delimiter string that does not exist in confdefs.h, to ease
6458 # handling of long lines.
6459 ac_delim='%!_!# '
6460 for ac_last_try in false false :; do
6461   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6462   if test -z "$ac_tt"; then
6463     break
6464   elif $ac_last_try; then
6465     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6466   else
6467     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6468   fi
6469 done
6470
6471 # For the awk script, D is an array of macro values keyed by name,
6472 # likewise P contains macro parameters if any.  Preserve backslash
6473 # newline sequences.
6474
6475 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6476 sed -n '
6477 s/.\{148\}/&'"$ac_delim"'/g
6478 t rset
6479 :rset
6480 s/^[     ]*#[    ]*define[       ][      ]*/ /
6481 t def
6482 d
6483 :def
6484 s/\\$//
6485 t bsnl
6486 s/["\\]/\\&/g
6487 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6488 D["\1"]=" \3"/p
6489 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6490 d
6491 :bsnl
6492 s/["\\]/\\&/g
6493 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6494 D["\1"]=" \3\\\\\\n"\\/p
6495 t cont
6496 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6497 t cont
6498 d
6499 :cont
6500 n
6501 s/.\{148\}/&'"$ac_delim"'/g
6502 t clear
6503 :clear
6504 s/\\$//
6505 t bsnlc
6506 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6507 d
6508 :bsnlc
6509 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6510 b cont
6511 ' <confdefs.h | sed '
6512 s/'"$ac_delim"'/"\\\
6513 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6514
6515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6516   for (key in D) D_is_set[key] = 1
6517   FS = "\a"
6518 }
6519 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6520   line = \$ 0
6521   split(line, arg, " ")
6522   if (arg[1] == "#") {
6523     defundef = arg[2]
6524     mac1 = arg[3]
6525   } else {
6526     defundef = substr(arg[1], 2)
6527     mac1 = arg[2]
6528   }
6529   split(mac1, mac2, "(") #)
6530   macro = mac2[1]
6531   prefix = substr(line, 1, index(line, defundef) - 1)
6532   if (D_is_set[macro]) {
6533     # Preserve the white space surrounding the "#".
6534     print prefix "define", macro P[macro] D[macro]
6535     next
6536   } else {
6537     # Replace #undef with comments.  This is necessary, for example,
6538     # in the case of _POSIX_SOURCE, which is predefined and required
6539     # on some systems where configure will not decide to define it.
6540     if (defundef == "undef") {
6541       print "/*", prefix defundef, macro, "*/"
6542       next
6543     }
6544   }
6545 }
6546 { print }
6547 _ACAWK
6548 _ACEOF
6549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6550   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6551 fi # test -n "$CONFIG_HEADERS"
6552
6553
6554 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6555 shift
6556 for ac_tag
6557 do
6558   case $ac_tag in
6559   :[FHLC]) ac_mode=$ac_tag; continue;;
6560   esac
6561   case $ac_mode$ac_tag in
6562   :[FHL]*:*);;
6563   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6564   :[FH]-) ac_tag=-:-;;
6565   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6566   esac
6567   ac_save_IFS=$IFS
6568   IFS=:
6569   set x $ac_tag
6570   IFS=$ac_save_IFS
6571   shift
6572   ac_file=$1
6573   shift
6574
6575   case $ac_mode in
6576   :L) ac_source=$1;;
6577   :[FH])
6578     ac_file_inputs=
6579     for ac_f
6580     do
6581       case $ac_f in
6582       -) ac_f="$ac_tmp/stdin";;
6583       *) # Look for the file first in the build tree, then in the source tree
6584          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6585          # because $ac_f cannot contain `:'.
6586          test -f "$ac_f" ||
6587            case $ac_f in
6588            [\\/$]*) false;;
6589            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6590            esac ||
6591            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6592       esac
6593       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6594       as_fn_append ac_file_inputs " '$ac_f'"
6595     done
6596
6597     # Let's still pretend it is `configure' which instantiates (i.e., don't
6598     # use $as_me), people would be surprised to read:
6599     #    /* config.h.  Generated by config.status.  */
6600     configure_input='Generated from '`
6601           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6602         `' by configure.'
6603     if test x"$ac_file" != x-; then
6604       configure_input="$ac_file.  $configure_input"
6605       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6606 $as_echo "$as_me: creating $ac_file" >&6;}
6607     fi
6608     # Neutralize special characters interpreted by sed in replacement strings.
6609     case $configure_input in #(
6610     *\&* | *\|* | *\\* )
6611        ac_sed_conf_input=`$as_echo "$configure_input" |
6612        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6613     *) ac_sed_conf_input=$configure_input;;
6614     esac
6615
6616     case $ac_tag in
6617     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6618       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6619     esac
6620     ;;
6621   esac
6622
6623   ac_dir=`$as_dirname -- "$ac_file" ||
6624 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6625          X"$ac_file" : 'X\(//\)[^/]' \| \
6626          X"$ac_file" : 'X\(//\)$' \| \
6627          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6628 $as_echo X"$ac_file" |
6629     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6630             s//\1/
6631             q
6632           }
6633           /^X\(\/\/\)[^/].*/{
6634             s//\1/
6635             q
6636           }
6637           /^X\(\/\/\)$/{
6638             s//\1/
6639             q
6640           }
6641           /^X\(\/\).*/{
6642             s//\1/
6643             q
6644           }
6645           s/.*/./; q'`
6646   as_dir="$ac_dir"; as_fn_mkdir_p
6647   ac_builddir=.
6648
6649 case "$ac_dir" in
6650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6651 *)
6652   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6653   # A ".." for each directory in $ac_dir_suffix.
6654   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6655   case $ac_top_builddir_sub in
6656   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6657   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6658   esac ;;
6659 esac
6660 ac_abs_top_builddir=$ac_pwd
6661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6662 # for backward compatibility:
6663 ac_top_builddir=$ac_top_build_prefix
6664
6665 case $srcdir in
6666   .)  # We are building in place.
6667     ac_srcdir=.
6668     ac_top_srcdir=$ac_top_builddir_sub
6669     ac_abs_top_srcdir=$ac_pwd ;;
6670   [\\/]* | ?:[\\/]* )  # Absolute name.
6671     ac_srcdir=$srcdir$ac_dir_suffix;
6672     ac_top_srcdir=$srcdir
6673     ac_abs_top_srcdir=$srcdir ;;
6674   *) # Relative name.
6675     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6676     ac_top_srcdir=$ac_top_build_prefix$srcdir
6677     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6678 esac
6679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6680
6681
6682   case $ac_mode in
6683   :F)
6684   #
6685   # CONFIG_FILE
6686   #
6687
6688   case $INSTALL in
6689   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6690   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6691   esac
6692   ac_MKDIR_P=$MKDIR_P
6693   case $MKDIR_P in
6694   [\\/$]* | ?:[\\/]* ) ;;
6695   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6696   esac
6697 _ACEOF
6698
6699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6700 # If the template does not know about datarootdir, expand it.
6701 # FIXME: This hack should be removed a few years after 2.60.
6702 ac_datarootdir_hack=; ac_datarootdir_seen=
6703 ac_sed_dataroot='
6704 /datarootdir/ {
6705   p
6706   q
6707 }
6708 /@datadir@/p
6709 /@docdir@/p
6710 /@infodir@/p
6711 /@localedir@/p
6712 /@mandir@/p'
6713 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6714 *datarootdir*) ac_datarootdir_seen=yes;;
6715 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6716   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6717 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6718 _ACEOF
6719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6720   ac_datarootdir_hack='
6721   s&@datadir@&$datadir&g
6722   s&@docdir@&$docdir&g
6723   s&@infodir@&$infodir&g
6724   s&@localedir@&$localedir&g
6725   s&@mandir@&$mandir&g
6726   s&\\\${datarootdir}&$datarootdir&g' ;;
6727 esac
6728 _ACEOF
6729
6730 # Neutralize VPATH when `$srcdir' = `.'.
6731 # Shell code in configure.ac might set extrasub.
6732 # FIXME: do we really want to maintain this feature?
6733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6734 ac_sed_extra="$ac_vpsub
6735 $extrasub
6736 _ACEOF
6737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6738 :t
6739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6740 s|@configure_input@|$ac_sed_conf_input|;t t
6741 s&@top_builddir@&$ac_top_builddir_sub&;t t
6742 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6743 s&@srcdir@&$ac_srcdir&;t t
6744 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6745 s&@top_srcdir@&$ac_top_srcdir&;t t
6746 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6747 s&@builddir@&$ac_builddir&;t t
6748 s&@abs_builddir@&$ac_abs_builddir&;t t
6749 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6750 s&@INSTALL@&$ac_INSTALL&;t t
6751 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6752 $ac_datarootdir_hack
6753 "
6754 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6755   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6756
6757 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6758   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6759   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6760       "$ac_tmp/out"`; test -z "$ac_out"; } &&
6761   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6762 which seems to be undefined.  Please make sure it is defined" >&5
6763 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6764 which seems to be undefined.  Please make sure it is defined" >&2;}
6765
6766   rm -f "$ac_tmp/stdin"
6767   case $ac_file in
6768   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6769   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6770   esac \
6771   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6772  ;;
6773   :H)
6774   #
6775   # CONFIG_HEADER
6776   #
6777   if test x"$ac_file" != x-; then
6778     {
6779       $as_echo "/* $configure_input  */" \
6780       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6781     } >"$ac_tmp/config.h" \
6782       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6783     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6784       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6785 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6786     else
6787       rm -f "$ac_file"
6788       mv "$ac_tmp/config.h" "$ac_file" \
6789         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6790     fi
6791   else
6792     $as_echo "/* $configure_input  */" \
6793       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6794       || as_fn_error $? "could not create -" "$LINENO" 5
6795   fi
6796 # Compute "$ac_file"'s index in $config_headers.
6797 _am_arg="$ac_file"
6798 _am_stamp_count=1
6799 for _am_header in $config_headers :; do
6800   case $_am_header in
6801     $_am_arg | $_am_arg:* )
6802       break ;;
6803     * )
6804       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6805   esac
6806 done
6807 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6808 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6809          X"$_am_arg" : 'X\(//\)[^/]' \| \
6810          X"$_am_arg" : 'X\(//\)$' \| \
6811          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6812 $as_echo X"$_am_arg" |
6813     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6814             s//\1/
6815             q
6816           }
6817           /^X\(\/\/\)[^/].*/{
6818             s//\1/
6819             q
6820           }
6821           /^X\(\/\/\)$/{
6822             s//\1/
6823             q
6824           }
6825           /^X\(\/\).*/{
6826             s//\1/
6827             q
6828           }
6829           s/.*/./; q'`/stamp-h$_am_stamp_count
6830  ;;
6831
6832   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6833 $as_echo "$as_me: executing $ac_file commands" >&6;}
6834  ;;
6835   esac
6836
6837
6838   case $ac_file$ac_mode in
6839     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6840   # Older Autoconf quotes --file arguments for eval, but not when files
6841   # are listed without --file.  Let's play safe and only enable the eval
6842   # if we detect the quoting.
6843   case $CONFIG_FILES in
6844   *\'*) eval set x "$CONFIG_FILES" ;;
6845   *)   set x $CONFIG_FILES ;;
6846   esac
6847   shift
6848   for mf
6849   do
6850     # Strip MF so we end up with the name of the file.
6851     mf=`echo "$mf" | sed -e 's/:.*$//'`
6852     # Check whether this is an Automake generated Makefile or not.
6853     # We used to match only the files named 'Makefile.in', but
6854     # some people rename them; so instead we look at the file content.
6855     # Grep'ing the first line is not enough: some people post-process
6856     # each Makefile.in and add a new line on top of each file to say so.
6857     # Grep'ing the whole file is not good either: AIX grep has a line
6858     # limit of 2048, but all sed's we know have understand at least 4000.
6859     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6860       dirpart=`$as_dirname -- "$mf" ||
6861 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6862          X"$mf" : 'X\(//\)[^/]' \| \
6863          X"$mf" : 'X\(//\)$' \| \
6864          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6865 $as_echo X"$mf" |
6866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6867             s//\1/
6868             q
6869           }
6870           /^X\(\/\/\)[^/].*/{
6871             s//\1/
6872             q
6873           }
6874           /^X\(\/\/\)$/{
6875             s//\1/
6876             q
6877           }
6878           /^X\(\/\).*/{
6879             s//\1/
6880             q
6881           }
6882           s/.*/./; q'`
6883     else
6884       continue
6885     fi
6886     # Extract the definition of DEPDIR, am__include, and am__quote
6887     # from the Makefile without running 'make'.
6888     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6889     test -z "$DEPDIR" && continue
6890     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6891     test -z "$am__include" && continue
6892     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6893     # Find all dependency output files, they are included files with
6894     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6895     # simplest approach to changing $(DEPDIR) to its actual value in the
6896     # expansion.
6897     for file in `sed -n "
6898       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6899          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6900       # Make sure the directory exists.
6901       test -f "$dirpart/$file" && continue
6902       fdir=`$as_dirname -- "$file" ||
6903 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6904          X"$file" : 'X\(//\)[^/]' \| \
6905          X"$file" : 'X\(//\)$' \| \
6906          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6907 $as_echo X"$file" |
6908     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6909             s//\1/
6910             q
6911           }
6912           /^X\(\/\/\)[^/].*/{
6913             s//\1/
6914             q
6915           }
6916           /^X\(\/\/\)$/{
6917             s//\1/
6918             q
6919           }
6920           /^X\(\/\).*/{
6921             s//\1/
6922             q
6923           }
6924           s/.*/./; q'`
6925       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6926       # echo "creating $dirpart/$file"
6927       echo '# dummy' > "$dirpart/$file"
6928     done
6929   done
6930 }
6931  ;;
6932
6933   esac
6934 done # for ac_tag
6935
6936
6937 as_fn_exit 0
6938 _ACEOF
6939 ac_clean_files=$ac_clean_files_save
6940
6941 test $ac_write_fail = 0 ||
6942   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6943
6944
6945 # configure is writing to config.log, and then calls config.status.
6946 # config.status does its own redirection, appending to config.log.
6947 # Unfortunately, on DOS this fails, as config.log is still kept open
6948 # by configure, so config.status won't be able to write to it; its
6949 # output is simply discarded.  So we exec the FD to /dev/null,
6950 # effectively closing config.log, so it can be properly (re)opened and
6951 # appended to by config.status.  When coming back to configure, we
6952 # need to make the FD available again.
6953 if test "$no_create" != yes; then
6954   ac_cs_success=:
6955   ac_config_status_args=
6956   test "$silent" = yes &&
6957     ac_config_status_args="$ac_config_status_args --quiet"
6958   exec 5>/dev/null
6959   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6960   exec 5>>config.log
6961   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6962   # would make configure fail if this is the last instruction.
6963   $ac_cs_success || as_fn_exit 1
6964 fi
6965 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6966   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6967 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6968 fi
6969