Forward compatibility: build relative-base link libraries where needed
[AROS.git] / arch / ppc-sam440 / boot / parthenope / configure
blob2c5454527eb1012ddf34cf6587f153f5daabd443
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for parthenope svn91.
5 # Report bugs to <cjg>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 as_nl='
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (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=';'
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
161 /^X\/\(\/\/\)$/{
162 s//\1/
165 /^X\/\(\/\).*/{
166 s//\1/
169 s/.*/./; q'`
171 # CDPATH.
172 $as_unset CDPATH
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
186 as_func_success () {
187 as_func_return 0
189 as_func_failure () {
190 as_func_return 1
192 as_func_ret_success () {
193 return 0
195 as_func_ret_failure () {
196 return 1
199 exitcode=0
200 if as_func_success; then
202 else
203 exitcode=1
204 echo as_func_success failed.
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 else
227 exitcode=1
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
240 else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253 done
254 IFS=$as_save_IFS
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 _ASEOF
278 }; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292 esac
298 (as_func_return () {
299 (exit $1)
301 as_func_success () {
302 as_func_return 0
304 as_func_failure () {
305 as_func_return 1
307 as_func_ret_success () {
308 return 0
310 as_func_ret_failure () {
311 return 1
314 exitcode=0
315 if as_func_success; then
317 else
318 exitcode=1
319 echo as_func_success failed.
322 if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
329 else
330 exitcode=1
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 else
342 exitcode=1
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354 _ASEOF
355 }; then
356 break
361 done
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
388 (exit \$1)
390 as_func_success () {
391 as_func_return 0
393 as_func_failure () {
394 as_func_return 1
396 as_func_ret_success () {
397 return 0
399 as_func_ret_failure () {
400 return 1
403 exitcode=0
404 if as_func_success; then
406 else
407 exitcode=1
408 echo as_func_success failed.
411 if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
418 else
419 exitcode=1
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 else
431 exitcode=1
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
468 :lineno
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490 else
491 as_dirname=false
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
502 ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
532 else
533 as_ln_s='cp -p'
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540 else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
545 if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547 else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
578 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 # Initializations.
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='parthenope'
598 PACKAGE_TARNAME='parthenope'
599 PACKAGE_VERSION='svn91'
600 PACKAGE_STRING='parthenope svn91'
601 PACKAGE_BUGREPORT='cjg'
603 ac_unique_file="src/parthenope.c"
604 ac_subst_vars='LTLIBOBJS
605 LIBOBJS
606 USE_OPENFIRMWARE_FALSE
607 USE_OPENFIRMWARE_TRUE
608 USE_UBOOT_FALSE
609 USE_UBOOT_TRUE
610 am__fastdepCC_FALSE
611 am__fastdepCC_TRUE
612 CCDEPMODE
613 AMDEPBACKSLASH
614 AMDEP_FALSE
615 AMDEP_TRUE
616 am__quote
617 am__include
618 DEPDIR
619 OBJEXT
620 EXEEXT
621 ac_ct_CC
622 CPPFLAGS
623 LDFLAGS
624 CFLAGS
626 am__untar
627 am__tar
628 AMTAR
629 am__leading_dot
630 SET_MAKE
632 mkdir_p
633 MKDIR_P
634 INSTALL_STRIP_PROGRAM
635 STRIP
636 install_sh
637 MAKEINFO
638 AUTOHEADER
639 AUTOMAKE
640 AUTOCONF
641 ACLOCAL
642 VERSION
643 PACKAGE
644 CYGPATH_W
645 am__isrc
646 INSTALL_DATA
647 INSTALL_SCRIPT
648 INSTALL_PROGRAM
649 target_alias
650 host_alias
651 build_alias
652 LIBS
653 ECHO_T
654 ECHO_N
655 ECHO_C
656 DEFS
657 mandir
658 localedir
659 libdir
660 psdir
661 pdfdir
662 dvidir
663 htmldir
664 infodir
665 docdir
666 oldincludedir
667 includedir
668 localstatedir
669 sharedstatedir
670 sysconfdir
671 datadir
672 datarootdir
673 libexecdir
674 sbindir
675 bindir
676 program_transform_name
677 prefix
678 exec_prefix
679 PACKAGE_BUGREPORT
680 PACKAGE_STRING
681 PACKAGE_VERSION
682 PACKAGE_TARNAME
683 PACKAGE_NAME
684 PATH_SEPARATOR
685 SHELL'
686 ac_subst_files=''
687 ac_user_opts='
688 enable_option_checking
689 enable_dependency_tracking
690 enable_platform
692 ac_precious_vars='build_alias
693 host_alias
694 target_alias
696 CFLAGS
697 LDFLAGS
698 LIBS
699 CPPFLAGS'
702 # Initialize some variables set by options.
703 ac_init_help=
704 ac_init_version=false
705 ac_unrecognized_opts=
706 ac_unrecognized_sep=
707 # The variables have the same names as the options, with
708 # dashes changed to underlines.
709 cache_file=/dev/null
710 exec_prefix=NONE
711 no_create=
712 no_recursion=
713 prefix=NONE
714 program_prefix=NONE
715 program_suffix=NONE
716 program_transform_name=s,x,x,
717 silent=
718 site=
719 srcdir=
720 verbose=
721 x_includes=NONE
722 x_libraries=NONE
724 # Installation directory options.
725 # These are left unexpanded so users can "make install exec_prefix=/foo"
726 # and all the variables that are supposed to be based on exec_prefix
727 # by default will actually change.
728 # Use braces instead of parens because sh, perl, etc. also accept them.
729 # (The list follows the same order as the GNU Coding Standards.)
730 bindir='${exec_prefix}/bin'
731 sbindir='${exec_prefix}/sbin'
732 libexecdir='${exec_prefix}/libexec'
733 datarootdir='${prefix}/share'
734 datadir='${datarootdir}'
735 sysconfdir='${prefix}/etc'
736 sharedstatedir='${prefix}/com'
737 localstatedir='${prefix}/var'
738 includedir='${prefix}/include'
739 oldincludedir='/usr/include'
740 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
741 infodir='${datarootdir}/info'
742 htmldir='${docdir}'
743 dvidir='${docdir}'
744 pdfdir='${docdir}'
745 psdir='${docdir}'
746 libdir='${exec_prefix}/lib'
747 localedir='${datarootdir}/locale'
748 mandir='${datarootdir}/man'
750 ac_prev=
751 ac_dashdash=
752 for ac_option
754 # If the previous option needs an argument, assign it.
755 if test -n "$ac_prev"; then
756 eval $ac_prev=\$ac_option
757 ac_prev=
758 continue
761 case $ac_option in
762 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
763 *) ac_optarg=yes ;;
764 esac
766 # Accept the important Cygnus configure options, so we can diagnose typos.
768 case $ac_dashdash$ac_option in
770 ac_dashdash=yes ;;
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
773 ac_prev=bindir ;;
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775 bindir=$ac_optarg ;;
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
789 --config-cache | -C)
790 cache_file=config.cache ;;
792 -datadir | --datadir | --datadi | --datad)
793 ac_prev=datadir ;;
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
809 { (exit 1); exit 1; }; }
810 ac_useropt_orig=$ac_useropt
811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
814 "enable_$ac_useropt"
815 "*) ;;
816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817 ac_unrecognized_sep=', ';;
818 esac
819 eval enable_$ac_useropt=no ;;
821 -docdir | --docdir | --docdi | --doc | --do)
822 ac_prev=docdir ;;
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 docdir=$ac_optarg ;;
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 ac_prev=dvidir ;;
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 dvidir=$ac_optarg ;;
831 -enable-* | --enable-*)
832 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
836 { (exit 1); exit 1; }; }
837 ac_useropt_orig=$ac_useropt
838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
841 "enable_$ac_useropt"
842 "*) ;;
843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844 ac_unrecognized_sep=', ';;
845 esac
846 eval enable_$ac_useropt=\$ac_optarg ;;
848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850 | --exec | --exe | --ex)
851 ac_prev=exec_prefix ;;
852 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854 | --exec=* | --exe=* | --ex=*)
855 exec_prefix=$ac_optarg ;;
857 -gas | --gas | --ga | --g)
858 # Obsolete; use --with-gas.
859 with_gas=yes ;;
861 -help | --help | --hel | --he | -h)
862 ac_init_help=long ;;
863 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864 ac_init_help=recursive ;;
865 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866 ac_init_help=short ;;
868 -host | --host | --hos | --ho)
869 ac_prev=host_alias ;;
870 -host=* | --host=* | --hos=* | --ho=*)
871 host_alias=$ac_optarg ;;
873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874 ac_prev=htmldir ;;
875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876 | --ht=*)
877 htmldir=$ac_optarg ;;
879 -includedir | --includedir | --includedi | --included | --include \
880 | --includ | --inclu | --incl | --inc)
881 ac_prev=includedir ;;
882 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883 | --includ=* | --inclu=* | --incl=* | --inc=*)
884 includedir=$ac_optarg ;;
886 -infodir | --infodir | --infodi | --infod | --info | --inf)
887 ac_prev=infodir ;;
888 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889 infodir=$ac_optarg ;;
891 -libdir | --libdir | --libdi | --libd)
892 ac_prev=libdir ;;
893 -libdir=* | --libdir=* | --libdi=* | --libd=*)
894 libdir=$ac_optarg ;;
896 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897 | --libexe | --libex | --libe)
898 ac_prev=libexecdir ;;
899 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900 | --libexe=* | --libex=* | --libe=*)
901 libexecdir=$ac_optarg ;;
903 -localedir | --localedir | --localedi | --localed | --locale)
904 ac_prev=localedir ;;
905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906 localedir=$ac_optarg ;;
908 -localstatedir | --localstatedir | --localstatedi | --localstated \
909 | --localstate | --localstat | --localsta | --localst | --locals)
910 ac_prev=localstatedir ;;
911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913 localstatedir=$ac_optarg ;;
915 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916 ac_prev=mandir ;;
917 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918 mandir=$ac_optarg ;;
920 -nfp | --nfp | --nf)
921 # Obsolete; use --without-fp.
922 with_fp=no ;;
924 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925 | --no-cr | --no-c | -n)
926 no_create=yes ;;
928 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 no_recursion=yes ;;
932 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934 | --oldin | --oldi | --old | --ol | --o)
935 ac_prev=oldincludedir ;;
936 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939 oldincludedir=$ac_optarg ;;
941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942 ac_prev=prefix ;;
943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944 prefix=$ac_optarg ;;
946 -program-prefix | --program-prefix | --program-prefi | --program-pref \
947 | --program-pre | --program-pr | --program-p)
948 ac_prev=program_prefix ;;
949 -program-prefix=* | --program-prefix=* | --program-prefi=* \
950 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951 program_prefix=$ac_optarg ;;
953 -program-suffix | --program-suffix | --program-suffi | --program-suff \
954 | --program-suf | --program-su | --program-s)
955 ac_prev=program_suffix ;;
956 -program-suffix=* | --program-suffix=* | --program-suffi=* \
957 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958 program_suffix=$ac_optarg ;;
960 -program-transform-name | --program-transform-name \
961 | --program-transform-nam | --program-transform-na \
962 | --program-transform-n | --program-transform- \
963 | --program-transform | --program-transfor \
964 | --program-transfo | --program-transf \
965 | --program-trans | --program-tran \
966 | --progr-tra | --program-tr | --program-t)
967 ac_prev=program_transform_name ;;
968 -program-transform-name=* | --program-transform-name=* \
969 | --program-transform-nam=* | --program-transform-na=* \
970 | --program-transform-n=* | --program-transform-=* \
971 | --program-transform=* | --program-transfor=* \
972 | --program-transfo=* | --program-transf=* \
973 | --program-trans=* | --program-tran=* \
974 | --progr-tra=* | --program-tr=* | --program-t=*)
975 program_transform_name=$ac_optarg ;;
977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978 ac_prev=pdfdir ;;
979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980 pdfdir=$ac_optarg ;;
982 -psdir | --psdir | --psdi | --psd | --ps)
983 ac_prev=psdir ;;
984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985 psdir=$ac_optarg ;;
987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988 | -silent | --silent | --silen | --sile | --sil)
989 silent=yes ;;
991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992 ac_prev=sbindir ;;
993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994 | --sbi=* | --sb=*)
995 sbindir=$ac_optarg ;;
997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999 | --sharedst | --shareds | --shared | --share | --shar \
1000 | --sha | --sh)
1001 ac_prev=sharedstatedir ;;
1002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005 | --sha=* | --sh=*)
1006 sharedstatedir=$ac_optarg ;;
1008 -site | --site | --sit)
1009 ac_prev=site ;;
1010 -site=* | --site=* | --sit=*)
1011 site=$ac_optarg ;;
1013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014 ac_prev=srcdir ;;
1015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016 srcdir=$ac_optarg ;;
1018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019 | --syscon | --sysco | --sysc | --sys | --sy)
1020 ac_prev=sysconfdir ;;
1021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023 sysconfdir=$ac_optarg ;;
1025 -target | --target | --targe | --targ | --tar | --ta | --t)
1026 ac_prev=target_alias ;;
1027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028 target_alias=$ac_optarg ;;
1030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031 verbose=yes ;;
1033 -version | --version | --versio | --versi | --vers | -V)
1034 ac_init_version=: ;;
1036 -with-* | --with-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "with_$ac_useropt"
1047 "*) ;;
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1050 esac
1051 eval with_$ac_useropt=\$ac_optarg ;;
1053 -without-* | --without-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=no ;;
1070 --x)
1071 # Obsolete; use --with-x.
1072 with_x=yes ;;
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1088 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1089 Try \`$0 --help' for more information." >&2
1090 { (exit 1); exit 1; }; }
1093 *=*)
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1097 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1098 { (exit 1); exit 1; }; }
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1110 esac
1111 done
1113 if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1116 { (exit 1); exit 1; }; }
1119 if test -n "$ac_unrecognized_opts"; then
1120 case $enable_option_checking in
1121 no) ;;
1122 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1123 { (exit 1); exit 1; }; } ;;
1124 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125 esac
1128 # Check all directory arguments for consistency.
1129 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir
1134 eval ac_val=\$$ac_var
1135 # Remove trailing slashes.
1136 case $ac_val in
1137 */ )
1138 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139 eval $ac_var=\$ac_val;;
1140 esac
1141 # Be sure to have absolute directory names.
1142 case $ac_val in
1143 [\\/$]* | ?:[\\/]* ) continue;;
1144 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145 esac
1146 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1147 { (exit 1); exit 1; }; }
1148 done
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1153 build=$build_alias
1154 host=$host_alias
1155 target=$target_alias
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x; then
1159 if test "x$build_alias" = x; then
1160 cross_compiling=maybe
1161 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1162 If a cross compiler is detected then cross compile mode will be used." >&2
1163 elif test "x$build_alias" != "x$host_alias"; then
1164 cross_compiling=yes
1168 ac_tool_prefix=
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171 test "$silent" = yes && exec 6>/dev/null
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1178 { (exit 1); exit 1; }; }
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1181 { (exit 1); exit 1; }; }
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$as_myself" : 'X\(//\)[^/]' \| \
1191 X"$as_myself" : 'X\(//\)$' \| \
1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 s//\1/
1198 /^X\(\/\/\)[^/].*/{
1199 s//\1/
1202 /^X\(\/\/\)$/{
1203 s//\1/
1206 /^X\(\/\).*/{
1207 s//\1/
1210 s/.*/./; q'`
1211 srcdir=$ac_confdir
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 srcdir=..
1215 else
1216 ac_srcdir_defaulted=no
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1221 { (exit 1); exit 1; }; }
1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 ac_abs_confdir=`(
1225 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1226 { (exit 1); exit 1; }; }
1227 pwd)`
1228 # When building in place, set srcdir=.
1229 if test "$ac_abs_confdir" = "$ac_pwd"; then
1230 srcdir=.
1232 # Remove unnecessary trailing slashes from srcdir.
1233 # Double slashes in file names in object file debugging info
1234 # mess up M-x gdb in Emacs.
1235 case $srcdir in
1236 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1237 esac
1238 for ac_var in $ac_precious_vars; do
1239 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_env_${ac_var}_value=\$${ac_var}
1241 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1242 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1243 done
1246 # Report the --help message.
1248 if test "$ac_init_help" = "long"; then
1249 # Omit some internal or obsolete options to make the list less imposing.
1250 # This message is too long to be a string in the A/UX 3.1 sh.
1251 cat <<_ACEOF
1252 \`configure' configures parthenope svn91 to adapt to many kinds of systems.
1254 Usage: $0 [OPTION]... [VAR=VALUE]...
1256 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1257 VAR=VALUE. See below for descriptions of some of the useful variables.
1259 Defaults for the options are specified in brackets.
1261 Configuration:
1262 -h, --help display this help and exit
1263 --help=short display options specific to this package
1264 --help=recursive display the short help of all the included packages
1265 -V, --version display version information and exit
1266 -q, --quiet, --silent do not print \`checking...' messages
1267 --cache-file=FILE cache test results in FILE [disabled]
1268 -C, --config-cache alias for \`--cache-file=config.cache'
1269 -n, --no-create do not create output files
1270 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1272 Installation directories:
1273 --prefix=PREFIX install architecture-independent files in PREFIX
1274 [$ac_default_prefix]
1275 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1276 [PREFIX]
1278 By default, \`make install' will install all the files in
1279 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1280 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1281 for instance \`--prefix=\$HOME'.
1283 For better control, use the options below.
1285 Fine tuning of the installation directories:
1286 --bindir=DIR user executables [EPREFIX/bin]
1287 --sbindir=DIR system admin executables [EPREFIX/sbin]
1288 --libexecdir=DIR program executables [EPREFIX/libexec]
1289 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1290 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1291 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1292 --libdir=DIR object code libraries [EPREFIX/lib]
1293 --includedir=DIR C header files [PREFIX/include]
1294 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1295 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1296 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1297 --infodir=DIR info documentation [DATAROOTDIR/info]
1298 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1299 --mandir=DIR man documentation [DATAROOTDIR/man]
1300 --docdir=DIR documentation root [DATAROOTDIR/doc/parthenope]
1301 --htmldir=DIR html documentation [DOCDIR]
1302 --dvidir=DIR dvi documentation [DOCDIR]
1303 --pdfdir=DIR pdf documentation [DOCDIR]
1304 --psdir=DIR ps documentation [DOCDIR]
1305 _ACEOF
1307 cat <<\_ACEOF
1309 Program names:
1310 --program-prefix=PREFIX prepend PREFIX to installed program names
1311 --program-suffix=SUFFIX append SUFFIX to installed program names
1312 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1313 _ACEOF
1316 if test -n "$ac_init_help"; then
1317 case $ac_init_help in
1318 short | recursive ) echo "Configuration of parthenope svn91:";;
1319 esac
1320 cat <<\_ACEOF
1322 Optional Features:
1323 --disable-option-checking ignore unrecognized --enable/--with options
1324 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1325 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1326 --disable-dependency-tracking speeds up one-time build
1327 --enable-dependency-tracking do not reject slow dependency extractors
1328 --enable-platform=platform
1329 Select for which should be built: uboot (default) or
1330 openfirmware
1332 Some influential environment variables:
1333 CC C compiler command
1334 CFLAGS C compiler flags
1335 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1336 nonstandard directory <lib dir>
1337 LIBS libraries to pass to the linker, e.g. -l<library>
1338 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1339 you have headers in a nonstandard directory <include dir>
1341 Use these variables to override the choices made by `configure' or to help
1342 it to find libraries and programs with nonstandard names/locations.
1344 Report bugs to <cjg>.
1345 _ACEOF
1346 ac_status=$?
1349 if test "$ac_init_help" = "recursive"; then
1350 # If there are subdirs, report their specific --help.
1351 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1352 test -d "$ac_dir" ||
1353 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1354 continue
1355 ac_builddir=.
1357 case "$ac_dir" in
1358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1361 # A ".." for each directory in $ac_dir_suffix.
1362 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1363 case $ac_top_builddir_sub in
1364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1366 esac ;;
1367 esac
1368 ac_abs_top_builddir=$ac_pwd
1369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1370 # for backward compatibility:
1371 ac_top_builddir=$ac_top_build_prefix
1373 case $srcdir in
1374 .) # We are building in place.
1375 ac_srcdir=.
1376 ac_top_srcdir=$ac_top_builddir_sub
1377 ac_abs_top_srcdir=$ac_pwd ;;
1378 [\\/]* | ?:[\\/]* ) # Absolute name.
1379 ac_srcdir=$srcdir$ac_dir_suffix;
1380 ac_top_srcdir=$srcdir
1381 ac_abs_top_srcdir=$srcdir ;;
1382 *) # Relative name.
1383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1384 ac_top_srcdir=$ac_top_build_prefix$srcdir
1385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 esac
1387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1389 cd "$ac_dir" || { ac_status=$?; continue; }
1390 # Check for guested configure.
1391 if test -f "$ac_srcdir/configure.gnu"; then
1392 echo &&
1393 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394 elif test -f "$ac_srcdir/configure"; then
1395 echo &&
1396 $SHELL "$ac_srcdir/configure" --help=recursive
1397 else
1398 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 fi || ac_status=$?
1400 cd "$ac_pwd" || { ac_status=$?; break; }
1401 done
1404 test -n "$ac_init_help" && exit $ac_status
1405 if $ac_init_version; then
1406 cat <<\_ACEOF
1407 parthenope configure svn91
1408 generated by GNU Autoconf 2.63
1410 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1411 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1412 This configure script is free software; the Free Software Foundation
1413 gives unlimited permission to copy, distribute and modify it.
1414 _ACEOF
1415 exit
1417 cat >config.log <<_ACEOF
1418 This file contains any messages produced by compilers while
1419 running configure, to aid debugging if configure makes a mistake.
1421 It was created by parthenope $as_me svn91, which was
1422 generated by GNU Autoconf 2.63. Invocation command line was
1424 $ $0 $@
1426 _ACEOF
1427 exec 5>>config.log
1429 cat <<_ASUNAME
1430 ## --------- ##
1431 ## Platform. ##
1432 ## --------- ##
1434 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1435 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1436 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1437 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1438 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1440 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1441 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1443 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1444 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1445 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1446 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1447 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1448 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1449 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1451 _ASUNAME
1453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 for as_dir in $PATH
1456 IFS=$as_save_IFS
1457 test -z "$as_dir" && as_dir=.
1458 $as_echo "PATH: $as_dir"
1459 done
1460 IFS=$as_save_IFS
1462 } >&5
1464 cat >&5 <<_ACEOF
1467 ## ----------- ##
1468 ## Core tests. ##
1469 ## ----------- ##
1471 _ACEOF
1474 # Keep a trace of the command line.
1475 # Strip out --no-create and --no-recursion so they do not pile up.
1476 # Strip out --silent because we don't want to record it for future runs.
1477 # Also quote any args containing shell meta-characters.
1478 # Make two passes to allow for proper duplicate-argument suppression.
1479 ac_configure_args=
1480 ac_configure_args0=
1481 ac_configure_args1=
1482 ac_must_keep_next=false
1483 for ac_pass in 1 2
1485 for ac_arg
1487 case $ac_arg in
1488 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1490 | -silent | --silent | --silen | --sile | --sil)
1491 continue ;;
1492 *\'*)
1493 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1494 esac
1495 case $ac_pass in
1496 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1498 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1499 if test $ac_must_keep_next = true; then
1500 ac_must_keep_next=false # Got value, back to normal.
1501 else
1502 case $ac_arg in
1503 *=* | --config-cache | -C | -disable-* | --disable-* \
1504 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1505 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1506 | -with-* | --with-* | -without-* | --without-* | --x)
1507 case "$ac_configure_args0 " in
1508 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1509 esac
1511 -* ) ac_must_keep_next=true ;;
1512 esac
1514 ac_configure_args="$ac_configure_args '$ac_arg'"
1516 esac
1517 done
1518 done
1519 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1520 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1522 # When interrupted or exit'd, cleanup temporary files, and complete
1523 # config.log. We remove comments because anyway the quotes in there
1524 # would cause problems or look ugly.
1525 # WARNING: Use '\'' to represent an apostrophe within the trap.
1526 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1527 trap 'exit_status=$?
1528 # Save into config.log some information that might help in debugging.
1530 echo
1532 cat <<\_ASBOX
1533 ## ---------------- ##
1534 ## Cache variables. ##
1535 ## ---------------- ##
1536 _ASBOX
1537 echo
1538 # The following way of writing the cache mishandles newlines in values,
1540 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1541 eval ac_val=\$$ac_var
1542 case $ac_val in #(
1543 *${as_nl}*)
1544 case $ac_var in #(
1545 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1546 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1547 esac
1548 case $ac_var in #(
1549 _ | IFS | as_nl) ;; #(
1550 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1551 *) $as_unset $ac_var ;;
1552 esac ;;
1553 esac
1554 done
1555 (set) 2>&1 |
1556 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1557 *${as_nl}ac_space=\ *)
1558 sed -n \
1559 "s/'\''/'\''\\\\'\'''\''/g;
1560 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1561 ;; #(
1563 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1565 esac |
1566 sort
1568 echo
1570 cat <<\_ASBOX
1571 ## ----------------- ##
1572 ## Output variables. ##
1573 ## ----------------- ##
1574 _ASBOX
1575 echo
1576 for ac_var in $ac_subst_vars
1578 eval ac_val=\$$ac_var
1579 case $ac_val in
1580 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581 esac
1582 $as_echo "$ac_var='\''$ac_val'\''"
1583 done | sort
1584 echo
1586 if test -n "$ac_subst_files"; then
1587 cat <<\_ASBOX
1588 ## ------------------- ##
1589 ## File substitutions. ##
1590 ## ------------------- ##
1591 _ASBOX
1592 echo
1593 for ac_var in $ac_subst_files
1595 eval ac_val=\$$ac_var
1596 case $ac_val in
1597 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1598 esac
1599 $as_echo "$ac_var='\''$ac_val'\''"
1600 done | sort
1601 echo
1604 if test -s confdefs.h; then
1605 cat <<\_ASBOX
1606 ## ----------- ##
1607 ## confdefs.h. ##
1608 ## ----------- ##
1609 _ASBOX
1610 echo
1611 cat confdefs.h
1612 echo
1614 test "$ac_signal" != 0 &&
1615 $as_echo "$as_me: caught signal $ac_signal"
1616 $as_echo "$as_me: exit $exit_status"
1617 } >&5
1618 rm -f core *.core core.conftest.* &&
1619 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1620 exit $exit_status
1622 for ac_signal in 1 2 13 15; do
1623 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1624 done
1625 ac_signal=0
1627 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1628 rm -f -r conftest* confdefs.h
1630 # Predefined preprocessor variables.
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_NAME "$PACKAGE_NAME"
1634 _ACEOF
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1639 _ACEOF
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1644 _ACEOF
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_STRING "$PACKAGE_STRING"
1649 _ACEOF
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1654 _ACEOF
1657 # Let the site file select an alternate cache file if it wants to.
1658 # Prefer an explicitly selected file to automatically selected ones.
1659 ac_site_file1=NONE
1660 ac_site_file2=NONE
1661 if test -n "$CONFIG_SITE"; then
1662 ac_site_file1=$CONFIG_SITE
1663 elif test "x$prefix" != xNONE; then
1664 ac_site_file1=$prefix/share/config.site
1665 ac_site_file2=$prefix/etc/config.site
1666 else
1667 ac_site_file1=$ac_default_prefix/share/config.site
1668 ac_site_file2=$ac_default_prefix/etc/config.site
1670 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1672 test "x$ac_site_file" = xNONE && continue
1673 if test -r "$ac_site_file"; then
1674 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1675 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1676 sed 's/^/| /' "$ac_site_file" >&5
1677 . "$ac_site_file"
1679 done
1681 if test -r "$cache_file"; then
1682 # Some versions of bash will fail to source /dev/null (special
1683 # files actually), so we avoid doing that.
1684 if test -f "$cache_file"; then
1685 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1686 $as_echo "$as_me: loading cache $cache_file" >&6;}
1687 case $cache_file in
1688 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1689 *) . "./$cache_file";;
1690 esac
1692 else
1693 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1694 $as_echo "$as_me: creating cache $cache_file" >&6;}
1695 >$cache_file
1698 # Check that the precious variables saved in the cache have kept the same
1699 # value.
1700 ac_cache_corrupted=false
1701 for ac_var in $ac_precious_vars; do
1702 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1703 eval ac_new_set=\$ac_env_${ac_var}_set
1704 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1705 eval ac_new_val=\$ac_env_${ac_var}_value
1706 case $ac_old_set,$ac_new_set in
1707 set,)
1708 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1709 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1710 ac_cache_corrupted=: ;;
1711 ,set)
1712 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1713 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1714 ac_cache_corrupted=: ;;
1715 ,);;
1717 if test "x$ac_old_val" != "x$ac_new_val"; then
1718 # differences in whitespace do not lead to failure.
1719 ac_old_val_w=`echo x $ac_old_val`
1720 ac_new_val_w=`echo x $ac_new_val`
1721 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1722 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1723 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1724 ac_cache_corrupted=:
1725 else
1726 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1727 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1728 eval $ac_var=\$ac_old_val
1730 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1731 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1732 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1733 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1734 fi;;
1735 esac
1736 # Pass precious variables to config.status.
1737 if test "$ac_new_set" = set; then
1738 case $ac_new_val in
1739 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1740 *) ac_arg=$ac_var=$ac_new_val ;;
1741 esac
1742 case " $ac_configure_args " in
1743 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1744 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1745 esac
1747 done
1748 if $ac_cache_corrupted; then
1749 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1751 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1752 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1753 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1754 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1755 { (exit 1); exit 1; }; }
1782 ac_ext=c
1783 ac_cpp='$CPP $CPPFLAGS'
1784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1790 ac_config_headers="$ac_config_headers config.h"
1792 am__api_version='1.10'
1794 ac_aux_dir=
1795 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1796 if test -f "$ac_dir/install-sh"; then
1797 ac_aux_dir=$ac_dir
1798 ac_install_sh="$ac_aux_dir/install-sh -c"
1799 break
1800 elif test -f "$ac_dir/install.sh"; then
1801 ac_aux_dir=$ac_dir
1802 ac_install_sh="$ac_aux_dir/install.sh -c"
1803 break
1804 elif test -f "$ac_dir/shtool"; then
1805 ac_aux_dir=$ac_dir
1806 ac_install_sh="$ac_aux_dir/shtool install -c"
1807 break
1809 done
1810 if test -z "$ac_aux_dir"; then
1811 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1812 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1813 { (exit 1); exit 1; }; }
1816 # These three variables are undocumented and unsupported,
1817 # and are intended to be withdrawn in a future Autoconf release.
1818 # They can cause serious problems if a builder's source tree is in a directory
1819 # whose full name contains unusual characters.
1820 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1821 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1822 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1825 # Find a good install program. We prefer a C program (faster),
1826 # so one script is as good as another. But avoid the broken or
1827 # incompatible versions:
1828 # SysV /etc/install, /usr/sbin/install
1829 # SunOS /usr/etc/install
1830 # IRIX /sbin/install
1831 # AIX /bin/install
1832 # AmigaOS /C/install, which installs bootblocks on floppy discs
1833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1836 # OS/2's system install, which has a completely different semantic
1837 # ./install, which can be erroneously created by make from ./install.sh.
1838 # Reject install programs that cannot install multiple files.
1839 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1840 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1841 if test -z "$INSTALL"; then
1842 if test "${ac_cv_path_install+set}" = set; then
1843 $as_echo_n "(cached) " >&6
1844 else
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 for as_dir in $PATH
1848 IFS=$as_save_IFS
1849 test -z "$as_dir" && as_dir=.
1850 # Account for people who put trailing slashes in PATH elements.
1851 case $as_dir/ in
1852 ./ | .// | /cC/* | \
1853 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1854 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1855 /usr/ucb/* ) ;;
1857 # OSF1 and SCO ODT 3.0 have their own names for install.
1858 # Don't use installbsd from OSF since it installs stuff as root
1859 # by default.
1860 for ac_prog in ginstall scoinst install; do
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1863 if test $ac_prog = install &&
1864 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1865 # AIX install. It has an incompatible calling convention.
1867 elif test $ac_prog = install &&
1868 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1869 # program-specific install script used by HP pwplus--don't use.
1871 else
1872 rm -rf conftest.one conftest.two conftest.dir
1873 echo one > conftest.one
1874 echo two > conftest.two
1875 mkdir conftest.dir
1876 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1877 test -s conftest.one && test -s conftest.two &&
1878 test -s conftest.dir/conftest.one &&
1879 test -s conftest.dir/conftest.two
1880 then
1881 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1882 break 3
1886 done
1887 done
1889 esac
1891 done
1892 IFS=$as_save_IFS
1894 rm -rf conftest.one conftest.two conftest.dir
1897 if test "${ac_cv_path_install+set}" = set; then
1898 INSTALL=$ac_cv_path_install
1899 else
1900 # As a last resort, use the slow shell script. Don't cache a
1901 # value for INSTALL within a source directory, because that will
1902 # break other packages using the cache if that directory is
1903 # removed, or if the value is a relative name.
1904 INSTALL=$ac_install_sh
1907 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1908 $as_echo "$INSTALL" >&6; }
1910 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1911 # It thinks the first close brace ends the variable substitution.
1912 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1914 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1916 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1918 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1919 $as_echo_n "checking whether build environment is sane... " >&6; }
1920 # Just in case
1921 sleep 1
1922 echo timestamp > conftest.file
1923 # Do `set' in a subshell so we don't clobber the current shell's
1924 # arguments. Must try -L first in case configure is actually a
1925 # symlink; some systems play weird games with the mod time of symlinks
1926 # (eg FreeBSD returns the mod time of the symlink's containing
1927 # directory).
1928 if (
1929 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1930 if test "$*" = "X"; then
1931 # -L didn't work.
1932 set X `ls -t $srcdir/configure conftest.file`
1934 rm -f conftest.file
1935 if test "$*" != "X $srcdir/configure conftest.file" \
1936 && test "$*" != "X conftest.file $srcdir/configure"; then
1938 # If neither matched, then we have a broken ls. This can happen
1939 # if, for instance, CONFIG_SHELL is bash and it inherits a
1940 # broken ls alias from the environment. This has actually
1941 # happened. Such a system could not be considered "sane".
1942 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1943 alias in your environment" >&5
1944 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1945 alias in your environment" >&2;}
1946 { (exit 1); exit 1; }; }
1949 test "$2" = conftest.file
1951 then
1952 # Ok.
1954 else
1955 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1956 Check your system clock" >&5
1957 $as_echo "$as_me: error: newly created file is older than distributed files!
1958 Check your system clock" >&2;}
1959 { (exit 1); exit 1; }; }
1961 { $as_echo "$as_me:$LINENO: result: yes" >&5
1962 $as_echo "yes" >&6; }
1963 test "$program_prefix" != NONE &&
1964 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1965 # Use a double $ so make ignores it.
1966 test "$program_suffix" != NONE &&
1967 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1968 # Double any \ or $.
1969 # By default was `s,x,x', remove it if useless.
1970 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1971 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1973 # expand $ac_aux_dir to an absolute path
1974 am_aux_dir=`cd $ac_aux_dir && pwd`
1976 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1977 # Use eval to expand $SHELL
1978 if eval "$MISSING --run true"; then
1979 am_missing_run="$MISSING --run "
1980 else
1981 am_missing_run=
1982 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1983 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1986 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1987 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1988 if test -z "$MKDIR_P"; then
1989 if test "${ac_cv_path_mkdir+set}" = set; then
1990 $as_echo_n "(cached) " >&6
1991 else
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1995 IFS=$as_save_IFS
1996 test -z "$as_dir" && as_dir=.
1997 for ac_prog in mkdir gmkdir; do
1998 for ac_exec_ext in '' $ac_executable_extensions; do
1999 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2000 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2001 'mkdir (GNU coreutils) '* | \
2002 'mkdir (coreutils) '* | \
2003 'mkdir (fileutils) '4.1*)
2004 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2005 break 3;;
2006 esac
2007 done
2008 done
2009 done
2010 IFS=$as_save_IFS
2014 if test "${ac_cv_path_mkdir+set}" = set; then
2015 MKDIR_P="$ac_cv_path_mkdir -p"
2016 else
2017 # As a last resort, use the slow shell script. Don't cache a
2018 # value for MKDIR_P within a source directory, because that will
2019 # break other packages using the cache if that directory is
2020 # removed, or if the value is a relative name.
2021 test -d ./--version && rmdir ./--version
2022 MKDIR_P="$ac_install_sh -d"
2025 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2026 $as_echo "$MKDIR_P" >&6; }
2028 mkdir_p="$MKDIR_P"
2029 case $mkdir_p in
2030 [\\/$]* | ?:[\\/]*) ;;
2031 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2032 esac
2034 for ac_prog in gawk mawk nawk awk
2036 # Extract the first word of "$ac_prog", so it can be a program name with args.
2037 set dummy $ac_prog; ac_word=$2
2038 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 $as_echo_n "checking for $ac_word... " >&6; }
2040 if test "${ac_cv_prog_AWK+set}" = set; then
2041 $as_echo_n "(cached) " >&6
2042 else
2043 if test -n "$AWK"; then
2044 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2045 else
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH
2049 IFS=$as_save_IFS
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2053 ac_cv_prog_AWK="$ac_prog"
2054 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 break 2
2057 done
2058 done
2059 IFS=$as_save_IFS
2063 AWK=$ac_cv_prog_AWK
2064 if test -n "$AWK"; then
2065 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2066 $as_echo "$AWK" >&6; }
2067 else
2068 { $as_echo "$as_me:$LINENO: result: no" >&5
2069 $as_echo "no" >&6; }
2073 test -n "$AWK" && break
2074 done
2076 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2077 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2078 set x ${MAKE-make}
2079 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2080 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2081 $as_echo_n "(cached) " >&6
2082 else
2083 cat >conftest.make <<\_ACEOF
2084 SHELL = /bin/sh
2085 all:
2086 @echo '@@@%%%=$(MAKE)=@@@%%%'
2087 _ACEOF
2088 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2089 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2090 *@@@%%%=?*=@@@%%%*)
2091 eval ac_cv_prog_make_${ac_make}_set=yes;;
2093 eval ac_cv_prog_make_${ac_make}_set=no;;
2094 esac
2095 rm -f conftest.make
2097 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2098 { $as_echo "$as_me:$LINENO: result: yes" >&5
2099 $as_echo "yes" >&6; }
2100 SET_MAKE=
2101 else
2102 { $as_echo "$as_me:$LINENO: result: no" >&5
2103 $as_echo "no" >&6; }
2104 SET_MAKE="MAKE=${MAKE-make}"
2107 rm -rf .tst 2>/dev/null
2108 mkdir .tst 2>/dev/null
2109 if test -d .tst; then
2110 am__leading_dot=.
2111 else
2112 am__leading_dot=_
2114 rmdir .tst 2>/dev/null
2116 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2117 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2118 # is not polluted with repeated "-I."
2119 am__isrc=' -I$(srcdir)'
2120 # test to see if srcdir already configured
2121 if test -f $srcdir/config.status; then
2122 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2123 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2124 { (exit 1); exit 1; }; }
2128 # test whether we have cygpath
2129 if test -z "$CYGPATH_W"; then
2130 if (cygpath --version) >/dev/null 2>/dev/null; then
2131 CYGPATH_W='cygpath -w'
2132 else
2133 CYGPATH_W=echo
2138 # Define the identity of the package.
2139 PACKAGE='parthenope'
2140 VERSION='svn91'
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE "$PACKAGE"
2145 _ACEOF
2148 cat >>confdefs.h <<_ACEOF
2149 #define VERSION "$VERSION"
2150 _ACEOF
2152 # Some tools Automake needs.
2154 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2157 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2160 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2163 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2166 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2168 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2170 # Installed binaries are usually stripped using `strip' when the user
2171 # run `make install-strip'. However `strip' might not be the right
2172 # tool to use in cross-compilation environments, therefore Automake
2173 # will honor the `STRIP' environment variable to overrule this program.
2174 if test "$cross_compiling" != no; then
2175 if test -n "$ac_tool_prefix"; then
2176 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2177 set dummy ${ac_tool_prefix}strip; ac_word=$2
2178 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 $as_echo_n "checking for $ac_word... " >&6; }
2180 if test "${ac_cv_prog_STRIP+set}" = set; then
2181 $as_echo_n "(cached) " >&6
2182 else
2183 if test -n "$STRIP"; then
2184 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2185 else
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 for as_dir in $PATH
2189 IFS=$as_save_IFS
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2194 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 break 2
2197 done
2198 done
2199 IFS=$as_save_IFS
2203 STRIP=$ac_cv_prog_STRIP
2204 if test -n "$STRIP"; then
2205 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2206 $as_echo "$STRIP" >&6; }
2207 else
2208 { $as_echo "$as_me:$LINENO: result: no" >&5
2209 $as_echo "no" >&6; }
2214 if test -z "$ac_cv_prog_STRIP"; then
2215 ac_ct_STRIP=$STRIP
2216 # Extract the first word of "strip", so it can be a program name with args.
2217 set dummy strip; ac_word=$2
2218 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 $as_echo_n "checking for $ac_word... " >&6; }
2220 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2221 $as_echo_n "(cached) " >&6
2222 else
2223 if test -n "$ac_ct_STRIP"; then
2224 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2225 else
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2229 IFS=$as_save_IFS
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_prog_ac_ct_STRIP="strip"
2234 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 break 2
2237 done
2238 done
2239 IFS=$as_save_IFS
2243 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2244 if test -n "$ac_ct_STRIP"; then
2245 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2246 $as_echo "$ac_ct_STRIP" >&6; }
2247 else
2248 { $as_echo "$as_me:$LINENO: result: no" >&5
2249 $as_echo "no" >&6; }
2252 if test "x$ac_ct_STRIP" = x; then
2253 STRIP=":"
2254 else
2255 case $cross_compiling:$ac_tool_warned in
2256 yes:)
2257 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2259 ac_tool_warned=yes ;;
2260 esac
2261 STRIP=$ac_ct_STRIP
2263 else
2264 STRIP="$ac_cv_prog_STRIP"
2268 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2270 # We need awk for the "check" target. The system "awk" is bad on
2271 # some platforms.
2272 # Always define AMTAR for backward compatibility.
2274 AMTAR=${AMTAR-"${am_missing_run}tar"}
2276 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2283 # Checks for programs.
2284 ac_ext=c
2285 ac_cpp='$CPP $CPPFLAGS'
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2292 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 $as_echo_n "(cached) " >&6
2296 else
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2299 else
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 for as_dir in $PATH
2303 IFS=$as_save_IFS
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2308 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 break 2
2311 done
2312 done
2313 IFS=$as_save_IFS
2317 CC=$ac_cv_prog_CC
2318 if test -n "$CC"; then
2319 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2320 $as_echo "$CC" >&6; }
2321 else
2322 { $as_echo "$as_me:$LINENO: result: no" >&5
2323 $as_echo "no" >&6; }
2328 if test -z "$ac_cv_prog_CC"; then
2329 ac_ct_CC=$CC
2330 # Extract the first word of "gcc", so it can be a program name with args.
2331 set dummy gcc; ac_word=$2
2332 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2335 $as_echo_n "(cached) " >&6
2336 else
2337 if test -n "$ac_ct_CC"; then
2338 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2339 else
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 for as_dir in $PATH
2343 IFS=$as_save_IFS
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_CC="gcc"
2348 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 break 2
2351 done
2352 done
2353 IFS=$as_save_IFS
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 $as_echo "$ac_ct_CC" >&6; }
2361 else
2362 { $as_echo "$as_me:$LINENO: result: no" >&5
2363 $as_echo "no" >&6; }
2366 if test "x$ac_ct_CC" = x; then
2367 CC=""
2368 else
2369 case $cross_compiling:$ac_tool_warned in
2370 yes:)
2371 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2373 ac_tool_warned=yes ;;
2374 esac
2375 CC=$ac_ct_CC
2377 else
2378 CC="$ac_cv_prog_CC"
2381 if test -z "$CC"; then
2382 if test -n "$ac_tool_prefix"; then
2383 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2384 set dummy ${ac_tool_prefix}cc; ac_word=$2
2385 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 $as_echo_n "checking for $ac_word... " >&6; }
2387 if test "${ac_cv_prog_CC+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2389 else
2390 if test -n "$CC"; then
2391 ac_cv_prog_CC="$CC" # Let the user override the test.
2392 else
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 for as_dir in $PATH
2396 IFS=$as_save_IFS
2397 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2400 ac_cv_prog_CC="${ac_tool_prefix}cc"
2401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 break 2
2404 done
2405 done
2406 IFS=$as_save_IFS
2410 CC=$ac_cv_prog_CC
2411 if test -n "$CC"; then
2412 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2413 $as_echo "$CC" >&6; }
2414 else
2415 { $as_echo "$as_me:$LINENO: result: no" >&5
2416 $as_echo "no" >&6; }
2422 if test -z "$CC"; then
2423 # Extract the first word of "cc", so it can be a program name with args.
2424 set dummy cc; ac_word=$2
2425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 $as_echo_n "(cached) " >&6
2429 else
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC="$CC" # Let the user override the test.
2432 else
2433 ac_prog_rejected=no
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2437 IFS=$as_save_IFS
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2442 ac_prog_rejected=yes
2443 continue
2445 ac_cv_prog_CC="cc"
2446 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 break 2
2449 done
2450 done
2451 IFS=$as_save_IFS
2453 if test $ac_prog_rejected = yes; then
2454 # We found a bogon in the path, so make sure we never use it.
2455 set dummy $ac_cv_prog_CC
2456 shift
2457 if test $# != 0; then
2458 # We chose a different compiler from the bogus one.
2459 # However, it has the same basename, so the bogon will be chosen
2460 # first if we set CC to just the basename; use the full file name.
2461 shift
2462 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2467 CC=$ac_cv_prog_CC
2468 if test -n "$CC"; then
2469 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2470 $as_echo "$CC" >&6; }
2471 else
2472 { $as_echo "$as_me:$LINENO: result: no" >&5
2473 $as_echo "no" >&6; }
2478 if test -z "$CC"; then
2479 if test -n "$ac_tool_prefix"; then
2480 for ac_prog in cl.exe
2482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2483 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2484 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 $as_echo_n "(cached) " >&6
2488 else
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2491 else
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2500 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 break 2
2503 done
2504 done
2505 IFS=$as_save_IFS
2509 CC=$ac_cv_prog_CC
2510 if test -n "$CC"; then
2511 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2512 $as_echo "$CC" >&6; }
2513 else
2514 { $as_echo "$as_me:$LINENO: result: no" >&5
2515 $as_echo "no" >&6; }
2519 test -n "$CC" && break
2520 done
2522 if test -z "$CC"; then
2523 ac_ct_CC=$CC
2524 for ac_prog in cl.exe
2526 # Extract the first word of "$ac_prog", so it can be a program name with args.
2527 set dummy $ac_prog; ac_word=$2
2528 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2531 $as_echo_n "(cached) " >&6
2532 else
2533 if test -n "$ac_ct_CC"; then
2534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2543 ac_cv_prog_ac_ct_CC="$ac_prog"
2544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 break 2
2547 done
2548 done
2549 IFS=$as_save_IFS
2553 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2554 if test -n "$ac_ct_CC"; then
2555 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2556 $as_echo "$ac_ct_CC" >&6; }
2557 else
2558 { $as_echo "$as_me:$LINENO: result: no" >&5
2559 $as_echo "no" >&6; }
2563 test -n "$ac_ct_CC" && break
2564 done
2566 if test "x$ac_ct_CC" = x; then
2567 CC=""
2568 else
2569 case $cross_compiling:$ac_tool_warned in
2570 yes:)
2571 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2573 ac_tool_warned=yes ;;
2574 esac
2575 CC=$ac_ct_CC
2582 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2584 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2585 See \`config.log' for more details." >&5
2586 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2587 See \`config.log' for more details." >&2;}
2588 { (exit 1); exit 1; }; }; }
2590 # Provide some information about the compiler.
2591 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2592 set X $ac_compile
2593 ac_compiler=$2
2594 { (ac_try="$ac_compiler --version >&5"
2595 case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598 esac
2599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2600 $as_echo "$ac_try_echo") >&5
2601 (eval "$ac_compiler --version >&5") 2>&5
2602 ac_status=$?
2603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }
2605 { (ac_try="$ac_compiler -v >&5"
2606 case "(($ac_try" in
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2609 esac
2610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2611 $as_echo "$ac_try_echo") >&5
2612 (eval "$ac_compiler -v >&5") 2>&5
2613 ac_status=$?
2614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }
2616 { (ac_try="$ac_compiler -V >&5"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2622 $as_echo "$ac_try_echo") >&5
2623 (eval "$ac_compiler -V >&5") 2>&5
2624 ac_status=$?
2625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }
2628 cat >conftest.$ac_ext <<_ACEOF
2629 /* confdefs.h. */
2630 _ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2636 main ()
2640 return 0;
2642 _ACEOF
2643 ac_clean_files_save=$ac_clean_files
2644 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2645 # Try to create an executable without -o first, disregard a.out.
2646 # It will help us diagnose broken compilers, and finding out an intuition
2647 # of exeext.
2648 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2649 $as_echo_n "checking for C compiler default output file name... " >&6; }
2650 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2652 # The possible output files:
2653 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2655 ac_rmfiles=
2656 for ac_file in $ac_files
2658 case $ac_file in
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2660 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2661 esac
2662 done
2663 rm -f $ac_rmfiles
2665 if { (ac_try="$ac_link_default"
2666 case "(($ac_try" in
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2669 esac
2670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2671 $as_echo "$ac_try_echo") >&5
2672 (eval "$ac_link_default") 2>&5
2673 ac_status=$?
2674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; then
2676 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2677 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2678 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2679 # so that the user can short-circuit this test for compilers unknown to
2680 # Autoconf.
2681 for ac_file in $ac_files ''
2683 test -f "$ac_file" || continue
2684 case $ac_file in
2685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2687 [ab].out )
2688 # We found the default executable, but exeext='' is most
2689 # certainly right.
2690 break;;
2691 *.* )
2692 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2693 then :; else
2694 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2696 # We set ac_cv_exeext here because the later test for it is not
2697 # safe: cross compilers may not add the suffix if given an `-o'
2698 # argument, so we may need to know it at that point already.
2699 # Even if this section looks crufty: it has the advantage of
2700 # actually working.
2701 break;;
2703 break;;
2704 esac
2705 done
2706 test "$ac_cv_exeext" = no && ac_cv_exeext=
2708 else
2709 ac_file=''
2712 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2713 $as_echo "$ac_file" >&6; }
2714 if test -z "$ac_file"; then
2715 $as_echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2718 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2720 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2721 See \`config.log' for more details." >&5
2722 $as_echo "$as_me: error: C compiler cannot create executables
2723 See \`config.log' for more details." >&2;}
2724 { (exit 77); exit 77; }; }; }
2727 ac_exeext=$ac_cv_exeext
2729 # Check that the compiler produces executables we can run. If not, either
2730 # the compiler is broken, or we cross compile.
2731 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2732 $as_echo_n "checking whether the C compiler works... " >&6; }
2733 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2734 # If not cross compiling, check that we can run a simple program.
2735 if test "$cross_compiling" != yes; then
2736 if { ac_try='./$ac_file'
2737 { (case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2742 $as_echo "$ac_try_echo") >&5
2743 (eval "$ac_try") 2>&5
2744 ac_status=$?
2745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2747 cross_compiling=no
2748 else
2749 if test "$cross_compiling" = maybe; then
2750 cross_compiling=yes
2751 else
2752 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2755 If you meant to cross compile, use \`--host'.
2756 See \`config.log' for more details." >&5
2757 $as_echo "$as_me: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details." >&2;}
2760 { (exit 1); exit 1; }; }; }
2764 { $as_echo "$as_me:$LINENO: result: yes" >&5
2765 $as_echo "yes" >&6; }
2767 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2768 ac_clean_files=$ac_clean_files_save
2769 # Check that the compiler produces executables we can run. If not, either
2770 # the compiler is broken, or we cross compile.
2771 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2772 $as_echo_n "checking whether we are cross compiling... " >&6; }
2773 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2774 $as_echo "$cross_compiling" >&6; }
2776 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2777 $as_echo_n "checking for suffix of executables... " >&6; }
2778 if { (ac_try="$ac_link"
2779 case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2784 $as_echo "$ac_try_echo") >&5
2785 (eval "$ac_link") 2>&5
2786 ac_status=$?
2787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2790 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2791 # work properly (i.e., refer to `conftest.exe'), while it won't with
2792 # `rm'.
2793 for ac_file in conftest.exe conftest conftest.*; do
2794 test -f "$ac_file" || continue
2795 case $ac_file in
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2797 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2798 break;;
2799 * ) break;;
2800 esac
2801 done
2802 else
2803 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2805 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&5
2807 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }; }
2812 rm -f conftest$ac_cv_exeext
2813 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2814 $as_echo "$ac_cv_exeext" >&6; }
2816 rm -f conftest.$ac_ext
2817 EXEEXT=$ac_cv_exeext
2818 ac_exeext=$EXEEXT
2819 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2820 $as_echo_n "checking for suffix of object files... " >&6; }
2821 if test "${ac_cv_objext+set}" = set; then
2822 $as_echo_n "(cached) " >&6
2823 else
2824 cat >conftest.$ac_ext <<_ACEOF
2825 /* confdefs.h. */
2826 _ACEOF
2827 cat confdefs.h >>conftest.$ac_ext
2828 cat >>conftest.$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2832 main ()
2836 return 0;
2838 _ACEOF
2839 rm -f conftest.o conftest.obj
2840 if { (ac_try="$ac_compile"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_compile") 2>&5
2848 ac_status=$?
2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; then
2851 for ac_file in conftest.o conftest.obj conftest.*; do
2852 test -f "$ac_file" || continue;
2853 case $ac_file in
2854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2855 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2856 break;;
2857 esac
2858 done
2859 else
2860 $as_echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2865 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2866 See \`config.log' for more details." >&5
2867 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2868 See \`config.log' for more details." >&2;}
2869 { (exit 1); exit 1; }; }; }
2872 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2874 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2875 $as_echo "$ac_cv_objext" >&6; }
2876 OBJEXT=$ac_cv_objext
2877 ac_objext=$OBJEXT
2878 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2879 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2880 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2881 $as_echo_n "(cached) " >&6
2882 else
2883 cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h. */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2891 main ()
2893 #ifndef __GNUC__
2894 choke me
2895 #endif
2898 return 0;
2900 _ACEOF
2901 rm -f conftest.$ac_objext
2902 if { (ac_try="$ac_compile"
2903 case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906 esac
2907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908 $as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_c_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2919 ac_compiler_gnu=yes
2920 else
2921 $as_echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.$ac_ext >&5
2924 ac_compiler_gnu=no
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2931 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2932 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2933 if test $ac_compiler_gnu = yes; then
2934 GCC=yes
2935 else
2936 GCC=
2938 ac_test_CFLAGS=${CFLAGS+set}
2939 ac_save_CFLAGS=$CFLAGS
2940 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2941 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2942 if test "${ac_cv_prog_cc_g+set}" = set; then
2943 $as_echo_n "(cached) " >&6
2944 else
2945 ac_save_c_werror_flag=$ac_c_werror_flag
2946 ac_c_werror_flag=yes
2947 ac_cv_prog_cc_g=no
2948 CFLAGS="-g"
2949 cat >conftest.$ac_ext <<_ACEOF
2950 /* confdefs.h. */
2951 _ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2957 main ()
2961 return 0;
2963 _ACEOF
2964 rm -f conftest.$ac_objext
2965 if { (ac_try="$ac_compile"
2966 case "(($ac_try" in
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2969 esac
2970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971 $as_echo "$ac_try_echo") >&5
2972 (eval "$ac_compile") 2>conftest.er1
2973 ac_status=$?
2974 grep -v '^ *+' conftest.er1 >conftest.err
2975 rm -f conftest.er1
2976 cat conftest.err >&5
2977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } && {
2979 test -z "$ac_c_werror_flag" ||
2980 test ! -s conftest.err
2981 } && test -s conftest.$ac_objext; then
2982 ac_cv_prog_cc_g=yes
2983 else
2984 $as_echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2987 CFLAGS=""
2988 cat >conftest.$ac_ext <<_ACEOF
2989 /* confdefs.h. */
2990 _ACEOF
2991 cat confdefs.h >>conftest.$ac_ext
2992 cat >>conftest.$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
2996 main ()
3000 return 0;
3002 _ACEOF
3003 rm -f conftest.$ac_objext
3004 if { (ac_try="$ac_compile"
3005 case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3010 $as_echo "$ac_try_echo") >&5
3011 (eval "$ac_compile") 2>conftest.er1
3012 ac_status=$?
3013 grep -v '^ *+' conftest.er1 >conftest.err
3014 rm -f conftest.er1
3015 cat conftest.err >&5
3016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); } && {
3018 test -z "$ac_c_werror_flag" ||
3019 test ! -s conftest.err
3020 } && test -s conftest.$ac_objext; then
3022 else
3023 $as_echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.$ac_ext >&5
3026 ac_c_werror_flag=$ac_save_c_werror_flag
3027 CFLAGS="-g"
3028 cat >conftest.$ac_ext <<_ACEOF
3029 /* confdefs.h. */
3030 _ACEOF
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3036 main ()
3040 return 0;
3042 _ACEOF
3043 rm -f conftest.$ac_objext
3044 if { (ac_try="$ac_compile"
3045 case "(($ac_try" in
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3048 esac
3049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3050 $as_echo "$ac_try_echo") >&5
3051 (eval "$ac_compile") 2>conftest.er1
3052 ac_status=$?
3053 grep -v '^ *+' conftest.er1 >conftest.err
3054 rm -f conftest.er1
3055 cat conftest.err >&5
3056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } && {
3058 test -z "$ac_c_werror_flag" ||
3059 test ! -s conftest.err
3060 } && test -s conftest.$ac_objext; then
3061 ac_cv_prog_cc_g=yes
3062 else
3063 $as_echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3076 ac_c_werror_flag=$ac_save_c_werror_flag
3078 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3079 $as_echo "$ac_cv_prog_cc_g" >&6; }
3080 if test "$ac_test_CFLAGS" = set; then
3081 CFLAGS=$ac_save_CFLAGS
3082 elif test $ac_cv_prog_cc_g = yes; then
3083 if test "$GCC" = yes; then
3084 CFLAGS="-g -O2"
3085 else
3086 CFLAGS="-g"
3088 else
3089 if test "$GCC" = yes; then
3090 CFLAGS="-O2"
3091 else
3092 CFLAGS=
3095 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3096 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3097 if test "${ac_cv_prog_cc_c89+set}" = set; then
3098 $as_echo_n "(cached) " >&6
3099 else
3100 ac_cv_prog_cc_c89=no
3101 ac_save_CC=$CC
3102 cat >conftest.$ac_ext <<_ACEOF
3103 /* confdefs.h. */
3104 _ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3108 #include <stdarg.h>
3109 #include <stdio.h>
3110 #include <sys/types.h>
3111 #include <sys/stat.h>
3112 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3113 struct buf { int x; };
3114 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3115 static char *e (p, i)
3116 char **p;
3117 int i;
3119 return p[i];
3121 static char *f (char * (*g) (char **, int), char **p, ...)
3123 char *s;
3124 va_list v;
3125 va_start (v,p);
3126 s = g (p, va_arg (v,int));
3127 va_end (v);
3128 return s;
3131 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3132 function prototypes and stuff, but not '\xHH' hex character constants.
3133 These don't provoke an error unfortunately, instead are silently treated
3134 as 'x'. The following induces an error, until -std is added to get
3135 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3136 array size at least. It's necessary to write '\x00'==0 to get something
3137 that's true only with -std. */
3138 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3140 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3141 inside strings and character constants. */
3142 #define FOO(x) 'x'
3143 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3145 int test (int i, double x);
3146 struct s1 {int (*f) (int a);};
3147 struct s2 {int (*f) (double a);};
3148 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3149 int argc;
3150 char **argv;
3152 main ()
3154 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3156 return 0;
3158 _ACEOF
3159 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3160 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3162 CC="$ac_save_CC $ac_arg"
3163 rm -f conftest.$ac_objext
3164 if { (ac_try="$ac_compile"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3170 $as_echo "$ac_try_echo") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3172 ac_status=$?
3173 grep -v '^ *+' conftest.er1 >conftest.err
3174 rm -f conftest.er1
3175 cat conftest.err >&5
3176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3181 ac_cv_prog_cc_c89=$ac_arg
3182 else
3183 $as_echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f core conftest.err conftest.$ac_objext
3190 test "x$ac_cv_prog_cc_c89" != "xno" && break
3191 done
3192 rm -f conftest.$ac_ext
3193 CC=$ac_save_CC
3196 # AC_CACHE_VAL
3197 case "x$ac_cv_prog_cc_c89" in
3199 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3200 $as_echo "none needed" >&6; } ;;
3201 xno)
3202 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3203 $as_echo "unsupported" >&6; } ;;
3205 CC="$CC $ac_cv_prog_cc_c89"
3206 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3207 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3208 esac
3211 ac_ext=c
3212 ac_cpp='$CPP $CPPFLAGS'
3213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3216 DEPDIR="${am__leading_dot}deps"
3218 ac_config_commands="$ac_config_commands depfiles"
3221 am_make=${MAKE-make}
3222 cat > confinc << 'END'
3223 am__doit:
3224 @echo done
3225 .PHONY: am__doit
3227 # If we don't find an include directive, just comment out the code.
3228 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3229 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3230 am__include="#"
3231 am__quote=
3232 _am_result=none
3233 # First try GNU make style include.
3234 echo "include confinc" > confmf
3235 # We grep out `Entering directory' and `Leaving directory'
3236 # messages which can occur if `w' ends up in MAKEFLAGS.
3237 # In particular we don't look at `^make:' because GNU make might
3238 # be invoked under some other name (usually "gmake"), in which
3239 # case it prints its new name instead of `make'.
3240 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3241 am__include=include
3242 am__quote=
3243 _am_result=GNU
3245 # Now try BSD make style include.
3246 if test "$am__include" = "#"; then
3247 echo '.include "confinc"' > confmf
3248 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3249 am__include=.include
3250 am__quote="\""
3251 _am_result=BSD
3256 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3257 $as_echo "$_am_result" >&6; }
3258 rm -f confinc confmf
3260 # Check whether --enable-dependency-tracking was given.
3261 if test "${enable_dependency_tracking+set}" = set; then
3262 enableval=$enable_dependency_tracking;
3265 if test "x$enable_dependency_tracking" != xno; then
3266 am_depcomp="$ac_aux_dir/depcomp"
3267 AMDEPBACKSLASH='\'
3269 if test "x$enable_dependency_tracking" != xno; then
3270 AMDEP_TRUE=
3271 AMDEP_FALSE='#'
3272 else
3273 AMDEP_TRUE='#'
3274 AMDEP_FALSE=
3279 depcc="$CC" am_compiler_list=
3281 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3282 $as_echo_n "checking dependency style of $depcc... " >&6; }
3283 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3284 $as_echo_n "(cached) " >&6
3285 else
3286 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3287 # We make a subdir and do the tests there. Otherwise we can end up
3288 # making bogus files that we don't know about and never remove. For
3289 # instance it was reported that on HP-UX the gcc test will end up
3290 # making a dummy file named `D' -- because `-MD' means `put the output
3291 # in D'.
3292 mkdir conftest.dir
3293 # Copy depcomp to subdir because otherwise we won't find it if we're
3294 # using a relative directory.
3295 cp "$am_depcomp" conftest.dir
3296 cd conftest.dir
3297 # We will build objects and dependencies in a subdirectory because
3298 # it helps to detect inapplicable dependency modes. For instance
3299 # both Tru64's cc and ICC support -MD to output dependencies as a
3300 # side effect of compilation, but ICC will put the dependencies in
3301 # the current directory while Tru64 will put them in the object
3302 # directory.
3303 mkdir sub
3305 am_cv_CC_dependencies_compiler_type=none
3306 if test "$am_compiler_list" = ""; then
3307 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3309 for depmode in $am_compiler_list; do
3310 # Setup a source with many dependencies, because some compilers
3311 # like to wrap large dependency lists on column 80 (with \), and
3312 # we should not choose a depcomp mode which is confused by this.
3314 # We need to recreate these files for each test, as the compiler may
3315 # overwrite some of them when testing with obscure command lines.
3316 # This happens at least with the AIX C compiler.
3317 : > sub/conftest.c
3318 for i in 1 2 3 4 5 6; do
3319 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3320 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3321 # Solaris 8's {/usr,}/bin/sh.
3322 touch sub/conftst$i.h
3323 done
3324 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3326 case $depmode in
3327 nosideeffect)
3328 # after this tag, mechanisms are not by side-effect, so they'll
3329 # only be used when explicitly requested
3330 if test "x$enable_dependency_tracking" = xyes; then
3331 continue
3332 else
3333 break
3336 none) break ;;
3337 esac
3338 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3339 # mode. It turns out that the SunPro C++ compiler does not properly
3340 # handle `-M -o', and we need to detect this.
3341 if depmode=$depmode \
3342 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3343 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3344 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3345 >/dev/null 2>conftest.err &&
3346 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3347 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3348 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3349 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3350 # icc doesn't choke on unknown options, it will just issue warnings
3351 # or remarks (even with -Werror). So we grep stderr for any message
3352 # that says an option was ignored or not supported.
3353 # When given -MP, icc 7.0 and 7.1 complain thusly:
3354 # icc: Command line warning: ignoring option '-M'; no argument required
3355 # The diagnosis changed in icc 8.0:
3356 # icc: Command line remark: option '-MP' not supported
3357 if (grep 'ignoring option' conftest.err ||
3358 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3359 am_cv_CC_dependencies_compiler_type=$depmode
3360 break
3363 done
3365 cd ..
3366 rm -rf conftest.dir
3367 else
3368 am_cv_CC_dependencies_compiler_type=none
3372 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3373 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3374 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3377 test "x$enable_dependency_tracking" != xno \
3378 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3379 am__fastdepCC_TRUE=
3380 am__fastdepCC_FALSE='#'
3381 else
3382 am__fastdepCC_TRUE='#'
3383 am__fastdepCC_FALSE=
3387 if test "x$CC" != xcc; then
3388 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3389 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3390 else
3391 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3392 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3394 set dummy $CC; ac_cc=`$as_echo "$2" |
3395 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3396 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3397 $as_echo_n "(cached) " >&6
3398 else
3399 cat >conftest.$ac_ext <<_ACEOF
3400 /* confdefs.h. */
3401 _ACEOF
3402 cat confdefs.h >>conftest.$ac_ext
3403 cat >>conftest.$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3407 main ()
3411 return 0;
3413 _ACEOF
3414 # Make sure it works both with $CC and with simple cc.
3415 # We do the test twice because some compilers refuse to overwrite an
3416 # existing .o file with -o, though they will create one.
3417 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3418 rm -f conftest2.*
3419 if { (case "(($ac_try" in
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3422 esac
3423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3424 $as_echo "$ac_try_echo") >&5
3425 (eval "$ac_try") 2>&5
3426 ac_status=$?
3427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3432 esac
3433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3434 $as_echo "$ac_try_echo") >&5
3435 (eval "$ac_try") 2>&5
3436 ac_status=$?
3437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); };
3439 then
3440 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3441 if test "x$CC" != xcc; then
3442 # Test first that cc exists at all.
3443 if { ac_try='cc -c conftest.$ac_ext >&5'
3444 { (case "(($ac_try" in
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3447 esac
3448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3449 $as_echo "$ac_try_echo") >&5
3450 (eval "$ac_try") 2>&5
3451 ac_status=$?
3452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; }; then
3454 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3455 rm -f conftest2.*
3456 if { (case "(($ac_try" in
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3459 esac
3460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3461 $as_echo "$ac_try_echo") >&5
3462 (eval "$ac_try") 2>&5
3463 ac_status=$?
3464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3469 esac
3470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3471 $as_echo "$ac_try_echo") >&5
3472 (eval "$ac_try") 2>&5
3473 ac_status=$?
3474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); };
3476 then
3477 # cc works too.
3479 else
3480 # cc exists but doesn't like -o.
3481 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3485 else
3486 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3488 rm -f core conftest*
3491 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3492 { $as_echo "$as_me:$LINENO: result: yes" >&5
3493 $as_echo "yes" >&6; }
3494 else
3495 { $as_echo "$as_me:$LINENO: result: no" >&5
3496 $as_echo "no" >&6; }
3498 cat >>confdefs.h <<\_ACEOF
3499 #define NO_MINUS_C_MINUS_O 1
3500 _ACEOF
3504 # FIXME: we rely on the cache variable name because
3505 # there is no other way.
3506 set dummy $CC
3507 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3508 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3509 # Losing compiler, so override with the script.
3510 # FIXME: It is wrong to rewrite CC.
3511 # But if we don't then we get into trouble of one sort or another.
3512 # A longer-term fix would be to have automake use am__CC in this case,
3513 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3514 CC="$am_aux_dir/compile $CC"
3519 # Checks for libraries.
3521 # Checks for header files.
3523 # Checks for typedefs, structures, and compiler characteristics.
3525 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3526 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3527 if test "${ac_cv_c_const+set}" = set; then
3528 $as_echo_n "(cached) " >&6
3529 else
3530 cat >conftest.$ac_ext <<_ACEOF
3531 /* confdefs.h. */
3532 _ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h. */
3538 main ()
3540 /* FIXME: Include the comments suggested by Paul. */
3541 #ifndef __cplusplus
3542 /* Ultrix mips cc rejects this. */
3543 typedef int charset[2];
3544 const charset cs;
3545 /* SunOS 4.1.1 cc rejects this. */
3546 char const *const *pcpcc;
3547 char **ppc;
3548 /* NEC SVR4.0.2 mips cc rejects this. */
3549 struct point {int x, y;};
3550 static struct point const zero = {0,0};
3551 /* AIX XL C 1.02.0.0 rejects this.
3552 It does not let you subtract one const X* pointer from another in
3553 an arm of an if-expression whose if-part is not a constant
3554 expression */
3555 const char *g = "string";
3556 pcpcc = &g + (g ? g-g : 0);
3557 /* HPUX 7.0 cc rejects these. */
3558 ++pcpcc;
3559 ppc = (char**) pcpcc;
3560 pcpcc = (char const *const *) ppc;
3561 { /* SCO 3.2v4 cc rejects this. */
3562 char *t;
3563 char const *s = 0 ? (char *) 0 : (char const *) 0;
3565 *t++ = 0;
3566 if (s) return 0;
3568 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3569 int x[] = {25, 17};
3570 const int *foo = &x[0];
3571 ++foo;
3573 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3574 typedef const int *iptr;
3575 iptr p = 0;
3576 ++p;
3578 { /* AIX XL C 1.02.0.0 rejects this saying
3579 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3580 struct s { int j; const int *ap[3]; };
3581 struct s *b; b->j = 5;
3583 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3584 const int foo = 10;
3585 if (!foo) return 0;
3587 return !cs[0] && !zero.x;
3588 #endif
3591 return 0;
3593 _ACEOF
3594 rm -f conftest.$ac_objext
3595 if { (ac_try="$ac_compile"
3596 case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3599 esac
3600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3601 $as_echo "$ac_try_echo") >&5
3602 (eval "$ac_compile") 2>conftest.er1
3603 ac_status=$?
3604 grep -v '^ *+' conftest.er1 >conftest.err
3605 rm -f conftest.er1
3606 cat conftest.err >&5
3607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } && {
3609 test -z "$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3611 } && test -s conftest.$ac_objext; then
3612 ac_cv_c_const=yes
3613 else
3614 $as_echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 ac_cv_c_const=no
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3623 $as_echo "$ac_cv_c_const" >&6; }
3624 if test $ac_cv_c_const = no; then
3626 cat >>confdefs.h <<\_ACEOF
3627 #define const /**/
3628 _ACEOF
3632 { $as_echo "$as_me:$LINENO: checking for inline" >&5
3633 $as_echo_n "checking for inline... " >&6; }
3634 if test "${ac_cv_c_inline+set}" = set; then
3635 $as_echo_n "(cached) " >&6
3636 else
3637 ac_cv_c_inline=no
3638 for ac_kw in inline __inline__ __inline; do
3639 cat >conftest.$ac_ext <<_ACEOF
3640 /* confdefs.h. */
3641 _ACEOF
3642 cat confdefs.h >>conftest.$ac_ext
3643 cat >>conftest.$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3645 #ifndef __cplusplus
3646 typedef int foo_t;
3647 static $ac_kw foo_t static_foo () {return 0; }
3648 $ac_kw foo_t foo () {return 0; }
3649 #endif
3651 _ACEOF
3652 rm -f conftest.$ac_objext
3653 if { (ac_try="$ac_compile"
3654 case "(($ac_try" in
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3657 esac
3658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3659 $as_echo "$ac_try_echo") >&5
3660 (eval "$ac_compile") 2>conftest.er1
3661 ac_status=$?
3662 grep -v '^ *+' conftest.er1 >conftest.err
3663 rm -f conftest.er1
3664 cat conftest.err >&5
3665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } && {
3667 test -z "$ac_c_werror_flag" ||
3668 test ! -s conftest.err
3669 } && test -s conftest.$ac_objext; then
3670 ac_cv_c_inline=$ac_kw
3671 else
3672 $as_echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679 test "$ac_cv_c_inline" != no && break
3680 done
3683 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3684 $as_echo "$ac_cv_c_inline" >&6; }
3687 case $ac_cv_c_inline in
3688 inline | yes) ;;
3690 case $ac_cv_c_inline in
3691 no) ac_val=;;
3692 *) ac_val=$ac_cv_c_inline;;
3693 esac
3694 cat >>confdefs.h <<_ACEOF
3695 #ifndef __cplusplus
3696 #define inline $ac_val
3697 #endif
3698 _ACEOF
3700 esac
3703 # Checks for library functions.
3705 # Conditional compilation
3706 # Check whether --enable-platform was given.
3707 if test "${enable_platform+set}" = set; then
3708 enableval=$enable_platform; case "${enableval}" in
3709 uboot)
3710 platform=uboot
3712 openfirmware)
3713 platform=openfirmware
3716 { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-platform option" >&5
3717 $as_echo "$as_me: error: bad value ${enableval} for --enable-platform option" >&2;}
3718 { (exit 1); exit 1; }; }
3720 esac
3721 else
3722 platform=uboot
3726 if test x"$platform" = xuboot; then
3727 USE_UBOOT_TRUE=
3728 USE_UBOOT_FALSE='#'
3729 else
3730 USE_UBOOT_TRUE='#'
3731 USE_UBOOT_FALSE=
3734 if test x"$platform" = xopenfirmware; then
3735 USE_OPENFIRMWARE_TRUE=
3736 USE_OPENFIRMWARE_FALSE='#'
3737 else
3738 USE_OPENFIRMWARE_TRUE='#'
3739 USE_OPENFIRMWARE_FALSE=
3742 ac_config_files="$ac_config_files Makefile src/Makefile tools/Makefile"
3744 cat >confcache <<\_ACEOF
3745 # This file is a shell script that caches the results of configure
3746 # tests run on this system so they can be shared between configure
3747 # scripts and configure runs, see configure's option --config-cache.
3748 # It is not useful on other systems. If it contains results you don't
3749 # want to keep, you may remove or edit it.
3751 # config.status only pays attention to the cache file if you give it
3752 # the --recheck option to rerun configure.
3754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3756 # following values.
3758 _ACEOF
3760 # The following way of writing the cache mishandles newlines in values,
3761 # but we know of no workaround that is simple, portable, and efficient.
3762 # So, we kill variables containing newlines.
3763 # Ultrix sh set writes to stderr and can't be redirected directly,
3764 # and sets the high bit in the cache file unless we assign to the vars.
3766 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3767 eval ac_val=\$$ac_var
3768 case $ac_val in #(
3769 *${as_nl}*)
3770 case $ac_var in #(
3771 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3772 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3773 esac
3774 case $ac_var in #(
3775 _ | IFS | as_nl) ;; #(
3776 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3777 *) $as_unset $ac_var ;;
3778 esac ;;
3779 esac
3780 done
3782 (set) 2>&1 |
3783 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3784 *${as_nl}ac_space=\ *)
3785 # `set' does not quote correctly, so add quotes (double-quote
3786 # substitution turns \\\\ into \\, and sed turns \\ into \).
3787 sed -n \
3788 "s/'/'\\\\''/g;
3789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3790 ;; #(
3792 # `set' quotes correctly as required by POSIX, so do not add quotes.
3793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3795 esac |
3796 sort
3798 sed '
3799 /^ac_cv_env_/b end
3800 t clear
3801 :clear
3802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3803 t end
3804 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3805 :end' >>confcache
3806 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3807 if test -w "$cache_file"; then
3808 test "x$cache_file" != "x/dev/null" &&
3809 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3810 $as_echo "$as_me: updating cache $cache_file" >&6;}
3811 cat confcache >$cache_file
3812 else
3813 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3814 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3817 rm -f confcache
3819 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3820 # Let make expand exec_prefix.
3821 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3823 DEFS=-DHAVE_CONFIG_H
3825 ac_libobjs=
3826 ac_ltlibobjs=
3827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3828 # 1. Remove the extension, and $U if already installed.
3829 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3830 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3832 # will be set to the directory where LIBOBJS objects are built.
3833 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3834 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3835 done
3836 LIBOBJS=$ac_libobjs
3838 LTLIBOBJS=$ac_ltlibobjs
3841 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3842 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3843 Usually this means the macro was only invoked conditionally." >&5
3844 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
3845 Usually this means the macro was only invoked conditionally." >&2;}
3846 { (exit 1); exit 1; }; }
3848 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3849 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3850 Usually this means the macro was only invoked conditionally." >&5
3851 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3852 Usually this means the macro was only invoked conditionally." >&2;}
3853 { (exit 1); exit 1; }; }
3855 if test -z "${USE_UBOOT_TRUE}" && test -z "${USE_UBOOT_FALSE}"; then
3856 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_UBOOT\" was never defined.
3857 Usually this means the macro was only invoked conditionally." >&5
3858 $as_echo "$as_me: error: conditional \"USE_UBOOT\" was never defined.
3859 Usually this means the macro was only invoked conditionally." >&2;}
3860 { (exit 1); exit 1; }; }
3862 if test -z "${USE_OPENFIRMWARE_TRUE}" && test -z "${USE_OPENFIRMWARE_FALSE}"; then
3863 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_OPENFIRMWARE\" was never defined.
3864 Usually this means the macro was only invoked conditionally." >&5
3865 $as_echo "$as_me: error: conditional \"USE_OPENFIRMWARE\" was never defined.
3866 Usually this means the macro was only invoked conditionally." >&2;}
3867 { (exit 1); exit 1; }; }
3870 : ${CONFIG_STATUS=./config.status}
3871 ac_write_fail=0
3872 ac_clean_files_save=$ac_clean_files
3873 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3874 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3875 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3876 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3877 #! $SHELL
3878 # Generated by $as_me.
3879 # Run this file to recreate the current configuration.
3880 # Compiler output produced by configure, useful for debugging
3881 # configure, is in config.log if it exists.
3883 debug=false
3884 ac_cs_recheck=false
3885 ac_cs_silent=false
3886 SHELL=\${CONFIG_SHELL-$SHELL}
3887 _ACEOF
3889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3890 ## --------------------- ##
3891 ## M4sh Initialization. ##
3892 ## --------------------- ##
3894 # Be more Bourne compatible
3895 DUALCASE=1; export DUALCASE # for MKS sh
3896 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3897 emulate sh
3898 NULLCMD=:
3899 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3900 # is contrary to our usage. Disable this feature.
3901 alias -g '${1+"$@"}'='"$@"'
3902 setopt NO_GLOB_SUBST
3903 else
3904 case `(set -o) 2>/dev/null` in
3905 *posix*) set -o posix ;;
3906 esac
3913 # PATH needs CR
3914 # Avoid depending upon Character Ranges.
3915 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3916 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3917 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3918 as_cr_digits='0123456789'
3919 as_cr_alnum=$as_cr_Letters$as_cr_digits
3921 as_nl='
3923 export as_nl
3924 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3925 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3926 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3928 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3929 as_echo='printf %s\n'
3930 as_echo_n='printf %s'
3931 else
3932 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3933 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3934 as_echo_n='/usr/ucb/echo -n'
3935 else
3936 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3937 as_echo_n_body='eval
3938 arg=$1;
3939 case $arg in
3940 *"$as_nl"*)
3941 expr "X$arg" : "X\\(.*\\)$as_nl";
3942 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3943 esac;
3944 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3946 export as_echo_n_body
3947 as_echo_n='sh -c $as_echo_n_body as_echo'
3949 export as_echo_body
3950 as_echo='sh -c $as_echo_body as_echo'
3953 # The user is always right.
3954 if test "${PATH_SEPARATOR+set}" != set; then
3955 PATH_SEPARATOR=:
3956 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3957 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3958 PATH_SEPARATOR=';'
3962 # Support unset when possible.
3963 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3964 as_unset=unset
3965 else
3966 as_unset=false
3970 # IFS
3971 # We need space, tab and new line, in precisely that order. Quoting is
3972 # there to prevent editors from complaining about space-tab.
3973 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3974 # splitting by setting IFS to empty value.)
3975 IFS=" "" $as_nl"
3977 # Find who we are. Look in the path if we contain no directory separator.
3978 case $0 in
3979 *[\\/]* ) as_myself=$0 ;;
3980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3986 done
3987 IFS=$as_save_IFS
3990 esac
3991 # We did not find ourselves, most probably we were run as `sh COMMAND'
3992 # in which case we are not to be found in the path.
3993 if test "x$as_myself" = x; then
3994 as_myself=$0
3996 if test ! -f "$as_myself"; then
3997 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3998 { (exit 1); exit 1; }
4001 # Work around bugs in pre-3.0 UWIN ksh.
4002 for as_var in ENV MAIL MAILPATH
4003 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4004 done
4005 PS1='$ '
4006 PS2='> '
4007 PS4='+ '
4009 # NLS nuisances.
4010 LC_ALL=C
4011 export LC_ALL
4012 LANGUAGE=C
4013 export LANGUAGE
4015 # Required to use basename.
4016 if expr a : '\(a\)' >/dev/null 2>&1 &&
4017 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4018 as_expr=expr
4019 else
4020 as_expr=false
4023 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4024 as_basename=basename
4025 else
4026 as_basename=false
4030 # Name of the executable.
4031 as_me=`$as_basename -- "$0" ||
4032 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4033 X"$0" : 'X\(//\)$' \| \
4034 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4035 $as_echo X/"$0" |
4036 sed '/^.*\/\([^/][^/]*\)\/*$/{
4037 s//\1/
4040 /^X\/\(\/\/\)$/{
4041 s//\1/
4044 /^X\/\(\/\).*/{
4045 s//\1/
4048 s/.*/./; q'`
4050 # CDPATH.
4051 $as_unset CDPATH
4055 as_lineno_1=$LINENO
4056 as_lineno_2=$LINENO
4057 test "x$as_lineno_1" != "x$as_lineno_2" &&
4058 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4060 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4061 # uniformly replaced by the line number. The first 'sed' inserts a
4062 # line-number line after each line using $LINENO; the second 'sed'
4063 # does the real work. The second script uses 'N' to pair each
4064 # line-number line with the line containing $LINENO, and appends
4065 # trailing '-' during substitution so that $LINENO is not a special
4066 # case at line end.
4067 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4068 # scripts with optimization help from Paolo Bonzini. Blame Lee
4069 # E. McMahon (1931-1989) for sed's syntax. :-)
4070 sed -n '
4072 /[$]LINENO/=
4073 ' <$as_myself |
4074 sed '
4075 s/[$]LINENO.*/&-/
4076 t lineno
4078 :lineno
4080 :loop
4081 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4082 t loop
4083 s/-\n.*//
4084 ' >$as_me.lineno &&
4085 chmod +x "$as_me.lineno" ||
4086 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4087 { (exit 1); exit 1; }; }
4089 # Don't try to exec as it changes $[0], causing all sort of problems
4090 # (the dirname of $[0] is not the place where we might find the
4091 # original and so on. Autoconf is especially sensitive to this).
4092 . "./$as_me.lineno"
4093 # Exit status is that of the last command.
4094 exit
4098 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4099 as_dirname=dirname
4100 else
4101 as_dirname=false
4104 ECHO_C= ECHO_N= ECHO_T=
4105 case `echo -n x` in
4106 -n*)
4107 case `echo 'x\c'` in
4108 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4109 *) ECHO_C='\c';;
4110 esac;;
4112 ECHO_N='-n';;
4113 esac
4114 if expr a : '\(a\)' >/dev/null 2>&1 &&
4115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4116 as_expr=expr
4117 else
4118 as_expr=false
4121 rm -f conf$$ conf$$.exe conf$$.file
4122 if test -d conf$$.dir; then
4123 rm -f conf$$.dir/conf$$.file
4124 else
4125 rm -f conf$$.dir
4126 mkdir conf$$.dir 2>/dev/null
4128 if (echo >conf$$.file) 2>/dev/null; then
4129 if ln -s conf$$.file conf$$ 2>/dev/null; then
4130 as_ln_s='ln -s'
4131 # ... but there are two gotchas:
4132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4134 # In both cases, we have to default to `cp -p'.
4135 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4136 as_ln_s='cp -p'
4137 elif ln conf$$.file conf$$ 2>/dev/null; then
4138 as_ln_s=ln
4139 else
4140 as_ln_s='cp -p'
4142 else
4143 as_ln_s='cp -p'
4145 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4146 rmdir conf$$.dir 2>/dev/null
4148 if mkdir -p . 2>/dev/null; then
4149 as_mkdir_p=:
4150 else
4151 test -d ./-p && rmdir ./-p
4152 as_mkdir_p=false
4155 if test -x / >/dev/null 2>&1; then
4156 as_test_x='test -x'
4157 else
4158 if ls -dL / >/dev/null 2>&1; then
4159 as_ls_L_option=L
4160 else
4161 as_ls_L_option=
4163 as_test_x='
4164 eval sh -c '\''
4165 if test -d "$1"; then
4166 test -d "$1/.";
4167 else
4168 case $1 in
4169 -*)set "./$1";;
4170 esac;
4171 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4172 ???[sx]*):;;*)false;;esac;fi
4173 '\'' sh
4176 as_executable_p=$as_test_x
4178 # Sed expression to map a string onto a valid CPP name.
4179 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4181 # Sed expression to map a string onto a valid variable name.
4182 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4185 exec 6>&1
4187 # Save the log message, to keep $[0] and so on meaningful, and to
4188 # report actual input values of CONFIG_FILES etc. instead of their
4189 # values after options handling.
4190 ac_log="
4191 This file was extended by parthenope $as_me svn91, which was
4192 generated by GNU Autoconf 2.63. Invocation command line was
4194 CONFIG_FILES = $CONFIG_FILES
4195 CONFIG_HEADERS = $CONFIG_HEADERS
4196 CONFIG_LINKS = $CONFIG_LINKS
4197 CONFIG_COMMANDS = $CONFIG_COMMANDS
4198 $ $0 $@
4200 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4203 _ACEOF
4205 case $ac_config_files in *"
4206 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4207 esac
4209 case $ac_config_headers in *"
4210 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4211 esac
4214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4215 # Files that config.status was made for.
4216 config_files="$ac_config_files"
4217 config_headers="$ac_config_headers"
4218 config_commands="$ac_config_commands"
4220 _ACEOF
4222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4223 ac_cs_usage="\
4224 \`$as_me' instantiates files from templates according to the
4225 current configuration.
4227 Usage: $0 [OPTION]... [FILE]...
4229 -h, --help print this help, then exit
4230 -V, --version print version number and configuration settings, then exit
4231 -q, --quiet, --silent
4232 do not print progress messages
4233 -d, --debug don't remove temporary files
4234 --recheck update $as_me by reconfiguring in the same conditions
4235 --file=FILE[:TEMPLATE]
4236 instantiate the configuration file FILE
4237 --header=FILE[:TEMPLATE]
4238 instantiate the configuration header FILE
4240 Configuration files:
4241 $config_files
4243 Configuration headers:
4244 $config_headers
4246 Configuration commands:
4247 $config_commands
4249 Report bugs to <bug-autoconf@gnu.org>."
4251 _ACEOF
4252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4253 ac_cs_version="\\
4254 parthenope config.status svn91
4255 configured by $0, generated by GNU Autoconf 2.63,
4256 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4258 Copyright (C) 2008 Free Software Foundation, Inc.
4259 This config.status script is free software; the Free Software Foundation
4260 gives unlimited permission to copy, distribute and modify it."
4262 ac_pwd='$ac_pwd'
4263 srcdir='$srcdir'
4264 INSTALL='$INSTALL'
4265 MKDIR_P='$MKDIR_P'
4266 AWK='$AWK'
4267 test -n "\$AWK" || AWK=awk
4268 _ACEOF
4270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4271 # The default lists apply if the user does not specify any file.
4272 ac_need_defaults=:
4273 while test $# != 0
4275 case $1 in
4276 --*=*)
4277 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4278 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4279 ac_shift=:
4282 ac_option=$1
4283 ac_optarg=$2
4284 ac_shift=shift
4286 esac
4288 case $ac_option in
4289 # Handling of the options.
4290 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4291 ac_cs_recheck=: ;;
4292 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4293 $as_echo "$ac_cs_version"; exit ;;
4294 --debug | --debu | --deb | --de | --d | -d )
4295 debug=: ;;
4296 --file | --fil | --fi | --f )
4297 $ac_shift
4298 case $ac_optarg in
4299 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4300 esac
4301 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4302 ac_need_defaults=false;;
4303 --header | --heade | --head | --hea )
4304 $ac_shift
4305 case $ac_optarg in
4306 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4307 esac
4308 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4309 ac_need_defaults=false;;
4310 --he | --h)
4311 # Conflict between --help and --header
4312 { $as_echo "$as_me: error: ambiguous option: $1
4313 Try \`$0 --help' for more information." >&2
4314 { (exit 1); exit 1; }; };;
4315 --help | --hel | -h )
4316 $as_echo "$ac_cs_usage"; exit ;;
4317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4318 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4319 ac_cs_silent=: ;;
4321 # This is an error.
4322 -*) { $as_echo "$as_me: error: unrecognized option: $1
4323 Try \`$0 --help' for more information." >&2
4324 { (exit 1); exit 1; }; } ;;
4326 *) ac_config_targets="$ac_config_targets $1"
4327 ac_need_defaults=false ;;
4329 esac
4330 shift
4331 done
4333 ac_configure_extra_args=
4335 if $ac_cs_silent; then
4336 exec 6>/dev/null
4337 ac_configure_extra_args="$ac_configure_extra_args --silent"
4340 _ACEOF
4341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4342 if \$ac_cs_recheck; then
4343 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4344 shift
4345 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4346 CONFIG_SHELL='$SHELL'
4347 export CONFIG_SHELL
4348 exec "\$@"
4351 _ACEOF
4352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4353 exec 5>>config.log
4355 echo
4356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4357 ## Running $as_me. ##
4358 _ASBOX
4359 $as_echo "$ac_log"
4360 } >&5
4362 _ACEOF
4363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4365 # INIT-COMMANDS
4367 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4369 _ACEOF
4371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4373 # Handling of arguments.
4374 for ac_config_target in $ac_config_targets
4376 case $ac_config_target in
4377 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4378 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4379 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4380 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4381 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
4383 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4384 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4385 { (exit 1); exit 1; }; };;
4386 esac
4387 done
4390 # If the user did not use the arguments to specify the items to instantiate,
4391 # then the envvar interface is used. Set only those that are not.
4392 # We use the long form for the default assignment because of an extremely
4393 # bizarre bug on SunOS 4.1.3.
4394 if $ac_need_defaults; then
4395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4400 # Have a temporary directory for convenience. Make it in the build tree
4401 # simply because there is no reason against having it here, and in addition,
4402 # creating and moving files from /tmp can sometimes cause problems.
4403 # Hook for its removal unless debugging.
4404 # Note that there is a small window in which the directory will not be cleaned:
4405 # after its creation but before its name has been assigned to `$tmp'.
4406 $debug ||
4408 tmp=
4409 trap 'exit_status=$?
4410 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4412 trap '{ (exit 1); exit 1; }' 1 2 13 15
4414 # Create a (secure) tmp directory for tmp files.
4417 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4418 test -n "$tmp" && test -d "$tmp"
4419 } ||
4421 tmp=./conf$$-$RANDOM
4422 (umask 077 && mkdir "$tmp")
4423 } ||
4425 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4426 { (exit 1); exit 1; }
4429 # Set up the scripts for CONFIG_FILES section.
4430 # No need to generate them if there are no CONFIG_FILES.
4431 # This happens for instance with `./config.status config.h'.
4432 if test -n "$CONFIG_FILES"; then
4435 ac_cr=' '
4436 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4437 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4438 ac_cs_awk_cr='\\r'
4439 else
4440 ac_cs_awk_cr=$ac_cr
4443 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4444 _ACEOF
4448 echo "cat >conf$$subs.awk <<_ACEOF" &&
4449 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4450 echo "_ACEOF"
4451 } >conf$$subs.sh ||
4452 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4453 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4454 { (exit 1); exit 1; }; }
4455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4456 ac_delim='%!_!# '
4457 for ac_last_try in false false false false false :; do
4458 . ./conf$$subs.sh ||
4459 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4460 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4461 { (exit 1); exit 1; }; }
4463 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4464 if test $ac_delim_n = $ac_delim_num; then
4465 break
4466 elif $ac_last_try; then
4467 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4468 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4469 { (exit 1); exit 1; }; }
4470 else
4471 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4473 done
4474 rm -f conf$$subs.sh
4476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4477 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4478 _ACEOF
4479 sed -n '
4481 s/^/S["/; s/!.*/"]=/
4484 s/^[^!]*!//
4485 :repl
4486 t repl
4487 s/'"$ac_delim"'$//
4488 t delim
4491 s/\(.\{148\}\).*/\1/
4492 t more1
4493 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4496 b repl
4497 :more1
4498 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4501 s/.\{148\}//
4502 t nl
4503 :delim
4505 s/\(.\{148\}\).*/\1/
4506 t more2
4507 s/["\\]/\\&/g; s/^/"/; s/$/"/
4510 :more2
4511 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4514 s/.\{148\}//
4515 t delim
4516 ' <conf$$subs.awk | sed '
4517 /^[^""]/{
4519 s/\n//
4521 ' >>$CONFIG_STATUS || ac_write_fail=1
4522 rm -f conf$$subs.awk
4523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4524 _ACAWK
4525 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4526 for (key in S) S_is_set[key] = 1
4527 FS = "\a"
4531 line = $ 0
4532 nfields = split(line, field, "@")
4533 substed = 0
4534 len = length(field[1])
4535 for (i = 2; i < nfields; i++) {
4536 key = field[i]
4537 keylen = length(key)
4538 if (S_is_set[key]) {
4539 value = S[key]
4540 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4541 len += length(value) + length(field[++i])
4542 substed = 1
4543 } else
4544 len += 1 + keylen
4547 print line
4550 _ACAWK
4551 _ACEOF
4552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4553 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4554 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4555 else
4557 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4558 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4559 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4560 { (exit 1); exit 1; }; }
4561 _ACEOF
4563 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4564 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4565 # trailing colons and then remove the whole line if VPATH becomes empty
4566 # (actually we leave an empty line to preserve line numbers).
4567 if test "x$srcdir" = x.; then
4568 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4569 s/:*\$(srcdir):*/:/
4570 s/:*\${srcdir}:*/:/
4571 s/:*@srcdir@:*/:/
4572 s/^\([^=]*=[ ]*\):*/\1/
4573 s/:*$//
4574 s/^[^=]*=[ ]*$//
4578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4579 fi # test -n "$CONFIG_FILES"
4581 # Set up the scripts for CONFIG_HEADERS section.
4582 # No need to generate them if there are no CONFIG_HEADERS.
4583 # This happens for instance with `./config.status Makefile'.
4584 if test -n "$CONFIG_HEADERS"; then
4585 cat >"$tmp/defines.awk" <<\_ACAWK ||
4586 BEGIN {
4587 _ACEOF
4589 # Transform confdefs.h into an awk script `defines.awk', embedded as
4590 # here-document in config.status, that substitutes the proper values into
4591 # config.h.in to produce config.h.
4593 # Create a delimiter string that does not exist in confdefs.h, to ease
4594 # handling of long lines.
4595 ac_delim='%!_!# '
4596 for ac_last_try in false false :; do
4597 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4598 if test -z "$ac_t"; then
4599 break
4600 elif $ac_last_try; then
4601 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
4602 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
4603 { (exit 1); exit 1; }; }
4604 else
4605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4607 done
4609 # For the awk script, D is an array of macro values keyed by name,
4610 # likewise P contains macro parameters if any. Preserve backslash
4611 # newline sequences.
4613 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4614 sed -n '
4615 s/.\{148\}/&'"$ac_delim"'/g
4616 t rset
4617 :rset
4618 s/^[ ]*#[ ]*define[ ][ ]*/ /
4619 t def
4621 :def
4622 s/\\$//
4623 t bsnl
4624 s/["\\]/\\&/g
4625 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4626 D["\1"]=" \3"/p
4627 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4629 :bsnl
4630 s/["\\]/\\&/g
4631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4632 D["\1"]=" \3\\\\\\n"\\/p
4633 t cont
4634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4635 t cont
4637 :cont
4639 s/.\{148\}/&'"$ac_delim"'/g
4640 t clear
4641 :clear
4642 s/\\$//
4643 t bsnlc
4644 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4646 :bsnlc
4647 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4648 b cont
4649 ' <confdefs.h | sed '
4650 s/'"$ac_delim"'/"\\\
4651 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4654 for (key in D) D_is_set[key] = 1
4655 FS = "\a"
4657 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4658 line = \$ 0
4659 split(line, arg, " ")
4660 if (arg[1] == "#") {
4661 defundef = arg[2]
4662 mac1 = arg[3]
4663 } else {
4664 defundef = substr(arg[1], 2)
4665 mac1 = arg[2]
4667 split(mac1, mac2, "(") #)
4668 macro = mac2[1]
4669 prefix = substr(line, 1, index(line, defundef) - 1)
4670 if (D_is_set[macro]) {
4671 # Preserve the white space surrounding the "#".
4672 print prefix "define", macro P[macro] D[macro]
4673 next
4674 } else {
4675 # Replace #undef with comments. This is necessary, for example,
4676 # in the case of _POSIX_SOURCE, which is predefined and required
4677 # on some systems where configure will not decide to define it.
4678 if (defundef == "undef") {
4679 print "/*", prefix defundef, macro, "*/"
4680 next
4684 { print }
4685 _ACAWK
4686 _ACEOF
4687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4688 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
4689 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
4690 { (exit 1); exit 1; }; }
4691 fi # test -n "$CONFIG_HEADERS"
4694 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4695 shift
4696 for ac_tag
4698 case $ac_tag in
4699 :[FHLC]) ac_mode=$ac_tag; continue;;
4700 esac
4701 case $ac_mode$ac_tag in
4702 :[FHL]*:*);;
4703 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4704 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4705 { (exit 1); exit 1; }; };;
4706 :[FH]-) ac_tag=-:-;;
4707 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4708 esac
4709 ac_save_IFS=$IFS
4710 IFS=:
4711 set x $ac_tag
4712 IFS=$ac_save_IFS
4713 shift
4714 ac_file=$1
4715 shift
4717 case $ac_mode in
4718 :L) ac_source=$1;;
4719 :[FH])
4720 ac_file_inputs=
4721 for ac_f
4723 case $ac_f in
4724 -) ac_f="$tmp/stdin";;
4725 *) # Look for the file first in the build tree, then in the source tree
4726 # (if the path is not absolute). The absolute path cannot be DOS-style,
4727 # because $ac_f cannot contain `:'.
4728 test -f "$ac_f" ||
4729 case $ac_f in
4730 [\\/$]*) false;;
4731 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4732 esac ||
4733 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4734 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4735 { (exit 1); exit 1; }; };;
4736 esac
4737 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4738 ac_file_inputs="$ac_file_inputs '$ac_f'"
4739 done
4741 # Let's still pretend it is `configure' which instantiates (i.e., don't
4742 # use $as_me), people would be surprised to read:
4743 # /* config.h. Generated by config.status. */
4744 configure_input='Generated from '`
4745 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4746 `' by configure.'
4747 if test x"$ac_file" != x-; then
4748 configure_input="$ac_file. $configure_input"
4749 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4750 $as_echo "$as_me: creating $ac_file" >&6;}
4752 # Neutralize special characters interpreted by sed in replacement strings.
4753 case $configure_input in #(
4754 *\&* | *\|* | *\\* )
4755 ac_sed_conf_input=`$as_echo "$configure_input" |
4756 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4757 *) ac_sed_conf_input=$configure_input;;
4758 esac
4760 case $ac_tag in
4761 *:-:* | *:-) cat >"$tmp/stdin" \
4762 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4763 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4764 { (exit 1); exit 1; }; } ;;
4765 esac
4767 esac
4769 ac_dir=`$as_dirname -- "$ac_file" ||
4770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4771 X"$ac_file" : 'X\(//\)[^/]' \| \
4772 X"$ac_file" : 'X\(//\)$' \| \
4773 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4774 $as_echo X"$ac_file" |
4775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4776 s//\1/
4779 /^X\(\/\/\)[^/].*/{
4780 s//\1/
4783 /^X\(\/\/\)$/{
4784 s//\1/
4787 /^X\(\/\).*/{
4788 s//\1/
4791 s/.*/./; q'`
4792 { as_dir="$ac_dir"
4793 case $as_dir in #(
4794 -*) as_dir=./$as_dir;;
4795 esac
4796 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4797 as_dirs=
4798 while :; do
4799 case $as_dir in #(
4800 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4801 *) as_qdir=$as_dir;;
4802 esac
4803 as_dirs="'$as_qdir' $as_dirs"
4804 as_dir=`$as_dirname -- "$as_dir" ||
4805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4806 X"$as_dir" : 'X\(//\)[^/]' \| \
4807 X"$as_dir" : 'X\(//\)$' \| \
4808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4809 $as_echo X"$as_dir" |
4810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4811 s//\1/
4814 /^X\(\/\/\)[^/].*/{
4815 s//\1/
4818 /^X\(\/\/\)$/{
4819 s//\1/
4822 /^X\(\/\).*/{
4823 s//\1/
4826 s/.*/./; q'`
4827 test -d "$as_dir" && break
4828 done
4829 test -z "$as_dirs" || eval "mkdir $as_dirs"
4830 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4831 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4832 { (exit 1); exit 1; }; }; }
4833 ac_builddir=.
4835 case "$ac_dir" in
4836 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4838 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4839 # A ".." for each directory in $ac_dir_suffix.
4840 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4841 case $ac_top_builddir_sub in
4842 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4843 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4844 esac ;;
4845 esac
4846 ac_abs_top_builddir=$ac_pwd
4847 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4848 # for backward compatibility:
4849 ac_top_builddir=$ac_top_build_prefix
4851 case $srcdir in
4852 .) # We are building in place.
4853 ac_srcdir=.
4854 ac_top_srcdir=$ac_top_builddir_sub
4855 ac_abs_top_srcdir=$ac_pwd ;;
4856 [\\/]* | ?:[\\/]* ) # Absolute name.
4857 ac_srcdir=$srcdir$ac_dir_suffix;
4858 ac_top_srcdir=$srcdir
4859 ac_abs_top_srcdir=$srcdir ;;
4860 *) # Relative name.
4861 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4862 ac_top_srcdir=$ac_top_build_prefix$srcdir
4863 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4864 esac
4865 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4868 case $ac_mode in
4871 # CONFIG_FILE
4874 case $INSTALL in
4875 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4876 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4877 esac
4878 ac_MKDIR_P=$MKDIR_P
4879 case $MKDIR_P in
4880 [\\/$]* | ?:[\\/]* ) ;;
4881 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4882 esac
4883 _ACEOF
4885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4886 # If the template does not know about datarootdir, expand it.
4887 # FIXME: This hack should be removed a few years after 2.60.
4888 ac_datarootdir_hack=; ac_datarootdir_seen=
4890 ac_sed_dataroot='
4891 /datarootdir/ {
4895 /@datadir@/p
4896 /@docdir@/p
4897 /@infodir@/p
4898 /@localedir@/p
4899 /@mandir@/p
4901 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4902 *datarootdir*) ac_datarootdir_seen=yes;;
4903 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4904 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4905 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4906 _ACEOF
4907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4908 ac_datarootdir_hack='
4909 s&@datadir@&$datadir&g
4910 s&@docdir@&$docdir&g
4911 s&@infodir@&$infodir&g
4912 s&@localedir@&$localedir&g
4913 s&@mandir@&$mandir&g
4914 s&\\\${datarootdir}&$datarootdir&g' ;;
4915 esac
4916 _ACEOF
4918 # Neutralize VPATH when `$srcdir' = `.'.
4919 # Shell code in configure.ac might set extrasub.
4920 # FIXME: do we really want to maintain this feature?
4921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4922 ac_sed_extra="$ac_vpsub
4923 $extrasub
4924 _ACEOF
4925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4927 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4928 s|@configure_input@|$ac_sed_conf_input|;t t
4929 s&@top_builddir@&$ac_top_builddir_sub&;t t
4930 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4931 s&@srcdir@&$ac_srcdir&;t t
4932 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4933 s&@top_srcdir@&$ac_top_srcdir&;t t
4934 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4935 s&@builddir@&$ac_builddir&;t t
4936 s&@abs_builddir@&$ac_abs_builddir&;t t
4937 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4938 s&@INSTALL@&$ac_INSTALL&;t t
4939 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4940 $ac_datarootdir_hack
4942 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4943 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4944 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4945 { (exit 1); exit 1; }; }
4947 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4948 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4949 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4950 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4951 which seems to be undefined. Please make sure it is defined." >&5
4952 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4953 which seems to be undefined. Please make sure it is defined." >&2;}
4955 rm -f "$tmp/stdin"
4956 case $ac_file in
4957 -) cat "$tmp/out" && rm -f "$tmp/out";;
4958 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4959 esac \
4960 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4961 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4962 { (exit 1); exit 1; }; }
4966 # CONFIG_HEADER
4968 if test x"$ac_file" != x-; then
4970 $as_echo "/* $configure_input */" \
4971 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4972 } >"$tmp/config.h" \
4973 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4974 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4975 { (exit 1); exit 1; }; }
4976 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4977 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4978 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4979 else
4980 rm -f "$ac_file"
4981 mv "$tmp/config.h" "$ac_file" \
4982 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4983 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4984 { (exit 1); exit 1; }; }
4986 else
4987 $as_echo "/* $configure_input */" \
4988 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4989 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
4990 $as_echo "$as_me: error: could not create -" >&2;}
4991 { (exit 1); exit 1; }; }
4993 # Compute "$ac_file"'s index in $config_headers.
4994 _am_arg="$ac_file"
4995 _am_stamp_count=1
4996 for _am_header in $config_headers :; do
4997 case $_am_header in
4998 $_am_arg | $_am_arg:* )
4999 break ;;
5001 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5002 esac
5003 done
5004 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5005 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5006 X"$_am_arg" : 'X\(//\)[^/]' \| \
5007 X"$_am_arg" : 'X\(//\)$' \| \
5008 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5009 $as_echo X"$_am_arg" |
5010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5011 s//\1/
5014 /^X\(\/\/\)[^/].*/{
5015 s//\1/
5018 /^X\(\/\/\)$/{
5019 s//\1/
5022 /^X\(\/\).*/{
5023 s//\1/
5026 s/.*/./; q'`/stamp-h$_am_stamp_count
5029 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5030 $as_echo "$as_me: executing $ac_file commands" >&6;}
5032 esac
5035 case $ac_file$ac_mode in
5036 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5037 # Strip MF so we end up with the name of the file.
5038 mf=`echo "$mf" | sed -e 's/:.*$//'`
5039 # Check whether this is an Automake generated Makefile or not.
5040 # We used to match only the files named `Makefile.in', but
5041 # some people rename them; so instead we look at the file content.
5042 # Grep'ing the first line is not enough: some people post-process
5043 # each Makefile.in and add a new line on top of each file to say so.
5044 # Grep'ing the whole file is not good either: AIX grep has a line
5045 # limit of 2048, but all sed's we know have understand at least 4000.
5046 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5047 dirpart=`$as_dirname -- "$mf" ||
5048 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5049 X"$mf" : 'X\(//\)[^/]' \| \
5050 X"$mf" : 'X\(//\)$' \| \
5051 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5052 $as_echo X"$mf" |
5053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5054 s//\1/
5057 /^X\(\/\/\)[^/].*/{
5058 s//\1/
5061 /^X\(\/\/\)$/{
5062 s//\1/
5065 /^X\(\/\).*/{
5066 s//\1/
5069 s/.*/./; q'`
5070 else
5071 continue
5073 # Extract the definition of DEPDIR, am__include, and am__quote
5074 # from the Makefile without running `make'.
5075 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5076 test -z "$DEPDIR" && continue
5077 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5078 test -z "am__include" && continue
5079 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5080 # When using ansi2knr, U may be empty or an underscore; expand it
5081 U=`sed -n 's/^U = //p' < "$mf"`
5082 # Find all dependency output files, they are included files with
5083 # $(DEPDIR) in their names. We invoke sed twice because it is the
5084 # simplest approach to changing $(DEPDIR) to its actual value in the
5085 # expansion.
5086 for file in `sed -n "
5087 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5088 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5089 # Make sure the directory exists.
5090 test -f "$dirpart/$file" && continue
5091 fdir=`$as_dirname -- "$file" ||
5092 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5093 X"$file" : 'X\(//\)[^/]' \| \
5094 X"$file" : 'X\(//\)$' \| \
5095 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5096 $as_echo X"$file" |
5097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5098 s//\1/
5101 /^X\(\/\/\)[^/].*/{
5102 s//\1/
5105 /^X\(\/\/\)$/{
5106 s//\1/
5109 /^X\(\/\).*/{
5110 s//\1/
5113 s/.*/./; q'`
5114 { as_dir=$dirpart/$fdir
5115 case $as_dir in #(
5116 -*) as_dir=./$as_dir;;
5117 esac
5118 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5119 as_dirs=
5120 while :; do
5121 case $as_dir in #(
5122 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5123 *) as_qdir=$as_dir;;
5124 esac
5125 as_dirs="'$as_qdir' $as_dirs"
5126 as_dir=`$as_dirname -- "$as_dir" ||
5127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5128 X"$as_dir" : 'X\(//\)[^/]' \| \
5129 X"$as_dir" : 'X\(//\)$' \| \
5130 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5131 $as_echo X"$as_dir" |
5132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5133 s//\1/
5136 /^X\(\/\/\)[^/].*/{
5137 s//\1/
5140 /^X\(\/\/\)$/{
5141 s//\1/
5144 /^X\(\/\).*/{
5145 s//\1/
5148 s/.*/./; q'`
5149 test -d "$as_dir" && break
5150 done
5151 test -z "$as_dirs" || eval "mkdir $as_dirs"
5152 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5153 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5154 { (exit 1); exit 1; }; }; }
5155 # echo "creating $dirpart/$file"
5156 echo '# dummy' > "$dirpart/$file"
5157 done
5158 done
5161 esac
5162 done # for ac_tag
5165 { (exit 0); exit 0; }
5166 _ACEOF
5167 chmod +x $CONFIG_STATUS
5168 ac_clean_files=$ac_clean_files_save
5170 test $ac_write_fail = 0 ||
5171 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5172 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5173 { (exit 1); exit 1; }; }
5176 # configure is writing to config.log, and then calls config.status.
5177 # config.status does its own redirection, appending to config.log.
5178 # Unfortunately, on DOS this fails, as config.log is still kept open
5179 # by configure, so config.status won't be able to write to it; its
5180 # output is simply discarded. So we exec the FD to /dev/null,
5181 # effectively closing config.log, so it can be properly (re)opened and
5182 # appended to by config.status. When coming back to configure, we
5183 # need to make the FD available again.
5184 if test "$no_create" != yes; then
5185 ac_cs_success=:
5186 ac_config_status_args=
5187 test "$silent" = yes &&
5188 ac_config_status_args="$ac_config_status_args --quiet"
5189 exec 5>/dev/null
5190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5191 exec 5>>config.log
5192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5193 # would make configure fail if this is the last instruction.
5194 $ac_cs_success || { (exit 1); exit 1; }
5196 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5197 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5198 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}