Fix an illegal memory access when disassebling a corrupt ARM file.
[binutils-gdb.git] / etc / configure
bloba1fccb42788a88c7397e3c6f93c0818e711af7e5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for etc 0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME='etc'
578 PACKAGE_TARNAME='etc'
579 PACKAGE_VERSION='0'
580 PACKAGE_STRING='etc 0'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
584 ac_subst_vars='LTLIBOBJS
585 LIBOBJS
586 AM_BACKSLASH
587 AM_DEFAULT_VERBOSITY
588 AM_DEFAULT_V
589 AM_V
590 am__untar
591 am__tar
592 AMTAR
593 am__leading_dot
594 SET_MAKE
596 mkdir_p
597 MKDIR_P
598 INSTALL_STRIP_PROGRAM
599 STRIP
600 install_sh
601 MAKEINFO
602 AUTOHEADER
603 AUTOMAKE
604 AUTOCONF
605 ACLOCAL
606 VERSION
607 PACKAGE
608 CYGPATH_W
609 am__isrc
610 INSTALL_DATA
611 INSTALL_SCRIPT
612 INSTALL_PROGRAM
613 MAINT
614 MAINTAINER_MODE_FALSE
615 MAINTAINER_MODE_TRUE
616 target_alias
617 host_alias
618 build_alias
619 LIBS
620 ECHO_T
621 ECHO_N
622 ECHO_C
623 DEFS
624 mandir
625 localedir
626 libdir
627 psdir
628 pdfdir
629 dvidir
630 htmldir
631 infodir
632 docdir
633 oldincludedir
634 includedir
635 localstatedir
636 sharedstatedir
637 sysconfdir
638 datadir
639 datarootdir
640 libexecdir
641 sbindir
642 bindir
643 program_transform_name
644 prefix
645 exec_prefix
646 PACKAGE_URL
647 PACKAGE_BUGREPORT
648 PACKAGE_STRING
649 PACKAGE_VERSION
650 PACKAGE_TARNAME
651 PACKAGE_NAME
652 PATH_SEPARATOR
653 SHELL'
654 ac_subst_files=''
655 ac_user_opts='
656 enable_option_checking
657 enable_maintainer_mode
658 enable_silent_rules
660 ac_precious_vars='build_alias
661 host_alias
662 target_alias'
665 # Initialize some variables set by options.
666 ac_init_help=
667 ac_init_version=false
668 ac_unrecognized_opts=
669 ac_unrecognized_sep=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
672 cache_file=/dev/null
673 exec_prefix=NONE
674 no_create=
675 no_recursion=
676 prefix=NONE
677 program_prefix=NONE
678 program_suffix=NONE
679 program_transform_name=s,x,x,
680 silent=
681 site=
682 srcdir=
683 verbose=
684 x_includes=NONE
685 x_libraries=NONE
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
704 infodir='${datarootdir}/info'
705 htmldir='${docdir}'
706 dvidir='${docdir}'
707 pdfdir='${docdir}'
708 psdir='${docdir}'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
713 ac_prev=
714 ac_dashdash=
715 for ac_option
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
720 ac_prev=
721 continue
724 case $ac_option in
725 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726 *=) ac_optarg= ;;
727 *) ac_optarg=yes ;;
728 esac
730 # Accept the important Cygnus configure options, so we can diagnose typos.
732 case $ac_dashdash$ac_option in
734 ac_dashdash=yes ;;
736 -bindir | --bindir | --bindi | --bind | --bin | --bi)
737 ac_prev=bindir ;;
738 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
739 bindir=$ac_optarg ;;
741 -build | --build | --buil | --bui | --bu)
742 ac_prev=build_alias ;;
743 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
744 build_alias=$ac_optarg ;;
746 -cache-file | --cache-file | --cache-fil | --cache-fi \
747 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
748 ac_prev=cache_file ;;
749 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
750 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
751 cache_file=$ac_optarg ;;
753 --config-cache | -C)
754 cache_file=config.cache ;;
756 -datadir | --datadir | --datadi | --datad)
757 ac_prev=datadir ;;
758 -datadir=* | --datadir=* | --datadi=* | --datad=*)
759 datadir=$ac_optarg ;;
761 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
762 | --dataroo | --dataro | --datar)
763 ac_prev=datarootdir ;;
764 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
765 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
766 datarootdir=$ac_optarg ;;
768 -disable-* | --disable-*)
769 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772 as_fn_error $? "invalid feature name: $ac_useropt"
773 ac_useropt_orig=$ac_useropt
774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
777 "enable_$ac_useropt"
778 "*) ;;
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
781 esac
782 eval enable_$ac_useropt=no ;;
784 -docdir | --docdir | --docdi | --doc | --do)
785 ac_prev=docdir ;;
786 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
787 docdir=$ac_optarg ;;
789 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
790 ac_prev=dvidir ;;
791 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
792 dvidir=$ac_optarg ;;
794 -enable-* | --enable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 as_fn_error $? "invalid feature name: $ac_useropt"
799 ac_useropt_orig=$ac_useropt
800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
803 "enable_$ac_useropt"
804 "*) ;;
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
807 esac
808 eval enable_$ac_useropt=\$ac_optarg ;;
810 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
811 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
812 | --exec | --exe | --ex)
813 ac_prev=exec_prefix ;;
814 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
815 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
816 | --exec=* | --exe=* | --ex=*)
817 exec_prefix=$ac_optarg ;;
819 -gas | --gas | --ga | --g)
820 # Obsolete; use --with-gas.
821 with_gas=yes ;;
823 -help | --help | --hel | --he | -h)
824 ac_init_help=long ;;
825 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
826 ac_init_help=recursive ;;
827 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
828 ac_init_help=short ;;
830 -host | --host | --hos | --ho)
831 ac_prev=host_alias ;;
832 -host=* | --host=* | --hos=* | --ho=*)
833 host_alias=$ac_optarg ;;
835 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
836 ac_prev=htmldir ;;
837 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
838 | --ht=*)
839 htmldir=$ac_optarg ;;
841 -includedir | --includedir | --includedi | --included | --include \
842 | --includ | --inclu | --incl | --inc)
843 ac_prev=includedir ;;
844 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
845 | --includ=* | --inclu=* | --incl=* | --inc=*)
846 includedir=$ac_optarg ;;
848 -infodir | --infodir | --infodi | --infod | --info | --inf)
849 ac_prev=infodir ;;
850 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
851 infodir=$ac_optarg ;;
853 -libdir | --libdir | --libdi | --libd)
854 ac_prev=libdir ;;
855 -libdir=* | --libdir=* | --libdi=* | --libd=*)
856 libdir=$ac_optarg ;;
858 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
859 | --libexe | --libex | --libe)
860 ac_prev=libexecdir ;;
861 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
862 | --libexe=* | --libex=* | --libe=*)
863 libexecdir=$ac_optarg ;;
865 -localedir | --localedir | --localedi | --localed | --locale)
866 ac_prev=localedir ;;
867 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
868 localedir=$ac_optarg ;;
870 -localstatedir | --localstatedir | --localstatedi | --localstated \
871 | --localstate | --localstat | --localsta | --localst | --locals)
872 ac_prev=localstatedir ;;
873 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
874 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
875 localstatedir=$ac_optarg ;;
877 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
878 ac_prev=mandir ;;
879 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
880 mandir=$ac_optarg ;;
882 -nfp | --nfp | --nf)
883 # Obsolete; use --without-fp.
884 with_fp=no ;;
886 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
887 | --no-cr | --no-c | -n)
888 no_create=yes ;;
890 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
891 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
892 no_recursion=yes ;;
894 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
895 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
896 | --oldin | --oldi | --old | --ol | --o)
897 ac_prev=oldincludedir ;;
898 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
899 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
900 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
901 oldincludedir=$ac_optarg ;;
903 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
904 ac_prev=prefix ;;
905 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
906 prefix=$ac_optarg ;;
908 -program-prefix | --program-prefix | --program-prefi | --program-pref \
909 | --program-pre | --program-pr | --program-p)
910 ac_prev=program_prefix ;;
911 -program-prefix=* | --program-prefix=* | --program-prefi=* \
912 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
913 program_prefix=$ac_optarg ;;
915 -program-suffix | --program-suffix | --program-suffi | --program-suff \
916 | --program-suf | --program-su | --program-s)
917 ac_prev=program_suffix ;;
918 -program-suffix=* | --program-suffix=* | --program-suffi=* \
919 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
920 program_suffix=$ac_optarg ;;
922 -program-transform-name | --program-transform-name \
923 | --program-transform-nam | --program-transform-na \
924 | --program-transform-n | --program-transform- \
925 | --program-transform | --program-transfor \
926 | --program-transfo | --program-transf \
927 | --program-trans | --program-tran \
928 | --progr-tra | --program-tr | --program-t)
929 ac_prev=program_transform_name ;;
930 -program-transform-name=* | --program-transform-name=* \
931 | --program-transform-nam=* | --program-transform-na=* \
932 | --program-transform-n=* | --program-transform-=* \
933 | --program-transform=* | --program-transfor=* \
934 | --program-transfo=* | --program-transf=* \
935 | --program-trans=* | --program-tran=* \
936 | --progr-tra=* | --program-tr=* | --program-t=*)
937 program_transform_name=$ac_optarg ;;
939 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
940 ac_prev=pdfdir ;;
941 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
942 pdfdir=$ac_optarg ;;
944 -psdir | --psdir | --psdi | --psd | --ps)
945 ac_prev=psdir ;;
946 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
947 psdir=$ac_optarg ;;
949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
950 | -silent | --silent | --silen | --sile | --sil)
951 silent=yes ;;
953 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
954 ac_prev=sbindir ;;
955 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
956 | --sbi=* | --sb=*)
957 sbindir=$ac_optarg ;;
959 -sharedstatedir | --sharedstatedir | --sharedstatedi \
960 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
961 | --sharedst | --shareds | --shared | --share | --shar \
962 | --sha | --sh)
963 ac_prev=sharedstatedir ;;
964 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
965 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
966 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
967 | --sha=* | --sh=*)
968 sharedstatedir=$ac_optarg ;;
970 -site | --site | --sit)
971 ac_prev=site ;;
972 -site=* | --site=* | --sit=*)
973 site=$ac_optarg ;;
975 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
976 ac_prev=srcdir ;;
977 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
978 srcdir=$ac_optarg ;;
980 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
981 | --syscon | --sysco | --sysc | --sys | --sy)
982 ac_prev=sysconfdir ;;
983 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
984 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
985 sysconfdir=$ac_optarg ;;
987 -target | --target | --targe | --targ | --tar | --ta | --t)
988 ac_prev=target_alias ;;
989 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
990 target_alias=$ac_optarg ;;
992 -v | -verbose | --verbose | --verbos | --verbo | --verb)
993 verbose=yes ;;
995 -version | --version | --versio | --versi | --vers | -V)
996 ac_init_version=: ;;
998 -with-* | --with-*)
999 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error $? "invalid package name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1007 "with_$ac_useropt"
1008 "*) ;;
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1011 esac
1012 eval with_$ac_useropt=\$ac_optarg ;;
1014 -without-* | --without-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid package name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "with_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval with_$ac_useropt=no ;;
1030 --x)
1031 # Obsolete; use --with-x.
1032 with_x=yes ;;
1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035 | --x-incl | --x-inc | --x-in | --x-i)
1036 ac_prev=x_includes ;;
1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039 x_includes=$ac_optarg ;;
1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043 ac_prev=x_libraries ;;
1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 x_libraries=$ac_optarg ;;
1048 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1049 Try \`$0 --help' for more information"
1052 *=*)
1053 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1054 # Reject names that are not valid shell variable names.
1055 case $ac_envvar in #(
1056 '' | [0-9]* | *[!_$as_cr_alnum]* )
1057 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1058 esac
1059 eval $ac_envvar=\$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1070 esac
1071 done
1073 if test -n "$ac_prev"; then
1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 as_fn_error $? "missing argument to $ac_option"
1078 if test -n "$ac_unrecognized_opts"; then
1079 case $enable_option_checking in
1080 no) ;;
1081 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1082 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1083 esac
1086 # Check all directory arguments for consistency.
1087 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1088 datadir sysconfdir sharedstatedir localstatedir includedir \
1089 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1090 libdir localedir mandir
1092 eval ac_val=\$$ac_var
1093 # Remove trailing slashes.
1094 case $ac_val in
1095 */ )
1096 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1097 eval $ac_var=\$ac_val;;
1098 esac
1099 # Be sure to have absolute directory names.
1100 case $ac_val in
1101 [\\/$]* | ?:[\\/]* ) continue;;
1102 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1103 esac
1104 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1105 done
1107 # There might be people who depend on the old broken behavior: `$host'
1108 # used to hold the argument of --host etc.
1109 # FIXME: To remove some day.
1110 build=$build_alias
1111 host=$host_alias
1112 target=$target_alias
1114 # FIXME: To remove some day.
1115 if test "x$host_alias" != x; then
1116 if test "x$build_alias" = x; then
1117 cross_compiling=maybe
1118 elif test "x$build_alias" != "x$host_alias"; then
1119 cross_compiling=yes
1123 ac_tool_prefix=
1124 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1126 test "$silent" = yes && exec 6>/dev/null
1129 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130 ac_ls_di=`ls -di .` &&
1131 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1132 as_fn_error $? "working directory cannot be determined"
1133 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1134 as_fn_error $? "pwd does not report name of working directory"
1137 # Find the source files, if location was not specified.
1138 if test -z "$srcdir"; then
1139 ac_srcdir_defaulted=yes
1140 # Try the directory containing this script, then the parent directory.
1141 ac_confdir=`$as_dirname -- "$as_myself" ||
1142 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1143 X"$as_myself" : 'X\(//\)[^/]' \| \
1144 X"$as_myself" : 'X\(//\)$' \| \
1145 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1146 $as_echo X"$as_myself" |
1147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1148 s//\1/
1151 /^X\(\/\/\)[^/].*/{
1152 s//\1/
1155 /^X\(\/\/\)$/{
1156 s//\1/
1159 /^X\(\/\).*/{
1160 s//\1/
1163 s/.*/./; q'`
1164 srcdir=$ac_confdir
1165 if test ! -r "$srcdir/$ac_unique_file"; then
1166 srcdir=..
1168 else
1169 ac_srcdir_defaulted=no
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1172 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1173 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1175 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1176 ac_abs_confdir=`(
1177 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1178 pwd)`
1179 # When building in place, set srcdir=.
1180 if test "$ac_abs_confdir" = "$ac_pwd"; then
1181 srcdir=.
1183 # Remove unnecessary trailing slashes from srcdir.
1184 # Double slashes in file names in object file debugging info
1185 # mess up M-x gdb in Emacs.
1186 case $srcdir in
1187 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188 esac
1189 for ac_var in $ac_precious_vars; do
1190 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1191 eval ac_env_${ac_var}_value=\$${ac_var}
1192 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1193 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1194 done
1197 # Report the --help message.
1199 if test "$ac_init_help" = "long"; then
1200 # Omit some internal or obsolete options to make the list less imposing.
1201 # This message is too long to be a string in the A/UX 3.1 sh.
1202 cat <<_ACEOF
1203 \`configure' configures etc 0 to adapt to many kinds of systems.
1205 Usage: $0 [OPTION]... [VAR=VALUE]...
1207 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1208 VAR=VALUE. See below for descriptions of some of the useful variables.
1210 Defaults for the options are specified in brackets.
1212 Configuration:
1213 -h, --help display this help and exit
1214 --help=short display options specific to this package
1215 --help=recursive display the short help of all the included packages
1216 -V, --version display version information and exit
1217 -q, --quiet, --silent do not print \`checking ...' messages
1218 --cache-file=FILE cache test results in FILE [disabled]
1219 -C, --config-cache alias for \`--cache-file=config.cache'
1220 -n, --no-create do not create output files
1221 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1223 Installation directories:
1224 --prefix=PREFIX install architecture-independent files in PREFIX
1225 [$ac_default_prefix]
1226 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1227 [PREFIX]
1229 By default, \`make install' will install all the files in
1230 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1231 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1232 for instance \`--prefix=\$HOME'.
1234 For better control, use the options below.
1236 Fine tuning of the installation directories:
1237 --bindir=DIR user executables [EPREFIX/bin]
1238 --sbindir=DIR system admin executables [EPREFIX/sbin]
1239 --libexecdir=DIR program executables [EPREFIX/libexec]
1240 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1241 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1242 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1243 --libdir=DIR object code libraries [EPREFIX/lib]
1244 --includedir=DIR C header files [PREFIX/include]
1245 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1246 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1247 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1248 --infodir=DIR info documentation [DATAROOTDIR/info]
1249 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1250 --mandir=DIR man documentation [DATAROOTDIR/man]
1251 --docdir=DIR documentation root [DATAROOTDIR/doc/etc]
1252 --htmldir=DIR html documentation [DOCDIR]
1253 --dvidir=DIR dvi documentation [DOCDIR]
1254 --pdfdir=DIR pdf documentation [DOCDIR]
1255 --psdir=DIR ps documentation [DOCDIR]
1256 _ACEOF
1258 cat <<\_ACEOF
1260 Program names:
1261 --program-prefix=PREFIX prepend PREFIX to installed program names
1262 --program-suffix=SUFFIX append SUFFIX to installed program names
1263 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1264 _ACEOF
1267 if test -n "$ac_init_help"; then
1268 case $ac_init_help in
1269 short | recursive ) echo "Configuration of etc 0:";;
1270 esac
1271 cat <<\_ACEOF
1273 Optional Features:
1274 --disable-option-checking ignore unrecognized --enable/--with options
1275 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1276 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1277 --enable-maintainer-mode
1278 enable make rules and dependencies not useful (and
1279 sometimes confusing) to the casual installer
1280 --enable-silent-rules less verbose build output (undo: "make V=1")
1281 --disable-silent-rules verbose build output (undo: "make V=0")
1283 Report bugs to the package provider.
1284 _ACEOF
1285 ac_status=$?
1288 if test "$ac_init_help" = "recursive"; then
1289 # If there are subdirs, report their specific --help.
1290 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1291 test -d "$ac_dir" ||
1292 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1293 continue
1294 ac_builddir=.
1296 case "$ac_dir" in
1297 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1299 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1300 # A ".." for each directory in $ac_dir_suffix.
1301 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1302 case $ac_top_builddir_sub in
1303 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1305 esac ;;
1306 esac
1307 ac_abs_top_builddir=$ac_pwd
1308 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1309 # for backward compatibility:
1310 ac_top_builddir=$ac_top_build_prefix
1312 case $srcdir in
1313 .) # We are building in place.
1314 ac_srcdir=.
1315 ac_top_srcdir=$ac_top_builddir_sub
1316 ac_abs_top_srcdir=$ac_pwd ;;
1317 [\\/]* | ?:[\\/]* ) # Absolute name.
1318 ac_srcdir=$srcdir$ac_dir_suffix;
1319 ac_top_srcdir=$srcdir
1320 ac_abs_top_srcdir=$srcdir ;;
1321 *) # Relative name.
1322 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1323 ac_top_srcdir=$ac_top_build_prefix$srcdir
1324 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1325 esac
1326 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1328 cd "$ac_dir" || { ac_status=$?; continue; }
1329 # Check for guested configure.
1330 if test -f "$ac_srcdir/configure.gnu"; then
1331 echo &&
1332 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1333 elif test -f "$ac_srcdir/configure"; then
1334 echo &&
1335 $SHELL "$ac_srcdir/configure" --help=recursive
1336 else
1337 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1338 fi || ac_status=$?
1339 cd "$ac_pwd" || { ac_status=$?; break; }
1340 done
1343 test -n "$ac_init_help" && exit $ac_status
1344 if $ac_init_version; then
1345 cat <<\_ACEOF
1346 etc configure 0
1347 generated by GNU Autoconf 2.69
1349 Copyright (C) 2012 Free Software Foundation, Inc.
1350 This configure script is free software; the Free Software Foundation
1351 gives unlimited permission to copy, distribute and modify it.
1352 _ACEOF
1353 exit
1356 ## ------------------------ ##
1357 ## Autoconf initialization. ##
1358 ## ------------------------ ##
1359 cat >config.log <<_ACEOF
1360 This file contains any messages produced by compilers while
1361 running configure, to aid debugging if configure makes a mistake.
1363 It was created by etc $as_me 0, which was
1364 generated by GNU Autoconf 2.69. Invocation command line was
1366 $ $0 $@
1368 _ACEOF
1369 exec 5>>config.log
1371 cat <<_ASUNAME
1372 ## --------- ##
1373 ## Platform. ##
1374 ## --------- ##
1376 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1377 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1378 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1379 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1380 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1382 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1383 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1385 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1386 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1387 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1388 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1389 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1390 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1391 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1393 _ASUNAME
1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1396 for as_dir in $PATH
1398 IFS=$as_save_IFS
1399 test -z "$as_dir" && as_dir=.
1400 $as_echo "PATH: $as_dir"
1401 done
1402 IFS=$as_save_IFS
1404 } >&5
1406 cat >&5 <<_ACEOF
1409 ## ----------- ##
1410 ## Core tests. ##
1411 ## ----------- ##
1413 _ACEOF
1416 # Keep a trace of the command line.
1417 # Strip out --no-create and --no-recursion so they do not pile up.
1418 # Strip out --silent because we don't want to record it for future runs.
1419 # Also quote any args containing shell meta-characters.
1420 # Make two passes to allow for proper duplicate-argument suppression.
1421 ac_configure_args=
1422 ac_configure_args0=
1423 ac_configure_args1=
1424 ac_must_keep_next=false
1425 for ac_pass in 1 2
1427 for ac_arg
1429 case $ac_arg in
1430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1432 | -silent | --silent | --silen | --sile | --sil)
1433 continue ;;
1434 *\'*)
1435 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1436 esac
1437 case $ac_pass in
1438 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1440 as_fn_append ac_configure_args1 " '$ac_arg'"
1441 if test $ac_must_keep_next = true; then
1442 ac_must_keep_next=false # Got value, back to normal.
1443 else
1444 case $ac_arg in
1445 *=* | --config-cache | -C | -disable-* | --disable-* \
1446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1448 | -with-* | --with-* | -without-* | --without-* | --x)
1449 case "$ac_configure_args0 " in
1450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1451 esac
1453 -* ) ac_must_keep_next=true ;;
1454 esac
1456 as_fn_append ac_configure_args " '$ac_arg'"
1458 esac
1459 done
1460 done
1461 { ac_configure_args0=; unset ac_configure_args0;}
1462 { ac_configure_args1=; unset ac_configure_args1;}
1464 # When interrupted or exit'd, cleanup temporary files, and complete
1465 # config.log. We remove comments because anyway the quotes in there
1466 # would cause problems or look ugly.
1467 # WARNING: Use '\'' to represent an apostrophe within the trap.
1468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1469 trap 'exit_status=$?
1470 # Save into config.log some information that might help in debugging.
1472 echo
1474 $as_echo "## ---------------- ##
1475 ## Cache variables. ##
1476 ## ---------------- ##"
1477 echo
1478 # The following way of writing the cache mishandles newlines in values,
1480 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1481 eval ac_val=\$$ac_var
1482 case $ac_val in #(
1483 *${as_nl}*)
1484 case $ac_var in #(
1485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1487 esac
1488 case $ac_var in #(
1489 _ | IFS | as_nl) ;; #(
1490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1491 *) { eval $ac_var=; unset $ac_var;} ;;
1492 esac ;;
1493 esac
1494 done
1495 (set) 2>&1 |
1496 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1497 *${as_nl}ac_space=\ *)
1498 sed -n \
1499 "s/'\''/'\''\\\\'\'''\''/g;
1500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1501 ;; #(
1503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1505 esac |
1506 sort
1508 echo
1510 $as_echo "## ----------------- ##
1511 ## Output variables. ##
1512 ## ----------------- ##"
1513 echo
1514 for ac_var in $ac_subst_vars
1516 eval ac_val=\$$ac_var
1517 case $ac_val in
1518 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1519 esac
1520 $as_echo "$ac_var='\''$ac_val'\''"
1521 done | sort
1522 echo
1524 if test -n "$ac_subst_files"; then
1525 $as_echo "## ------------------- ##
1526 ## File substitutions. ##
1527 ## ------------------- ##"
1528 echo
1529 for ac_var in $ac_subst_files
1531 eval ac_val=\$$ac_var
1532 case $ac_val in
1533 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1534 esac
1535 $as_echo "$ac_var='\''$ac_val'\''"
1536 done | sort
1537 echo
1540 if test -s confdefs.h; then
1541 $as_echo "## ----------- ##
1542 ## confdefs.h. ##
1543 ## ----------- ##"
1544 echo
1545 cat confdefs.h
1546 echo
1548 test "$ac_signal" != 0 &&
1549 $as_echo "$as_me: caught signal $ac_signal"
1550 $as_echo "$as_me: exit $exit_status"
1551 } >&5
1552 rm -f core *.core core.conftest.* &&
1553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1554 exit $exit_status
1556 for ac_signal in 1 2 13 15; do
1557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1558 done
1559 ac_signal=0
1561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1562 rm -f -r conftest* confdefs.h
1564 $as_echo "/* confdefs.h */" > confdefs.h
1566 # Predefined preprocessor variables.
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_NAME "$PACKAGE_NAME"
1570 _ACEOF
1572 cat >>confdefs.h <<_ACEOF
1573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1574 _ACEOF
1576 cat >>confdefs.h <<_ACEOF
1577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1578 _ACEOF
1580 cat >>confdefs.h <<_ACEOF
1581 #define PACKAGE_STRING "$PACKAGE_STRING"
1582 _ACEOF
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1586 _ACEOF
1588 cat >>confdefs.h <<_ACEOF
1589 #define PACKAGE_URL "$PACKAGE_URL"
1590 _ACEOF
1593 # Let the site file select an alternate cache file if it wants to.
1594 # Prefer an explicitly selected file to automatically selected ones.
1595 ac_site_file1=NONE
1596 ac_site_file2=NONE
1597 if test -n "$CONFIG_SITE"; then
1598 # We do not want a PATH search for config.site.
1599 case $CONFIG_SITE in #((
1600 -*) ac_site_file1=./$CONFIG_SITE;;
1601 */*) ac_site_file1=$CONFIG_SITE;;
1602 *) ac_site_file1=./$CONFIG_SITE;;
1603 esac
1604 elif test "x$prefix" != xNONE; then
1605 ac_site_file1=$prefix/share/config.site
1606 ac_site_file2=$prefix/etc/config.site
1607 else
1608 ac_site_file1=$ac_default_prefix/share/config.site
1609 ac_site_file2=$ac_default_prefix/etc/config.site
1611 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1613 test "x$ac_site_file" = xNONE && continue
1614 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1617 sed 's/^/| /' "$ac_site_file" >&5
1618 . "$ac_site_file" \
1619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1621 as_fn_error $? "failed to load site script $ac_site_file
1622 See \`config.log' for more details" "$LINENO" 5; }
1624 done
1626 if test -r "$cache_file"; then
1627 # Some versions of bash will fail to source /dev/null (special files
1628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1629 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1631 $as_echo "$as_me: loading cache $cache_file" >&6;}
1632 case $cache_file in
1633 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1634 *) . "./$cache_file";;
1635 esac
1637 else
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1639 $as_echo "$as_me: creating cache $cache_file" >&6;}
1640 >$cache_file
1643 # Check that the precious variables saved in the cache have kept the same
1644 # value.
1645 ac_cache_corrupted=false
1646 for ac_var in $ac_precious_vars; do
1647 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1648 eval ac_new_set=\$ac_env_${ac_var}_set
1649 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1650 eval ac_new_val=\$ac_env_${ac_var}_value
1651 case $ac_old_set,$ac_new_set in
1652 set,)
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1654 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1655 ac_cache_corrupted=: ;;
1656 ,set)
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1658 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1659 ac_cache_corrupted=: ;;
1660 ,);;
1662 if test "x$ac_old_val" != "x$ac_new_val"; then
1663 # differences in whitespace do not lead to failure.
1664 ac_old_val_w=`echo x $ac_old_val`
1665 ac_new_val_w=`echo x $ac_new_val`
1666 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1668 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1669 ac_cache_corrupted=:
1670 else
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1672 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1673 eval $ac_var=\$ac_old_val
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1676 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1678 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1679 fi;;
1680 esac
1681 # Pass precious variables to config.status.
1682 if test "$ac_new_set" = set; then
1683 case $ac_new_val in
1684 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1685 *) ac_arg=$ac_var=$ac_new_val ;;
1686 esac
1687 case " $ac_configure_args " in
1688 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1689 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1690 esac
1692 done
1693 if $ac_cache_corrupted; then
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1697 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1698 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1700 ## -------------------- ##
1701 ## Main body of script. ##
1702 ## -------------------- ##
1704 ac_ext=c
1705 ac_cpp='$CPP $CPPFLAGS'
1706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1717 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1718 # Check whether --enable-maintainer-mode was given.
1719 if test "${enable_maintainer_mode+set}" = set; then :
1720 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1721 else
1722 USE_MAINTAINER_MODE=no
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1726 $as_echo "$USE_MAINTAINER_MODE" >&6; }
1727 if test $USE_MAINTAINER_MODE = yes; then
1728 MAINTAINER_MODE_TRUE=
1729 MAINTAINER_MODE_FALSE='#'
1730 else
1731 MAINTAINER_MODE_TRUE='#'
1732 MAINTAINER_MODE_FALSE=
1735 MAINT=$MAINTAINER_MODE_TRUE
1738 am__api_version='1.15'
1740 ac_aux_dir=
1741 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1742 if test -f "$ac_dir/install-sh"; then
1743 ac_aux_dir=$ac_dir
1744 ac_install_sh="$ac_aux_dir/install-sh -c"
1745 break
1746 elif test -f "$ac_dir/install.sh"; then
1747 ac_aux_dir=$ac_dir
1748 ac_install_sh="$ac_aux_dir/install.sh -c"
1749 break
1750 elif test -f "$ac_dir/shtool"; then
1751 ac_aux_dir=$ac_dir
1752 ac_install_sh="$ac_aux_dir/shtool install -c"
1753 break
1755 done
1756 if test -z "$ac_aux_dir"; then
1757 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1760 # These three variables are undocumented and unsupported,
1761 # and are intended to be withdrawn in a future Autoconf release.
1762 # They can cause serious problems if a builder's source tree is in a directory
1763 # whose full name contains unusual characters.
1764 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1765 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1766 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1769 # Find a good install program. We prefer a C program (faster),
1770 # so one script is as good as another. But avoid the broken or
1771 # incompatible versions:
1772 # SysV /etc/install, /usr/sbin/install
1773 # SunOS /usr/etc/install
1774 # IRIX /sbin/install
1775 # AIX /bin/install
1776 # AmigaOS /C/install, which installs bootblocks on floppy discs
1777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1780 # OS/2's system install, which has a completely different semantic
1781 # ./install, which can be erroneously created by make from ./install.sh.
1782 # Reject install programs that cannot install multiple files.
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1785 if test -z "$INSTALL"; then
1786 if ${ac_cv_path_install+:} false; then :
1787 $as_echo_n "(cached) " >&6
1788 else
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1795 case $as_dir/ in #((
1796 ./ | .// | /[cC]/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1799 /usr/ucb/* ) ;;
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1803 # by default.
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1815 else
1816 rm -rf conftest.one conftest.two conftest.dir
1817 echo one > conftest.one
1818 echo two > conftest.two
1819 mkdir conftest.dir
1820 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1821 test -s conftest.one && test -s conftest.two &&
1822 test -s conftest.dir/conftest.one &&
1823 test -s conftest.dir/conftest.two
1824 then
1825 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1826 break 3
1830 done
1831 done
1833 esac
1835 done
1836 IFS=$as_save_IFS
1838 rm -rf conftest.one conftest.two conftest.dir
1841 if test "${ac_cv_path_install+set}" = set; then
1842 INSTALL=$ac_cv_path_install
1843 else
1844 # As a last resort, use the slow shell script. Don't cache a
1845 # value for INSTALL within a source directory, because that will
1846 # break other packages using the cache if that directory is
1847 # removed, or if the value is a relative name.
1848 INSTALL=$ac_install_sh
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1852 $as_echo "$INSTALL" >&6; }
1854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1855 # It thinks the first close brace ends the variable substitution.
1856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1863 $as_echo_n "checking whether build environment is sane... " >&6; }
1864 # Reject unsafe characters in $srcdir or the absolute working directory
1865 # name. Accept space and tab only in the latter.
1866 am_lf='
1868 case `pwd` in
1869 *[\\\"\#\$\&\'\`$am_lf]*)
1870 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1871 esac
1872 case $srcdir in
1873 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1874 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1875 esac
1877 # Do 'set' in a subshell so we don't clobber the current shell's
1878 # arguments. Must try -L first in case configure is actually a
1879 # symlink; some systems play weird games with the mod time of symlinks
1880 # (eg FreeBSD returns the mod time of the symlink's containing
1881 # directory).
1882 if (
1883 am_has_slept=no
1884 for am_try in 1 2; do
1885 echo "timestamp, slept: $am_has_slept" > conftest.file
1886 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1887 if test "$*" = "X"; then
1888 # -L didn't work.
1889 set X `ls -t "$srcdir/configure" conftest.file`
1891 if test "$*" != "X $srcdir/configure conftest.file" \
1892 && test "$*" != "X conftest.file $srcdir/configure"; then
1894 # If neither matched, then we have a broken ls. This can happen
1895 # if, for instance, CONFIG_SHELL is bash and it inherits a
1896 # broken ls alias from the environment. This has actually
1897 # happened. Such a system could not be considered "sane".
1898 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1899 alias in your environment" "$LINENO" 5
1901 if test "$2" = conftest.file || test $am_try -eq 2; then
1902 break
1904 # Just in case.
1905 sleep 1
1906 am_has_slept=yes
1907 done
1908 test "$2" = conftest.file
1910 then
1911 # Ok.
1913 else
1914 as_fn_error $? "newly created file is older than distributed files!
1915 Check your system clock" "$LINENO" 5
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1918 $as_echo "yes" >&6; }
1919 # If we didn't sleep, we still need to ensure time stamps of config.status and
1920 # generated files are strictly newer.
1921 am_sleep_pid=
1922 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1923 ( sleep 1 ) &
1924 am_sleep_pid=$!
1927 rm -f conftest.file
1929 test "$program_prefix" != NONE &&
1930 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1931 # Use a double $ so make ignores it.
1932 test "$program_suffix" != NONE &&
1933 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1934 # Double any \ or $.
1935 # By default was `s,x,x', remove it if useless.
1936 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1937 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1939 # Expand $ac_aux_dir to an absolute path.
1940 am_aux_dir=`cd "$ac_aux_dir" && pwd`
1942 if test x"${MISSING+set}" != xset; then
1943 case $am_aux_dir in
1944 *\ * | *\ *)
1945 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1947 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1948 esac
1950 # Use eval to expand $SHELL
1951 if eval "$MISSING --is-lightweight"; then
1952 am_missing_run="$MISSING "
1953 else
1954 am_missing_run=
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1956 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1959 if test x"${install_sh+set}" != xset; then
1960 case $am_aux_dir in
1961 *\ * | *\ *)
1962 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1964 install_sh="\${SHELL} $am_aux_dir/install-sh"
1965 esac
1968 # Installed binaries are usually stripped using 'strip' when the user
1969 # run "make install-strip". However 'strip' might not be the right
1970 # tool to use in cross-compilation environments, therefore Automake
1971 # will honor the 'STRIP' environment variable to overrule this program.
1972 if test "$cross_compiling" != no; then
1973 if test -n "$ac_tool_prefix"; then
1974 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1975 set dummy ${ac_tool_prefix}strip; ac_word=$2
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1977 $as_echo_n "checking for $ac_word... " >&6; }
1978 if ${ac_cv_prog_STRIP+:} false; then :
1979 $as_echo_n "(cached) " >&6
1980 else
1981 if test -n "$STRIP"; then
1982 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
1997 IFS=$as_save_IFS
2001 STRIP=$ac_cv_prog_STRIP
2002 if test -n "$STRIP"; then
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2004 $as_echo "$STRIP" >&6; }
2005 else
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2007 $as_echo "no" >&6; }
2012 if test -z "$ac_cv_prog_STRIP"; then
2013 ac_ct_STRIP=$STRIP
2014 # Extract the first word of "strip", so it can be a program name with args.
2015 set dummy strip; ac_word=$2
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2017 $as_echo_n "checking for $ac_word... " >&6; }
2018 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2019 $as_echo_n "(cached) " >&6
2020 else
2021 if test -n "$ac_ct_STRIP"; then
2022 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2023 else
2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 for as_dir in $PATH
2027 IFS=$as_save_IFS
2028 test -z "$as_dir" && as_dir=.
2029 for ac_exec_ext in '' $ac_executable_extensions; do
2030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 ac_cv_prog_ac_ct_STRIP="strip"
2032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 break 2
2035 done
2036 done
2037 IFS=$as_save_IFS
2041 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2042 if test -n "$ac_ct_STRIP"; then
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2044 $as_echo "$ac_ct_STRIP" >&6; }
2045 else
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2047 $as_echo "no" >&6; }
2050 if test "x$ac_ct_STRIP" = x; then
2051 STRIP=":"
2052 else
2053 case $cross_compiling:$ac_tool_warned in
2054 yes:)
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2057 ac_tool_warned=yes ;;
2058 esac
2059 STRIP=$ac_ct_STRIP
2061 else
2062 STRIP="$ac_cv_prog_STRIP"
2066 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2069 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2070 if test -z "$MKDIR_P"; then
2071 if ${ac_cv_path_mkdir+:} false; then :
2072 $as_echo_n "(cached) " >&6
2073 else
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2077 IFS=$as_save_IFS
2078 test -z "$as_dir" && as_dir=.
2079 for ac_prog in mkdir gmkdir; do
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2082 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2083 'mkdir (GNU coreutils) '* | \
2084 'mkdir (coreutils) '* | \
2085 'mkdir (fileutils) '4.1*)
2086 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2087 break 3;;
2088 esac
2089 done
2090 done
2091 done
2092 IFS=$as_save_IFS
2096 test -d ./--version && rmdir ./--version
2097 if test "${ac_cv_path_mkdir+set}" = set; then
2098 MKDIR_P="$ac_cv_path_mkdir -p"
2099 else
2100 # As a last resort, use the slow shell script. Don't cache a
2101 # value for MKDIR_P within a source directory, because that will
2102 # break other packages using the cache if that directory is
2103 # removed, or if the value is a relative name.
2104 MKDIR_P="$ac_install_sh -d"
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2108 $as_echo "$MKDIR_P" >&6; }
2110 for ac_prog in gawk mawk nawk awk
2112 # Extract the first word of "$ac_prog", so it can be a program name with args.
2113 set dummy $ac_prog; ac_word=$2
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if ${ac_cv_prog_AWK+:} false; then :
2117 $as_echo_n "(cached) " >&6
2118 else
2119 if test -n "$AWK"; then
2120 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2129 ac_cv_prog_AWK="$ac_prog"
2130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 break 2
2133 done
2134 done
2135 IFS=$as_save_IFS
2139 AWK=$ac_cv_prog_AWK
2140 if test -n "$AWK"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2142 $as_echo "$AWK" >&6; }
2143 else
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145 $as_echo "no" >&6; }
2149 test -n "$AWK" && break
2150 done
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2153 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2154 set x ${MAKE-make}
2155 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2156 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2157 $as_echo_n "(cached) " >&6
2158 else
2159 cat >conftest.make <<\_ACEOF
2160 SHELL = /bin/sh
2161 all:
2162 @echo '@@@%%%=$(MAKE)=@@@%%%'
2163 _ACEOF
2164 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2165 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2166 *@@@%%%=?*=@@@%%%*)
2167 eval ac_cv_prog_make_${ac_make}_set=yes;;
2169 eval ac_cv_prog_make_${ac_make}_set=no;;
2170 esac
2171 rm -f conftest.make
2173 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2175 $as_echo "yes" >&6; }
2176 SET_MAKE=
2177 else
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2180 SET_MAKE="MAKE=${MAKE-make}"
2183 rm -rf .tst 2>/dev/null
2184 mkdir .tst 2>/dev/null
2185 if test -d .tst; then
2186 am__leading_dot=.
2187 else
2188 am__leading_dot=_
2190 rmdir .tst 2>/dev/null
2192 # Check whether --enable-silent-rules was given.
2193 if test "${enable_silent_rules+set}" = set; then :
2194 enableval=$enable_silent_rules;
2197 case $enable_silent_rules in # (((
2198 yes) AM_DEFAULT_VERBOSITY=0;;
2199 no) AM_DEFAULT_VERBOSITY=1;;
2200 *) AM_DEFAULT_VERBOSITY=1;;
2201 esac
2202 am_make=${MAKE-make}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2204 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2205 if ${am_cv_make_support_nested_variables+:} false; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 if $as_echo 'TRUE=$(BAR$(V))
2209 BAR0=false
2210 BAR1=true
2212 am__doit:
2213 @$(TRUE)
2214 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2215 am_cv_make_support_nested_variables=yes
2216 else
2217 am_cv_make_support_nested_variables=no
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2221 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2222 if test $am_cv_make_support_nested_variables = yes; then
2223 AM_V='$(V)'
2224 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2225 else
2226 AM_V=$AM_DEFAULT_VERBOSITY
2227 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2229 AM_BACKSLASH='\'
2231 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2232 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2233 # is not polluted with repeated "-I."
2234 am__isrc=' -I$(srcdir)'
2235 # test to see if srcdir already configured
2236 if test -f $srcdir/config.status; then
2237 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2241 # test whether we have cygpath
2242 if test -z "$CYGPATH_W"; then
2243 if (cygpath --version) >/dev/null 2>/dev/null; then
2244 CYGPATH_W='cygpath -w'
2245 else
2246 CYGPATH_W=echo
2251 # Define the identity of the package.
2252 PACKAGE='etc'
2253 VERSION='0'
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE "$PACKAGE"
2258 _ACEOF
2261 cat >>confdefs.h <<_ACEOF
2262 #define VERSION "$VERSION"
2263 _ACEOF
2265 # Some tools Automake needs.
2267 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2270 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2273 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2276 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2279 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2281 # For better backward compatibility. To be removed once Automake 1.9.x
2282 # dies out for good. For more background, see:
2283 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2284 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2285 mkdir_p='$(MKDIR_P)'
2287 # We need awk for the "check" target (and possibly the TAP driver). The
2288 # system "awk" is bad on some platforms.
2289 # Always define AMTAR for backward compatibility. Yes, it's still used
2290 # in the wild :-( We should find a proper way to deprecate it ...
2291 AMTAR='$${TAR-tar}'
2294 # We'll loop over all known methods to create a tar archive until one works.
2295 _am_tools='gnutar pax cpio none'
2297 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2304 # POSIX will say in a future version that running "rm -f" with no argument
2305 # is OK; and we want to be able to make that assumption in our Makefile
2306 # recipes. So use an aggressive probe to check that the usage we want is
2307 # actually supported "in the wild" to an acceptable degree.
2308 # See automake bug#10828.
2309 # To make any issue more visible, cause the running configure to be aborted
2310 # by default if the 'rm' program in use doesn't match our expectations; the
2311 # user can still override this though.
2312 if rm -f && rm -fr && rm -rf; then : OK; else
2313 cat >&2 <<'END'
2314 Oops!
2316 Your 'rm' program seems unable to run without file operands specified
2317 on the command line, even when the '-f' option is present. This is contrary
2318 to the behaviour of most rm programs out there, and not conforming with
2319 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2321 Please tell bug-automake@gnu.org about your system, including the value
2322 of your $PATH and any error possibly output before this message. This
2323 can help us improve future automake versions.
2326 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2327 echo 'Configuration will proceed anyway, since you have set the' >&2
2328 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2329 echo >&2
2330 else
2331 cat >&2 <<'END'
2332 Aborting the configuration process, to ensure you take notice of the issue.
2334 You can download and install GNU coreutils to get an 'rm' implementation
2335 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2337 If you want to complete the configuration process using your problematic
2338 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2339 to "yes", and re-run configure.
2342 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2346 # Check whether --enable-silent-rules was given.
2347 if test "${enable_silent_rules+set}" = set; then :
2348 enableval=$enable_silent_rules;
2351 case $enable_silent_rules in # (((
2352 yes) AM_DEFAULT_VERBOSITY=0;;
2353 no) AM_DEFAULT_VERBOSITY=1;;
2354 *) AM_DEFAULT_VERBOSITY=0;;
2355 esac
2356 am_make=${MAKE-make}
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2358 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2359 if ${am_cv_make_support_nested_variables+:} false; then :
2360 $as_echo_n "(cached) " >&6
2361 else
2362 if $as_echo 'TRUE=$(BAR$(V))
2363 BAR0=false
2364 BAR1=true
2366 am__doit:
2367 @$(TRUE)
2368 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2369 am_cv_make_support_nested_variables=yes
2370 else
2371 am_cv_make_support_nested_variables=no
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2375 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2376 if test $am_cv_make_support_nested_variables = yes; then
2377 AM_V='$(V)'
2378 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2379 else
2380 AM_V=$AM_DEFAULT_VERBOSITY
2381 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2383 AM_BACKSLASH='\'
2386 ac_config_files="$ac_config_files Makefile"
2388 cat >confcache <<\_ACEOF
2389 # This file is a shell script that caches the results of configure
2390 # tests run on this system so they can be shared between configure
2391 # scripts and configure runs, see configure's option --config-cache.
2392 # It is not useful on other systems. If it contains results you don't
2393 # want to keep, you may remove or edit it.
2395 # config.status only pays attention to the cache file if you give it
2396 # the --recheck option to rerun configure.
2398 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2399 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2400 # following values.
2402 _ACEOF
2404 # The following way of writing the cache mishandles newlines in values,
2405 # but we know of no workaround that is simple, portable, and efficient.
2406 # So, we kill variables containing newlines.
2407 # Ultrix sh set writes to stderr and can't be redirected directly,
2408 # and sets the high bit in the cache file unless we assign to the vars.
2410 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2411 eval ac_val=\$$ac_var
2412 case $ac_val in #(
2413 *${as_nl}*)
2414 case $ac_var in #(
2415 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2417 esac
2418 case $ac_var in #(
2419 _ | IFS | as_nl) ;; #(
2420 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2421 *) { eval $ac_var=; unset $ac_var;} ;;
2422 esac ;;
2423 esac
2424 done
2426 (set) 2>&1 |
2427 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2428 *${as_nl}ac_space=\ *)
2429 # `set' does not quote correctly, so add quotes: double-quote
2430 # substitution turns \\\\ into \\, and sed turns \\ into \.
2431 sed -n \
2432 "s/'/'\\\\''/g;
2433 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2434 ;; #(
2436 # `set' quotes correctly as required by POSIX, so do not add quotes.
2437 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2439 esac |
2440 sort
2442 sed '
2443 /^ac_cv_env_/b end
2444 t clear
2445 :clear
2446 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2447 t end
2448 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2449 :end' >>confcache
2450 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2451 if test -w "$cache_file"; then
2452 if test "x$cache_file" != "x/dev/null"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2454 $as_echo "$as_me: updating cache $cache_file" >&6;}
2455 if test ! -f "$cache_file" || test -h "$cache_file"; then
2456 cat confcache >"$cache_file"
2457 else
2458 case $cache_file in #(
2459 */* | ?:*)
2460 mv -f confcache "$cache_file"$$ &&
2461 mv -f "$cache_file"$$ "$cache_file" ;; #(
2463 mv -f confcache "$cache_file" ;;
2464 esac
2467 else
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2469 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2472 rm -f confcache
2474 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2475 # Let make expand exec_prefix.
2476 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2478 # Transform confdefs.h into DEFS.
2479 # Protect against shell expansion while executing Makefile rules.
2480 # Protect against Makefile macro expansion.
2482 # If the first sed substitution is executed (which looks for macros that
2483 # take arguments), then branch to the quote section. Otherwise,
2484 # look for a macro that doesn't take arguments.
2485 ac_script='
2486 :mline
2487 /\\$/{
2489 s,\\\n,,
2490 b mline
2492 t clear
2493 :clear
2494 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2495 t quote
2496 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2497 t quote
2498 b any
2499 :quote
2500 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2501 s/\[/\\&/g
2502 s/\]/\\&/g
2503 s/\$/$$/g
2505 :any
2508 s/^\n//
2509 s/\n/ /g
2513 DEFS=`sed -n "$ac_script" confdefs.h`
2516 ac_libobjs=
2517 ac_ltlibobjs=
2519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2520 # 1. Remove the extension, and $U if already installed.
2521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2524 # will be set to the directory where LIBOBJS objects are built.
2525 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2526 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2527 done
2528 LIBOBJS=$ac_libobjs
2530 LTLIBOBJS=$ac_ltlibobjs
2533 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2534 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2538 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2539 if test -n "$am_sleep_pid"; then
2540 # Hide warnings about reused PIDs.
2541 wait $am_sleep_pid 2>/dev/null
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2544 $as_echo "done" >&6; }
2547 : "${CONFIG_STATUS=./config.status}"
2548 ac_write_fail=0
2549 ac_clean_files_save=$ac_clean_files
2550 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2552 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2553 as_write_fail=0
2554 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2555 #! $SHELL
2556 # Generated by $as_me.
2557 # Run this file to recreate the current configuration.
2558 # Compiler output produced by configure, useful for debugging
2559 # configure, is in config.log if it exists.
2561 debug=false
2562 ac_cs_recheck=false
2563 ac_cs_silent=false
2565 SHELL=\${CONFIG_SHELL-$SHELL}
2566 export SHELL
2567 _ASEOF
2568 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2569 ## -------------------- ##
2570 ## M4sh Initialization. ##
2571 ## -------------------- ##
2573 # Be more Bourne compatible
2574 DUALCASE=1; export DUALCASE # for MKS sh
2575 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2576 emulate sh
2577 NULLCMD=:
2578 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2579 # is contrary to our usage. Disable this feature.
2580 alias -g '${1+"$@"}'='"$@"'
2581 setopt NO_GLOB_SUBST
2582 else
2583 case `(set -o) 2>/dev/null` in #(
2584 *posix*) :
2585 set -o posix ;; #(
2586 *) :
2588 esac
2592 as_nl='
2594 export as_nl
2595 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2596 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2597 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2598 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2599 # Prefer a ksh shell builtin over an external printf program on Solaris,
2600 # but without wasting forks for bash or zsh.
2601 if test -z "$BASH_VERSION$ZSH_VERSION" \
2602 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2603 as_echo='print -r --'
2604 as_echo_n='print -rn --'
2605 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2606 as_echo='printf %s\n'
2607 as_echo_n='printf %s'
2608 else
2609 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2610 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2611 as_echo_n='/usr/ucb/echo -n'
2612 else
2613 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2614 as_echo_n_body='eval
2615 arg=$1;
2616 case $arg in #(
2617 *"$as_nl"*)
2618 expr "X$arg" : "X\\(.*\\)$as_nl";
2619 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2620 esac;
2621 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2623 export as_echo_n_body
2624 as_echo_n='sh -c $as_echo_n_body as_echo'
2626 export as_echo_body
2627 as_echo='sh -c $as_echo_body as_echo'
2630 # The user is always right.
2631 if test "${PATH_SEPARATOR+set}" != set; then
2632 PATH_SEPARATOR=:
2633 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2634 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2635 PATH_SEPARATOR=';'
2640 # IFS
2641 # We need space, tab and new line, in precisely that order. Quoting is
2642 # there to prevent editors from complaining about space-tab.
2643 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2644 # splitting by setting IFS to empty value.)
2645 IFS=" "" $as_nl"
2647 # Find who we are. Look in the path if we contain no directory separator.
2648 as_myself=
2649 case $0 in #((
2650 *[\\/]* ) as_myself=$0 ;;
2651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 for as_dir in $PATH
2654 IFS=$as_save_IFS
2655 test -z "$as_dir" && as_dir=.
2656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2657 done
2658 IFS=$as_save_IFS
2661 esac
2662 # We did not find ourselves, most probably we were run as `sh COMMAND'
2663 # in which case we are not to be found in the path.
2664 if test "x$as_myself" = x; then
2665 as_myself=$0
2667 if test ! -f "$as_myself"; then
2668 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2669 exit 1
2672 # Unset variables that we do not need and which cause bugs (e.g. in
2673 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2674 # suppresses any "Segmentation fault" message there. '((' could
2675 # trigger a bug in pdksh 5.2.14.
2676 for as_var in BASH_ENV ENV MAIL MAILPATH
2677 do eval test x\${$as_var+set} = xset \
2678 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2679 done
2680 PS1='$ '
2681 PS2='> '
2682 PS4='+ '
2684 # NLS nuisances.
2685 LC_ALL=C
2686 export LC_ALL
2687 LANGUAGE=C
2688 export LANGUAGE
2690 # CDPATH.
2691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2694 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2695 # ----------------------------------------
2696 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2697 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2698 # script with STATUS, using 1 if that was 0.
2699 as_fn_error ()
2701 as_status=$1; test $as_status -eq 0 && as_status=1
2702 if test "$4"; then
2703 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2704 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2706 $as_echo "$as_me: error: $2" >&2
2707 as_fn_exit $as_status
2708 } # as_fn_error
2711 # as_fn_set_status STATUS
2712 # -----------------------
2713 # Set $? to STATUS, without forking.
2714 as_fn_set_status ()
2716 return $1
2717 } # as_fn_set_status
2719 # as_fn_exit STATUS
2720 # -----------------
2721 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2722 as_fn_exit ()
2724 set +e
2725 as_fn_set_status $1
2726 exit $1
2727 } # as_fn_exit
2729 # as_fn_unset VAR
2730 # ---------------
2731 # Portably unset VAR.
2732 as_fn_unset ()
2734 { eval $1=; unset $1;}
2736 as_unset=as_fn_unset
2737 # as_fn_append VAR VALUE
2738 # ----------------------
2739 # Append the text in VALUE to the end of the definition contained in VAR. Take
2740 # advantage of any shell optimizations that allow amortized linear growth over
2741 # repeated appends, instead of the typical quadratic growth present in naive
2742 # implementations.
2743 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2744 eval 'as_fn_append ()
2746 eval $1+=\$2
2748 else
2749 as_fn_append ()
2751 eval $1=\$$1\$2
2753 fi # as_fn_append
2755 # as_fn_arith ARG...
2756 # ------------------
2757 # Perform arithmetic evaluation on the ARGs, and store the result in the
2758 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2759 # must be portable across $(()) and expr.
2760 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2761 eval 'as_fn_arith ()
2763 as_val=$(( $* ))
2765 else
2766 as_fn_arith ()
2768 as_val=`expr "$@" || test $? -eq 1`
2770 fi # as_fn_arith
2773 if expr a : '\(a\)' >/dev/null 2>&1 &&
2774 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2775 as_expr=expr
2776 else
2777 as_expr=false
2780 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2781 as_basename=basename
2782 else
2783 as_basename=false
2786 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2787 as_dirname=dirname
2788 else
2789 as_dirname=false
2792 as_me=`$as_basename -- "$0" ||
2793 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2794 X"$0" : 'X\(//\)$' \| \
2795 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2796 $as_echo X/"$0" |
2797 sed '/^.*\/\([^/][^/]*\)\/*$/{
2798 s//\1/
2801 /^X\/\(\/\/\)$/{
2802 s//\1/
2805 /^X\/\(\/\).*/{
2806 s//\1/
2809 s/.*/./; q'`
2811 # Avoid depending upon Character Ranges.
2812 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2813 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2814 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2815 as_cr_digits='0123456789'
2816 as_cr_alnum=$as_cr_Letters$as_cr_digits
2818 ECHO_C= ECHO_N= ECHO_T=
2819 case `echo -n x` in #(((((
2820 -n*)
2821 case `echo 'xy\c'` in
2822 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2823 xy) ECHO_C='\c';;
2824 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2825 ECHO_T=' ';;
2826 esac;;
2828 ECHO_N='-n';;
2829 esac
2831 rm -f conf$$ conf$$.exe conf$$.file
2832 if test -d conf$$.dir; then
2833 rm -f conf$$.dir/conf$$.file
2834 else
2835 rm -f conf$$.dir
2836 mkdir conf$$.dir 2>/dev/null
2838 if (echo >conf$$.file) 2>/dev/null; then
2839 if ln -s conf$$.file conf$$ 2>/dev/null; then
2840 as_ln_s='ln -s'
2841 # ... but there are two gotchas:
2842 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2843 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2844 # In both cases, we have to default to `cp -pR'.
2845 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2846 as_ln_s='cp -pR'
2847 elif ln conf$$.file conf$$ 2>/dev/null; then
2848 as_ln_s=ln
2849 else
2850 as_ln_s='cp -pR'
2852 else
2853 as_ln_s='cp -pR'
2855 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2856 rmdir conf$$.dir 2>/dev/null
2859 # as_fn_mkdir_p
2860 # -------------
2861 # Create "$as_dir" as a directory, including parents if necessary.
2862 as_fn_mkdir_p ()
2865 case $as_dir in #(
2866 -*) as_dir=./$as_dir;;
2867 esac
2868 test -d "$as_dir" || eval $as_mkdir_p || {
2869 as_dirs=
2870 while :; do
2871 case $as_dir in #(
2872 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2873 *) as_qdir=$as_dir;;
2874 esac
2875 as_dirs="'$as_qdir' $as_dirs"
2876 as_dir=`$as_dirname -- "$as_dir" ||
2877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2878 X"$as_dir" : 'X\(//\)[^/]' \| \
2879 X"$as_dir" : 'X\(//\)$' \| \
2880 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2881 $as_echo X"$as_dir" |
2882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2883 s//\1/
2886 /^X\(\/\/\)[^/].*/{
2887 s//\1/
2890 /^X\(\/\/\)$/{
2891 s//\1/
2894 /^X\(\/\).*/{
2895 s//\1/
2898 s/.*/./; q'`
2899 test -d "$as_dir" && break
2900 done
2901 test -z "$as_dirs" || eval "mkdir $as_dirs"
2902 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2905 } # as_fn_mkdir_p
2906 if mkdir -p . 2>/dev/null; then
2907 as_mkdir_p='mkdir -p "$as_dir"'
2908 else
2909 test -d ./-p && rmdir ./-p
2910 as_mkdir_p=false
2914 # as_fn_executable_p FILE
2915 # -----------------------
2916 # Test if FILE is an executable regular file.
2917 as_fn_executable_p ()
2919 test -f "$1" && test -x "$1"
2920 } # as_fn_executable_p
2921 as_test_x='test -x'
2922 as_executable_p=as_fn_executable_p
2924 # Sed expression to map a string onto a valid CPP name.
2925 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2927 # Sed expression to map a string onto a valid variable name.
2928 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2931 exec 6>&1
2932 ## ----------------------------------- ##
2933 ## Main body of $CONFIG_STATUS script. ##
2934 ## ----------------------------------- ##
2935 _ASEOF
2936 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2939 # Save the log message, to keep $0 and so on meaningful, and to
2940 # report actual input values of CONFIG_FILES etc. instead of their
2941 # values after options handling.
2942 ac_log="
2943 This file was extended by etc $as_me 0, which was
2944 generated by GNU Autoconf 2.69. Invocation command line was
2946 CONFIG_FILES = $CONFIG_FILES
2947 CONFIG_HEADERS = $CONFIG_HEADERS
2948 CONFIG_LINKS = $CONFIG_LINKS
2949 CONFIG_COMMANDS = $CONFIG_COMMANDS
2950 $ $0 $@
2952 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2955 _ACEOF
2957 case $ac_config_files in *"
2958 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2959 esac
2963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2964 # Files that config.status was made for.
2965 config_files="$ac_config_files"
2967 _ACEOF
2969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2970 ac_cs_usage="\
2971 \`$as_me' instantiates files and other configuration actions
2972 from templates according to the current configuration. Unless the files
2973 and actions are specified as TAGs, all are instantiated by default.
2975 Usage: $0 [OPTION]... [TAG]...
2977 -h, --help print this help, then exit
2978 -V, --version print version number and configuration settings, then exit
2979 --config print configuration, then exit
2980 -q, --quiet, --silent
2981 do not print progress messages
2982 -d, --debug don't remove temporary files
2983 --recheck update $as_me by reconfiguring in the same conditions
2984 --file=FILE[:TEMPLATE]
2985 instantiate the configuration file FILE
2987 Configuration files:
2988 $config_files
2990 Report bugs to the package provider."
2992 _ACEOF
2993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2994 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2995 ac_cs_version="\\
2996 etc config.status 0
2997 configured by $0, generated by GNU Autoconf 2.69,
2998 with options \\"\$ac_cs_config\\"
3000 Copyright (C) 2012 Free Software Foundation, Inc.
3001 This config.status script is free software; the Free Software Foundation
3002 gives unlimited permission to copy, distribute and modify it."
3004 ac_pwd='$ac_pwd'
3005 srcdir='$srcdir'
3006 INSTALL='$INSTALL'
3007 MKDIR_P='$MKDIR_P'
3008 AWK='$AWK'
3009 test -n "\$AWK" || AWK=awk
3010 _ACEOF
3012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3013 # The default lists apply if the user does not specify any file.
3014 ac_need_defaults=:
3015 while test $# != 0
3017 case $1 in
3018 --*=?*)
3019 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3020 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3021 ac_shift=:
3023 --*=)
3024 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3025 ac_optarg=
3026 ac_shift=:
3029 ac_option=$1
3030 ac_optarg=$2
3031 ac_shift=shift
3033 esac
3035 case $ac_option in
3036 # Handling of the options.
3037 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3038 ac_cs_recheck=: ;;
3039 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3040 $as_echo "$ac_cs_version"; exit ;;
3041 --config | --confi | --conf | --con | --co | --c )
3042 $as_echo "$ac_cs_config"; exit ;;
3043 --debug | --debu | --deb | --de | --d | -d )
3044 debug=: ;;
3045 --file | --fil | --fi | --f )
3046 $ac_shift
3047 case $ac_optarg in
3048 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3049 '') as_fn_error $? "missing file argument" ;;
3050 esac
3051 as_fn_append CONFIG_FILES " '$ac_optarg'"
3052 ac_need_defaults=false;;
3053 --he | --h | --help | --hel | -h )
3054 $as_echo "$ac_cs_usage"; exit ;;
3055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3056 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3057 ac_cs_silent=: ;;
3059 # This is an error.
3060 -*) as_fn_error $? "unrecognized option: \`$1'
3061 Try \`$0 --help' for more information." ;;
3063 *) as_fn_append ac_config_targets " $1"
3064 ac_need_defaults=false ;;
3066 esac
3067 shift
3068 done
3070 ac_configure_extra_args=
3072 if $ac_cs_silent; then
3073 exec 6>/dev/null
3074 ac_configure_extra_args="$ac_configure_extra_args --silent"
3077 _ACEOF
3078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3079 if \$ac_cs_recheck; then
3080 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3081 shift
3082 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3083 CONFIG_SHELL='$SHELL'
3084 export CONFIG_SHELL
3085 exec "\$@"
3088 _ACEOF
3089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3090 exec 5>>config.log
3092 echo
3093 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3094 ## Running $as_me. ##
3095 _ASBOX
3096 $as_echo "$ac_log"
3097 } >&5
3099 _ACEOF
3100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3101 _ACEOF
3103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3105 # Handling of arguments.
3106 for ac_config_target in $ac_config_targets
3108 case $ac_config_target in
3109 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3111 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3112 esac
3113 done
3116 # If the user did not use the arguments to specify the items to instantiate,
3117 # then the envvar interface is used. Set only those that are not.
3118 # We use the long form for the default assignment because of an extremely
3119 # bizarre bug on SunOS 4.1.3.
3120 if $ac_need_defaults; then
3121 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3124 # Have a temporary directory for convenience. Make it in the build tree
3125 # simply because there is no reason against having it here, and in addition,
3126 # creating and moving files from /tmp can sometimes cause problems.
3127 # Hook for its removal unless debugging.
3128 # Note that there is a small window in which the directory will not be cleaned:
3129 # after its creation but before its name has been assigned to `$tmp'.
3130 $debug ||
3132 tmp= ac_tmp=
3133 trap 'exit_status=$?
3134 : "${ac_tmp:=$tmp}"
3135 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3137 trap 'as_fn_exit 1' 1 2 13 15
3139 # Create a (secure) tmp directory for tmp files.
3142 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3143 test -d "$tmp"
3144 } ||
3146 tmp=./conf$$-$RANDOM
3147 (umask 077 && mkdir "$tmp")
3148 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3149 ac_tmp=$tmp
3151 # Set up the scripts for CONFIG_FILES section.
3152 # No need to generate them if there are no CONFIG_FILES.
3153 # This happens for instance with `./config.status config.h'.
3154 if test -n "$CONFIG_FILES"; then
3157 ac_cr=`echo X | tr X '\015'`
3158 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3159 # But we know of no other shell where ac_cr would be empty at this
3160 # point, so we can use a bashism as a fallback.
3161 if test "x$ac_cr" = x; then
3162 eval ac_cr=\$\'\\r\'
3164 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3165 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3166 ac_cs_awk_cr='\\r'
3167 else
3168 ac_cs_awk_cr=$ac_cr
3171 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3172 _ACEOF
3176 echo "cat >conf$$subs.awk <<_ACEOF" &&
3177 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3178 echo "_ACEOF"
3179 } >conf$$subs.sh ||
3180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3181 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3182 ac_delim='%!_!# '
3183 for ac_last_try in false false false false false :; do
3184 . ./conf$$subs.sh ||
3185 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3187 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3188 if test $ac_delim_n = $ac_delim_num; then
3189 break
3190 elif $ac_last_try; then
3191 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3192 else
3193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3195 done
3196 rm -f conf$$subs.sh
3198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3199 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3200 _ACEOF
3201 sed -n '
3203 s/^/S["/; s/!.*/"]=/
3206 s/^[^!]*!//
3207 :repl
3208 t repl
3209 s/'"$ac_delim"'$//
3210 t delim
3213 s/\(.\{148\}\)..*/\1/
3214 t more1
3215 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3218 b repl
3219 :more1
3220 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3223 s/.\{148\}//
3224 t nl
3225 :delim
3227 s/\(.\{148\}\)..*/\1/
3228 t more2
3229 s/["\\]/\\&/g; s/^/"/; s/$/"/
3232 :more2
3233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3236 s/.\{148\}//
3237 t delim
3238 ' <conf$$subs.awk | sed '
3239 /^[^""]/{
3241 s/\n//
3243 ' >>$CONFIG_STATUS || ac_write_fail=1
3244 rm -f conf$$subs.awk
3245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3246 _ACAWK
3247 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3248 for (key in S) S_is_set[key] = 1
3249 FS = "\a"
3253 line = $ 0
3254 nfields = split(line, field, "@")
3255 substed = 0
3256 len = length(field[1])
3257 for (i = 2; i < nfields; i++) {
3258 key = field[i]
3259 keylen = length(key)
3260 if (S_is_set[key]) {
3261 value = S[key]
3262 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3263 len += length(value) + length(field[++i])
3264 substed = 1
3265 } else
3266 len += 1 + keylen
3269 print line
3272 _ACAWK
3273 _ACEOF
3274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3275 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3276 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3277 else
3279 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3280 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3281 _ACEOF
3283 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3284 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3285 # trailing colons and then remove the whole line if VPATH becomes empty
3286 # (actually we leave an empty line to preserve line numbers).
3287 if test "x$srcdir" = x.; then
3288 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3290 s///
3291 s/^/:/
3292 s/[ ]*$/:/
3293 s/:\$(srcdir):/:/g
3294 s/:\${srcdir}:/:/g
3295 s/:@srcdir@:/:/g
3296 s/^:*//
3297 s/:*$//
3299 s/\(=[ ]*\).*/\1/
3301 s/\n//
3302 s/^[^=]*=[ ]*$//
3306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3307 fi # test -n "$CONFIG_FILES"
3310 eval set X " :F $CONFIG_FILES "
3311 shift
3312 for ac_tag
3314 case $ac_tag in
3315 :[FHLC]) ac_mode=$ac_tag; continue;;
3316 esac
3317 case $ac_mode$ac_tag in
3318 :[FHL]*:*);;
3319 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3320 :[FH]-) ac_tag=-:-;;
3321 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3322 esac
3323 ac_save_IFS=$IFS
3324 IFS=:
3325 set x $ac_tag
3326 IFS=$ac_save_IFS
3327 shift
3328 ac_file=$1
3329 shift
3331 case $ac_mode in
3332 :L) ac_source=$1;;
3333 :[FH])
3334 ac_file_inputs=
3335 for ac_f
3337 case $ac_f in
3338 -) ac_f="$ac_tmp/stdin";;
3339 *) # Look for the file first in the build tree, then in the source tree
3340 # (if the path is not absolute). The absolute path cannot be DOS-style,
3341 # because $ac_f cannot contain `:'.
3342 test -f "$ac_f" ||
3343 case $ac_f in
3344 [\\/$]*) false;;
3345 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3346 esac ||
3347 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3348 esac
3349 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3350 as_fn_append ac_file_inputs " '$ac_f'"
3351 done
3353 # Let's still pretend it is `configure' which instantiates (i.e., don't
3354 # use $as_me), people would be surprised to read:
3355 # /* config.h. Generated by config.status. */
3356 configure_input='Generated from '`
3357 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3358 `' by configure.'
3359 if test x"$ac_file" != x-; then
3360 configure_input="$ac_file. $configure_input"
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3362 $as_echo "$as_me: creating $ac_file" >&6;}
3364 # Neutralize special characters interpreted by sed in replacement strings.
3365 case $configure_input in #(
3366 *\&* | *\|* | *\\* )
3367 ac_sed_conf_input=`$as_echo "$configure_input" |
3368 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3369 *) ac_sed_conf_input=$configure_input;;
3370 esac
3372 case $ac_tag in
3373 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3374 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3375 esac
3377 esac
3379 ac_dir=`$as_dirname -- "$ac_file" ||
3380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3381 X"$ac_file" : 'X\(//\)[^/]' \| \
3382 X"$ac_file" : 'X\(//\)$' \| \
3383 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3384 $as_echo X"$ac_file" |
3385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3386 s//\1/
3389 /^X\(\/\/\)[^/].*/{
3390 s//\1/
3393 /^X\(\/\/\)$/{
3394 s//\1/
3397 /^X\(\/\).*/{
3398 s//\1/
3401 s/.*/./; q'`
3402 as_dir="$ac_dir"; as_fn_mkdir_p
3403 ac_builddir=.
3405 case "$ac_dir" in
3406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3409 # A ".." for each directory in $ac_dir_suffix.
3410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3411 case $ac_top_builddir_sub in
3412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3414 esac ;;
3415 esac
3416 ac_abs_top_builddir=$ac_pwd
3417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3418 # for backward compatibility:
3419 ac_top_builddir=$ac_top_build_prefix
3421 case $srcdir in
3422 .) # We are building in place.
3423 ac_srcdir=.
3424 ac_top_srcdir=$ac_top_builddir_sub
3425 ac_abs_top_srcdir=$ac_pwd ;;
3426 [\\/]* | ?:[\\/]* ) # Absolute name.
3427 ac_srcdir=$srcdir$ac_dir_suffix;
3428 ac_top_srcdir=$srcdir
3429 ac_abs_top_srcdir=$srcdir ;;
3430 *) # Relative name.
3431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3432 ac_top_srcdir=$ac_top_build_prefix$srcdir
3433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3434 esac
3435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3438 case $ac_mode in
3441 # CONFIG_FILE
3444 case $INSTALL in
3445 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3446 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3447 esac
3448 ac_MKDIR_P=$MKDIR_P
3449 case $MKDIR_P in
3450 [\\/$]* | ?:[\\/]* ) ;;
3451 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3452 esac
3453 _ACEOF
3455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3456 # If the template does not know about datarootdir, expand it.
3457 # FIXME: This hack should be removed a few years after 2.60.
3458 ac_datarootdir_hack=; ac_datarootdir_seen=
3459 ac_sed_dataroot='
3460 /datarootdir/ {
3464 /@datadir@/p
3465 /@docdir@/p
3466 /@infodir@/p
3467 /@localedir@/p
3468 /@mandir@/p'
3469 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3470 *datarootdir*) ac_datarootdir_seen=yes;;
3471 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3473 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3474 _ACEOF
3475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3476 ac_datarootdir_hack='
3477 s&@datadir@&$datadir&g
3478 s&@docdir@&$docdir&g
3479 s&@infodir@&$infodir&g
3480 s&@localedir@&$localedir&g
3481 s&@mandir@&$mandir&g
3482 s&\\\${datarootdir}&$datarootdir&g' ;;
3483 esac
3484 _ACEOF
3486 # Neutralize VPATH when `$srcdir' = `.'.
3487 # Shell code in configure.ac might set extrasub.
3488 # FIXME: do we really want to maintain this feature?
3489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3490 ac_sed_extra="$ac_vpsub
3491 $extrasub
3492 _ACEOF
3493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3496 s|@configure_input@|$ac_sed_conf_input|;t t
3497 s&@top_builddir@&$ac_top_builddir_sub&;t t
3498 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3499 s&@srcdir@&$ac_srcdir&;t t
3500 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3501 s&@top_srcdir@&$ac_top_srcdir&;t t
3502 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3503 s&@builddir@&$ac_builddir&;t t
3504 s&@abs_builddir@&$ac_abs_builddir&;t t
3505 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3506 s&@INSTALL@&$ac_INSTALL&;t t
3507 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3508 $ac_datarootdir_hack
3510 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3511 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3514 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3516 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3518 which seems to be undefined. Please make sure it is defined" >&5
3519 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3520 which seems to be undefined. Please make sure it is defined" >&2;}
3522 rm -f "$ac_tmp/stdin"
3523 case $ac_file in
3524 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3525 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3526 esac \
3527 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3532 esac
3534 done # for ac_tag
3537 as_fn_exit 0
3538 _ACEOF
3539 ac_clean_files=$ac_clean_files_save
3541 test $ac_write_fail = 0 ||
3542 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3545 # configure is writing to config.log, and then calls config.status.
3546 # config.status does its own redirection, appending to config.log.
3547 # Unfortunately, on DOS this fails, as config.log is still kept open
3548 # by configure, so config.status won't be able to write to it; its
3549 # output is simply discarded. So we exec the FD to /dev/null,
3550 # effectively closing config.log, so it can be properly (re)opened and
3551 # appended to by config.status. When coming back to configure, we
3552 # need to make the FD available again.
3553 if test "$no_create" != yes; then
3554 ac_cs_success=:
3555 ac_config_status_args=
3556 test "$silent" = yes &&
3557 ac_config_status_args="$ac_config_status_args --quiet"
3558 exec 5>/dev/null
3559 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3560 exec 5>>config.log
3561 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3562 # would make configure fail if this is the last instruction.
3563 $ac_cs_success || as_fn_exit 1
3565 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3567 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}