]> sourceware.org Git - newlib-cygwin.git/blame - winsup/lsaauth/configure
* Merge in cygwin-64bit-branch.
[newlib-cygwin.git] / winsup / lsaauth / configure
CommitLineData
8e4735df
CV
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
efa82614
YS
3# Generated by GNU Autoconf 2.68.
4#
8e4735df 5#
4941ce49 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
efa82614
YS
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9#
10#
8e4735df
CV
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
efa82614
YS
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
8e4735df 16
4941ce49
CF
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
efa82614 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8e4735df
CV
20 emulate sh
21 NULLCMD=:
4941ce49 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8e4735df
CV
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
4941ce49
CF
25 setopt NO_GLOB_SUBST
26else
efa82614
YS
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
4941ce49 32esac
4941ce49
CF
33fi
34
35
4941ce49
CF
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
efa82614
YS
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4941ce49
CF
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
efa82614 60 case $arg in #(
4941ce49
CF
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
8e4735df 81fi
8e4735df 82
8e4735df 83
4941ce49
CF
84# IFS
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
efa82614
YS
92as_myself=
93case $0 in #((
4941ce49
CF
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
efa82614
YS
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
4941ce49
CF
102IFS=$as_save_IFS
103
104 ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
efa82614 113 exit 1
4941ce49
CF
114fi
115
efa82614
YS
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4941ce49 123done
8e4735df
CV
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
4941ce49
CF
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
8e4735df 133
4941ce49 134# CDPATH.
efa82614 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8e4735df 136
4941ce49 137if test "x$CONFIG_SHELL" = x; then
efa82614
YS
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
4941ce49 145else
efa82614
YS
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151esac
8e4735df 152fi
efa82614
YS
153"
154 as_required="as_fn_return () { (exit \$1); }
155as_fn_success () { as_fn_return 0; }
156as_fn_failure () { as_fn_return 1; }
157as_fn_ret_success () { return 0; }
158as_fn_ret_failure () { return 1; }
8e4735df 159
4941ce49 160exitcode=0
efa82614
YS
161as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
4941ce49 166
4941ce49 167else
efa82614
YS
168 exitcode=1; echo positional parameters were not saved.
169fi
170test 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
4941ce49 177else
efa82614 178 as_have_required=no
4941ce49 179fi
efa82614 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
4941ce49 181
4941ce49 182else
efa82614
YS
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false
8e4735df
CV
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
efa82614
YS
189 as_found=:
190 case $as_dir in #(
8e4735df 191 /*)
4941ce49 192 for as_base in sh bash ksh sh5; do
efa82614
YS
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
200fi
201fi
4941ce49
CF
202 done;;
203 esac
efa82614 204 as_found=false
4941ce49 205done
efa82614
YS
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
209fi; }
4941ce49
CF
210IFS=$as_save_IFS
211
212
efa82614
YS
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+"$@"}
4941ce49
CF
229fi
230
efa82614
YS
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
4941ce49 244fi
efa82614
YS
245fi
246fi
247SHELL=${CONFIG_SHELL-/bin/sh}
248export SHELL
249# Unset more variables known to interfere with behavior of common tools.
250CLICOLOR_FORCE= GREP_OPTIONS=
251unset CLICOLOR_FORCE GREP_OPTIONS
4941ce49 252
efa82614
YS
253## --------------------- ##
254## M4sh Shell Functions. ##
255## --------------------- ##
256# as_fn_unset VAR
257# ---------------
258# Portably unset VAR.
259as_fn_unset ()
260{
261 { eval $1=; unset $1;}
4941ce49 262}
efa82614 263as_unset=as_fn_unset
4941ce49 264
efa82614
YS
265# as_fn_set_status STATUS
266# -----------------------
267# Set $? to STATUS, without forking.
268as_fn_set_status ()
269{
270 return $1
271} # as_fn_set_status
4941ce49 272
efa82614
YS
273# as_fn_exit STATUS
274# -----------------
275# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276as_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.
286as_fn_mkdir_p ()
287{
4941ce49 288
efa82614
YS
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.
336if (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 }'
4941ce49 341else
efa82614
YS
342 as_fn_append ()
343 {
344 eval $1=\$$1\$2
345 }
346fi # 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.
353if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 eval 'as_fn_arith ()
355 {
356 as_val=$(( $* ))
357 }'
4941ce49 358else
efa82614
YS
359 as_fn_arith ()
360 {
361 as_val=`expr "$@" || test $? -eq 1`
362 }
363fi # as_fn_arith
4941ce49
CF
364
365
efa82614
YS
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.
371as_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
4941ce49 381
efa82614
YS
382if expr a : '\(a\)' >/dev/null 2>&1 &&
383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
384 as_expr=expr
4941ce49 385else
efa82614 386 as_expr=false
4941ce49
CF
387fi
388
efa82614
YS
389if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 as_basename=basename
4941ce49 391else
efa82614 392 as_basename=false
4941ce49
CF
393fi
394
efa82614
YS
395if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_dirname=dirname
4941ce49 397else
efa82614 398 as_dirname=false
4941ce49
CF
399fi
400
efa82614
YS
401as_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'`
4941ce49 419
efa82614
YS
420# Avoid depending upon Character Ranges.
421as_cr_letters='abcdefghijklmnopqrstuvwxyz'
422as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423as_cr_Letters=$as_cr_letters$as_cr_LETTERS
424as_cr_digits='0123456789'
425as_cr_alnum=$as_cr_Letters$as_cr_digits
4941ce49 426
8e4735df 427
efa82614
YS
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. :-)
4941ce49
CF
433 sed -n '
434 p
435 /[$]LINENO/=
436 ' <$as_myself |
8e4735df 437 sed '
4941ce49
CF
438 s/[$]LINENO.*/&-/
439 t lineno
440 b
441 :lineno
8e4735df 442 N
4941ce49
CF
443 :loop
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8e4735df 445 t loop
4941ce49 446 s/-\n.*//
8e4735df 447 ' >$as_me.lineno &&
4941ce49 448 chmod +x "$as_me.lineno" ||
efa82614 449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
8e4735df
CV
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
4941ce49
CF
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
8e4735df
CV
455 # Exit status is that of the last command.
456 exit
457}
458
4941ce49 459ECHO_C= ECHO_N= ECHO_T=
efa82614 460case `echo -n x` in #(((((
4941ce49 461-n*)
efa82614 462 case `echo 'xy\c'` in
4941ce49 463 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
efa82614
YS
464 xy) ECHO_C='\c';;
465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 ECHO_T=' ';;
4941ce49
CF
467 esac;;
468*)
469 ECHO_N='-n';;
470esac
8e4735df
CV
471
472rm -f conf$$ conf$$.exe conf$$.file
4941ce49
CF
473if test -d conf$$.dir; then
474 rm -f conf$$.dir/conf$$.file
475else
476 rm -f conf$$.dir
477 mkdir conf$$.dir 2>/dev/null
478fi
479if (echo >conf$$.file) 2>/dev/null; then
480 if ln -s conf$$.file conf$$ 2>/dev/null; then
8e4735df 481 as_ln_s='ln -s'
4941ce49
CF
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'
8e4735df 492 fi
8e4735df
CV
493else
494 as_ln_s='cp -p'
495fi
4941ce49
CF
496rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497rmdir conf$$.dir 2>/dev/null
8e4735df
CV
498
499if mkdir -p . 2>/dev/null; then
efa82614 500 as_mkdir_p='mkdir -p "$as_dir"'
8e4735df
CV
501else
502 test -d ./-p && rmdir ./-p
503 as_mkdir_p=false
504fi
505
4941ce49
CF
506if test -x / >/dev/null 2>&1; then
507 as_test_x='test -x'
508else
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
efa82614 519 case $1 in #(
4941ce49
CF
520 -*)set "./$1";;
521 esac;
efa82614 522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4941ce49
CF
523 ???[sx]*):;;*)false;;esac;fi
524 '\'' sh
525 '
526fi
527as_executable_p=$as_test_x
8e4735df
CV
528
529# Sed expression to map a string onto a valid CPP name.
530as_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.
533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
535
efa82614
YS
536test -n "$DJDIR" || exec 7<&0 </dev/null
537exec 6>&1
8e4735df
CV
538
539# Name of the host.
efa82614 540# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
8e4735df
CV
541# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
8e4735df
CV
544#
545# Initializations.
546#
547ac_default_prefix=/usr/local
4941ce49 548ac_clean_files=
8e4735df 549ac_config_libobj_dir=.
4941ce49 550LIBOBJS=
8e4735df
CV
551cross_compiling=no
552subdirs=
553MFLAGS=
554MAKEFLAGS=
8e4735df 555
8e4735df
CV
556# Identity of this package.
557PACKAGE_NAME=
558PACKAGE_TARNAME=
559PACKAGE_VERSION=
560PACKAGE_STRING=
561PACKAGE_BUGREPORT=
efa82614 562PACKAGE_URL=
8e4735df
CV
563
564ac_unique_file="Makefile.in"
02fbb3bb 565ac_no_link=no
4941ce49
CF
566ac_subst_vars='LTLIBOBJS
567LIBOBJS
568INSTALL_DATA
569INSTALL_SCRIPT
570INSTALL_PROGRAM
efa82614
YS
571MINGW64_CC
572MINGW32_CC
4941ce49
CF
573OBJEXT
574EXEEXT
575ac_ct_CC
576CPPFLAGS
577LDFLAGS
578CFLAGS
579CC
580target_os
581target_vendor
582target_cpu
583target
584host_os
585host_vendor
586host_cpu
587host
588build_os
589build_vendor
590build_cpu
591build
592target_alias
593host_alias
594build_alias
595LIBS
596ECHO_T
597ECHO_N
598ECHO_C
599DEFS
600mandir
601localedir
602libdir
603psdir
604pdfdir
605dvidir
606htmldir
607infodir
608docdir
609oldincludedir
610includedir
611localstatedir
612sharedstatedir
613sysconfdir
614datadir
615datarootdir
616libexecdir
617sbindir
618bindir
619program_transform_name
620prefix
621exec_prefix
efa82614 622PACKAGE_URL
4941ce49
CF
623PACKAGE_BUGREPORT
624PACKAGE_STRING
625PACKAGE_VERSION
626PACKAGE_TARNAME
627PACKAGE_NAME
628PATH_SEPARATOR
629SHELL'
8e4735df 630ac_subst_files=''
4941ce49
CF
631ac_user_opts='
632enable_option_checking
633'
634 ac_precious_vars='build_alias
635host_alias
636target_alias
637CC
638CFLAGS
639LDFLAGS
640LIBS
641CPPFLAGS'
642
8e4735df
CV
643
644# Initialize some variables set by options.
645ac_init_help=
646ac_init_version=false
4941ce49
CF
647ac_unrecognized_opts=
648ac_unrecognized_sep=
8e4735df
CV
649# The variables have the same names as the options, with
650# dashes changed to underlines.
651cache_file=/dev/null
652exec_prefix=NONE
653no_create=
654no_recursion=
655prefix=NONE
656program_prefix=NONE
657program_suffix=NONE
658program_transform_name=s,x,x,
659silent=
660site=
661srcdir=
662verbose=
663x_includes=NONE
664x_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.
4941ce49 671# (The list follows the same order as the GNU Coding Standards.)
8e4735df
CV
672bindir='${exec_prefix}/bin'
673sbindir='${exec_prefix}/sbin'
674libexecdir='${exec_prefix}/libexec'
4941ce49
CF
675datarootdir='${prefix}/share'
676datadir='${datarootdir}'
8e4735df
CV
677sysconfdir='${prefix}/etc'
678sharedstatedir='${prefix}/com'
679localstatedir='${prefix}/var'
8e4735df
CV
680includedir='${prefix}/include'
681oldincludedir='/usr/include'
4941ce49
CF
682docdir='${datarootdir}/doc/${PACKAGE}'
683infodir='${datarootdir}/info'
684htmldir='${docdir}'
685dvidir='${docdir}'
686pdfdir='${docdir}'
687psdir='${docdir}'
688libdir='${exec_prefix}/lib'
689localedir='${datarootdir}/locale'
690mandir='${datarootdir}/man'
8e4735df
CV
691
692ac_prev=
4941ce49 693ac_dashdash=
8e4735df
CV
694for ac_option
695do
696 # If the previous option needs an argument, assign it.
697 if test -n "$ac_prev"; then
4941ce49 698 eval $ac_prev=\$ac_option
8e4735df
CV
699 ac_prev=
700 continue
701 fi
702
4941ce49 703 case $ac_option in
efa82614
YS
704 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
705 *=) ac_optarg= ;;
706 *) ac_optarg=yes ;;
4941ce49 707 esac
8e4735df
CV
708
709 # Accept the important Cygnus configure options, so we can diagnose typos.
710
4941ce49
CF
711 case $ac_dashdash$ac_option in
712 --)
713 ac_dashdash=yes ;;
8e4735df
CV
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
4941ce49 735 -datadir | --datadir | --datadi | --datad)
8e4735df 736 ac_prev=datadir ;;
4941ce49 737 -datadir=* | --datadir=* | --datadi=* | --datad=*)
8e4735df
CV
738 datadir=$ac_optarg ;;
739
4941ce49
CF
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
8e4735df 747 -disable-* | --disable-*)
4941ce49 748 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8e4735df 749 # Reject names that are not valid shell variable names.
4941ce49 750 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
efa82614 751 as_fn_error $? "invalid feature name: $ac_useropt"
4941ce49
CF
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 ;;
8e4735df
CV
772
773 -enable-* | --enable-*)
4941ce49 774 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8e4735df 775 # Reject names that are not valid shell variable names.
4941ce49 776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
efa82614 777 as_fn_error $? "invalid feature name: $ac_useropt"
4941ce49
CF
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=', ';;
8e4735df 786 esac
4941ce49 787 eval enable_$ac_useropt=\$ac_optarg ;;
8e4735df
CV
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
4941ce49
CF
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
8e4735df
CV
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
4941ce49
CF
844 -localedir | --localedir | --localedi | --localed | --locale)
845 ac_prev=localedir ;;
846 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
847 localedir=$ac_optarg ;;
848
8e4735df 849 -localstatedir | --localstatedir | --localstatedi | --localstated \
4941ce49 850 | --localstate | --localstat | --localsta | --localst | --locals)
8e4735df
CV
851 ac_prev=localstatedir ;;
852 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
4941ce49 853 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
8e4735df
CV
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
4941ce49
CF
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
8e4735df
CV
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-*)
4941ce49 978 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
8e4735df 979 # Reject names that are not valid shell variable names.
4941ce49 980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
efa82614 981 as_fn_error $? "invalid package name: $ac_useropt"
4941ce49
CF
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=', ';;
8e4735df 990 esac
4941ce49 991 eval with_$ac_useropt=\$ac_optarg ;;
8e4735df
CV
992
993 -without-* | --without-*)
4941ce49 994 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
8e4735df 995 # Reject names that are not valid shell variable names.
4941ce49 996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
efa82614 997 as_fn_error $? "invalid package name: $ac_useropt"
4941ce49
CF
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 ;;
8e4735df
CV
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
efa82614
YS
1027 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1028Try \`$0 --help' for more information"
8e4735df
CV
1029 ;;
1030
1031 *=*)
1032 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1033 # Reject names that are not valid shell variable names.
efa82614
YS
1034 case $ac_envvar in #(
1035 '' | [0-9]* | *[!_$as_cr_alnum]* )
1036 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1037 esac
4941ce49 1038 eval $ac_envvar=\$ac_optarg
8e4735df
CV
1039 export $ac_envvar ;;
1040
1041 *)
1042 # FIXME: should be removed in autoconf 3.0.
4941ce49 1043 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
8e4735df 1044 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4941ce49 1045 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
efa82614 1046 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
8e4735df
CV
1047 ;;
1048
1049 esac
1050done
1051
1052if test -n "$ac_prev"; then
1053 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
efa82614 1054 as_fn_error $? "missing argument to $ac_option"
8e4735df
CV
1055fi
1056
4941ce49
CF
1057if test -n "$ac_unrecognized_opts"; then
1058 case $enable_option_checking in
1059 no) ;;
efa82614 1060 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
4941ce49 1061 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
8e4735df 1062 esac
4941ce49 1063fi
8e4735df 1064
4941ce49
CF
1065# Check all directory arguments for consistency.
1066for 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
8e4735df 1070do
4941ce49
CF
1071 eval ac_val=\$$ac_var
1072 # Remove trailing slashes.
8e4735df 1073 case $ac_val in
4941ce49
CF
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;;
8e4735df 1082 esac
efa82614 1083 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
8e4735df
CV
1084done
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.
1089build=$build_alias
1090host=$host_alias
1091target=$target_alias
1092
1093# FIXME: To remove some day.
1094if test "x$host_alias" != x; then
1095 if test "x$build_alias" = x; then
1096 cross_compiling=maybe
efa82614
YS
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
8e4735df
CV
1099 elif test "x$build_alias" != "x$host_alias"; then
1100 cross_compiling=yes
1101 fi
1102fi
1103
1104ac_tool_prefix=
1105test -n "$host_alias" && ac_tool_prefix=$host_alias-
1106
1107test "$silent" = yes && exec 6>/dev/null
1108
1109
4941ce49
CF
1110ac_pwd=`pwd` && test -n "$ac_pwd" &&
1111ac_ls_di=`ls -di .` &&
1112ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
efa82614 1113 as_fn_error $? "working directory cannot be determined"
4941ce49 1114test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
efa82614 1115 as_fn_error $? "pwd does not report name of working directory"
4941ce49
CF
1116
1117
8e4735df
CV
1118# Find the source files, if location was not specified.
1119if test -z "$srcdir"; then
1120 ac_srcdir_defaulted=yes
4941ce49
CF
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'`
8e4735df 1145 srcdir=$ac_confdir
4941ce49 1146 if test ! -r "$srcdir/$ac_unique_file"; then
8e4735df
CV
1147 srcdir=..
1148 fi
1149else
1150 ac_srcdir_defaulted=no
1151fi
4941ce49
CF
1152if test ! -r "$srcdir/$ac_unique_file"; then
1153 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
efa82614 1154 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
8e4735df 1155fi
4941ce49
CF
1156ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1157ac_abs_confdir=`(
efa82614 1158 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
4941ce49
CF
1159 pwd)`
1160# When building in place, set srcdir=.
1161if test "$ac_abs_confdir" = "$ac_pwd"; then
1162 srcdir=.
1163fi
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.
1167case $srcdir in
1168*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169esac
1170for 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}
1175done
8e4735df
CV
1176
1177#
1178# Report the --help message.
1179#
1180if 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
1186Usage: $0 [OPTION]... [VAR=VALUE]...
1187
1188To assign environment variables (e.g., CC, CFLAGS...), specify them as
1189VAR=VALUE. See below for descriptions of some of the useful variables.
1190
1191Defaults for the options are specified in brackets.
1192
1193Configuration:
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
efa82614 1198 -q, --quiet, --silent do not print \`checking ...' messages
8e4735df
CV
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
8e4735df
CV
1204Installation directories:
1205 --prefix=PREFIX install architecture-independent files in PREFIX
4941ce49 1206 [$ac_default_prefix]
8e4735df 1207 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4941ce49 1208 [PREFIX]
8e4735df
CV
1209
1210By default, \`make install' will install all the files in
1211\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1212an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1213for instance \`--prefix=\$HOME'.
1214
1215For better control, use the options below.
1216
1217Fine tuning of the installation directories:
4941ce49
CF
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]
8e4735df
CV
1237_ACEOF
1238
1239 cat <<\_ACEOF
1240
1241Program 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
1246System 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
1251fi
1252
1253if test -n "$ac_init_help"; then
1254
1255 cat <<\_ACEOF
1256
1257Some 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>
4941ce49 1262 LIBS libraries to pass to the linker, e.g. -l<library>
efa82614 1263 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
4941ce49 1264 you have headers in a nonstandard directory <include dir>
8e4735df
CV
1265
1266Use these variables to override the choices made by `configure' or to help
1267it to find libraries and programs with nonstandard names/locations.
1268
efa82614 1269Report bugs to the package provider.
8e4735df 1270_ACEOF
4941ce49 1271ac_status=$?
8e4735df
CV
1272fi
1273
1274if test "$ac_init_help" = "recursive"; then
1275 # If there are subdirs, report their specific --help.
8e4735df 1276 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
4941ce49
CF
1277 test -d "$ac_dir" ||
1278 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1279 continue
8e4735df
CV
1280 ac_builddir=.
1281
4941ce49
CF
1282case "$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 ;;
1292esac
1293ac_abs_top_builddir=$ac_pwd
1294ac_abs_builddir=$ac_pwd$ac_dir_suffix
1295# for backward compatibility:
1296ac_top_builddir=$ac_top_build_prefix
8e4735df
CV
1297
1298case $srcdir in
4941ce49 1299 .) # We are building in place.
8e4735df 1300 ac_srcdir=.
4941ce49
CF
1301 ac_top_srcdir=$ac_top_builddir_sub
1302 ac_abs_top_srcdir=$ac_pwd ;;
1303 [\\/]* | ?:[\\/]* ) # Absolute name.
8e4735df 1304 ac_srcdir=$srcdir$ac_dir_suffix;
4941ce49
CF
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 ;;
8e4735df 1311esac
4941ce49
CF
1312ac_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
8e4735df 1322 else
4941ce49
CF
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; }
8e4735df
CV
1326 done
1327fi
1328
4941ce49 1329test -n "$ac_init_help" && exit $ac_status
8e4735df
CV
1330if $ac_init_version; then
1331 cat <<\_ACEOF
4941ce49 1332configure
efa82614 1333generated by GNU Autoconf 2.68
8e4735df 1334
efa82614 1335Copyright (C) 2010 Free Software Foundation, Inc.
8e4735df
CV
1336This configure script is free software; the Free Software Foundation
1337gives unlimited permission to copy, distribute and modify it.
1338_ACEOF
4941ce49 1339 exit
8e4735df 1340fi
efa82614
YS
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.
1349ac_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"
1354case "(($ac_try" in
1355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1356 *) ac_try_echo=$ac_try;;
1357esac
1358eval 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
1373else
1374 $as_echo "$as_me: failed program was:" >&5
1375sed 's/^/| /' conftest.$ac_ext >&5
1376
1377 ac_retval=1
1378fi
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
4941ce49 1383cat >config.log <<_ACEOF
8e4735df
CV
1384This file contains any messages produced by compilers while
1385running configure, to aid debugging if configure makes a mistake.
1386
1387It was created by $as_me, which was
efa82614 1388generated by GNU Autoconf 2.68. Invocation command line was
8e4735df
CV
1389
1390 $ $0 $@
1391
1392_ACEOF
4941ce49 1393exec 5>>config.log
8e4735df
CV
1394{
1395cat <<_ASUNAME
1396## --------- ##
1397## Platform. ##
1398## --------- ##
1399
1400hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1401uname -m = `(uname -m) 2>/dev/null || echo unknown`
1402uname -r = `(uname -r) 2>/dev/null || echo unknown`
1403uname -s = `(uname -s) 2>/dev/null || echo unknown`
1404uname -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`
4941ce49 1412/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
8e4735df
CV
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
1419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1420for as_dir in $PATH
1421do
1422 IFS=$as_save_IFS
1423 test -z "$as_dir" && as_dir=.
efa82614
YS
1424 $as_echo "PATH: $as_dir"
1425 done
4941ce49 1426IFS=$as_save_IFS
8e4735df
CV
1427
1428} >&5
1429
1430cat >&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.
1445ac_configure_args=
1446ac_configure_args0=
1447ac_configure_args1=
8e4735df
CV
1448ac_must_keep_next=false
1449for ac_pass in 1 2
1450do
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 ;;
4941ce49
CF
1458 *\'*)
1459 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8e4735df
CV
1460 esac
1461 case $ac_pass in
efa82614 1462 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
8e4735df 1463 2)
efa82614 1464 as_fn_append ac_configure_args1 " '$ac_arg'"
8e4735df
CV
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
efa82614 1480 as_fn_append ac_configure_args " '$ac_arg'"
8e4735df
CV
1481 ;;
1482 esac
1483 done
1484done
efa82614
YS
1485{ ac_configure_args0=; unset ac_configure_args0;}
1486{ ac_configure_args1=; unset ac_configure_args1;}
8e4735df
CV
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.
4941ce49
CF
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.
8e4735df
CV
1493trap 'exit_status=$?
1494 # Save into config.log some information that might help in debugging.
1495 {
1496 echo
1497
efa82614 1498 $as_echo "## ---------------- ##
8e4735df 1499## Cache variables. ##
efa82614 1500## ---------------- ##"
8e4735df
CV
1501 echo
1502 # The following way of writing the cache mishandles newlines in values,
4941ce49
CF
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 #(
efa82614 1509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4941ce49
CF
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= ;; #(
efa82614 1515 *) { eval $ac_var=; unset $ac_var;} ;;
4941ce49
CF
1516 esac ;;
1517 esac
1518 done
8e4735df 1519 (set) 2>&1 |
4941ce49
CF
1520 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1521 *${as_nl}ac_space=\ *)
8e4735df 1522 sed -n \
4941ce49
CF
1523 "s/'\''/'\''\\\\'\'''\''/g;
1524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1525 ;; #(
8e4735df 1526 *)
4941ce49 1527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8e4735df 1528 ;;
4941ce49
CF
1529 esac |
1530 sort
1531)
8e4735df
CV
1532 echo
1533
efa82614 1534 $as_echo "## ----------------- ##
8e4735df 1535## Output variables. ##
efa82614 1536## ----------------- ##"
8e4735df
CV
1537 echo
1538 for ac_var in $ac_subst_vars
1539 do
4941ce49
CF
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'\''"
8e4735df
CV
1545 done | sort
1546 echo
1547
1548 if test -n "$ac_subst_files"; then
efa82614 1549 $as_echo "## ------------------- ##
4941ce49 1550## File substitutions. ##
efa82614 1551## ------------------- ##"
8e4735df
CV
1552 echo
1553 for ac_var in $ac_subst_files
1554 do
4941ce49
CF
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'\''"
8e4735df
CV
1560 done | sort
1561 echo
1562 fi
1563
1564 if test -s confdefs.h; then
efa82614 1565 $as_echo "## ----------- ##
8e4735df 1566## confdefs.h. ##
efa82614 1567## ----------- ##"
8e4735df 1568 echo
4941ce49 1569 cat confdefs.h
8e4735df
CV
1570 echo
1571 fi
1572 test "$ac_signal" != 0 &&
4941ce49
CF
1573 $as_echo "$as_me: caught signal $ac_signal"
1574 $as_echo "$as_me: exit $exit_status"
8e4735df 1575 } >&5
4941ce49
CF
1576 rm -f core *.core core.conftest.* &&
1577 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
8e4735df 1578 exit $exit_status
4941ce49 1579' 0
8e4735df 1580for ac_signal in 1 2 13 15; do
efa82614 1581 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
8e4735df
CV
1582done
1583ac_signal=0
1584
1585# confdefs.h avoids OS command line length limits that DEFS can exceed.
4941ce49 1586rm -f -r conftest* confdefs.h
8e4735df 1587
efa82614
YS
1588$as_echo "/* confdefs.h */" > confdefs.h
1589
8e4735df
CV
1590# Predefined preprocessor variables.
1591
1592cat >>confdefs.h <<_ACEOF
1593#define PACKAGE_NAME "$PACKAGE_NAME"
1594_ACEOF
1595
8e4735df
CV
1596cat >>confdefs.h <<_ACEOF
1597#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1598_ACEOF
1599
8e4735df
CV
1600cat >>confdefs.h <<_ACEOF
1601#define PACKAGE_VERSION "$PACKAGE_VERSION"
1602_ACEOF
1603
8e4735df
CV
1604cat >>confdefs.h <<_ACEOF
1605#define PACKAGE_STRING "$PACKAGE_STRING"
1606_ACEOF
1607
8e4735df
CV
1608cat >>confdefs.h <<_ACEOF
1609#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1610_ACEOF
1611
efa82614
YS
1612cat >>confdefs.h <<_ACEOF
1613#define PACKAGE_URL "$PACKAGE_URL"
1614_ACEOF
1615
8e4735df
CV
1616
1617# Let the site file select an alternate cache file if it wants to.
4941ce49
CF
1618# Prefer an explicitly selected file to automatically selected ones.
1619ac_site_file1=NONE
1620ac_site_file2=NONE
1621if test -n "$CONFIG_SITE"; then
efa82614
YS
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
4941ce49
CF
1628elif test "x$prefix" != xNONE; then
1629 ac_site_file1=$prefix/share/config.site
1630 ac_site_file2=$prefix/etc/config.site
1631else
1632 ac_site_file1=$ac_default_prefix/share/config.site
1633 ac_site_file2=$ac_default_prefix/etc/config.site
8e4735df 1634fi
4941ce49
CF
1635for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1636do
1637 test "x$ac_site_file" = xNONE && continue
efa82614
YS
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
4941ce49 1640$as_echo "$as_me: loading site script $ac_site_file" >&6;}
8e4735df 1641 sed 's/^/| /' "$ac_site_file" >&5
efa82614
YS
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;}
1645as_fn_error $? "failed to load site script $ac_site_file
02fbb3bb 1646See \`config.log' for more details" "$LINENO" 5; }
8e4735df
CV
1647 fi
1648done
1649
1650if test -r "$cache_file"; then
efa82614
YS
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
4941ce49 1655$as_echo "$as_me: loading cache $cache_file" >&6;}
8e4735df 1656 case $cache_file in
4941ce49
CF
1657 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1658 *) . "./$cache_file";;
8e4735df
CV
1659 esac
1660 fi
1661else
efa82614 1662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
4941ce49 1663$as_echo "$as_me: creating cache $cache_file" >&6;}
8e4735df
CV
1664 >$cache_file
1665fi
1666
1667# Check that the precious variables saved in the cache have kept the same
1668# value.
1669ac_cache_corrupted=false
4941ce49 1670for ac_var in $ac_precious_vars; do
8e4735df
CV
1671 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1672 eval ac_new_set=\$ac_env_${ac_var}_set
4941ce49
CF
1673 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1674 eval ac_new_val=\$ac_env_${ac_var}_value
8e4735df
CV
1675 case $ac_old_set,$ac_new_set in
1676 set,)
efa82614 1677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4941ce49 1678$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8e4735df
CV
1679 ac_cache_corrupted=: ;;
1680 ,set)
efa82614 1681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4941ce49 1682$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
8e4735df
CV
1683 ac_cache_corrupted=: ;;
1684 ,);;
1685 *)
1686 if test "x$ac_old_val" != "x$ac_new_val"; then
4941ce49
CF
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
efa82614 1691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4941ce49
CF
1692$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1693 ac_cache_corrupted=:
1694 else
efa82614 1695 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4941ce49
CF
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
efa82614 1699 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4941ce49 1700$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
efa82614 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4941ce49 1702$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
8e4735df
CV
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
4941ce49 1708 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
8e4735df
CV
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.
efa82614 1713 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
8e4735df
CV
1714 esac
1715 fi
1716done
1717if $ac_cache_corrupted; then
efa82614 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941ce49 1719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
efa82614 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4941ce49 1721$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
efa82614 1722 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
8e4735df 1723fi
efa82614
YS
1724## -------------------- ##
1725## Main body of script. ##
1726## -------------------- ##
8e4735df 1727
4941ce49
CF
1728ac_ext=c
1729ac_cpp='$CPP $CPPFLAGS'
1730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1732ac_compiler_gnu=$ac_cv_c_compiler_gnu
8e4735df
CV
1733
1734
1735
1736ac_aux_dir=
4941ce49
CF
1737for ac_dir in ../.. "$srcdir"/../..; do
1738 if test -f "$ac_dir/install-sh"; then
8e4735df
CV
1739 ac_aux_dir=$ac_dir
1740 ac_install_sh="$ac_aux_dir/install-sh -c"
1741 break
4941ce49 1742 elif test -f "$ac_dir/install.sh"; then
8e4735df
CV
1743 ac_aux_dir=$ac_dir
1744 ac_install_sh="$ac_aux_dir/install.sh -c"
1745 break
4941ce49 1746 elif test -f "$ac_dir/shtool"; then
8e4735df
CV
1747 ac_aux_dir=$ac_dir
1748 ac_install_sh="$ac_aux_dir/shtool install -c"
1749 break
1750 fi
1751done
1752if test -z "$ac_aux_dir"; then
efa82614 1753 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
8e4735df 1754fi
4941ce49
CF
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.
1760ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1761ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1762ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1763
8e4735df
CV
1764
1765
02fbb3bb 1766
8e4735df 1767# Make sure we can run config.sub.
4941ce49 1768$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
efa82614 1769 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
8e4735df 1770
efa82614 1771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4941ce49 1772$as_echo_n "checking build system type... " >&6; }
efa82614 1773if ${ac_cv_build+:} false; then :
4941ce49
CF
1774 $as_echo_n "(cached) " >&6
1775else
1776 ac_build_alias=$build_alias
1777test "x$ac_build_alias" = x &&
1778 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1779test "x$ac_build_alias" = x &&
efa82614 1780 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4941ce49 1781ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
efa82614 1782 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
8e4735df
CV
1783
1784fi
efa82614 1785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4941ce49
CF
1786$as_echo "$ac_cv_build" >&6; }
1787case $ac_cv_build in
1788*-*-*) ;;
02fbb3bb 1789*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4941ce49 1790esac
8e4735df 1791build=$ac_cv_build
4941ce49
CF
1792ac_save_IFS=$IFS; IFS='-'
1793set x $ac_cv_build
1794shift
1795build_cpu=$1
1796build_vendor=$2
1797shift; shift
1798# Remember, the first character of IFS is used to create $*,
1799# except with old shells:
1800build_os=$*
1801IFS=$ac_save_IFS
1802case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1803
1804
efa82614 1805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4941ce49 1806$as_echo_n "checking host system type... " >&6; }
efa82614 1807if ${ac_cv_host+:} false; then :
4941ce49
CF
1808 $as_echo_n "(cached) " >&6
1809else
1810 if test "x$host_alias" = x; then
1811 ac_cv_host=$ac_cv_build
1812else
1813 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
efa82614 1814 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4941ce49 1815fi
8e4735df
CV
1816
1817fi
efa82614 1818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4941ce49
CF
1819$as_echo "$ac_cv_host" >&6; }
1820case $ac_cv_host in
1821*-*-*) ;;
02fbb3bb 1822*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4941ce49 1823esac
8e4735df 1824host=$ac_cv_host
4941ce49
CF
1825ac_save_IFS=$IFS; IFS='-'
1826set x $ac_cv_host
1827shift
1828host_cpu=$1
1829host_vendor=$2
1830shift; shift
1831# Remember, the first character of IFS is used to create $*,
1832# except with old shells:
1833host_os=$*
1834IFS=$ac_save_IFS
1835case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1836
1837
efa82614 1838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4941ce49 1839$as_echo_n "checking target system type... " >&6; }
efa82614 1840if ${ac_cv_target+:} false; then :
4941ce49
CF
1841 $as_echo_n "(cached) " >&6
1842else
1843 if test "x$target_alias" = x; then
1844 ac_cv_target=$ac_cv_host
1845else
1846 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
efa82614 1847 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4941ce49 1848fi
8e4735df
CV
1849
1850fi
efa82614 1851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4941ce49
CF
1852$as_echo "$ac_cv_target" >&6; }
1853case $ac_cv_target in
1854*-*-*) ;;
02fbb3bb 1855*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
4941ce49 1856esac
8e4735df 1857target=$ac_cv_target
4941ce49
CF
1858ac_save_IFS=$IFS; IFS='-'
1859set x $ac_cv_target
1860shift
1861target_cpu=$1
1862target_vendor=$2
1863shift; shift
1864# Remember, the first character of IFS is used to create $*,
1865# except with old shells:
1866target_os=$*
1867IFS=$ac_save_IFS
1868case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
8e4735df
CV
1869
1870
1871# The aliases save the names the user supplied, while $host etc.
1872# will get canonicalized.
1873test -n "$target_alias" &&
1874 test "$program_prefix$program_suffix$program_transform_name" = \
1875 NONENONEs,x,x, &&
1876 program_prefix=${target_alias}-
1877
efa82614 1878
8e4735df
CV
1879if 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.
1881set dummy ${ac_tool_prefix}gcc; ac_word=$2
efa82614 1882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 1883$as_echo_n "checking for $ac_word... " >&6; }
efa82614 1884if ${ac_cv_prog_CC+:} false; then :
4941ce49 1885 $as_echo_n "(cached) " >&6
8e4735df
CV
1886else
1887 if test -n "$CC"; then
1888 ac_cv_prog_CC="$CC" # Let the user override the test.
1889else
1890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891for as_dir in $PATH
1892do
1893 IFS=$as_save_IFS
1894 test -z "$as_dir" && as_dir=.
efa82614 1895 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 1896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df 1897 ac_cv_prog_CC="${ac_tool_prefix}gcc"
efa82614 1898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
1899 break 2
1900 fi
1901done
efa82614 1902 done
4941ce49 1903IFS=$as_save_IFS
8e4735df
CV
1904
1905fi
1906fi
1907CC=$ac_cv_prog_CC
1908if test -n "$CC"; then
efa82614 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4941ce49 1910$as_echo "$CC" >&6; }
8e4735df 1911else
efa82614 1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 1913$as_echo "no" >&6; }
8e4735df
CV
1914fi
1915
4941ce49 1916
8e4735df
CV
1917fi
1918if 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.
1921set dummy gcc; ac_word=$2
efa82614 1922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 1923$as_echo_n "checking for $ac_word... " >&6; }
efa82614 1924if ${ac_cv_prog_ac_ct_CC+:} false; then :
4941ce49 1925 $as_echo_n "(cached) " >&6
8e4735df
CV
1926else
1927 if test -n "$ac_ct_CC"; then
1928 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1929else
1930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931for as_dir in $PATH
1932do
1933 IFS=$as_save_IFS
1934 test -z "$as_dir" && as_dir=.
efa82614 1935 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 1936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df 1937 ac_cv_prog_ac_ct_CC="gcc"
efa82614 1938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
1939 break 2
1940 fi
1941done
efa82614 1942 done
4941ce49 1943IFS=$as_save_IFS
8e4735df 1944
8e4735df
CV
1945fi
1946fi
1947ac_ct_CC=$ac_cv_prog_ac_ct_CC
1948if test -n "$ac_ct_CC"; then
efa82614 1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4941ce49 1950$as_echo "$ac_ct_CC" >&6; }
8e4735df 1951else
efa82614 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 1953$as_echo "no" >&6; }
8e4735df
CV
1954fi
1955
4941ce49
CF
1956 if test "x$ac_ct_CC" = x; then
1957 CC="gcc"
1958 else
1959 case $cross_compiling:$ac_tool_warned in
1960yes:)
efa82614 1961{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941ce49
CF
1962$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1963ac_tool_warned=yes ;;
1964esac
1965 CC=$ac_ct_CC
1966 fi
8e4735df
CV
1967else
1968 CC="$ac_cv_prog_CC"
1969fi
1970
1971: ${CC:=gcc}
1972ac_ext=c
1973ac_cpp='$CPP $CPPFLAGS'
1974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1976ac_compiler_gnu=$ac_cv_c_compiler_gnu
1977if 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.
1979set dummy ${ac_tool_prefix}gcc; ac_word=$2
efa82614 1980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 1981$as_echo_n "checking for $ac_word... " >&6; }
efa82614 1982if ${ac_cv_prog_CC+:} false; then :
4941ce49 1983 $as_echo_n "(cached) " >&6
8e4735df
CV
1984else
1985 if test -n "$CC"; then
1986 ac_cv_prog_CC="$CC" # Let the user override the test.
1987else
1988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989for as_dir in $PATH
1990do
1991 IFS=$as_save_IFS
1992 test -z "$as_dir" && as_dir=.
efa82614 1993 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 1994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df 1995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
efa82614 1996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
1997 break 2
1998 fi
1999done
efa82614 2000 done
4941ce49 2001IFS=$as_save_IFS
8e4735df
CV
2002
2003fi
2004fi
2005CC=$ac_cv_prog_CC
2006if test -n "$CC"; then
efa82614 2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4941ce49 2008$as_echo "$CC" >&6; }
8e4735df 2009else
efa82614 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 2011$as_echo "no" >&6; }
8e4735df
CV
2012fi
2013
4941ce49 2014
8e4735df
CV
2015fi
2016if 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.
2019set dummy gcc; ac_word=$2
efa82614 2020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 2021$as_echo_n "checking for $ac_word... " >&6; }
efa82614 2022if ${ac_cv_prog_ac_ct_CC+:} false; then :
4941ce49 2023 $as_echo_n "(cached) " >&6
8e4735df
CV
2024else
2025 if test -n "$ac_ct_CC"; then
2026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2027else
2028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029for as_dir in $PATH
2030do
2031 IFS=$as_save_IFS
2032 test -z "$as_dir" && as_dir=.
efa82614 2033 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 2034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df 2035 ac_cv_prog_ac_ct_CC="gcc"
efa82614 2036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
2037 break 2
2038 fi
2039done
efa82614 2040 done
4941ce49 2041IFS=$as_save_IFS
8e4735df
CV
2042
2043fi
2044fi
2045ac_ct_CC=$ac_cv_prog_ac_ct_CC
2046if test -n "$ac_ct_CC"; then
efa82614 2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4941ce49 2048$as_echo "$ac_ct_CC" >&6; }
8e4735df 2049else
efa82614 2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 2051$as_echo "no" >&6; }
8e4735df
CV
2052fi
2053
4941ce49
CF
2054 if test "x$ac_ct_CC" = x; then
2055 CC=""
2056 else
2057 case $cross_compiling:$ac_tool_warned in
2058yes:)
efa82614 2059{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941ce49
CF
2060$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2061ac_tool_warned=yes ;;
2062esac
2063 CC=$ac_ct_CC
2064 fi
8e4735df
CV
2065else
2066 CC="$ac_cv_prog_CC"
2067fi
2068
2069if test -z "$CC"; then
4941ce49
CF
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.
8e4735df 2072set dummy ${ac_tool_prefix}cc; ac_word=$2
efa82614 2073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 2074$as_echo_n "checking for $ac_word... " >&6; }
efa82614 2075if ${ac_cv_prog_CC+:} false; then :
4941ce49 2076 $as_echo_n "(cached) " >&6
8e4735df
CV
2077else
2078 if test -n "$CC"; then
2079 ac_cv_prog_CC="$CC" # Let the user override the test.
2080else
2081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082for as_dir in $PATH
2083do
2084 IFS=$as_save_IFS
2085 test -z "$as_dir" && as_dir=.
efa82614 2086 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df 2088 ac_cv_prog_CC="${ac_tool_prefix}cc"
efa82614 2089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
2090 break 2
2091 fi
2092done
efa82614 2093 done
4941ce49 2094IFS=$as_save_IFS
8e4735df
CV
2095
2096fi
2097fi
2098CC=$ac_cv_prog_CC
2099if test -n "$CC"; then
efa82614 2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4941ce49 2101$as_echo "$CC" >&6; }
8e4735df 2102else
efa82614 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 2104$as_echo "no" >&6; }
8e4735df
CV
2105fi
2106
8e4735df 2107
4941ce49 2108 fi
8e4735df
CV
2109fi
2110if test -z "$CC"; then
2111 # Extract the first word of "cc", so it can be a program name with args.
2112set dummy cc; ac_word=$2
efa82614 2113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 2114$as_echo_n "checking for $ac_word... " >&6; }
efa82614 2115if ${ac_cv_prog_CC+:} false; then :
4941ce49 2116 $as_echo_n "(cached) " >&6
8e4735df
CV
2117else
2118 if test -n "$CC"; then
2119 ac_cv_prog_CC="$CC" # Let the user override the test.
2120else
2121 ac_prog_rejected=no
2122as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123for as_dir in $PATH
2124do
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
efa82614 2127 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df
CV
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"
efa82614 2134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
2135 break 2
2136 fi
2137done
efa82614 2138 done
4941ce49 2139IFS=$as_save_IFS
8e4735df
CV
2140
2141if 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
2152fi
2153fi
2154fi
2155CC=$ac_cv_prog_CC
2156if test -n "$CC"; then
efa82614 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4941ce49 2158$as_echo "$CC" >&6; }
8e4735df 2159else
efa82614 2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 2161$as_echo "no" >&6; }
8e4735df
CV
2162fi
2163
4941ce49 2164
8e4735df
CV
2165fi
2166if test -z "$CC"; then
2167 if test -n "$ac_tool_prefix"; then
4941ce49 2168 for ac_prog in cl.exe
8e4735df
CV
2169 do
2170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2171set dummy $ac_tool_prefix$ac_prog; ac_word=$2
efa82614 2172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 2173$as_echo_n "checking for $ac_word... " >&6; }
efa82614 2174if ${ac_cv_prog_CC+:} false; then :
4941ce49 2175 $as_echo_n "(cached) " >&6
8e4735df
CV
2176else
2177 if test -n "$CC"; then
2178 ac_cv_prog_CC="$CC" # Let the user override the test.
2179else
2180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181for as_dir in $PATH
2182do
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
efa82614 2185 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df 2187 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
efa82614 2188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
2189 break 2
2190 fi
2191done
efa82614 2192 done
4941ce49 2193IFS=$as_save_IFS
8e4735df
CV
2194
2195fi
2196fi
2197CC=$ac_cv_prog_CC
2198if test -n "$CC"; then
efa82614 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4941ce49 2200$as_echo "$CC" >&6; }
8e4735df 2201else
efa82614 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 2203$as_echo "no" >&6; }
8e4735df
CV
2204fi
2205
4941ce49 2206
8e4735df
CV
2207 test -n "$CC" && break
2208 done
2209fi
2210if test -z "$CC"; then
2211 ac_ct_CC=$CC
4941ce49 2212 for ac_prog in cl.exe
8e4735df
CV
2213do
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215set dummy $ac_prog; ac_word=$2
efa82614 2216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941ce49 2217$as_echo_n "checking for $ac_word... " >&6; }
efa82614 2218if ${ac_cv_prog_ac_ct_CC+:} false; then :
4941ce49 2219 $as_echo_n "(cached) " >&6
8e4735df
CV
2220else
2221 if test -n "$ac_ct_CC"; then
2222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2223else
2224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225for as_dir in $PATH
2226do
2227 IFS=$as_save_IFS
2228 test -z "$as_dir" && as_dir=.
efa82614 2229 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8e4735df 2231 ac_cv_prog_ac_ct_CC="$ac_prog"
efa82614 2232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8e4735df
CV
2233 break 2
2234 fi
2235done
efa82614 2236 done
4941ce49 2237IFS=$as_save_IFS
8e4735df
CV
2238
2239fi
2240fi
2241ac_ct_CC=$ac_cv_prog_ac_ct_CC
2242if test -n "$ac_ct_CC"; then
efa82614 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4941ce49 2244$as_echo "$ac_ct_CC" >&6; }
8e4735df 2245else
efa82614 2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941ce49 2247$as_echo "no" >&6; }
8e4735df
CV
2248fi
2249
4941ce49 2250
8e4735df
CV
2251 test -n "$ac_ct_CC" && break
2252done
2253
4941ce49
CF
2254 if test "x$ac_ct_CC" = x; then
2255 CC=""
2256 else
2257 case $cross_compiling:$ac_tool_warned in
2258yes:)
efa82614 2259{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941ce49
CF
2260$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2261ac_tool_warned=yes ;;
2262esac
2263 CC=$ac_ct_CC
2264 fi
8e4735df
CV
2265fi
2266
2267fi
2268
2269
efa82614 2270test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941ce49 2271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
efa82614 2272as_fn_error $? "no acceptable C compiler found in \$PATH
02fbb3bb 2273See \`config.log' for more details" "$LINENO" 5; }
8e4735df
CV
2274
2275# Provide some information about the compiler.
efa82614 2276$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4941ce49
CF
2277set X $ac_compile
2278ac_compiler=$2
efa82614
YS
2279for ac_option in --version -v -V -qversion; do
2280 { { ac_try="$ac_compiler $ac_option >&5"
4941ce49
CF
2281case "(($ac_try" in
2282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283 *) ac_try_echo=$ac_try;;
2284esac
efa82614
YS
2285eval 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
8e4735df 2288 ac_status=$?
efa82614
YS
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; }
2298done
8e4735df 2299
efa82614 2300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8e4735df
CV
2301/* end confdefs.h. */
2302
02fbb3bb
CV
2303int
2304main ()
2305{
2306
2307 ;
2308 return 0;
2309}
2310_ACEOF
2311if { { ac_try="$ac_link"
2312case "(($ac_try" in
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2315esac
2316eval 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
8e4735df
CV
2326int
2327main ()
2328{
2329
2330 ;
2331 return 0;
2332}
2333_ACEOF
2334ac_clean_files_save=$ac_clean_files
4941ce49 2335ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
8e4735df
CV
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.
efa82614
YS
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; }
4941ce49
CF
2341ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2342
2343# The possible output files:
2344ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2345
2346ac_rmfiles=
2347for ac_file in $ac_files
2348do
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
2353done
2354rm -f $ac_rmfiles
2355
efa82614 2356if { { ac_try="$ac_link_default"
4941ce49
CF
2357case "(($ac_try" in
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2360esac
efa82614
YS
2361eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2362$as_echo "$ac_try_echo"; } >&5
4941ce49 2363 (eval "$ac_link_default") 2>&5
8e4735df 2364 ac_status=$?
efa82614
YS
2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2366 test $ac_status = 0; }; then :
4941ce49
CF
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.
2372for ac_file in $ac_files ''
8e4735df
CV
2373do
2374 test -f "$ac_file" || continue
2375 case $ac_file in
4941ce49 2376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
8e4735df
CV
2377 ;;
2378 [ab].out )
2379 # We found the default executable, but exeext='' is most
2380 # certainly right.
2381 break;;
2382 *.* )
efa82614 2383 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4941ce49
CF
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.
8e4735df
CV
2392 break;;
2393 * )
2394 break;;
2395 esac
2396done
4941ce49
CF
2397test "$ac_cv_exeext" = no && ac_cv_exeext=
2398
8e4735df 2399else
4941ce49
CF
2400 ac_file=''
2401fi
efa82614
YS
2402if 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
8e4735df
CV
2406sed 's/^/| /' conftest.$ac_ext >&5
2407
efa82614 2408{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941ce49 2409$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
efa82614 2410as_fn_error 77 "C compiler cannot create executables
02fbb3bb 2411See \`config.log' for more details" "$LINENO" 5; }
efa82614
YS
2412else
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2414$as_echo "yes" >&6; }
8e4735df 2415fi
efa82614
YS
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; }
8e4735df 2420ac_exeext=$ac_cv_exeext
8e4735df 2421
4941ce49 2422rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
8e4735df 2423ac_clean_files=$ac_clean_files_save
efa82614 2424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4941ce49 2425$as_echo_n "checking for suffix of executables... " >&6; }
efa82614 2426if { { ac_try="$ac_link"
4941ce49
CF
2427case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430esac
efa82614
YS
2431eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2432$as_echo "$ac_try_echo"; } >&5
4941ce49 2433 (eval "$ac_link") 2>&5
8e4735df 2434 ac_status=$?
efa82614
YS
2435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2436 test $ac_status = 0; }; then :
8e4735df
CV
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'.
2441for ac_file in conftest.exe conftest conftest.*; do
2442 test -f "$ac_file" || continue
2443 case $ac_file in
4941ce49 2444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
8e4735df 2445 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8e4735df
CV
2446 break;;
2447 * ) break;;
2448 esac
2449done
2450else
efa82614 2451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941ce49 2452$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
efa82614 2453as_fn_error $? "cannot compute suffix of executables: cannot compile and link
02fbb3bb 2454See \`config.log' for more details" "$LINENO" 5; }
8e4735df 2455fi
efa82614
YS
2456rm -f conftest conftest$ac_cv_exeext
2457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4941ce49 2458$as_echo "$ac_cv_exeext" >&6; }
8e4735df
CV
2459
2460rm -f conftest.$ac_ext
2461EXEEXT=$ac_cv_exeext
2462ac_exeext=$EXEEXT
efa82614
YS
2463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464/* end confdefs.h. */
2465#include <stdio.h>
2466int
2467main ()
2468{
2469FILE *f = fopen ("conftest.out", "w");
2470 return ferror (f) || fclose (f) != 0;
2471
2472 ;
2473 return 0;
2474}
2475_ACEOF
2476ac_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; }
2481if test "$cross_compiling" != yes; then
2482 { { ac_try="$ac_link"
2483case "(($ac_try" in
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2486esac
2487eval 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;;
2497esac
2498eval 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;}
2511as_fn_error $? "cannot run C compiled programs.
2512If you meant to cross compile, use \`--host'.
02fbb3bb 2513See \`config.log' for more details" "$LINENO" 5; }
efa82614
YS
2514 fi
2515 fi
2516fi
2517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2518$as_echo "$cross_compiling" >&6; }
2519
2520rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2521ac_clean_files=$ac_clean_files_save
02fbb3bb
CV
2522
2523else
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; }
2535if test "$cross_compiling" != yes; then
2536 { { ac_try="$ac_link"
2537case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540esac
2541eval 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;;
2551esac
2552eval 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;}
2565as_fn_error $? "cannot run C compiled programs.
2566If you meant to cross compile, use \`--host'.
2567See \`config.log' for more details" "$LINENO" 5; }
2568 fi
2569 fi
2570fi
2571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2572$as_echo "$cross_compiling" >&6; }
2573
2574fi
efa82614 2575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4941ce49 2576$as_echo_n "checking for suffix of object files... " >&6; }
efa82614 2577if ${ac_cv_objext+:} false; then :
4941ce49 2578 $as_echo_n "(cached) " >&6
8e4735df 2579else
efa82614 2580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8e4735df
CV
2581/* end confdefs.h. */
2582
2583int
2584main ()
2585{
2586
2587 ;
2588 return 0;
2589}
2590_ACEOF
2591rm -f conftest.o conftest.obj
efa82614 2592if { { ac_try="$ac_compile"
4941ce49
CF
2593case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596esac
efa82614
YS
2597eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2598$as_echo "$ac_try_echo"; } >&5
4941ce49 2599 (eval "$ac_compile") 2>&5
8e4735df 2600 ac_status=$?
efa82614
YS
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; }; then :
4941ce49
CF
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
8e4735df 2605 case $ac_file in
4941ce49 2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
8e4735df
CV
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610done
2611else
4941ce49 2612 $as_echo "$as_me: failed program was:" >&5
8e4735df
CV
2613sed 's/^/| /' conftest.$ac_ext >&5
2614
efa82614 2615{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941ce49 2616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
efa82614 2617as_fn_error $? "cannot compute suffix of object files: cannot compile
02fbb3bb 2618See \`config.log' for more details" "$LINENO" 5; }
8e4735df 2619fi
8e4735df
CV
2620rm -f conftest.$ac_cv_objext conftest.$ac_ext
2621fi
efa82614 2622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4941ce49 2623$as_echo "$ac_cv_objext" >&6; }
8e4735df
CV
2624OBJEXT=$ac_cv_objext
2625ac_objext=$OBJEXT
efa82614 2626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4941ce49 2627$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
efa82614 2628if ${ac_cv_c_compiler_gnu+:} false; then :
4941ce49 2629 $as_echo_n "(cached) " >&6
8e4735df 2630else
efa82614 2631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8e4735df
CV
2632/* end confdefs.h. */
2633
2634int
2635main ()
2636{
2637#ifndef __GNUC__
2638 choke me
2639#endif
2640
2641 ;
2642 return 0;
2643}
2644_ACEOF
efa82614 2645if ac_fn_c_try_compile "$LINENO"; then :
8e4735df
CV
2646 ac_compiler_gnu=yes
2647else
efa82614 2648 ac_compiler_gnu=no
8e4735df 2649fi
4941ce49 2650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8e4735df
CV
2651ac_cv_c_compiler_gnu=$ac_compiler_gnu
2652
2653fi
efa82614 2654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4941ce49
CF
2655$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2656if test $ac_compiler_gnu = yes; then
2657 GCC=yes
2658else
2659 GCC=
2660fi
8e4735df
CV
2661ac_test_CFLAGS=${CFLAGS+set}
2662ac_save_CFLAGS=$CFLAGS
efa82614 2663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4941ce49 2664$as_echo_n "checking whether $CC accepts -g... " >&6; }
efa82614 2665if ${ac_cv_prog_cc_g+:} false; then :
4941ce49 2666 $as_echo_n "(cached) " >&6
8e4735df 2667else
4941ce49
CF
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"
efa82614 2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8e4735df
CV
2673/* end confdefs.h. */
2674
2675int
2676main ()
2677{
2678
2679 ;
2680 return 0;
2681}
2682_ACEOF
efa82614 2683if ac_fn_c_try_compile "$LINENO"; then :
4941ce49
CF
2684 ac_cv_prog_cc_g=yes
2685else
efa82614
YS
2686 CFLAGS=""
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941ce49
CF
2688/* end confdefs.h. */
2689
2690int
2691main ()
2692{
2693
2694 ;
2695 return 0;
2696}
2697_ACEOF
efa82614 2698if ac_fn_c_try_compile "$LINENO"; then :
4941ce49 2699
efa82614
YS
2700else
2701 ac_c_werror_flag=$ac_save_c_werror_flag
4941ce49 2702 CFLAGS="-g"
efa82614 2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941ce49
CF
2704/* end confdefs.h. */
2705
2706int
2707main ()
2708{
2709
2710 ;
2711 return 0;
2712}
2713_ACEOF
efa82614 2714if ac_fn_c_try_compile "$LINENO"; then :
8e4735df 2715 ac_cv_prog_cc_g=yes
4941ce49 2716fi
4941ce49
CF
2717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718fi
4941ce49 2719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8e4735df 2720fi
4941ce49
CF
2721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 ac_c_werror_flag=$ac_save_c_werror_flag
8e4735df 2723fi
efa82614 2724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4941ce49 2725$as_echo "$ac_cv_prog_cc_g" >&6; }
8e4735df
CV
2726if test "$ac_test_CFLAGS" = set; then
2727 CFLAGS=$ac_save_CFLAGS
2728elif 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
2734else
2735 if test "$GCC" = yes; then
2736 CFLAGS="-O2"
2737 else
2738 CFLAGS=
2739 fi
2740fi
efa82614 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4941ce49 2742$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
efa82614 2743if ${ac_cv_prog_cc_c89+:} false; then :
4941ce49 2744 $as_echo_n "(cached) " >&6
8e4735df 2745else
4941ce49 2746 ac_cv_prog_cc_c89=no
8e4735df 2747ac_save_CC=$CC
efa82614 2748cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8e4735df
CV
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. */
2755struct buf { int x; };
2756FILE * (*rcsopen) (struct buf *, struct stat *, int);
2757static char *e (p, i)
2758 char **p;
2759 int i;
2760{
2761 return p[i];
2762}
2763static 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
4941ce49 2776 as 'x'. The following induces an error, until -std is added to get
8e4735df
CV
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
4941ce49 2779 that's true only with -std. */
8e4735df
CV
2780int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2781
4941ce49
CF
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'
2785int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2786
8e4735df
CV
2787int test (int i, double x);
2788struct s1 {int (*f) (int a);};
2789struct s2 {int (*f) (double a);};
2790int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2791int argc;
2792char **argv;
2793int
2794main ()
2795{
2796return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2797 ;
2798 return 0;
2799}
2800_ACEOF
4941ce49
CF
2801for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2802 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8e4735df
CV
2803do
2804 CC="$ac_save_CC $ac_arg"
efa82614
YS
2805 if ac_fn_c_try_compile "$LINENO"; then :
2806 ac_cv_prog_cc_c89=$ac_arg
8e4735df 2807fi
4941ce49
CF
2808rm -f core conftest.err conftest.$ac_objext
2809 test "x$ac_cv_prog_cc_c89" != "xno" && break
8e4735df 2810done
4941ce49 2811rm -f conftest.$ac_ext
8e4735df
CV
2812CC=$ac_save_CC
2813
2814fi
4941ce49
CF
2815# AC_CACHE_VAL
2816case "x$ac_cv_prog_cc_c89" in
2817 x)
efa82614 2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4941ce49
CF
2819$as_echo "none needed" >&6; } ;;
2820 xno)
efa82614 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4941ce49 2822$as_echo "unsupported" >&6; } ;;
8e4735df 2823 *)
4941ce49 2824 CC="$CC $ac_cv_prog_cc_c89"
efa82614 2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4941ce49 2826$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
8e4735df 2827esac
efa82614 2828if test "x$ac_cv_prog_cc_c89" != xno; then :
8e4735df 2829
efa82614 2830fi
8e4735df 2831
8e4735df
CV
2832ac_ext=c
2833ac_cpp='$CPP $CPPFLAGS'
2834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836ac_compiler_gnu=$ac_cv_c_compiler_gnu
2837
efa82614
YS
2838test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2839
2840
61522196
CV
2841case "$target_cpu" in
2842i?86)
2843 for ac_prog in i686-w64-mingw32-gcc
efa82614
YS
2844do
2845 # Extract the first word of "$ac_prog", so it can be a program name with args.
2846set dummy $ac_prog; ac_word=$2
2847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848$as_echo_n "checking for $ac_word... " >&6; }
2849if ${ac_cv_prog_MINGW32_CC+:} false; then :
2850 $as_echo_n "(cached) " >&6
2851else
2852 if test -n "$MINGW32_CC"; then
2853 ac_cv_prog_MINGW32_CC="$MINGW32_CC" # Let the user override the test.
2854else
2855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856for as_dir in $PATH
2857do
2858 IFS=$as_save_IFS
2859 test -z "$as_dir" && as_dir=.
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862 ac_cv_prog_MINGW32_CC="$ac_prog"
2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 break 2
2865 fi
2866done
2867 done
2868IFS=$as_save_IFS
2869
2870fi
2871fi
2872MINGW32_CC=$ac_cv_prog_MINGW32_CC
2873if test -n "$MINGW32_CC"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW32_CC" >&5
2875$as_echo "$MINGW32_CC" >&6; }
2876else
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878$as_echo "no" >&6; }
2879fi
2880
2881
2882 test -n "$MINGW32_CC" && break
2883done
2884
61522196
CV
2885 test -z "$MINGW32_CC" && as_fn_error $? "no acceptable mingw32 cc found in \$PATH" "$LINENO" 5
2886 ;;
2887esac
2888
efa82614
YS
2889for ac_prog in x86_64-w64-mingw32-gcc
2890do
2891 # Extract the first word of "$ac_prog", so it can be a program name with args.
2892set dummy $ac_prog; ac_word=$2
2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894$as_echo_n "checking for $ac_word... " >&6; }
2895if ${ac_cv_prog_MINGW64_CC+:} false; then :
2896 $as_echo_n "(cached) " >&6
2897else
2898 if test -n "$MINGW64_CC"; then
2899 ac_cv_prog_MINGW64_CC="$MINGW64_CC" # Let the user override the test.
2900else
2901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902for as_dir in $PATH
2903do
2904 IFS=$as_save_IFS
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_MINGW64_CC="$ac_prog"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 break 2
2911 fi
2912done
2913 done
2914IFS=$as_save_IFS
2915
2916fi
2917fi
2918MINGW64_CC=$ac_cv_prog_MINGW64_CC
2919if test -n "$MINGW64_CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW64_CC" >&5
2921$as_echo "$MINGW64_CC" >&6; }
2922else
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924$as_echo "no" >&6; }
2925fi
2926
8e4735df 2927
efa82614
YS
2928 test -n "$MINGW64_CC" && break
2929done
8e4735df 2930
efa82614 2931test -z "$MINGW64_CC" && as_fn_error $? "no acceptable mingw64 cc found in \$PATH" "$LINENO" 5
4941ce49 2932
8e4735df 2933test "$program_prefix" != NONE &&
4941ce49 2934 program_transform_name="s&^&$program_prefix&;$program_transform_name"
8e4735df
CV
2935# Use a double $ so make ignores it.
2936test "$program_suffix" != NONE &&
4941ce49
CF
2937 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2938# Double any \ or $.
8e4735df 2939# By default was `s,x,x', remove it if useless.
4941ce49
CF
2940ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2941program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
8e4735df
CV
2942
2943
8e4735df
CV
2944# Find a good install program. We prefer a C program (faster),
2945# so one script is as good as another. But avoid the broken or
2946# incompatible versions:
2947# SysV /etc/install, /usr/sbin/install
2948# SunOS /usr/etc/install
2949# IRIX /sbin/install
2950# AIX /bin/install
2951# AmigaOS /C/install, which installs bootblocks on floppy discs
2952# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2953# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2954# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2955# OS/2's system install, which has a completely different semantic
2956# ./install, which can be erroneously created by make from ./install.sh.
4941ce49 2957# Reject install programs that cannot install multiple files.
efa82614 2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4941ce49 2959$as_echo_n "checking for a BSD-compatible install... " >&6; }
8e4735df 2960if test -z "$INSTALL"; then
efa82614 2961if ${ac_cv_path_install+:} false; then :
4941ce49 2962 $as_echo_n "(cached) " >&6
8e4735df
CV
2963else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965for as_dir in $PATH
2966do
2967 IFS=$as_save_IFS
2968 test -z "$as_dir" && as_dir=.
efa82614
YS
2969 # Account for people who put trailing slashes in PATH elements.
2970case $as_dir/ in #((
2971 ./ | .// | /[cC]/* | \
8e4735df 2972 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
efa82614 2973 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
8e4735df
CV
2974 /usr/ucb/* ) ;;
2975 *)
2976 # OSF1 and SCO ODT 3.0 have their own names for install.
2977 # Don't use installbsd from OSF since it installs stuff as root
2978 # by default.
2979 for ac_prog in ginstall scoinst install; do
2980 for ac_exec_ext in '' $ac_executable_extensions; do
4941ce49 2981 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
8e4735df
CV
2982 if test $ac_prog = install &&
2983 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2984 # AIX install. It has an incompatible calling convention.
2985 :
2986 elif test $ac_prog = install &&
2987 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2988 # program-specific install script used by HP pwplus--don't use.
2989 :
2990 else
4941ce49
CF
2991 rm -rf conftest.one conftest.two conftest.dir
2992 echo one > conftest.one
2993 echo two > conftest.two
2994 mkdir conftest.dir
2995 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2996 test -s conftest.one && test -s conftest.two &&
2997 test -s conftest.dir/conftest.one &&
2998 test -s conftest.dir/conftest.two
2999 then
3000 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3001 break 3
3002 fi
8e4735df
CV
3003 fi
3004 fi
3005 done
3006 done
3007 ;;
3008esac
4941ce49 3009
efa82614 3010 done
4941ce49 3011IFS=$as_save_IFS
8e4735df 3012
4941ce49 3013rm -rf conftest.one conftest.two conftest.dir
8e4735df
CV
3014
3015fi
3016 if test "${ac_cv_path_install+set}" = set; then
3017 INSTALL=$ac_cv_path_install
3018 else
4941ce49
CF
3019 # As a last resort, use the slow shell script. Don't cache a
3020 # value for INSTALL within a source directory, because that will
8e4735df 3021 # break other packages using the cache if that directory is
4941ce49 3022 # removed, or if the value is a relative name.
8e4735df
CV
3023 INSTALL=$ac_install_sh
3024 fi
3025fi
efa82614 3026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4941ce49 3027$as_echo "$INSTALL" >&6; }
8e4735df
CV
3028
3029# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3030# It thinks the first close brace ends the variable substitution.
3031test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3032
3033test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3034
3035test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3036
3037
4941ce49
CF
3038ac_config_files="$ac_config_files Makefile cyglsa.def:cyglsa.din"
3039
8e4735df
CV
3040cat >confcache <<\_ACEOF
3041# This file is a shell script that caches the results of configure
3042# tests run on this system so they can be shared between configure
3043# scripts and configure runs, see configure's option --config-cache.
3044# It is not useful on other systems. If it contains results you don't
3045# want to keep, you may remove or edit it.
3046#
3047# config.status only pays attention to the cache file if you give it
3048# the --recheck option to rerun configure.
3049#
3050# `ac_cv_env_foo' variables (set or unset) will be overridden when
3051# loading this file, other *unset* `ac_cv_foo' will be assigned the
3052# following values.
3053
3054_ACEOF
3055
3056# The following way of writing the cache mishandles newlines in values,
3057# but we know of no workaround that is simple, portable, and efficient.
4941ce49 3058# So, we kill variables containing newlines.
8e4735df
CV
3059# Ultrix sh set writes to stderr and can't be redirected directly,
3060# and sets the high bit in the cache file unless we assign to the vars.
4941ce49
CF
3061(
3062 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3063 eval ac_val=\$$ac_var
3064 case $ac_val in #(
3065 *${as_nl}*)
3066 case $ac_var in #(
efa82614 3067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4941ce49
CF
3068$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3069 esac
3070 case $ac_var in #(
3071 _ | IFS | as_nl) ;; #(
3072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
efa82614 3073 *) { eval $ac_var=; unset $ac_var;} ;;
4941ce49
CF
3074 esac ;;
3075 esac
3076 done
3077
8e4735df 3078 (set) 2>&1 |
4941ce49
CF
3079 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3080 *${as_nl}ac_space=\ *)
efa82614
YS
3081 # `set' does not quote correctly, so add quotes: double-quote
3082 # substitution turns \\\\ into \\, and sed turns \\ into \.
8e4735df
CV
3083 sed -n \
3084 "s/'/'\\\\''/g;
3085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4941ce49 3086 ;; #(
8e4735df
CV
3087 *)
3088 # `set' quotes correctly as required by POSIX, so do not add quotes.
4941ce49 3089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8e4735df 3090 ;;
4941ce49
CF
3091 esac |
3092 sort
3093) |
8e4735df 3094 sed '
4941ce49 3095 /^ac_cv_env_/b end
8e4735df 3096 t clear
4941ce49 3097 :clear
8e4735df
CV
3098 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3099 t end
4941ce49
CF
3100 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3101 :end' >>confcache
3102if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3103 if test -w "$cache_file"; then
efa82614
YS
3104 if test "x$cache_file" != "x/dev/null"; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4941ce49 3106$as_echo "$as_me: updating cache $cache_file" >&6;}
efa82614
YS
3107 if test ! -f "$cache_file" || test -h "$cache_file"; then
3108 cat confcache >"$cache_file"
3109 else
3110 case $cache_file in #(
3111 */* | ?:*)
3112 mv -f confcache "$cache_file"$$ &&
3113 mv -f "$cache_file"$$ "$cache_file" ;; #(
3114 *)
3115 mv -f confcache "$cache_file" ;;
3116 esac
3117 fi
3118 fi
8e4735df 3119 else
efa82614 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4941ce49 3121$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8e4735df
CV
3122 fi
3123fi
3124rm -f confcache
3125
3126test "x$prefix" = xNONE && prefix=$ac_default_prefix
3127# Let make expand exec_prefix.
3128test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3129
8e4735df
CV
3130# Transform confdefs.h into DEFS.
3131# Protect against shell expansion while executing Makefile rules.
3132# Protect against Makefile macro expansion.
3133#
3134# If the first sed substitution is executed (which looks for macros that
4941ce49 3135# take arguments), then branch to the quote section. Otherwise,
8e4735df 3136# look for a macro that doesn't take arguments.
4941ce49
CF
3137ac_script='
3138:mline
3139/\\$/{
3140 N
3141 s,\\\n,,
3142 b mline
3143}
8e4735df 3144t clear
4941ce49
CF
3145:clear
3146s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
8e4735df 3147t quote
4941ce49 3148s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
8e4735df 3149t quote
4941ce49
CF
3150b any
3151:quote
3152s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3153s/\[/\\&/g
3154s/\]/\\&/g
3155s/\$/$$/g
3156H
3157:any
3158${
3159 g
3160 s/^\n//
3161 s/\n/ /g
3162 p
3163}
3164'
3165DEFS=`sed -n "$ac_script" confdefs.h`
8e4735df
CV
3166
3167
3168ac_libobjs=
3169ac_ltlibobjs=
efa82614 3170U=
8e4735df
CV
3171for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3172 # 1. Remove the extension, and $U if already installed.
4941ce49
CF
3173 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3174 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3175 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3176 # will be set to the directory where LIBOBJS objects are built.
efa82614
YS
3177 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3178 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8e4735df
CV
3179done
3180LIBOBJS=$ac_libobjs
3181
3182LTLIBOBJS=$ac_ltlibobjs
3183
3184
3185
efa82614 3186: "${CONFIG_STATUS=./config.status}"
4941ce49 3187ac_write_fail=0
8e4735df
CV
3188ac_clean_files_save=$ac_clean_files
3189ac_clean_files="$ac_clean_files $CONFIG_STATUS"
efa82614 3190{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4941ce49 3191$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
efa82614
YS
3192as_write_fail=0
3193cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8e4735df
CV
3194#! $SHELL
3195# Generated by $as_me.
3196# Run this file to recreate the current configuration.
3197# Compiler output produced by configure, useful for debugging
3198# configure, is in config.log if it exists.
3199
3200debug=false
3201ac_cs_recheck=false
3202ac_cs_silent=false
8e4735df 3203
efa82614
YS
3204SHELL=\${CONFIG_SHELL-$SHELL}
3205export SHELL
3206_ASEOF
3207cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3208## -------------------- ##
3209## M4sh Initialization. ##
3210## -------------------- ##
8e4735df 3211
4941ce49
CF
3212# Be more Bourne compatible
3213DUALCASE=1; export DUALCASE # for MKS sh
efa82614 3214if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8e4735df
CV
3215 emulate sh
3216 NULLCMD=:
4941ce49 3217 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8e4735df
CV
3218 # is contrary to our usage. Disable this feature.
3219 alias -g '${1+"$@"}'='"$@"'
4941ce49
CF
3220 setopt NO_GLOB_SUBST
3221else
efa82614
YS
3222 case `(set -o) 2>/dev/null` in #(
3223 *posix*) :
3224 set -o posix ;; #(
3225 *) :
3226 ;;
4941ce49 3227esac
4941ce49
CF
3228fi
3229
3230
4941ce49
CF
3231as_nl='
3232'
3233export as_nl
3234# Printing a long string crashes Solaris 7 /usr/bin/printf.
3235as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3236as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3237as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
efa82614
YS
3238# Prefer a ksh shell builtin over an external printf program on Solaris,
3239# but without wasting forks for bash or zsh.
3240if test -z "$BASH_VERSION$ZSH_VERSION" \
3241 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3242 as_echo='print -r --'
3243 as_echo_n='print -rn --'
3244elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4941ce49
CF
3245 as_echo='printf %s\n'
3246 as_echo_n='printf %s'
3247else
3248 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3249 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3250 as_echo_n='/usr/ucb/echo -n'
3251 else
3252 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3253 as_echo_n_body='eval
3254 arg=$1;
efa82614 3255 case $arg in #(
4941ce49
CF
3256 *"$as_nl"*)
3257 expr "X$arg" : "X\\(.*\\)$as_nl";
3258 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3259 esac;
3260 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3261 '
3262 export as_echo_n_body
3263 as_echo_n='sh -c $as_echo_n_body as_echo'
3264 fi
3265 export as_echo_body
3266 as_echo='sh -c $as_echo_body as_echo'
3267fi
3268
3269# The user is always right.
3270if test "${PATH_SEPARATOR+set}" != set; then
3271 PATH_SEPARATOR=:
3272 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3273 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3274 PATH_SEPARATOR=';'
3275 }
8e4735df 3276fi
8e4735df 3277
8e4735df 3278
4941ce49
CF
3279# IFS
3280# We need space, tab and new line, in precisely that order. Quoting is
3281# there to prevent editors from complaining about space-tab.
3282# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3283# splitting by setting IFS to empty value.)
3284IFS=" "" $as_nl"
3285
3286# Find who we are. Look in the path if we contain no directory separator.
efa82614
YS
3287as_myself=
3288case $0 in #((
4941ce49
CF
3289 *[\\/]* ) as_myself=$0 ;;
3290 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291for as_dir in $PATH
3292do
3293 IFS=$as_save_IFS
3294 test -z "$as_dir" && as_dir=.
efa82614
YS
3295 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3296 done
4941ce49
CF
3297IFS=$as_save_IFS
3298
3299 ;;
3300esac
3301# We did not find ourselves, most probably we were run as `sh COMMAND'
3302# in which case we are not to be found in the path.
3303if test "x$as_myself" = x; then
3304 as_myself=$0
3305fi
3306if test ! -f "$as_myself"; then
3307 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
efa82614 3308 exit 1
4941ce49
CF
3309fi
3310
efa82614
YS
3311# Unset variables that we do not need and which cause bugs (e.g. in
3312# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3313# suppresses any "Segmentation fault" message there. '((' could
3314# trigger a bug in pdksh 5.2.14.
3315for as_var in BASH_ENV ENV MAIL MAILPATH
3316do eval test x\${$as_var+set} = xset \
3317 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4941ce49 3318done
8e4735df
CV
3319PS1='$ '
3320PS2='> '
3321PS4='+ '
3322
3323# NLS nuisances.
4941ce49
CF
3324LC_ALL=C
3325export LC_ALL
3326LANGUAGE=C
3327export LANGUAGE
8e4735df 3328
efa82614
YS
3329# CDPATH.
3330(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3331
3332
3333# as_fn_error STATUS ERROR [LINENO LOG_FD]
3334# ----------------------------------------
3335# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3336# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3337# script with STATUS, using 1 if that was 0.
3338as_fn_error ()
3339{
3340 as_status=$1; test $as_status -eq 0 && as_status=1
3341 if test "$4"; then
3342 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3343 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3344 fi
3345 $as_echo "$as_me: error: $2" >&2
3346 as_fn_exit $as_status
3347} # as_fn_error
3348
3349
3350# as_fn_set_status STATUS
3351# -----------------------
3352# Set $? to STATUS, without forking.
3353as_fn_set_status ()
3354{
3355 return $1
3356} # as_fn_set_status
3357
3358# as_fn_exit STATUS
3359# -----------------
3360# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3361as_fn_exit ()
3362{
3363 set +e
3364 as_fn_set_status $1
3365 exit $1
3366} # as_fn_exit
3367
3368# as_fn_unset VAR
3369# ---------------
3370# Portably unset VAR.
3371as_fn_unset ()
3372{
3373 { eval $1=; unset $1;}
3374}
3375as_unset=as_fn_unset
3376# as_fn_append VAR VALUE
3377# ----------------------
3378# Append the text in VALUE to the end of the definition contained in VAR. Take
3379# advantage of any shell optimizations that allow amortized linear growth over
3380# repeated appends, instead of the typical quadratic growth present in naive
3381# implementations.
3382if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3383 eval 'as_fn_append ()
3384 {
3385 eval $1+=\$2
3386 }'
3387else
3388 as_fn_append ()
3389 {
3390 eval $1=\$$1\$2
3391 }
3392fi # as_fn_append
3393
3394# as_fn_arith ARG...
3395# ------------------
3396# Perform arithmetic evaluation on the ARGs, and store the result in the
3397# global $as_val. Take advantage of shells that can avoid forks. The arguments
3398# must be portable across $(()) and expr.
3399if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3400 eval 'as_fn_arith ()
3401 {
3402 as_val=$(( $* ))
3403 }'
3404else
3405 as_fn_arith ()
3406 {
3407 as_val=`expr "$@" || test $? -eq 1`
3408 }
3409fi # as_fn_arith
3410
3411
4941ce49
CF
3412if expr a : '\(a\)' >/dev/null 2>&1 &&
3413 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8e4735df
CV
3414 as_expr=expr
3415else
3416 as_expr=false
3417fi
3418
4941ce49 3419if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8e4735df
CV
3420 as_basename=basename
3421else
3422 as_basename=false
3423fi
3424
efa82614
YS
3425if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3426 as_dirname=dirname
3427else
3428 as_dirname=false
3429fi
8e4735df 3430
4941ce49 3431as_me=`$as_basename -- "$0" ||
8e4735df
CV
3432$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3433 X"$0" : 'X\(//\)$' \| \
4941ce49
CF
3434 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3435$as_echo X/"$0" |
3436 sed '/^.*\/\([^/][^/]*\)\/*$/{
3437 s//\1/
3438 q
3439 }
3440 /^X\/\(\/\/\)$/{
3441 s//\1/
3442 q
3443 }
3444 /^X\/\(\/\).*/{
3445 s//\1/
3446 q
3447 }
3448 s/.*/./; q'`
8e4735df 3449
efa82614
YS
3450# Avoid depending upon Character Ranges.
3451as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3452as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3453as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3454as_cr_digits='0123456789'
3455as_cr_alnum=$as_cr_Letters$as_cr_digits
8e4735df 3456
4941ce49 3457ECHO_C= ECHO_N= ECHO_T=
efa82614 3458case `echo -n x` in #(((((
4941ce49 3459-n*)
efa82614 3460 case `echo 'xy\c'` in
4941ce49 3461 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
efa82614
YS
3462 xy) ECHO_C='\c';;
3463 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3464 ECHO_T=' ';;
4941ce49
CF
3465 esac;;
3466*)
3467 ECHO_N='-n';;
3468esac
8e4735df
CV
3469
3470rm -f conf$$ conf$$.exe conf$$.file
4941ce49
CF
3471if test -d conf$$.dir; then
3472 rm -f conf$$.dir/conf$$.file
3473else
3474 rm -f conf$$.dir
3475 mkdir conf$$.dir 2>/dev/null
3476fi
3477if (echo >conf$$.file) 2>/dev/null; then
3478 if ln -s conf$$.file conf$$ 2>/dev/null; then
8e4735df 3479 as_ln_s='ln -s'
4941ce49
CF
3480 # ... but there are two gotchas:
3481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3483 # In both cases, we have to default to `cp -p'.
3484 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3485 as_ln_s='cp -p'
3486 elif ln conf$$.file conf$$ 2>/dev/null; then
3487 as_ln_s=ln
3488 else
3489 as_ln_s='cp -p'
8e4735df 3490 fi
8e4735df
CV
3491else
3492 as_ln_s='cp -p'
3493fi
4941ce49
CF
3494rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3495rmdir conf$$.dir 2>/dev/null
8e4735df 3496
efa82614
YS
3497
3498# as_fn_mkdir_p
3499# -------------
3500# Create "$as_dir" as a directory, including parents if necessary.
3501as_fn_mkdir_p ()
3502{
3503
3504 case $as_dir in #(
3505 -*) as_dir=./$as_dir;;
3506 esac
3507 test -d "$as_dir" || eval $as_mkdir_p || {
3508 as_dirs=
3509 while :; do
3510 case $as_dir in #(
3511 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3512 *) as_qdir=$as_dir;;
3513 esac
3514 as_dirs="'$as_qdir' $as_dirs"
3515 as_dir=`$as_dirname -- "$as_dir" ||
3516$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3517 X"$as_dir" : 'X\(//\)[^/]' \| \
3518 X"$as_dir" : 'X\(//\)$' \| \
3519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3520$as_echo X"$as_dir" |
3521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3522 s//\1/
3523 q
3524 }
3525 /^X\(\/\/\)[^/].*/{
3526 s//\1/
3527 q
3528 }
3529 /^X\(\/\/\)$/{
3530 s//\1/
3531 q
3532 }
3533 /^X\(\/\).*/{
3534 s//\1/
3535 q
3536 }
3537 s/.*/./; q'`
3538 test -d "$as_dir" && break
3539 done
3540 test -z "$as_dirs" || eval "mkdir $as_dirs"
3541 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3542
3543
3544} # as_fn_mkdir_p
8e4735df 3545if mkdir -p . 2>/dev/null; then
efa82614 3546 as_mkdir_p='mkdir -p "$as_dir"'
8e4735df
CV
3547else
3548 test -d ./-p && rmdir ./-p
3549 as_mkdir_p=false
3550fi
3551
4941ce49
CF
3552if test -x / >/dev/null 2>&1; then
3553 as_test_x='test -x'
3554else
3555 if ls -dL / >/dev/null 2>&1; then
3556 as_ls_L_option=L
3557 else
3558 as_ls_L_option=
3559 fi
3560 as_test_x='
3561 eval sh -c '\''
3562 if test -d "$1"; then
3563 test -d "$1/.";
3564 else
efa82614 3565 case $1 in #(
4941ce49
CF
3566 -*)set "./$1";;
3567 esac;
efa82614 3568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4941ce49
CF
3569 ???[sx]*):;;*)false;;esac;fi
3570 '\'' sh
3571 '
3572fi
3573as_executable_p=$as_test_x
8e4735df
CV
3574
3575# Sed expression to map a string onto a valid CPP name.
3576as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3577
3578# Sed expression to map a string onto a valid variable name.
3579as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3580
3581
8e4735df 3582exec 6>&1
efa82614
YS
3583## ----------------------------------- ##
3584## Main body of $CONFIG_STATUS script. ##
3585## ----------------------------------- ##
3586_ASEOF
3587test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8e4735df 3588
efa82614
YS
3589cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3590# Save the log message, to keep $0 and so on meaningful, and to
8e4735df 3591# report actual input values of CONFIG_FILES etc. instead of their
4941ce49
CF
3592# values after options handling.
3593ac_log="
8e4735df 3594This file was extended by $as_me, which was
efa82614 3595generated by GNU Autoconf 2.68. Invocation command line was
8e4735df
CV
3596
3597 CONFIG_FILES = $CONFIG_FILES
3598 CONFIG_HEADERS = $CONFIG_HEADERS
3599 CONFIG_LINKS = $CONFIG_LINKS
3600 CONFIG_COMMANDS = $CONFIG_COMMANDS
3601 $ $0 $@
3602
4941ce49
CF
3603on `(hostname || uname -n) 2>/dev/null | sed 1q`
3604"
3605
8e4735df
CV
3606_ACEOF
3607
4941ce49
CF
3608case $ac_config_files in *"
3609"*) set x $ac_config_files; shift; ac_config_files=$*;;
3610esac
8e4735df 3611
8e4735df 3612
8e4735df 3613
4941ce49
CF
3614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3615# Files that config.status was made for.
3616config_files="$ac_config_files"
8e4735df 3617
4941ce49 3618_ACEOF
8e4735df 3619
4941ce49 3620cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8e4735df 3621ac_cs_usage="\
efa82614
YS
3622\`$as_me' instantiates files and other configuration actions
3623from templates according to the current configuration. Unless the files
3624and actions are specified as TAGs, all are instantiated by default.
8e4735df 3625
efa82614 3626Usage: $0 [OPTION]... [TAG]...
8e4735df
CV
3627
3628 -h, --help print this help, then exit
4941ce49 3629 -V, --version print version number and configuration settings, then exit
efa82614 3630 --config print configuration, then exit
4941ce49
CF
3631 -q, --quiet, --silent
3632 do not print progress messages
8e4735df
CV
3633 -d, --debug don't remove temporary files
3634 --recheck update $as_me by reconfiguring in the same conditions
4941ce49
CF
3635 --file=FILE[:TEMPLATE]
3636 instantiate the configuration file FILE
8e4735df
CV
3637
3638Configuration files:
3639$config_files
3640
efa82614 3641Report bugs to the package provider."
8e4735df 3642
4941ce49
CF
3643_ACEOF
3644cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
efa82614 3645ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8e4735df
CV
3646ac_cs_version="\\
3647config.status
efa82614
YS
3648configured by $0, generated by GNU Autoconf 2.68,
3649 with options \\"\$ac_cs_config\\"
8e4735df 3650
efa82614 3651Copyright (C) 2010 Free Software Foundation, Inc.
8e4735df
CV
3652This config.status script is free software; the Free Software Foundation
3653gives unlimited permission to copy, distribute and modify it."
4941ce49
CF
3654
3655ac_pwd='$ac_pwd'
3656srcdir='$srcdir'
3657INSTALL='$INSTALL'
3658test -n "\$AWK" || AWK=awk
8e4735df
CV
3659_ACEOF
3660
4941ce49
CF
3661cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3662# The default lists apply if the user does not specify any file.
8e4735df
CV
3663ac_need_defaults=:
3664while test $# != 0
3665do
3666 case $1 in
efa82614 3667 --*=?*)
4941ce49
CF
3668 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3669 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8e4735df
CV
3670 ac_shift=:
3671 ;;
efa82614
YS
3672 --*=)
3673 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3674 ac_optarg=
3675 ac_shift=:
3676 ;;
4941ce49 3677 *)
8e4735df
CV
3678 ac_option=$1
3679 ac_optarg=$2
3680 ac_shift=shift
3681 ;;
8e4735df
CV
3682 esac
3683
3684 case $ac_option in
3685 # Handling of the options.
8e4735df
CV
3686 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3687 ac_cs_recheck=: ;;
4941ce49
CF
3688 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3689 $as_echo "$ac_cs_version"; exit ;;
efa82614
YS
3690 --config | --confi | --conf | --con | --co | --c )
3691 $as_echo "$ac_cs_config"; exit ;;
4941ce49 3692 --debug | --debu | --deb | --de | --d | -d )
8e4735df
CV
3693 debug=: ;;
3694 --file | --fil | --fi | --f )
3695 $ac_shift
4941ce49
CF
3696 case $ac_optarg in
3697 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
efa82614 3698 '') as_fn_error $? "missing file argument" ;;
4941ce49 3699 esac
efa82614 3700 as_fn_append CONFIG_FILES " '$ac_optarg'"
8e4735df 3701 ac_need_defaults=false;;
4941ce49
CF
3702 --he | --h | --help | --hel | -h )
3703 $as_echo "$ac_cs_usage"; exit ;;
8e4735df
CV
3704 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3705 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3706 ac_cs_silent=: ;;
3707
3708 # This is an error.
efa82614
YS
3709 -*) as_fn_error $? "unrecognized option: \`$1'
3710Try \`$0 --help' for more information." ;;
8e4735df 3711
efa82614 3712 *) as_fn_append ac_config_targets " $1"
4941ce49 3713 ac_need_defaults=false ;;
8e4735df
CV
3714
3715 esac
3716 shift
3717done
3718
3719ac_configure_extra_args=
3720
3721if $ac_cs_silent; then
3722 exec 6>/dev/null
3723 ac_configure_extra_args="$ac_configure_extra_args --silent"
3724fi
3725
3726_ACEOF
4941ce49 3727cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8e4735df 3728if \$ac_cs_recheck; then
4941ce49
CF
3729 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3730 shift
3731 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3732 CONFIG_SHELL='$SHELL'
3733 export CONFIG_SHELL
3734 exec "\$@"
8e4735df
CV
3735fi
3736
3737_ACEOF
4941ce49
CF
3738cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3739exec 5>>config.log
3740{
3741 echo
3742 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3743## Running $as_me. ##
3744_ASBOX
3745 $as_echo "$ac_log"
3746} >&5
8e4735df 3747
4941ce49
CF
3748_ACEOF
3749cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3750_ACEOF
8e4735df 3751
4941ce49 3752cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8e4735df 3753
4941ce49 3754# Handling of arguments.
8e4735df
CV
3755for ac_config_target in $ac_config_targets
3756do
4941ce49
CF
3757 case $ac_config_target in
3758 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3759 "cyglsa.def") CONFIG_FILES="$CONFIG_FILES cyglsa.def:cyglsa.din" ;;
3760
02fbb3bb 3761 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8e4735df
CV
3762 esac
3763done
3764
4941ce49 3765
8e4735df
CV
3766# If the user did not use the arguments to specify the items to instantiate,
3767# then the envvar interface is used. Set only those that are not.
3768# We use the long form for the default assignment because of an extremely
3769# bizarre bug on SunOS 4.1.3.
3770if $ac_need_defaults; then
3771 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3772fi
3773
3774# Have a temporary directory for convenience. Make it in the build tree
4941ce49 3775# simply because there is no reason against having it here, and in addition,
8e4735df 3776# creating and moving files from /tmp can sometimes cause problems.
4941ce49
CF
3777# Hook for its removal unless debugging.
3778# Note that there is a small window in which the directory will not be cleaned:
3779# after its creation but before its name has been assigned to `$tmp'.
8e4735df
CV
3780$debug ||
3781{
efa82614 3782 tmp= ac_tmp=
4941ce49 3783 trap 'exit_status=$?
efa82614
YS
3784 : "${ac_tmp:=$tmp}"
3785 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4941ce49 3786' 0
efa82614 3787 trap 'as_fn_exit 1' 1 2 13 15
8e4735df 3788}
8e4735df
CV
3789# Create a (secure) tmp directory for tmp files.
3790
3791{
4941ce49 3792 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
efa82614 3793 test -d "$tmp"
8e4735df
CV
3794} ||
3795{
4941ce49
CF
3796 tmp=./conf$$-$RANDOM
3797 (umask 077 && mkdir "$tmp")
efa82614
YS
3798} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3799ac_tmp=$tmp
8e4735df 3800
4941ce49
CF
3801# Set up the scripts for CONFIG_FILES section.
3802# No need to generate them if there are no CONFIG_FILES.
3803# This happens for instance with `./config.status config.h'.
3804if test -n "$CONFIG_FILES"; then
3805
3806
efa82614
YS
3807ac_cr=`echo X | tr X '\015'`
3808# On cygwin, bash can eat \r inside `` if the user requested igncr.
3809# But we know of no other shell where ac_cr would be empty at this
3810# point, so we can use a bashism as a fallback.
3811if test "x$ac_cr" = x; then
3812 eval ac_cr=\$\'\\r\'
3813fi
4941ce49
CF
3814ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3815if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3816 ac_cs_awk_cr='\\r'
3817else
3818 ac_cs_awk_cr=$ac_cr
3819fi
3820
efa82614 3821echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8e4735df
CV
3822_ACEOF
3823
8e4735df 3824
4941ce49
CF
3825{
3826 echo "cat >conf$$subs.awk <<_ACEOF" &&
3827 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3828 echo "_ACEOF"
3829} >conf$$subs.sh ||
efa82614
YS
3830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3831ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4941ce49
CF
3832ac_delim='%!_!# '
3833for ac_last_try in false false false false false :; do
3834 . ./conf$$subs.sh ||
efa82614 3835 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8e4735df 3836
4941ce49
CF
3837 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3838 if test $ac_delim_n = $ac_delim_num; then
3839 break
3840 elif $ac_last_try; then
efa82614 3841 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4941ce49
CF
3842 else
3843 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3844 fi
3845done
3846rm -f conf$$subs.sh
8e4735df 3847
4941ce49 3848cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
efa82614 3849cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8e4735df 3850_ACEOF
4941ce49
CF
3851sed -n '
3852h
3853s/^/S["/; s/!.*/"]=/
3854p
3855g
3856s/^[^!]*!//
3857:repl
3858t repl
3859s/'"$ac_delim"'$//
3860t delim
3861:nl
3862h
efa82614 3863s/\(.\{148\}\)..*/\1/
4941ce49
CF
3864t more1
3865s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3866p
3867n
3868b repl
3869:more1
3870s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3871p
3872g
3873s/.\{148\}//
3874t nl
3875:delim
3876h
efa82614 3877s/\(.\{148\}\)..*/\1/
4941ce49
CF
3878t more2
3879s/["\\]/\\&/g; s/^/"/; s/$/"/
3880p
3881b
3882:more2
3883s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3884p
3885g
3886s/.\{148\}//
3887t delim
3888' <conf$$subs.awk | sed '
3889/^[^""]/{
3890 N
3891 s/\n//
3892}
3893' >>$CONFIG_STATUS || ac_write_fail=1
3894rm -f conf$$subs.awk
3895cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3896_ACAWK
efa82614 3897cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4941ce49
CF
3898 for (key in S) S_is_set[key] = 1
3899 FS = "\a"
8e4735df 3900
4941ce49
CF
3901}
3902{
3903 line = $ 0
3904 nfields = split(line, field, "@")
3905 substed = 0
3906 len = length(field[1])
3907 for (i = 2; i < nfields; i++) {
3908 key = field[i]
3909 keylen = length(key)
3910 if (S_is_set[key]) {
3911 value = S[key]
3912 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3913 len += length(value) + length(field[++i])
3914 substed = 1
3915 } else
3916 len += 1 + keylen
3917 }
3918
3919 print line
3920}
8e4735df 3921
4941ce49 3922_ACAWK
8e4735df 3923_ACEOF
4941ce49
CF
3924cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3925if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3926 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3927else
3928 cat
efa82614
YS
3929fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3930 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4941ce49
CF
3931_ACEOF
3932
efa82614
YS
3933# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3934# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4941ce49
CF
3935# trailing colons and then remove the whole line if VPATH becomes empty
3936# (actually we leave an empty line to preserve line numbers).
3937if test "x$srcdir" = x.; then
efa82614
YS
3938 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3939h
3940s///
3941s/^/:/
3942s/[ ]*$/:/
3943s/:\$(srcdir):/:/g
3944s/:\${srcdir}:/:/g
3945s/:@srcdir@:/:/g
3946s/^:*//
4941ce49 3947s/:*$//
efa82614
YS
3948x
3949s/\(=[ ]*\).*/\1/
3950G
3951s/\n//
4941ce49
CF
3952s/^[^=]*=[ ]*$//
3953}'
3954fi
3955
3956cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3957fi # test -n "$CONFIG_FILES"
3958
3959
3960eval set X " :F $CONFIG_FILES "
3961shift
3962for ac_tag
3963do
3964 case $ac_tag in
3965 :[FHLC]) ac_mode=$ac_tag; continue;;
3966 esac
3967 case $ac_mode$ac_tag in
3968 :[FHL]*:*);;
02fbb3bb 3969 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4941ce49
CF
3970 :[FH]-) ac_tag=-:-;;
3971 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3972 esac
3973 ac_save_IFS=$IFS
3974 IFS=:
3975 set x $ac_tag
3976 IFS=$ac_save_IFS
3977 shift
3978 ac_file=$1
3979 shift
3980
3981 case $ac_mode in
3982 :L) ac_source=$1;;
3983 :[FH])
3984 ac_file_inputs=
3985 for ac_f
3986 do
3987 case $ac_f in
efa82614 3988 -) ac_f="$ac_tmp/stdin";;
4941ce49
CF
3989 *) # Look for the file first in the build tree, then in the source tree
3990 # (if the path is not absolute). The absolute path cannot be DOS-style,
3991 # because $ac_f cannot contain `:'.
3992 test -f "$ac_f" ||
3993 case $ac_f in
3994 [\\/$]*) false;;
3995 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3996 esac ||
02fbb3bb 3997 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4941ce49
CF
3998 esac
3999 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
efa82614 4000 as_fn_append ac_file_inputs " '$ac_f'"
4941ce49
CF
4001 done
4002
4003 # Let's still pretend it is `configure' which instantiates (i.e., don't
4004 # use $as_me), people would be surprised to read:
4005 # /* config.h. Generated by config.status. */
4006 configure_input='Generated from '`
4007 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4008 `' by configure.'
4009 if test x"$ac_file" != x-; then
4010 configure_input="$ac_file. $configure_input"
efa82614 4011 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4941ce49
CF
4012$as_echo "$as_me: creating $ac_file" >&6;}
4013 fi
4014 # Neutralize special characters interpreted by sed in replacement strings.
4015 case $configure_input in #(
4016 *\&* | *\|* | *\\* )
4017 ac_sed_conf_input=`$as_echo "$configure_input" |
4018 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4019 *) ac_sed_conf_input=$configure_input;;
4020 esac
4021
4022 case $ac_tag in
efa82614 4023 *:-:* | *:-) cat >"$ac_tmp/stdin" \
02fbb3bb 4024 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4941ce49
CF
4025 esac
4026 ;;
8e4735df
CV
4027 esac
4028
4941ce49 4029 ac_dir=`$as_dirname -- "$ac_file" ||
8e4735df
CV
4030$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4031 X"$ac_file" : 'X\(//\)[^/]' \| \
4032 X"$ac_file" : 'X\(//\)$' \| \
4941ce49
CF
4033 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4034$as_echo X"$ac_file" |
4035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4036 s//\1/
4037 q
4038 }
4039 /^X\(\/\/\)[^/].*/{
4040 s//\1/
4041 q
4042 }
4043 /^X\(\/\/\)$/{
4044 s//\1/
4045 q
4046 }
4047 /^X\(\/\).*/{
4048 s//\1/
4049 q
4050 }
4051 s/.*/./; q'`
efa82614 4052 as_dir="$ac_dir"; as_fn_mkdir_p
8e4735df
CV
4053 ac_builddir=.
4054
4941ce49
CF
4055case "$ac_dir" in
4056.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4057*)
4058 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4059 # A ".." for each directory in $ac_dir_suffix.
4060 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4061 case $ac_top_builddir_sub in
4062 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4063 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4064 esac ;;
4065esac
4066ac_abs_top_builddir=$ac_pwd
4067ac_abs_builddir=$ac_pwd$ac_dir_suffix
4068# for backward compatibility:
4069ac_top_builddir=$ac_top_build_prefix
8e4735df
CV
4070
4071case $srcdir in
4941ce49 4072 .) # We are building in place.
8e4735df 4073 ac_srcdir=.
4941ce49
CF
4074 ac_top_srcdir=$ac_top_builddir_sub
4075 ac_abs_top_srcdir=$ac_pwd ;;
4076 [\\/]* | ?:[\\/]* ) # Absolute name.
8e4735df 4077 ac_srcdir=$srcdir$ac_dir_suffix;
4941ce49
CF
4078 ac_top_srcdir=$srcdir
4079 ac_abs_top_srcdir=$srcdir ;;
4080 *) # Relative name.
4081 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4082 ac_top_srcdir=$ac_top_build_prefix$srcdir
4083 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8e4735df 4084esac
4941ce49 4085ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8e4735df 4086
8e4735df 4087
4941ce49
CF
4088 case $ac_mode in
4089 :F)
4090 #
4091 # CONFIG_FILE
4092 #
8e4735df
CV
4093
4094 case $INSTALL in
4095 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4941ce49 4096 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8e4735df 4097 esac
4941ce49 4098_ACEOF
8e4735df 4099
4941ce49
CF
4100cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4101# If the template does not know about datarootdir, expand it.
4102# FIXME: This hack should be removed a few years after 2.60.
4103ac_datarootdir_hack=; ac_datarootdir_seen=
4941ce49
CF
4104ac_sed_dataroot='
4105/datarootdir/ {
4106 p
4107 q
4108}
4109/@datadir@/p
4110/@docdir@/p
4111/@infodir@/p
4112/@localedir@/p
efa82614 4113/@mandir@/p'
4941ce49
CF
4114case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4115*datarootdir*) ac_datarootdir_seen=yes;;
4116*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
efa82614 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4941ce49
CF
4118$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4119_ACEOF
4120cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4121 ac_datarootdir_hack='
4122 s&@datadir@&$datadir&g
4123 s&@docdir@&$docdir&g
4124 s&@infodir@&$infodir&g
4125 s&@localedir@&$localedir&g
4126 s&@mandir@&$mandir&g
efa82614 4127 s&\\\${datarootdir}&$datarootdir&g' ;;
4941ce49 4128esac
8e4735df 4129_ACEOF
4941ce49
CF
4130
4131# Neutralize VPATH when `$srcdir' = `.'.
4132# Shell code in configure.ac might set extrasub.
4133# FIXME: do we really want to maintain this feature?
4134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4135ac_sed_extra="$ac_vpsub
8e4735df
CV
4136$extrasub
4137_ACEOF
4941ce49 4138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8e4735df
CV
4139:t
4140/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4941ce49
CF
4141s|@configure_input@|$ac_sed_conf_input|;t t
4142s&@top_builddir@&$ac_top_builddir_sub&;t t
4143s&@top_build_prefix@&$ac_top_build_prefix&;t t
4144s&@srcdir@&$ac_srcdir&;t t
4145s&@abs_srcdir@&$ac_abs_srcdir&;t t
4146s&@top_srcdir@&$ac_top_srcdir&;t t
4147s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4148s&@builddir@&$ac_builddir&;t t
4149s&@abs_builddir@&$ac_abs_builddir&;t t
4150s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4151s&@INSTALL@&$ac_INSTALL&;t t
4152$ac_datarootdir_hack
4153"
efa82614
YS
4154eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4155 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8e4735df 4156
4941ce49 4157test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
efa82614
YS
4158 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4160 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4162which seems to be undefined. Please make sure it is defined" >&5
4941ce49 4163$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
efa82614 4164which seems to be undefined. Please make sure it is defined" >&2;}
4941ce49 4165
efa82614 4166 rm -f "$ac_tmp/stdin"
4941ce49 4167 case $ac_file in
efa82614
YS
4168 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4169 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4941ce49 4170 esac \
efa82614 4171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4941ce49
CF
4172 ;;
4173
4174
4175
4176 esac
4177
4178done # for ac_tag
8e4735df 4179
8e4735df 4180
efa82614 4181as_fn_exit 0
8e4735df 4182_ACEOF
8e4735df
CV
4183ac_clean_files=$ac_clean_files_save
4184
4941ce49 4185test $ac_write_fail = 0 ||
efa82614 4186 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4941ce49 4187
8e4735df
CV
4188
4189# configure is writing to config.log, and then calls config.status.
4190# config.status does its own redirection, appending to config.log.
4191# Unfortunately, on DOS this fails, as config.log is still kept open
4192# by configure, so config.status won't be able to write to it; its
4193# output is simply discarded. So we exec the FD to /dev/null,
4194# effectively closing config.log, so it can be properly (re)opened and
4195# appended to by config.status. When coming back to configure, we
4196# need to make the FD available again.
4197if test "$no_create" != yes; then
4198 ac_cs_success=:
4199 ac_config_status_args=
4200 test "$silent" = yes &&
4201 ac_config_status_args="$ac_config_status_args --quiet"
4202 exec 5>/dev/null
4203 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4204 exec 5>>config.log
4205 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4206 # would make configure fail if this is the last instruction.
efa82614 4207 $ac_cs_success || as_fn_exit 1
8e4735df 4208fi
4941ce49 4209if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
efa82614 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4941ce49
CF
4211$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4212fi
8e4735df 4213
This page took 0.592742 seconds and 5 git commands to generate.