]> sourceware.org Git - newlib-cygwin.git/blob - winsup/lsaauth/configure
* configure.in: Add AC_NO_EXECUTABLES.
[newlib-cygwin.git] / winsup / lsaauth / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # 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 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200 fi
201 fi
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 # Preserve -v and -x to the replacement shell.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 case $- in # ((((
223 *v*x* | *x*v* ) as_opts=-vx ;;
224 *v* ) as_opts=-v ;;
225 *x* ) as_opts=-x ;;
226 * ) as_opts= ;;
227 esac
228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
229 fi
230
231 if test x$as_have_required = xno; then :
232 $as_echo "$0: This script requires a shell more modern than all"
233 $as_echo "$0: the shells that I found on your system."
234 if test x${ZSH_VERSION+set} = xset ; then
235 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 else
238 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239 $0: including any error possibly output before this
240 $0: message. Then install a modern shell, or manually run
241 $0: the script under such a shell if you do have one."
242 fi
243 exit 1
244 fi
245 fi
246 fi
247 SHELL=${CONFIG_SHELL-/bin/sh}
248 export SHELL
249 # Unset more variables known to interfere with behavior of common tools.
250 CLICOLOR_FORCE= GREP_OPTIONS=
251 unset CLICOLOR_FORCE GREP_OPTIONS
252
253 ## --------------------- ##
254 ## M4sh Shell Functions. ##
255 ## --------------------- ##
256 # as_fn_unset VAR
257 # ---------------
258 # Portably unset VAR.
259 as_fn_unset ()
260 {
261 { eval $1=; unset $1;}
262 }
263 as_unset=as_fn_unset
264
265 # as_fn_set_status STATUS
266 # -----------------------
267 # Set $? to STATUS, without forking.
268 as_fn_set_status ()
269 {
270 return $1
271 } # as_fn_set_status
272
273 # as_fn_exit STATUS
274 # -----------------
275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 as_fn_exit ()
277 {
278 set +e
279 as_fn_set_status $1
280 exit $1
281 } # as_fn_exit
282
283 # as_fn_mkdir_p
284 # -------------
285 # Create "$as_dir" as a directory, including parents if necessary.
286 as_fn_mkdir_p ()
287 {
288
289 case $as_dir in #(
290 -*) as_dir=./$as_dir;;
291 esac
292 test -d "$as_dir" || eval $as_mkdir_p || {
293 as_dirs=
294 while :; do
295 case $as_dir in #(
296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297 *) as_qdir=$as_dir;;
298 esac
299 as_dirs="'$as_qdir' $as_dirs"
300 as_dir=`$as_dirname -- "$as_dir" ||
301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302 X"$as_dir" : 'X\(//\)[^/]' \| \
303 X"$as_dir" : 'X\(//\)$' \| \
304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305 $as_echo X"$as_dir" |
306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
307 s//\1/
308 q
309 }
310 /^X\(\/\/\)[^/].*/{
311 s//\1/
312 q
313 }
314 /^X\(\/\/\)$/{
315 s//\1/
316 q
317 }
318 /^X\(\/\).*/{
319 s//\1/
320 q
321 }
322 s/.*/./; q'`
323 test -d "$as_dir" && break
324 done
325 test -z "$as_dirs" || eval "mkdir $as_dirs"
326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327
328
329 } # as_fn_mkdir_p
330 # as_fn_append VAR VALUE
331 # ----------------------
332 # Append the text in VALUE to the end of the definition contained in VAR. Take
333 # advantage of any shell optimizations that allow amortized linear growth over
334 # repeated appends, instead of the typical quadratic growth present in naive
335 # implementations.
336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
337 eval 'as_fn_append ()
338 {
339 eval $1+=\$2
340 }'
341 else
342 as_fn_append ()
343 {
344 eval $1=\$$1\$2
345 }
346 fi # as_fn_append
347
348 # as_fn_arith ARG...
349 # ------------------
350 # Perform arithmetic evaluation on the ARGs, and store the result in the
351 # global $as_val. Take advantage of shells that can avoid forks. The arguments
352 # must be portable across $(()) and expr.
353 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 eval 'as_fn_arith ()
355 {
356 as_val=$(( $* ))
357 }'
358 else
359 as_fn_arith ()
360 {
361 as_val=`expr "$@" || test $? -eq 1`
362 }
363 fi # as_fn_arith
364
365
366 # as_fn_error STATUS ERROR [LINENO LOG_FD]
367 # ----------------------------------------
368 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370 # script with STATUS, using 1 if that was 0.
371 as_fn_error ()
372 {
373 as_status=$1; test $as_status -eq 0 && as_status=1
374 if test "$4"; then
375 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
377 fi
378 $as_echo "$as_me: error: $2" >&2
379 as_fn_exit $as_status
380 } # as_fn_error
381
382 if expr a : '\(a\)' >/dev/null 2>&1 &&
383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
384 as_expr=expr
385 else
386 as_expr=false
387 fi
388
389 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 as_basename=basename
391 else
392 as_basename=false
393 fi
394
395 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_dirname=dirname
397 else
398 as_dirname=false
399 fi
400
401 as_me=`$as_basename -- "$0" ||
402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403 X"$0" : 'X\(//\)$' \| \
404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 $as_echo X/"$0" |
406 sed '/^.*\/\([^/][^/]*\)\/*$/{
407 s//\1/
408 q
409 }
410 /^X\/\(\/\/\)$/{
411 s//\1/
412 q
413 }
414 /^X\/\(\/\).*/{
415 s//\1/
416 q
417 }
418 s/.*/./; q'`
419
420 # Avoid depending upon Character Ranges.
421 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
422 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
424 as_cr_digits='0123456789'
425 as_cr_alnum=$as_cr_Letters$as_cr_digits
426
427
428 as_lineno_1=$LINENO as_lineno_1a=$LINENO
429 as_lineno_2=$LINENO as_lineno_2a=$LINENO
430 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
432 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
433 sed -n '
434 p
435 /[$]LINENO/=
436 ' <$as_myself |
437 sed '
438 s/[$]LINENO.*/&-/
439 t lineno
440 b
441 :lineno
442 N
443 :loop
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 t loop
446 s/-\n.*//
447 ' >$as_me.lineno &&
448 chmod +x "$as_me.lineno" ||
449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
455 # Exit status is that of the last command.
456 exit
457 }
458
459 ECHO_C= ECHO_N= ECHO_T=
460 case `echo -n x` in #(((((
461 -n*)
462 case `echo 'xy\c'` in
463 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 xy) ECHO_C='\c';;
465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 ECHO_T=' ';;
467 esac;;
468 *)
469 ECHO_N='-n';;
470 esac
471
472 rm -f conf$$ conf$$.exe conf$$.file
473 if test -d conf$$.dir; then
474 rm -f conf$$.dir/conf$$.file
475 else
476 rm -f conf$$.dir
477 mkdir conf$$.dir 2>/dev/null
478 fi
479 if (echo >conf$$.file) 2>/dev/null; then
480 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s='ln -s'
482 # ... but there are two gotchas:
483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485 # In both cases, we have to default to `cp -p'.
486 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 as_ln_s='cp -p'
488 elif ln conf$$.file conf$$ 2>/dev/null; then
489 as_ln_s=ln
490 else
491 as_ln_s='cp -p'
492 fi
493 else
494 as_ln_s='cp -p'
495 fi
496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497 rmdir conf$$.dir 2>/dev/null
498
499 if mkdir -p . 2>/dev/null; then
500 as_mkdir_p='mkdir -p "$as_dir"'
501 else
502 test -d ./-p && rmdir ./-p
503 as_mkdir_p=false
504 fi
505
506 if test -x / >/dev/null 2>&1; then
507 as_test_x='test -x'
508 else
509 if ls -dL / >/dev/null 2>&1; then
510 as_ls_L_option=L
511 else
512 as_ls_L_option=
513 fi
514 as_test_x='
515 eval sh -c '\''
516 if test -d "$1"; then
517 test -d "$1/.";
518 else
519 case $1 in #(
520 -*)set "./$1";;
521 esac;
522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523 ???[sx]*):;;*)false;;esac;fi
524 '\'' sh
525 '
526 fi
527 as_executable_p=$as_test_x
528
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
535
536 test -n "$DJDIR" || exec 7<&0 </dev/null
537 exec 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME=
558 PACKAGE_TARNAME=
559 PACKAGE_VERSION=
560 PACKAGE_STRING=
561 PACKAGE_BUGREPORT=
562 PACKAGE_URL=
563
564 ac_unique_file="Makefile.in"
565 ac_no_link=no
566 ac_subst_vars='LTLIBOBJS
567 LIBOBJS
568 INSTALL_DATA
569 INSTALL_SCRIPT
570 INSTALL_PROGRAM
571 MINGW64_CC
572 MINGW32_CC
573 OBJEXT
574 EXEEXT
575 ac_ct_CC
576 CPPFLAGS
577 LDFLAGS
578 CFLAGS
579 CC
580 target_os
581 target_vendor
582 target_cpu
583 target
584 host_os
585 host_vendor
586 host_cpu
587 host
588 build_os
589 build_vendor
590 build_cpu
591 build
592 target_alias
593 host_alias
594 build_alias
595 LIBS
596 ECHO_T
597 ECHO_N
598 ECHO_C
599 DEFS
600 mandir
601 localedir
602 libdir
603 psdir
604 pdfdir
605 dvidir
606 htmldir
607 infodir
608 docdir
609 oldincludedir
610 includedir
611 localstatedir
612 sharedstatedir
613 sysconfdir
614 datadir
615 datarootdir
616 libexecdir
617 sbindir
618 bindir
619 program_transform_name
620 prefix
621 exec_prefix
622 PACKAGE_URL
623 PACKAGE_BUGREPORT
624 PACKAGE_STRING
625 PACKAGE_VERSION
626 PACKAGE_TARNAME
627 PACKAGE_NAME
628 PATH_SEPARATOR
629 SHELL'
630 ac_subst_files=''
631 ac_user_opts='
632 enable_option_checking
633 '
634 ac_precious_vars='build_alias
635 host_alias
636 target_alias
637 CC
638 CFLAGS
639 LDFLAGS
640 LIBS
641 CPPFLAGS'
642
643
644 # Initialize some variables set by options.
645 ac_init_help=
646 ac_init_version=false
647 ac_unrecognized_opts=
648 ac_unrecognized_sep=
649 # The variables have the same names as the options, with
650 # dashes changed to underlines.
651 cache_file=/dev/null
652 exec_prefix=NONE
653 no_create=
654 no_recursion=
655 prefix=NONE
656 program_prefix=NONE
657 program_suffix=NONE
658 program_transform_name=s,x,x,
659 silent=
660 site=
661 srcdir=
662 verbose=
663 x_includes=NONE
664 x_libraries=NONE
665
666 # Installation directory options.
667 # These are left unexpanded so users can "make install exec_prefix=/foo"
668 # and all the variables that are supposed to be based on exec_prefix
669 # by default will actually change.
670 # Use braces instead of parens because sh, perl, etc. also accept them.
671 # (The list follows the same order as the GNU Coding Standards.)
672 bindir='${exec_prefix}/bin'
673 sbindir='${exec_prefix}/sbin'
674 libexecdir='${exec_prefix}/libexec'
675 datarootdir='${prefix}/share'
676 datadir='${datarootdir}'
677 sysconfdir='${prefix}/etc'
678 sharedstatedir='${prefix}/com'
679 localstatedir='${prefix}/var'
680 includedir='${prefix}/include'
681 oldincludedir='/usr/include'
682 docdir='${datarootdir}/doc/${PACKAGE}'
683 infodir='${datarootdir}/info'
684 htmldir='${docdir}'
685 dvidir='${docdir}'
686 pdfdir='${docdir}'
687 psdir='${docdir}'
688 libdir='${exec_prefix}/lib'
689 localedir='${datarootdir}/locale'
690 mandir='${datarootdir}/man'
691
692 ac_prev=
693 ac_dashdash=
694 for ac_option
695 do
696 # If the previous option needs an argument, assign it.
697 if test -n "$ac_prev"; then
698 eval $ac_prev=\$ac_option
699 ac_prev=
700 continue
701 fi
702
703 case $ac_option in
704 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
705 *=) ac_optarg= ;;
706 *) ac_optarg=yes ;;
707 esac
708
709 # Accept the important Cygnus configure options, so we can diagnose typos.
710
711 case $ac_dashdash$ac_option in
712 --)
713 ac_dashdash=yes ;;
714
715 -bindir | --bindir | --bindi | --bind | --bin | --bi)
716 ac_prev=bindir ;;
717 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
718 bindir=$ac_optarg ;;
719
720 -build | --build | --buil | --bui | --bu)
721 ac_prev=build_alias ;;
722 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
723 build_alias=$ac_optarg ;;
724
725 -cache-file | --cache-file | --cache-fil | --cache-fi \
726 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
727 ac_prev=cache_file ;;
728 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
729 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
730 cache_file=$ac_optarg ;;
731
732 --config-cache | -C)
733 cache_file=config.cache ;;
734
735 -datadir | --datadir | --datadi | --datad)
736 ac_prev=datadir ;;
737 -datadir=* | --datadir=* | --datadi=* | --datad=*)
738 datadir=$ac_optarg ;;
739
740 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
741 | --dataroo | --dataro | --datar)
742 ac_prev=datarootdir ;;
743 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
744 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
745 datarootdir=$ac_optarg ;;
746
747 -disable-* | --disable-*)
748 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
751 as_fn_error $? "invalid feature name: $ac_useropt"
752 ac_useropt_orig=$ac_useropt
753 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
754 case $ac_user_opts in
755 *"
756 "enable_$ac_useropt"
757 "*) ;;
758 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
759 ac_unrecognized_sep=', ';;
760 esac
761 eval enable_$ac_useropt=no ;;
762
763 -docdir | --docdir | --docdi | --doc | --do)
764 ac_prev=docdir ;;
765 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
766 docdir=$ac_optarg ;;
767
768 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
769 ac_prev=dvidir ;;
770 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
771 dvidir=$ac_optarg ;;
772
773 -enable-* | --enable-*)
774 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
775 # Reject names that are not valid shell variable names.
776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
777 as_fn_error $? "invalid feature name: $ac_useropt"
778 ac_useropt_orig=$ac_useropt
779 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
780 case $ac_user_opts in
781 *"
782 "enable_$ac_useropt"
783 "*) ;;
784 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
785 ac_unrecognized_sep=', ';;
786 esac
787 eval enable_$ac_useropt=\$ac_optarg ;;
788
789 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
790 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
791 | --exec | --exe | --ex)
792 ac_prev=exec_prefix ;;
793 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
794 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
795 | --exec=* | --exe=* | --ex=*)
796 exec_prefix=$ac_optarg ;;
797
798 -gas | --gas | --ga | --g)
799 # Obsolete; use --with-gas.
800 with_gas=yes ;;
801
802 -help | --help | --hel | --he | -h)
803 ac_init_help=long ;;
804 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
805 ac_init_help=recursive ;;
806 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
807 ac_init_help=short ;;
808
809 -host | --host | --hos | --ho)
810 ac_prev=host_alias ;;
811 -host=* | --host=* | --hos=* | --ho=*)
812 host_alias=$ac_optarg ;;
813
814 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
815 ac_prev=htmldir ;;
816 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
817 | --ht=*)
818 htmldir=$ac_optarg ;;
819
820 -includedir | --includedir | --includedi | --included | --include \
821 | --includ | --inclu | --incl | --inc)
822 ac_prev=includedir ;;
823 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
824 | --includ=* | --inclu=* | --incl=* | --inc=*)
825 includedir=$ac_optarg ;;
826
827 -infodir | --infodir | --infodi | --infod | --info | --inf)
828 ac_prev=infodir ;;
829 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
830 infodir=$ac_optarg ;;
831
832 -libdir | --libdir | --libdi | --libd)
833 ac_prev=libdir ;;
834 -libdir=* | --libdir=* | --libdi=* | --libd=*)
835 libdir=$ac_optarg ;;
836
837 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
838 | --libexe | --libex | --libe)
839 ac_prev=libexecdir ;;
840 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
841 | --libexe=* | --libex=* | --libe=*)
842 libexecdir=$ac_optarg ;;
843
844 -localedir | --localedir | --localedi | --localed | --locale)
845 ac_prev=localedir ;;
846 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
847 localedir=$ac_optarg ;;
848
849 -localstatedir | --localstatedir | --localstatedi | --localstated \
850 | --localstate | --localstat | --localsta | --localst | --locals)
851 ac_prev=localstatedir ;;
852 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
853 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
854 localstatedir=$ac_optarg ;;
855
856 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
857 ac_prev=mandir ;;
858 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
859 mandir=$ac_optarg ;;
860
861 -nfp | --nfp | --nf)
862 # Obsolete; use --without-fp.
863 with_fp=no ;;
864
865 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
866 | --no-cr | --no-c | -n)
867 no_create=yes ;;
868
869 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
870 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
871 no_recursion=yes ;;
872
873 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
874 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
875 | --oldin | --oldi | --old | --ol | --o)
876 ac_prev=oldincludedir ;;
877 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
878 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
879 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
880 oldincludedir=$ac_optarg ;;
881
882 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
883 ac_prev=prefix ;;
884 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
885 prefix=$ac_optarg ;;
886
887 -program-prefix | --program-prefix | --program-prefi | --program-pref \
888 | --program-pre | --program-pr | --program-p)
889 ac_prev=program_prefix ;;
890 -program-prefix=* | --program-prefix=* | --program-prefi=* \
891 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
892 program_prefix=$ac_optarg ;;
893
894 -program-suffix | --program-suffix | --program-suffi | --program-suff \
895 | --program-suf | --program-su | --program-s)
896 ac_prev=program_suffix ;;
897 -program-suffix=* | --program-suffix=* | --program-suffi=* \
898 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
899 program_suffix=$ac_optarg ;;
900
901 -program-transform-name | --program-transform-name \
902 | --program-transform-nam | --program-transform-na \
903 | --program-transform-n | --program-transform- \
904 | --program-transform | --program-transfor \
905 | --program-transfo | --program-transf \
906 | --program-trans | --program-tran \
907 | --progr-tra | --program-tr | --program-t)
908 ac_prev=program_transform_name ;;
909 -program-transform-name=* | --program-transform-name=* \
910 | --program-transform-nam=* | --program-transform-na=* \
911 | --program-transform-n=* | --program-transform-=* \
912 | --program-transform=* | --program-transfor=* \
913 | --program-transfo=* | --program-transf=* \
914 | --program-trans=* | --program-tran=* \
915 | --progr-tra=* | --program-tr=* | --program-t=*)
916 program_transform_name=$ac_optarg ;;
917
918 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
919 ac_prev=pdfdir ;;
920 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
921 pdfdir=$ac_optarg ;;
922
923 -psdir | --psdir | --psdi | --psd | --ps)
924 ac_prev=psdir ;;
925 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
926 psdir=$ac_optarg ;;
927
928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
929 | -silent | --silent | --silen | --sile | --sil)
930 silent=yes ;;
931
932 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
933 ac_prev=sbindir ;;
934 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
935 | --sbi=* | --sb=*)
936 sbindir=$ac_optarg ;;
937
938 -sharedstatedir | --sharedstatedir | --sharedstatedi \
939 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
940 | --sharedst | --shareds | --shared | --share | --shar \
941 | --sha | --sh)
942 ac_prev=sharedstatedir ;;
943 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
944 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
945 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
946 | --sha=* | --sh=*)
947 sharedstatedir=$ac_optarg ;;
948
949 -site | --site | --sit)
950 ac_prev=site ;;
951 -site=* | --site=* | --sit=*)
952 site=$ac_optarg ;;
953
954 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
955 ac_prev=srcdir ;;
956 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
957 srcdir=$ac_optarg ;;
958
959 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
960 | --syscon | --sysco | --sysc | --sys | --sy)
961 ac_prev=sysconfdir ;;
962 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
963 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
964 sysconfdir=$ac_optarg ;;
965
966 -target | --target | --targe | --targ | --tar | --ta | --t)
967 ac_prev=target_alias ;;
968 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
969 target_alias=$ac_optarg ;;
970
971 -v | -verbose | --verbose | --verbos | --verbo | --verb)
972 verbose=yes ;;
973
974 -version | --version | --versio | --versi | --vers | -V)
975 ac_init_version=: ;;
976
977 -with-* | --with-*)
978 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981 as_fn_error $? "invalid package name: $ac_useropt"
982 ac_useropt_orig=$ac_useropt
983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
985 *"
986 "with_$ac_useropt"
987 "*) ;;
988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
989 ac_unrecognized_sep=', ';;
990 esac
991 eval with_$ac_useropt=\$ac_optarg ;;
992
993 -without-* | --without-*)
994 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997 as_fn_error $? "invalid package name: $ac_useropt"
998 ac_useropt_orig=$ac_useropt
999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1001 *"
1002 "with_$ac_useropt"
1003 "*) ;;
1004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1005 ac_unrecognized_sep=', ';;
1006 esac
1007 eval with_$ac_useropt=no ;;
1008
1009 --x)
1010 # Obsolete; use --with-x.
1011 with_x=yes ;;
1012
1013 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1014 | --x-incl | --x-inc | --x-in | --x-i)
1015 ac_prev=x_includes ;;
1016 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1017 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1018 x_includes=$ac_optarg ;;
1019
1020 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1021 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1022 ac_prev=x_libraries ;;
1023 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1024 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1025 x_libraries=$ac_optarg ;;
1026
1027 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1028 Try \`$0 --help' for more information"
1029 ;;
1030
1031 *=*)
1032 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1033 # Reject names that are not valid shell variable names.
1034 case $ac_envvar in #(
1035 '' | [0-9]* | *[!_$as_cr_alnum]* )
1036 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1037 esac
1038 eval $ac_envvar=\$ac_optarg
1039 export $ac_envvar ;;
1040
1041 *)
1042 # FIXME: should be removed in autoconf 3.0.
1043 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1044 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1045 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1046 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1047 ;;
1048
1049 esac
1050 done
1051
1052 if test -n "$ac_prev"; then
1053 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1054 as_fn_error $? "missing argument to $ac_option"
1055 fi
1056
1057 if test -n "$ac_unrecognized_opts"; then
1058 case $enable_option_checking in
1059 no) ;;
1060 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1061 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1062 esac
1063 fi
1064
1065 # Check all directory arguments for consistency.
1066 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1067 datadir sysconfdir sharedstatedir localstatedir includedir \
1068 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1069 libdir localedir mandir
1070 do
1071 eval ac_val=\$$ac_var
1072 # Remove trailing slashes.
1073 case $ac_val in
1074 */ )
1075 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1076 eval $ac_var=\$ac_val;;
1077 esac
1078 # Be sure to have absolute directory names.
1079 case $ac_val in
1080 [\\/$]* | ?:[\\/]* ) continue;;
1081 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1082 esac
1083 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1084 done
1085
1086 # There might be people who depend on the old broken behavior: `$host'
1087 # used to hold the argument of --host etc.
1088 # FIXME: To remove some day.
1089 build=$build_alias
1090 host=$host_alias
1091 target=$target_alias
1092
1093 # FIXME: To remove some day.
1094 if test "x$host_alias" != x; then
1095 if test "x$build_alias" = x; then
1096 cross_compiling=maybe
1097 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1098 If a cross compiler is detected then cross compile mode will be used" >&2
1099 elif test "x$build_alias" != "x$host_alias"; then
1100 cross_compiling=yes
1101 fi
1102 fi
1103
1104 ac_tool_prefix=
1105 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1106
1107 test "$silent" = yes && exec 6>/dev/null
1108
1109
1110 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1111 ac_ls_di=`ls -di .` &&
1112 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1113 as_fn_error $? "working directory cannot be determined"
1114 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1115 as_fn_error $? "pwd does not report name of working directory"
1116
1117
1118 # Find the source files, if location was not specified.
1119 if test -z "$srcdir"; then
1120 ac_srcdir_defaulted=yes
1121 # Try the directory containing this script, then the parent directory.
1122 ac_confdir=`$as_dirname -- "$as_myself" ||
1123 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1124 X"$as_myself" : 'X\(//\)[^/]' \| \
1125 X"$as_myself" : 'X\(//\)$' \| \
1126 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1127 $as_echo X"$as_myself" |
1128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1129 s//\1/
1130 q
1131 }
1132 /^X\(\/\/\)[^/].*/{
1133 s//\1/
1134 q
1135 }
1136 /^X\(\/\/\)$/{
1137 s//\1/
1138 q
1139 }
1140 /^X\(\/\).*/{
1141 s//\1/
1142 q
1143 }
1144 s/.*/./; q'`
1145 srcdir=$ac_confdir
1146 if test ! -r "$srcdir/$ac_unique_file"; then
1147 srcdir=..
1148 fi
1149 else
1150 ac_srcdir_defaulted=no
1151 fi
1152 if test ! -r "$srcdir/$ac_unique_file"; then
1153 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1154 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1155 fi
1156 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1157 ac_abs_confdir=`(
1158 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1159 pwd)`
1160 # When building in place, set srcdir=.
1161 if test "$ac_abs_confdir" = "$ac_pwd"; then
1162 srcdir=.
1163 fi
1164 # Remove unnecessary trailing slashes from srcdir.
1165 # Double slashes in file names in object file debugging info
1166 # mess up M-x gdb in Emacs.
1167 case $srcdir in
1168 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169 esac
1170 for ac_var in $ac_precious_vars; do
1171 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1172 eval ac_env_${ac_var}_value=\$${ac_var}
1173 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1174 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1175 done
1176
1177 #
1178 # Report the --help message.
1179 #
1180 if test "$ac_init_help" = "long"; then
1181 # Omit some internal or obsolete options to make the list less imposing.
1182 # This message is too long to be a string in the A/UX 3.1 sh.
1183 cat <<_ACEOF
1184 \`configure' configures this package to adapt to many kinds of systems.
1185
1186 Usage: $0 [OPTION]... [VAR=VALUE]...
1187
1188 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1189 VAR=VALUE. See below for descriptions of some of the useful variables.
1190
1191 Defaults for the options are specified in brackets.
1192
1193 Configuration:
1194 -h, --help display this help and exit
1195 --help=short display options specific to this package
1196 --help=recursive display the short help of all the included packages
1197 -V, --version display version information and exit
1198 -q, --quiet, --silent do not print \`checking ...' messages
1199 --cache-file=FILE cache test results in FILE [disabled]
1200 -C, --config-cache alias for \`--cache-file=config.cache'
1201 -n, --no-create do not create output files
1202 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1203
1204 Installation directories:
1205 --prefix=PREFIX install architecture-independent files in PREFIX
1206 [$ac_default_prefix]
1207 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1208 [PREFIX]
1209
1210 By default, \`make install' will install all the files in
1211 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1212 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1213 for instance \`--prefix=\$HOME'.
1214
1215 For better control, use the options below.
1216
1217 Fine tuning of the installation directories:
1218 --bindir=DIR user executables [EPREFIX/bin]
1219 --sbindir=DIR system admin executables [EPREFIX/sbin]
1220 --libexecdir=DIR program executables [EPREFIX/libexec]
1221 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1222 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1223 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1224 --libdir=DIR object code libraries [EPREFIX/lib]
1225 --includedir=DIR C header files [PREFIX/include]
1226 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1227 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1228 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1229 --infodir=DIR info documentation [DATAROOTDIR/info]
1230 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1231 --mandir=DIR man documentation [DATAROOTDIR/man]
1232 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1233 --htmldir=DIR html documentation [DOCDIR]
1234 --dvidir=DIR dvi documentation [DOCDIR]
1235 --pdfdir=DIR pdf documentation [DOCDIR]
1236 --psdir=DIR ps documentation [DOCDIR]
1237 _ACEOF
1238
1239 cat <<\_ACEOF
1240
1241 Program names:
1242 --program-prefix=PREFIX prepend PREFIX to installed program names
1243 --program-suffix=SUFFIX append SUFFIX to installed program names
1244 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1245
1246 System types:
1247 --build=BUILD configure for building on BUILD [guessed]
1248 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1249 --target=TARGET configure for building compilers for TARGET [HOST]
1250 _ACEOF
1251 fi
1252
1253 if test -n "$ac_init_help"; then
1254
1255 cat <<\_ACEOF
1256
1257 Some influential environment variables:
1258 CC C compiler command
1259 CFLAGS C compiler flags
1260 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1261 nonstandard directory <lib dir>
1262 LIBS libraries to pass to the linker, e.g. -l<library>
1263 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1264 you have headers in a nonstandard directory <include dir>
1265
1266 Use these variables to override the choices made by `configure' or to help
1267 it to find libraries and programs with nonstandard names/locations.
1268
1269 Report bugs to the package provider.
1270 _ACEOF
1271 ac_status=$?
1272 fi
1273
1274 if test "$ac_init_help" = "recursive"; then
1275 # If there are subdirs, report their specific --help.
1276 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1277 test -d "$ac_dir" ||
1278 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1279 continue
1280 ac_builddir=.
1281
1282 case "$ac_dir" in
1283 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1284 *)
1285 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1286 # A ".." for each directory in $ac_dir_suffix.
1287 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1288 case $ac_top_builddir_sub in
1289 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1291 esac ;;
1292 esac
1293 ac_abs_top_builddir=$ac_pwd
1294 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1295 # for backward compatibility:
1296 ac_top_builddir=$ac_top_build_prefix
1297
1298 case $srcdir in
1299 .) # We are building in place.
1300 ac_srcdir=.
1301 ac_top_srcdir=$ac_top_builddir_sub
1302 ac_abs_top_srcdir=$ac_pwd ;;
1303 [\\/]* | ?:[\\/]* ) # Absolute name.
1304 ac_srcdir=$srcdir$ac_dir_suffix;
1305 ac_top_srcdir=$srcdir
1306 ac_abs_top_srcdir=$srcdir ;;
1307 *) # Relative name.
1308 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1309 ac_top_srcdir=$ac_top_build_prefix$srcdir
1310 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1311 esac
1312 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1313
1314 cd "$ac_dir" || { ac_status=$?; continue; }
1315 # Check for guested configure.
1316 if test -f "$ac_srcdir/configure.gnu"; then
1317 echo &&
1318 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1319 elif test -f "$ac_srcdir/configure"; then
1320 echo &&
1321 $SHELL "$ac_srcdir/configure" --help=recursive
1322 else
1323 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1324 fi || ac_status=$?
1325 cd "$ac_pwd" || { ac_status=$?; break; }
1326 done
1327 fi
1328
1329 test -n "$ac_init_help" && exit $ac_status
1330 if $ac_init_version; then
1331 cat <<\_ACEOF
1332 configure
1333 generated by GNU Autoconf 2.68
1334
1335 Copyright (C) 2010 Free Software Foundation, Inc.
1336 This configure script is free software; the Free Software Foundation
1337 gives unlimited permission to copy, distribute and modify it.
1338 _ACEOF
1339 exit
1340 fi
1341
1342 ## ------------------------ ##
1343 ## Autoconf initialization. ##
1344 ## ------------------------ ##
1345
1346 # ac_fn_c_try_compile LINENO
1347 # --------------------------
1348 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1349 ac_fn_c_try_compile ()
1350 {
1351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1352 rm -f conftest.$ac_objext
1353 if { { ac_try="$ac_compile"
1354 case "(($ac_try" in
1355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1356 *) ac_try_echo=$ac_try;;
1357 esac
1358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1359 $as_echo "$ac_try_echo"; } >&5
1360 (eval "$ac_compile") 2>conftest.err
1361 ac_status=$?
1362 if test -s conftest.err; then
1363 grep -v '^ *+' conftest.err >conftest.er1
1364 cat conftest.er1 >&5
1365 mv -f conftest.er1 conftest.err
1366 fi
1367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1368 test $ac_status = 0; } && {
1369 test -z "$ac_c_werror_flag" ||
1370 test ! -s conftest.err
1371 } && test -s conftest.$ac_objext; then :
1372 ac_retval=0
1373 else
1374 $as_echo "$as_me: failed program was:" >&5
1375 sed 's/^/| /' conftest.$ac_ext >&5
1376
1377 ac_retval=1
1378 fi
1379 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1380 as_fn_set_status $ac_retval
1381
1382 } # ac_fn_c_try_compile
1383 cat >config.log <<_ACEOF
1384 This file contains any messages produced by compilers while
1385 running configure, to aid debugging if configure makes a mistake.
1386
1387 It was created by $as_me, which was
1388 generated by GNU Autoconf 2.68. Invocation command line was
1389
1390 $ $0 $@
1391
1392 _ACEOF
1393 exec 5>>config.log
1394 {
1395 cat <<_ASUNAME
1396 ## --------- ##
1397 ## Platform. ##
1398 ## --------- ##
1399
1400 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1401 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1402 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1403 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1404 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1405
1406 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1407 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1408
1409 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1410 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1411 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1412 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1413 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1414 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1415 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1416
1417 _ASUNAME
1418
1419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1420 for as_dir in $PATH
1421 do
1422 IFS=$as_save_IFS
1423 test -z "$as_dir" && as_dir=.
1424 $as_echo "PATH: $as_dir"
1425 done
1426 IFS=$as_save_IFS
1427
1428 } >&5
1429
1430 cat >&5 <<_ACEOF
1431
1432
1433 ## ----------- ##
1434 ## Core tests. ##
1435 ## ----------- ##
1436
1437 _ACEOF
1438
1439
1440 # Keep a trace of the command line.
1441 # Strip out --no-create and --no-recursion so they do not pile up.
1442 # Strip out --silent because we don't want to record it for future runs.
1443 # Also quote any args containing shell meta-characters.
1444 # Make two passes to allow for proper duplicate-argument suppression.
1445 ac_configure_args=
1446 ac_configure_args0=
1447 ac_configure_args1=
1448 ac_must_keep_next=false
1449 for ac_pass in 1 2
1450 do
1451 for ac_arg
1452 do
1453 case $ac_arg in
1454 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1455 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1456 | -silent | --silent | --silen | --sile | --sil)
1457 continue ;;
1458 *\'*)
1459 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1460 esac
1461 case $ac_pass in
1462 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1463 2)
1464 as_fn_append ac_configure_args1 " '$ac_arg'"
1465 if test $ac_must_keep_next = true; then
1466 ac_must_keep_next=false # Got value, back to normal.
1467 else
1468 case $ac_arg in
1469 *=* | --config-cache | -C | -disable-* | --disable-* \
1470 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1471 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1472 | -with-* | --with-* | -without-* | --without-* | --x)
1473 case "$ac_configure_args0 " in
1474 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1475 esac
1476 ;;
1477 -* ) ac_must_keep_next=true ;;
1478 esac
1479 fi
1480 as_fn_append ac_configure_args " '$ac_arg'"
1481 ;;
1482 esac
1483 done
1484 done
1485 { ac_configure_args0=; unset ac_configure_args0;}
1486 { ac_configure_args1=; unset ac_configure_args1;}
1487
1488 # When interrupted or exit'd, cleanup temporary files, and complete
1489 # config.log. We remove comments because anyway the quotes in there
1490 # would cause problems or look ugly.
1491 # WARNING: Use '\'' to represent an apostrophe within the trap.
1492 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1493 trap 'exit_status=$?
1494 # Save into config.log some information that might help in debugging.
1495 {
1496 echo
1497
1498 $as_echo "## ---------------- ##
1499 ## Cache variables. ##
1500 ## ---------------- ##"
1501 echo
1502 # The following way of writing the cache mishandles newlines in values,
1503 (
1504 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1505 eval ac_val=\$$ac_var
1506 case $ac_val in #(
1507 *${as_nl}*)
1508 case $ac_var in #(
1509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1511 esac
1512 case $ac_var in #(
1513 _ | IFS | as_nl) ;; #(
1514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1515 *) { eval $ac_var=; unset $ac_var;} ;;
1516 esac ;;
1517 esac
1518 done
1519 (set) 2>&1 |
1520 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1521 *${as_nl}ac_space=\ *)
1522 sed -n \
1523 "s/'\''/'\''\\\\'\'''\''/g;
1524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1525 ;; #(
1526 *)
1527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1528 ;;
1529 esac |
1530 sort
1531 )
1532 echo
1533
1534 $as_echo "## ----------------- ##
1535 ## Output variables. ##
1536 ## ----------------- ##"
1537 echo
1538 for ac_var in $ac_subst_vars
1539 do
1540 eval ac_val=\$$ac_var
1541 case $ac_val in
1542 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1543 esac
1544 $as_echo "$ac_var='\''$ac_val'\''"
1545 done | sort
1546 echo
1547
1548 if test -n "$ac_subst_files"; then
1549 $as_echo "## ------------------- ##
1550 ## File substitutions. ##
1551 ## ------------------- ##"
1552 echo
1553 for ac_var in $ac_subst_files
1554 do
1555 eval ac_val=\$$ac_var
1556 case $ac_val in
1557 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 esac
1559 $as_echo "$ac_var='\''$ac_val'\''"
1560 done | sort
1561 echo
1562 fi
1563
1564 if test -s confdefs.h; then
1565 $as_echo "## ----------- ##
1566 ## confdefs.h. ##
1567 ## ----------- ##"
1568 echo
1569 cat confdefs.h
1570 echo
1571 fi
1572 test "$ac_signal" != 0 &&
1573 $as_echo "$as_me: caught signal $ac_signal"
1574 $as_echo "$as_me: exit $exit_status"
1575 } >&5
1576 rm -f core *.core core.conftest.* &&
1577 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1578 exit $exit_status
1579 ' 0
1580 for ac_signal in 1 2 13 15; do
1581 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1582 done
1583 ac_signal=0
1584
1585 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1586 rm -f -r conftest* confdefs.h
1587
1588 $as_echo "/* confdefs.h */" > confdefs.h
1589
1590 # Predefined preprocessor variables.
1591
1592 cat >>confdefs.h <<_ACEOF
1593 #define PACKAGE_NAME "$PACKAGE_NAME"
1594 _ACEOF
1595
1596 cat >>confdefs.h <<_ACEOF
1597 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1598 _ACEOF
1599
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1602 _ACEOF
1603
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_STRING "$PACKAGE_STRING"
1606 _ACEOF
1607
1608 cat >>confdefs.h <<_ACEOF
1609 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1610 _ACEOF
1611
1612 cat >>confdefs.h <<_ACEOF
1613 #define PACKAGE_URL "$PACKAGE_URL"
1614 _ACEOF
1615
1616
1617 # Let the site file select an alternate cache file if it wants to.
1618 # Prefer an explicitly selected file to automatically selected ones.
1619 ac_site_file1=NONE
1620 ac_site_file2=NONE
1621 if test -n "$CONFIG_SITE"; then
1622 # We do not want a PATH search for config.site.
1623 case $CONFIG_SITE in #((
1624 -*) ac_site_file1=./$CONFIG_SITE;;
1625 */*) ac_site_file1=$CONFIG_SITE;;
1626 *) ac_site_file1=./$CONFIG_SITE;;
1627 esac
1628 elif test "x$prefix" != xNONE; then
1629 ac_site_file1=$prefix/share/config.site
1630 ac_site_file2=$prefix/etc/config.site
1631 else
1632 ac_site_file1=$ac_default_prefix/share/config.site
1633 ac_site_file2=$ac_default_prefix/etc/config.site
1634 fi
1635 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1636 do
1637 test "x$ac_site_file" = xNONE && continue
1638 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1640 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1641 sed 's/^/| /' "$ac_site_file" >&5
1642 . "$ac_site_file" \
1643 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1645 as_fn_error $? "failed to load site script $ac_site_file
1646 See \`config.log' for more details" "$LINENO" 5; }
1647 fi
1648 done
1649
1650 if test -r "$cache_file"; then
1651 # Some versions of bash will fail to source /dev/null (special files
1652 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1653 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1655 $as_echo "$as_me: loading cache $cache_file" >&6;}
1656 case $cache_file in
1657 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1658 *) . "./$cache_file";;
1659 esac
1660 fi
1661 else
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1663 $as_echo "$as_me: creating cache $cache_file" >&6;}
1664 >$cache_file
1665 fi
1666
1667 # Check that the precious variables saved in the cache have kept the same
1668 # value.
1669 ac_cache_corrupted=false
1670 for ac_var in $ac_precious_vars; do
1671 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1672 eval ac_new_set=\$ac_env_${ac_var}_set
1673 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1674 eval ac_new_val=\$ac_env_${ac_var}_value
1675 case $ac_old_set,$ac_new_set in
1676 set,)
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1678 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1679 ac_cache_corrupted=: ;;
1680 ,set)
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1682 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1683 ac_cache_corrupted=: ;;
1684 ,);;
1685 *)
1686 if test "x$ac_old_val" != "x$ac_new_val"; then
1687 # differences in whitespace do not lead to failure.
1688 ac_old_val_w=`echo x $ac_old_val`
1689 ac_new_val_w=`echo x $ac_new_val`
1690 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1692 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1693 ac_cache_corrupted=:
1694 else
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1696 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1697 eval $ac_var=\$ac_old_val
1698 fi
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1700 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1702 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1703 fi;;
1704 esac
1705 # Pass precious variables to config.status.
1706 if test "$ac_new_set" = set; then
1707 case $ac_new_val in
1708 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1709 *) ac_arg=$ac_var=$ac_new_val ;;
1710 esac
1711 case " $ac_configure_args " in
1712 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1713 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1714 esac
1715 fi
1716 done
1717 if $ac_cache_corrupted; then
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1721 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1722 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1723 fi
1724 ## -------------------- ##
1725 ## Main body of script. ##
1726 ## -------------------- ##
1727
1728 ac_ext=c
1729 ac_cpp='$CPP $CPPFLAGS'
1730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1733
1734
1735
1736 ac_aux_dir=
1737 for ac_dir in ../.. "$srcdir"/../..; do
1738 if test -f "$ac_dir/install-sh"; then
1739 ac_aux_dir=$ac_dir
1740 ac_install_sh="$ac_aux_dir/install-sh -c"
1741 break
1742 elif test -f "$ac_dir/install.sh"; then
1743 ac_aux_dir=$ac_dir
1744 ac_install_sh="$ac_aux_dir/install.sh -c"
1745 break
1746 elif test -f "$ac_dir/shtool"; then
1747 ac_aux_dir=$ac_dir
1748 ac_install_sh="$ac_aux_dir/shtool install -c"
1749 break
1750 fi
1751 done
1752 if test -z "$ac_aux_dir"; then
1753 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
1754 fi
1755
1756 # These three variables are undocumented and unsupported,
1757 # and are intended to be withdrawn in a future Autoconf release.
1758 # They can cause serious problems if a builder's source tree is in a directory
1759 # whose full name contains unusual characters.
1760 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1761 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1762 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1763
1764
1765
1766
1767 # Make sure we can run config.sub.
1768 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1769 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1770
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1772 $as_echo_n "checking build system type... " >&6; }
1773 if ${ac_cv_build+:} false; then :
1774 $as_echo_n "(cached) " >&6
1775 else
1776 ac_build_alias=$build_alias
1777 test "x$ac_build_alias" = x &&
1778 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1779 test "x$ac_build_alias" = x &&
1780 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1781 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1782 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1783
1784 fi
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1786 $as_echo "$ac_cv_build" >&6; }
1787 case $ac_cv_build in
1788 *-*-*) ;;
1789 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1790 esac
1791 build=$ac_cv_build
1792 ac_save_IFS=$IFS; IFS='-'
1793 set x $ac_cv_build
1794 shift
1795 build_cpu=$1
1796 build_vendor=$2
1797 shift; shift
1798 # Remember, the first character of IFS is used to create $*,
1799 # except with old shells:
1800 build_os=$*
1801 IFS=$ac_save_IFS
1802 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1803
1804
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1806 $as_echo_n "checking host system type... " >&6; }
1807 if ${ac_cv_host+:} false; then :
1808 $as_echo_n "(cached) " >&6
1809 else
1810 if test "x$host_alias" = x; then
1811 ac_cv_host=$ac_cv_build
1812 else
1813 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1814 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1815 fi
1816
1817 fi
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1819 $as_echo "$ac_cv_host" >&6; }
1820 case $ac_cv_host in
1821 *-*-*) ;;
1822 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1823 esac
1824 host=$ac_cv_host
1825 ac_save_IFS=$IFS; IFS='-'
1826 set x $ac_cv_host
1827 shift
1828 host_cpu=$1
1829 host_vendor=$2
1830 shift; shift
1831 # Remember, the first character of IFS is used to create $*,
1832 # except with old shells:
1833 host_os=$*
1834 IFS=$ac_save_IFS
1835 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1836
1837
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1839 $as_echo_n "checking target system type... " >&6; }
1840 if ${ac_cv_target+:} false; then :
1841 $as_echo_n "(cached) " >&6
1842 else
1843 if test "x$target_alias" = x; then
1844 ac_cv_target=$ac_cv_host
1845 else
1846 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1847 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1848 fi
1849
1850 fi
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1852 $as_echo "$ac_cv_target" >&6; }
1853 case $ac_cv_target in
1854 *-*-*) ;;
1855 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1856 esac
1857 target=$ac_cv_target
1858 ac_save_IFS=$IFS; IFS='-'
1859 set x $ac_cv_target
1860 shift
1861 target_cpu=$1
1862 target_vendor=$2
1863 shift; shift
1864 # Remember, the first character of IFS is used to create $*,
1865 # except with old shells:
1866 target_os=$*
1867 IFS=$ac_save_IFS
1868 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1869
1870
1871 # The aliases save the names the user supplied, while $host etc.
1872 # will get canonicalized.
1873 test -n "$target_alias" &&
1874 test "$program_prefix$program_suffix$program_transform_name" = \
1875 NONENONEs,x,x, &&
1876 program_prefix=${target_alias}-
1877
1878
1879 if test -n "$ac_tool_prefix"; then
1880 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1881 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1883 $as_echo_n "checking for $ac_word... " >&6; }
1884 if ${ac_cv_prog_CC+:} false; then :
1885 $as_echo_n "(cached) " >&6
1886 else
1887 if test -n "$CC"; then
1888 ac_cv_prog_CC="$CC" # Let the user override the test.
1889 else
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 for as_dir in $PATH
1892 do
1893 IFS=$as_save_IFS
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1897 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 break 2
1900 fi
1901 done
1902 done
1903 IFS=$as_save_IFS
1904
1905 fi
1906 fi
1907 CC=$ac_cv_prog_CC
1908 if test -n "$CC"; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1910 $as_echo "$CC" >&6; }
1911 else
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1913 $as_echo "no" >&6; }
1914 fi
1915
1916
1917 fi
1918 if test -z "$ac_cv_prog_CC"; then
1919 ac_ct_CC=$CC
1920 # Extract the first word of "gcc", so it can be a program name with args.
1921 set dummy gcc; ac_word=$2
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1923 $as_echo_n "checking for $ac_word... " >&6; }
1924 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1925 $as_echo_n "(cached) " >&6
1926 else
1927 if test -n "$ac_ct_CC"; then
1928 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1929 else
1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 for as_dir in $PATH
1932 do
1933 IFS=$as_save_IFS
1934 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1937 ac_cv_prog_ac_ct_CC="gcc"
1938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1939 break 2
1940 fi
1941 done
1942 done
1943 IFS=$as_save_IFS
1944
1945 fi
1946 fi
1947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1948 if test -n "$ac_ct_CC"; then
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1950 $as_echo "$ac_ct_CC" >&6; }
1951 else
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1953 $as_echo "no" >&6; }
1954 fi
1955
1956 if test "x$ac_ct_CC" = x; then
1957 CC="gcc"
1958 else
1959 case $cross_compiling:$ac_tool_warned in
1960 yes:)
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1963 ac_tool_warned=yes ;;
1964 esac
1965 CC=$ac_ct_CC
1966 fi
1967 else
1968 CC="$ac_cv_prog_CC"
1969 fi
1970
1971 : ${CC:=gcc}
1972 ac_ext=c
1973 ac_cpp='$CPP $CPPFLAGS'
1974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1977 if test -n "$ac_tool_prefix"; then
1978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1979 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1981 $as_echo_n "checking for $ac_word... " >&6; }
1982 if ${ac_cv_prog_CC+:} false; then :
1983 $as_echo_n "(cached) " >&6
1984 else
1985 if test -n "$CC"; then
1986 ac_cv_prog_CC="$CC" # Let the user override the test.
1987 else
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 for as_dir in $PATH
1990 do
1991 IFS=$as_save_IFS
1992 test -z "$as_dir" && as_dir=.
1993 for ac_exec_ext in '' $ac_executable_extensions; do
1994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1997 break 2
1998 fi
1999 done
2000 done
2001 IFS=$as_save_IFS
2002
2003 fi
2004 fi
2005 CC=$ac_cv_prog_CC
2006 if test -n "$CC"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2008 $as_echo "$CC" >&6; }
2009 else
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2011 $as_echo "no" >&6; }
2012 fi
2013
2014
2015 fi
2016 if test -z "$ac_cv_prog_CC"; then
2017 ac_ct_CC=$CC
2018 # Extract the first word of "gcc", so it can be a program name with args.
2019 set dummy gcc; ac_word=$2
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2021 $as_echo_n "checking for $ac_word... " >&6; }
2022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2023 $as_echo_n "(cached) " >&6
2024 else
2025 if test -n "$ac_ct_CC"; then
2026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2027 else
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 for as_dir in $PATH
2030 do
2031 IFS=$as_save_IFS
2032 test -z "$as_dir" && as_dir=.
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2035 ac_cv_prog_ac_ct_CC="gcc"
2036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 break 2
2038 fi
2039 done
2040 done
2041 IFS=$as_save_IFS
2042
2043 fi
2044 fi
2045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2046 if test -n "$ac_ct_CC"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2048 $as_echo "$ac_ct_CC" >&6; }
2049 else
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2051 $as_echo "no" >&6; }
2052 fi
2053
2054 if test "x$ac_ct_CC" = x; then
2055 CC=""
2056 else
2057 case $cross_compiling:$ac_tool_warned in
2058 yes:)
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2061 ac_tool_warned=yes ;;
2062 esac
2063 CC=$ac_ct_CC
2064 fi
2065 else
2066 CC="$ac_cv_prog_CC"
2067 fi
2068
2069 if test -z "$CC"; then
2070 if test -n "$ac_tool_prefix"; then
2071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2072 set dummy ${ac_tool_prefix}cc; ac_word=$2
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2074 $as_echo_n "checking for $ac_word... " >&6; }
2075 if ${ac_cv_prog_CC+:} false; then :
2076 $as_echo_n "(cached) " >&6
2077 else
2078 if test -n "$CC"; then
2079 ac_cv_prog_CC="$CC" # Let the user override the test.
2080 else
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 for as_dir in $PATH
2083 do
2084 IFS=$as_save_IFS
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 ac_cv_prog_CC="${ac_tool_prefix}cc"
2089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 break 2
2091 fi
2092 done
2093 done
2094 IFS=$as_save_IFS
2095
2096 fi
2097 fi
2098 CC=$ac_cv_prog_CC
2099 if test -n "$CC"; then
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2101 $as_echo "$CC" >&6; }
2102 else
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2104 $as_echo "no" >&6; }
2105 fi
2106
2107
2108 fi
2109 fi
2110 if test -z "$CC"; then
2111 # Extract the first word of "cc", so it can be a program name with args.
2112 set dummy cc; ac_word=$2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if ${ac_cv_prog_CC+:} false; then :
2116 $as_echo_n "(cached) " >&6
2117 else
2118 if test -n "$CC"; then
2119 ac_cv_prog_CC="$CC" # Let the user override the test.
2120 else
2121 ac_prog_rejected=no
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2124 do
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2130 ac_prog_rejected=yes
2131 continue
2132 fi
2133 ac_cv_prog_CC="cc"
2134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 break 2
2136 fi
2137 done
2138 done
2139 IFS=$as_save_IFS
2140
2141 if test $ac_prog_rejected = yes; then
2142 # We found a bogon in the path, so make sure we never use it.
2143 set dummy $ac_cv_prog_CC
2144 shift
2145 if test $# != 0; then
2146 # We chose a different compiler from the bogus one.
2147 # However, it has the same basename, so the bogon will be chosen
2148 # first if we set CC to just the basename; use the full file name.
2149 shift
2150 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2151 fi
2152 fi
2153 fi
2154 fi
2155 CC=$ac_cv_prog_CC
2156 if test -n "$CC"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2158 $as_echo "$CC" >&6; }
2159 else
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2161 $as_echo "no" >&6; }
2162 fi
2163
2164
2165 fi
2166 if test -z "$CC"; then
2167 if test -n "$ac_tool_prefix"; then
2168 for ac_prog in cl.exe
2169 do
2170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2173 $as_echo_n "checking for $ac_word... " >&6; }
2174 if ${ac_cv_prog_CC+:} false; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 if test -n "$CC"; then
2178 ac_cv_prog_CC="$CC" # Let the user override the test.
2179 else
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2182 do
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2190 fi
2191 done
2192 done
2193 IFS=$as_save_IFS
2194
2195 fi
2196 fi
2197 CC=$ac_cv_prog_CC
2198 if test -n "$CC"; then
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2200 $as_echo "$CC" >&6; }
2201 else
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2203 $as_echo "no" >&6; }
2204 fi
2205
2206
2207 test -n "$CC" && break
2208 done
2209 fi
2210 if test -z "$CC"; then
2211 ac_ct_CC=$CC
2212 for ac_prog in cl.exe
2213 do
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy $ac_prog; ac_word=$2
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2217 $as_echo_n "checking for $ac_word... " >&6; }
2218 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2219 $as_echo_n "(cached) " >&6
2220 else
2221 if test -n "$ac_ct_CC"; then
2222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2223 else
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 for as_dir in $PATH
2226 do
2227 IFS=$as_save_IFS
2228 test -z "$as_dir" && as_dir=.
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_prog_ac_ct_CC="$ac_prog"
2232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 break 2
2234 fi
2235 done
2236 done
2237 IFS=$as_save_IFS
2238
2239 fi
2240 fi
2241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2242 if test -n "$ac_ct_CC"; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2244 $as_echo "$ac_ct_CC" >&6; }
2245 else
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2247 $as_echo "no" >&6; }
2248 fi
2249
2250
2251 test -n "$ac_ct_CC" && break
2252 done
2253
2254 if test "x$ac_ct_CC" = x; then
2255 CC=""
2256 else
2257 case $cross_compiling:$ac_tool_warned in
2258 yes:)
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2261 ac_tool_warned=yes ;;
2262 esac
2263 CC=$ac_ct_CC
2264 fi
2265 fi
2266
2267 fi
2268
2269
2270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2272 as_fn_error $? "no acceptable C compiler found in \$PATH
2273 See \`config.log' for more details" "$LINENO" 5; }
2274
2275 # Provide some information about the compiler.
2276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2277 set X $ac_compile
2278 ac_compiler=$2
2279 for ac_option in --version -v -V -qversion; do
2280 { { ac_try="$ac_compiler $ac_option >&5"
2281 case "(($ac_try" in
2282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283 *) ac_try_echo=$ac_try;;
2284 esac
2285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2286 $as_echo "$ac_try_echo"; } >&5
2287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2288 ac_status=$?
2289 if test -s conftest.err; then
2290 sed '10a\
2291 ... rest of stderr output deleted ...
2292 10q' conftest.err >conftest.er1
2293 cat conftest.er1 >&5
2294 fi
2295 rm -f conftest.er1 conftest.err
2296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297 test $ac_status = 0; }
2298 done
2299
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2302
2303 int
2304 main ()
2305 {
2306
2307 ;
2308 return 0;
2309 }
2310 _ACEOF
2311 if { { ac_try="$ac_link"
2312 case "(($ac_try" in
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2315 esac
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_link") 2>&5
2319 ac_status=$?
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; }; then
2322 ac_no_link=no
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2325
2326 int
2327 main ()
2328 {
2329
2330 ;
2331 return 0;
2332 }
2333 _ACEOF
2334 ac_clean_files_save=$ac_clean_files
2335 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2336 # Try to create an executable without -o first, disregard a.out.
2337 # It will help us diagnose broken compilers, and finding out an intuition
2338 # of exeext.
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2340 $as_echo_n "checking whether the C compiler works... " >&6; }
2341 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2342
2343 # The possible output files:
2344 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2345
2346 ac_rmfiles=
2347 for ac_file in $ac_files
2348 do
2349 case $ac_file in
2350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2351 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2352 esac
2353 done
2354 rm -f $ac_rmfiles
2355
2356 if { { ac_try="$ac_link_default"
2357 case "(($ac_try" in
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2360 esac
2361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2362 $as_echo "$ac_try_echo"; } >&5
2363 (eval "$ac_link_default") 2>&5
2364 ac_status=$?
2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2366 test $ac_status = 0; }; then :
2367 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2368 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2369 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2370 # so that the user can short-circuit this test for compilers unknown to
2371 # Autoconf.
2372 for ac_file in $ac_files ''
2373 do
2374 test -f "$ac_file" || continue
2375 case $ac_file in
2376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2377 ;;
2378 [ab].out )
2379 # We found the default executable, but exeext='' is most
2380 # certainly right.
2381 break;;
2382 *.* )
2383 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2384 then :; else
2385 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2386 fi
2387 # We set ac_cv_exeext here because the later test for it is not
2388 # safe: cross compilers may not add the suffix if given an `-o'
2389 # argument, so we may need to know it at that point already.
2390 # Even if this section looks crufty: it has the advantage of
2391 # actually working.
2392 break;;
2393 * )
2394 break;;
2395 esac
2396 done
2397 test "$ac_cv_exeext" = no && ac_cv_exeext=
2398
2399 else
2400 ac_file=''
2401 fi
2402 if test -z "$ac_file"; then :
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404 $as_echo "no" >&6; }
2405 $as_echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2407
2408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 as_fn_error 77 "C compiler cannot create executables
2411 See \`config.log' for more details" "$LINENO" 5; }
2412 else
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2414 $as_echo "yes" >&6; }
2415 fi
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2417 $as_echo_n "checking for C compiler default output file name... " >&6; }
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2419 $as_echo "$ac_file" >&6; }
2420 ac_exeext=$ac_cv_exeext
2421
2422 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2423 ac_clean_files=$ac_clean_files_save
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2425 $as_echo_n "checking for suffix of executables... " >&6; }
2426 if { { ac_try="$ac_link"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2432 $as_echo "$ac_try_echo"; } >&5
2433 (eval "$ac_link") 2>&5
2434 ac_status=$?
2435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2436 test $ac_status = 0; }; then :
2437 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2438 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2439 # work properly (i.e., refer to `conftest.exe'), while it won't with
2440 # `rm'.
2441 for ac_file in conftest.exe conftest conftest.*; do
2442 test -f "$ac_file" || continue
2443 case $ac_file in
2444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2445 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2446 break;;
2447 * ) break;;
2448 esac
2449 done
2450 else
2451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2454 See \`config.log' for more details" "$LINENO" 5; }
2455 fi
2456 rm -f conftest conftest$ac_cv_exeext
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2458 $as_echo "$ac_cv_exeext" >&6; }
2459
2460 rm -f conftest.$ac_ext
2461 EXEEXT=$ac_cv_exeext
2462 ac_exeext=$EXEEXT
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2465 #include <stdio.h>
2466 int
2467 main ()
2468 {
2469 FILE *f = fopen ("conftest.out", "w");
2470 return ferror (f) || fclose (f) != 0;
2471
2472 ;
2473 return 0;
2474 }
2475 _ACEOF
2476 ac_clean_files="$ac_clean_files conftest.out"
2477 # Check that the compiler produces executables we can run. If not, either
2478 # the compiler is broken, or we cross compile.
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2480 $as_echo_n "checking whether we are cross compiling... " >&6; }
2481 if test "$cross_compiling" != yes; then
2482 { { ac_try="$ac_link"
2483 case "(($ac_try" in
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2486 esac
2487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2488 $as_echo "$ac_try_echo"; } >&5
2489 (eval "$ac_link") 2>&5
2490 ac_status=$?
2491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2492 test $ac_status = 0; }
2493 if { ac_try='./conftest$ac_cv_exeext'
2494 { { case "(($ac_try" in
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2497 esac
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_try") 2>&5
2501 ac_status=$?
2502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2503 test $ac_status = 0; }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2511 as_fn_error $? "cannot run C compiled programs.
2512 If you meant to cross compile, use \`--host'.
2513 See \`config.log' for more details" "$LINENO" 5; }
2514 fi
2515 fi
2516 fi
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2518 $as_echo "$cross_compiling" >&6; }
2519
2520 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2521 ac_clean_files=$ac_clean_files_save
2522
2523 else
2524 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
2525 ac_no_link=yes
2526 # Setting cross_compile will disable run tests; it will
2527 # also disable AC_CHECK_FILE but that's generally
2528 # correct if we can't link.
2529 cross_compiling=yes
2530 EXEEXT=
2531 # Check that the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2534 $as_echo_n "checking whether we are cross compiling... " >&6; }
2535 if test "$cross_compiling" != yes; then
2536 { { ac_try="$ac_link"
2537 case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2542 $as_echo "$ac_try_echo"; } >&5
2543 (eval "$ac_link") 2>&5
2544 ac_status=$?
2545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546 test $ac_status = 0; }
2547 if { ac_try='./conftest$ac_cv_exeext'
2548 { { case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2551 esac
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_try") 2>&5
2555 ac_status=$?
2556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2557 test $ac_status = 0; }; }; then
2558 cross_compiling=no
2559 else
2560 if test "$cross_compiling" = maybe; then
2561 cross_compiling=yes
2562 else
2563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2565 as_fn_error $? "cannot run C compiled programs.
2566 If you meant to cross compile, use \`--host'.
2567 See \`config.log' for more details" "$LINENO" 5; }
2568 fi
2569 fi
2570 fi
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2572 $as_echo "$cross_compiling" >&6; }
2573
2574 fi
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2576 $as_echo_n "checking for suffix of object files... " >&6; }
2577 if ${ac_cv_objext+:} false; then :
2578 $as_echo_n "(cached) " >&6
2579 else
2580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2581 /* end confdefs.h. */
2582
2583 int
2584 main ()
2585 {
2586
2587 ;
2588 return 0;
2589 }
2590 _ACEOF
2591 rm -f conftest.o conftest.obj
2592 if { { ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2598 $as_echo "$ac_try_echo"; } >&5
2599 (eval "$ac_compile") 2>&5
2600 ac_status=$?
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; }; then :
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610 done
2611 else
2612 $as_echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2614
2615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617 as_fn_error $? "cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details" "$LINENO" 5; }
2619 fi
2620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2621 fi
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2623 $as_echo "$ac_cv_objext" >&6; }
2624 OBJEXT=$ac_cv_objext
2625 ac_objext=$OBJEXT
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2627 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2628 if ${ac_cv_c_compiler_gnu+:} false; then :
2629 $as_echo_n "(cached) " >&6
2630 else
2631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2632 /* end confdefs.h. */
2633
2634 int
2635 main ()
2636 {
2637 #ifndef __GNUC__
2638 choke me
2639 #endif
2640
2641 ;
2642 return 0;
2643 }
2644 _ACEOF
2645 if ac_fn_c_try_compile "$LINENO"; then :
2646 ac_compiler_gnu=yes
2647 else
2648 ac_compiler_gnu=no
2649 fi
2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2652
2653 fi
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2655 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2656 if test $ac_compiler_gnu = yes; then
2657 GCC=yes
2658 else
2659 GCC=
2660 fi
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2664 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2665 if ${ac_cv_prog_cc_g+:} false; then :
2666 $as_echo_n "(cached) " >&6
2667 else
2668 ac_save_c_werror_flag=$ac_c_werror_flag
2669 ac_c_werror_flag=yes
2670 ac_cv_prog_cc_g=no
2671 CFLAGS="-g"
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2674
2675 int
2676 main ()
2677 {
2678
2679 ;
2680 return 0;
2681 }
2682 _ACEOF
2683 if ac_fn_c_try_compile "$LINENO"; then :
2684 ac_cv_prog_cc_g=yes
2685 else
2686 CFLAGS=""
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2689
2690 int
2691 main ()
2692 {
2693
2694 ;
2695 return 0;
2696 }
2697 _ACEOF
2698 if ac_fn_c_try_compile "$LINENO"; then :
2699
2700 else
2701 ac_c_werror_flag=$ac_save_c_werror_flag
2702 CFLAGS="-g"
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2705
2706 int
2707 main ()
2708 {
2709
2710 ;
2711 return 0;
2712 }
2713 _ACEOF
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 ac_cv_prog_cc_g=yes
2716 fi
2717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718 fi
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 fi
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 ac_c_werror_flag=$ac_save_c_werror_flag
2723 fi
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2725 $as_echo "$ac_cv_prog_cc_g" >&6; }
2726 if test "$ac_test_CFLAGS" = set; then
2727 CFLAGS=$ac_save_CFLAGS
2728 elif test $ac_cv_prog_cc_g = yes; then
2729 if test "$GCC" = yes; then
2730 CFLAGS="-g -O2"
2731 else
2732 CFLAGS="-g"
2733 fi
2734 else
2735 if test "$GCC" = yes; then
2736 CFLAGS="-O2"
2737 else
2738 CFLAGS=
2739 fi
2740 fi
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2742 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2743 if ${ac_cv_prog_cc_c89+:} false; then :
2744 $as_echo_n "(cached) " >&6
2745 else
2746 ac_cv_prog_cc_c89=no
2747 ac_save_CC=$CC
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2750 #include <stdarg.h>
2751 #include <stdio.h>
2752 #include <sys/types.h>
2753 #include <sys/stat.h>
2754 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2755 struct buf { int x; };
2756 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2757 static char *e (p, i)
2758 char **p;
2759 int i;
2760 {
2761 return p[i];
2762 }
2763 static char *f (char * (*g) (char **, int), char **p, ...)
2764 {
2765 char *s;
2766 va_list v;
2767 va_start (v,p);
2768 s = g (p, va_arg (v,int));
2769 va_end (v);
2770 return s;
2771 }
2772
2773 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2774 function prototypes and stuff, but not '\xHH' hex character constants.
2775 These don't provoke an error unfortunately, instead are silently treated
2776 as 'x'. The following induces an error, until -std is added to get
2777 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2778 array size at least. It's necessary to write '\x00'==0 to get something
2779 that's true only with -std. */
2780 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2781
2782 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2783 inside strings and character constants. */
2784 #define FOO(x) 'x'
2785 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2786
2787 int test (int i, double x);
2788 struct s1 {int (*f) (int a);};
2789 struct s2 {int (*f) (double a);};
2790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2791 int argc;
2792 char **argv;
2793 int
2794 main ()
2795 {
2796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2797 ;
2798 return 0;
2799 }
2800 _ACEOF
2801 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2802 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2803 do
2804 CC="$ac_save_CC $ac_arg"
2805 if ac_fn_c_try_compile "$LINENO"; then :
2806 ac_cv_prog_cc_c89=$ac_arg
2807 fi
2808 rm -f core conftest.err conftest.$ac_objext
2809 test "x$ac_cv_prog_cc_c89" != "xno" && break
2810 done
2811 rm -f conftest.$ac_ext
2812 CC=$ac_save_CC
2813
2814 fi
2815 # AC_CACHE_VAL
2816 case "x$ac_cv_prog_cc_c89" in
2817 x)
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2819 $as_echo "none needed" >&6; } ;;
2820 xno)
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2822 $as_echo "unsupported" >&6; } ;;
2823 *)
2824 CC="$CC $ac_cv_prog_cc_c89"
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2826 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2827 esac
2828 if test "x$ac_cv_prog_cc_c89" != xno; then :
2829
2830 fi
2831
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2837
2838 test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2839
2840
2841 for ac_prog in i686-w64-mingw32-gcc
2842 do
2843 # Extract the first word of "$ac_prog", so it can be a program name with args.
2844 set dummy $ac_prog; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_MINGW32_CC+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 if test -n "$MINGW32_CC"; then
2851 ac_cv_prog_MINGW32_CC="$MINGW32_CC" # Let the user override the test.
2852 else
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH
2855 do
2856 IFS=$as_save_IFS
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_MINGW32_CC="$ac_prog"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 break 2
2863 fi
2864 done
2865 done
2866 IFS=$as_save_IFS
2867
2868 fi
2869 fi
2870 MINGW32_CC=$ac_cv_prog_MINGW32_CC
2871 if test -n "$MINGW32_CC"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW32_CC" >&5
2873 $as_echo "$MINGW32_CC" >&6; }
2874 else
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2877 fi
2878
2879
2880 test -n "$MINGW32_CC" && break
2881 done
2882
2883 for ac_prog in x86_64-w64-mingw32-gcc
2884 do
2885 # Extract the first word of "$ac_prog", so it can be a program name with args.
2886 set dummy $ac_prog; ac_word=$2
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if ${ac_cv_prog_MINGW64_CC+:} false; then :
2890 $as_echo_n "(cached) " >&6
2891 else
2892 if test -n "$MINGW64_CC"; then
2893 ac_cv_prog_MINGW64_CC="$MINGW64_CC" # Let the user override the test.
2894 else
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 for as_dir in $PATH
2897 do
2898 IFS=$as_save_IFS
2899 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do
2901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902 ac_cv_prog_MINGW64_CC="$ac_prog"
2903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 break 2
2905 fi
2906 done
2907 done
2908 IFS=$as_save_IFS
2909
2910 fi
2911 fi
2912 MINGW64_CC=$ac_cv_prog_MINGW64_CC
2913 if test -n "$MINGW64_CC"; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW64_CC" >&5
2915 $as_echo "$MINGW64_CC" >&6; }
2916 else
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918 $as_echo "no" >&6; }
2919 fi
2920
2921
2922 test -n "$MINGW64_CC" && break
2923 done
2924
2925
2926 test -z "$MINGW32_CC" && as_fn_error $? "no acceptable mingw32 cc found in \$PATH" "$LINENO" 5
2927 test -z "$MINGW64_CC" && as_fn_error $? "no acceptable mingw64 cc found in \$PATH" "$LINENO" 5
2928
2929 test "$program_prefix" != NONE &&
2930 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2931 # Use a double $ so make ignores it.
2932 test "$program_suffix" != NONE &&
2933 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2934 # Double any \ or $.
2935 # By default was `s,x,x', remove it if useless.
2936 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2937 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2938
2939
2940 # Find a good install program. We prefer a C program (faster),
2941 # so one script is as good as another. But avoid the broken or
2942 # incompatible versions:
2943 # SysV /etc/install, /usr/sbin/install
2944 # SunOS /usr/etc/install
2945 # IRIX /sbin/install
2946 # AIX /bin/install
2947 # AmigaOS /C/install, which installs bootblocks on floppy discs
2948 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2951 # OS/2's system install, which has a completely different semantic
2952 # ./install, which can be erroneously created by make from ./install.sh.
2953 # Reject install programs that cannot install multiple files.
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2955 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2956 if test -z "$INSTALL"; then
2957 if ${ac_cv_path_install+:} false; then :
2958 $as_echo_n "(cached) " >&6
2959 else
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2962 do
2963 IFS=$as_save_IFS
2964 test -z "$as_dir" && as_dir=.
2965 # Account for people who put trailing slashes in PATH elements.
2966 case $as_dir/ in #((
2967 ./ | .// | /[cC]/* | \
2968 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2969 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2970 /usr/ucb/* ) ;;
2971 *)
2972 # OSF1 and SCO ODT 3.0 have their own names for install.
2973 # Don't use installbsd from OSF since it installs stuff as root
2974 # by default.
2975 for ac_prog in ginstall scoinst install; do
2976 for ac_exec_ext in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2978 if test $ac_prog = install &&
2979 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2980 # AIX install. It has an incompatible calling convention.
2981 :
2982 elif test $ac_prog = install &&
2983 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2984 # program-specific install script used by HP pwplus--don't use.
2985 :
2986 else
2987 rm -rf conftest.one conftest.two conftest.dir
2988 echo one > conftest.one
2989 echo two > conftest.two
2990 mkdir conftest.dir
2991 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2992 test -s conftest.one && test -s conftest.two &&
2993 test -s conftest.dir/conftest.one &&
2994 test -s conftest.dir/conftest.two
2995 then
2996 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2997 break 3
2998 fi
2999 fi
3000 fi
3001 done
3002 done
3003 ;;
3004 esac
3005
3006 done
3007 IFS=$as_save_IFS
3008
3009 rm -rf conftest.one conftest.two conftest.dir
3010
3011 fi
3012 if test "${ac_cv_path_install+set}" = set; then
3013 INSTALL=$ac_cv_path_install
3014 else
3015 # As a last resort, use the slow shell script. Don't cache a
3016 # value for INSTALL within a source directory, because that will
3017 # break other packages using the cache if that directory is
3018 # removed, or if the value is a relative name.
3019 INSTALL=$ac_install_sh
3020 fi
3021 fi
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3023 $as_echo "$INSTALL" >&6; }
3024
3025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3026 # It thinks the first close brace ends the variable substitution.
3027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3028
3029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3030
3031 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3032
3033
3034 ac_config_files="$ac_config_files Makefile cyglsa.def:cyglsa.din"
3035
3036 cat >confcache <<\_ACEOF
3037 # This file is a shell script that caches the results of configure
3038 # tests run on this system so they can be shared between configure
3039 # scripts and configure runs, see configure's option --config-cache.
3040 # It is not useful on other systems. If it contains results you don't
3041 # want to keep, you may remove or edit it.
3042 #
3043 # config.status only pays attention to the cache file if you give it
3044 # the --recheck option to rerun configure.
3045 #
3046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3048 # following values.
3049
3050 _ACEOF
3051
3052 # The following way of writing the cache mishandles newlines in values,
3053 # but we know of no workaround that is simple, portable, and efficient.
3054 # So, we kill variables containing newlines.
3055 # Ultrix sh set writes to stderr and can't be redirected directly,
3056 # and sets the high bit in the cache file unless we assign to the vars.
3057 (
3058 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3059 eval ac_val=\$$ac_var
3060 case $ac_val in #(
3061 *${as_nl}*)
3062 case $ac_var in #(
3063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3065 esac
3066 case $ac_var in #(
3067 _ | IFS | as_nl) ;; #(
3068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3069 *) { eval $ac_var=; unset $ac_var;} ;;
3070 esac ;;
3071 esac
3072 done
3073
3074 (set) 2>&1 |
3075 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3076 *${as_nl}ac_space=\ *)
3077 # `set' does not quote correctly, so add quotes: double-quote
3078 # substitution turns \\\\ into \\, and sed turns \\ into \.
3079 sed -n \
3080 "s/'/'\\\\''/g;
3081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3082 ;; #(
3083 *)
3084 # `set' quotes correctly as required by POSIX, so do not add quotes.
3085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3086 ;;
3087 esac |
3088 sort
3089 ) |
3090 sed '
3091 /^ac_cv_env_/b end
3092 t clear
3093 :clear
3094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3095 t end
3096 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3097 :end' >>confcache
3098 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3099 if test -w "$cache_file"; then
3100 if test "x$cache_file" != "x/dev/null"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3102 $as_echo "$as_me: updating cache $cache_file" >&6;}
3103 if test ! -f "$cache_file" || test -h "$cache_file"; then
3104 cat confcache >"$cache_file"
3105 else
3106 case $cache_file in #(
3107 */* | ?:*)
3108 mv -f confcache "$cache_file"$$ &&
3109 mv -f "$cache_file"$$ "$cache_file" ;; #(
3110 *)
3111 mv -f confcache "$cache_file" ;;
3112 esac
3113 fi
3114 fi
3115 else
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3117 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3118 fi
3119 fi
3120 rm -f confcache
3121
3122 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3123 # Let make expand exec_prefix.
3124 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3125
3126 # Transform confdefs.h into DEFS.
3127 # Protect against shell expansion while executing Makefile rules.
3128 # Protect against Makefile macro expansion.
3129 #
3130 # If the first sed substitution is executed (which looks for macros that
3131 # take arguments), then branch to the quote section. Otherwise,
3132 # look for a macro that doesn't take arguments.
3133 ac_script='
3134 :mline
3135 /\\$/{
3136 N
3137 s,\\\n,,
3138 b mline
3139 }
3140 t clear
3141 :clear
3142 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3143 t quote
3144 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3145 t quote
3146 b any
3147 :quote
3148 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3149 s/\[/\\&/g
3150 s/\]/\\&/g
3151 s/\$/$$/g
3152 H
3153 :any
3154 ${
3155 g
3156 s/^\n//
3157 s/\n/ /g
3158 p
3159 }
3160 '
3161 DEFS=`sed -n "$ac_script" confdefs.h`
3162
3163
3164 ac_libobjs=
3165 ac_ltlibobjs=
3166 U=
3167 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3168 # 1. Remove the extension, and $U if already installed.
3169 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3170 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3171 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3172 # will be set to the directory where LIBOBJS objects are built.
3173 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3174 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3175 done
3176 LIBOBJS=$ac_libobjs
3177
3178 LTLIBOBJS=$ac_ltlibobjs
3179
3180
3181
3182 : "${CONFIG_STATUS=./config.status}"
3183 ac_write_fail=0
3184 ac_clean_files_save=$ac_clean_files
3185 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3187 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3188 as_write_fail=0
3189 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3190 #! $SHELL
3191 # Generated by $as_me.
3192 # Run this file to recreate the current configuration.
3193 # Compiler output produced by configure, useful for debugging
3194 # configure, is in config.log if it exists.
3195
3196 debug=false
3197 ac_cs_recheck=false
3198 ac_cs_silent=false
3199
3200 SHELL=\${CONFIG_SHELL-$SHELL}
3201 export SHELL
3202 _ASEOF
3203 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3204 ## -------------------- ##
3205 ## M4sh Initialization. ##
3206 ## -------------------- ##
3207
3208 # Be more Bourne compatible
3209 DUALCASE=1; export DUALCASE # for MKS sh
3210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3211 emulate sh
3212 NULLCMD=:
3213 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3214 # is contrary to our usage. Disable this feature.
3215 alias -g '${1+"$@"}'='"$@"'
3216 setopt NO_GLOB_SUBST
3217 else
3218 case `(set -o) 2>/dev/null` in #(
3219 *posix*) :
3220 set -o posix ;; #(
3221 *) :
3222 ;;
3223 esac
3224 fi
3225
3226
3227 as_nl='
3228 '
3229 export as_nl
3230 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3231 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3232 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3234 # Prefer a ksh shell builtin over an external printf program on Solaris,
3235 # but without wasting forks for bash or zsh.
3236 if test -z "$BASH_VERSION$ZSH_VERSION" \
3237 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3238 as_echo='print -r --'
3239 as_echo_n='print -rn --'
3240 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3241 as_echo='printf %s\n'
3242 as_echo_n='printf %s'
3243 else
3244 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3245 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3246 as_echo_n='/usr/ucb/echo -n'
3247 else
3248 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3249 as_echo_n_body='eval
3250 arg=$1;
3251 case $arg in #(
3252 *"$as_nl"*)
3253 expr "X$arg" : "X\\(.*\\)$as_nl";
3254 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3255 esac;
3256 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3257 '
3258 export as_echo_n_body
3259 as_echo_n='sh -c $as_echo_n_body as_echo'
3260 fi
3261 export as_echo_body
3262 as_echo='sh -c $as_echo_body as_echo'
3263 fi
3264
3265 # The user is always right.
3266 if test "${PATH_SEPARATOR+set}" != set; then
3267 PATH_SEPARATOR=:
3268 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3269 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3270 PATH_SEPARATOR=';'
3271 }
3272 fi
3273
3274
3275 # IFS
3276 # We need space, tab and new line, in precisely that order. Quoting is
3277 # there to prevent editors from complaining about space-tab.
3278 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3279 # splitting by setting IFS to empty value.)
3280 IFS=" "" $as_nl"
3281
3282 # Find who we are. Look in the path if we contain no directory separator.
3283 as_myself=
3284 case $0 in #((
3285 *[\\/]* ) as_myself=$0 ;;
3286 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287 for as_dir in $PATH
3288 do
3289 IFS=$as_save_IFS
3290 test -z "$as_dir" && as_dir=.
3291 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3292 done
3293 IFS=$as_save_IFS
3294
3295 ;;
3296 esac
3297 # We did not find ourselves, most probably we were run as `sh COMMAND'
3298 # in which case we are not to be found in the path.
3299 if test "x$as_myself" = x; then
3300 as_myself=$0
3301 fi
3302 if test ! -f "$as_myself"; then
3303 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3304 exit 1
3305 fi
3306
3307 # Unset variables that we do not need and which cause bugs (e.g. in
3308 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3309 # suppresses any "Segmentation fault" message there. '((' could
3310 # trigger a bug in pdksh 5.2.14.
3311 for as_var in BASH_ENV ENV MAIL MAILPATH
3312 do eval test x\${$as_var+set} = xset \
3313 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3314 done
3315 PS1='$ '
3316 PS2='> '
3317 PS4='+ '
3318
3319 # NLS nuisances.
3320 LC_ALL=C
3321 export LC_ALL
3322 LANGUAGE=C
3323 export LANGUAGE
3324
3325 # CDPATH.
3326 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3327
3328
3329 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3330 # ----------------------------------------
3331 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3332 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3333 # script with STATUS, using 1 if that was 0.
3334 as_fn_error ()
3335 {
3336 as_status=$1; test $as_status -eq 0 && as_status=1
3337 if test "$4"; then
3338 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3339 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3340 fi
3341 $as_echo "$as_me: error: $2" >&2
3342 as_fn_exit $as_status
3343 } # as_fn_error
3344
3345
3346 # as_fn_set_status STATUS
3347 # -----------------------
3348 # Set $? to STATUS, without forking.
3349 as_fn_set_status ()
3350 {
3351 return $1
3352 } # as_fn_set_status
3353
3354 # as_fn_exit STATUS
3355 # -----------------
3356 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3357 as_fn_exit ()
3358 {
3359 set +e
3360 as_fn_set_status $1
3361 exit $1
3362 } # as_fn_exit
3363
3364 # as_fn_unset VAR
3365 # ---------------
3366 # Portably unset VAR.
3367 as_fn_unset ()
3368 {
3369 { eval $1=; unset $1;}
3370 }
3371 as_unset=as_fn_unset
3372 # as_fn_append VAR VALUE
3373 # ----------------------
3374 # Append the text in VALUE to the end of the definition contained in VAR. Take
3375 # advantage of any shell optimizations that allow amortized linear growth over
3376 # repeated appends, instead of the typical quadratic growth present in naive
3377 # implementations.
3378 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3379 eval 'as_fn_append ()
3380 {
3381 eval $1+=\$2
3382 }'
3383 else
3384 as_fn_append ()
3385 {
3386 eval $1=\$$1\$2
3387 }
3388 fi # as_fn_append
3389
3390 # as_fn_arith ARG...
3391 # ------------------
3392 # Perform arithmetic evaluation on the ARGs, and store the result in the
3393 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3394 # must be portable across $(()) and expr.
3395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3396 eval 'as_fn_arith ()
3397 {
3398 as_val=$(( $* ))
3399 }'
3400 else
3401 as_fn_arith ()
3402 {
3403 as_val=`expr "$@" || test $? -eq 1`
3404 }
3405 fi # as_fn_arith
3406
3407
3408 if expr a : '\(a\)' >/dev/null 2>&1 &&
3409 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3410 as_expr=expr
3411 else
3412 as_expr=false
3413 fi
3414
3415 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3416 as_basename=basename
3417 else
3418 as_basename=false
3419 fi
3420
3421 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3422 as_dirname=dirname
3423 else
3424 as_dirname=false
3425 fi
3426
3427 as_me=`$as_basename -- "$0" ||
3428 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3429 X"$0" : 'X\(//\)$' \| \
3430 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3431 $as_echo X/"$0" |
3432 sed '/^.*\/\([^/][^/]*\)\/*$/{
3433 s//\1/
3434 q
3435 }
3436 /^X\/\(\/\/\)$/{
3437 s//\1/
3438 q
3439 }
3440 /^X\/\(\/\).*/{
3441 s//\1/
3442 q
3443 }
3444 s/.*/./; q'`
3445
3446 # Avoid depending upon Character Ranges.
3447 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3448 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3449 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3450 as_cr_digits='0123456789'
3451 as_cr_alnum=$as_cr_Letters$as_cr_digits
3452
3453 ECHO_C= ECHO_N= ECHO_T=
3454 case `echo -n x` in #(((((
3455 -n*)
3456 case `echo 'xy\c'` in
3457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3458 xy) ECHO_C='\c';;
3459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3460 ECHO_T=' ';;
3461 esac;;
3462 *)
3463 ECHO_N='-n';;
3464 esac
3465
3466 rm -f conf$$ conf$$.exe conf$$.file
3467 if test -d conf$$.dir; then
3468 rm -f conf$$.dir/conf$$.file
3469 else
3470 rm -f conf$$.dir
3471 mkdir conf$$.dir 2>/dev/null
3472 fi
3473 if (echo >conf$$.file) 2>/dev/null; then
3474 if ln -s conf$$.file conf$$ 2>/dev/null; then
3475 as_ln_s='ln -s'
3476 # ... but there are two gotchas:
3477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3479 # In both cases, we have to default to `cp -p'.
3480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3481 as_ln_s='cp -p'
3482 elif ln conf$$.file conf$$ 2>/dev/null; then
3483 as_ln_s=ln
3484 else
3485 as_ln_s='cp -p'
3486 fi
3487 else
3488 as_ln_s='cp -p'
3489 fi
3490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3491 rmdir conf$$.dir 2>/dev/null
3492
3493
3494 # as_fn_mkdir_p
3495 # -------------
3496 # Create "$as_dir" as a directory, including parents if necessary.
3497 as_fn_mkdir_p ()
3498 {
3499
3500 case $as_dir in #(
3501 -*) as_dir=./$as_dir;;
3502 esac
3503 test -d "$as_dir" || eval $as_mkdir_p || {
3504 as_dirs=
3505 while :; do
3506 case $as_dir in #(
3507 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3508 *) as_qdir=$as_dir;;
3509 esac
3510 as_dirs="'$as_qdir' $as_dirs"
3511 as_dir=`$as_dirname -- "$as_dir" ||
3512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3513 X"$as_dir" : 'X\(//\)[^/]' \| \
3514 X"$as_dir" : 'X\(//\)$' \| \
3515 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3516 $as_echo X"$as_dir" |
3517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3518 s//\1/
3519 q
3520 }
3521 /^X\(\/\/\)[^/].*/{
3522 s//\1/
3523 q
3524 }
3525 /^X\(\/\/\)$/{
3526 s//\1/
3527 q
3528 }
3529 /^X\(\/\).*/{
3530 s//\1/
3531 q
3532 }
3533 s/.*/./; q'`
3534 test -d "$as_dir" && break
3535 done
3536 test -z "$as_dirs" || eval "mkdir $as_dirs"
3537 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3538
3539
3540 } # as_fn_mkdir_p
3541 if mkdir -p . 2>/dev/null; then
3542 as_mkdir_p='mkdir -p "$as_dir"'
3543 else
3544 test -d ./-p && rmdir ./-p
3545 as_mkdir_p=false
3546 fi
3547
3548 if test -x / >/dev/null 2>&1; then
3549 as_test_x='test -x'
3550 else
3551 if ls -dL / >/dev/null 2>&1; then
3552 as_ls_L_option=L
3553 else
3554 as_ls_L_option=
3555 fi
3556 as_test_x='
3557 eval sh -c '\''
3558 if test -d "$1"; then
3559 test -d "$1/.";
3560 else
3561 case $1 in #(
3562 -*)set "./$1";;
3563 esac;
3564 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3565 ???[sx]*):;;*)false;;esac;fi
3566 '\'' sh
3567 '
3568 fi
3569 as_executable_p=$as_test_x
3570
3571 # Sed expression to map a string onto a valid CPP name.
3572 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3573
3574 # Sed expression to map a string onto a valid variable name.
3575 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3576
3577
3578 exec 6>&1
3579 ## ----------------------------------- ##
3580 ## Main body of $CONFIG_STATUS script. ##
3581 ## ----------------------------------- ##
3582 _ASEOF
3583 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3584
3585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3586 # Save the log message, to keep $0 and so on meaningful, and to
3587 # report actual input values of CONFIG_FILES etc. instead of their
3588 # values after options handling.
3589 ac_log="
3590 This file was extended by $as_me, which was
3591 generated by GNU Autoconf 2.68. Invocation command line was
3592
3593 CONFIG_FILES = $CONFIG_FILES
3594 CONFIG_HEADERS = $CONFIG_HEADERS
3595 CONFIG_LINKS = $CONFIG_LINKS
3596 CONFIG_COMMANDS = $CONFIG_COMMANDS
3597 $ $0 $@
3598
3599 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3600 "
3601
3602 _ACEOF
3603
3604 case $ac_config_files in *"
3605 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3606 esac
3607
3608
3609
3610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3611 # Files that config.status was made for.
3612 config_files="$ac_config_files"
3613
3614 _ACEOF
3615
3616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3617 ac_cs_usage="\
3618 \`$as_me' instantiates files and other configuration actions
3619 from templates according to the current configuration. Unless the files
3620 and actions are specified as TAGs, all are instantiated by default.
3621
3622 Usage: $0 [OPTION]... [TAG]...
3623
3624 -h, --help print this help, then exit
3625 -V, --version print version number and configuration settings, then exit
3626 --config print configuration, then exit
3627 -q, --quiet, --silent
3628 do not print progress messages
3629 -d, --debug don't remove temporary files
3630 --recheck update $as_me by reconfiguring in the same conditions
3631 --file=FILE[:TEMPLATE]
3632 instantiate the configuration file FILE
3633
3634 Configuration files:
3635 $config_files
3636
3637 Report bugs to the package provider."
3638
3639 _ACEOF
3640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3641 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3642 ac_cs_version="\\
3643 config.status
3644 configured by $0, generated by GNU Autoconf 2.68,
3645 with options \\"\$ac_cs_config\\"
3646
3647 Copyright (C) 2010 Free Software Foundation, Inc.
3648 This config.status script is free software; the Free Software Foundation
3649 gives unlimited permission to copy, distribute and modify it."
3650
3651 ac_pwd='$ac_pwd'
3652 srcdir='$srcdir'
3653 INSTALL='$INSTALL'
3654 test -n "\$AWK" || AWK=awk
3655 _ACEOF
3656
3657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3658 # The default lists apply if the user does not specify any file.
3659 ac_need_defaults=:
3660 while test $# != 0
3661 do
3662 case $1 in
3663 --*=?*)
3664 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3665 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3666 ac_shift=:
3667 ;;
3668 --*=)
3669 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3670 ac_optarg=
3671 ac_shift=:
3672 ;;
3673 *)
3674 ac_option=$1
3675 ac_optarg=$2
3676 ac_shift=shift
3677 ;;
3678 esac
3679
3680 case $ac_option in
3681 # Handling of the options.
3682 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3683 ac_cs_recheck=: ;;
3684 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3685 $as_echo "$ac_cs_version"; exit ;;
3686 --config | --confi | --conf | --con | --co | --c )
3687 $as_echo "$ac_cs_config"; exit ;;
3688 --debug | --debu | --deb | --de | --d | -d )
3689 debug=: ;;
3690 --file | --fil | --fi | --f )
3691 $ac_shift
3692 case $ac_optarg in
3693 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3694 '') as_fn_error $? "missing file argument" ;;
3695 esac
3696 as_fn_append CONFIG_FILES " '$ac_optarg'"
3697 ac_need_defaults=false;;
3698 --he | --h | --help | --hel | -h )
3699 $as_echo "$ac_cs_usage"; exit ;;
3700 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3701 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3702 ac_cs_silent=: ;;
3703
3704 # This is an error.
3705 -*) as_fn_error $? "unrecognized option: \`$1'
3706 Try \`$0 --help' for more information." ;;
3707
3708 *) as_fn_append ac_config_targets " $1"
3709 ac_need_defaults=false ;;
3710
3711 esac
3712 shift
3713 done
3714
3715 ac_configure_extra_args=
3716
3717 if $ac_cs_silent; then
3718 exec 6>/dev/null
3719 ac_configure_extra_args="$ac_configure_extra_args --silent"
3720 fi
3721
3722 _ACEOF
3723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3724 if \$ac_cs_recheck; then
3725 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3726 shift
3727 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3728 CONFIG_SHELL='$SHELL'
3729 export CONFIG_SHELL
3730 exec "\$@"
3731 fi
3732
3733 _ACEOF
3734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3735 exec 5>>config.log
3736 {
3737 echo
3738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3739 ## Running $as_me. ##
3740 _ASBOX
3741 $as_echo "$ac_log"
3742 } >&5
3743
3744 _ACEOF
3745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3746 _ACEOF
3747
3748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3749
3750 # Handling of arguments.
3751 for ac_config_target in $ac_config_targets
3752 do
3753 case $ac_config_target in
3754 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3755 "cyglsa.def") CONFIG_FILES="$CONFIG_FILES cyglsa.def:cyglsa.din" ;;
3756
3757 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3758 esac
3759 done
3760
3761
3762 # If the user did not use the arguments to specify the items to instantiate,
3763 # then the envvar interface is used. Set only those that are not.
3764 # We use the long form for the default assignment because of an extremely
3765 # bizarre bug on SunOS 4.1.3.
3766 if $ac_need_defaults; then
3767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3768 fi
3769
3770 # Have a temporary directory for convenience. Make it in the build tree
3771 # simply because there is no reason against having it here, and in addition,
3772 # creating and moving files from /tmp can sometimes cause problems.
3773 # Hook for its removal unless debugging.
3774 # Note that there is a small window in which the directory will not be cleaned:
3775 # after its creation but before its name has been assigned to `$tmp'.
3776 $debug ||
3777 {
3778 tmp= ac_tmp=
3779 trap 'exit_status=$?
3780 : "${ac_tmp:=$tmp}"
3781 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3782 ' 0
3783 trap 'as_fn_exit 1' 1 2 13 15
3784 }
3785 # Create a (secure) tmp directory for tmp files.
3786
3787 {
3788 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3789 test -d "$tmp"
3790 } ||
3791 {
3792 tmp=./conf$$-$RANDOM
3793 (umask 077 && mkdir "$tmp")
3794 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3795 ac_tmp=$tmp
3796
3797 # Set up the scripts for CONFIG_FILES section.
3798 # No need to generate them if there are no CONFIG_FILES.
3799 # This happens for instance with `./config.status config.h'.
3800 if test -n "$CONFIG_FILES"; then
3801
3802
3803 ac_cr=`echo X | tr X '\015'`
3804 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3805 # But we know of no other shell where ac_cr would be empty at this
3806 # point, so we can use a bashism as a fallback.
3807 if test "x$ac_cr" = x; then
3808 eval ac_cr=\$\'\\r\'
3809 fi
3810 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3811 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3812 ac_cs_awk_cr='\\r'
3813 else
3814 ac_cs_awk_cr=$ac_cr
3815 fi
3816
3817 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3818 _ACEOF
3819
3820
3821 {
3822 echo "cat >conf$$subs.awk <<_ACEOF" &&
3823 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3824 echo "_ACEOF"
3825 } >conf$$subs.sh ||
3826 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3827 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3828 ac_delim='%!_!# '
3829 for ac_last_try in false false false false false :; do
3830 . ./conf$$subs.sh ||
3831 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3832
3833 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3834 if test $ac_delim_n = $ac_delim_num; then
3835 break
3836 elif $ac_last_try; then
3837 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3838 else
3839 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3840 fi
3841 done
3842 rm -f conf$$subs.sh
3843
3844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3845 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3846 _ACEOF
3847 sed -n '
3848 h
3849 s/^/S["/; s/!.*/"]=/
3850 p
3851 g
3852 s/^[^!]*!//
3853 :repl
3854 t repl
3855 s/'"$ac_delim"'$//
3856 t delim
3857 :nl
3858 h
3859 s/\(.\{148\}\)..*/\1/
3860 t more1
3861 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3862 p
3863 n
3864 b repl
3865 :more1
3866 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3867 p
3868 g
3869 s/.\{148\}//
3870 t nl
3871 :delim
3872 h
3873 s/\(.\{148\}\)..*/\1/
3874 t more2
3875 s/["\\]/\\&/g; s/^/"/; s/$/"/
3876 p
3877 b
3878 :more2
3879 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3880 p
3881 g
3882 s/.\{148\}//
3883 t delim
3884 ' <conf$$subs.awk | sed '
3885 /^[^""]/{
3886 N
3887 s/\n//
3888 }
3889 ' >>$CONFIG_STATUS || ac_write_fail=1
3890 rm -f conf$$subs.awk
3891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3892 _ACAWK
3893 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3894 for (key in S) S_is_set[key] = 1
3895 FS = "\a"
3896
3897 }
3898 {
3899 line = $ 0
3900 nfields = split(line, field, "@")
3901 substed = 0
3902 len = length(field[1])
3903 for (i = 2; i < nfields; i++) {
3904 key = field[i]
3905 keylen = length(key)
3906 if (S_is_set[key]) {
3907 value = S[key]
3908 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3909 len += length(value) + length(field[++i])
3910 substed = 1
3911 } else
3912 len += 1 + keylen
3913 }
3914
3915 print line
3916 }
3917
3918 _ACAWK
3919 _ACEOF
3920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3921 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3922 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3923 else
3924 cat
3925 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3926 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3927 _ACEOF
3928
3929 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3930 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3931 # trailing colons and then remove the whole line if VPATH becomes empty
3932 # (actually we leave an empty line to preserve line numbers).
3933 if test "x$srcdir" = x.; then
3934 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3935 h
3936 s///
3937 s/^/:/
3938 s/[ ]*$/:/
3939 s/:\$(srcdir):/:/g
3940 s/:\${srcdir}:/:/g
3941 s/:@srcdir@:/:/g
3942 s/^:*//
3943 s/:*$//
3944 x
3945 s/\(=[ ]*\).*/\1/
3946 G
3947 s/\n//
3948 s/^[^=]*=[ ]*$//
3949 }'
3950 fi
3951
3952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3953 fi # test -n "$CONFIG_FILES"
3954
3955
3956 eval set X " :F $CONFIG_FILES "
3957 shift
3958 for ac_tag
3959 do
3960 case $ac_tag in
3961 :[FHLC]) ac_mode=$ac_tag; continue;;
3962 esac
3963 case $ac_mode$ac_tag in
3964 :[FHL]*:*);;
3965 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3966 :[FH]-) ac_tag=-:-;;
3967 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3968 esac
3969 ac_save_IFS=$IFS
3970 IFS=:
3971 set x $ac_tag
3972 IFS=$ac_save_IFS
3973 shift
3974 ac_file=$1
3975 shift
3976
3977 case $ac_mode in
3978 :L) ac_source=$1;;
3979 :[FH])
3980 ac_file_inputs=
3981 for ac_f
3982 do
3983 case $ac_f in
3984 -) ac_f="$ac_tmp/stdin";;
3985 *) # Look for the file first in the build tree, then in the source tree
3986 # (if the path is not absolute). The absolute path cannot be DOS-style,
3987 # because $ac_f cannot contain `:'.
3988 test -f "$ac_f" ||
3989 case $ac_f in
3990 [\\/$]*) false;;
3991 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3992 esac ||
3993 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3994 esac
3995 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3996 as_fn_append ac_file_inputs " '$ac_f'"
3997 done
3998
3999 # Let's still pretend it is `configure' which instantiates (i.e., don't
4000 # use $as_me), people would be surprised to read:
4001 # /* config.h. Generated by config.status. */
4002 configure_input='Generated from '`
4003 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4004 `' by configure.'
4005 if test x"$ac_file" != x-; then
4006 configure_input="$ac_file. $configure_input"
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4008 $as_echo "$as_me: creating $ac_file" >&6;}
4009 fi
4010 # Neutralize special characters interpreted by sed in replacement strings.
4011 case $configure_input in #(
4012 *\&* | *\|* | *\\* )
4013 ac_sed_conf_input=`$as_echo "$configure_input" |
4014 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4015 *) ac_sed_conf_input=$configure_input;;
4016 esac
4017
4018 case $ac_tag in
4019 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4021 esac
4022 ;;
4023 esac
4024
4025 ac_dir=`$as_dirname -- "$ac_file" ||
4026 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4027 X"$ac_file" : 'X\(//\)[^/]' \| \
4028 X"$ac_file" : 'X\(//\)$' \| \
4029 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4030 $as_echo X"$ac_file" |
4031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4032 s//\1/
4033 q
4034 }
4035 /^X\(\/\/\)[^/].*/{
4036 s//\1/
4037 q
4038 }
4039 /^X\(\/\/\)$/{
4040 s//\1/
4041 q
4042 }
4043 /^X\(\/\).*/{
4044 s//\1/
4045 q
4046 }
4047 s/.*/./; q'`
4048 as_dir="$ac_dir"; as_fn_mkdir_p
4049 ac_builddir=.
4050
4051 case "$ac_dir" in
4052 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4053 *)
4054 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4055 # A ".." for each directory in $ac_dir_suffix.
4056 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4057 case $ac_top_builddir_sub in
4058 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4059 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4060 esac ;;
4061 esac
4062 ac_abs_top_builddir=$ac_pwd
4063 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4064 # for backward compatibility:
4065 ac_top_builddir=$ac_top_build_prefix
4066
4067 case $srcdir in
4068 .) # We are building in place.
4069 ac_srcdir=.
4070 ac_top_srcdir=$ac_top_builddir_sub
4071 ac_abs_top_srcdir=$ac_pwd ;;
4072 [\\/]* | ?:[\\/]* ) # Absolute name.
4073 ac_srcdir=$srcdir$ac_dir_suffix;
4074 ac_top_srcdir=$srcdir
4075 ac_abs_top_srcdir=$srcdir ;;
4076 *) # Relative name.
4077 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4078 ac_top_srcdir=$ac_top_build_prefix$srcdir
4079 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4080 esac
4081 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4082
4083
4084 case $ac_mode in
4085 :F)
4086 #
4087 # CONFIG_FILE
4088 #
4089
4090 case $INSTALL in
4091 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4092 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4093 esac
4094 _ACEOF
4095
4096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4097 # If the template does not know about datarootdir, expand it.
4098 # FIXME: This hack should be removed a few years after 2.60.
4099 ac_datarootdir_hack=; ac_datarootdir_seen=
4100 ac_sed_dataroot='
4101 /datarootdir/ {
4102 p
4103 q
4104 }
4105 /@datadir@/p
4106 /@docdir@/p
4107 /@infodir@/p
4108 /@localedir@/p
4109 /@mandir@/p'
4110 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4111 *datarootdir*) ac_datarootdir_seen=yes;;
4112 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4114 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4115 _ACEOF
4116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4117 ac_datarootdir_hack='
4118 s&@datadir@&$datadir&g
4119 s&@docdir@&$docdir&g
4120 s&@infodir@&$infodir&g
4121 s&@localedir@&$localedir&g
4122 s&@mandir@&$mandir&g
4123 s&\\\${datarootdir}&$datarootdir&g' ;;
4124 esac
4125 _ACEOF
4126
4127 # Neutralize VPATH when `$srcdir' = `.'.
4128 # Shell code in configure.ac might set extrasub.
4129 # FIXME: do we really want to maintain this feature?
4130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4131 ac_sed_extra="$ac_vpsub
4132 $extrasub
4133 _ACEOF
4134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4135 :t
4136 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4137 s|@configure_input@|$ac_sed_conf_input|;t t
4138 s&@top_builddir@&$ac_top_builddir_sub&;t t
4139 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4140 s&@srcdir@&$ac_srcdir&;t t
4141 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4142 s&@top_srcdir@&$ac_top_srcdir&;t t
4143 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4144 s&@builddir@&$ac_builddir&;t t
4145 s&@abs_builddir@&$ac_abs_builddir&;t t
4146 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4147 s&@INSTALL@&$ac_INSTALL&;t t
4148 $ac_datarootdir_hack
4149 "
4150 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4151 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4152
4153 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4154 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4155 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4156 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4158 which seems to be undefined. Please make sure it is defined" >&5
4159 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4160 which seems to be undefined. Please make sure it is defined" >&2;}
4161
4162 rm -f "$ac_tmp/stdin"
4163 case $ac_file in
4164 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4165 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4166 esac \
4167 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4168 ;;
4169
4170
4171
4172 esac
4173
4174 done # for ac_tag
4175
4176
4177 as_fn_exit 0
4178 _ACEOF
4179 ac_clean_files=$ac_clean_files_save
4180
4181 test $ac_write_fail = 0 ||
4182 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4183
4184
4185 # configure is writing to config.log, and then calls config.status.
4186 # config.status does its own redirection, appending to config.log.
4187 # Unfortunately, on DOS this fails, as config.log is still kept open
4188 # by configure, so config.status won't be able to write to it; its
4189 # output is simply discarded. So we exec the FD to /dev/null,
4190 # effectively closing config.log, so it can be properly (re)opened and
4191 # appended to by config.status. When coming back to configure, we
4192 # need to make the FD available again.
4193 if test "$no_create" != yes; then
4194 ac_cs_success=:
4195 ac_config_status_args=
4196 test "$silent" = yes &&
4197 ac_config_status_args="$ac_config_status_args --quiet"
4198 exec 5>/dev/null
4199 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4200 exec 5>>config.log
4201 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4202 # would make configure fail if this is the last instruction.
4203 $ac_cs_success || as_fn_exit 1
4204 fi
4205 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4207 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4208 fi
4209
This page took 0.259133 seconds and 5 git commands to generate.