wmframepic: Add version 0.1 to the repository.
[dockapps.git] / wmframepic / configure
blob918969553caa4dc385878a4f32678a2a07f5516d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 else
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes
176 else
177 as_have_required=no
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 break 2
201 done;;
202 esac
203 as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 else
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
235 exit 1
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
253 { eval $1=; unset $1;}
255 as_unset=as_fn_unset
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
262 return $1
263 } # as_fn_set_status
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
270 set +e
271 as_fn_set_status $1
272 exit $1
273 } # as_fn_exit
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
281 case $as_dir in #(
282 -*) as_dir=./$as_dir;;
283 esac
284 test -d "$as_dir" || eval $as_mkdir_p || {
285 as_dirs=
286 while :; do
287 case $as_dir in #(
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 *) as_qdir=$as_dir;;
290 esac
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299 s//\1/
302 /^X\(\/\/\)[^/].*/{
303 s//\1/
306 /^X\(\/\/\)$/{
307 s//\1/
310 /^X\(\/\).*/{
311 s//\1/
314 s/.*/./; q'`
315 test -d "$as_dir" && break
316 done
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 } # as_fn_mkdir_p
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
331 eval $1+=\$2
333 else
334 as_fn_append ()
336 eval $1=\$$1\$2
338 fi # as_fn_append
340 # as_fn_arith ARG...
341 # ------------------
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346 eval 'as_fn_arith ()
348 as_val=$(( $* ))
350 else
351 as_fn_arith ()
353 as_val=`expr "$@" || test $? -eq 1`
355 fi # as_fn_arith
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
363 as_fn_error ()
365 as_status=$?; test $as_status -eq 0 && as_status=1
366 if test "$3"; then
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
372 } # as_fn_error
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
376 as_expr=expr
377 else
378 as_expr=false
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382 as_basename=basename
383 else
384 as_basename=false
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388 as_dirname=dirname
389 else
390 as_dirname=false
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 $as_echo X/"$0" |
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
399 s//\1/
402 /^X\/\(\/\/\)$/{
403 s//\1/
406 /^X\/\(\/\).*/{
407 s//\1/
410 s/.*/./; q'`
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
425 sed -n '
427 /[$]LINENO/=
428 ' <$as_myself |
429 sed '
430 s/[$]LINENO.*/&-/
431 t lineno
433 :lineno
435 :loop
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437 t loop
438 s/-\n.*//
439 ' >$as_me.lineno &&
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
446 . "./$as_me.lineno"
447 # Exit status is that of the last command.
448 exit
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
453 -n*)
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 xy) ECHO_C='\c';;
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 ECHO_T=' ';;
459 esac;;
461 ECHO_N='-n';;
462 esac
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
467 else
468 rm -f conf$$.dir
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 as_ln_s='ln -s'
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 as_ln_s='cp -p'
480 elif ln conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s=ln
482 else
483 as_ln_s='cp -p'
485 else
486 as_ln_s='cp -p'
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
493 else
494 test -d ./-p && rmdir ./-p
495 as_mkdir_p=false
498 if test -x / >/dev/null 2>&1; then
499 as_test_x='test -x'
500 else
501 if ls -dL / >/dev/null 2>&1; then
502 as_ls_L_option=L
503 else
504 as_ls_L_option=
506 as_test_x='
507 eval sh -c '\''
508 if test -d "$1"; then
509 test -d "$1/.";
510 else
511 case $1 in #(
512 -*)set "./$1";;
513 esac;
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
516 '\'' sh
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
531 # Name of the host.
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 # Initializations.
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
548 # Identity of this package.
549 PACKAGE_NAME=
550 PACKAGE_TARNAME=
551 PACKAGE_VERSION=
552 PACKAGE_STRING=
553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
556 ac_unique_file="src/main.c"
557 ac_subst_vars='am__EXEEXT_FALSE
558 am__EXEEXT_TRUE
559 LTLIBOBJS
560 LIBOBJS
561 am__fastdepCC_FALSE
562 am__fastdepCC_TRUE
563 CCDEPMODE
564 AMDEPBACKSLASH
565 AMDEP_FALSE
566 AMDEP_TRUE
567 am__quote
568 am__include
569 DEPDIR
570 OBJEXT
571 EXEEXT
572 ac_ct_CC
573 CPPFLAGS
574 LDFLAGS
575 CFLAGS
577 am__untar
578 am__tar
579 AMTAR
580 am__leading_dot
581 SET_MAKE
583 mkdir_p
584 MKDIR_P
585 INSTALL_STRIP_PROGRAM
586 STRIP
587 install_sh
588 MAKEINFO
589 AUTOHEADER
590 AUTOMAKE
591 AUTOCONF
592 ACLOCAL
593 VERSION
594 PACKAGE
595 CYGPATH_W
596 am__isrc
597 INSTALL_DATA
598 INSTALL_SCRIPT
599 INSTALL_PROGRAM
600 target_alias
601 host_alias
602 build_alias
603 LIBS
604 ECHO_T
605 ECHO_N
606 ECHO_C
607 DEFS
608 mandir
609 localedir
610 libdir
611 psdir
612 pdfdir
613 dvidir
614 htmldir
615 infodir
616 docdir
617 oldincludedir
618 includedir
619 localstatedir
620 sharedstatedir
621 sysconfdir
622 datadir
623 datarootdir
624 libexecdir
625 sbindir
626 bindir
627 program_transform_name
628 prefix
629 exec_prefix
630 PACKAGE_URL
631 PACKAGE_BUGREPORT
632 PACKAGE_STRING
633 PACKAGE_VERSION
634 PACKAGE_TARNAME
635 PACKAGE_NAME
636 PATH_SEPARATOR
637 SHELL'
638 ac_subst_files=''
639 ac_user_opts='
640 enable_option_checking
641 enable_dependency_tracking
643 ac_precious_vars='build_alias
644 host_alias
645 target_alias
647 CFLAGS
648 LDFLAGS
649 LIBS
650 CPPFLAGS'
653 # Initialize some variables set by options.
654 ac_init_help=
655 ac_init_version=false
656 ac_unrecognized_opts=
657 ac_unrecognized_sep=
658 # The variables have the same names as the options, with
659 # dashes changed to underlines.
660 cache_file=/dev/null
661 exec_prefix=NONE
662 no_create=
663 no_recursion=
664 prefix=NONE
665 program_prefix=NONE
666 program_suffix=NONE
667 program_transform_name=s,x,x,
668 silent=
669 site=
670 srcdir=
671 verbose=
672 x_includes=NONE
673 x_libraries=NONE
675 # Installation directory options.
676 # These are left unexpanded so users can "make install exec_prefix=/foo"
677 # and all the variables that are supposed to be based on exec_prefix
678 # by default will actually change.
679 # Use braces instead of parens because sh, perl, etc. also accept them.
680 # (The list follows the same order as the GNU Coding Standards.)
681 bindir='${exec_prefix}/bin'
682 sbindir='${exec_prefix}/sbin'
683 libexecdir='${exec_prefix}/libexec'
684 datarootdir='${prefix}/share'
685 datadir='${datarootdir}'
686 sysconfdir='${prefix}/etc'
687 sharedstatedir='${prefix}/com'
688 localstatedir='${prefix}/var'
689 includedir='${prefix}/include'
690 oldincludedir='/usr/include'
691 docdir='${datarootdir}/doc/${PACKAGE}'
692 infodir='${datarootdir}/info'
693 htmldir='${docdir}'
694 dvidir='${docdir}'
695 pdfdir='${docdir}'
696 psdir='${docdir}'
697 libdir='${exec_prefix}/lib'
698 localedir='${datarootdir}/locale'
699 mandir='${datarootdir}/man'
701 ac_prev=
702 ac_dashdash=
703 for ac_option
705 # If the previous option needs an argument, assign it.
706 if test -n "$ac_prev"; then
707 eval $ac_prev=\$ac_option
708 ac_prev=
709 continue
712 case $ac_option in
713 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
714 *) ac_optarg=yes ;;
715 esac
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
721 ac_dashdash=yes ;;
723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
724 ac_prev=bindir ;;
725 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
726 bindir=$ac_optarg ;;
728 -build | --build | --buil | --bui | --bu)
729 ac_prev=build_alias ;;
730 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
731 build_alias=$ac_optarg ;;
733 -cache-file | --cache-file | --cache-fil | --cache-fi \
734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
735 ac_prev=cache_file ;;
736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
738 cache_file=$ac_optarg ;;
740 --config-cache | -C)
741 cache_file=config.cache ;;
743 -datadir | --datadir | --datadi | --datad)
744 ac_prev=datadir ;;
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
746 datadir=$ac_optarg ;;
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
755 -disable-* | --disable-*)
756 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
759 as_fn_error "invalid feature name: $ac_useropt"
760 ac_useropt_orig=$ac_useropt
761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
762 case $ac_user_opts in
764 "enable_$ac_useropt"
765 "*) ;;
766 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
767 ac_unrecognized_sep=', ';;
768 esac
769 eval enable_$ac_useropt=no ;;
771 -docdir | --docdir | --docdi | --doc | --do)
772 ac_prev=docdir ;;
773 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
774 docdir=$ac_optarg ;;
776 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
777 ac_prev=dvidir ;;
778 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
779 dvidir=$ac_optarg ;;
781 -enable-* | --enable-*)
782 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
785 as_fn_error "invalid feature name: $ac_useropt"
786 ac_useropt_orig=$ac_useropt
787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
790 "enable_$ac_useropt"
791 "*) ;;
792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
793 ac_unrecognized_sep=', ';;
794 esac
795 eval enable_$ac_useropt=\$ac_optarg ;;
797 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
798 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
799 | --exec | --exe | --ex)
800 ac_prev=exec_prefix ;;
801 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
802 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
803 | --exec=* | --exe=* | --ex=*)
804 exec_prefix=$ac_optarg ;;
806 -gas | --gas | --ga | --g)
807 # Obsolete; use --with-gas.
808 with_gas=yes ;;
810 -help | --help | --hel | --he | -h)
811 ac_init_help=long ;;
812 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
813 ac_init_help=recursive ;;
814 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
815 ac_init_help=short ;;
817 -host | --host | --hos | --ho)
818 ac_prev=host_alias ;;
819 -host=* | --host=* | --hos=* | --ho=*)
820 host_alias=$ac_optarg ;;
822 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
823 ac_prev=htmldir ;;
824 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
825 | --ht=*)
826 htmldir=$ac_optarg ;;
828 -includedir | --includedir | --includedi | --included | --include \
829 | --includ | --inclu | --incl | --inc)
830 ac_prev=includedir ;;
831 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
832 | --includ=* | --inclu=* | --incl=* | --inc=*)
833 includedir=$ac_optarg ;;
835 -infodir | --infodir | --infodi | --infod | --info | --inf)
836 ac_prev=infodir ;;
837 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
838 infodir=$ac_optarg ;;
840 -libdir | --libdir | --libdi | --libd)
841 ac_prev=libdir ;;
842 -libdir=* | --libdir=* | --libdi=* | --libd=*)
843 libdir=$ac_optarg ;;
845 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
846 | --libexe | --libex | --libe)
847 ac_prev=libexecdir ;;
848 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
849 | --libexe=* | --libex=* | --libe=*)
850 libexecdir=$ac_optarg ;;
852 -localedir | --localedir | --localedi | --localed | --locale)
853 ac_prev=localedir ;;
854 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
855 localedir=$ac_optarg ;;
857 -localstatedir | --localstatedir | --localstatedi | --localstated \
858 | --localstate | --localstat | --localsta | --localst | --locals)
859 ac_prev=localstatedir ;;
860 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
861 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
862 localstatedir=$ac_optarg ;;
864 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
865 ac_prev=mandir ;;
866 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
867 mandir=$ac_optarg ;;
869 -nfp | --nfp | --nf)
870 # Obsolete; use --without-fp.
871 with_fp=no ;;
873 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
874 | --no-cr | --no-c | -n)
875 no_create=yes ;;
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
879 no_recursion=yes ;;
881 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
882 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
883 | --oldin | --oldi | --old | --ol | --o)
884 ac_prev=oldincludedir ;;
885 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
886 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
887 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
888 oldincludedir=$ac_optarg ;;
890 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
891 ac_prev=prefix ;;
892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
893 prefix=$ac_optarg ;;
895 -program-prefix | --program-prefix | --program-prefi | --program-pref \
896 | --program-pre | --program-pr | --program-p)
897 ac_prev=program_prefix ;;
898 -program-prefix=* | --program-prefix=* | --program-prefi=* \
899 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
900 program_prefix=$ac_optarg ;;
902 -program-suffix | --program-suffix | --program-suffi | --program-suff \
903 | --program-suf | --program-su | --program-s)
904 ac_prev=program_suffix ;;
905 -program-suffix=* | --program-suffix=* | --program-suffi=* \
906 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
907 program_suffix=$ac_optarg ;;
909 -program-transform-name | --program-transform-name \
910 | --program-transform-nam | --program-transform-na \
911 | --program-transform-n | --program-transform- \
912 | --program-transform | --program-transfor \
913 | --program-transfo | --program-transf \
914 | --program-trans | --program-tran \
915 | --progr-tra | --program-tr | --program-t)
916 ac_prev=program_transform_name ;;
917 -program-transform-name=* | --program-transform-name=* \
918 | --program-transform-nam=* | --program-transform-na=* \
919 | --program-transform-n=* | --program-transform-=* \
920 | --program-transform=* | --program-transfor=* \
921 | --program-transfo=* | --program-transf=* \
922 | --program-trans=* | --program-tran=* \
923 | --progr-tra=* | --program-tr=* | --program-t=*)
924 program_transform_name=$ac_optarg ;;
926 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
927 ac_prev=pdfdir ;;
928 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
929 pdfdir=$ac_optarg ;;
931 -psdir | --psdir | --psdi | --psd | --ps)
932 ac_prev=psdir ;;
933 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
934 psdir=$ac_optarg ;;
936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937 | -silent | --silent | --silen | --sile | --sil)
938 silent=yes ;;
940 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
941 ac_prev=sbindir ;;
942 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
943 | --sbi=* | --sb=*)
944 sbindir=$ac_optarg ;;
946 -sharedstatedir | --sharedstatedir | --sharedstatedi \
947 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
948 | --sharedst | --shareds | --shared | --share | --shar \
949 | --sha | --sh)
950 ac_prev=sharedstatedir ;;
951 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
952 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
953 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
954 | --sha=* | --sh=*)
955 sharedstatedir=$ac_optarg ;;
957 -site | --site | --sit)
958 ac_prev=site ;;
959 -site=* | --site=* | --sit=*)
960 site=$ac_optarg ;;
962 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
963 ac_prev=srcdir ;;
964 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
965 srcdir=$ac_optarg ;;
967 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
968 | --syscon | --sysco | --sysc | --sys | --sy)
969 ac_prev=sysconfdir ;;
970 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
971 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
972 sysconfdir=$ac_optarg ;;
974 -target | --target | --targe | --targ | --tar | --ta | --t)
975 ac_prev=target_alias ;;
976 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
977 target_alias=$ac_optarg ;;
979 -v | -verbose | --verbose | --verbos | --verbo | --verb)
980 verbose=yes ;;
982 -version | --version | --versio | --versi | --vers | -V)
983 ac_init_version=: ;;
985 -with-* | --with-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
994 "with_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval with_$ac_useropt=\$ac_optarg ;;
1001 -without-* | --without-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error "invalid package name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1010 "with_$ac_useropt"
1011 "*) ;;
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1014 esac
1015 eval with_$ac_useropt=no ;;
1017 --x)
1018 # Obsolete; use --with-x.
1019 with_x=yes ;;
1021 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1022 | --x-incl | --x-inc | --x-in | --x-i)
1023 ac_prev=x_includes ;;
1024 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1025 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1026 x_includes=$ac_optarg ;;
1028 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1029 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1030 ac_prev=x_libraries ;;
1031 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1033 x_libraries=$ac_optarg ;;
1035 -*) as_fn_error "unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information."
1039 *=*)
1040 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 case $ac_envvar in #(
1043 '' | [0-9]* | *[!_$as_cr_alnum]* )
1044 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1045 esac
1046 eval $ac_envvar=\$ac_optarg
1047 export $ac_envvar ;;
1050 # FIXME: should be removed in autoconf 3.0.
1051 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1057 esac
1058 done
1060 if test -n "$ac_prev"; then
1061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1062 as_fn_error "missing argument to $ac_option"
1065 if test -n "$ac_unrecognized_opts"; then
1066 case $enable_option_checking in
1067 no) ;;
1068 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1070 esac
1073 # Check all directory arguments for consistency.
1074 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir
1079 eval ac_val=\$$ac_var
1080 # Remove trailing slashes.
1081 case $ac_val in
1082 */ )
1083 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1084 eval $ac_var=\$ac_val;;
1085 esac
1086 # Be sure to have absolute directory names.
1087 case $ac_val in
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090 esac
1091 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1092 done
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1097 build=$build_alias
1098 host=$host_alias
1099 target=$target_alias
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then
1104 cross_compiling=maybe
1105 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used." >&2
1107 elif test "x$build_alias" != "x$host_alias"; then
1108 cross_compiling=yes
1112 ac_tool_prefix=
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115 test "$silent" = yes && exec 6>/dev/null
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 as_fn_error "working directory cannot be determined"
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 as_fn_error "pwd does not report name of working directory"
1126 # Find the source files, if location was not specified.
1127 if test -z "$srcdir"; then
1128 ac_srcdir_defaulted=yes
1129 # Try the directory containing this script, then the parent directory.
1130 ac_confdir=`$as_dirname -- "$as_myself" ||
1131 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132 X"$as_myself" : 'X\(//\)[^/]' \| \
1133 X"$as_myself" : 'X\(//\)$' \| \
1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1135 $as_echo X"$as_myself" |
1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1137 s//\1/
1140 /^X\(\/\/\)[^/].*/{
1141 s//\1/
1144 /^X\(\/\/\)$/{
1145 s//\1/
1148 /^X\(\/\).*/{
1149 s//\1/
1152 s/.*/./; q'`
1153 srcdir=$ac_confdir
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1155 srcdir=..
1157 else
1158 ac_srcdir_defaulted=no
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1162 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 ac_abs_confdir=`(
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1167 pwd)`
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1170 srcdir=.
1172 # Remove unnecessary trailing slashes from srcdir.
1173 # Double slashes in file names in object file debugging info
1174 # mess up M-x gdb in Emacs.
1175 case $srcdir in
1176 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1177 esac
1178 for ac_var in $ac_precious_vars; do
1179 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_env_${ac_var}_value=\$${ac_var}
1181 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1182 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1183 done
1186 # Report the --help message.
1188 if test "$ac_init_help" = "long"; then
1189 # Omit some internal or obsolete options to make the list less imposing.
1190 # This message is too long to be a string in the A/UX 3.1 sh.
1191 cat <<_ACEOF
1192 \`configure' configures this package to adapt to many kinds of systems.
1194 Usage: $0 [OPTION]... [VAR=VALUE]...
1196 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1197 VAR=VALUE. See below for descriptions of some of the useful variables.
1199 Defaults for the options are specified in brackets.
1201 Configuration:
1202 -h, --help display this help and exit
1203 --help=short display options specific to this package
1204 --help=recursive display the short help of all the included packages
1205 -V, --version display version information and exit
1206 -q, --quiet, --silent do not print \`checking...' messages
1207 --cache-file=FILE cache test results in FILE [disabled]
1208 -C, --config-cache alias for \`--cache-file=config.cache'
1209 -n, --no-create do not create output files
1210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1212 Installation directories:
1213 --prefix=PREFIX install architecture-independent files in PREFIX
1214 [$ac_default_prefix]
1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1216 [PREFIX]
1218 By default, \`make install' will install all the files in
1219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1220 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1221 for instance \`--prefix=\$HOME'.
1223 For better control, use the options below.
1225 Fine tuning of the installation directories:
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
1245 _ACEOF
1247 cat <<\_ACEOF
1249 Program names:
1250 --program-prefix=PREFIX prepend PREFIX to installed program names
1251 --program-suffix=SUFFIX append SUFFIX to installed program names
1252 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1253 _ACEOF
1256 if test -n "$ac_init_help"; then
1258 cat <<\_ACEOF
1260 Optional Features:
1261 --disable-option-checking ignore unrecognized --enable/--with options
1262 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1263 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1264 --disable-dependency-tracking speeds up one-time build
1265 --enable-dependency-tracking do not reject slow dependency extractors
1267 Some influential environment variables:
1268 CC C compiler command
1269 CFLAGS C compiler flags
1270 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1271 nonstandard directory <lib dir>
1272 LIBS libraries to pass to the linker, e.g. -l<library>
1273 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1274 you have headers in a nonstandard directory <include dir>
1276 Use these variables to override the choices made by `configure' or to help
1277 it to find libraries and programs with nonstandard names/locations.
1279 Report bugs to the package provider.
1280 _ACEOF
1281 ac_status=$?
1284 if test "$ac_init_help" = "recursive"; then
1285 # If there are subdirs, report their specific --help.
1286 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1287 test -d "$ac_dir" ||
1288 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1289 continue
1290 ac_builddir=.
1292 case "$ac_dir" in
1293 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1296 # A ".." for each directory in $ac_dir_suffix.
1297 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1298 case $ac_top_builddir_sub in
1299 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1301 esac ;;
1302 esac
1303 ac_abs_top_builddir=$ac_pwd
1304 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305 # for backward compatibility:
1306 ac_top_builddir=$ac_top_build_prefix
1308 case $srcdir in
1309 .) # We are building in place.
1310 ac_srcdir=.
1311 ac_top_srcdir=$ac_top_builddir_sub
1312 ac_abs_top_srcdir=$ac_pwd ;;
1313 [\\/]* | ?:[\\/]* ) # Absolute name.
1314 ac_srcdir=$srcdir$ac_dir_suffix;
1315 ac_top_srcdir=$srcdir
1316 ac_abs_top_srcdir=$srcdir ;;
1317 *) # Relative name.
1318 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319 ac_top_srcdir=$ac_top_build_prefix$srcdir
1320 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1321 esac
1322 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1324 cd "$ac_dir" || { ac_status=$?; continue; }
1325 # Check for guested configure.
1326 if test -f "$ac_srcdir/configure.gnu"; then
1327 echo &&
1328 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329 elif test -f "$ac_srcdir/configure"; then
1330 echo &&
1331 $SHELL "$ac_srcdir/configure" --help=recursive
1332 else
1333 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1334 fi || ac_status=$?
1335 cd "$ac_pwd" || { ac_status=$?; break; }
1336 done
1339 test -n "$ac_init_help" && exit $ac_status
1340 if $ac_init_version; then
1341 cat <<\_ACEOF
1342 configure
1343 generated by GNU Autoconf 2.65
1345 Copyright (C) 2009 Free Software Foundation, Inc.
1346 This configure script is free software; the Free Software Foundation
1347 gives unlimited permission to copy, distribute and modify it.
1348 _ACEOF
1349 exit
1352 ## ------------------------ ##
1353 ## Autoconf initialization. ##
1354 ## ------------------------ ##
1356 # ac_fn_c_try_compile LINENO
1357 # --------------------------
1358 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1359 ac_fn_c_try_compile ()
1361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1362 rm -f conftest.$ac_objext
1363 if { { ac_try="$ac_compile"
1364 case "(($ac_try" in
1365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1366 *) ac_try_echo=$ac_try;;
1367 esac
1368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1369 $as_echo "$ac_try_echo"; } >&5
1370 (eval "$ac_compile") 2>conftest.err
1371 ac_status=$?
1372 if test -s conftest.err; then
1373 grep -v '^ *+' conftest.err >conftest.er1
1374 cat conftest.er1 >&5
1375 mv -f conftest.er1 conftest.err
1377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1378 test $ac_status = 0; } && {
1379 test -z "$ac_c_werror_flag" ||
1380 test ! -s conftest.err
1381 } && test -s conftest.$ac_objext; then :
1382 ac_retval=0
1383 else
1384 $as_echo "$as_me: failed program was:" >&5
1385 sed 's/^/| /' conftest.$ac_ext >&5
1387 ac_retval=1
1389 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1390 as_fn_set_status $ac_retval
1392 } # ac_fn_c_try_compile
1393 cat >config.log <<_ACEOF
1394 This file contains any messages produced by compilers while
1395 running configure, to aid debugging if configure makes a mistake.
1397 It was created by $as_me, which was
1398 generated by GNU Autoconf 2.65. Invocation command line was
1400 $ $0 $@
1402 _ACEOF
1403 exec 5>>config.log
1405 cat <<_ASUNAME
1406 ## --------- ##
1407 ## Platform. ##
1408 ## --------- ##
1410 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1416 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1419 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1427 _ASUNAME
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 for as_dir in $PATH
1432 IFS=$as_save_IFS
1433 test -z "$as_dir" && as_dir=.
1434 $as_echo "PATH: $as_dir"
1435 done
1436 IFS=$as_save_IFS
1438 } >&5
1440 cat >&5 <<_ACEOF
1443 ## ----------- ##
1444 ## Core tests. ##
1445 ## ----------- ##
1447 _ACEOF
1450 # Keep a trace of the command line.
1451 # Strip out --no-create and --no-recursion so they do not pile up.
1452 # Strip out --silent because we don't want to record it for future runs.
1453 # Also quote any args containing shell meta-characters.
1454 # Make two passes to allow for proper duplicate-argument suppression.
1455 ac_configure_args=
1456 ac_configure_args0=
1457 ac_configure_args1=
1458 ac_must_keep_next=false
1459 for ac_pass in 1 2
1461 for ac_arg
1463 case $ac_arg in
1464 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1467 continue ;;
1468 *\'*)
1469 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1470 esac
1471 case $ac_pass in
1472 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1474 as_fn_append ac_configure_args1 " '$ac_arg'"
1475 if test $ac_must_keep_next = true; then
1476 ac_must_keep_next=false # Got value, back to normal.
1477 else
1478 case $ac_arg in
1479 *=* | --config-cache | -C | -disable-* | --disable-* \
1480 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482 | -with-* | --with-* | -without-* | --without-* | --x)
1483 case "$ac_configure_args0 " in
1484 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1485 esac
1487 -* ) ac_must_keep_next=true ;;
1488 esac
1490 as_fn_append ac_configure_args " '$ac_arg'"
1492 esac
1493 done
1494 done
1495 { ac_configure_args0=; unset ac_configure_args0;}
1496 { ac_configure_args1=; unset ac_configure_args1;}
1498 # When interrupted or exit'd, cleanup temporary files, and complete
1499 # config.log. We remove comments because anyway the quotes in there
1500 # would cause problems or look ugly.
1501 # WARNING: Use '\'' to represent an apostrophe within the trap.
1502 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503 trap 'exit_status=$?
1504 # Save into config.log some information that might help in debugging.
1506 echo
1508 cat <<\_ASBOX
1509 ## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##
1512 _ASBOX
1513 echo
1514 # The following way of writing the cache mishandles newlines in values,
1516 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1517 eval ac_val=\$$ac_var
1518 case $ac_val in #(
1519 *${as_nl}*)
1520 case $ac_var in #(
1521 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1522 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1523 esac
1524 case $ac_var in #(
1525 _ | IFS | as_nl) ;; #(
1526 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1527 *) { eval $ac_var=; unset $ac_var;} ;;
1528 esac ;;
1529 esac
1530 done
1531 (set) 2>&1 |
1532 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1533 *${as_nl}ac_space=\ *)
1534 sed -n \
1535 "s/'\''/'\''\\\\'\'''\''/g;
1536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1537 ;; #(
1539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1541 esac |
1542 sort
1544 echo
1546 cat <<\_ASBOX
1547 ## ----------------- ##
1548 ## Output variables. ##
1549 ## ----------------- ##
1550 _ASBOX
1551 echo
1552 for ac_var in $ac_subst_vars
1554 eval ac_val=\$$ac_var
1555 case $ac_val in
1556 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557 esac
1558 $as_echo "$ac_var='\''$ac_val'\''"
1559 done | sort
1560 echo
1562 if test -n "$ac_subst_files"; then
1563 cat <<\_ASBOX
1564 ## ------------------- ##
1565 ## File substitutions. ##
1566 ## ------------------- ##
1567 _ASBOX
1568 echo
1569 for ac_var in $ac_subst_files
1571 eval ac_val=\$$ac_var
1572 case $ac_val in
1573 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 esac
1575 $as_echo "$ac_var='\''$ac_val'\''"
1576 done | sort
1577 echo
1580 if test -s confdefs.h; then
1581 cat <<\_ASBOX
1582 ## ----------- ##
1583 ## confdefs.h. ##
1584 ## ----------- ##
1585 _ASBOX
1586 echo
1587 cat confdefs.h
1588 echo
1590 test "$ac_signal" != 0 &&
1591 $as_echo "$as_me: caught signal $ac_signal"
1592 $as_echo "$as_me: exit $exit_status"
1593 } >&5
1594 rm -f core *.core core.conftest.* &&
1595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1596 exit $exit_status
1598 for ac_signal in 1 2 13 15; do
1599 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1600 done
1601 ac_signal=0
1603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1604 rm -f -r conftest* confdefs.h
1606 $as_echo "/* confdefs.h */" > confdefs.h
1608 # Predefined preprocessor variables.
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_NAME "$PACKAGE_NAME"
1612 _ACEOF
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1616 _ACEOF
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1620 _ACEOF
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_STRING "$PACKAGE_STRING"
1624 _ACEOF
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1628 _ACEOF
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_URL "$PACKAGE_URL"
1632 _ACEOF
1635 # Let the site file select an alternate cache file if it wants to.
1636 # Prefer an explicitly selected file to automatically selected ones.
1637 ac_site_file1=NONE
1638 ac_site_file2=NONE
1639 if test -n "$CONFIG_SITE"; then
1640 ac_site_file1=$CONFIG_SITE
1641 elif test "x$prefix" != xNONE; then
1642 ac_site_file1=$prefix/share/config.site
1643 ac_site_file2=$prefix/etc/config.site
1644 else
1645 ac_site_file1=$ac_default_prefix/share/config.site
1646 ac_site_file2=$ac_default_prefix/etc/config.site
1648 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1650 test "x$ac_site_file" = xNONE && continue
1651 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1653 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1654 sed 's/^/| /' "$ac_site_file" >&5
1655 . "$ac_site_file"
1657 done
1659 if test -r "$cache_file"; then
1660 # Some versions of bash will fail to source /dev/null (special files
1661 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1662 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1664 $as_echo "$as_me: loading cache $cache_file" >&6;}
1665 case $cache_file in
1666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1667 *) . "./$cache_file";;
1668 esac
1670 else
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1672 $as_echo "$as_me: creating cache $cache_file" >&6;}
1673 >$cache_file
1676 # Check that the precious variables saved in the cache have kept the same
1677 # value.
1678 ac_cache_corrupted=false
1679 for ac_var in $ac_precious_vars; do
1680 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1681 eval ac_new_set=\$ac_env_${ac_var}_set
1682 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1683 eval ac_new_val=\$ac_env_${ac_var}_value
1684 case $ac_old_set,$ac_new_set in
1685 set,)
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1687 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1689 ,set)
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1691 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1693 ,);;
1695 if test "x$ac_old_val" != "x$ac_new_val"; then
1696 # differences in whitespace do not lead to failure.
1697 ac_old_val_w=`echo x $ac_old_val`
1698 ac_new_val_w=`echo x $ac_new_val`
1699 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1701 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702 ac_cache_corrupted=:
1703 else
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1705 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1706 eval $ac_var=\$ac_old_val
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1709 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1711 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1712 fi;;
1713 esac
1714 # Pass precious variables to config.status.
1715 if test "$ac_new_set" = set; then
1716 case $ac_new_val in
1717 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1718 *) ac_arg=$ac_var=$ac_new_val ;;
1719 esac
1720 case " $ac_configure_args " in
1721 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1722 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1723 esac
1725 done
1726 if $ac_cache_corrupted; then
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1730 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1733 ## -------------------- ##
1734 ## Main body of script. ##
1735 ## -------------------- ##
1737 ac_ext=c
1738 ac_cpp='$CPP $CPPFLAGS'
1739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1745 PACKAGE=wmframepic
1746 VERSION=0.1
1748 am__api_version='1.11'
1750 ac_aux_dir=
1751 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1752 for ac_t in install-sh install.sh shtool; do
1753 if test -f "$ac_dir/$ac_t"; then
1754 ac_aux_dir=$ac_dir
1755 ac_install_sh="$ac_aux_dir/$ac_t -c"
1756 break 2
1758 done
1759 done
1760 if test -z "$ac_aux_dir"; then
1761 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1764 # These three variables are undocumented and unsupported,
1765 # and are intended to be withdrawn in a future Autoconf release.
1766 # They can cause serious problems if a builder's source tree is in a directory
1767 # whose full name contains unusual characters.
1768 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1769 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1770 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1773 # Find a good install program. We prefer a C program (faster),
1774 # so one script is as good as another. But avoid the broken or
1775 # incompatible versions:
1776 # SysV /etc/install, /usr/sbin/install
1777 # SunOS /usr/etc/install
1778 # IRIX /sbin/install
1779 # AIX /bin/install
1780 # AmigaOS /C/install, which installs bootblocks on floppy discs
1781 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784 # OS/2's system install, which has a completely different semantic
1785 # ./install, which can be erroneously created by make from ./install.sh.
1786 # Reject install programs that cannot install multiple files.
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1788 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1789 if test -z "$INSTALL"; then
1790 if test "${ac_cv_path_install+set}" = set; then :
1791 $as_echo_n "(cached) " >&6
1792 else
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 for as_dir in $PATH
1796 IFS=$as_save_IFS
1797 test -z "$as_dir" && as_dir=.
1798 # Account for people who put trailing slashes in PATH elements.
1799 case $as_dir/ in #((
1800 ./ | .// | /[cC]/* | \
1801 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1802 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1803 /usr/ucb/* ) ;;
1805 # OSF1 and SCO ODT 3.0 have their own names for install.
1806 # Don't use installbsd from OSF since it installs stuff as root
1807 # by default.
1808 for ac_prog in ginstall scoinst install; do
1809 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1811 if test $ac_prog = install &&
1812 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # AIX install. It has an incompatible calling convention.
1815 elif test $ac_prog = install &&
1816 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817 # program-specific install script used by HP pwplus--don't use.
1819 else
1820 rm -rf conftest.one conftest.two conftest.dir
1821 echo one > conftest.one
1822 echo two > conftest.two
1823 mkdir conftest.dir
1824 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1825 test -s conftest.one && test -s conftest.two &&
1826 test -s conftest.dir/conftest.one &&
1827 test -s conftest.dir/conftest.two
1828 then
1829 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1830 break 3
1834 done
1835 done
1837 esac
1839 done
1840 IFS=$as_save_IFS
1842 rm -rf conftest.one conftest.two conftest.dir
1845 if test "${ac_cv_path_install+set}" = set; then
1846 INSTALL=$ac_cv_path_install
1847 else
1848 # As a last resort, use the slow shell script. Don't cache a
1849 # value for INSTALL within a source directory, because that will
1850 # break other packages using the cache if that directory is
1851 # removed, or if the value is a relative name.
1852 INSTALL=$ac_install_sh
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1856 $as_echo "$INSTALL" >&6; }
1858 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1859 # It thinks the first close brace ends the variable substitution.
1860 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1862 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1864 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1867 $as_echo_n "checking whether build environment is sane... " >&6; }
1868 # Just in case
1869 sleep 1
1870 echo timestamp > conftest.file
1871 # Reject unsafe characters in $srcdir or the absolute working directory
1872 # name. Accept space and tab only in the latter.
1873 am_lf='
1875 case `pwd` in
1876 *[\\\"\#\$\&\'\`$am_lf]*)
1877 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1878 esac
1879 case $srcdir in
1880 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1881 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1882 esac
1884 # Do `set' in a subshell so we don't clobber the current shell's
1885 # arguments. Must try -L first in case configure is actually a
1886 # symlink; some systems play weird games with the mod time of symlinks
1887 # (eg FreeBSD returns the mod time of the symlink's containing
1888 # directory).
1889 if (
1890 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1891 if test "$*" = "X"; then
1892 # -L didn't work.
1893 set X `ls -t "$srcdir/configure" conftest.file`
1895 rm -f conftest.file
1896 if test "$*" != "X $srcdir/configure conftest.file" \
1897 && test "$*" != "X conftest.file $srcdir/configure"; then
1899 # If neither matched, then we have a broken ls. This can happen
1900 # if, for instance, CONFIG_SHELL is bash and it inherits a
1901 # broken ls alias from the environment. This has actually
1902 # happened. Such a system could not be considered "sane".
1903 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1904 alias in your environment" "$LINENO" 5
1907 test "$2" = conftest.file
1909 then
1910 # Ok.
1912 else
1913 as_fn_error "newly created file is older than distributed files!
1914 Check your system clock" "$LINENO" 5
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1917 $as_echo "yes" >&6; }
1918 test "$program_prefix" != NONE &&
1919 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1920 # Use a double $ so make ignores it.
1921 test "$program_suffix" != NONE &&
1922 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1923 # Double any \ or $.
1924 # By default was `s,x,x', remove it if useless.
1925 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1926 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1928 # expand $ac_aux_dir to an absolute path
1929 am_aux_dir=`cd $ac_aux_dir && pwd`
1931 if test x"${MISSING+set}" != xset; then
1932 case $am_aux_dir in
1933 *\ * | *\ *)
1934 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1936 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1937 esac
1939 # Use eval to expand $SHELL
1940 if eval "$MISSING --run true"; then
1941 am_missing_run="$MISSING --run "
1942 else
1943 am_missing_run=
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1945 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1948 if test x"${install_sh}" != xset; then
1949 case $am_aux_dir in
1950 *\ * | *\ *)
1951 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1953 install_sh="\${SHELL} $am_aux_dir/install-sh"
1954 esac
1957 # Installed binaries are usually stripped using `strip' when the user
1958 # run `make install-strip'. However `strip' might not be the right
1959 # tool to use in cross-compilation environments, therefore Automake
1960 # will honor the `STRIP' environment variable to overrule this program.
1961 if test "$cross_compiling" != no; then
1962 if test -n "$ac_tool_prefix"; then
1963 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1964 set dummy ${ac_tool_prefix}strip; ac_word=$2
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1966 $as_echo_n "checking for $ac_word... " >&6; }
1967 if test "${ac_cv_prog_STRIP+set}" = set; then :
1968 $as_echo_n "(cached) " >&6
1969 else
1970 if test -n "$STRIP"; then
1971 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1972 else
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 for as_dir in $PATH
1976 IFS=$as_save_IFS
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1980 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 break 2
1984 done
1985 done
1986 IFS=$as_save_IFS
1990 STRIP=$ac_cv_prog_STRIP
1991 if test -n "$STRIP"; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1993 $as_echo "$STRIP" >&6; }
1994 else
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1996 $as_echo "no" >&6; }
2001 if test -z "$ac_cv_prog_STRIP"; then
2002 ac_ct_STRIP=$STRIP
2003 # Extract the first word of "strip", so it can be a program name with args.
2004 set dummy strip; ac_word=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2008 $as_echo_n "(cached) " >&6
2009 else
2010 if test -n "$ac_ct_STRIP"; then
2011 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2012 else
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 for as_dir in $PATH
2016 IFS=$as_save_IFS
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_ac_ct_STRIP="strip"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 break 2
2024 done
2025 done
2026 IFS=$as_save_IFS
2030 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2031 if test -n "$ac_ct_STRIP"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2033 $as_echo "$ac_ct_STRIP" >&6; }
2034 else
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2039 if test "x$ac_ct_STRIP" = x; then
2040 STRIP=":"
2041 else
2042 case $cross_compiling:$ac_tool_warned in
2043 yes:)
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2046 ac_tool_warned=yes ;;
2047 esac
2048 STRIP=$ac_ct_STRIP
2050 else
2051 STRIP="$ac_cv_prog_STRIP"
2055 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2058 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2059 if test -z "$MKDIR_P"; then
2060 if test "${ac_cv_path_mkdir+set}" = set; then :
2061 $as_echo_n "(cached) " >&6
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2066 IFS=$as_save_IFS
2067 test -z "$as_dir" && as_dir=.
2068 for ac_prog in mkdir gmkdir; do
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2071 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2072 'mkdir (GNU coreutils) '* | \
2073 'mkdir (coreutils) '* | \
2074 'mkdir (fileutils) '4.1*)
2075 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2076 break 3;;
2077 esac
2078 done
2079 done
2080 done
2081 IFS=$as_save_IFS
2085 test -d ./--version && rmdir ./--version
2086 if test "${ac_cv_path_mkdir+set}" = set; then
2087 MKDIR_P="$ac_cv_path_mkdir -p"
2088 else
2089 # As a last resort, use the slow shell script. Don't cache a
2090 # value for MKDIR_P within a source directory, because that will
2091 # break other packages using the cache if that directory is
2092 # removed, or if the value is a relative name.
2093 MKDIR_P="$ac_install_sh -d"
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2097 $as_echo "$MKDIR_P" >&6; }
2099 mkdir_p="$MKDIR_P"
2100 case $mkdir_p in
2101 [\\/$]* | ?:[\\/]*) ;;
2102 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2103 esac
2105 for ac_prog in gawk mawk nawk awk
2107 # Extract the first word of "$ac_prog", so it can be a program name with args.
2108 set dummy $ac_prog; ac_word=$2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if test "${ac_cv_prog_AWK+set}" = set; then :
2112 $as_echo_n "(cached) " >&6
2113 else
2114 if test -n "$AWK"; then
2115 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2116 else
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_AWK="$ac_prog"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 break 2
2128 done
2129 done
2130 IFS=$as_save_IFS
2134 AWK=$ac_cv_prog_AWK
2135 if test -n "$AWK"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2137 $as_echo "$AWK" >&6; }
2138 else
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140 $as_echo "no" >&6; }
2144 test -n "$AWK" && break
2145 done
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2148 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2149 set x ${MAKE-make}
2150 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2151 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2152 $as_echo_n "(cached) " >&6
2153 else
2154 cat >conftest.make <<\_ACEOF
2155 SHELL = /bin/sh
2156 all:
2157 @echo '@@@%%%=$(MAKE)=@@@%%%'
2158 _ACEOF
2159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2160 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2161 *@@@%%%=?*=@@@%%%*)
2162 eval ac_cv_prog_make_${ac_make}_set=yes;;
2164 eval ac_cv_prog_make_${ac_make}_set=no;;
2165 esac
2166 rm -f conftest.make
2168 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2170 $as_echo "yes" >&6; }
2171 SET_MAKE=
2172 else
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2174 $as_echo "no" >&6; }
2175 SET_MAKE="MAKE=${MAKE-make}"
2178 rm -rf .tst 2>/dev/null
2179 mkdir .tst 2>/dev/null
2180 if test -d .tst; then
2181 am__leading_dot=.
2182 else
2183 am__leading_dot=_
2185 rmdir .tst 2>/dev/null
2187 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2188 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2189 # is not polluted with repeated "-I."
2190 am__isrc=' -I$(srcdir)'
2191 # test to see if srcdir already configured
2192 if test -f $srcdir/config.status; then
2193 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2197 # test whether we have cygpath
2198 if test -z "$CYGPATH_W"; then
2199 if (cygpath --version) >/dev/null 2>/dev/null; then
2200 CYGPATH_W='cygpath -w'
2201 else
2202 CYGPATH_W=echo
2207 # Define the identity of the package.
2208 PACKAGE=$PACKAGE
2209 VERSION=$VERSION
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE "$PACKAGE"
2214 _ACEOF
2217 cat >>confdefs.h <<_ACEOF
2218 #define VERSION "$VERSION"
2219 _ACEOF
2221 # Some tools Automake needs.
2223 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2226 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2229 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2232 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2235 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2237 # We need awk for the "check" target. The system "awk" is bad on
2238 # some platforms.
2239 # Always define AMTAR for backward compatibility.
2241 AMTAR=${AMTAR-"${am_missing_run}tar"}
2243 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2250 ac_ext=c
2251 ac_cpp='$CPP $CPPFLAGS'
2252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2255 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2257 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2259 $as_echo_n "checking for $ac_word... " >&6; }
2260 if test "${ac_cv_prog_CC+set}" = set; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 if test -n "$CC"; then
2264 ac_cv_prog_CC="$CC" # Let the user override the test.
2265 else
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 for as_dir in $PATH
2269 IFS=$as_save_IFS
2270 test -z "$as_dir" && as_dir=.
2271 for ac_exec_ext in '' $ac_executable_extensions; do
2272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2273 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 break 2
2277 done
2278 done
2279 IFS=$as_save_IFS
2283 CC=$ac_cv_prog_CC
2284 if test -n "$CC"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2286 $as_echo "$CC" >&6; }
2287 else
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2289 $as_echo "no" >&6; }
2294 if test -z "$ac_cv_prog_CC"; then
2295 ac_ct_CC=$CC
2296 # Extract the first word of "gcc", so it can be a program name with args.
2297 set dummy gcc; ac_word=$2
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2299 $as_echo_n "checking for $ac_word... " >&6; }
2300 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2301 $as_echo_n "(cached) " >&6
2302 else
2303 if test -n "$ac_ct_CC"; then
2304 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2305 else
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 for as_dir in $PATH
2309 IFS=$as_save_IFS
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_ac_ct_CC="gcc"
2314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 break 2
2317 done
2318 done
2319 IFS=$as_save_IFS
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2326 $as_echo "$ac_ct_CC" >&6; }
2327 else
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329 $as_echo "no" >&6; }
2332 if test "x$ac_ct_CC" = x; then
2333 CC=""
2334 else
2335 case $cross_compiling:$ac_tool_warned in
2336 yes:)
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2339 ac_tool_warned=yes ;;
2340 esac
2341 CC=$ac_ct_CC
2343 else
2344 CC="$ac_cv_prog_CC"
2347 if test -z "$CC"; then
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if test "${ac_cv_prog_CC+set}" = set; then :
2354 $as_echo_n "(cached) " >&6
2355 else
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_CC="${ac_tool_prefix}cc"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2370 done
2371 done
2372 IFS=$as_save_IFS
2376 CC=$ac_cv_prog_CC
2377 if test -n "$CC"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2379 $as_echo "$CC" >&6; }
2380 else
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2388 if test -z "$CC"; then
2389 # Extract the first word of "cc", so it can be a program name with args.
2390 set dummy cc; ac_word=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2395 else
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC="$CC" # Let the user override the test.
2398 else
2399 ac_prog_rejected=no
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 for as_dir in $PATH
2403 IFS=$as_save_IFS
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2408 ac_prog_rejected=yes
2409 continue
2411 ac_cv_prog_CC="cc"
2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 break 2
2415 done
2416 done
2417 IFS=$as_save_IFS
2419 if test $ac_prog_rejected = yes; then
2420 # We found a bogon in the path, so make sure we never use it.
2421 set dummy $ac_cv_prog_CC
2422 shift
2423 if test $# != 0; then
2424 # We chose a different compiler from the bogus one.
2425 # However, it has the same basename, so the bogon will be chosen
2426 # first if we set CC to just the basename; use the full file name.
2427 shift
2428 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2433 CC=$ac_cv_prog_CC
2434 if test -n "$CC"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2436 $as_echo "$CC" >&6; }
2437 else
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439 $as_echo "no" >&6; }
2444 if test -z "$CC"; then
2445 if test -n "$ac_tool_prefix"; then
2446 for ac_prog in cl.exe
2448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2454 else
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2461 IFS=$as_save_IFS
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 break 2
2469 done
2470 done
2471 IFS=$as_save_IFS
2475 CC=$ac_cv_prog_CC
2476 if test -n "$CC"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2478 $as_echo "$CC" >&6; }
2479 else
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2485 test -n "$CC" && break
2486 done
2488 if test -z "$CC"; then
2489 ac_ct_CC=$CC
2490 for ac_prog in cl.exe
2492 # Extract the first word of "$ac_prog", so it can be a program name with args.
2493 set dummy $ac_prog; ac_word=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2497 $as_echo_n "(cached) " >&6
2498 else
2499 if test -n "$ac_ct_CC"; then
2500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2501 else
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 for as_dir in $PATH
2505 IFS=$as_save_IFS
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_ac_ct_CC="$ac_prog"
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 break 2
2513 done
2514 done
2515 IFS=$as_save_IFS
2519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2520 if test -n "$ac_ct_CC"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2522 $as_echo "$ac_ct_CC" >&6; }
2523 else
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2529 test -n "$ac_ct_CC" && break
2530 done
2532 if test "x$ac_ct_CC" = x; then
2533 CC=""
2534 else
2535 case $cross_compiling:$ac_tool_warned in
2536 yes:)
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539 ac_tool_warned=yes ;;
2540 esac
2541 CC=$ac_ct_CC
2548 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2550 as_fn_error "no acceptable C compiler found in \$PATH
2551 See \`config.log' for more details." "$LINENO" 5; }
2553 # Provide some information about the compiler.
2554 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2555 set X $ac_compile
2556 ac_compiler=$2
2557 for ac_option in --version -v -V -qversion; do
2558 { { ac_try="$ac_compiler $ac_option >&5"
2559 case "(($ac_try" in
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2562 esac
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2566 ac_status=$?
2567 if test -s conftest.err; then
2568 sed '10a\
2569 ... rest of stderr output deleted ...
2570 10q' conftest.err >conftest.er1
2571 cat conftest.er1 >&5
2573 rm -f conftest.er1 conftest.err
2574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575 test $ac_status = 0; }
2576 done
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2582 main ()
2586 return 0;
2588 _ACEOF
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2593 # of exeext.
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2595 $as_echo_n "checking whether the C compiler works... " >&6; }
2596 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2598 # The possible output files:
2599 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2601 ac_rmfiles=
2602 for ac_file in $ac_files
2604 case $ac_file in
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2606 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2607 esac
2608 done
2609 rm -f $ac_rmfiles
2611 if { { ac_try="$ac_link_default"
2612 case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615 esac
2616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_link_default") 2>&5
2619 ac_status=$?
2620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621 test $ac_status = 0; }; then :
2622 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2623 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2624 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2625 # so that the user can short-circuit this test for compilers unknown to
2626 # Autoconf.
2627 for ac_file in $ac_files ''
2629 test -f "$ac_file" || continue
2630 case $ac_file in
2631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2633 [ab].out )
2634 # We found the default executable, but exeext='' is most
2635 # certainly right.
2636 break;;
2637 *.* )
2638 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2639 then :; else
2640 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2642 # We set ac_cv_exeext here because the later test for it is not
2643 # safe: cross compilers may not add the suffix if given an `-o'
2644 # argument, so we may need to know it at that point already.
2645 # Even if this section looks crufty: it has the advantage of
2646 # actually working.
2647 break;;
2649 break;;
2650 esac
2651 done
2652 test "$ac_cv_exeext" = no && ac_cv_exeext=
2654 else
2655 ac_file=''
2657 if test -z "$ac_file"; then :
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660 $as_echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 { as_fn_set_status 77
2666 as_fn_error "C compiler cannot create executables
2667 See \`config.log' for more details." "$LINENO" 5; }; }
2668 else
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2670 $as_echo "yes" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2673 $as_echo_n "checking for C compiler default output file name... " >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2675 $as_echo "$ac_file" >&6; }
2676 ac_exeext=$ac_cv_exeext
2678 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2679 ac_clean_files=$ac_clean_files_save
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2681 $as_echo_n "checking for suffix of executables... " >&6; }
2682 if { { ac_try="$ac_link"
2683 case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2686 esac
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2690 ac_status=$?
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }; then :
2693 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2694 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2695 # work properly (i.e., refer to `conftest.exe'), while it won't with
2696 # `rm'.
2697 for ac_file in conftest.exe conftest conftest.*; do
2698 test -f "$ac_file" || continue
2699 case $ac_file in
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2701 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 break;;
2703 * ) break;;
2704 esac
2705 done
2706 else
2707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 as_fn_error "cannot compute suffix of executables: cannot compile and link
2710 See \`config.log' for more details." "$LINENO" 5; }
2712 rm -f conftest conftest$ac_cv_exeext
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2714 $as_echo "$ac_cv_exeext" >&6; }
2716 rm -f conftest.$ac_ext
2717 EXEEXT=$ac_cv_exeext
2718 ac_exeext=$EXEEXT
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2721 #include <stdio.h>
2723 main ()
2725 FILE *f = fopen ("conftest.out", "w");
2726 return ferror (f) || fclose (f) != 0;
2729 return 0;
2731 _ACEOF
2732 ac_clean_files="$ac_clean_files conftest.out"
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2736 $as_echo_n "checking whether we are cross compiling... " >&6; }
2737 if test "$cross_compiling" != yes; then
2738 { { ac_try="$ac_link"
2739 case "(($ac_try" in
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2742 esac
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_link") 2>&5
2746 ac_status=$?
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }
2749 if { ac_try='./conftest$ac_cv_exeext'
2750 { { case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753 esac
2754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2755 $as_echo "$ac_try_echo"; } >&5
2756 (eval "$ac_try") 2>&5
2757 ac_status=$?
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; }; }; then
2760 cross_compiling=no
2761 else
2762 if test "$cross_compiling" = maybe; then
2763 cross_compiling=yes
2764 else
2765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2767 as_fn_error "cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details." "$LINENO" 5; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2774 $as_echo "$cross_compiling" >&6; }
2776 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2777 ac_clean_files=$ac_clean_files_save
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2779 $as_echo_n "checking for suffix of object files... " >&6; }
2780 if test "${ac_cv_objext+set}" = set; then :
2781 $as_echo_n "(cached) " >&6
2782 else
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2787 main ()
2791 return 0;
2793 _ACEOF
2794 rm -f conftest.o conftest.obj
2795 if { { ac_try="$ac_compile"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_compile") 2>&5
2803 ac_status=$?
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; }; then :
2806 for ac_file in conftest.o conftest.obj conftest.*; do
2807 test -f "$ac_file" || continue;
2808 case $ac_file in
2809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2810 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2811 break;;
2812 esac
2813 done
2814 else
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 as_fn_error "cannot compute suffix of object files: cannot compile
2821 See \`config.log' for more details." "$LINENO" 5; }
2823 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2826 $as_echo "$ac_cv_objext" >&6; }
2827 OBJEXT=$ac_cv_objext
2828 ac_objext=$OBJEXT
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2830 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2831 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2838 main ()
2840 #ifndef __GNUC__
2841 choke me
2842 #endif
2845 return 0;
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"; then :
2849 ac_compiler_gnu=yes
2850 else
2851 ac_compiler_gnu=no
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2858 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2859 if test $ac_compiler_gnu = yes; then
2860 GCC=yes
2861 else
2862 GCC=
2864 ac_test_CFLAGS=${CFLAGS+set}
2865 ac_save_CFLAGS=$CFLAGS
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2867 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2868 if test "${ac_cv_prog_cc_g+set}" = set; then :
2869 $as_echo_n "(cached) " >&6
2870 else
2871 ac_save_c_werror_flag=$ac_c_werror_flag
2872 ac_c_werror_flag=yes
2873 ac_cv_prog_cc_g=no
2874 CFLAGS="-g"
2875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2879 main ()
2883 return 0;
2885 _ACEOF
2886 if ac_fn_c_try_compile "$LINENO"; then :
2887 ac_cv_prog_cc_g=yes
2888 else
2889 CFLAGS=""
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2894 main ()
2898 return 0;
2900 _ACEOF
2901 if ac_fn_c_try_compile "$LINENO"; then :
2903 else
2904 ac_c_werror_flag=$ac_save_c_werror_flag
2905 CFLAGS="-g"
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2910 main ()
2914 return 0;
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 ac_cv_prog_cc_g=yes
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 ac_c_werror_flag=$ac_save_c_werror_flag
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2928 $as_echo "$ac_cv_prog_cc_g" >&6; }
2929 if test "$ac_test_CFLAGS" = set; then
2930 CFLAGS=$ac_save_CFLAGS
2931 elif test $ac_cv_prog_cc_g = yes; then
2932 if test "$GCC" = yes; then
2933 CFLAGS="-g -O2"
2934 else
2935 CFLAGS="-g"
2937 else
2938 if test "$GCC" = yes; then
2939 CFLAGS="-O2"
2940 else
2941 CFLAGS=
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2945 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2946 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2947 $as_echo_n "(cached) " >&6
2948 else
2949 ac_cv_prog_cc_c89=no
2950 ac_save_CC=$CC
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2953 #include <stdarg.h>
2954 #include <stdio.h>
2955 #include <sys/types.h>
2956 #include <sys/stat.h>
2957 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2958 struct buf { int x; };
2959 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2960 static char *e (p, i)
2961 char **p;
2962 int i;
2964 return p[i];
2966 static char *f (char * (*g) (char **, int), char **p, ...)
2968 char *s;
2969 va_list v;
2970 va_start (v,p);
2971 s = g (p, va_arg (v,int));
2972 va_end (v);
2973 return s;
2976 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2977 function prototypes and stuff, but not '\xHH' hex character constants.
2978 These don't provoke an error unfortunately, instead are silently treated
2979 as 'x'. The following induces an error, until -std is added to get
2980 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2981 array size at least. It's necessary to write '\x00'==0 to get something
2982 that's true only with -std. */
2983 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2985 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2986 inside strings and character constants. */
2987 #define FOO(x) 'x'
2988 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2990 int test (int i, double x);
2991 struct s1 {int (*f) (int a);};
2992 struct s2 {int (*f) (double a);};
2993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2994 int argc;
2995 char **argv;
2997 main ()
2999 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3001 return 0;
3003 _ACEOF
3004 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3005 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3007 CC="$ac_save_CC $ac_arg"
3008 if ac_fn_c_try_compile "$LINENO"; then :
3009 ac_cv_prog_cc_c89=$ac_arg
3011 rm -f core conftest.err conftest.$ac_objext
3012 test "x$ac_cv_prog_cc_c89" != "xno" && break
3013 done
3014 rm -f conftest.$ac_ext
3015 CC=$ac_save_CC
3018 # AC_CACHE_VAL
3019 case "x$ac_cv_prog_cc_c89" in
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3022 $as_echo "none needed" >&6; } ;;
3023 xno)
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3025 $as_echo "unsupported" >&6; } ;;
3027 CC="$CC $ac_cv_prog_cc_c89"
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3029 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3030 esac
3031 if test "x$ac_cv_prog_cc_c89" != xno; then :
3035 ac_ext=c
3036 ac_cpp='$CPP $CPPFLAGS'
3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3040 DEPDIR="${am__leading_dot}deps"
3042 ac_config_commands="$ac_config_commands depfiles"
3045 am_make=${MAKE-make}
3046 cat > confinc << 'END'
3047 am__doit:
3048 @echo this is the am__doit target
3049 .PHONY: am__doit
3051 # If we don't find an include directive, just comment out the code.
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3053 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3054 am__include="#"
3055 am__quote=
3056 _am_result=none
3057 # First try GNU make style include.
3058 echo "include confinc" > confmf
3059 # Ignore all kinds of additional output from `make'.
3060 case `$am_make -s -f confmf 2> /dev/null` in #(
3061 *the\ am__doit\ target*)
3062 am__include=include
3063 am__quote=
3064 _am_result=GNU
3066 esac
3067 # Now try BSD make style include.
3068 if test "$am__include" = "#"; then
3069 echo '.include "confinc"' > confmf
3070 case `$am_make -s -f confmf 2> /dev/null` in #(
3071 *the\ am__doit\ target*)
3072 am__include=.include
3073 am__quote="\""
3074 _am_result=BSD
3076 esac
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3081 $as_echo "$_am_result" >&6; }
3082 rm -f confinc confmf
3084 # Check whether --enable-dependency-tracking was given.
3085 if test "${enable_dependency_tracking+set}" = set; then :
3086 enableval=$enable_dependency_tracking;
3089 if test "x$enable_dependency_tracking" != xno; then
3090 am_depcomp="$ac_aux_dir/depcomp"
3091 AMDEPBACKSLASH='\'
3093 if test "x$enable_dependency_tracking" != xno; then
3094 AMDEP_TRUE=
3095 AMDEP_FALSE='#'
3096 else
3097 AMDEP_TRUE='#'
3098 AMDEP_FALSE=
3103 depcc="$CC" am_compiler_list=
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3106 $as_echo_n "checking dependency style of $depcc... " >&6; }
3107 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3108 $as_echo_n "(cached) " >&6
3109 else
3110 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3111 # We make a subdir and do the tests there. Otherwise we can end up
3112 # making bogus files that we don't know about and never remove. For
3113 # instance it was reported that on HP-UX the gcc test will end up
3114 # making a dummy file named `D' -- because `-MD' means `put the output
3115 # in D'.
3116 mkdir conftest.dir
3117 # Copy depcomp to subdir because otherwise we won't find it if we're
3118 # using a relative directory.
3119 cp "$am_depcomp" conftest.dir
3120 cd conftest.dir
3121 # We will build objects and dependencies in a subdirectory because
3122 # it helps to detect inapplicable dependency modes. For instance
3123 # both Tru64's cc and ICC support -MD to output dependencies as a
3124 # side effect of compilation, but ICC will put the dependencies in
3125 # the current directory while Tru64 will put them in the object
3126 # directory.
3127 mkdir sub
3129 am_cv_CC_dependencies_compiler_type=none
3130 if test "$am_compiler_list" = ""; then
3131 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3133 am__universal=false
3134 case " $depcc " in #(
3135 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3136 esac
3138 for depmode in $am_compiler_list; do
3139 # Setup a source with many dependencies, because some compilers
3140 # like to wrap large dependency lists on column 80 (with \), and
3141 # we should not choose a depcomp mode which is confused by this.
3143 # We need to recreate these files for each test, as the compiler may
3144 # overwrite some of them when testing with obscure command lines.
3145 # This happens at least with the AIX C compiler.
3146 : > sub/conftest.c
3147 for i in 1 2 3 4 5 6; do
3148 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3149 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3150 # Solaris 8's {/usr,}/bin/sh.
3151 touch sub/conftst$i.h
3152 done
3153 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3155 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3156 # mode. It turns out that the SunPro C++ compiler does not properly
3157 # handle `-M -o', and we need to detect this. Also, some Intel
3158 # versions had trouble with output in subdirs
3159 am__obj=sub/conftest.${OBJEXT-o}
3160 am__minus_obj="-o $am__obj"
3161 case $depmode in
3162 gcc)
3163 # This depmode causes a compiler race in universal mode.
3164 test "$am__universal" = false || continue
3166 nosideeffect)
3167 # after this tag, mechanisms are not by side-effect, so they'll
3168 # only be used when explicitly requested
3169 if test "x$enable_dependency_tracking" = xyes; then
3170 continue
3171 else
3172 break
3175 msvisualcpp | msvcmsys)
3176 # This compiler won't grok `-c -o', but also, the minuso test has
3177 # not run yet. These depmodes are late enough in the game, and
3178 # so weak that their functioning should not be impacted.
3179 am__obj=conftest.${OBJEXT-o}
3180 am__minus_obj=
3182 none) break ;;
3183 esac
3184 if depmode=$depmode \
3185 source=sub/conftest.c object=$am__obj \
3186 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3187 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3188 >/dev/null 2>conftest.err &&
3189 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3190 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3191 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3192 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3193 # icc doesn't choke on unknown options, it will just issue warnings
3194 # or remarks (even with -Werror). So we grep stderr for any message
3195 # that says an option was ignored or not supported.
3196 # When given -MP, icc 7.0 and 7.1 complain thusly:
3197 # icc: Command line warning: ignoring option '-M'; no argument required
3198 # The diagnosis changed in icc 8.0:
3199 # icc: Command line remark: option '-MP' not supported
3200 if (grep 'ignoring option' conftest.err ||
3201 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3202 am_cv_CC_dependencies_compiler_type=$depmode
3203 break
3206 done
3208 cd ..
3209 rm -rf conftest.dir
3210 else
3211 am_cv_CC_dependencies_compiler_type=none
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3216 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3217 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3220 test "x$enable_dependency_tracking" != xno \
3221 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3222 am__fastdepCC_TRUE=
3223 am__fastdepCC_FALSE='#'
3224 else
3225 am__fastdepCC_TRUE='#'
3226 am__fastdepCC_FALSE=
3230 if test "x$CC" != xcc; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3232 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3233 else
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3235 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3237 set dummy $CC; ac_cc=`$as_echo "$2" |
3238 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3239 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3240 $as_echo_n "(cached) " >&6
3241 else
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3246 main ()
3250 return 0;
3252 _ACEOF
3253 # Make sure it works both with $CC and with simple cc.
3254 # We do the test twice because some compilers refuse to overwrite an
3255 # existing .o file with -o, though they will create one.
3256 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3257 rm -f conftest2.*
3258 if { { case "(($ac_try" in
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3261 esac
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_try") 2>&5
3265 ac_status=$?
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; } &&
3268 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3271 esac
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274 (eval "$ac_try") 2>&5
3275 ac_status=$?
3276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 test $ac_status = 0; };
3278 then
3279 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3280 if test "x$CC" != xcc; then
3281 # Test first that cc exists at all.
3282 if { ac_try='cc -c conftest.$ac_ext >&5'
3283 { { case "(($ac_try" in
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3286 esac
3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3288 $as_echo "$ac_try_echo"; } >&5
3289 (eval "$ac_try") 2>&5
3290 ac_status=$?
3291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3292 test $ac_status = 0; }; }; then
3293 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3294 rm -f conftest2.*
3295 if { { case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3298 esac
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_try") 2>&5
3302 ac_status=$?
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; } &&
3305 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3308 esac
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_try") 2>&5
3312 ac_status=$?
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; };
3315 then
3316 # cc works too.
3318 else
3319 # cc exists but doesn't like -o.
3320 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3324 else
3325 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3327 rm -f core conftest*
3330 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3333 else
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3337 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3341 # FIXME: we rely on the cache variable name because
3342 # there is no other way.
3343 set dummy $CC
3344 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3345 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3346 if test "$am_t" != yes; then
3347 # Losing compiler, so override with the script.
3348 # FIXME: It is wrong to rewrite CC.
3349 # But if we don't then we get into trouble of one sort or another.
3350 # A longer-term fix would be to have automake use am__CC in this case,
3351 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3352 CC="$am_aux_dir/compile $CC"
3357 ac_config_files="$ac_config_files Makefile src/Makefile"
3359 cat >confcache <<\_ACEOF
3360 # This file is a shell script that caches the results of configure
3361 # tests run on this system so they can be shared between configure
3362 # scripts and configure runs, see configure's option --config-cache.
3363 # It is not useful on other systems. If it contains results you don't
3364 # want to keep, you may remove or edit it.
3366 # config.status only pays attention to the cache file if you give it
3367 # the --recheck option to rerun configure.
3369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3371 # following values.
3373 _ACEOF
3375 # The following way of writing the cache mishandles newlines in values,
3376 # but we know of no workaround that is simple, portable, and efficient.
3377 # So, we kill variables containing newlines.
3378 # Ultrix sh set writes to stderr and can't be redirected directly,
3379 # and sets the high bit in the cache file unless we assign to the vars.
3381 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3382 eval ac_val=\$$ac_var
3383 case $ac_val in #(
3384 *${as_nl}*)
3385 case $ac_var in #(
3386 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3387 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3388 esac
3389 case $ac_var in #(
3390 _ | IFS | as_nl) ;; #(
3391 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3392 *) { eval $ac_var=; unset $ac_var;} ;;
3393 esac ;;
3394 esac
3395 done
3397 (set) 2>&1 |
3398 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3399 *${as_nl}ac_space=\ *)
3400 # `set' does not quote correctly, so add quotes: double-quote
3401 # substitution turns \\\\ into \\, and sed turns \\ into \.
3402 sed -n \
3403 "s/'/'\\\\''/g;
3404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3405 ;; #(
3407 # `set' quotes correctly as required by POSIX, so do not add quotes.
3408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3410 esac |
3411 sort
3413 sed '
3414 /^ac_cv_env_/b end
3415 t clear
3416 :clear
3417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3418 t end
3419 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3420 :end' >>confcache
3421 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3422 if test -w "$cache_file"; then
3423 test "x$cache_file" != "x/dev/null" &&
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3425 $as_echo "$as_me: updating cache $cache_file" >&6;}
3426 cat confcache >$cache_file
3427 else
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3432 rm -f confcache
3434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3435 # Let make expand exec_prefix.
3436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3438 # Transform confdefs.h into DEFS.
3439 # Protect against shell expansion while executing Makefile rules.
3440 # Protect against Makefile macro expansion.
3442 # If the first sed substitution is executed (which looks for macros that
3443 # take arguments), then branch to the quote section. Otherwise,
3444 # look for a macro that doesn't take arguments.
3445 ac_script='
3446 :mline
3447 /\\$/{
3449 s,\\\n,,
3450 b mline
3452 t clear
3453 :clear
3454 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3455 t quote
3456 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3457 t quote
3458 b any
3459 :quote
3460 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3461 s/\[/\\&/g
3462 s/\]/\\&/g
3463 s/\$/$$/g
3465 :any
3468 s/^\n//
3469 s/\n/ /g
3473 DEFS=`sed -n "$ac_script" confdefs.h`
3476 ac_libobjs=
3477 ac_ltlibobjs=
3478 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3479 # 1. Remove the extension, and $U if already installed.
3480 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3481 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3482 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3483 # will be set to the directory where LIBOBJS objects are built.
3484 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3485 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3486 done
3487 LIBOBJS=$ac_libobjs
3489 LTLIBOBJS=$ac_ltlibobjs
3492 if test -n "$EXEEXT"; then
3493 am__EXEEXT_TRUE=
3494 am__EXEEXT_FALSE='#'
3495 else
3496 am__EXEEXT_TRUE='#'
3497 am__EXEEXT_FALSE=
3500 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3501 as_fn_error "conditional \"AMDEP\" was never defined.
3502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3504 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3505 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3509 : ${CONFIG_STATUS=./config.status}
3510 ac_write_fail=0
3511 ac_clean_files_save=$ac_clean_files
3512 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3514 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3515 as_write_fail=0
3516 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3517 #! $SHELL
3518 # Generated by $as_me.
3519 # Run this file to recreate the current configuration.
3520 # Compiler output produced by configure, useful for debugging
3521 # configure, is in config.log if it exists.
3523 debug=false
3524 ac_cs_recheck=false
3525 ac_cs_silent=false
3527 SHELL=\${CONFIG_SHELL-$SHELL}
3528 export SHELL
3529 _ASEOF
3530 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3531 ## -------------------- ##
3532 ## M4sh Initialization. ##
3533 ## -------------------- ##
3535 # Be more Bourne compatible
3536 DUALCASE=1; export DUALCASE # for MKS sh
3537 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3538 emulate sh
3539 NULLCMD=:
3540 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3541 # is contrary to our usage. Disable this feature.
3542 alias -g '${1+"$@"}'='"$@"'
3543 setopt NO_GLOB_SUBST
3544 else
3545 case `(set -o) 2>/dev/null` in #(
3546 *posix*) :
3547 set -o posix ;; #(
3548 *) :
3550 esac
3554 as_nl='
3556 export as_nl
3557 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3558 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3561 # Prefer a ksh shell builtin over an external printf program on Solaris,
3562 # but without wasting forks for bash or zsh.
3563 if test -z "$BASH_VERSION$ZSH_VERSION" \
3564 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3565 as_echo='print -r --'
3566 as_echo_n='print -rn --'
3567 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3568 as_echo='printf %s\n'
3569 as_echo_n='printf %s'
3570 else
3571 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3572 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3573 as_echo_n='/usr/ucb/echo -n'
3574 else
3575 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3576 as_echo_n_body='eval
3577 arg=$1;
3578 case $arg in #(
3579 *"$as_nl"*)
3580 expr "X$arg" : "X\\(.*\\)$as_nl";
3581 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3582 esac;
3583 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3585 export as_echo_n_body
3586 as_echo_n='sh -c $as_echo_n_body as_echo'
3588 export as_echo_body
3589 as_echo='sh -c $as_echo_body as_echo'
3592 # The user is always right.
3593 if test "${PATH_SEPARATOR+set}" != set; then
3594 PATH_SEPARATOR=:
3595 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3596 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3597 PATH_SEPARATOR=';'
3602 # IFS
3603 # We need space, tab and new line, in precisely that order. Quoting is
3604 # there to prevent editors from complaining about space-tab.
3605 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3606 # splitting by setting IFS to empty value.)
3607 IFS=" "" $as_nl"
3609 # Find who we are. Look in the path if we contain no directory separator.
3610 case $0 in #((
3611 *[\\/]* ) as_myself=$0 ;;
3612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 for as_dir in $PATH
3615 IFS=$as_save_IFS
3616 test -z "$as_dir" && as_dir=.
3617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3618 done
3619 IFS=$as_save_IFS
3622 esac
3623 # We did not find ourselves, most probably we were run as `sh COMMAND'
3624 # in which case we are not to be found in the path.
3625 if test "x$as_myself" = x; then
3626 as_myself=$0
3628 if test ! -f "$as_myself"; then
3629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3630 exit 1
3633 # Unset variables that we do not need and which cause bugs (e.g. in
3634 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3635 # suppresses any "Segmentation fault" message there. '((' could
3636 # trigger a bug in pdksh 5.2.14.
3637 for as_var in BASH_ENV ENV MAIL MAILPATH
3638 do eval test x\${$as_var+set} = xset \
3639 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3640 done
3641 PS1='$ '
3642 PS2='> '
3643 PS4='+ '
3645 # NLS nuisances.
3646 LC_ALL=C
3647 export LC_ALL
3648 LANGUAGE=C
3649 export LANGUAGE
3651 # CDPATH.
3652 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3655 # as_fn_error ERROR [LINENO LOG_FD]
3656 # ---------------------------------
3657 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3658 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3659 # script with status $?, using 1 if that was 0.
3660 as_fn_error ()
3662 as_status=$?; test $as_status -eq 0 && as_status=1
3663 if test "$3"; then
3664 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3667 $as_echo "$as_me: error: $1" >&2
3668 as_fn_exit $as_status
3669 } # as_fn_error
3672 # as_fn_set_status STATUS
3673 # -----------------------
3674 # Set $? to STATUS, without forking.
3675 as_fn_set_status ()
3677 return $1
3678 } # as_fn_set_status
3680 # as_fn_exit STATUS
3681 # -----------------
3682 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3683 as_fn_exit ()
3685 set +e
3686 as_fn_set_status $1
3687 exit $1
3688 } # as_fn_exit
3690 # as_fn_unset VAR
3691 # ---------------
3692 # Portably unset VAR.
3693 as_fn_unset ()
3695 { eval $1=; unset $1;}
3697 as_unset=as_fn_unset
3698 # as_fn_append VAR VALUE
3699 # ----------------------
3700 # Append the text in VALUE to the end of the definition contained in VAR. Take
3701 # advantage of any shell optimizations that allow amortized linear growth over
3702 # repeated appends, instead of the typical quadratic growth present in naive
3703 # implementations.
3704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3705 eval 'as_fn_append ()
3707 eval $1+=\$2
3709 else
3710 as_fn_append ()
3712 eval $1=\$$1\$2
3714 fi # as_fn_append
3716 # as_fn_arith ARG...
3717 # ------------------
3718 # Perform arithmetic evaluation on the ARGs, and store the result in the
3719 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3720 # must be portable across $(()) and expr.
3721 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3722 eval 'as_fn_arith ()
3724 as_val=$(( $* ))
3726 else
3727 as_fn_arith ()
3729 as_val=`expr "$@" || test $? -eq 1`
3731 fi # as_fn_arith
3734 if expr a : '\(a\)' >/dev/null 2>&1 &&
3735 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3736 as_expr=expr
3737 else
3738 as_expr=false
3741 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3742 as_basename=basename
3743 else
3744 as_basename=false
3747 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3748 as_dirname=dirname
3749 else
3750 as_dirname=false
3753 as_me=`$as_basename -- "$0" ||
3754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3755 X"$0" : 'X\(//\)$' \| \
3756 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3757 $as_echo X/"$0" |
3758 sed '/^.*\/\([^/][^/]*\)\/*$/{
3759 s//\1/
3762 /^X\/\(\/\/\)$/{
3763 s//\1/
3766 /^X\/\(\/\).*/{
3767 s//\1/
3770 s/.*/./; q'`
3772 # Avoid depending upon Character Ranges.
3773 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3774 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3775 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3776 as_cr_digits='0123456789'
3777 as_cr_alnum=$as_cr_Letters$as_cr_digits
3779 ECHO_C= ECHO_N= ECHO_T=
3780 case `echo -n x` in #(((((
3781 -n*)
3782 case `echo 'xy\c'` in
3783 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3784 xy) ECHO_C='\c';;
3785 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3786 ECHO_T=' ';;
3787 esac;;
3789 ECHO_N='-n';;
3790 esac
3792 rm -f conf$$ conf$$.exe conf$$.file
3793 if test -d conf$$.dir; then
3794 rm -f conf$$.dir/conf$$.file
3795 else
3796 rm -f conf$$.dir
3797 mkdir conf$$.dir 2>/dev/null
3799 if (echo >conf$$.file) 2>/dev/null; then
3800 if ln -s conf$$.file conf$$ 2>/dev/null; then
3801 as_ln_s='ln -s'
3802 # ... but there are two gotchas:
3803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3805 # In both cases, we have to default to `cp -p'.
3806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3807 as_ln_s='cp -p'
3808 elif ln conf$$.file conf$$ 2>/dev/null; then
3809 as_ln_s=ln
3810 else
3811 as_ln_s='cp -p'
3813 else
3814 as_ln_s='cp -p'
3816 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3817 rmdir conf$$.dir 2>/dev/null
3820 # as_fn_mkdir_p
3821 # -------------
3822 # Create "$as_dir" as a directory, including parents if necessary.
3823 as_fn_mkdir_p ()
3826 case $as_dir in #(
3827 -*) as_dir=./$as_dir;;
3828 esac
3829 test -d "$as_dir" || eval $as_mkdir_p || {
3830 as_dirs=
3831 while :; do
3832 case $as_dir in #(
3833 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3834 *) as_qdir=$as_dir;;
3835 esac
3836 as_dirs="'$as_qdir' $as_dirs"
3837 as_dir=`$as_dirname -- "$as_dir" ||
3838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3839 X"$as_dir" : 'X\(//\)[^/]' \| \
3840 X"$as_dir" : 'X\(//\)$' \| \
3841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3842 $as_echo X"$as_dir" |
3843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3844 s//\1/
3847 /^X\(\/\/\)[^/].*/{
3848 s//\1/
3851 /^X\(\/\/\)$/{
3852 s//\1/
3855 /^X\(\/\).*/{
3856 s//\1/
3859 s/.*/./; q'`
3860 test -d "$as_dir" && break
3861 done
3862 test -z "$as_dirs" || eval "mkdir $as_dirs"
3863 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3866 } # as_fn_mkdir_p
3867 if mkdir -p . 2>/dev/null; then
3868 as_mkdir_p='mkdir -p "$as_dir"'
3869 else
3870 test -d ./-p && rmdir ./-p
3871 as_mkdir_p=false
3874 if test -x / >/dev/null 2>&1; then
3875 as_test_x='test -x'
3876 else
3877 if ls -dL / >/dev/null 2>&1; then
3878 as_ls_L_option=L
3879 else
3880 as_ls_L_option=
3882 as_test_x='
3883 eval sh -c '\''
3884 if test -d "$1"; then
3885 test -d "$1/.";
3886 else
3887 case $1 in #(
3888 -*)set "./$1";;
3889 esac;
3890 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3891 ???[sx]*):;;*)false;;esac;fi
3892 '\'' sh
3895 as_executable_p=$as_test_x
3897 # Sed expression to map a string onto a valid CPP name.
3898 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3900 # Sed expression to map a string onto a valid variable name.
3901 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3904 exec 6>&1
3905 ## ----------------------------------- ##
3906 ## Main body of $CONFIG_STATUS script. ##
3907 ## ----------------------------------- ##
3908 _ASEOF
3909 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3912 # Save the log message, to keep $0 and so on meaningful, and to
3913 # report actual input values of CONFIG_FILES etc. instead of their
3914 # values after options handling.
3915 ac_log="
3916 This file was extended by $as_me, which was
3917 generated by GNU Autoconf 2.65. Invocation command line was
3919 CONFIG_FILES = $CONFIG_FILES
3920 CONFIG_HEADERS = $CONFIG_HEADERS
3921 CONFIG_LINKS = $CONFIG_LINKS
3922 CONFIG_COMMANDS = $CONFIG_COMMANDS
3923 $ $0 $@
3925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3928 _ACEOF
3930 case $ac_config_files in *"
3931 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3932 esac
3936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3937 # Files that config.status was made for.
3938 config_files="$ac_config_files"
3939 config_commands="$ac_config_commands"
3941 _ACEOF
3943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3944 ac_cs_usage="\
3945 \`$as_me' instantiates files and other configuration actions
3946 from templates according to the current configuration. Unless the files
3947 and actions are specified as TAGs, all are instantiated by default.
3949 Usage: $0 [OPTION]... [TAG]...
3951 -h, --help print this help, then exit
3952 -V, --version print version number and configuration settings, then exit
3953 --config print configuration, then exit
3954 -q, --quiet, --silent
3955 do not print progress messages
3956 -d, --debug don't remove temporary files
3957 --recheck update $as_me by reconfiguring in the same conditions
3958 --file=FILE[:TEMPLATE]
3959 instantiate the configuration file FILE
3961 Configuration files:
3962 $config_files
3964 Configuration commands:
3965 $config_commands
3967 Report bugs to the package provider."
3969 _ACEOF
3970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3971 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3972 ac_cs_version="\\
3973 config.status
3974 configured by $0, generated by GNU Autoconf 2.65,
3975 with options \\"\$ac_cs_config\\"
3977 Copyright (C) 2009 Free Software Foundation, Inc.
3978 This config.status script is free software; the Free Software Foundation
3979 gives unlimited permission to copy, distribute and modify it."
3981 ac_pwd='$ac_pwd'
3982 srcdir='$srcdir'
3983 INSTALL='$INSTALL'
3984 MKDIR_P='$MKDIR_P'
3985 AWK='$AWK'
3986 test -n "\$AWK" || AWK=awk
3987 _ACEOF
3989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3990 # The default lists apply if the user does not specify any file.
3991 ac_need_defaults=:
3992 while test $# != 0
3994 case $1 in
3995 --*=*)
3996 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3997 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3998 ac_shift=:
4001 ac_option=$1
4002 ac_optarg=$2
4003 ac_shift=shift
4005 esac
4007 case $ac_option in
4008 # Handling of the options.
4009 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4010 ac_cs_recheck=: ;;
4011 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4012 $as_echo "$ac_cs_version"; exit ;;
4013 --config | --confi | --conf | --con | --co | --c )
4014 $as_echo "$ac_cs_config"; exit ;;
4015 --debug | --debu | --deb | --de | --d | -d )
4016 debug=: ;;
4017 --file | --fil | --fi | --f )
4018 $ac_shift
4019 case $ac_optarg in
4020 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4021 esac
4022 as_fn_append CONFIG_FILES " '$ac_optarg'"
4023 ac_need_defaults=false;;
4024 --he | --h | --help | --hel | -h )
4025 $as_echo "$ac_cs_usage"; exit ;;
4026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4027 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4028 ac_cs_silent=: ;;
4030 # This is an error.
4031 -*) as_fn_error "unrecognized option: \`$1'
4032 Try \`$0 --help' for more information." ;;
4034 *) as_fn_append ac_config_targets " $1"
4035 ac_need_defaults=false ;;
4037 esac
4038 shift
4039 done
4041 ac_configure_extra_args=
4043 if $ac_cs_silent; then
4044 exec 6>/dev/null
4045 ac_configure_extra_args="$ac_configure_extra_args --silent"
4048 _ACEOF
4049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4050 if \$ac_cs_recheck; then
4051 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4052 shift
4053 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4054 CONFIG_SHELL='$SHELL'
4055 export CONFIG_SHELL
4056 exec "\$@"
4059 _ACEOF
4060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4061 exec 5>>config.log
4063 echo
4064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4065 ## Running $as_me. ##
4066 _ASBOX
4067 $as_echo "$ac_log"
4068 } >&5
4070 _ACEOF
4071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4073 # INIT-COMMANDS
4075 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4077 _ACEOF
4079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4081 # Handling of arguments.
4082 for ac_config_target in $ac_config_targets
4084 case $ac_config_target in
4085 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4086 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4087 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4089 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4090 esac
4091 done
4094 # If the user did not use the arguments to specify the items to instantiate,
4095 # then the envvar interface is used. Set only those that are not.
4096 # We use the long form for the default assignment because of an extremely
4097 # bizarre bug on SunOS 4.1.3.
4098 if $ac_need_defaults; then
4099 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4100 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4103 # Have a temporary directory for convenience. Make it in the build tree
4104 # simply because there is no reason against having it here, and in addition,
4105 # creating and moving files from /tmp can sometimes cause problems.
4106 # Hook for its removal unless debugging.
4107 # Note that there is a small window in which the directory will not be cleaned:
4108 # after its creation but before its name has been assigned to `$tmp'.
4109 $debug ||
4111 tmp=
4112 trap 'exit_status=$?
4113 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4115 trap 'as_fn_exit 1' 1 2 13 15
4117 # Create a (secure) tmp directory for tmp files.
4120 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4121 test -n "$tmp" && test -d "$tmp"
4122 } ||
4124 tmp=./conf$$-$RANDOM
4125 (umask 077 && mkdir "$tmp")
4126 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4128 # Set up the scripts for CONFIG_FILES section.
4129 # No need to generate them if there are no CONFIG_FILES.
4130 # This happens for instance with `./config.status config.h'.
4131 if test -n "$CONFIG_FILES"; then
4134 ac_cr=`echo X | tr X '\015'`
4135 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4136 # But we know of no other shell where ac_cr would be empty at this
4137 # point, so we can use a bashism as a fallback.
4138 if test "x$ac_cr" = x; then
4139 eval ac_cr=\$\'\\r\'
4141 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4142 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4143 ac_cs_awk_cr='\r'
4144 else
4145 ac_cs_awk_cr=$ac_cr
4148 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4149 _ACEOF
4153 echo "cat >conf$$subs.awk <<_ACEOF" &&
4154 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4155 echo "_ACEOF"
4156 } >conf$$subs.sh ||
4157 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4158 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4159 ac_delim='%!_!# '
4160 for ac_last_try in false false false false false :; do
4161 . ./conf$$subs.sh ||
4162 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4164 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4165 if test $ac_delim_n = $ac_delim_num; then
4166 break
4167 elif $ac_last_try; then
4168 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4169 else
4170 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4172 done
4173 rm -f conf$$subs.sh
4175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4176 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4177 _ACEOF
4178 sed -n '
4180 s/^/S["/; s/!.*/"]=/
4183 s/^[^!]*!//
4184 :repl
4185 t repl
4186 s/'"$ac_delim"'$//
4187 t delim
4190 s/\(.\{148\}\)..*/\1/
4191 t more1
4192 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4195 b repl
4196 :more1
4197 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4200 s/.\{148\}//
4201 t nl
4202 :delim
4204 s/\(.\{148\}\)..*/\1/
4205 t more2
4206 s/["\\]/\\&/g; s/^/"/; s/$/"/
4209 :more2
4210 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4213 s/.\{148\}//
4214 t delim
4215 ' <conf$$subs.awk | sed '
4216 /^[^""]/{
4218 s/\n//
4220 ' >>$CONFIG_STATUS || ac_write_fail=1
4221 rm -f conf$$subs.awk
4222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4223 _ACAWK
4224 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4225 for (key in S) S_is_set[key] = 1
4226 FS = "\a"
4230 line = $ 0
4231 nfields = split(line, field, "@")
4232 substed = 0
4233 len = length(field[1])
4234 for (i = 2; i < nfields; i++) {
4235 key = field[i]
4236 keylen = length(key)
4237 if (S_is_set[key]) {
4238 value = S[key]
4239 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4240 len += length(value) + length(field[++i])
4241 substed = 1
4242 } else
4243 len += 1 + keylen
4246 print line
4249 _ACAWK
4250 _ACEOF
4251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4252 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4253 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4254 else
4256 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4257 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4258 _ACEOF
4260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4262 # trailing colons and then remove the whole line if VPATH becomes empty
4263 # (actually we leave an empty line to preserve line numbers).
4264 if test "x$srcdir" = x.; then
4265 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4266 s/:*\$(srcdir):*/:/
4267 s/:*\${srcdir}:*/:/
4268 s/:*@srcdir@:*/:/
4269 s/^\([^=]*=[ ]*\):*/\1/
4270 s/:*$//
4271 s/^[^=]*=[ ]*$//
4275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4276 fi # test -n "$CONFIG_FILES"
4279 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4280 shift
4281 for ac_tag
4283 case $ac_tag in
4284 :[FHLC]) ac_mode=$ac_tag; continue;;
4285 esac
4286 case $ac_mode$ac_tag in
4287 :[FHL]*:*);;
4288 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4289 :[FH]-) ac_tag=-:-;;
4290 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4291 esac
4292 ac_save_IFS=$IFS
4293 IFS=:
4294 set x $ac_tag
4295 IFS=$ac_save_IFS
4296 shift
4297 ac_file=$1
4298 shift
4300 case $ac_mode in
4301 :L) ac_source=$1;;
4302 :[FH])
4303 ac_file_inputs=
4304 for ac_f
4306 case $ac_f in
4307 -) ac_f="$tmp/stdin";;
4308 *) # Look for the file first in the build tree, then in the source tree
4309 # (if the path is not absolute). The absolute path cannot be DOS-style,
4310 # because $ac_f cannot contain `:'.
4311 test -f "$ac_f" ||
4312 case $ac_f in
4313 [\\/$]*) false;;
4314 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4315 esac ||
4316 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4317 esac
4318 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4319 as_fn_append ac_file_inputs " '$ac_f'"
4320 done
4322 # Let's still pretend it is `configure' which instantiates (i.e., don't
4323 # use $as_me), people would be surprised to read:
4324 # /* config.h. Generated by config.status. */
4325 configure_input='Generated from '`
4326 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4327 `' by configure.'
4328 if test x"$ac_file" != x-; then
4329 configure_input="$ac_file. $configure_input"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4331 $as_echo "$as_me: creating $ac_file" >&6;}
4333 # Neutralize special characters interpreted by sed in replacement strings.
4334 case $configure_input in #(
4335 *\&* | *\|* | *\\* )
4336 ac_sed_conf_input=`$as_echo "$configure_input" |
4337 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4338 *) ac_sed_conf_input=$configure_input;;
4339 esac
4341 case $ac_tag in
4342 *:-:* | *:-) cat >"$tmp/stdin" \
4343 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4344 esac
4346 esac
4348 ac_dir=`$as_dirname -- "$ac_file" ||
4349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4350 X"$ac_file" : 'X\(//\)[^/]' \| \
4351 X"$ac_file" : 'X\(//\)$' \| \
4352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4353 $as_echo X"$ac_file" |
4354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4355 s//\1/
4358 /^X\(\/\/\)[^/].*/{
4359 s//\1/
4362 /^X\(\/\/\)$/{
4363 s//\1/
4366 /^X\(\/\).*/{
4367 s//\1/
4370 s/.*/./; q'`
4371 as_dir="$ac_dir"; as_fn_mkdir_p
4372 ac_builddir=.
4374 case "$ac_dir" in
4375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4377 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4378 # A ".." for each directory in $ac_dir_suffix.
4379 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4380 case $ac_top_builddir_sub in
4381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4383 esac ;;
4384 esac
4385 ac_abs_top_builddir=$ac_pwd
4386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4387 # for backward compatibility:
4388 ac_top_builddir=$ac_top_build_prefix
4390 case $srcdir in
4391 .) # We are building in place.
4392 ac_srcdir=.
4393 ac_top_srcdir=$ac_top_builddir_sub
4394 ac_abs_top_srcdir=$ac_pwd ;;
4395 [\\/]* | ?:[\\/]* ) # Absolute name.
4396 ac_srcdir=$srcdir$ac_dir_suffix;
4397 ac_top_srcdir=$srcdir
4398 ac_abs_top_srcdir=$srcdir ;;
4399 *) # Relative name.
4400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4401 ac_top_srcdir=$ac_top_build_prefix$srcdir
4402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4403 esac
4404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4407 case $ac_mode in
4410 # CONFIG_FILE
4413 case $INSTALL in
4414 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4415 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4416 esac
4417 ac_MKDIR_P=$MKDIR_P
4418 case $MKDIR_P in
4419 [\\/$]* | ?:[\\/]* ) ;;
4420 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4421 esac
4422 _ACEOF
4424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4425 # If the template does not know about datarootdir, expand it.
4426 # FIXME: This hack should be removed a few years after 2.60.
4427 ac_datarootdir_hack=; ac_datarootdir_seen=
4428 ac_sed_dataroot='
4429 /datarootdir/ {
4433 /@datadir@/p
4434 /@docdir@/p
4435 /@infodir@/p
4436 /@localedir@/p
4437 /@mandir@/p'
4438 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4439 *datarootdir*) ac_datarootdir_seen=yes;;
4440 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4442 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4443 _ACEOF
4444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4445 ac_datarootdir_hack='
4446 s&@datadir@&$datadir&g
4447 s&@docdir@&$docdir&g
4448 s&@infodir@&$infodir&g
4449 s&@localedir@&$localedir&g
4450 s&@mandir@&$mandir&g
4451 s&\\\${datarootdir}&$datarootdir&g' ;;
4452 esac
4453 _ACEOF
4455 # Neutralize VPATH when `$srcdir' = `.'.
4456 # Shell code in configure.ac might set extrasub.
4457 # FIXME: do we really want to maintain this feature?
4458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4459 ac_sed_extra="$ac_vpsub
4460 $extrasub
4461 _ACEOF
4462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4465 s|@configure_input@|$ac_sed_conf_input|;t t
4466 s&@top_builddir@&$ac_top_builddir_sub&;t t
4467 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4468 s&@srcdir@&$ac_srcdir&;t t
4469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4470 s&@top_srcdir@&$ac_top_srcdir&;t t
4471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4472 s&@builddir@&$ac_builddir&;t t
4473 s&@abs_builddir@&$ac_abs_builddir&;t t
4474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4475 s&@INSTALL@&$ac_INSTALL&;t t
4476 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4477 $ac_datarootdir_hack
4479 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4480 || as_fn_error "could not create $ac_file" "$LINENO" 5
4482 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4483 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4484 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4486 which seems to be undefined. Please make sure it is defined." >&5
4487 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4488 which seems to be undefined. Please make sure it is defined." >&2;}
4490 rm -f "$tmp/stdin"
4491 case $ac_file in
4492 -) cat "$tmp/out" && rm -f "$tmp/out";;
4493 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4494 esac \
4495 || as_fn_error "could not create $ac_file" "$LINENO" 5
4499 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4500 $as_echo "$as_me: executing $ac_file commands" >&6;}
4502 esac
4505 case $ac_file$ac_mode in
4506 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4507 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4508 # are listed without --file. Let's play safe and only enable the eval
4509 # if we detect the quoting.
4510 case $CONFIG_FILES in
4511 *\'*) eval set x "$CONFIG_FILES" ;;
4512 *) set x $CONFIG_FILES ;;
4513 esac
4514 shift
4515 for mf
4517 # Strip MF so we end up with the name of the file.
4518 mf=`echo "$mf" | sed -e 's/:.*$//'`
4519 # Check whether this is an Automake generated Makefile or not.
4520 # We used to match only the files named `Makefile.in', but
4521 # some people rename them; so instead we look at the file content.
4522 # Grep'ing the first line is not enough: some people post-process
4523 # each Makefile.in and add a new line on top of each file to say so.
4524 # Grep'ing the whole file is not good either: AIX grep has a line
4525 # limit of 2048, but all sed's we know have understand at least 4000.
4526 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4527 dirpart=`$as_dirname -- "$mf" ||
4528 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4529 X"$mf" : 'X\(//\)[^/]' \| \
4530 X"$mf" : 'X\(//\)$' \| \
4531 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4532 $as_echo X"$mf" |
4533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4534 s//\1/
4537 /^X\(\/\/\)[^/].*/{
4538 s//\1/
4541 /^X\(\/\/\)$/{
4542 s//\1/
4545 /^X\(\/\).*/{
4546 s//\1/
4549 s/.*/./; q'`
4550 else
4551 continue
4553 # Extract the definition of DEPDIR, am__include, and am__quote
4554 # from the Makefile without running `make'.
4555 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4556 test -z "$DEPDIR" && continue
4557 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4558 test -z "am__include" && continue
4559 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4560 # When using ansi2knr, U may be empty or an underscore; expand it
4561 U=`sed -n 's/^U = //p' < "$mf"`
4562 # Find all dependency output files, they are included files with
4563 # $(DEPDIR) in their names. We invoke sed twice because it is the
4564 # simplest approach to changing $(DEPDIR) to its actual value in the
4565 # expansion.
4566 for file in `sed -n "
4567 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4568 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4569 # Make sure the directory exists.
4570 test -f "$dirpart/$file" && continue
4571 fdir=`$as_dirname -- "$file" ||
4572 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4573 X"$file" : 'X\(//\)[^/]' \| \
4574 X"$file" : 'X\(//\)$' \| \
4575 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4576 $as_echo X"$file" |
4577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4578 s//\1/
4581 /^X\(\/\/\)[^/].*/{
4582 s//\1/
4585 /^X\(\/\/\)$/{
4586 s//\1/
4589 /^X\(\/\).*/{
4590 s//\1/
4593 s/.*/./; q'`
4594 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4595 # echo "creating $dirpart/$file"
4596 echo '# dummy' > "$dirpart/$file"
4597 done
4598 done
4602 esac
4603 done # for ac_tag
4606 as_fn_exit 0
4607 _ACEOF
4608 ac_clean_files=$ac_clean_files_save
4610 test $ac_write_fail = 0 ||
4611 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4614 # configure is writing to config.log, and then calls config.status.
4615 # config.status does its own redirection, appending to config.log.
4616 # Unfortunately, on DOS this fails, as config.log is still kept open
4617 # by configure, so config.status won't be able to write to it; its
4618 # output is simply discarded. So we exec the FD to /dev/null,
4619 # effectively closing config.log, so it can be properly (re)opened and
4620 # appended to by config.status. When coming back to configure, we
4621 # need to make the FD available again.
4622 if test "$no_create" != yes; then
4623 ac_cs_success=:
4624 ac_config_status_args=
4625 test "$silent" = yes &&
4626 ac_config_status_args="$ac_config_status_args --quiet"
4627 exec 5>/dev/null
4628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4629 exec 5>>config.log
4630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4631 # would make configure fail if this is the last instruction.
4632 $ac_cs_success || as_fn_exit $?
4634 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4636 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4640 # FIXME: we rely on the cache variable name because
4641 # there is no other way.
4642 set dummy $CC
4643 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4644 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4645 if test "$am_t" != yes; then
4646 # Losing compiler, so override with the script.
4647 # FIXME: It is wrong to rewrite CC.
4648 # But if we don't then we get into trouble of one sort or another.
4649 # A longer-term fix would be to have automake use am__CC in this case,
4650 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4651 CC="$am_aux_dir/compile $CC"