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