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