Debian Codegraph @

configure

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