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