(cabal check) Add "Version signatures" test
[cabal.git] / cabal-testsuite / PackageTests / Regression / T5386 / configure
blob8322a8e7bbff3c42f0527d636d93234dcafa2cab
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Test for autoconf brokenness 0.
5 # Report bugs to <none@example.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and none@example.com
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
274 exit 1
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
292 { eval $1=; unset $1;}
294 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
345 /^X\(\/\/\)$/{
346 s//\1/
349 /^X\(\/\).*/{
350 s//\1/
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 } # as_fn_mkdir_p
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
378 eval $1+=\$2
380 else
381 as_fn_append ()
383 eval $1=\$$1\$2
385 fi # as_fn_append
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
395 as_val=$(( $* ))
397 else
398 as_fn_arith ()
400 as_val=`expr "$@" || test $? -eq 1`
402 fi # as_fn_arith
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
449 /^X\/\(\/\/\)$/{
450 s//\1/
453 /^X\/\(\/\).*/{
454 s//\1/
457 s/.*/./; q'`
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
480 :lineno
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
512 ECHO_N='-n';;
513 esac
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
536 else
537 as_ln_s='cp -pR'
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 # Initializations.
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
579 # Identity of this package.
580 PACKAGE_NAME='Test for autoconf brokenness'
581 PACKAGE_TARNAME='test'
582 PACKAGE_VERSION='0'
583 PACKAGE_STRING='Test for autoconf brokenness 0'
584 PACKAGE_BUGREPORT='none@example.com'
585 PACKAGE_URL=''
587 ac_subst_vars='LTLIBOBJS
588 LIBOBJS
589 target_alias
590 host_alias
591 build_alias
592 LIBS
593 ECHO_T
594 ECHO_N
595 ECHO_C
596 DEFS
597 mandir
598 localedir
599 libdir
600 psdir
601 pdfdir
602 dvidir
603 htmldir
604 infodir
605 docdir
606 oldincludedir
607 includedir
608 runstatedir
609 localstatedir
610 sharedstatedir
611 sysconfdir
612 datadir
613 datarootdir
614 libexecdir
615 sbindir
616 bindir
617 program_transform_name
618 prefix
619 exec_prefix
620 PACKAGE_URL
621 PACKAGE_BUGREPORT
622 PACKAGE_STRING
623 PACKAGE_VERSION
624 PACKAGE_TARNAME
625 PACKAGE_NAME
626 PATH_SEPARATOR
627 SHELL'
628 ac_subst_files=''
629 ac_user_opts='
630 enable_option_checking
632 ac_precious_vars='build_alias
633 host_alias
634 target_alias'
637 # Initialize some variables set by options.
638 ac_init_help=
639 ac_init_version=false
640 ac_unrecognized_opts=
641 ac_unrecognized_sep=
642 # The variables have the same names as the options, with
643 # dashes changed to underlines.
644 cache_file=/dev/null
645 exec_prefix=NONE
646 no_create=
647 no_recursion=
648 prefix=NONE
649 program_prefix=NONE
650 program_suffix=NONE
651 program_transform_name=s,x,x,
652 silent=
653 site=
654 srcdir=
655 verbose=
656 x_includes=NONE
657 x_libraries=NONE
659 # Installation directory options.
660 # These are left unexpanded so users can "make install exec_prefix=/foo"
661 # and all the variables that are supposed to be based on exec_prefix
662 # by default will actually change.
663 # Use braces instead of parens because sh, perl, etc. also accept them.
664 # (The list follows the same order as the GNU Coding Standards.)
665 bindir='${exec_prefix}/bin'
666 sbindir='${exec_prefix}/sbin'
667 libexecdir='${exec_prefix}/libexec'
668 datarootdir='${prefix}/share'
669 datadir='${datarootdir}'
670 sysconfdir='${prefix}/etc'
671 sharedstatedir='${prefix}/com'
672 localstatedir='${prefix}/var'
673 runstatedir='${localstatedir}/run'
674 includedir='${prefix}/include'
675 oldincludedir='/usr/include'
676 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
677 infodir='${datarootdir}/info'
678 htmldir='${docdir}'
679 dvidir='${docdir}'
680 pdfdir='${docdir}'
681 psdir='${docdir}'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
686 ac_prev=
687 ac_dashdash=
688 for ac_option
690 # If the previous option needs an argument, assign it.
691 if test -n "$ac_prev"; then
692 eval $ac_prev=\$ac_option
693 ac_prev=
694 continue
697 case $ac_option in
698 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699 *=) ac_optarg= ;;
700 *) ac_optarg=yes ;;
701 esac
703 # Accept the important Cygnus configure options, so we can diagnose typos.
705 case $ac_dashdash$ac_option in
707 ac_dashdash=yes ;;
709 -bindir | --bindir | --bindi | --bind | --bin | --bi)
710 ac_prev=bindir ;;
711 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
712 bindir=$ac_optarg ;;
714 -build | --build | --buil | --bui | --bu)
715 ac_prev=build_alias ;;
716 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
717 build_alias=$ac_optarg ;;
719 -cache-file | --cache-file | --cache-fil | --cache-fi \
720 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
721 ac_prev=cache_file ;;
722 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
723 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
724 cache_file=$ac_optarg ;;
726 --config-cache | -C)
727 cache_file=config.cache ;;
729 -datadir | --datadir | --datadi | --datad)
730 ac_prev=datadir ;;
731 -datadir=* | --datadir=* | --datadi=* | --datad=*)
732 datadir=$ac_optarg ;;
734 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
735 | --dataroo | --dataro | --datar)
736 ac_prev=datarootdir ;;
737 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
738 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
739 datarootdir=$ac_optarg ;;
741 -disable-* | --disable-*)
742 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
745 as_fn_error $? "invalid feature name: $ac_useropt"
746 ac_useropt_orig=$ac_useropt
747 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
748 case $ac_user_opts in
750 "enable_$ac_useropt"
751 "*) ;;
752 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
753 ac_unrecognized_sep=', ';;
754 esac
755 eval enable_$ac_useropt=no ;;
757 -docdir | --docdir | --docdi | --doc | --do)
758 ac_prev=docdir ;;
759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
760 docdir=$ac_optarg ;;
762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
763 ac_prev=dvidir ;;
764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
765 dvidir=$ac_optarg ;;
767 -enable-* | --enable-*)
768 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771 as_fn_error $? "invalid feature name: $ac_useropt"
772 ac_useropt_orig=$ac_useropt
773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774 case $ac_user_opts in
776 "enable_$ac_useropt"
777 "*) ;;
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
779 ac_unrecognized_sep=', ';;
780 esac
781 eval enable_$ac_useropt=\$ac_optarg ;;
783 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
784 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
785 | --exec | --exe | --ex)
786 ac_prev=exec_prefix ;;
787 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
788 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
789 | --exec=* | --exe=* | --ex=*)
790 exec_prefix=$ac_optarg ;;
792 -gas | --gas | --ga | --g)
793 # Obsolete; use --with-gas.
794 with_gas=yes ;;
796 -help | --help | --hel | --he | -h)
797 ac_init_help=long ;;
798 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
799 ac_init_help=recursive ;;
800 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
801 ac_init_help=short ;;
803 -host | --host | --hos | --ho)
804 ac_prev=host_alias ;;
805 -host=* | --host=* | --hos=* | --ho=*)
806 host_alias=$ac_optarg ;;
808 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
809 ac_prev=htmldir ;;
810 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
811 | --ht=*)
812 htmldir=$ac_optarg ;;
814 -includedir | --includedir | --includedi | --included | --include \
815 | --includ | --inclu | --incl | --inc)
816 ac_prev=includedir ;;
817 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
818 | --includ=* | --inclu=* | --incl=* | --inc=*)
819 includedir=$ac_optarg ;;
821 -infodir | --infodir | --infodi | --infod | --info | --inf)
822 ac_prev=infodir ;;
823 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
824 infodir=$ac_optarg ;;
826 -libdir | --libdir | --libdi | --libd)
827 ac_prev=libdir ;;
828 -libdir=* | --libdir=* | --libdi=* | --libd=*)
829 libdir=$ac_optarg ;;
831 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
832 | --libexe | --libex | --libe)
833 ac_prev=libexecdir ;;
834 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
835 | --libexe=* | --libex=* | --libe=*)
836 libexecdir=$ac_optarg ;;
838 -localedir | --localedir | --localedi | --localed | --locale)
839 ac_prev=localedir ;;
840 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
841 localedir=$ac_optarg ;;
843 -localstatedir | --localstatedir | --localstatedi | --localstated \
844 | --localstate | --localstat | --localsta | --localst | --locals)
845 ac_prev=localstatedir ;;
846 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
847 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
848 localstatedir=$ac_optarg ;;
850 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
851 ac_prev=mandir ;;
852 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
853 mandir=$ac_optarg ;;
855 -nfp | --nfp | --nf)
856 # Obsolete; use --without-fp.
857 with_fp=no ;;
859 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
860 | --no-cr | --no-c | -n)
861 no_create=yes ;;
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
865 no_recursion=yes ;;
867 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
868 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
869 | --oldin | --oldi | --old | --ol | --o)
870 ac_prev=oldincludedir ;;
871 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
872 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
873 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
874 oldincludedir=$ac_optarg ;;
876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
877 ac_prev=prefix ;;
878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
879 prefix=$ac_optarg ;;
881 -program-prefix | --program-prefix | --program-prefi | --program-pref \
882 | --program-pre | --program-pr | --program-p)
883 ac_prev=program_prefix ;;
884 -program-prefix=* | --program-prefix=* | --program-prefi=* \
885 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
886 program_prefix=$ac_optarg ;;
888 -program-suffix | --program-suffix | --program-suffi | --program-suff \
889 | --program-suf | --program-su | --program-s)
890 ac_prev=program_suffix ;;
891 -program-suffix=* | --program-suffix=* | --program-suffi=* \
892 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
893 program_suffix=$ac_optarg ;;
895 -program-transform-name | --program-transform-name \
896 | --program-transform-nam | --program-transform-na \
897 | --program-transform-n | --program-transform- \
898 | --program-transform | --program-transfor \
899 | --program-transfo | --program-transf \
900 | --program-trans | --program-tran \
901 | --progr-tra | --program-tr | --program-t)
902 ac_prev=program_transform_name ;;
903 -program-transform-name=* | --program-transform-name=* \
904 | --program-transform-nam=* | --program-transform-na=* \
905 | --program-transform-n=* | --program-transform-=* \
906 | --program-transform=* | --program-transfor=* \
907 | --program-transfo=* | --program-transf=* \
908 | --program-trans=* | --program-tran=* \
909 | --progr-tra=* | --program-tr=* | --program-t=*)
910 program_transform_name=$ac_optarg ;;
912 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
913 ac_prev=pdfdir ;;
914 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
915 pdfdir=$ac_optarg ;;
917 -psdir | --psdir | --psdi | --psd | --ps)
918 ac_prev=psdir ;;
919 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
920 psdir=$ac_optarg ;;
922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
923 | -silent | --silent | --silen | --sile | --sil)
924 silent=yes ;;
926 -runstatedir | --runstatedir | --runstatedi | --runstated \
927 | --runstate | --runstat | --runsta | --runst | --runs \
928 | --run | --ru | --r)
929 ac_prev=runstatedir ;;
930 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
931 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
932 | --run=* | --ru=* | --r=*)
933 runstatedir=$ac_optarg ;;
935 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
936 ac_prev=sbindir ;;
937 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
938 | --sbi=* | --sb=*)
939 sbindir=$ac_optarg ;;
941 -sharedstatedir | --sharedstatedir | --sharedstatedi \
942 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
943 | --sharedst | --shareds | --shared | --share | --shar \
944 | --sha | --sh)
945 ac_prev=sharedstatedir ;;
946 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
947 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
948 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
949 | --sha=* | --sh=*)
950 sharedstatedir=$ac_optarg ;;
952 -site | --site | --sit)
953 ac_prev=site ;;
954 -site=* | --site=* | --sit=*)
955 site=$ac_optarg ;;
957 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
958 ac_prev=srcdir ;;
959 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
960 srcdir=$ac_optarg ;;
962 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
963 | --syscon | --sysco | --sysc | --sys | --sy)
964 ac_prev=sysconfdir ;;
965 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
966 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
967 sysconfdir=$ac_optarg ;;
969 -target | --target | --targe | --targ | --tar | --ta | --t)
970 ac_prev=target_alias ;;
971 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
972 target_alias=$ac_optarg ;;
974 -v | -verbose | --verbose | --verbos | --verbo | --verb)
975 verbose=yes ;;
977 -version | --version | --versio | --versi | --vers | -V)
978 ac_init_version=: ;;
980 -with-* | --with-*)
981 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 as_fn_error $? "invalid package name: $ac_useropt"
985 ac_useropt_orig=$ac_useropt
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
989 "with_$ac_useropt"
990 "*) ;;
991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
992 ac_unrecognized_sep=', ';;
993 esac
994 eval with_$ac_useropt=\$ac_optarg ;;
996 -without-* | --without-*)
997 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000 as_fn_error $? "invalid package name: $ac_useropt"
1001 ac_useropt_orig=$ac_useropt
1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "with_$ac_useropt"
1006 "*) ;;
1007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1008 ac_unrecognized_sep=', ';;
1009 esac
1010 eval with_$ac_useropt=no ;;
1012 --x)
1013 # Obsolete; use --with-x.
1014 with_x=yes ;;
1016 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1017 | --x-incl | --x-inc | --x-in | --x-i)
1018 ac_prev=x_includes ;;
1019 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1020 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1021 x_includes=$ac_optarg ;;
1023 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1024 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1025 ac_prev=x_libraries ;;
1026 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1027 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1028 x_libraries=$ac_optarg ;;
1030 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1031 Try \`$0 --help' for more information"
1034 *=*)
1035 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1036 # Reject names that are not valid shell variable names.
1037 case $ac_envvar in #(
1038 '' | [0-9]* | *[!_$as_cr_alnum]* )
1039 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1040 esac
1041 eval $ac_envvar=\$ac_optarg
1042 export $ac_envvar ;;
1045 # FIXME: should be removed in autoconf 3.0.
1046 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1047 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1049 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1052 esac
1053 done
1055 if test -n "$ac_prev"; then
1056 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1057 as_fn_error $? "missing argument to $ac_option"
1060 if test -n "$ac_unrecognized_opts"; then
1061 case $enable_option_checking in
1062 no) ;;
1063 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1064 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1065 esac
1068 # Check all directory arguments for consistency.
1069 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1070 datadir sysconfdir sharedstatedir localstatedir includedir \
1071 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1072 libdir localedir mandir runstatedir
1074 eval ac_val=\$$ac_var
1075 # Remove trailing slashes.
1076 case $ac_val in
1077 */ )
1078 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1079 eval $ac_var=\$ac_val;;
1080 esac
1081 # Be sure to have absolute directory names.
1082 case $ac_val in
1083 [\\/$]* | ?:[\\/]* ) continue;;
1084 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1085 esac
1086 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1087 done
1089 # There might be people who depend on the old broken behavior: `$host'
1090 # used to hold the argument of --host etc.
1091 # FIXME: To remove some day.
1092 build=$build_alias
1093 host=$host_alias
1094 target=$target_alias
1096 # FIXME: To remove some day.
1097 if test "x$host_alias" != x; then
1098 if test "x$build_alias" = x; then
1099 cross_compiling=maybe
1100 elif test "x$build_alias" != "x$host_alias"; then
1101 cross_compiling=yes
1105 ac_tool_prefix=
1106 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1108 test "$silent" = yes && exec 6>/dev/null
1111 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1112 ac_ls_di=`ls -di .` &&
1113 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1114 as_fn_error $? "working directory cannot be determined"
1115 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1116 as_fn_error $? "pwd does not report name of working directory"
1119 # Find the source files, if location was not specified.
1120 if test -z "$srcdir"; then
1121 ac_srcdir_defaulted=yes
1122 # Try the directory containing this script, then the parent directory.
1123 ac_confdir=`$as_dirname -- "$as_myself" ||
1124 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1125 X"$as_myself" : 'X\(//\)[^/]' \| \
1126 X"$as_myself" : 'X\(//\)$' \| \
1127 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1128 $as_echo X"$as_myself" |
1129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1130 s//\1/
1133 /^X\(\/\/\)[^/].*/{
1134 s//\1/
1137 /^X\(\/\/\)$/{
1138 s//\1/
1141 /^X\(\/\).*/{
1142 s//\1/
1145 s/.*/./; q'`
1146 srcdir=$ac_confdir
1147 if test ! -r "$srcdir/$ac_unique_file"; then
1148 srcdir=..
1150 else
1151 ac_srcdir_defaulted=no
1153 if test ! -r "$srcdir/$ac_unique_file"; then
1154 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1155 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1157 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1158 ac_abs_confdir=`(
1159 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1160 pwd)`
1161 # When building in place, set srcdir=.
1162 if test "$ac_abs_confdir" = "$ac_pwd"; then
1163 srcdir=.
1165 # Remove unnecessary trailing slashes from srcdir.
1166 # Double slashes in file names in object file debugging info
1167 # mess up M-x gdb in Emacs.
1168 case $srcdir in
1169 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1170 esac
1171 for ac_var in $ac_precious_vars; do
1172 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1173 eval ac_env_${ac_var}_value=\$${ac_var}
1174 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1175 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1176 done
1179 # Report the --help message.
1181 if test "$ac_init_help" = "long"; then
1182 # Omit some internal or obsolete options to make the list less imposing.
1183 # This message is too long to be a string in the A/UX 3.1 sh.
1184 cat <<_ACEOF
1185 \`configure' configures Test for autoconf brokenness 0 to adapt to many kinds of systems.
1187 Usage: $0 [OPTION]... [VAR=VALUE]...
1189 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1190 VAR=VALUE. See below for descriptions of some of the useful variables.
1192 Defaults for the options are specified in brackets.
1194 Configuration:
1195 -h, --help display this help and exit
1196 --help=short display options specific to this package
1197 --help=recursive display the short help of all the included packages
1198 -V, --version display version information and exit
1199 -q, --quiet, --silent do not print \`checking ...' messages
1200 --cache-file=FILE cache test results in FILE [disabled]
1201 -C, --config-cache alias for \`--cache-file=config.cache'
1202 -n, --no-create do not create output files
1203 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1205 Installation directories:
1206 --prefix=PREFIX install architecture-independent files in PREFIX
1207 [$ac_default_prefix]
1208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1209 [PREFIX]
1211 By default, \`make install' will install all the files in
1212 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1213 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1214 for instance \`--prefix=\$HOME'.
1216 For better control, use the options below.
1218 Fine tuning of the installation directories:
1219 --bindir=DIR user executables [EPREFIX/bin]
1220 --sbindir=DIR system admin executables [EPREFIX/sbin]
1221 --libexecdir=DIR program executables [EPREFIX/libexec]
1222 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1223 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1224 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1225 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1226 --libdir=DIR object code libraries [EPREFIX/lib]
1227 --includedir=DIR C header files [PREFIX/include]
1228 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1229 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1230 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1231 --infodir=DIR info documentation [DATAROOTDIR/info]
1232 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1233 --mandir=DIR man documentation [DATAROOTDIR/man]
1234 --docdir=DIR documentation root [DATAROOTDIR/doc/test]
1235 --htmldir=DIR html documentation [DOCDIR]
1236 --dvidir=DIR dvi documentation [DOCDIR]
1237 --pdfdir=DIR pdf documentation [DOCDIR]
1238 --psdir=DIR ps documentation [DOCDIR]
1239 _ACEOF
1241 cat <<\_ACEOF
1242 _ACEOF
1245 if test -n "$ac_init_help"; then
1246 case $ac_init_help in
1247 short | recursive ) echo "Configuration of Test for autoconf brokenness 0:";;
1248 esac
1249 cat <<\_ACEOF
1251 Report bugs to <none@example.com>.
1252 _ACEOF
1253 ac_status=$?
1256 if test "$ac_init_help" = "recursive"; then
1257 # If there are subdirs, report their specific --help.
1258 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1259 test -d "$ac_dir" ||
1260 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1261 continue
1262 ac_builddir=.
1264 case "$ac_dir" in
1265 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1267 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1268 # A ".." for each directory in $ac_dir_suffix.
1269 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1270 case $ac_top_builddir_sub in
1271 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1272 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1273 esac ;;
1274 esac
1275 ac_abs_top_builddir=$ac_pwd
1276 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1277 # for backward compatibility:
1278 ac_top_builddir=$ac_top_build_prefix
1280 case $srcdir in
1281 .) # We are building in place.
1282 ac_srcdir=.
1283 ac_top_srcdir=$ac_top_builddir_sub
1284 ac_abs_top_srcdir=$ac_pwd ;;
1285 [\\/]* | ?:[\\/]* ) # Absolute name.
1286 ac_srcdir=$srcdir$ac_dir_suffix;
1287 ac_top_srcdir=$srcdir
1288 ac_abs_top_srcdir=$srcdir ;;
1289 *) # Relative name.
1290 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1291 ac_top_srcdir=$ac_top_build_prefix$srcdir
1292 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1293 esac
1294 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1296 cd "$ac_dir" || { ac_status=$?; continue; }
1297 # Check for guested configure.
1298 if test -f "$ac_srcdir/configure.gnu"; then
1299 echo &&
1300 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1301 elif test -f "$ac_srcdir/configure"; then
1302 echo &&
1303 $SHELL "$ac_srcdir/configure" --help=recursive
1304 else
1305 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1306 fi || ac_status=$?
1307 cd "$ac_pwd" || { ac_status=$?; break; }
1308 done
1311 test -n "$ac_init_help" && exit $ac_status
1312 if $ac_init_version; then
1313 cat <<\_ACEOF
1314 Test for autoconf brokenness configure 0
1315 generated by GNU Autoconf 2.69
1317 Copyright (C) 2012 Free Software Foundation, Inc.
1318 This configure script is free software; the Free Software Foundation
1319 gives unlimited permission to copy, distribute and modify it.
1320 _ACEOF
1321 exit
1324 ## ------------------------ ##
1325 ## Autoconf initialization. ##
1326 ## ------------------------ ##
1327 cat >config.log <<_ACEOF
1328 This file contains any messages produced by compilers while
1329 running configure, to aid debugging if configure makes a mistake.
1331 It was created by Test for autoconf brokenness $as_me 0, which was
1332 generated by GNU Autoconf 2.69. Invocation command line was
1334 $ $0 $@
1336 _ACEOF
1337 exec 5>>config.log
1339 cat <<_ASUNAME
1340 ## --------- ##
1341 ## Platform. ##
1342 ## --------- ##
1344 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1345 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1346 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1347 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1348 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1350 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1351 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1353 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1354 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1355 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1356 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1357 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1358 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1359 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1361 _ASUNAME
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364 for as_dir in $PATH
1366 IFS=$as_save_IFS
1367 test -z "$as_dir" && as_dir=.
1368 $as_echo "PATH: $as_dir"
1369 done
1370 IFS=$as_save_IFS
1372 } >&5
1374 cat >&5 <<_ACEOF
1377 ## ----------- ##
1378 ## Core tests. ##
1379 ## ----------- ##
1381 _ACEOF
1384 # Keep a trace of the command line.
1385 # Strip out --no-create and --no-recursion so they do not pile up.
1386 # Strip out --silent because we don't want to record it for future runs.
1387 # Also quote any args containing shell meta-characters.
1388 # Make two passes to allow for proper duplicate-argument suppression.
1389 ac_configure_args=
1390 ac_configure_args0=
1391 ac_configure_args1=
1392 ac_must_keep_next=false
1393 for ac_pass in 1 2
1395 for ac_arg
1397 case $ac_arg in
1398 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400 | -silent | --silent | --silen | --sile | --sil)
1401 continue ;;
1402 *\'*)
1403 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1404 esac
1405 case $ac_pass in
1406 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1408 as_fn_append ac_configure_args1 " '$ac_arg'"
1409 if test $ac_must_keep_next = true; then
1410 ac_must_keep_next=false # Got value, back to normal.
1411 else
1412 case $ac_arg in
1413 *=* | --config-cache | -C | -disable-* | --disable-* \
1414 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1415 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1416 | -with-* | --with-* | -without-* | --without-* | --x)
1417 case "$ac_configure_args0 " in
1418 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1419 esac
1421 -* ) ac_must_keep_next=true ;;
1422 esac
1424 as_fn_append ac_configure_args " '$ac_arg'"
1426 esac
1427 done
1428 done
1429 { ac_configure_args0=; unset ac_configure_args0;}
1430 { ac_configure_args1=; unset ac_configure_args1;}
1432 # When interrupted or exit'd, cleanup temporary files, and complete
1433 # config.log. We remove comments because anyway the quotes in there
1434 # would cause problems or look ugly.
1435 # WARNING: Use '\'' to represent an apostrophe within the trap.
1436 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1437 trap 'exit_status=$?
1438 # Save into config.log some information that might help in debugging.
1440 echo
1442 $as_echo "## ---------------- ##
1443 ## Cache variables. ##
1444 ## ---------------- ##"
1445 echo
1446 # The following way of writing the cache mishandles newlines in values,
1448 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1449 eval ac_val=\$$ac_var
1450 case $ac_val in #(
1451 *${as_nl}*)
1452 case $ac_var in #(
1453 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1455 esac
1456 case $ac_var in #(
1457 _ | IFS | as_nl) ;; #(
1458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1459 *) { eval $ac_var=; unset $ac_var;} ;;
1460 esac ;;
1461 esac
1462 done
1463 (set) 2>&1 |
1464 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1465 *${as_nl}ac_space=\ *)
1466 sed -n \
1467 "s/'\''/'\''\\\\'\'''\''/g;
1468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1469 ;; #(
1471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1473 esac |
1474 sort
1476 echo
1478 $as_echo "## ----------------- ##
1479 ## Output variables. ##
1480 ## ----------------- ##"
1481 echo
1482 for ac_var in $ac_subst_vars
1484 eval ac_val=\$$ac_var
1485 case $ac_val in
1486 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487 esac
1488 $as_echo "$ac_var='\''$ac_val'\''"
1489 done | sort
1490 echo
1492 if test -n "$ac_subst_files"; then
1493 $as_echo "## ------------------- ##
1494 ## File substitutions. ##
1495 ## ------------------- ##"
1496 echo
1497 for ac_var in $ac_subst_files
1499 eval ac_val=\$$ac_var
1500 case $ac_val in
1501 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1502 esac
1503 $as_echo "$ac_var='\''$ac_val'\''"
1504 done | sort
1505 echo
1508 if test -s confdefs.h; then
1509 $as_echo "## ----------- ##
1510 ## confdefs.h. ##
1511 ## ----------- ##"
1512 echo
1513 cat confdefs.h
1514 echo
1516 test "$ac_signal" != 0 &&
1517 $as_echo "$as_me: caught signal $ac_signal"
1518 $as_echo "$as_me: exit $exit_status"
1519 } >&5
1520 rm -f core *.core core.conftest.* &&
1521 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1522 exit $exit_status
1524 for ac_signal in 1 2 13 15; do
1525 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1526 done
1527 ac_signal=0
1529 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1530 rm -f -r conftest* confdefs.h
1532 $as_echo "/* confdefs.h */" > confdefs.h
1534 # Predefined preprocessor variables.
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_NAME "$PACKAGE_NAME"
1538 _ACEOF
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1542 _ACEOF
1544 cat >>confdefs.h <<_ACEOF
1545 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1546 _ACEOF
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_STRING "$PACKAGE_STRING"
1550 _ACEOF
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1554 _ACEOF
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_URL "$PACKAGE_URL"
1558 _ACEOF
1561 # Let the site file select an alternate cache file if it wants to.
1562 # Prefer an explicitly selected file to automatically selected ones.
1563 ac_site_file1=NONE
1564 ac_site_file2=NONE
1565 if test -n "$CONFIG_SITE"; then
1566 # We do not want a PATH search for config.site.
1567 case $CONFIG_SITE in #((
1568 -*) ac_site_file1=./$CONFIG_SITE;;
1569 */*) ac_site_file1=$CONFIG_SITE;;
1570 *) ac_site_file1=./$CONFIG_SITE;;
1571 esac
1572 elif test "x$prefix" != xNONE; then
1573 ac_site_file1=$prefix/share/config.site
1574 ac_site_file2=$prefix/etc/config.site
1575 else
1576 ac_site_file1=$ac_default_prefix/share/config.site
1577 ac_site_file2=$ac_default_prefix/etc/config.site
1579 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1581 test "x$ac_site_file" = xNONE && continue
1582 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1584 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file" \
1587 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1589 as_fn_error $? "failed to load site script $ac_site_file
1590 See \`config.log' for more details" "$LINENO" 5; }
1592 done
1594 if test -r "$cache_file"; then
1595 # Some versions of bash will fail to source /dev/null (special files
1596 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1597 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1599 $as_echo "$as_me: loading cache $cache_file" >&6;}
1600 case $cache_file in
1601 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1602 *) . "./$cache_file";;
1603 esac
1605 else
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1607 $as_echo "$as_me: creating cache $cache_file" >&6;}
1608 >$cache_file
1611 # Check that the precious variables saved in the cache have kept the same
1612 # value.
1613 ac_cache_corrupted=false
1614 for ac_var in $ac_precious_vars; do
1615 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1616 eval ac_new_set=\$ac_env_${ac_var}_set
1617 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1618 eval ac_new_val=\$ac_env_${ac_var}_value
1619 case $ac_old_set,$ac_new_set in
1620 set,)
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1622 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1624 ,set)
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1626 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1627 ac_cache_corrupted=: ;;
1628 ,);;
1630 if test "x$ac_old_val" != "x$ac_new_val"; then
1631 # differences in whitespace do not lead to failure.
1632 ac_old_val_w=`echo x $ac_old_val`
1633 ac_new_val_w=`echo x $ac_new_val`
1634 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1636 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1637 ac_cache_corrupted=:
1638 else
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1640 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1641 eval $ac_var=\$ac_old_val
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1644 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1646 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1647 fi;;
1648 esac
1649 # Pass precious variables to config.status.
1650 if test "$ac_new_set" = set; then
1651 case $ac_new_val in
1652 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1653 *) ac_arg=$ac_var=$ac_new_val ;;
1654 esac
1655 case " $ac_configure_args " in
1656 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1657 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1658 esac
1660 done
1661 if $ac_cache_corrupted; then
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1665 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1666 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1668 ## -------------------- ##
1669 ## Main body of script. ##
1670 ## -------------------- ##
1672 ac_ext=c
1673 ac_cpp='$CPP $CPPFLAGS'
1674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1680 ac_config_files="$ac_config_files test.buildinfo"
1683 cat >confcache <<\_ACEOF
1684 # This file is a shell script that caches the results of configure
1685 # tests run on this system so they can be shared between configure
1686 # scripts and configure runs, see configure's option --config-cache.
1687 # It is not useful on other systems. If it contains results you don't
1688 # want to keep, you may remove or edit it.
1690 # config.status only pays attention to the cache file if you give it
1691 # the --recheck option to rerun configure.
1693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1695 # following values.
1697 _ACEOF
1699 # The following way of writing the cache mishandles newlines in values,
1700 # but we know of no workaround that is simple, portable, and efficient.
1701 # So, we kill variables containing newlines.
1702 # Ultrix sh set writes to stderr and can't be redirected directly,
1703 # and sets the high bit in the cache file unless we assign to the vars.
1705 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1706 eval ac_val=\$$ac_var
1707 case $ac_val in #(
1708 *${as_nl}*)
1709 case $ac_var in #(
1710 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1711 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1712 esac
1713 case $ac_var in #(
1714 _ | IFS | as_nl) ;; #(
1715 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1716 *) { eval $ac_var=; unset $ac_var;} ;;
1717 esac ;;
1718 esac
1719 done
1721 (set) 2>&1 |
1722 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1723 *${as_nl}ac_space=\ *)
1724 # `set' does not quote correctly, so add quotes: double-quote
1725 # substitution turns \\\\ into \\, and sed turns \\ into \.
1726 sed -n \
1727 "s/'/'\\\\''/g;
1728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1729 ;; #(
1731 # `set' quotes correctly as required by POSIX, so do not add quotes.
1732 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1734 esac |
1735 sort
1737 sed '
1738 /^ac_cv_env_/b end
1739 t clear
1740 :clear
1741 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1742 t end
1743 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1744 :end' >>confcache
1745 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1746 if test -w "$cache_file"; then
1747 if test "x$cache_file" != "x/dev/null"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1749 $as_echo "$as_me: updating cache $cache_file" >&6;}
1750 if test ! -f "$cache_file" || test -h "$cache_file"; then
1751 cat confcache >"$cache_file"
1752 else
1753 case $cache_file in #(
1754 */* | ?:*)
1755 mv -f confcache "$cache_file"$$ &&
1756 mv -f "$cache_file"$$ "$cache_file" ;; #(
1758 mv -f confcache "$cache_file" ;;
1759 esac
1762 else
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1764 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1767 rm -f confcache
1769 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1770 # Let make expand exec_prefix.
1771 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1773 # Transform confdefs.h into DEFS.
1774 # Protect against shell expansion while executing Makefile rules.
1775 # Protect against Makefile macro expansion.
1777 # If the first sed substitution is executed (which looks for macros that
1778 # take arguments), then branch to the quote section. Otherwise,
1779 # look for a macro that doesn't take arguments.
1780 ac_script='
1781 :mline
1782 /\\$/{
1784 s,\\\n,,
1785 b mline
1787 t clear
1788 :clear
1789 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1790 t quote
1791 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1792 t quote
1793 b any
1794 :quote
1795 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1796 s/\[/\\&/g
1797 s/\]/\\&/g
1798 s/\$/$$/g
1800 :any
1803 s/^\n//
1804 s/\n/ /g
1808 DEFS=`sed -n "$ac_script" confdefs.h`
1811 ac_libobjs=
1812 ac_ltlibobjs=
1814 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1815 # 1. Remove the extension, and $U if already installed.
1816 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1817 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1818 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1819 # will be set to the directory where LIBOBJS objects are built.
1820 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1821 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1822 done
1823 LIBOBJS=$ac_libobjs
1825 LTLIBOBJS=$ac_ltlibobjs
1829 : "${CONFIG_STATUS=./config.status}"
1830 ac_write_fail=0
1831 ac_clean_files_save=$ac_clean_files
1832 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1834 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1835 as_write_fail=0
1836 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1837 #! $SHELL
1838 # Generated by $as_me.
1839 # Run this file to recreate the current configuration.
1840 # Compiler output produced by configure, useful for debugging
1841 # configure, is in config.log if it exists.
1843 debug=false
1844 ac_cs_recheck=false
1845 ac_cs_silent=false
1847 SHELL=\${CONFIG_SHELL-$SHELL}
1848 export SHELL
1849 _ASEOF
1850 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1851 ## -------------------- ##
1852 ## M4sh Initialization. ##
1853 ## -------------------- ##
1855 # Be more Bourne compatible
1856 DUALCASE=1; export DUALCASE # for MKS sh
1857 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1858 emulate sh
1859 NULLCMD=:
1860 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1861 # is contrary to our usage. Disable this feature.
1862 alias -g '${1+"$@"}'='"$@"'
1863 setopt NO_GLOB_SUBST
1864 else
1865 case `(set -o) 2>/dev/null` in #(
1866 *posix*) :
1867 set -o posix ;; #(
1868 *) :
1870 esac
1874 as_nl='
1876 export as_nl
1877 # Printing a long string crashes Solaris 7 /usr/bin/printf.
1878 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1880 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1881 # Prefer a ksh shell builtin over an external printf program on Solaris,
1882 # but without wasting forks for bash or zsh.
1883 if test -z "$BASH_VERSION$ZSH_VERSION" \
1884 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1885 as_echo='print -r --'
1886 as_echo_n='print -rn --'
1887 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1888 as_echo='printf %s\n'
1889 as_echo_n='printf %s'
1890 else
1891 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1892 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1893 as_echo_n='/usr/ucb/echo -n'
1894 else
1895 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1896 as_echo_n_body='eval
1897 arg=$1;
1898 case $arg in #(
1899 *"$as_nl"*)
1900 expr "X$arg" : "X\\(.*\\)$as_nl";
1901 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1902 esac;
1903 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1905 export as_echo_n_body
1906 as_echo_n='sh -c $as_echo_n_body as_echo'
1908 export as_echo_body
1909 as_echo='sh -c $as_echo_body as_echo'
1912 # The user is always right.
1913 if test "${PATH_SEPARATOR+set}" != set; then
1914 PATH_SEPARATOR=:
1915 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1916 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1917 PATH_SEPARATOR=';'
1922 # IFS
1923 # We need space, tab and new line, in precisely that order. Quoting is
1924 # there to prevent editors from complaining about space-tab.
1925 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1926 # splitting by setting IFS to empty value.)
1927 IFS=" "" $as_nl"
1929 # Find who we are. Look in the path if we contain no directory separator.
1930 as_myself=
1931 case $0 in #((
1932 *[\\/]* ) as_myself=$0 ;;
1933 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 for as_dir in $PATH
1936 IFS=$as_save_IFS
1937 test -z "$as_dir" && as_dir=.
1938 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1939 done
1940 IFS=$as_save_IFS
1943 esac
1944 # We did not find ourselves, most probably we were run as `sh COMMAND'
1945 # in which case we are not to be found in the path.
1946 if test "x$as_myself" = x; then
1947 as_myself=$0
1949 if test ! -f "$as_myself"; then
1950 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1951 exit 1
1954 # Unset variables that we do not need and which cause bugs (e.g. in
1955 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
1956 # suppresses any "Segmentation fault" message there. '((' could
1957 # trigger a bug in pdksh 5.2.14.
1958 for as_var in BASH_ENV ENV MAIL MAILPATH
1959 do eval test x\${$as_var+set} = xset \
1960 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1961 done
1962 PS1='$ '
1963 PS2='> '
1964 PS4='+ '
1966 # NLS nuisances.
1967 LC_ALL=C
1968 export LC_ALL
1969 LANGUAGE=C
1970 export LANGUAGE
1972 # CDPATH.
1973 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1976 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1977 # ----------------------------------------
1978 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1979 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1980 # script with STATUS, using 1 if that was 0.
1981 as_fn_error ()
1983 as_status=$1; test $as_status -eq 0 && as_status=1
1984 if test "$4"; then
1985 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1988 $as_echo "$as_me: error: $2" >&2
1989 as_fn_exit $as_status
1990 } # as_fn_error
1993 # as_fn_set_status STATUS
1994 # -----------------------
1995 # Set $? to STATUS, without forking.
1996 as_fn_set_status ()
1998 return $1
1999 } # as_fn_set_status
2001 # as_fn_exit STATUS
2002 # -----------------
2003 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2004 as_fn_exit ()
2006 set +e
2007 as_fn_set_status $1
2008 exit $1
2009 } # as_fn_exit
2011 # as_fn_unset VAR
2012 # ---------------
2013 # Portably unset VAR.
2014 as_fn_unset ()
2016 { eval $1=; unset $1;}
2018 as_unset=as_fn_unset
2019 # as_fn_append VAR VALUE
2020 # ----------------------
2021 # Append the text in VALUE to the end of the definition contained in VAR. Take
2022 # advantage of any shell optimizations that allow amortized linear growth over
2023 # repeated appends, instead of the typical quadratic growth present in naive
2024 # implementations.
2025 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2026 eval 'as_fn_append ()
2028 eval $1+=\$2
2030 else
2031 as_fn_append ()
2033 eval $1=\$$1\$2
2035 fi # as_fn_append
2037 # as_fn_arith ARG...
2038 # ------------------
2039 # Perform arithmetic evaluation on the ARGs, and store the result in the
2040 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2041 # must be portable across $(()) and expr.
2042 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2043 eval 'as_fn_arith ()
2045 as_val=$(( $* ))
2047 else
2048 as_fn_arith ()
2050 as_val=`expr "$@" || test $? -eq 1`
2052 fi # as_fn_arith
2055 if expr a : '\(a\)' >/dev/null 2>&1 &&
2056 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2057 as_expr=expr
2058 else
2059 as_expr=false
2062 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2063 as_basename=basename
2064 else
2065 as_basename=false
2068 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2069 as_dirname=dirname
2070 else
2071 as_dirname=false
2074 as_me=`$as_basename -- "$0" ||
2075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2076 X"$0" : 'X\(//\)$' \| \
2077 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2078 $as_echo X/"$0" |
2079 sed '/^.*\/\([^/][^/]*\)\/*$/{
2080 s//\1/
2083 /^X\/\(\/\/\)$/{
2084 s//\1/
2087 /^X\/\(\/\).*/{
2088 s//\1/
2091 s/.*/./; q'`
2093 # Avoid depending upon Character Ranges.
2094 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2095 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2096 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2097 as_cr_digits='0123456789'
2098 as_cr_alnum=$as_cr_Letters$as_cr_digits
2100 ECHO_C= ECHO_N= ECHO_T=
2101 case `echo -n x` in #(((((
2102 -n*)
2103 case `echo 'xy\c'` in
2104 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2105 xy) ECHO_C='\c';;
2106 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2107 ECHO_T=' ';;
2108 esac;;
2110 ECHO_N='-n';;
2111 esac
2113 rm -f conf$$ conf$$.exe conf$$.file
2114 if test -d conf$$.dir; then
2115 rm -f conf$$.dir/conf$$.file
2116 else
2117 rm -f conf$$.dir
2118 mkdir conf$$.dir 2>/dev/null
2120 if (echo >conf$$.file) 2>/dev/null; then
2121 if ln -s conf$$.file conf$$ 2>/dev/null; then
2122 as_ln_s='ln -s'
2123 # ... but there are two gotchas:
2124 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2125 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2126 # In both cases, we have to default to `cp -pR'.
2127 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2128 as_ln_s='cp -pR'
2129 elif ln conf$$.file conf$$ 2>/dev/null; then
2130 as_ln_s=ln
2131 else
2132 as_ln_s='cp -pR'
2134 else
2135 as_ln_s='cp -pR'
2137 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2138 rmdir conf$$.dir 2>/dev/null
2141 # as_fn_mkdir_p
2142 # -------------
2143 # Create "$as_dir" as a directory, including parents if necessary.
2144 as_fn_mkdir_p ()
2147 case $as_dir in #(
2148 -*) as_dir=./$as_dir;;
2149 esac
2150 test -d "$as_dir" || eval $as_mkdir_p || {
2151 as_dirs=
2152 while :; do
2153 case $as_dir in #(
2154 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2155 *) as_qdir=$as_dir;;
2156 esac
2157 as_dirs="'$as_qdir' $as_dirs"
2158 as_dir=`$as_dirname -- "$as_dir" ||
2159 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2160 X"$as_dir" : 'X\(//\)[^/]' \| \
2161 X"$as_dir" : 'X\(//\)$' \| \
2162 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2163 $as_echo X"$as_dir" |
2164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2165 s//\1/
2168 /^X\(\/\/\)[^/].*/{
2169 s//\1/
2172 /^X\(\/\/\)$/{
2173 s//\1/
2176 /^X\(\/\).*/{
2177 s//\1/
2180 s/.*/./; q'`
2181 test -d "$as_dir" && break
2182 done
2183 test -z "$as_dirs" || eval "mkdir $as_dirs"
2184 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2187 } # as_fn_mkdir_p
2188 if mkdir -p . 2>/dev/null; then
2189 as_mkdir_p='mkdir -p "$as_dir"'
2190 else
2191 test -d ./-p && rmdir ./-p
2192 as_mkdir_p=false
2196 # as_fn_executable_p FILE
2197 # -----------------------
2198 # Test if FILE is an executable regular file.
2199 as_fn_executable_p ()
2201 test -f "$1" && test -x "$1"
2202 } # as_fn_executable_p
2203 as_test_x='test -x'
2204 as_executable_p=as_fn_executable_p
2206 # Sed expression to map a string onto a valid CPP name.
2207 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2209 # Sed expression to map a string onto a valid variable name.
2210 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2213 exec 6>&1
2214 ## ----------------------------------- ##
2215 ## Main body of $CONFIG_STATUS script. ##
2216 ## ----------------------------------- ##
2217 _ASEOF
2218 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2221 # Save the log message, to keep $0 and so on meaningful, and to
2222 # report actual input values of CONFIG_FILES etc. instead of their
2223 # values after options handling.
2224 ac_log="
2225 This file was extended by Test for autoconf brokenness $as_me 0, which was
2226 generated by GNU Autoconf 2.69. Invocation command line was
2228 CONFIG_FILES = $CONFIG_FILES
2229 CONFIG_HEADERS = $CONFIG_HEADERS
2230 CONFIG_LINKS = $CONFIG_LINKS
2231 CONFIG_COMMANDS = $CONFIG_COMMANDS
2232 $ $0 $@
2234 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2237 _ACEOF
2239 case $ac_config_files in *"
2240 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2241 esac
2245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2246 # Files that config.status was made for.
2247 config_files="$ac_config_files"
2249 _ACEOF
2251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2252 ac_cs_usage="\
2253 \`$as_me' instantiates files and other configuration actions
2254 from templates according to the current configuration. Unless the files
2255 and actions are specified as TAGs, all are instantiated by default.
2257 Usage: $0 [OPTION]... [TAG]...
2259 -h, --help print this help, then exit
2260 -V, --version print version number and configuration settings, then exit
2261 --config print configuration, then exit
2262 -q, --quiet, --silent
2263 do not print progress messages
2264 -d, --debug don't remove temporary files
2265 --recheck update $as_me by reconfiguring in the same conditions
2266 --file=FILE[:TEMPLATE]
2267 instantiate the configuration file FILE
2269 Configuration files:
2270 $config_files
2272 Report bugs to <none@example.com>."
2274 _ACEOF
2275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2276 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2277 ac_cs_version="\\
2278 Test for autoconf brokenness config.status 0
2279 configured by $0, generated by GNU Autoconf 2.69,
2280 with options \\"\$ac_cs_config\\"
2282 Copyright (C) 2012 Free Software Foundation, Inc.
2283 This config.status script is free software; the Free Software Foundation
2284 gives unlimited permission to copy, distribute and modify it."
2286 ac_pwd='$ac_pwd'
2287 srcdir='$srcdir'
2288 test -n "\$AWK" || AWK=awk
2289 _ACEOF
2291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2292 # The default lists apply if the user does not specify any file.
2293 ac_need_defaults=:
2294 while test $# != 0
2296 case $1 in
2297 --*=?*)
2298 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2299 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2300 ac_shift=:
2302 --*=)
2303 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2304 ac_optarg=
2305 ac_shift=:
2308 ac_option=$1
2309 ac_optarg=$2
2310 ac_shift=shift
2312 esac
2314 case $ac_option in
2315 # Handling of the options.
2316 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2317 ac_cs_recheck=: ;;
2318 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2319 $as_echo "$ac_cs_version"; exit ;;
2320 --config | --confi | --conf | --con | --co | --c )
2321 $as_echo "$ac_cs_config"; exit ;;
2322 --debug | --debu | --deb | --de | --d | -d )
2323 debug=: ;;
2324 --file | --fil | --fi | --f )
2325 $ac_shift
2326 case $ac_optarg in
2327 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2328 '') as_fn_error $? "missing file argument" ;;
2329 esac
2330 as_fn_append CONFIG_FILES " '$ac_optarg'"
2331 ac_need_defaults=false;;
2332 --he | --h | --help | --hel | -h )
2333 $as_echo "$ac_cs_usage"; exit ;;
2334 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2335 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2336 ac_cs_silent=: ;;
2338 # This is an error.
2339 -*) as_fn_error $? "unrecognized option: \`$1'
2340 Try \`$0 --help' for more information." ;;
2342 *) as_fn_append ac_config_targets " $1"
2343 ac_need_defaults=false ;;
2345 esac
2346 shift
2347 done
2349 ac_configure_extra_args=
2351 if $ac_cs_silent; then
2352 exec 6>/dev/null
2353 ac_configure_extra_args="$ac_configure_extra_args --silent"
2356 _ACEOF
2357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2358 if \$ac_cs_recheck; then
2359 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2360 shift
2361 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2362 CONFIG_SHELL='$SHELL'
2363 export CONFIG_SHELL
2364 exec "\$@"
2367 _ACEOF
2368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2369 exec 5>>config.log
2371 echo
2372 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2373 ## Running $as_me. ##
2374 _ASBOX
2375 $as_echo "$ac_log"
2376 } >&5
2378 _ACEOF
2379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2380 _ACEOF
2382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2384 # Handling of arguments.
2385 for ac_config_target in $ac_config_targets
2387 case $ac_config_target in
2388 "test.buildinfo") CONFIG_FILES="$CONFIG_FILES test.buildinfo" ;;
2390 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2391 esac
2392 done
2395 # If the user did not use the arguments to specify the items to instantiate,
2396 # then the envvar interface is used. Set only those that are not.
2397 # We use the long form for the default assignment because of an extremely
2398 # bizarre bug on SunOS 4.1.3.
2399 if $ac_need_defaults; then
2400 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2403 # Have a temporary directory for convenience. Make it in the build tree
2404 # simply because there is no reason against having it here, and in addition,
2405 # creating and moving files from /tmp can sometimes cause problems.
2406 # Hook for its removal unless debugging.
2407 # Note that there is a small window in which the directory will not be cleaned:
2408 # after its creation but before its name has been assigned to `$tmp'.
2409 $debug ||
2411 tmp= ac_tmp=
2412 trap 'exit_status=$?
2413 : "${ac_tmp:=$tmp}"
2414 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2416 trap 'as_fn_exit 1' 1 2 13 15
2418 # Create a (secure) tmp directory for tmp files.
2421 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2422 test -d "$tmp"
2423 } ||
2425 tmp=./conf$$-$RANDOM
2426 (umask 077 && mkdir "$tmp")
2427 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2428 ac_tmp=$tmp
2430 # Set up the scripts for CONFIG_FILES section.
2431 # No need to generate them if there are no CONFIG_FILES.
2432 # This happens for instance with `./config.status config.h'.
2433 if test -n "$CONFIG_FILES"; then
2436 ac_cr=`echo X | tr X '\015'`
2437 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2438 # But we know of no other shell where ac_cr would be empty at this
2439 # point, so we can use a bashism as a fallback.
2440 if test "x$ac_cr" = x; then
2441 eval ac_cr=\$\'\\r\'
2443 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2444 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2445 ac_cs_awk_cr='\\r'
2446 else
2447 ac_cs_awk_cr=$ac_cr
2450 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2451 _ACEOF
2455 echo "cat >conf$$subs.awk <<_ACEOF" &&
2456 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2457 echo "_ACEOF"
2458 } >conf$$subs.sh ||
2459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2460 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2461 ac_delim='%!_!# '
2462 for ac_last_try in false false false false false :; do
2463 . ./conf$$subs.sh ||
2464 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2466 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2467 if test $ac_delim_n = $ac_delim_num; then
2468 break
2469 elif $ac_last_try; then
2470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2471 else
2472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2474 done
2475 rm -f conf$$subs.sh
2477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2478 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2479 _ACEOF
2480 sed -n '
2482 s/^/S["/; s/!.*/"]=/
2485 s/^[^!]*!//
2486 :repl
2487 t repl
2488 s/'"$ac_delim"'$//
2489 t delim
2492 s/\(.\{148\}\)..*/\1/
2493 t more1
2494 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2497 b repl
2498 :more1
2499 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2502 s/.\{148\}//
2503 t nl
2504 :delim
2506 s/\(.\{148\}\)..*/\1/
2507 t more2
2508 s/["\\]/\\&/g; s/^/"/; s/$/"/
2511 :more2
2512 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2515 s/.\{148\}//
2516 t delim
2517 ' <conf$$subs.awk | sed '
2518 /^[^""]/{
2520 s/\n//
2522 ' >>$CONFIG_STATUS || ac_write_fail=1
2523 rm -f conf$$subs.awk
2524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2525 _ACAWK
2526 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2527 for (key in S) S_is_set[key] = 1
2528 FS = "\a"
2532 line = $ 0
2533 nfields = split(line, field, "@")
2534 substed = 0
2535 len = length(field[1])
2536 for (i = 2; i < nfields; i++) {
2537 key = field[i]
2538 keylen = length(key)
2539 if (S_is_set[key]) {
2540 value = S[key]
2541 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2542 len += length(value) + length(field[++i])
2543 substed = 1
2544 } else
2545 len += 1 + keylen
2548 print line
2551 _ACAWK
2552 _ACEOF
2553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2554 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2555 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2556 else
2558 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2559 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2560 _ACEOF
2562 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2563 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2564 # trailing colons and then remove the whole line if VPATH becomes empty
2565 # (actually we leave an empty line to preserve line numbers).
2566 if test "x$srcdir" = x.; then
2567 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
2569 s///
2570 s/^/:/
2571 s/[ ]*$/:/
2572 s/:\$(srcdir):/:/g
2573 s/:\${srcdir}:/:/g
2574 s/:@srcdir@:/:/g
2575 s/^:*//
2576 s/:*$//
2578 s/\(=[ ]*\).*/\1/
2580 s/\n//
2581 s/^[^=]*=[ ]*$//
2585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2586 fi # test -n "$CONFIG_FILES"
2589 eval set X " :F $CONFIG_FILES "
2590 shift
2591 for ac_tag
2593 case $ac_tag in
2594 :[FHLC]) ac_mode=$ac_tag; continue;;
2595 esac
2596 case $ac_mode$ac_tag in
2597 :[FHL]*:*);;
2598 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2599 :[FH]-) ac_tag=-:-;;
2600 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2601 esac
2602 ac_save_IFS=$IFS
2603 IFS=:
2604 set x $ac_tag
2605 IFS=$ac_save_IFS
2606 shift
2607 ac_file=$1
2608 shift
2610 case $ac_mode in
2611 :L) ac_source=$1;;
2612 :[FH])
2613 ac_file_inputs=
2614 for ac_f
2616 case $ac_f in
2617 -) ac_f="$ac_tmp/stdin";;
2618 *) # Look for the file first in the build tree, then in the source tree
2619 # (if the path is not absolute). The absolute path cannot be DOS-style,
2620 # because $ac_f cannot contain `:'.
2621 test -f "$ac_f" ||
2622 case $ac_f in
2623 [\\/$]*) false;;
2624 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2625 esac ||
2626 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2627 esac
2628 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2629 as_fn_append ac_file_inputs " '$ac_f'"
2630 done
2632 # Let's still pretend it is `configure' which instantiates (i.e., don't
2633 # use $as_me), people would be surprised to read:
2634 # /* config.h. Generated by config.status. */
2635 configure_input='Generated from '`
2636 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2637 `' by configure.'
2638 if test x"$ac_file" != x-; then
2639 configure_input="$ac_file. $configure_input"
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2641 $as_echo "$as_me: creating $ac_file" >&6;}
2643 # Neutralize special characters interpreted by sed in replacement strings.
2644 case $configure_input in #(
2645 *\&* | *\|* | *\\* )
2646 ac_sed_conf_input=`$as_echo "$configure_input" |
2647 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2648 *) ac_sed_conf_input=$configure_input;;
2649 esac
2651 case $ac_tag in
2652 *:-:* | *:-) cat >"$ac_tmp/stdin" \
2653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2654 esac
2656 esac
2658 ac_dir=`$as_dirname -- "$ac_file" ||
2659 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2660 X"$ac_file" : 'X\(//\)[^/]' \| \
2661 X"$ac_file" : 'X\(//\)$' \| \
2662 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2663 $as_echo X"$ac_file" |
2664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2665 s//\1/
2668 /^X\(\/\/\)[^/].*/{
2669 s//\1/
2672 /^X\(\/\/\)$/{
2673 s//\1/
2676 /^X\(\/\).*/{
2677 s//\1/
2680 s/.*/./; q'`
2681 as_dir="$ac_dir"; as_fn_mkdir_p
2682 ac_builddir=.
2684 case "$ac_dir" in
2685 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2687 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2688 # A ".." for each directory in $ac_dir_suffix.
2689 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2690 case $ac_top_builddir_sub in
2691 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2692 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2693 esac ;;
2694 esac
2695 ac_abs_top_builddir=$ac_pwd
2696 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2697 # for backward compatibility:
2698 ac_top_builddir=$ac_top_build_prefix
2700 case $srcdir in
2701 .) # We are building in place.
2702 ac_srcdir=.
2703 ac_top_srcdir=$ac_top_builddir_sub
2704 ac_abs_top_srcdir=$ac_pwd ;;
2705 [\\/]* | ?:[\\/]* ) # Absolute name.
2706 ac_srcdir=$srcdir$ac_dir_suffix;
2707 ac_top_srcdir=$srcdir
2708 ac_abs_top_srcdir=$srcdir ;;
2709 *) # Relative name.
2710 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2711 ac_top_srcdir=$ac_top_build_prefix$srcdir
2712 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2713 esac
2714 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2717 case $ac_mode in
2720 # CONFIG_FILE
2723 _ACEOF
2725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2726 # If the template does not know about datarootdir, expand it.
2727 # FIXME: This hack should be removed a few years after 2.60.
2728 ac_datarootdir_hack=; ac_datarootdir_seen=
2729 ac_sed_dataroot='
2730 /datarootdir/ {
2734 /@datadir@/p
2735 /@docdir@/p
2736 /@infodir@/p
2737 /@localedir@/p
2738 /@mandir@/p'
2739 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2740 *datarootdir*) ac_datarootdir_seen=yes;;
2741 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2743 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2744 _ACEOF
2745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2746 ac_datarootdir_hack='
2747 s&@datadir@&$datadir&g
2748 s&@docdir@&$docdir&g
2749 s&@infodir@&$infodir&g
2750 s&@localedir@&$localedir&g
2751 s&@mandir@&$mandir&g
2752 s&\\\${datarootdir}&$datarootdir&g' ;;
2753 esac
2754 _ACEOF
2756 # Neutralize VPATH when `$srcdir' = `.'.
2757 # Shell code in configure.ac might set extrasub.
2758 # FIXME: do we really want to maintain this feature?
2759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2760 ac_sed_extra="$ac_vpsub
2761 $extrasub
2762 _ACEOF
2763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2766 s|@configure_input@|$ac_sed_conf_input|;t t
2767 s&@top_builddir@&$ac_top_builddir_sub&;t t
2768 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2769 s&@srcdir@&$ac_srcdir&;t t
2770 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2771 s&@top_srcdir@&$ac_top_srcdir&;t t
2772 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2773 s&@builddir@&$ac_builddir&;t t
2774 s&@abs_builddir@&$ac_abs_builddir&;t t
2775 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2776 $ac_datarootdir_hack
2778 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2779 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2781 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2782 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2783 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
2784 "$ac_tmp/out"`; test -z "$ac_out"; } &&
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2786 which seems to be undefined. Please make sure it is defined" >&5
2787 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2788 which seems to be undefined. Please make sure it is defined" >&2;}
2790 rm -f "$ac_tmp/stdin"
2791 case $ac_file in
2792 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2793 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2794 esac \
2795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2800 esac
2802 done # for ac_tag
2805 as_fn_exit 0
2806 _ACEOF
2807 ac_clean_files=$ac_clean_files_save
2809 test $ac_write_fail = 0 ||
2810 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2813 # configure is writing to config.log, and then calls config.status.
2814 # config.status does its own redirection, appending to config.log.
2815 # Unfortunately, on DOS this fails, as config.log is still kept open
2816 # by configure, so config.status won't be able to write to it; its
2817 # output is simply discarded. So we exec the FD to /dev/null,
2818 # effectively closing config.log, so it can be properly (re)opened and
2819 # appended to by config.status. When coming back to configure, we
2820 # need to make the FD available again.
2821 if test "$no_create" != yes; then
2822 ac_cs_success=:
2823 ac_config_status_args=
2824 test "$silent" = yes &&
2825 ac_config_status_args="$ac_config_status_args --quiet"
2826 exec 5>/dev/null
2827 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2828 exec 5>>config.log
2829 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2830 # would make configure fail if this is the last instruction.
2831 $ac_cs_success || as_fn_exit 1
2833 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2835 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}