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