Debian Codegraph @

recorder/configure

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