2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591 for dir in $PATH /usr/ucb; do
593 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X/bin/ksh; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL=/bin/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 SHELL="$CONFIG_SHELL"
634 ECHO="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev/null 6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix=/usr/local
688 ac_config_libobj_dir=.
695 # Identity of this package.
703 ac_unique_file="gprof.c"
704 # Factoring default headers for most tests.
705 ac_includes_default="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 ac_subst_vars='am__EXEEXT_FALSE
749 MAINTAINER_MODE_FALSE
803 INSTALL_STRIP_PROGRAM
864 program_transform_name
877 enable_option_checking
878 enable_dependency_tracking
888 enable_maintainer_mode
890 enable_build_warnings
892 ac_precious_vars='build_alias
903 # Initialize some variables set by options.
905 ac_init_version=false
906 ac_unrecognized_opts=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
917 program_transform_name=s,x,x,
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE}'
942 infodir='${datarootdir}/info'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1209 -site=* | --site=* | --sit=*)
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1265 eval with_$ac_useropt=no ;;
1268 # Obsolete; use --with-x.
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1336 # Be sure to have absolute directory names.
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1408 ac_srcdir_defaulted=no
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1442 \`configure' configures this package to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1511 if test -n "$ac_init_help"; then
1516 --disable-option-checking ignore unrecognized --enable/--with options
1517 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1518 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1519 --disable-dependency-tracking speeds up one-time build
1520 --enable-dependency-tracking do not reject slow dependency extractors
1521 --enable-plugins Enable support for plugins (defaults no)
1522 --disable-largefile omit support for large files
1523 --enable-shared[=PKGS] build shared libraries [default=yes]
1524 --enable-static[=PKGS] build static libraries [default=yes]
1525 --enable-fast-install[=PKGS]
1526 optimize for fast installation [default=yes]
1527 --disable-libtool-lock avoid locking (might break parallel builds)
1528 --disable-nls do not use Native Language Support
1529 --enable-maintainer-mode enable make rules and dependencies not useful
1530 (and sometimes confusing) to the casual installer
1531 --enable-werror treat compile warnings as errors
1532 --enable-build-warnings enable build-time compiler warnings
1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1537 --with-pic try to use only PIC/non-PIC objects [default=use
1539 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1541 Some influential environment variables:
1542 CC C compiler command
1543 CFLAGS C compiler flags
1544 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1545 nonstandard directory <lib dir>
1546 LIBS libraries to pass to the linker, e.g. -l<library>
1547 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1548 you have headers in a nonstandard directory <include dir>
1551 Use these variables to override the choices made by `configure' or to help
1552 it to find libraries and programs with nonstandard names/locations.
1554 Report bugs to the package provider.
1559 if test "$ac_init_help" = "recursive"; then
1560 # If there are subdirs, report their specific --help.
1561 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1562 test -d "$ac_dir" ||
1563 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1571 # A ".." for each directory in $ac_dir_suffix.
1572 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1573 case $ac_top_builddir_sub in
1574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1578 ac_abs_top_builddir=$ac_pwd
1579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1580 # for backward compatibility:
1581 ac_top_builddir=$ac_top_build_prefix
1584 .) # We are building in place.
1586 ac_top_srcdir=$ac_top_builddir_sub
1587 ac_abs_top_srcdir=$ac_pwd ;;
1588 [\\/]* | ?:[\\/]* ) # Absolute name.
1589 ac_srcdir=$srcdir$ac_dir_suffix;
1590 ac_top_srcdir=$srcdir
1591 ac_abs_top_srcdir=$srcdir ;;
1593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1594 ac_top_srcdir=$ac_top_build_prefix$srcdir
1595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1599 cd "$ac_dir" || { ac_status=$?; continue; }
1600 # Check for guested configure.
1601 if test -f "$ac_srcdir/configure.gnu"; then
1603 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1604 elif test -f "$ac_srcdir/configure"; then
1606 $SHELL "$ac_srcdir/configure" --help=recursive
1608 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1610 cd "$ac_pwd" || { ac_status=$?; break; }
1614 test -n "$ac_init_help" && exit $ac_status
1615 if $ac_init_version; then
1618 generated by GNU Autoconf 2.64
1620 Copyright (C) 2009 Free Software Foundation, Inc.
1621 This configure script is free software; the Free Software Foundation
1622 gives unlimited permission to copy, distribute and modify it.
1627 ## ------------------------ ##
1628 ## Autoconf initialization. ##
1629 ## ------------------------ ##
1631 # ac_fn_c_try_compile LINENO
1632 # --------------------------
1633 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_compile ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext
1638 if { { ac_try="$ac_compile"
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_compile") 2>conftest.err
1647 if test -s conftest.err; then
1648 grep -v '^ *+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest.$ac_objext; then :
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1664 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667 } # ac_fn_c_try_compile
1669 # ac_fn_c_try_link LINENO
1670 # -----------------------
1671 # Try to link conftest.$ac_ext, and return whether this succeeded.
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 rm -f conftest.$ac_objext conftest$ac_exeext
1676 if { { ac_try="$ac_link"
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_link") 2>conftest.err
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && {
1692 test -z "$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1694 } && test -s conftest$ac_exeext && {
1695 test "$cross_compiling" = yes ||
1696 $as_test_x conftest$ac_exeext
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1705 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1706 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1707 # interfere with the next link command; also delete a directory that is
1708 # left behind by Apple's compiler. We do this before executing the actions.
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1713 } # ac_fn_c_try_link
1715 # ac_fn_c_try_cpp LINENO
1716 # ----------------------
1717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 if { { ac_try="$ac_cpp conftest.$ac_ext"
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } >/dev/null && {
1737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1755 # the include files in INCLUDES and setting the cache variable VAR
1757 ac_fn_c_check_header_mongrel ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1764 $as_echo_n "(cached) " >&6
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1770 # Is the header compilable?
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1772 $as_echo_n "checking $2 usability... " >&6; }
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1778 if ac_fn_c_try_compile "$LINENO"; then :
1779 ac_header_compiler=yes
1781 ac_header_compiler=no
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1785 $as_echo "$ac_header_compiler" >&6; }
1787 # Is the header present?
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1789 $as_echo_n "checking $2 presence... " >&6; }
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1794 if ac_fn_c_try_cpp "$LINENO"; then :
1795 ac_header_preproc=yes
1797 ac_header_preproc=no
1799 rm -f conftest.err conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1801 $as_echo "$ac_header_preproc" >&6; }
1803 # So? What about this header?
1804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1807 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1809 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1813 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1815 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1817 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1819 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825 $as_echo_n "checking for $2... " >&6; }
1826 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1827 $as_echo_n "(cached) " >&6
1829 eval "$3=\$ac_header_compiler"
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1837 } # ac_fn_c_check_header_mongrel
1839 # ac_fn_c_try_run LINENO
1840 # ----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1842 # that executables *can* be run.
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 if { { ac_try="$ac_link"
1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1857 { { case "(($ac_try" in
1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_try") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; }; }; then :
1869 $as_echo "$as_me: program exited with status $ac_status" >&5
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1873 ac_retval=$ac_status
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1882 # -------------------------------------------------------
1883 # Tests whether HEADER exists and can be compiled using the include files in
1884 # INCLUDES, setting the cache variable VAR accordingly.
1885 ac_fn_c_check_header_compile ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1891 $as_echo_n "(cached) " >&6
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1898 if ac_fn_c_try_compile "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910 } # ac_fn_c_check_header_compile
1912 # ac_fn_c_check_func LINENO FUNC VAR
1913 # ----------------------------------
1914 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1915 ac_fn_c_check_func ()
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1921 $as_echo_n "(cached) " >&6
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1925 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1927 #define $2 innocuous_$2
1929 /* System header to define __stub macros and hopefully few prototypes,
1930 which can conflict with char $2 (); below.
1931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1932 <limits.h> exists even on freestanding compilers. */
1935 # include <limits.h>
1937 # include <assert.h>
1942 /* Override any GCC internal prototype to avoid an error.
1943 Use char because int might match the return type of a GCC
1944 builtin and then its argument prototype would still apply. */
1949 /* The GNU C library defines this for functions which it implements
1950 to always fail with ENOSYS. Some functions are actually named
1951 something starting with __ and the normal name is an alias. */
1952 #if defined __stub_$2 || defined __stub___$2
1964 if ac_fn_c_try_link "$LINENO"; then :
1969 rm -f core conftest.err conftest.$ac_objext \
1970 conftest$ac_exeext conftest.$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1977 } # ac_fn_c_check_func
1978 cat >config.log <<_ACEOF
1979 This file contains any messages produced by compilers while
1980 running configure, to aid debugging if configure makes a mistake.
1982 It was created by $as_me, which was
1983 generated by GNU Autoconf 2.64. Invocation command line was
1995 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1996 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1997 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1998 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1999 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2001 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2002 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2004 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2005 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2006 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2007 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2008 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2009 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2010 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir=.
2019 $as_echo "PATH: $as_dir"
2035 # Keep a trace of the command line.
2036 # Strip out --no-create and --no-recursion so they do not pile up.
2037 # Strip out --silent because we don't want to record it for future runs.
2038 # Also quote any args containing shell meta-characters.
2039 # Make two passes to allow for proper duplicate-argument suppression.
2043 ac_must_keep_next=false
2049 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2051 | -silent | --silent | --silen | --sile | --sil)
2054 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2057 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2059 as_fn_append ac_configure_args1 " '$ac_arg'"
2060 if test $ac_must_keep_next = true; then
2061 ac_must_keep_next=false # Got value, back to normal.
2064 *=* | --config-cache | -C | -disable-* | --disable-* \
2065 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2066 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2067 | -with-* | --with-* | -without-* | --without-* | --x)
2068 case "$ac_configure_args0 " in
2069 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2072 -* ) ac_must_keep_next=true ;;
2075 as_fn_append ac_configure_args " '$ac_arg'"
2080 { ac_configure_args0=; unset ac_configure_args0;}
2081 { ac_configure_args1=; unset ac_configure_args1;}
2083 # When interrupted or exit'd, cleanup temporary files, and complete
2084 # config.log. We remove comments because anyway the quotes in there
2085 # would cause problems or look ugly.
2086 # WARNING: Use '\'' to represent an apostrophe within the trap.
2087 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2088 trap 'exit_status=$?
2089 # Save into config.log some information that might help in debugging.
2094 ## ---------------- ##
2095 ## Cache variables. ##
2096 ## ---------------- ##
2099 # The following way of writing the cache mishandles newlines in values,
2101 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2102 eval ac_val=\$$ac_var
2106 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2110 _ | IFS | as_nl) ;; #(
2111 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2112 *) { eval $ac_var=; unset $ac_var;} ;;
2117 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2118 *${as_nl}ac_space=\ *)
2120 "s/'\''/'\''\\\\'\'''\''/g;
2121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2132 ## ----------------- ##
2133 ## Output variables. ##
2134 ## ----------------- ##
2137 for ac_var in $ac_subst_vars
2139 eval ac_val=\$$ac_var
2141 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2143 $as_echo "$ac_var='\''$ac_val'\''"
2147 if test -n "$ac_subst_files"; then
2149 ## ------------------- ##
2150 ## File substitutions. ##
2151 ## ------------------- ##
2154 for ac_var in $ac_subst_files
2156 eval ac_val=\$$ac_var
2158 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 $as_echo "$ac_var='\''$ac_val'\''"
2165 if test -s confdefs.h; then
2175 test "$ac_signal" != 0 &&
2176 $as_echo "$as_me: caught signal $ac_signal"
2177 $as_echo "$as_me: exit $exit_status"
2179 rm -f core *.core core.conftest.* &&
2180 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2183 for ac_signal in 1 2 13 15; do
2184 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2188 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2189 rm -f -r conftest* confdefs.h
2191 $as_echo "/* confdefs.h */" > confdefs.h
2193 # Predefined preprocessor variables.
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_NAME "$PACKAGE_NAME"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_STRING "$PACKAGE_STRING"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_URL "$PACKAGE_URL"
2220 # Let the site file select an alternate cache file if it wants to.
2221 # Prefer an explicitly selected file to automatically selected ones.
2224 if test -n "$CONFIG_SITE"; then
2225 ac_site_file1=$CONFIG_SITE
2226 elif test "x$prefix" != xNONE; then
2227 ac_site_file1=$prefix/share/config.site
2228 ac_site_file2=$prefix/etc/config.site
2230 ac_site_file1=$ac_default_prefix/share/config.site
2231 ac_site_file2=$ac_default_prefix/etc/config.site
2233 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2235 test "x$ac_site_file" = xNONE && continue
2236 if test -r "$ac_site_file"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2238 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2239 sed 's/^/| /' "$ac_site_file" >&5
2244 if test -r "$cache_file"; then
2245 # Some versions of bash will fail to source /dev/null (special
2246 # files actually), so we avoid doing that.
2247 if test -f "$cache_file"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2249 $as_echo "$as_me: loading cache $cache_file" >&6;}
2251 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2252 *) . "./$cache_file";;
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2257 $as_echo "$as_me: creating cache $cache_file" >&6;}
2261 # Check that the precious variables saved in the cache have kept the same
2263 ac_cache_corrupted=false
2264 for ac_var in $ac_precious_vars; do
2265 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2266 eval ac_new_set=\$ac_env_${ac_var}_set
2267 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2268 eval ac_new_val=\$ac_env_${ac_var}_value
2269 case $ac_old_set,$ac_new_set in
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2272 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2273 ac_cache_corrupted=: ;;
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2276 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2277 ac_cache_corrupted=: ;;
2280 if test "x$ac_old_val" != "x$ac_new_val"; then
2281 # differences in whitespace do not lead to failure.
2282 ac_old_val_w=`echo x $ac_old_val`
2283 ac_new_val_w=`echo x $ac_new_val`
2284 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2286 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2287 ac_cache_corrupted=:
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2290 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2291 eval $ac_var=\$ac_old_val
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2294 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2296 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2299 # Pass precious variables to config.status.
2300 if test "$ac_new_set" = set; then
2302 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2303 *) ac_arg=$ac_var=$ac_new_val ;;
2305 case " $ac_configure_args " in
2306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2307 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2311 if $ac_cache_corrupted; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2315 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2316 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2318 ## -------------------- ##
2319 ## Main body of script. ##
2320 ## -------------------- ##
2323 ac_cpp='$CPP $CPPFLAGS'
2324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2335 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2336 for ac_t in install-sh install.sh shtool; do
2337 if test -f "$ac_dir/$ac_t"; then
2339 ac_install_sh="$ac_aux_dir/$ac_t -c"
2344 if test -z "$ac_aux_dir"; then
2345 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2348 # These three variables are undocumented and unsupported,
2349 # and are intended to be withdrawn in a future Autoconf release.
2350 # They can cause serious problems if a builder's source tree is in a directory
2351 # whose full name contains unusual characters.
2352 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2353 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2354 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2357 # Make sure we can run config.sub.
2358 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2359 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2362 $as_echo_n "checking build system type... " >&6; }
2363 if test "${ac_cv_build+set}" = set; then :
2364 $as_echo_n "(cached) " >&6
2366 ac_build_alias=$build_alias
2367 test "x$ac_build_alias" = x &&
2368 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2369 test "x$ac_build_alias" = x &&
2370 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2371 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2372 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2376 $as_echo "$ac_cv_build" >&6; }
2377 case $ac_cv_build in
2379 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2382 ac_save_IFS=$IFS; IFS='-'
2388 # Remember, the first character of IFS is used to create $*,
2389 # except with old shells:
2392 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2396 $as_echo_n "checking host system type... " >&6; }
2397 if test "${ac_cv_host+set}" = set; then :
2398 $as_echo_n "(cached) " >&6
2400 if test "x$host_alias" = x; then
2401 ac_cv_host=$ac_cv_build
2403 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2404 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2409 $as_echo "$ac_cv_host" >&6; }
2412 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2415 ac_save_IFS=$IFS; IFS='-'
2421 # Remember, the first character of IFS is used to create $*,
2422 # except with old shells:
2425 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2429 $as_echo_n "checking target system type... " >&6; }
2430 if test "${ac_cv_target+set}" = set; then :
2431 $as_echo_n "(cached) " >&6
2433 if test "x$target_alias" = x; then
2434 ac_cv_target=$ac_cv_host
2436 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2437 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2442 $as_echo "$ac_cv_target" >&6; }
2443 case $ac_cv_target in
2445 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2447 target=$ac_cv_target
2448 ac_save_IFS=$IFS; IFS='-'
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2458 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2461 # The aliases save the names the user supplied, while $host etc.
2462 # will get canonicalized.
2463 test -n "$target_alias" &&
2464 test "$program_prefix$program_suffix$program_transform_name" = \
2466 program_prefix=${target_alias}-
2468 ac_cpp='$CPP $CPPFLAGS'
2469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2472 if test -n "$ac_tool_prefix"; then
2473 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2474 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2476 $as_echo_n "checking for $ac_word... " >&6; }
2477 if test "${ac_cv_prog_CC+set}" = set; then :
2478 $as_echo_n "(cached) " >&6
2480 if test -n "$CC"; then
2481 ac_cv_prog_CC="$CC" # Let the user override the test.
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 if test -n "$CC"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2503 $as_echo "$CC" >&6; }
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2506 $as_echo "no" >&6; }
2511 if test -z "$ac_cv_prog_CC"; then
2513 # Extract the first word of "gcc", so it can be a program name with args.
2514 set dummy gcc; ac_word=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$ac_ct_CC"; then
2521 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2530 ac_cv_prog_ac_ct_CC="gcc"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2541 if test -n "$ac_ct_CC"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2543 $as_echo "$ac_ct_CC" >&6; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2549 if test "x$ac_ct_CC" = x; then
2552 case $cross_compiling:$ac_tool_warned in
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2556 ac_tool_warned=yes ;;
2564 if test -z "$CC"; then
2565 if test -n "$ac_tool_prefix"; then
2566 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2567 set dummy ${ac_tool_prefix}cc; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_CC+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$CC"; then
2574 ac_cv_prog_CC="$CC" # Let the user override the test.
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_CC="${ac_tool_prefix}cc"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test -n "$CC"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2596 $as_echo "$CC" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2605 if test -z "$CC"; then
2606 # Extract the first word of "cc", so it can be a program name with args.
2607 set dummy cc; ac_word=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if test "${ac_cv_prog_CC+set}" = set; then :
2611 $as_echo_n "(cached) " >&6
2613 if test -n "$CC"; then
2614 ac_cv_prog_CC="$CC" # Let the user override the test.
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 for ac_exec_ext in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2625 ac_prog_rejected=yes
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 if test $ac_prog_rejected = yes; then
2637 # We found a bogon in the path, so make sure we never use it.
2638 set dummy $ac_cv_prog_CC
2640 if test $# != 0; then
2641 # We chose a different compiler from the bogus one.
2642 # However, it has the same basename, so the bogon will be chosen
2643 # first if we set CC to just the basename; use the full file name.
2645 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2651 if test -n "$CC"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2653 $as_echo "$CC" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656 $as_echo "no" >&6; }
2661 if test -z "$CC"; then
2662 if test -n "$ac_tool_prefix"; then
2663 for ac_prog in cl.exe
2665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if test "${ac_cv_prog_CC+set}" = set; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 if test -n "$CC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2695 $as_echo "$CC" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2702 test -n "$CC" && break
2705 if test -z "$CC"; then
2707 for ac_prog in cl.exe
2709 # Extract the first word of "$ac_prog", so it can be a program name with args.
2710 set dummy $ac_prog; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$ac_ct_CC"; then
2717 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir=.
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 ac_cv_prog_ac_ct_CC="$ac_prog"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2737 if test -n "$ac_ct_CC"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2739 $as_echo "$ac_ct_CC" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2746 test -n "$ac_ct_CC" && break
2749 if test "x$ac_ct_CC" = x; then
2752 case $cross_compiling:$ac_tool_warned in
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2756 ac_tool_warned=yes ;;
2765 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2767 as_fn_error "no acceptable C compiler found in \$PATH
2768 See \`config.log' for more details." "$LINENO" 5; }
2770 # Provide some information about the compiler.
2771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2774 for ac_option in --version -v -V -qversion; do
2775 { { ac_try="$ac_compiler $ac_option >&5"
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2781 $as_echo "$ac_try_echo"; } >&5
2782 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2784 if test -s conftest.err; then
2786 ... rest of stderr output deleted ...
2787 10q' conftest.err >conftest.er1
2788 cat conftest.er1 >&5
2789 rm -f conftest.er1 conftest.err
2791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792 test $ac_status = 0; }
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2806 ac_clean_files_save=$ac_clean_files
2807 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2808 # Try to create an executable without -o first, disregard a.out.
2809 # It will help us diagnose broken compilers, and finding out an intuition
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2812 $as_echo_n "checking for C compiler default output file name... " >&6; }
2813 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2815 # The possible output files:
2816 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2819 for ac_file in $ac_files
2822 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2823 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2828 if { { ac_try="$ac_link_default"
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2834 $as_echo "$ac_try_echo"; } >&5
2835 (eval "$ac_link_default") 2>&5
2837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2838 test $ac_status = 0; }; then :
2839 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2840 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2841 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2842 # so that the user can short-circuit this test for compilers unknown to
2844 for ac_file in $ac_files ''
2846 test -f "$ac_file" || continue
2848 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2851 # We found the default executable, but exeext='' is most
2855 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2857 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2859 # We set ac_cv_exeext here because the later test for it is not
2860 # safe: cross compilers may not add the suffix if given an `-o'
2861 # argument, so we may need to know it at that point already.
2862 # Even if this section looks crufty: it has the advantage of
2869 test "$ac_cv_exeext" = no && ac_cv_exeext=
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2875 $as_echo "$ac_file" >&6; }
2876 if test -z "$ac_file"; then :
2877 $as_echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.$ac_ext >&5
2880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 { as_fn_set_status 77
2883 as_fn_error "C compiler cannot create executables
2884 See \`config.log' for more details." "$LINENO" 5; }; }
2886 ac_exeext=$ac_cv_exeext
2888 # Check that the compiler produces executables we can run. If not, either
2889 # the compiler is broken, or we cross compile.
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2891 $as_echo_n "checking whether the C compiler works... " >&6; }
2892 # If not cross compiling, check that we can run a simple program.
2893 if test "$cross_compiling" != yes; then
2894 if { ac_try='./$ac_file'
2895 { { case "(($ac_try" in
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2900 $as_echo "$ac_try_echo"; } >&5
2901 (eval "$ac_try") 2>&5
2903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2904 test $ac_status = 0; }; }; then
2907 if test "$cross_compiling" = maybe; then
2910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912 as_fn_error "cannot run C compiled programs.
2913 If you meant to cross compile, use \`--host'.
2914 See \`config.log' for more details." "$LINENO" 5; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2919 $as_echo "yes" >&6; }
2921 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2922 ac_clean_files=$ac_clean_files_save
2923 # Check that the compiler produces executables we can run. If not, either
2924 # the compiler is broken, or we cross compile.
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2926 $as_echo_n "checking whether we are cross compiling... " >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2928 $as_echo "$cross_compiling" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2931 $as_echo_n "checking for suffix of executables... " >&6; }
2932 if { { ac_try="$ac_link"
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2938 $as_echo "$ac_try_echo"; } >&5
2939 (eval "$ac_link") 2>&5
2941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942 test $ac_status = 0; }; then :
2943 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2944 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2945 # work properly (i.e., refer to `conftest.exe'), while it won't with
2947 for ac_file in conftest.exe conftest conftest.*; do
2948 test -f "$ac_file" || continue
2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2951 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2959 as_fn_error "cannot compute suffix of executables: cannot compile and link
2960 See \`config.log' for more details." "$LINENO" 5; }
2962 rm -f conftest$ac_cv_exeext
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2964 $as_echo "$ac_cv_exeext" >&6; }
2966 rm -f conftest.$ac_ext
2967 EXEEXT=$ac_cv_exeext
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2970 $as_echo_n "checking for suffix of object files... " >&6; }
2971 if test "${ac_cv_objext+set}" = set; then :
2972 $as_echo_n "(cached) " >&6
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2985 rm -f conftest.o conftest.obj
2986 if { { ac_try="$ac_compile"
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2992 $as_echo "$ac_try_echo"; } >&5
2993 (eval "$ac_compile") 2>&5
2995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; }; then :
2997 for ac_file in conftest.o conftest.obj conftest.*; do
2998 test -f "$ac_file" || continue;
3000 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3001 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3006 $as_echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 as_fn_error "cannot compute suffix of object files: cannot compile
3012 See \`config.log' for more details." "$LINENO" 5; }
3014 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3017 $as_echo "$ac_cv_objext" >&6; }
3018 OBJEXT=$ac_cv_objext
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3021 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3022 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3023 $as_echo_n "(cached) " >&6
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3039 if ac_fn_c_try_compile "$LINENO"; then :
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3049 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3050 if test $ac_compiler_gnu = yes; then
3055 ac_test_CFLAGS=${CFLAGS+set}
3056 ac_save_CFLAGS=$CFLAGS
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3058 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3059 if test "${ac_cv_prog_cc_g+set}" = set; then :
3060 $as_echo_n "(cached) " >&6
3062 ac_save_c_werror_flag=$ac_c_werror_flag
3063 ac_c_werror_flag=yes
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3077 if ac_fn_c_try_compile "$LINENO"; then :
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3092 if ac_fn_c_try_compile "$LINENO"; then :
3095 ac_c_werror_flag=$ac_save_c_werror_flag
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3108 if ac_fn_c_try_compile "$LINENO"; then :
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 ac_c_werror_flag=$ac_save_c_werror_flag
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3119 $as_echo "$ac_cv_prog_cc_g" >&6; }
3120 if test "$ac_test_CFLAGS" = set; then
3121 CFLAGS=$ac_save_CFLAGS
3122 elif test $ac_cv_prog_cc_g = yes; then
3123 if test "$GCC" = yes; then
3129 if test "$GCC" = yes; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3136 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3137 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 ac_cv_prog_cc_c89=no
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3146 #include <sys/types.h>
3147 #include <sys/stat.h>
3148 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3149 struct buf { int x; };
3150 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3151 static char *e (p, i)
3157 static char *f (char * (*g) (char **, int), char **p, ...)
3162 s = g (p, va_arg (v,int));
3167 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3168 function prototypes and stuff, but not '\xHH' hex character constants.
3169 These don't provoke an error unfortunately, instead are silently treated
3170 as 'x'. The following induces an error, until -std is added to get
3171 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3172 array size at least. It's necessary to write '\x00'==0 to get something
3173 that's true only with -std. */
3174 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3176 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3177 inside strings and character constants. */
3179 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3181 int test (int i, double x);
3182 struct s1 {int (*f) (int a);};
3183 struct s2 {int (*f) (double a);};
3184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3190 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3195 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3196 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3198 CC="$ac_save_CC $ac_arg"
3199 if ac_fn_c_try_compile "$LINENO"; then :
3200 ac_cv_prog_cc_c89=$ac_arg
3202 rm -f core conftest.err conftest.$ac_objext
3203 test "x$ac_cv_prog_cc_c89" != "xno" && break
3205 rm -f conftest.$ac_ext
3210 case "x$ac_cv_prog_cc_c89" in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3213 $as_echo "none needed" >&6; } ;;
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3216 $as_echo "unsupported" >&6; } ;;
3218 CC="$CC $ac_cv_prog_cc_c89"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3222 if test "x$ac_cv_prog_cc_c89" != xno; then :
3227 ac_cpp='$CPP $CPPFLAGS'
3228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3234 $as_echo_n "checking for library containing strerror... " >&6; }
3235 if test "${ac_cv_search_strerror+set}" = set; then :
3236 $as_echo_n "(cached) " >&6
3238 ac_func_search_save_LIBS=$LIBS
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3242 /* Override any GCC internal prototype to avoid an error.
3243 Use char because int might match the return type of a GCC
3244 builtin and then its argument prototype would still apply. */
3257 for ac_lib in '' cposix; do
3258 if test -z "$ac_lib"; then
3259 ac_res="none required"
3262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3264 if ac_fn_c_try_link "$LINENO"; then :
3265 ac_cv_search_strerror=$ac_res
3267 rm -f core conftest.err conftest.$ac_objext \
3269 if test "${ac_cv_search_strerror+set}" = set; then :
3273 if test "${ac_cv_search_strerror+set}" = set; then :
3276 ac_cv_search_strerror=no
3279 LIBS=$ac_func_search_save_LIBS
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3282 $as_echo "$ac_cv_search_strerror" >&6; }
3283 ac_res=$ac_cv_search_strerror
3284 if test "$ac_res" != no; then :
3285 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3290 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3291 am__api_version='1.11'
3293 # Find a good install program. We prefer a C program (faster),
3294 # so one script is as good as another. But avoid the broken or
3295 # incompatible versions:
3296 # SysV /etc/install, /usr/sbin/install
3297 # SunOS /usr/etc/install
3298 # IRIX /sbin/install
3300 # AmigaOS /C/install, which installs bootblocks on floppy discs
3301 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3302 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3303 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3304 # OS/2's system install, which has a completely different semantic
3305 # ./install, which can be erroneously created by make from ./install.sh.
3306 # Reject install programs that cannot install multiple files.
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3308 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3309 if test -z "$INSTALL"; then
3310 if test "${ac_cv_path_install+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir=.
3318 # Account for people who put trailing slashes in PATH elements.
3319 case $as_dir/ in #((
3320 ./ | .// | /[cC]/* | \
3321 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3322 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3325 # OSF1 and SCO ODT 3.0 have their own names for install.
3326 # Don't use installbsd from OSF since it installs stuff as root
3328 for ac_prog in ginstall scoinst install; do
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3331 if test $ac_prog = install &&
3332 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3333 # AIX install. It has an incompatible calling convention.
3335 elif test $ac_prog = install &&
3336 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3337 # program-specific install script used by HP pwplus--don't use.
3340 rm -rf conftest.one conftest.two conftest.dir
3341 echo one > conftest.one
3342 echo two > conftest.two
3344 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3345 test -s conftest.one && test -s conftest.two &&
3346 test -s conftest.dir/conftest.one &&
3347 test -s conftest.dir/conftest.two
3349 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3362 rm -rf conftest.one conftest.two conftest.dir
3365 if test "${ac_cv_path_install+set}" = set; then
3366 INSTALL=$ac_cv_path_install
3368 # As a last resort, use the slow shell script. Don't cache a
3369 # value for INSTALL within a source directory, because that will
3370 # break other packages using the cache if that directory is
3371 # removed, or if the value is a relative name.
3372 INSTALL=$ac_install_sh
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3376 $as_echo "$INSTALL" >&6; }
3378 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3379 # It thinks the first close brace ends the variable substitution.
3380 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3382 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3384 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3387 $as_echo_n "checking whether build environment is sane... " >&6; }
3390 echo timestamp > conftest.file
3391 # Reject unsafe characters in $srcdir or the absolute working directory
3392 # name. Accept space and tab only in the latter.
3396 *[\\\"\#\$\&\'\`$am_lf]*)
3397 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3400 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3401 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3404 # Do `set' in a subshell so we don't clobber the current shell's
3405 # arguments. Must try -L first in case configure is actually a
3406 # symlink; some systems play weird games with the mod time of symlinks
3407 # (eg FreeBSD returns the mod time of the symlink's containing
3410 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3411 if test "$*" = "X"; then
3413 set X `ls -t "$srcdir/configure" conftest.file`
3416 if test "$*" != "X $srcdir/configure conftest.file" \
3417 && test "$*" != "X conftest.file $srcdir/configure"; then
3419 # If neither matched, then we have a broken ls. This can happen
3420 # if, for instance, CONFIG_SHELL is bash and it inherits a
3421 # broken ls alias from the environment. This has actually
3422 # happened. Such a system could not be considered "sane".
3423 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3424 alias in your environment" "$LINENO" 5
3427 test "$2" = conftest.file
3433 as_fn_error "newly created file is older than distributed files!
3434 Check your system clock" "$LINENO" 5
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3437 $as_echo "yes" >&6; }
3438 test "$program_prefix" != NONE &&
3439 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3440 # Use a double $ so make ignores it.
3441 test "$program_suffix" != NONE &&
3442 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3443 # Double any \ or $.
3444 # By default was `s,x,x', remove it if useless.
3445 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3446 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3448 # expand $ac_aux_dir to an absolute path
3449 am_aux_dir=`cd $ac_aux_dir && pwd`
3451 if test x"${MISSING+set}" != xset; then
3454 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3456 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3459 # Use eval to expand $SHELL
3460 if eval "$MISSING --run true"; then
3461 am_missing_run="$MISSING --run "
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3465 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3468 if test x"${install_sh}" != xset; then
3471 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3473 install_sh="\${SHELL} $am_aux_dir/install-sh"
3477 # Installed binaries are usually stripped using `strip' when the user
3478 # run `make install-strip'. However `strip' might not be the right
3479 # tool to use in cross-compilation environments, therefore Automake
3480 # will honor the `STRIP' environment variable to overrule this program.
3481 if test "$cross_compiling" != no; then
3482 if test -n "$ac_tool_prefix"; then
3483 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3484 set dummy ${ac_tool_prefix}strip; ac_word=$2
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3486 $as_echo_n "checking for $ac_word... " >&6; }
3487 if test "${ac_cv_prog_STRIP+set}" = set; then :
3488 $as_echo_n "(cached) " >&6
3490 if test -n "$STRIP"; then
3491 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 STRIP=$ac_cv_prog_STRIP
3511 if test -n "$STRIP"; then
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3513 $as_echo "$STRIP" >&6; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3516 $as_echo "no" >&6; }
3521 if test -z "$ac_cv_prog_STRIP"; then
3523 # Extract the first word of "strip", so it can be a program name with args.
3524 set dummy strip; ac_word=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$ac_ct_STRIP"; then
3531 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_ac_ct_STRIP="strip"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3551 if test -n "$ac_ct_STRIP"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3553 $as_echo "$ac_ct_STRIP" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3559 if test "x$ac_ct_STRIP" = x; then
3562 case $cross_compiling:$ac_tool_warned in
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3566 ac_tool_warned=yes ;;
3571 STRIP="$ac_cv_prog_STRIP"
3575 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3578 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3579 if test -z "$MKDIR_P"; then
3580 if test "${ac_cv_path_mkdir+set}" = set; then :
3581 $as_echo_n "(cached) " >&6
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3587 test -z "$as_dir" && as_dir=.
3588 for ac_prog in mkdir gmkdir; do
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3591 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3592 'mkdir (GNU coreutils) '* | \
3593 'mkdir (coreutils) '* | \
3594 'mkdir (fileutils) '4.1*)
3595 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3605 if test "${ac_cv_path_mkdir+set}" = set; then
3606 MKDIR_P="$ac_cv_path_mkdir -p"
3608 # As a last resort, use the slow shell script. Don't cache a
3609 # value for MKDIR_P within a source directory, because that will
3610 # break other packages using the cache if that directory is
3611 # removed, or if the value is a relative name.
3612 test -d ./--version && rmdir ./--version
3613 MKDIR_P="$ac_install_sh -d"
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3617 $as_echo "$MKDIR_P" >&6; }
3621 [\\/$]* | ?:[\\/]*) ;;
3622 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3625 for ac_prog in gawk mawk nawk awk
3627 # Extract the first word of "$ac_prog", so it can be a program name with args.
3628 set dummy $ac_prog; ac_word=$2
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 $as_echo_n "checking for $ac_word... " >&6; }
3631 if test "${ac_cv_prog_AWK+set}" = set; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -n "$AWK"; then
3635 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir=.
3642 for ac_exec_ext in '' $ac_executable_extensions; do
3643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3644 ac_cv_prog_AWK="$ac_prog"
3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 if test -n "$AWK"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3657 $as_echo "$AWK" >&6; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3664 test -n "$AWK" && break
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3668 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3670 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3671 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3672 $as_echo_n "(cached) " >&6
3674 cat >conftest.make <<\_ACEOF
3677 @echo '@@@%%%=$(MAKE)=@@@%%%'
3679 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3680 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3682 eval ac_cv_prog_make_${ac_make}_set=yes;;
3684 eval ac_cv_prog_make_${ac_make}_set=no;;
3688 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3690 $as_echo "yes" >&6; }
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3695 SET_MAKE="MAKE=${MAKE-make}"
3698 rm -rf .tst 2>/dev/null
3699 mkdir .tst 2>/dev/null
3700 if test -d .tst; then
3705 rmdir .tst 2>/dev/null
3707 DEPDIR="${am__leading_dot}deps"
3709 ac_config_commands="$ac_config_commands depfiles"
3712 am_make=${MAKE-make}
3713 cat > confinc << 'END'
3715 @echo this is the am__doit target
3718 # If we don't find an include directive, just comment out the code.
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3720 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3724 # First try GNU make style include.
3725 echo "include confinc" > confmf
3726 # Ignore all kinds of additional output from `make'.
3727 case `$am_make -s -f confmf 2> /dev/null` in #(
3728 *the\ am__doit\ target*)
3734 # Now try BSD make style include.
3735 if test "$am__include" = "#"; then
3736 echo '.include "confinc"' > confmf
3737 case `$am_make -s -f confmf 2> /dev/null` in #(
3738 *the\ am__doit\ target*)
3739 am__include=.include
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3748 $as_echo "$_am_result" >&6; }
3749 rm -f confinc confmf
3751 # Check whether --enable-dependency-tracking was given.
3752 if test "${enable_dependency_tracking+set}" = set; then :
3753 enableval=$enable_dependency_tracking;
3756 if test "x$enable_dependency_tracking" != xno; then
3757 am_depcomp="$ac_aux_dir/depcomp"
3760 if test "x$enable_dependency_tracking" != xno; then
3769 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3770 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3771 # is not polluted with repeated "-I."
3772 am__isrc=' -I$(srcdir)'
3773 # test to see if srcdir already configured
3774 if test -f $srcdir/config.status; then
3775 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3779 # test whether we have cygpath
3780 if test -z "$CYGPATH_W"; then
3781 if (cygpath --version) >/dev/null 2>/dev/null; then
3782 CYGPATH_W='cygpath -w'
3789 # Define the identity of the package.
3791 VERSION=${BFD_VERSION}
3794 cat >>confdefs.h <<_ACEOF
3795 #define PACKAGE "$PACKAGE"
3799 cat >>confdefs.h <<_ACEOF
3800 #define VERSION "$VERSION"
3803 # Some tools Automake needs.
3805 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3808 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3811 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3814 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3817 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3819 # We need awk for the "check" target. The system "awk" is bad on
3821 # Always define AMTAR for backward compatibility.
3823 AMTAR=${AMTAR-"${am_missing_run}tar"}
3825 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3830 depcc="$CC" am_compiler_list=
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3833 $as_echo_n "checking dependency style of $depcc... " >&6; }
3834 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3838 # We make a subdir and do the tests there. Otherwise we can end up
3839 # making bogus files that we don't know about and never remove. For
3840 # instance it was reported that on HP-UX the gcc test will end up
3841 # making a dummy file named `D' -- because `-MD' means `put the output
3844 # Copy depcomp to subdir because otherwise we won't find it if we're
3845 # using a relative directory.
3846 cp "$am_depcomp" conftest.dir
3848 # We will build objects and dependencies in a subdirectory because
3849 # it helps to detect inapplicable dependency modes. For instance
3850 # both Tru64's cc and ICC support -MD to output dependencies as a
3851 # side effect of compilation, but ICC will put the dependencies in
3852 # the current directory while Tru64 will put them in the object
3856 am_cv_CC_dependencies_compiler_type=none
3857 if test "$am_compiler_list" = ""; then
3858 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3861 case " $depcc " in #(
3862 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3865 for depmode in $am_compiler_list; do
3866 # Setup a source with many dependencies, because some compilers
3867 # like to wrap large dependency lists on column 80 (with \), and
3868 # we should not choose a depcomp mode which is confused by this.
3870 # We need to recreate these files for each test, as the compiler may
3871 # overwrite some of them when testing with obscure command lines.
3872 # This happens at least with the AIX C compiler.
3874 for i in 1 2 3 4 5 6; do
3875 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3876 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3877 # Solaris 8's {/usr,}/bin/sh.
3878 touch sub/conftst$i.h
3880 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3882 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3883 # mode. It turns out that the SunPro C++ compiler does not properly
3884 # handle `-M -o', and we need to detect this. Also, some Intel
3885 # versions had trouble with output in subdirs
3886 am__obj=sub/conftest.${OBJEXT-o}
3887 am__minus_obj="-o $am__obj"
3890 # This depmode causes a compiler race in universal mode.
3891 test "$am__universal" = false || continue
3894 # after this tag, mechanisms are not by side-effect, so they'll
3895 # only be used when explicitly requested
3896 if test "x$enable_dependency_tracking" = xyes; then
3902 msvisualcpp | msvcmsys)
3903 # This compiler won't grok `-c -o', but also, the minuso test has
3904 # not run yet. These depmodes are late enough in the game, and
3905 # so weak that their functioning should not be impacted.
3906 am__obj=conftest.${OBJEXT-o}
3911 if depmode=$depmode \
3912 source=sub/conftest.c object=$am__obj \
3913 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3914 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3915 >/dev/null 2>conftest.err &&
3916 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3917 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3918 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3919 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3920 # icc doesn't choke on unknown options, it will just issue warnings
3921 # or remarks (even with -Werror). So we grep stderr for any message
3922 # that says an option was ignored or not supported.
3923 # When given -MP, icc 7.0 and 7.1 complain thusly:
3924 # icc: Command line warning: ignoring option '-M'; no argument required
3925 # The diagnosis changed in icc 8.0:
3926 # icc: Command line remark: option '-MP' not supported
3927 if (grep 'ignoring option' conftest.err ||
3928 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3929 am_cv_CC_dependencies_compiler_type=$depmode
3938 am_cv_CC_dependencies_compiler_type=none
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3943 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3944 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3947 test "x$enable_dependency_tracking" != xno \
3948 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3950 am__fastdepCC_FALSE='#'
3952 am__fastdepCC_TRUE='#'
3953 am__fastdepCC_FALSE=
3959 ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
3963 ac_cpp='$CPP $CPPFLAGS'
3964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3967 if test -n "$ac_tool_prefix"; then
3968 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3969 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3971 $as_echo_n "checking for $ac_word... " >&6; }
3972 if test "${ac_cv_prog_CC+set}" = set; then :
3973 $as_echo_n "(cached) " >&6
3975 if test -n "$CC"; then
3976 ac_cv_prog_CC="$CC" # Let the user override the test.
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 test -z "$as_dir" && as_dir=.
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3985 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 if test -n "$CC"; then
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3998 $as_echo "$CC" >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4006 if test -z "$ac_cv_prog_CC"; then
4008 # Extract the first word of "gcc", so it can be a program name with args.
4009 set dummy gcc; ac_word=$2
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011 $as_echo_n "checking for $ac_word... " >&6; }
4012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4013 $as_echo_n "(cached) " >&6
4015 if test -n "$ac_ct_CC"; then
4016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir=.
4023 for ac_exec_ext in '' $ac_executable_extensions; do
4024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4025 ac_cv_prog_ac_ct_CC="gcc"
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4036 if test -n "$ac_ct_CC"; then
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4038 $as_echo "$ac_ct_CC" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4044 if test "x$ac_ct_CC" = x; then
4047 case $cross_compiling:$ac_tool_warned in
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4051 ac_tool_warned=yes ;;
4059 if test -z "$CC"; then
4060 if test -n "$ac_tool_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4062 set dummy ${ac_tool_prefix}cc; ac_word=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if test "${ac_cv_prog_CC+set}" = set; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -n "$CC"; then
4069 ac_cv_prog_CC="$CC" # Let the user override the test.
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4078 ac_cv_prog_CC="${ac_tool_prefix}cc"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 if test -n "$CC"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4091 $as_echo "$CC" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4100 if test -z "$CC"; then
4101 # Extract the first word of "cc", so it can be a program name with args.
4102 set dummy cc; ac_word=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if test "${ac_cv_prog_CC+set}" = set; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -n "$CC"; then
4109 ac_cv_prog_CC="$CC" # Let the user override the test.
4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116 test -z "$as_dir" && as_dir=.
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4120 ac_prog_rejected=yes
4124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4131 if test $ac_prog_rejected = yes; then
4132 # We found a bogon in the path, so make sure we never use it.
4133 set dummy $ac_cv_prog_CC
4135 if test $# != 0; then
4136 # We chose a different compiler from the bogus one.
4137 # However, it has the same basename, so the bogon will be chosen
4138 # first if we set CC to just the basename; use the full file name.
4140 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4146 if test -n "$CC"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4148 $as_echo "$CC" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4156 if test -z "$CC"; then
4157 if test -n "$ac_tool_prefix"; then
4158 for ac_prog in cl.exe
4160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; }
4164 if test "${ac_cv_prog_CC+set}" = set; then :
4165 $as_echo_n "(cached) " >&6
4167 if test -n "$CC"; then
4168 ac_cv_prog_CC="$CC" # Let the user override the test.
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir=.
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 if test -n "$CC"; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4190 $as_echo "$CC" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193 $as_echo "no" >&6; }
4197 test -n "$CC" && break
4200 if test -z "$CC"; then
4202 for ac_prog in cl.exe
4204 # Extract the first word of "$ac_prog", so it can be a program name with args.
4205 set dummy $ac_prog; ac_word=$2
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207 $as_echo_n "checking for $ac_word... " >&6; }
4208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -n "$ac_ct_CC"; then
4212 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 test -z "$as_dir" && as_dir=.
4219 for ac_exec_ext in '' $ac_executable_extensions; do
4220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4221 ac_cv_prog_ac_ct_CC="$ac_prog"
4222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4232 if test -n "$ac_ct_CC"; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4234 $as_echo "$ac_ct_CC" >&6; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4241 test -n "$ac_ct_CC" && break
4244 if test "x$ac_ct_CC" = x; then
4247 case $cross_compiling:$ac_tool_warned in
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4251 ac_tool_warned=yes ;;
4260 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 as_fn_error "no acceptable C compiler found in \$PATH
4263 See \`config.log' for more details." "$LINENO" 5; }
4265 # Provide some information about the compiler.
4266 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4269 for ac_option in --version -v -V -qversion; do
4270 { { ac_try="$ac_compiler $ac_option >&5"
4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4276 $as_echo "$ac_try_echo"; } >&5
4277 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4279 if test -s conftest.err; then
4281 ... rest of stderr output deleted ...
4282 10q' conftest.err >conftest.er1
4283 cat conftest.er1 >&5
4284 rm -f conftest.er1 conftest.err
4286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4287 test $ac_status = 0; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4291 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4292 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4293 $as_echo_n "(cached) " >&6
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4309 if ac_fn_c_try_compile "$LINENO"; then :
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4319 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4320 if test $ac_compiler_gnu = yes; then
4325 ac_test_CFLAGS=${CFLAGS+set}
4326 ac_save_CFLAGS=$CFLAGS
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4328 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4329 if test "${ac_cv_prog_cc_g+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4332 ac_save_c_werror_flag=$ac_c_werror_flag
4333 ac_c_werror_flag=yes
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4347 if ac_fn_c_try_compile "$LINENO"; then :
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4362 if ac_fn_c_try_compile "$LINENO"; then :
4365 ac_c_werror_flag=$ac_save_c_werror_flag
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4378 if ac_fn_c_try_compile "$LINENO"; then :
4381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4386 ac_c_werror_flag=$ac_save_c_werror_flag
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4389 $as_echo "$ac_cv_prog_cc_g" >&6; }
4390 if test "$ac_test_CFLAGS" = set; then
4391 CFLAGS=$ac_save_CFLAGS
4392 elif test $ac_cv_prog_cc_g = yes; then
4393 if test "$GCC" = yes; then
4399 if test "$GCC" = yes; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4406 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4407 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4408 $as_echo_n "(cached) " >&6
4410 ac_cv_prog_cc_c89=no
4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4416 #include <sys/types.h>
4417 #include <sys/stat.h>
4418 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4419 struct buf { int x; };
4420 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4421 static char *e (p, i)
4427 static char *f (char * (*g) (char **, int), char **p, ...)
4432 s = g (p, va_arg (v,int));
4437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4438 function prototypes and stuff, but not '\xHH' hex character constants.
4439 These don't provoke an error unfortunately, instead are silently treated
4440 as 'x'. The following induces an error, until -std is added to get
4441 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4442 array size at least. It's necessary to write '\x00'==0 to get something
4443 that's true only with -std. */
4444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4446 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4447 inside strings and character constants. */
4449 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4451 int test (int i, double x);
4452 struct s1 {int (*f) (int a);};
4453 struct s2 {int (*f) (double a);};
4454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4460 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4465 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4466 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4468 CC="$ac_save_CC $ac_arg"
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470 ac_cv_prog_cc_c89=$ac_arg
4472 rm -f core conftest.err conftest.$ac_objext
4473 test "x$ac_cv_prog_cc_c89" != "xno" && break
4475 rm -f conftest.$ac_ext
4480 case "x$ac_cv_prog_cc_c89" in
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4483 $as_echo "none needed" >&6; } ;;
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4486 $as_echo "unsupported" >&6; } ;;
4488 CC="$CC $ac_cv_prog_cc_c89"
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4490 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4492 if test "x$ac_cv_prog_cc_c89" != xno; then :
4497 ac_cpp='$CPP $CPPFLAGS'
4498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4503 ac_cpp='$CPP $CPPFLAGS'
4504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4508 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4509 # On Suns, sometimes $CPP names a directory.
4510 if test -n "$CPP" && test -d "$CPP"; then
4513 if test -z "$CPP"; then
4514 if test "${ac_cv_prog_CPP+set}" = set; then :
4515 $as_echo_n "(cached) " >&6
4517 # Double quotes because CPP needs to be expanded
4518 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4521 for ac_c_preproc_warn_flag in '' yes
4523 # Use a header file that comes with gcc, so configuring glibc
4524 # with a fresh cross-compiler works.
4525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4526 # <limits.h> exists even on freestanding compilers.
4527 # On the NeXT, cc -E runs the code through the compiler's parser,
4528 # not just through cpp. "Syntax error" is here to catch this case.
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4532 # include <limits.h>
4534 # include <assert.h>
4538 if ac_fn_c_try_cpp "$LINENO"; then :
4541 # Broken: fails on valid input.
4544 rm -f conftest.err conftest.$ac_ext
4546 # OK, works on sane cases. Now check whether nonexistent headers
4547 # can be detected and how.
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4550 #include <ac_nonexistent.h>
4552 if ac_fn_c_try_cpp "$LINENO"; then :
4553 # Broken: success on invalid input.
4556 # Passes both tests.
4560 rm -f conftest.err conftest.$ac_ext
4563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4564 rm -f conftest.err conftest.$ac_ext
4565 if $ac_preproc_ok; then :
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4578 $as_echo "$CPP" >&6; }
4580 for ac_c_preproc_warn_flag in '' yes
4582 # Use a header file that comes with gcc, so configuring glibc
4583 # with a fresh cross-compiler works.
4584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4585 # <limits.h> exists even on freestanding compilers.
4586 # On the NeXT, cc -E runs the code through the compiler's parser,
4587 # not just through cpp. "Syntax error" is here to catch this case.
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4591 # include <limits.h>
4593 # include <assert.h>
4597 if ac_fn_c_try_cpp "$LINENO"; then :
4600 # Broken: fails on valid input.
4603 rm -f conftest.err conftest.$ac_ext
4605 # OK, works on sane cases. Now check whether nonexistent headers
4606 # can be detected and how.
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4609 #include <ac_nonexistent.h>
4611 if ac_fn_c_try_cpp "$LINENO"; then :
4612 # Broken: success on invalid input.
4615 # Passes both tests.
4619 rm -f conftest.err conftest.$ac_ext
4622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4623 rm -f conftest.err conftest.$ac_ext
4624 if $ac_preproc_ok; then :
4627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4629 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4630 See \`config.log' for more details." "$LINENO" 5; }
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4641 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4642 if test "${ac_cv_path_GREP+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -z "$GREP"; then
4646 ac_path_GREP_found=false
4647 # Loop through the user's path and test for each of PROGNAME-LIST
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4652 test -z "$as_dir" && as_dir=.
4653 for ac_prog in grep ggrep; do
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4656 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4657 # Check for GNU ac_path_GREP and select it if it is found.
4658 # Check for GNU $ac_path_GREP
4659 case `"$ac_path_GREP" --version 2>&1` in
4661 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4664 $as_echo_n 0123456789 >"conftest.in"
4667 cat "conftest.in" "conftest.in" >"conftest.tmp"
4668 mv "conftest.tmp" "conftest.in"
4669 cp "conftest.in" "conftest.nl"
4670 $as_echo 'GREP' >> "conftest.nl"
4671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4673 as_fn_arith $ac_count + 1 && ac_count=$as_val
4674 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4675 # Best one so far, save it but keep looking for a better one
4676 ac_cv_path_GREP="$ac_path_GREP"
4677 ac_path_GREP_max=$ac_count
4679 # 10*(2^10) chars as input seems more than enough
4680 test $ac_count -gt 10 && break
4682 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4685 $ac_path_GREP_found && break 3
4690 if test -z "$ac_cv_path_GREP"; then
4691 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4694 ac_cv_path_GREP=$GREP
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4699 $as_echo "$ac_cv_path_GREP" >&6; }
4700 GREP="$ac_cv_path_GREP"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4704 $as_echo_n "checking for egrep... " >&6; }
4705 if test "${ac_cv_path_EGREP+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4708 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4709 then ac_cv_path_EGREP="$GREP -E"
4711 if test -z "$EGREP"; then
4712 ac_path_EGREP_found=false
4713 # Loop through the user's path and test for each of PROGNAME-LIST
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4718 test -z "$as_dir" && as_dir=.
4719 for ac_prog in egrep; do
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4722 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4723 # Check for GNU ac_path_EGREP and select it if it is found.
4724 # Check for GNU $ac_path_EGREP
4725 case `"$ac_path_EGREP" --version 2>&1` in
4727 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4730 $as_echo_n 0123456789 >"conftest.in"
4733 cat "conftest.in" "conftest.in" >"conftest.tmp"
4734 mv "conftest.tmp" "conftest.in"
4735 cp "conftest.in" "conftest.nl"
4736 $as_echo 'EGREP' >> "conftest.nl"
4737 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4739 as_fn_arith $ac_count + 1 && ac_count=$as_val
4740 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4741 # Best one so far, save it but keep looking for a better one
4742 ac_cv_path_EGREP="$ac_path_EGREP"
4743 ac_path_EGREP_max=$ac_count
4745 # 10*(2^10) chars as input seems more than enough
4746 test $ac_count -gt 10 && break
4748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4751 $ac_path_EGREP_found && break 3
4756 if test -z "$ac_cv_path_EGREP"; then
4757 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4760 ac_cv_path_EGREP=$EGREP
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4766 $as_echo "$ac_cv_path_EGREP" >&6; }
4767 EGREP="$ac_cv_path_EGREP"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4771 $as_echo_n "checking for ANSI C header files... " >&6; }
4772 if test "${ac_cv_header_stdc+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4790 if ac_fn_c_try_compile "$LINENO"; then :
4791 ac_cv_header_stdc=yes
4793 ac_cv_header_stdc=no
4795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 if test $ac_cv_header_stdc = yes; then
4798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4805 $EGREP "memchr" >/dev/null 2>&1; then :
4808 ac_cv_header_stdc=no
4814 if test $ac_cv_header_stdc = yes; then
4815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4822 $EGREP "free" >/dev/null 2>&1; then :
4825 ac_cv_header_stdc=no
4831 if test $ac_cv_header_stdc = yes; then
4832 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4833 if test "$cross_compiling" = yes; then :
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4840 #if ((' ' & 0x0FF) == 0x020)
4841 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4842 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4844 # define ISLOWER(c) \
4845 (('a' <= (c) && (c) <= 'i') \
4846 || ('j' <= (c) && (c) <= 'r') \
4847 || ('s' <= (c) && (c) <= 'z'))
4848 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4851 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4856 for (i = 0; i < 256; i++)
4857 if (XOR (islower (i), ISLOWER (i))
4858 || toupper (i) != TOUPPER (i))
4863 if ac_fn_c_try_run "$LINENO"; then :
4866 ac_cv_header_stdc=no
4868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4869 conftest.$ac_objext conftest.beam conftest.$ac_ext
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4875 $as_echo "$ac_cv_header_stdc" >&6; }
4876 if test $ac_cv_header_stdc = yes; then
4878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4882 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4884 inttypes.h stdint.h unistd.h
4886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4889 eval as_val=\$$as_ac_Header
4890 if test "x$as_val" = x""yes; then :
4891 cat >>confdefs.h <<_ACEOF
4892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4901 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4902 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4909 if test "$MINIX" = yes; then
4911 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4914 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4917 $as_echo "#define _MINIX 1" >>confdefs.h
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4923 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4924 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4930 # define __EXTENSIONS__ 1
4931 $ac_includes_default
4940 if ac_fn_c_try_compile "$LINENO"; then :
4941 ac_cv_safe_to_define___extensions__=yes
4943 ac_cv_safe_to_define___extensions__=no
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4948 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4949 test $ac_cv_safe_to_define___extensions__ = yes &&
4950 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4952 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4954 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4956 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4958 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4964 # The tests for host and target for $enable_largefile require
4969 # As the $enable_largefile decision depends on --enable-plugins we must set it
4970 # even in directories otherwise not depending on the $plugins option.
4973 # Check whether --enable-plugins was given.
4974 if test "${enable_plugins+set}" = set; then :
4975 enableval=$enable_plugins; case "${enableval}" in
4976 yes | "") plugins=yes ;;
4987 sparc-*-solaris*|i[3-7]86-*-solaris*)
4988 # On native 32bit sparc and ia32 solaris, large-file and procfs support
4989 # are mutually exclusive; and without procfs support, the bfd/ elf module
4990 # cannot provide certain routines such as elfcore_write_prpsinfo
4991 # or elfcore_write_prstatus. So unless the user explicitly requested
4992 # large-file support through the --enable-largefile switch, disable
4993 # large-file support in favor of procfs support.
4994 test "${target}" = "${host}" -a "x$plugins" = xno \
4995 && : ${enable_largefile="no"}
4999 # Check whether --enable-largefile was given.
5000 if test "${enable_largefile+set}" = set; then :
5001 enableval=$enable_largefile;
5004 if test "$enable_largefile" != no; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5007 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5008 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5009 $as_echo_n "(cached) " >&6
5011 ac_cv_sys_largefile_CC=no
5012 if test "$GCC" != yes; then
5015 # IRIX 6.2 and later do not support large files by default,
5016 # so use the C compiler's -n32 option if that helps.
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5019 #include <sys/types.h>
5020 /* Check that off_t can represent 2**63 - 1 correctly.
5021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5022 since some C++ compilers masquerading as C compilers
5023 incorrectly reject 9223372036854775807. */
5024 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5026 && LARGE_OFF_T % 2147483647 == 1)
5036 if ac_fn_c_try_compile "$LINENO"; then :
5039 rm -f core conftest.err conftest.$ac_objext
5041 if ac_fn_c_try_compile "$LINENO"; then :
5042 ac_cv_sys_largefile_CC=' -n32'; break
5044 rm -f core conftest.err conftest.$ac_objext
5048 rm -f conftest.$ac_ext
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5052 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5053 if test "$ac_cv_sys_largefile_CC" != no; then
5054 CC=$CC$ac_cv_sys_largefile_CC
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5058 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5059 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5060 $as_echo_n "(cached) " >&6
5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5065 #include <sys/types.h>
5066 /* Check that off_t can represent 2**63 - 1 correctly.
5067 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5068 since some C++ compilers masquerading as C compilers
5069 incorrectly reject 9223372036854775807. */
5070 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5071 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5072 && LARGE_OFF_T % 2147483647 == 1)
5082 if ac_fn_c_try_compile "$LINENO"; then :
5083 ac_cv_sys_file_offset_bits=no; break
5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5088 #define _FILE_OFFSET_BITS 64
5089 #include <sys/types.h>
5090 /* Check that off_t can represent 2**63 - 1 correctly.
5091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5092 since some C++ compilers masquerading as C compilers
5093 incorrectly reject 9223372036854775807. */
5094 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5096 && LARGE_OFF_T % 2147483647 == 1)
5106 if ac_fn_c_try_compile "$LINENO"; then :
5107 ac_cv_sys_file_offset_bits=64; break
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5110 ac_cv_sys_file_offset_bits=unknown
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5115 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5116 case $ac_cv_sys_file_offset_bits in #(
5119 cat >>confdefs.h <<_ACEOF
5120 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5125 if test $ac_cv_sys_file_offset_bits = unknown; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5127 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5128 if test "${ac_cv_sys_large_files+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5134 #include <sys/types.h>
5135 /* Check that off_t can represent 2**63 - 1 correctly.
5136 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5137 since some C++ compilers masquerading as C compilers
5138 incorrectly reject 9223372036854775807. */
5139 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5140 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5141 && LARGE_OFF_T % 2147483647 == 1)
5151 if ac_fn_c_try_compile "$LINENO"; then :
5152 ac_cv_sys_large_files=no; break
5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5157 #define _LARGE_FILES 1
5158 #include <sys/types.h>
5159 /* Check that off_t can represent 2**63 - 1 correctly.
5160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5161 since some C++ compilers masquerading as C compilers
5162 incorrectly reject 9223372036854775807. */
5163 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5165 && LARGE_OFF_T % 2147483647 == 1)
5175 if ac_fn_c_try_compile "$LINENO"; then :
5176 ac_cv_sys_large_files=1; break
5178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5179 ac_cv_sys_large_files=unknown
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5184 $as_echo "$ac_cv_sys_large_files" >&6; }
5185 case $ac_cv_sys_large_files in #(
5188 cat >>confdefs.h <<_ACEOF
5189 #define _LARGE_FILES $ac_cv_sys_large_files
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5203 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5208 macro_version='2.2.6'
5209 macro_revision='1.3012'
5223 ltmain="$ac_aux_dir/ltmain.sh"
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5226 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5227 if test "${ac_cv_path_SED+set}" = set; then :
5228 $as_echo_n "(cached) " >&6
5230 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5231 for ac_i in 1 2 3 4 5 6 7; do
5232 ac_script="$ac_script$as_nl$ac_script"
5234 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5235 { ac_script=; unset ac_script;}
5236 if test -z "$SED"; then
5237 ac_path_SED_found=false
5238 # Loop through the user's path and test for each of PROGNAME-LIST
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 test -z "$as_dir" && as_dir=.
5244 for ac_prog in sed gsed; do
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5247 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5248 # Check for GNU ac_path_SED and select it if it is found.
5249 # Check for GNU $ac_path_SED
5250 case `"$ac_path_SED" --version 2>&1` in
5252 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5255 $as_echo_n 0123456789 >"conftest.in"
5258 cat "conftest.in" "conftest.in" >"conftest.tmp"
5259 mv "conftest.tmp" "conftest.in"
5260 cp "conftest.in" "conftest.nl"
5261 $as_echo '' >> "conftest.nl"
5262 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5264 as_fn_arith $ac_count + 1 && ac_count=$as_val
5265 if test $ac_count -gt ${ac_path_SED_max-0}; then
5266 # Best one so far, save it but keep looking for a better one
5267 ac_cv_path_SED="$ac_path_SED"
5268 ac_path_SED_max=$ac_count
5270 # 10*(2^10) chars as input seems more than enough
5271 test $ac_count -gt 10 && break
5273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5276 $ac_path_SED_found && break 3
5281 if test -z "$ac_cv_path_SED"; then
5282 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5290 $as_echo "$ac_cv_path_SED" >&6; }
5291 SED="$ac_cv_path_SED"
5294 test -z "$SED" && SED=sed
5295 Xsed="$SED -e 1s/^X//"
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5308 $as_echo_n "checking for fgrep... " >&6; }
5309 if test "${ac_cv_path_FGREP+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5312 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5313 then ac_cv_path_FGREP="$GREP -F"
5315 if test -z "$FGREP"; then
5316 ac_path_FGREP_found=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5322 test -z "$as_dir" && as_dir=.
5323 for ac_prog in fgrep; do
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5326 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5327 # Check for GNU ac_path_FGREP and select it if it is found.
5328 # Check for GNU $ac_path_FGREP
5329 case `"$ac_path_FGREP" --version 2>&1` in
5331 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5334 $as_echo_n 0123456789 >"conftest.in"
5337 cat "conftest.in" "conftest.in" >"conftest.tmp"
5338 mv "conftest.tmp" "conftest.in"
5339 cp "conftest.in" "conftest.nl"
5340 $as_echo 'FGREP' >> "conftest.nl"
5341 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5343 as_fn_arith $ac_count + 1 && ac_count=$as_val
5344 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5345 # Best one so far, save it but keep looking for a better one
5346 ac_cv_path_FGREP="$ac_path_FGREP"
5347 ac_path_FGREP_max=$ac_count
5349 # 10*(2^10) chars as input seems more than enough
5350 test $ac_count -gt 10 && break
5352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5355 $ac_path_FGREP_found && break 3
5360 if test -z "$ac_cv_path_FGREP"; then
5361 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5364 ac_cv_path_FGREP=$FGREP
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5370 $as_echo "$ac_cv_path_FGREP" >&6; }
5371 FGREP="$ac_cv_path_FGREP"
5374 test -z "$GREP" && GREP=grep
5394 # Check whether --with-gnu-ld was given.
5395 if test "${with_gnu_ld+set}" = set; then :
5396 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5402 if test "$GCC" = yes; then
5403 # Check if gcc -print-prog-name=ld gives a path.
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5405 $as_echo_n "checking for ld used by $CC... " >&6; }
5408 # gcc leaves a trailing carriage return which upsets mingw
5409 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5411 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5414 # Accept absolute paths.
5416 re_direlt='/[^/][^/]*/\.\./'
5417 # Canonicalize the pathname of ld
5418 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5419 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5420 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5422 test -z "$LD" && LD="$ac_prog"
5425 # If it fails, then pretend we aren't using GCC.
5429 # If it is relative, then search for the first ld in PATH.
5433 elif test "$with_gnu_ld" = yes; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5435 $as_echo_n "checking for GNU ld... " >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5438 $as_echo_n "checking for non-GNU ld... " >&6; }
5440 if test "${lt_cv_path_LD+set}" = set; then :
5441 $as_echo_n "(cached) " >&6
5443 if test -z "$LD"; then
5444 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5445 for ac_dir in $PATH; do
5447 test -z "$ac_dir" && ac_dir=.
5448 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5449 lt_cv_path_LD="$ac_dir/$ac_prog"
5450 # Check to see if the program is GNU ld. I'd rather use --version,
5451 # but apparently some variants of GNU ld only accept -v.
5452 # Break only if it was the GNU/non-GNU ld that we prefer.
5453 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5454 *GNU* | *'with BFD'*)
5455 test "$with_gnu_ld" != no && break
5458 test "$with_gnu_ld" != yes && break
5465 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5470 if test -n "$LD"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5472 $as_echo "$LD" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5477 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5479 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5480 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5481 $as_echo_n "(cached) " >&6
5483 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5484 case `$LD -v 2>&1 </dev/null` in
5485 *GNU* | *'with BFD'*)
5486 lt_cv_prog_gnu_ld=yes
5489 lt_cv_prog_gnu_ld=no
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5494 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5495 with_gnu_ld=$lt_cv_prog_gnu_ld
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5506 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5507 if test "${lt_cv_path_NM+set}" = set; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$NM"; then
5511 # Let the user override the test.
5514 lt_nm_to_check="${ac_tool_prefix}nm"
5515 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5516 lt_nm_to_check="$lt_nm_to_check nm"
5518 for lt_tmp_nm in $lt_nm_to_check; do
5519 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5520 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5522 test -z "$ac_dir" && ac_dir=.
5523 tmp_nm="$ac_dir/$lt_tmp_nm"
5524 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5525 # Check to see if the nm accepts a BSD-compat flag.
5526 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5527 # nm: unknown option "B" ignored
5528 # Tru64's nm complains that /dev/null is an invalid object file
5529 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5530 */dev/null* | *'Invalid file or object type'*)
5531 lt_cv_path_NM="$tmp_nm -B"
5535 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5537 lt_cv_path_NM="$tmp_nm -p"
5541 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5542 continue # so that we can try to find one that supports BSD flags
5551 : ${lt_cv_path_NM=no}
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5555 $as_echo "$lt_cv_path_NM" >&6; }
5556 if test "$lt_cv_path_NM" != "no"; then
5559 # Didn't find any BSD compatible name lister, look for dumpbin.
5560 if test -n "$ac_tool_prefix"; then
5561 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5564 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$DUMPBIN"; then
5571 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5580 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 DUMPBIN=$ac_cv_prog_DUMPBIN
5591 if test -n "$DUMPBIN"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5593 $as_echo "$DUMPBIN" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5600 test -n "$DUMPBIN" && break
5603 if test -z "$DUMPBIN"; then
5604 ac_ct_DUMPBIN=$DUMPBIN
5605 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5607 # Extract the first word of "$ac_prog", so it can be a program name with args.
5608 set dummy $ac_prog; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$ac_ct_DUMPBIN"; then
5615 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5635 if test -n "$ac_ct_DUMPBIN"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5637 $as_echo "$ac_ct_DUMPBIN" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5644 test -n "$ac_ct_DUMPBIN" && break
5647 if test "x$ac_ct_DUMPBIN" = x; then
5650 case $cross_compiling:$ac_tool_warned in
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5654 ac_tool_warned=yes ;;
5656 DUMPBIN=$ac_ct_DUMPBIN
5661 if test "$DUMPBIN" != ":"; then
5665 test -z "$NM" && NM=nm
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5673 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5674 if test "${lt_cv_nm_interface+set}" = set; then :
5675 $as_echo_n "(cached) " >&6
5677 lt_cv_nm_interface="BSD nm"
5678 echo "int some_variable = 0;" > conftest.$ac_ext
5679 (eval echo "\"\$as_me:5679: $ac_compile\"" >&5)
5680 (eval "$ac_compile" 2>conftest.err)
5681 cat conftest.err >&5
5682 (eval echo "\"\$as_me:5682: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5683 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5684 cat conftest.err >&5
5685 (eval echo "\"\$as_me:5685: output\"" >&5)
5686 cat conftest.out >&5
5687 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5688 lt_cv_nm_interface="MS dumpbin"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5693 $as_echo "$lt_cv_nm_interface" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5696 $as_echo_n "checking whether ln -s works... " >&6; }
5698 if test "$LN_S" = "ln -s"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5700 $as_echo "yes" >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5703 $as_echo "no, using $LN_S" >&6; }
5706 # find the maximum length of command line arguments
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5708 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5709 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5710 $as_echo_n "(cached) " >&6
5717 # On DJGPP, this test can blow up pretty badly due to problems in libc
5718 # (any single argument exceeding 2000 bytes causes a buffer overrun
5719 # during glob expansion). Even if it were fixed, the result of this
5720 # check would be larger than it should be.
5721 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5725 # Under GNU Hurd, this test is not required because there is
5726 # no limit to the length of command line arguments.
5727 # Libtool will interpret -1 as no limit whatsoever
5728 lt_cv_sys_max_cmd_len=-1;
5731 cygwin* | mingw* | cegcc*)
5732 # On Win9x/ME, this test blows up -- it succeeds, but takes
5733 # about 5 minutes as the teststring grows exponentially.
5734 # Worse, since 9x/ME are not pre-emptively multitasking,
5735 # you end up with a "frozen" computer, even though with patience
5736 # the test eventually succeeds (with a max line length of 256k).
5737 # Instead, let's just punt: use the minimum linelength reported by
5738 # all of the supported platforms: 8192 (on NT/2K/XP).
5739 lt_cv_sys_max_cmd_len=8192;
5743 # On AmigaOS with pdksh, this test takes hours, literally.
5744 # So we just punt and use a minimum line length of 8192.
5745 lt_cv_sys_max_cmd_len=8192;
5748 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5749 # This has been around since 386BSD, at least. Likely further.
5750 if test -x /sbin/sysctl; then
5751 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5752 elif test -x /usr/sbin/sysctl; then
5753 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5755 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5757 # And add a safety zone
5758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5763 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5764 lt_cv_sys_max_cmd_len=196608
5768 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5769 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5770 # nice to cause kernel panics so lets avoid the loop below.
5771 # First set a reasonable default.
5772 lt_cv_sys_max_cmd_len=16384
5774 if test -x /sbin/sysconfig; then
5775 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5776 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5781 lt_cv_sys_max_cmd_len=102400
5783 sysv5* | sco5v6* | sysv4.2uw2*)
5784 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5785 if test -n "$kargmax"; then
5786 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5788 lt_cv_sys_max_cmd_len=32768
5792 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5793 if test -n "$lt_cv_sys_max_cmd_len"; then
5794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5795 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5797 # Make teststring a little bigger before we do anything with it.
5798 # a 1K string should be a reasonable start.
5799 for i in 1 2 3 4 5 6 7 8 ; do
5800 teststring=$teststring$teststring
5802 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5803 # If test is not a shell built-in, we'll probably end up computing a
5804 # maximum length that is only half of the actual maximum length, but
5806 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5807 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5808 test $i != 17 # 1/2 MB should be enough
5811 teststring=$teststring$teststring
5813 # Only check the string length outside the loop.
5814 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5816 # Add a significant safety factor because C++ compilers can tack on
5817 # massive amounts of additional arguments before passing them to the
5818 # linker. It appears as though 1/2 is a usable value.
5819 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5826 if test -n $lt_cv_sys_max_cmd_len ; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5828 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5831 $as_echo "none" >&6; }
5833 max_cmd_len=$lt_cv_sys_max_cmd_len
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5845 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5846 # Try some XSI features
5849 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5851 && eval 'test $(( 1 + 1 )) -eq 2 \
5852 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5855 $as_echo "$xsi_shell" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5859 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5861 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5863 && lt_shell_append=yes
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5865 $as_echo "$lt_shell_append" >&6; }
5868 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5878 # test EBCDIC or ASCII
5879 case `echo X|tr X '\101'` in
5880 A) # ASCII based system
5881 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5882 lt_SP2NL='tr \040 \012'
5883 lt_NL2SP='tr \015\012 \040\040'
5885 *) # EBCDIC based system
5886 lt_SP2NL='tr \100 \n'
5887 lt_NL2SP='tr \r\n \100\100'
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5900 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5901 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5902 $as_echo_n "(cached) " >&6
5904 lt_cv_ld_reload_flag='-r'
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5907 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5908 reload_flag=$lt_cv_ld_reload_flag
5909 case $reload_flag in
5911 *) reload_flag=" $reload_flag" ;;
5913 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5916 if test "$GCC" = yes; then
5917 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5919 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5932 if test -n "$ac_tool_prefix"; then
5933 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5938 $as_echo_n "(cached) " >&6
5940 if test -n "$OBJDUMP"; then
5941 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5950 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 OBJDUMP=$ac_cv_prog_OBJDUMP
5961 if test -n "$OBJDUMP"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5963 $as_echo "$OBJDUMP" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5971 if test -z "$ac_cv_prog_OBJDUMP"; then
5972 ac_ct_OBJDUMP=$OBJDUMP
5973 # Extract the first word of "objdump", so it can be a program name with args.
5974 set dummy objdump; ac_word=$2
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 $as_echo_n "checking for $ac_word... " >&6; }
5977 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5978 $as_echo_n "(cached) " >&6
5980 if test -n "$ac_ct_OBJDUMP"; then
5981 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5990 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6001 if test -n "$ac_ct_OBJDUMP"; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6003 $as_echo "$ac_ct_OBJDUMP" >&6; }
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 $as_echo "no" >&6; }
6009 if test "x$ac_ct_OBJDUMP" = x; then
6012 case $cross_compiling:$ac_tool_warned in
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6016 ac_tool_warned=yes ;;
6018 OBJDUMP=$ac_ct_OBJDUMP
6021 OBJDUMP="$ac_cv_prog_OBJDUMP"
6024 test -z "$OBJDUMP" && OBJDUMP=objdump
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6035 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6036 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6037 $as_echo_n "(cached) " >&6
6039 lt_cv_file_magic_cmd='$MAGIC_CMD'
6040 lt_cv_file_magic_test_file=
6041 lt_cv_deplibs_check_method='unknown'
6042 # Need to set the preceding variable on all platforms that support
6043 # interlibrary dependencies.
6044 # 'none' -- dependencies not supported.
6045 # `unknown' -- same as none, but documents that we really don't know.
6046 # 'pass_all' -- all dependencies passed with no checks.
6047 # 'test_compile' -- check by making test program.
6048 # 'file_magic [[regex]]' -- check by looking for files in library path
6049 # which responds to the $file_magic_cmd with a given extended regex.
6050 # If you have `file' or equivalent on your system and you're not sure
6051 # whether `pass_all' will *always* work, you probably want this one.
6055 lt_cv_deplibs_check_method=pass_all
6059 lt_cv_deplibs_check_method=pass_all
6063 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6064 lt_cv_file_magic_cmd='/usr/bin/file -L'
6065 lt_cv_file_magic_test_file=/shlib/libc.so
6069 # func_win32_libid is a shell function defined in ltmain.sh
6070 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6071 lt_cv_file_magic_cmd='func_win32_libid'
6075 # Base MSYS/MinGW do not provide the 'file' command needed by
6076 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6077 # unless we find 'file', for example because we are cross-compiling.
6078 if ( file / ) >/dev/null 2>&1; then
6079 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6080 lt_cv_file_magic_cmd='func_win32_libid'
6082 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6083 lt_cv_file_magic_cmd='$OBJDUMP -f'
6088 # use the weaker test based on 'objdump'. See mingw*.
6089 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6090 lt_cv_file_magic_cmd='$OBJDUMP -f'
6093 darwin* | rhapsody*)
6094 lt_cv_deplibs_check_method=pass_all
6097 freebsd* | dragonfly*)
6098 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6101 # Not sure whether the presence of OpenBSD here was a mistake.
6102 # Let's accept both of them until this is cleared up.
6103 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6104 lt_cv_file_magic_cmd=/usr/bin/file
6105 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6109 lt_cv_deplibs_check_method=pass_all
6114 lt_cv_deplibs_check_method=pass_all
6117 hpux10.20* | hpux11*)
6118 lt_cv_file_magic_cmd=/usr/bin/file
6121 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6122 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6125 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6126 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6129 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6130 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6136 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6137 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6140 irix5* | irix6* | nonstopux*)
6142 *-32|*"-32 ") libmagic=32-bit;;
6143 *-n32|*"-n32 ") libmagic=N32;;
6144 *-64|*"-64 ") libmagic=64-bit;;
6145 *) libmagic=never-match;;
6147 lt_cv_deplibs_check_method=pass_all
6150 # This must be Linux ELF.
6151 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6152 lt_cv_deplibs_check_method=pass_all
6156 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6157 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6159 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6164 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6165 lt_cv_file_magic_cmd=/usr/bin/file
6166 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6170 lt_cv_deplibs_check_method=pass_all
6174 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6175 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6177 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6181 osf3* | osf4* | osf5*)
6182 lt_cv_deplibs_check_method=pass_all
6186 lt_cv_deplibs_check_method=pass_all
6190 lt_cv_deplibs_check_method=pass_all
6193 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6194 lt_cv_deplibs_check_method=pass_all
6198 case $host_vendor in
6200 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6201 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6204 lt_cv_deplibs_check_method=pass_all
6207 lt_cv_file_magic_cmd='/bin/file'
6208 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6211 lt_cv_file_magic_cmd='/bin/file'
6212 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6213 lt_cv_file_magic_test_file=/lib/libc.so
6216 lt_cv_deplibs_check_method=pass_all
6219 lt_cv_deplibs_check_method=pass_all
6225 lt_cv_deplibs_check_method=pass_all
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6231 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6232 file_magic_cmd=$lt_cv_file_magic_cmd
6233 deplibs_check_method=$lt_cv_deplibs_check_method
6234 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6249 set dummy ${ac_tool_prefix}ar; ac_word=$2
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6251 $as_echo_n "checking for $ac_word... " >&6; }
6252 if test "${ac_cv_prog_AR+set}" = set; then :
6253 $as_echo_n "(cached) " >&6
6255 if test -n "$AR"; then
6256 ac_cv_prog_AR="$AR" # Let the user override the test.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6265 ac_cv_prog_AR="${ac_tool_prefix}ar"
6266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6276 if test -n "$AR"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6278 $as_echo "$AR" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6281 $as_echo "no" >&6; }
6286 if test -z "$ac_cv_prog_AR"; then
6288 # Extract the first word of "ar", so it can be a program name with args.
6289 set dummy ar; ac_word=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6293 $as_echo_n "(cached) " >&6
6295 if test -n "$ac_ct_AR"; then
6296 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_prog_ac_ct_AR="ar"
6306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6316 if test -n "$ac_ct_AR"; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6318 $as_echo "$ac_ct_AR" >&6; }
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321 $as_echo "no" >&6; }
6324 if test "x$ac_ct_AR" = x; then
6327 case $cross_compiling:$ac_tool_warned in
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6331 ac_tool_warned=yes ;;
6339 test -z "$AR" && AR=ar
6340 test -z "$AR_FLAGS" && AR_FLAGS=cru
6352 if test -n "$ac_tool_prefix"; then
6353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6354 set dummy ${ac_tool_prefix}strip; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if test "${ac_cv_prog_STRIP+set}" = set; then :
6358 $as_echo_n "(cached) " >&6
6360 if test -n "$STRIP"; then
6361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 test -z "$as_dir" && as_dir=.
6368 for ac_exec_ext in '' $ac_executable_extensions; do
6369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 STRIP=$ac_cv_prog_STRIP
6381 if test -n "$STRIP"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6383 $as_echo "$STRIP" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6391 if test -z "$ac_cv_prog_STRIP"; then
6393 # Extract the first word of "strip", so it can be a program name with args.
6394 set dummy strip; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6398 $as_echo_n "(cached) " >&6
6400 if test -n "$ac_ct_STRIP"; then
6401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6410 ac_cv_prog_ac_ct_STRIP="strip"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6421 if test -n "$ac_ct_STRIP"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6423 $as_echo "$ac_ct_STRIP" >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6429 if test "x$ac_ct_STRIP" = x; then
6432 case $cross_compiling:$ac_tool_warned in
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6436 ac_tool_warned=yes ;;
6441 STRIP="$ac_cv_prog_STRIP"
6444 test -z "$STRIP" && STRIP=:
6451 if test -n "$ac_tool_prefix"; then
6452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$RANLIB"; then
6460 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 RANLIB=$ac_cv_prog_RANLIB
6480 if test -n "$RANLIB"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6482 $as_echo "$RANLIB" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6490 if test -z "$ac_cv_prog_RANLIB"; then
6491 ac_ct_RANLIB=$RANLIB
6492 # Extract the first word of "ranlib", so it can be a program name with args.
6493 set dummy ranlib; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6497 $as_echo_n "(cached) " >&6
6499 if test -n "$ac_ct_RANLIB"; then
6500 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_ac_ct_RANLIB="ranlib"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6520 if test -n "$ac_ct_RANLIB"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6522 $as_echo "$ac_ct_RANLIB" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6528 if test "x$ac_ct_RANLIB" = x; then
6531 case $cross_compiling:$ac_tool_warned in
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6535 ac_tool_warned=yes ;;
6537 RANLIB=$ac_ct_RANLIB
6540 RANLIB="$ac_cv_prog_RANLIB"
6543 test -z "$RANLIB" && RANLIB=:
6550 # Determine commands to create old-style static archives.
6551 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6552 old_postinstall_cmds='chmod 644 $oldlib'
6553 old_postuninstall_cmds=
6555 if test -n "$RANLIB"; then
6558 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6561 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6564 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6600 # If no C compiler was specified, use CC.
6603 # If no C compiler flags were specified, use CFLAGS.
6604 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6606 # Allow CC to be a program name with arguments.
6610 # Check for command to grab the raw symbol name followed by C symbol from nm.
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6612 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6613 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6614 $as_echo_n "(cached) " >&6
6617 # These are sane defaults that work on at least a few old systems.
6618 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6620 # Character class describing NM global symbol codes.
6621 symcode='[BCDEGRST]'
6623 # Regexp to match symbols that can be accessed directly from C.
6624 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6626 # Define system-specific variables.
6631 cygwin* | mingw* | pw32* | cegcc*)
6632 symcode='[ABCDGISTW]'
6635 if test "$host_cpu" = ia64; then
6636 symcode='[ABCDEGRST]'
6640 symcode='[BCDEGRST]'
6643 symcode='[BCDEGQRST]'
6654 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6662 # If we're using GNU nm, then use its standard symbol codes.
6663 case `$NM -V 2>&1` in
6664 *GNU* | *'with BFD'*)
6665 symcode='[ABCDGIRSTW]' ;;
6668 # Transform an extracted symbol line into a proper C declaration.
6669 # Some systems (esp. on ia64) link data and code symbols differently,
6670 # so use this general approach.
6671 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6673 # Transform an extracted symbol line into symbol name and symbol address
6674 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6675 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6677 # Handle CRLF in mingw tool chain
6681 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6685 # Try without a prefix underscore, then with it.
6686 for ac_symprfx in "" "_"; do
6688 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6689 symxfrm="\\1 $ac_symprfx\\2 \\2"
6691 # Write the raw and C identifiers.
6692 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6693 # Fake it for dumpbin and say T for any non-static function
6694 # and D for any global variable.
6695 # Also find C++ and __fastcall symbols from MSVC++,
6696 # which start with @ or ?.
6697 lt_cv_sys_global_symbol_pipe="$AWK '"\
6698 " {last_section=section; section=\$ 3};"\
6699 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6700 " \$ 0!~/External *\|/{next};"\
6701 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6702 " {if(hide[section]) next};"\
6703 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6704 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6705 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6706 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6707 " ' prfx=^$ac_symprfx"
6709 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6712 # Check to see that the pipe works correctly.
6716 cat > conftest.$ac_ext <<_LT_EOF
6721 void nm_test_func(void);
6722 void nm_test_func(void){}
6726 int main(){nm_test_var='a';nm_test_func();return(0);}
6729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6730 (eval $ac_compile) 2>&5
6732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6733 test $ac_status = 0; }; then
6734 # Now try to grab the symbols.
6736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6737 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6740 test $ac_status = 0; } && test -s "$nlist"; then
6741 # Try sorting and uniquifying the output.
6742 if sort "$nlist" | uniq > "$nlist"T; then
6743 mv -f "$nlist"T "$nlist"
6748 # Make sure that we snagged all the symbols we need.
6749 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6750 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6751 cat <<_LT_EOF > conftest.$ac_ext
6757 # Now generate the symbol file.
6758 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6760 cat <<_LT_EOF >> conftest.$ac_ext
6762 /* The mapping between symbol names and symbols. */
6767 lt__PROGRAM__LTX_preloaded_symbols[] =
6769 { "@PROGRAM@", (void *) 0 },
6771 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6772 cat <<\_LT_EOF >> conftest.$ac_ext
6776 /* This works around a problem in FreeBSD linker */
6777 #ifdef FREEBSD_WORKAROUND
6778 static const void *lt_preloaded_setup() {
6779 return lt__PROGRAM__LTX_preloaded_symbols;
6787 # Now try linking the two files.
6788 mv conftest.$ac_objext conftstm.$ac_objext
6789 lt_save_LIBS="$LIBS"
6790 lt_save_CFLAGS="$CFLAGS"
6791 LIBS="conftstm.$ac_objext"
6792 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6793 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6794 (eval $ac_link) 2>&5
6796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6797 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6800 LIBS="$lt_save_LIBS"
6801 CFLAGS="$lt_save_CFLAGS"
6803 echo "cannot find nm_test_func in $nlist" >&5
6806 echo "cannot find nm_test_var in $nlist" >&5
6809 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6812 echo "$progname: failed program was:" >&5
6813 cat conftest.$ac_ext >&5
6815 rm -rf conftest* conftst*
6817 # Do not use the global_symbol_pipe unless it works.
6818 if test "$pipe_works" = yes; then
6821 lt_cv_sys_global_symbol_pipe=
6827 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6828 lt_cv_sys_global_symbol_to_cdecl=
6830 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6832 $as_echo "failed" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6835 $as_echo "ok" >&6; }
6859 # Check whether --enable-libtool-lock was given.
6860 if test "${enable_libtool_lock+set}" = set; then :
6861 enableval=$enable_libtool_lock;
6864 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6866 # Some flags need to be propagated to the compiler or linker for good
6870 # Find out which ABI we are using.
6871 echo 'int i;' > conftest.$ac_ext
6872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6873 (eval $ac_compile) 2>&5
6875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6876 test $ac_status = 0; }; then
6877 case `/usr/bin/file conftest.$ac_objext` in
6889 # Find out which ABI we are using.
6890 echo '#line 6890 "configure"' > conftest.$ac_ext
6891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6892 (eval $ac_compile) 2>&5
6894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6895 test $ac_status = 0; }; then
6896 if test "$lt_cv_prog_gnu_ld" = yes; then
6897 case `/usr/bin/file conftest.$ac_objext` in
6899 LD="${LD-ld} -melf32bsmip"
6902 LD="${LD-ld} -melf32bmipn32"
6905 LD="${LD-ld} -melf64bmip"
6909 case `/usr/bin/file conftest.$ac_objext` in
6925 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6926 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6927 # Find out which ABI we are using.
6928 echo 'int i;' > conftest.$ac_ext
6929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6930 (eval $ac_compile) 2>&5
6932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6933 test $ac_status = 0; }; then
6934 case `/usr/bin/file conftest.o` in
6937 x86_64-*kfreebsd*-gnu)
6938 LD="${LD-ld} -m elf_i386_fbsd"
6941 LD="${LD-ld} -m elf_i386"
6943 ppc64-*linux*|powerpc64-*linux*)
6944 LD="${LD-ld} -m elf32ppclinux"
6947 LD="${LD-ld} -m elf_s390"
6950 LD="${LD-ld} -m elf32_sparc"
6956 x86_64-*kfreebsd*-gnu)
6957 LD="${LD-ld} -m elf_x86_64_fbsd"
6960 LD="${LD-ld} -m elf_x86_64"
6962 ppc*-*linux*|powerpc*-*linux*)
6963 LD="${LD-ld} -m elf64ppc"
6965 s390*-*linux*|s390*-*tpf*)
6966 LD="${LD-ld} -m elf64_s390"
6969 LD="${LD-ld} -m elf64_sparc"
6979 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6980 SAVE_CFLAGS="$CFLAGS"
6981 CFLAGS="$CFLAGS -belf"
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6983 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6984 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6985 $as_echo_n "(cached) " >&6
6988 ac_cpp='$CPP $CPPFLAGS'
6989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6994 /* end confdefs.h. */
7004 if ac_fn_c_try_link "$LINENO"; then :
7005 lt_cv_cc_needs_belf=yes
7007 lt_cv_cc_needs_belf=no
7009 rm -f core conftest.err conftest.$ac_objext \
7010 conftest$ac_exeext conftest.$ac_ext
7012 ac_cpp='$CPP $CPPFLAGS'
7013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7019 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7020 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7021 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7022 CFLAGS="$SAVE_CFLAGS"
7026 # Find out which ABI we are using.
7027 echo 'int i;' > conftest.$ac_ext
7028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7029 (eval $ac_compile) 2>&5
7031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7032 test $ac_status = 0; }; then
7033 case `/usr/bin/file conftest.o` in
7035 case $lt_cv_prog_gnu_ld in
7036 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7038 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7050 need_locks="$enable_libtool_lock"
7054 rhapsody* | darwin*)
7055 if test -n "$ac_tool_prefix"; then
7056 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7057 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7061 $as_echo_n "(cached) " >&6
7063 if test -n "$DSYMUTIL"; then
7064 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir=.
7071 for ac_exec_ext in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7084 if test -n "$DSYMUTIL"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7086 $as_echo "$DSYMUTIL" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7094 if test -z "$ac_cv_prog_DSYMUTIL"; then
7095 ac_ct_DSYMUTIL=$DSYMUTIL
7096 # Extract the first word of "dsymutil", so it can be a program name with args.
7097 set dummy dsymutil; ac_word=$2
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099 $as_echo_n "checking for $ac_word... " >&6; }
7100 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7101 $as_echo_n "(cached) " >&6
7103 if test -n "$ac_ct_DSYMUTIL"; then
7104 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7124 if test -n "$ac_ct_DSYMUTIL"; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7126 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 $as_echo "no" >&6; }
7132 if test "x$ac_ct_DSYMUTIL" = x; then
7135 case $cross_compiling:$ac_tool_warned in
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7139 ac_tool_warned=yes ;;
7141 DSYMUTIL=$ac_ct_DSYMUTIL
7144 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7153 $as_echo_n "(cached) " >&6
7155 if test -n "$NMEDIT"; then
7156 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 NMEDIT=$ac_cv_prog_NMEDIT
7176 if test -n "$NMEDIT"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7178 $as_echo "$NMEDIT" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7186 if test -z "$ac_cv_prog_NMEDIT"; then
7187 ac_ct_NMEDIT=$NMEDIT
7188 # Extract the first word of "nmedit", so it can be a program name with args.
7189 set dummy nmedit; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$ac_ct_NMEDIT"; then
7196 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7216 if test -n "$ac_ct_NMEDIT"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7218 $as_echo "$ac_ct_NMEDIT" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7224 if test "x$ac_ct_NMEDIT" = x; then
7227 case $cross_compiling:$ac_tool_warned in
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231 ac_tool_warned=yes ;;
7233 NMEDIT=$ac_ct_NMEDIT
7236 NMEDIT="$ac_cv_prog_NMEDIT"
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_LIPO+set}" = set; then :
7245 $as_echo_n "(cached) " >&6
7247 if test -n "$LIPO"; then
7248 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 LIPO=$ac_cv_prog_LIPO
7268 if test -n "$LIPO"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7270 $as_echo "$LIPO" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7278 if test -z "$ac_cv_prog_LIPO"; then
7280 # Extract the first word of "lipo", so it can be a program name with args.
7281 set dummy lipo; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$ac_ct_LIPO"; then
7288 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_LIPO="lipo"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7308 if test -n "$ac_ct_LIPO"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7310 $as_echo "$ac_ct_LIPO" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7316 if test "x$ac_ct_LIPO" = x; then
7319 case $cross_compiling:$ac_tool_warned in
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7328 LIPO="$ac_cv_prog_LIPO"
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}otool; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7337 $as_echo_n "(cached) " >&6
7339 if test -n "$OTOOL"; then
7340 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 OTOOL=$ac_cv_prog_OTOOL
7360 if test -n "$OTOOL"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7362 $as_echo "$OTOOL" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_OTOOL"; then
7372 # Extract the first word of "otool", so it can be a program name with args.
7373 set dummy otool; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$ac_ct_OTOOL"; then
7380 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_OTOOL="otool"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7400 if test -n "$ac_ct_OTOOL"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7402 $as_echo "$ac_ct_OTOOL" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_OTOOL" = x; then
7411 case $cross_compiling:$ac_tool_warned in
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7420 OTOOL="$ac_cv_prog_OTOOL"
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7429 $as_echo_n "(cached) " >&6
7431 if test -n "$OTOOL64"; then
7432 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 OTOOL64=$ac_cv_prog_OTOOL64
7452 if test -n "$OTOOL64"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7454 $as_echo "$OTOOL64" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7462 if test -z "$ac_cv_prog_OTOOL64"; then
7463 ac_ct_OTOOL64=$OTOOL64
7464 # Extract the first word of "otool64", so it can be a program name with args.
7465 set dummy otool64; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7469 $as_echo_n "(cached) " >&6
7471 if test -n "$ac_ct_OTOOL64"; then
7472 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_OTOOL64="otool64"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7492 if test -n "$ac_ct_OTOOL64"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7494 $as_echo "$ac_ct_OTOOL64" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7500 if test "x$ac_ct_OTOOL64" = x; then
7503 case $cross_compiling:$ac_tool_warned in
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7509 OTOOL64=$ac_ct_OTOOL64
7512 OTOOL64="$ac_cv_prog_OTOOL64"
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7542 $as_echo_n "checking for -single_module linker flag... " >&6; }
7543 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7544 $as_echo_n "(cached) " >&6
7546 lt_cv_apple_cc_single_mod=no
7547 if test -z "${LT_MULTI_MODULE}"; then
7548 # By default we will add the -single_module flag. You can override
7549 # by either setting the environment variable LT_MULTI_MODULE
7550 # non-empty at configure time, or by adding -multi_module to the
7552 rm -rf libconftest.dylib*
7553 echo "int foo(void){return 1;}" > conftest.c
7554 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7555 -dynamiclib -Wl,-single_module conftest.c" >&5
7556 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7557 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7559 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7560 lt_cv_apple_cc_single_mod=yes
7562 cat conftest.err >&5
7564 rm -rf libconftest.dylib*
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7569 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7571 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7572 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7573 $as_echo_n "(cached) " >&6
7575 lt_cv_ld_exported_symbols_list=no
7576 save_LDFLAGS=$LDFLAGS
7577 echo "_main" > conftest.sym
7578 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7590 if ac_fn_c_try_link "$LINENO"; then :
7591 lt_cv_ld_exported_symbols_list=yes
7593 lt_cv_ld_exported_symbols_list=no
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7597 LDFLAGS="$save_LDFLAGS"
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7601 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7603 rhapsody* | darwin1.[012])
7604 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7606 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7607 darwin*) # darwin 5.x on
7608 # if running on 10.5 or later, the deployment target defaults
7609 # to the OS version, if on x86, and 10.4, the deployment
7610 # target defaults to 10.4. Don't you love it?
7611 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7612 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7613 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7615 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7617 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7621 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7622 _lt_dar_single_mod='$single_module'
7624 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7625 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7627 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7629 if test "$DSYMUTIL" != ":"; then
7630 _lt_dsymutil='~$DSYMUTIL $lib || :'
7637 for ac_header in dlfcn.h
7639 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7641 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7642 cat >>confdefs.h <<_ACEOF
7643 #define HAVE_DLFCN_H 1
7662 # Check whether --enable-shared was given.
7663 if test "${enable_shared+set}" = set; then :
7664 enableval=$enable_shared; p=${PACKAGE-default}
7666 yes) enable_shared=yes ;;
7667 no) enable_shared=no ;;
7670 # Look at the argument we got. We use all the common list separators.
7671 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7672 for pkg in $enableval; do
7674 if test "X$pkg" = "X$p"; then
7693 # Check whether --enable-static was given.
7694 if test "${enable_static+set}" = set; then :
7695 enableval=$enable_static; p=${PACKAGE-default}
7697 yes) enable_static=yes ;;
7698 no) enable_static=no ;;
7701 # Look at the argument we got. We use all the common list separators.
7702 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7703 for pkg in $enableval; do
7705 if test "X$pkg" = "X$p"; then
7725 # Check whether --with-pic was given.
7726 if test "${with_pic+set}" = set; then :
7727 withval=$with_pic; pic_mode="$withval"
7733 test -z "$pic_mode" && pic_mode=default
7741 # Check whether --enable-fast-install was given.
7742 if test "${enable_fast_install+set}" = set; then :
7743 enableval=$enable_fast_install; p=${PACKAGE-default}
7745 yes) enable_fast_install=yes ;;
7746 no) enable_fast_install=no ;;
7748 enable_fast_install=no
7749 # Look at the argument we got. We use all the common list separators.
7750 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7751 for pkg in $enableval; do
7753 if test "X$pkg" = "X$p"; then
7754 enable_fast_install=yes
7761 enable_fast_install=yes
7774 # This can be used to rebuild libtool when needed
7775 LIBTOOL_DEPS="$ltmain"
7777 # Always use our own libtool.
7778 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7804 test -z "$LN_S" && LN_S="ln -s"
7819 if test -n "${ZSH_VERSION+set}" ; then
7820 setopt NO_GLOB_SUBST
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7824 $as_echo_n "checking for objdir... " >&6; }
7825 if test "${lt_cv_objdir+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7828 rm -f .libs 2>/dev/null
7829 mkdir .libs 2>/dev/null
7830 if test -d .libs; then
7833 # MS-DOS does not allow filenames that begin with a dot.
7836 rmdir .libs 2>/dev/null
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7839 $as_echo "$lt_cv_objdir" >&6; }
7840 objdir=$lt_cv_objdir
7846 cat >>confdefs.h <<_ACEOF
7847 #define LT_OBJDIR "$lt_cv_objdir/"
7868 # AIX sometimes has problems with the GCC collect2 program. For some
7869 # reason, if we set the COLLECT_NAMES environment variable, the problems
7870 # vanish in a puff of smoke.
7871 if test "X${COLLECT_NAMES+set}" != Xset; then
7873 export COLLECT_NAMES
7878 # Sed substitution that helps us do robust quoting. It backslashifies
7879 # metacharacters that are still active within double-quoted strings.
7880 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7882 # Same as above, but do not quote variable references.
7883 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7885 # Sed substitution to delay expansion of an escaped shell variable in a
7886 # double_quote_subst'ed string.
7887 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7889 # Sed substitution to delay expansion of an escaped single quote.
7890 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7892 # Sed substitution to avoid accidental globbing in evaled expressions
7893 no_glob_subst='s/\*/\\\*/g'
7897 can_build_shared=yes
7899 # All known linkers require a `.a' archive for static linking (except MSVC,
7900 # which needs '.lib').
7903 with_gnu_ld="$lt_cv_prog_gnu_ld"
7906 old_CFLAGS="$CFLAGS"
7908 # Set sane defaults for various variables
7909 test -z "$CC" && CC=cc
7910 test -z "$LTCC" && LTCC=$CC
7911 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7912 test -z "$LD" && LD=ld
7913 test -z "$ac_objext" && ac_objext=o
7915 for cc_temp in $compiler""; do
7917 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7918 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7923 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7926 # Only perform the check for file, if the check method requires it
7927 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7928 case $deplibs_check_method in
7930 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7932 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7933 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7934 $as_echo_n "(cached) " >&6
7938 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7941 lt_save_MAGIC_CMD="$MAGIC_CMD"
7942 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7943 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7944 for ac_dir in $ac_dummy; do
7946 test -z "$ac_dir" && ac_dir=.
7947 if test -f $ac_dir/${ac_tool_prefix}file; then
7948 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7949 if test -n "$file_magic_test_file"; then
7950 case $deplibs_check_method in
7952 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7954 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7955 $EGREP "$file_magic_regex" > /dev/null; then
7960 *** Warning: the command libtool uses to detect shared libraries,
7961 *** $file_magic_cmd, produces output that libtool cannot recognize.
7962 *** The result is that libtool may fail to recognize shared libraries
7963 *** as such. This will affect the creation of libtool libraries that
7964 *** depend on shared libraries, but programs linked with such libtool
7965 *** libraries will work regardless of this problem. Nevertheless, you
7966 *** may want to report the problem to your system manager and/or to
7967 *** bug-libtool@gnu.org
7977 MAGIC_CMD="$lt_save_MAGIC_CMD"
7982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7983 if test -n "$MAGIC_CMD"; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7985 $as_echo "$MAGIC_CMD" >&6; }
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7995 if test -z "$lt_cv_path_MAGIC_CMD"; then
7996 if test -n "$ac_tool_prefix"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7998 $as_echo_n "checking for file... " >&6; }
7999 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8000 $as_echo_n "(cached) " >&6
8004 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8007 lt_save_MAGIC_CMD="$MAGIC_CMD"
8008 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8009 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8010 for ac_dir in $ac_dummy; do
8012 test -z "$ac_dir" && ac_dir=.
8013 if test -f $ac_dir/file; then
8014 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8015 if test -n "$file_magic_test_file"; then
8016 case $deplibs_check_method in
8018 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8020 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8021 $EGREP "$file_magic_regex" > /dev/null; then
8026 *** Warning: the command libtool uses to detect shared libraries,
8027 *** $file_magic_cmd, produces output that libtool cannot recognize.
8028 *** The result is that libtool may fail to recognize shared libraries
8029 *** as such. This will affect the creation of libtool libraries that
8030 *** depend on shared libraries, but programs linked with such libtool
8031 *** libraries will work regardless of this problem. Nevertheless, you
8032 *** may want to report the problem to your system manager and/or to
8033 *** bug-libtool@gnu.org
8043 MAGIC_CMD="$lt_save_MAGIC_CMD"
8048 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8049 if test -n "$MAGIC_CMD"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8051 $as_echo "$MAGIC_CMD" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8067 # Use C for the default configuration in the libtool script
8071 ac_cpp='$CPP $CPPFLAGS'
8072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8077 # Source file extension for C test sources.
8080 # Object file extension for compiled C test sources.
8084 # Code to be used in simple compile tests
8085 lt_simple_compile_test_code="int some_variable = 0;"
8087 # Code to be used in simple link tests
8088 lt_simple_link_test_code='int main(){return(0);}'
8096 # If no C compiler was specified, use CC.
8099 # If no C compiler flags were specified, use CFLAGS.
8100 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8102 # Allow CC to be a program name with arguments.
8105 # Save the default compiler, since it gets overwritten when the other
8106 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8107 compiler_DEFAULT=$CC
8109 # save warnings/boilerplate of simple test code
8110 ac_outfile=conftest.$ac_objext
8111 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8112 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8113 _lt_compiler_boilerplate=`cat conftest.err`
8116 ac_outfile=conftest.$ac_objext
8117 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8118 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8119 _lt_linker_boilerplate=`cat conftest.err`
8124 ## There is no encapsulation within the following macros, do not change
8125 ## the running order or otherwise move them around unless you know exactly
8126 ## what you are doing...
8127 if test -n "$compiler"; then
8129 lt_prog_compiler_no_builtin_flag=
8131 if test "$GCC" = yes; then
8132 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8135 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8136 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8137 $as_echo_n "(cached) " >&6
8139 lt_cv_prog_compiler_rtti_exceptions=no
8140 ac_outfile=conftest.$ac_objext
8141 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8142 lt_compiler_flag="-fno-rtti -fno-exceptions"
8143 # Insert the option either (1) after the last *FLAGS variable, or
8144 # (2) before a word containing "conftest.", or (3) at the end.
8145 # Note that $ac_compile itself does not contain backslashes and begins
8146 # with a dollar sign (not a hyphen), so the echo should work correctly.
8147 # The option is referenced via a variable to avoid confusing sed.
8148 lt_compile=`echo "$ac_compile" | $SED \
8149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8151 -e 's:$: $lt_compiler_flag:'`
8152 (eval echo "\"\$as_me:8152: $lt_compile\"" >&5)
8153 (eval "$lt_compile" 2>conftest.err)
8155 cat conftest.err >&5
8156 echo "$as_me:8156: \$? = $ac_status" >&5
8157 if (exit $ac_status) && test -s "$ac_outfile"; then
8158 # The compiler can only warn and ignore the option if not recognized
8159 # So say no if there are warnings other than the usual output.
8160 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8161 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8162 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8163 lt_cv_prog_compiler_rtti_exceptions=yes
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8170 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8172 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8173 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8185 lt_prog_compiler_wl=
8186 lt_prog_compiler_pic=
8187 lt_prog_compiler_static=
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8190 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8192 if test "$GCC" = yes; then
8193 lt_prog_compiler_wl='-Wl,'
8194 lt_prog_compiler_static='-static'
8198 # All AIX code is PIC.
8199 if test "$host_cpu" = ia64; then
8200 # AIX 5 now supports IA64 processor
8201 lt_prog_compiler_static='-Bstatic'
8208 # see comment about AmigaOS4 .so support
8209 lt_prog_compiler_pic='-fPIC'
8212 # FIXME: we need at least 68020 code to build shared libraries, but
8213 # adding the `-m68020' flag to GCC prevents building anything better,
8215 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8221 # PIC is the default for these OSes.
8224 mingw* | cygwin* | pw32* | os2* | cegcc*)
8225 # This hack is so that the source file can tell whether it is being
8226 # built for inclusion in a dll (and should export symbols for example).
8227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8228 # (--disable-auto-import) libraries
8229 lt_prog_compiler_pic='-DDLL_EXPORT'
8232 darwin* | rhapsody*)
8233 # PIC is the default on this platform
8234 # Common symbols not allowed in MH_DYLIB files
8235 lt_prog_compiler_pic='-fno-common'
8239 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8240 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8241 # sets the default TLS model and affects inlining.
8247 lt_prog_compiler_pic='-fPIC'
8253 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8254 # Instead, we relocate shared libraries at runtime.
8258 # Just because we use GCC doesn't mean we suddenly get shared libraries
8259 # on systems that don't support them.
8260 lt_prog_compiler_can_build_shared=no
8265 # QNX uses GNU C++, but need to define -shared option too, otherwise
8267 lt_prog_compiler_pic='-fPIC -shared'
8271 if test -d /usr/nec; then
8272 lt_prog_compiler_pic=-Kconform_pic
8277 lt_prog_compiler_pic='-fPIC'
8281 # PORTME Check for flag to pass linker flags through the system compiler.
8284 lt_prog_compiler_wl='-Wl,'
8285 if test "$host_cpu" = ia64; then
8286 # AIX 5 now supports IA64 processor
8287 lt_prog_compiler_static='-Bstatic'
8289 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8293 mingw* | cygwin* | pw32* | os2* | cegcc*)
8294 # This hack is so that the source file can tell whether it is being
8295 # built for inclusion in a dll (and should export symbols for example).
8296 lt_prog_compiler_pic='-DDLL_EXPORT'
8299 hpux9* | hpux10* | hpux11*)
8300 lt_prog_compiler_wl='-Wl,'
8301 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8308 lt_prog_compiler_pic='+Z'
8311 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8312 lt_prog_compiler_static='${wl}-a ${wl}archive'
8315 irix5* | irix6* | nonstopux*)
8316 lt_prog_compiler_wl='-Wl,'
8317 # PIC (with -KPIC) is the default.
8318 lt_prog_compiler_static='-non_shared'
8321 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8322 case $cc_basename in
8323 # old Intel for x86_64 which still supported -KPIC.
8325 lt_prog_compiler_wl='-Wl,'
8326 lt_prog_compiler_pic='-KPIC'
8327 lt_prog_compiler_static='-static'
8329 # icc used to be incompatible with GCC.
8330 # ICC 10 doesn't accept -KPIC any more.
8332 lt_prog_compiler_wl='-Wl,'
8333 lt_prog_compiler_pic='-fPIC'
8334 lt_prog_compiler_static='-static'
8336 # Lahey Fortran 8.1.
8338 lt_prog_compiler_wl='-Wl,'
8339 lt_prog_compiler_pic='--shared'
8340 lt_prog_compiler_static='--static'
8342 pgcc* | pgf77* | pgf90* | pgf95*)
8343 # Portland Group compilers (*not* the Pentium gcc compiler,
8344 # which looks to be a dead project)
8345 lt_prog_compiler_wl='-Wl,'
8346 lt_prog_compiler_pic='-fpic'
8347 lt_prog_compiler_static='-Bstatic'
8350 lt_prog_compiler_wl='-Wl,'
8351 # All Alpha code is PIC.
8352 lt_prog_compiler_static='-non_shared'
8355 # IBM XL C 8.0/Fortran 10.1 on PPC
8356 lt_prog_compiler_wl='-Wl,'
8357 lt_prog_compiler_pic='-qpic'
8358 lt_prog_compiler_static='-qstaticlink'
8361 case `$CC -V 2>&1 | sed 5q` in
8364 lt_prog_compiler_pic='-KPIC'
8365 lt_prog_compiler_static='-Bstatic'
8366 lt_prog_compiler_wl='-Wl,'
8369 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8370 lt_prog_compiler_pic='-KPIC'
8371 lt_prog_compiler_static='-Bstatic'
8372 lt_prog_compiler_wl=''
8380 lt_prog_compiler_pic='-KPIC'
8381 lt_prog_compiler_static='-Bstatic'
8385 # QNX uses GNU C++, but need to define -shared option too, otherwise
8387 lt_prog_compiler_pic='-fPIC -shared'
8390 osf3* | osf4* | osf5*)
8391 lt_prog_compiler_wl='-Wl,'
8392 # All OSF/1 code is PIC.
8393 lt_prog_compiler_static='-non_shared'
8397 lt_prog_compiler_static='-non_shared'
8401 lt_prog_compiler_pic='-KPIC'
8402 lt_prog_compiler_static='-Bstatic'
8403 case $cc_basename in
8405 lt_prog_compiler_wl='-Qoption ld ';;
8407 lt_prog_compiler_wl='-Wl,';;
8412 lt_prog_compiler_wl='-Qoption ld '
8413 lt_prog_compiler_pic='-PIC'
8414 lt_prog_compiler_static='-Bstatic'
8417 sysv4 | sysv4.2uw2* | sysv4.3*)
8418 lt_prog_compiler_wl='-Wl,'
8419 lt_prog_compiler_pic='-KPIC'
8420 lt_prog_compiler_static='-Bstatic'
8424 if test -d /usr/nec ;then
8425 lt_prog_compiler_pic='-Kconform_pic'
8426 lt_prog_compiler_static='-Bstatic'
8430 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8431 lt_prog_compiler_wl='-Wl,'
8432 lt_prog_compiler_pic='-KPIC'
8433 lt_prog_compiler_static='-Bstatic'
8437 lt_prog_compiler_wl='-Wl,'
8438 lt_prog_compiler_can_build_shared=no
8442 lt_prog_compiler_pic='-pic'
8443 lt_prog_compiler_static='-Bstatic'
8447 lt_prog_compiler_can_build_shared=no
8453 # For platforms which do not support PIC, -DPIC is meaningless:
8455 lt_prog_compiler_pic=
8458 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8462 $as_echo "$lt_prog_compiler_pic" >&6; }
8470 # Check to make sure the PIC flag actually works.
8472 if test -n "$lt_prog_compiler_pic"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8474 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8475 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8478 lt_cv_prog_compiler_pic_works=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:8491: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8494 cat conftest.err >&5
8495 echo "$as_me:8495: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_pic_works=yes
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8509 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8511 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8512 case $lt_prog_compiler_pic in
8514 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8517 lt_prog_compiler_pic=
8518 lt_prog_compiler_can_build_shared=no
8529 # Check to make sure the static flag actually works.
8531 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8533 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8534 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8535 $as_echo_n "(cached) " >&6
8537 lt_cv_prog_compiler_static_works=no
8538 save_LDFLAGS="$LDFLAGS"
8539 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8540 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8541 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8542 # The linker can only warn and ignore the option if not recognized
8543 # So say no if there are warnings
8544 if test -s conftest.err; then
8545 # Append any errors to the config.log.
8546 cat conftest.err 1>&5
8547 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8548 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8549 if diff conftest.exp conftest.er2 >/dev/null; then
8550 lt_cv_prog_compiler_static_works=yes
8553 lt_cv_prog_compiler_static_works=yes
8557 LDFLAGS="$save_LDFLAGS"
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8561 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8563 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8566 lt_prog_compiler_static=
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8576 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8577 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8578 $as_echo_n "(cached) " >&6
8580 lt_cv_prog_compiler_c_o=no
8581 $RM -r conftest 2>/dev/null
8585 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8587 lt_compiler_flag="-o out/conftest2.$ac_objext"
8588 # Insert the option either (1) after the last *FLAGS variable, or
8589 # (2) before a word containing "conftest.", or (3) at the end.
8590 # Note that $ac_compile itself does not contain backslashes and begins
8591 # with a dollar sign (not a hyphen), so the echo should work correctly.
8592 lt_compile=`echo "$ac_compile" | $SED \
8593 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8594 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8595 -e 's:$: $lt_compiler_flag:'`
8596 (eval echo "\"\$as_me:8596: $lt_compile\"" >&5)
8597 (eval "$lt_compile" 2>out/conftest.err)
8599 cat out/conftest.err >&5
8600 echo "$as_me:8600: \$? = $ac_status" >&5
8601 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8603 # The compiler can only warn and ignore the option if not recognized
8604 # So say no if there are warnings
8605 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8606 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8607 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8608 lt_cv_prog_compiler_c_o=yes
8613 # SGI C++ compiler will create directory out/ii_files/ for
8614 # template instantiation
8615 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8616 $RM out/* && rmdir out
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8623 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8631 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8632 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8633 $as_echo_n "(cached) " >&6
8635 lt_cv_prog_compiler_c_o=no
8636 $RM -r conftest 2>/dev/null
8640 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8642 lt_compiler_flag="-o out/conftest2.$ac_objext"
8643 # Insert the option either (1) after the last *FLAGS variable, or
8644 # (2) before a word containing "conftest.", or (3) at the end.
8645 # Note that $ac_compile itself does not contain backslashes and begins
8646 # with a dollar sign (not a hyphen), so the echo should work correctly.
8647 lt_compile=`echo "$ac_compile" | $SED \
8648 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8649 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8650 -e 's:$: $lt_compiler_flag:'`
8651 (eval echo "\"\$as_me:8651: $lt_compile\"" >&5)
8652 (eval "$lt_compile" 2>out/conftest.err)
8654 cat out/conftest.err >&5
8655 echo "$as_me:8655: \$? = $ac_status" >&5
8656 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8658 # The compiler can only warn and ignore the option if not recognized
8659 # So say no if there are warnings
8660 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8661 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8662 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8663 lt_cv_prog_compiler_c_o=yes
8668 # SGI C++ compiler will create directory out/ii_files/ for
8669 # template instantiation
8670 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8671 $RM out/* && rmdir out
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8678 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8683 hard_links="nottested"
8684 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8685 # do not overwrite the value of need_locks provided by the user
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8687 $as_echo_n "checking if we can lock with hard links... " >&6; }
8690 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8692 ln conftest.a conftest.b 2>&5 || hard_links=no
8693 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8695 $as_echo "$hard_links" >&6; }
8696 if test "$hard_links" = no; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8698 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8711 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8714 allow_undefined_flag=
8715 always_export_symbols=no
8717 archive_expsym_cmds=
8718 compiler_needs_object=no
8719 enable_shared_with_static_runtimes=no
8720 export_dynamic_flag_spec=
8721 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8722 hardcode_automatic=no
8724 hardcode_direct_absolute=no
8725 hardcode_libdir_flag_spec=
8726 hardcode_libdir_flag_spec_ld=
8727 hardcode_libdir_separator=
8729 hardcode_shlibpath_var=unsupported
8731 link_all_deplibs=unknown
8734 old_archive_from_new_cmds=
8735 old_archive_from_expsyms_cmds=
8736 thread_safe_flag_spec=
8737 whole_archive_flag_spec=
8738 # include_expsyms should be a list of space-separated symbols to be *always*
8739 # included in the symbol list
8741 # exclude_expsyms can be an extended regexp of symbols to exclude
8742 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8743 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8744 # as well as any symbol that contains `d'.
8745 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8746 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8747 # platforms (ab)use it in PIC code, but their linkers get confused if
8748 # the symbol is explicitly referenced. Since portable code cannot
8749 # rely on this symbol name, it's probably fine to never include it in
8750 # preloaded symbol tables.
8751 # Exclude shared library initialization/finalization symbols.
8752 extract_expsyms_cmds=
8755 cygwin* | mingw* | pw32* | cegcc*)
8756 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8757 # When not using gcc, we currently assume that we are using
8758 # Microsoft Visual C++.
8759 if test "$GCC" != yes; then
8764 # we just hope/assume this is gcc and not c89 (= MSVC++)
8773 if test "$with_gnu_ld" = yes; then
8774 # If archive_cmds runs LD, not CC, wlarc should be empty
8777 # Set some defaults for GNU ld with shared library support. These
8778 # are reset later if shared libraries are not supported. Putting them
8779 # here allows them to be overridden if necessary.
8780 runpath_var=LD_RUN_PATH
8781 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8782 export_dynamic_flag_spec='${wl}--export-dynamic'
8783 # ancient GNU ld didn't support --whole-archive et. al.
8784 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8785 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8787 whole_archive_flag_spec=
8789 supports_anon_versioning=no
8790 case `$LD -v 2>&1` in
8791 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8792 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8793 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8794 *\ 2.11.*) ;; # other 2.11 versions
8795 *) supports_anon_versioning=yes ;;
8798 # See if GNU ld supports shared libraries.
8801 # On AIX/PPC, the GNU linker is very broken
8802 if test "$host_cpu" != ia64; then
8806 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8807 *** to be unable to reliably create shared libraries on AIX.
8808 *** Therefore, libtool is disabling shared libraries support. If you
8809 *** really care for shared libraries, you may want to modify your PATH
8810 *** so that a non-GNU linker is found, and then restart.
8819 # see comment about AmigaOS4 .so support
8820 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8821 archive_expsym_cmds=''
8824 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8825 hardcode_libdir_flag_spec='-L$libdir'
8826 hardcode_minus_L=yes
8832 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8833 allow_undefined_flag=unsupported
8834 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8835 # support --undefined. This deserves some investigation. FIXME
8836 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8842 cygwin* | mingw* | pw32* | cegcc*)
8843 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8844 # as there is no search path for DLLs.
8845 hardcode_libdir_flag_spec='-L$libdir'
8846 allow_undefined_flag=unsupported
8847 always_export_symbols=no
8848 enable_shared_with_static_runtimes=yes
8849 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8851 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8852 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8853 # If the export-symbols file already is a .def file (1st line
8854 # is EXPORTS), use it as is; otherwise, prepend...
8855 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8856 cp $export_symbols $output_objdir/$soname.def;
8858 echo EXPORTS > $output_objdir/$soname.def;
8859 cat $export_symbols >> $output_objdir/$soname.def;
8861 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8869 hardcode_shlibpath_var=no
8870 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8871 export_dynamic_flag_spec='${wl}-E'
8872 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8873 # Instead, shared libraries are loaded at an image base (0x10000000 by
8874 # default) and relocated if they conflict, which is a slow very memory
8875 # consuming and fragmenting process. To avoid this, we pick a random,
8876 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8877 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8878 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8879 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8882 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8884 if test "$host_os" = linux-dietlibc; then
8885 case $cc_basename in
8886 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8889 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8890 && test "$tmp_diet" = no
8893 tmp_sharedflag='-shared'
8894 case $cc_basename,$host_cpu in
8895 pgcc*) # Portland Group C compiler
8896 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8897 tmp_addflag=' $pic_flag'
8899 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8900 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8901 tmp_addflag=' $pic_flag -Mnomain' ;;
8902 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8903 tmp_addflag=' -i_dynamic' ;;
8904 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8905 tmp_addflag=' -i_dynamic -nofor_main' ;;
8906 ifc* | ifort*) # Intel Fortran compiler
8907 tmp_addflag=' -nofor_main' ;;
8908 lf95*) # Lahey Fortran 8.1
8909 whole_archive_flag_spec=
8910 tmp_sharedflag='--shared' ;;
8911 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8912 tmp_sharedflag='-qmkshrobj'
8915 case `$CC -V 2>&1 | sed 5q` in
8916 *Sun\ C*) # Sun C 5.9
8917 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8918 compiler_needs_object=yes
8919 tmp_sharedflag='-G' ;;
8920 *Sun\ F*) # Sun Fortran 8.3
8921 tmp_sharedflag='-G' ;;
8923 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8925 if test "x$supports_anon_versioning" = xyes; then
8926 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8928 echo "local: *; };" >> $output_objdir/$libname.ver~
8929 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8932 case $cc_basename in
8934 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8935 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8936 hardcode_libdir_flag_spec=
8937 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8938 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8939 if test "x$supports_anon_versioning" = xyes; then
8940 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8941 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8942 echo "local: *; };" >> $output_objdir/$libname.ver~
8943 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8953 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8954 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8957 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8958 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8963 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8967 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8968 *** create shared libraries on Solaris systems. Therefore, libtool
8969 *** is disabling shared libraries support. We urge you to upgrade GNU
8970 *** binutils to release 2.9.1 or newer. Another option is to modify
8971 *** your PATH or compiler configuration so that the native linker is
8972 *** used, and then restart.
8975 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8976 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8977 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8983 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8984 case `$LD -v 2>&1` in
8985 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8989 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8990 *** reliably create shared libraries on SCO systems. Therefore, libtool
8991 *** is disabling shared libraries support. We urge you to upgrade GNU
8992 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8993 *** your PATH or compiler configuration so that the native linker is
8994 *** used, and then restart.
8999 # For security reasons, it is highly recommended that you always
9000 # use absolute paths for naming shared libraries, and exclude the
9001 # DT_RUNPATH tag from executables and libraries. But doing so
9002 # requires that you compile everything twice, which is a pain.
9003 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9004 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9005 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9006 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9015 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9018 hardcode_shlibpath_var=no
9022 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9024 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9031 if test "$ld_shlibs" = no; then
9033 hardcode_libdir_flag_spec=
9034 export_dynamic_flag_spec=
9035 whole_archive_flag_spec=
9038 # PORTME fill in a description of your system's linker (not GNU ld)
9041 allow_undefined_flag=unsupported
9042 always_export_symbols=yes
9043 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9044 # Note: this linker hardcodes the directories in LIBPATH if there
9045 # are no directories specified by -L.
9046 hardcode_minus_L=yes
9047 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9048 # Neither direct hardcoding nor static linking is supported with a
9050 hardcode_direct=unsupported
9055 if test "$host_cpu" = ia64; then
9056 # On IA64, the linker does run time linking by default, so we don't
9057 # have to do anything special.
9058 aix_use_runtimelinking=no
9059 exp_sym_flag='-Bexport'
9062 # If we're using GNU nm, then we don't want the "-C" option.
9063 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9064 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9065 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9067 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9069 aix_use_runtimelinking=no
9071 # Test if we are trying to use run time linking or normal
9072 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9073 # need to do runtime linking.
9074 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9075 for ld_flag in $LDFLAGS; do
9076 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9077 aix_use_runtimelinking=yes
9084 exp_sym_flag='-bexport'
9085 no_entry_flag='-bnoentry'
9088 # When large executables or shared objects are built, AIX ld can
9089 # have problems creating the table of contents. If linking a library
9090 # or program results in "error TOC overflow" add -mminimal-toc to
9091 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9092 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9096 hardcode_direct_absolute=yes
9097 hardcode_libdir_separator=':'
9098 link_all_deplibs=yes
9099 file_list_spec='${wl}-f,'
9101 if test "$GCC" = yes; then
9102 case $host_os in aix4.[012]|aix4.[012].*)
9103 # We only want to do this on AIX 4.2 and lower, the check
9104 # below for broken collect2 doesn't work under 4.3+
9105 collect2name=`${CC} -print-prog-name=collect2`
9106 if test -f "$collect2name" &&
9107 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9109 # We have reworked collect2
9112 # We have old collect2
9113 hardcode_direct=unsupported
9114 # It fails to find uninstalled libraries when the uninstalled
9115 # path is not listed in the libpath. Setting hardcode_minus_L
9116 # to unsupported forces relinking
9117 hardcode_minus_L=yes
9118 hardcode_libdir_flag_spec='-L$libdir'
9119 hardcode_libdir_separator=
9123 shared_flag='-shared'
9124 if test "$aix_use_runtimelinking" = yes; then
9125 shared_flag="$shared_flag "'${wl}-G'
9129 if test "$host_cpu" = ia64; then
9130 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9131 # chokes on -Wl,-G. The following line is correct:
9134 if test "$aix_use_runtimelinking" = yes; then
9135 shared_flag='${wl}-G'
9137 shared_flag='${wl}-bM:SRE'
9142 export_dynamic_flag_spec='${wl}-bexpall'
9143 # It seems that -bexpall does not export symbols beginning with
9144 # underscore (_), so it is better to generate a list of symbols to export.
9145 always_export_symbols=yes
9146 if test "$aix_use_runtimelinking" = yes; then
9147 # Warning - without using the other runtime loading flags (-brtl),
9148 # -berok will link without error, but may produce a broken library.
9149 allow_undefined_flag='-berok'
9150 # Determine the default libpath from the value encoded in an
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9163 if ac_fn_c_try_link "$LINENO"; then :
9165 lt_aix_libpath_sed='
9166 /Import File Strings/,/^$/ {
9172 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9173 # Check for a 64-bit object if we didn't find anything.
9174 if test -z "$aix_libpath"; then
9175 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9178 rm -f core conftest.err conftest.$ac_objext \
9179 conftest$ac_exeext conftest.$ac_ext
9180 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9182 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9183 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9185 if test "$host_cpu" = ia64; then
9186 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9187 allow_undefined_flag="-z nodefs"
9188 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9190 # Determine the default libpath from the value encoded in an
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9203 if ac_fn_c_try_link "$LINENO"; then :
9205 lt_aix_libpath_sed='
9206 /Import File Strings/,/^$/ {
9212 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9213 # Check for a 64-bit object if we didn't find anything.
9214 if test -z "$aix_libpath"; then
9215 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9222 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9223 # Warning - without using the other run time loading flags,
9224 # -berok will link without error, but may produce a broken library.
9225 no_undefined_flag=' ${wl}-bernotok'
9226 allow_undefined_flag=' ${wl}-berok'
9227 # Exported symbols can be pulled into shared objects from archives
9228 whole_archive_flag_spec='$convenience'
9229 archive_cmds_need_lc=yes
9230 # This is similar to how AIX traditionally builds its shared libraries.
9231 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9239 # see comment about AmigaOS4 .so support
9240 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9241 archive_expsym_cmds=''
9244 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9245 hardcode_libdir_flag_spec='-L$libdir'
9246 hardcode_minus_L=yes
9252 export_dynamic_flag_spec=-rdynamic
9255 cygwin* | mingw* | pw32* | cegcc*)
9256 # When not using gcc, we currently assume that we are using
9257 # Microsoft Visual C++.
9258 # hardcode_libdir_flag_spec is actually meaningless, as there is
9259 # no search path for DLLs.
9260 hardcode_libdir_flag_spec=' '
9261 allow_undefined_flag=unsupported
9262 # Tell ltmain to make .lib files, not .a files.
9264 # Tell ltmain to make .dll files, not .so files.
9266 # FIXME: Setting linknames here is a bad hack.
9267 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9268 # The linker will automatically build a .lib file if we build a DLL.
9269 old_archive_from_new_cmds='true'
9270 # FIXME: Should let the user specify the lib program.
9271 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9272 fix_srcfile_path='`cygpath -w "$srcfile"`'
9273 enable_shared_with_static_runtimes=yes
9276 darwin* | rhapsody*)
9279 archive_cmds_need_lc=no
9281 hardcode_automatic=yes
9282 hardcode_shlibpath_var=unsupported
9283 whole_archive_flag_spec=''
9284 link_all_deplibs=yes
9285 allow_undefined_flag="$_lt_dar_allow_undefined"
9286 case $cc_basename in
9287 ifort*) _lt_dar_can_shared=yes ;;
9288 *) _lt_dar_can_shared=$GCC ;;
9290 if test "$_lt_dar_can_shared" = "yes"; then
9291 output_verbose_link_cmd=echo
9292 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9293 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9294 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9295 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9304 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9305 hardcode_libdir_flag_spec='-L$libdir'
9306 hardcode_shlibpath_var=no
9313 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9314 # support. Future versions do this automatically, but an explicit c++rt0.o
9315 # does not break anything, and helps significantly (at the cost of a little
9318 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9319 hardcode_libdir_flag_spec='-R$libdir'
9321 hardcode_shlibpath_var=no
9324 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9326 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9328 hardcode_minus_L=yes
9329 hardcode_shlibpath_var=no
9332 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9333 freebsd* | dragonfly*)
9334 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9335 hardcode_libdir_flag_spec='-R$libdir'
9337 hardcode_shlibpath_var=no
9341 if test "$GCC" = yes; then
9342 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9344 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9346 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9347 hardcode_libdir_separator=:
9350 # hardcode_minus_L: Not really in the search PATH,
9351 # but as the default location of the library.
9352 hardcode_minus_L=yes
9353 export_dynamic_flag_spec='${wl}-E'
9357 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9358 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9360 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9362 if test "$with_gnu_ld" = no; then
9363 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9364 hardcode_libdir_flag_spec_ld='+b $libdir'
9365 hardcode_libdir_separator=:
9367 hardcode_direct_absolute=yes
9368 export_dynamic_flag_spec='${wl}-E'
9369 # hardcode_minus_L: Not really in the search PATH,
9370 # but as the default location of the library.
9371 hardcode_minus_L=yes
9376 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9379 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9391 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9397 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9401 if test "$with_gnu_ld" = no; then
9402 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9403 hardcode_libdir_separator=:
9408 hardcode_shlibpath_var=no
9412 hardcode_direct_absolute=yes
9413 export_dynamic_flag_spec='${wl}-E'
9415 # hardcode_minus_L: Not really in the search PATH,
9416 # but as the default location of the library.
9417 hardcode_minus_L=yes
9423 irix5* | irix6* | nonstopux*)
9424 if test "$GCC" = yes; then
9425 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9426 # Try to use the -exported_symbol ld option, if it does not
9427 # work, assume that -exports_file does not work either and
9428 # implicitly export all symbols.
9429 save_LDFLAGS="$LDFLAGS"
9430 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9435 if ac_fn_c_try_link "$LINENO"; then :
9436 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 LDFLAGS="$save_LDFLAGS"
9443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9444 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9446 archive_cmds_need_lc='no'
9447 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9448 hardcode_libdir_separator=:
9450 link_all_deplibs=yes
9454 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9455 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9457 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9459 hardcode_libdir_flag_spec='-R$libdir'
9461 hardcode_shlibpath_var=no
9465 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9467 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9468 hardcode_libdir_separator=:
9469 hardcode_shlibpath_var=no
9476 if test -f /usr/libexec/ld.so; then
9478 hardcode_shlibpath_var=no
9479 hardcode_direct_absolute=yes
9480 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9481 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9482 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9483 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9484 export_dynamic_flag_spec='${wl}-E'
9487 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9488 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 hardcode_libdir_flag_spec='-R$libdir'
9492 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9493 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9503 hardcode_libdir_flag_spec='-L$libdir'
9504 hardcode_minus_L=yes
9505 allow_undefined_flag=unsupported
9506 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9507 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9511 if test "$GCC" = yes; then
9512 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9513 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9515 allow_undefined_flag=' -expect_unresolved \*'
9516 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9518 archive_cmds_need_lc='no'
9519 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9520 hardcode_libdir_separator=:
9523 osf4* | osf5*) # as osf3* with the addition of -msym flag
9524 if test "$GCC" = yes; then
9525 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9526 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9527 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9529 allow_undefined_flag=' -expect_unresolved \*'
9530 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9531 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9532 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9534 # Both c and cxx compiler support -rpath directly
9535 hardcode_libdir_flag_spec='-rpath $libdir'
9537 archive_cmds_need_lc='no'
9538 hardcode_libdir_separator=:
9542 no_undefined_flag=' -z defs'
9543 if test "$GCC" = yes; then
9545 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9546 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9547 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9549 case `$CC -V 2>&1` in
9552 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9553 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9554 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9558 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9559 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9560 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9564 hardcode_libdir_flag_spec='-R$libdir'
9565 hardcode_shlibpath_var=no
9567 solaris2.[0-5] | solaris2.[0-5].*) ;;
9569 # The compiler driver will combine and reorder linker options,
9570 # but understands `-z linker_flag'. GCC discards it without `$wl',
9571 # but is careful enough not to reorder.
9572 # Supported since Solaris 2.6 (maybe 2.5.1?)
9573 if test "$GCC" = yes; then
9574 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9576 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9580 link_all_deplibs=yes
9584 if test "x$host_vendor" = xsequent; then
9585 # Use $CC to link under sequent, because it throws in some extra .o
9586 # files that make .init and .fini sections work.
9587 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9591 hardcode_libdir_flag_spec='-L$libdir'
9593 hardcode_minus_L=yes
9594 hardcode_shlibpath_var=no
9598 case $host_vendor in
9600 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9601 hardcode_direct=yes # is this really true???
9604 ## LD is ld it makes a PLAMLIB
9605 ## CC just makes a GrossModule.
9606 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9607 reload_cmds='$CC -r -o $output$reload_objs'
9611 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9612 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9615 runpath_var='LD_RUN_PATH'
9616 hardcode_shlibpath_var=no
9620 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9621 hardcode_shlibpath_var=no
9622 export_dynamic_flag_spec='-Bexport'
9626 if test -d /usr/nec; then
9627 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_shlibpath_var=no
9629 runpath_var=LD_RUN_PATH
9630 hardcode_runpath_var=yes
9635 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9636 no_undefined_flag='${wl}-z,text'
9637 archive_cmds_need_lc=no
9638 hardcode_shlibpath_var=no
9639 runpath_var='LD_RUN_PATH'
9641 if test "$GCC" = yes; then
9642 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9650 sysv5* | sco3.2v5* | sco5v6*)
9651 # Note: We can NOT use -z defs as we might desire, because we do not
9652 # link with -lc, and that would cause any symbols used from libc to
9653 # always be unresolved, which means just about no library would
9654 # ever link correctly. If we're not using GNU ld we use -z text
9655 # though, which does catch some bad symbols but isn't as heavy-handed
9657 no_undefined_flag='${wl}-z,text'
9658 allow_undefined_flag='${wl}-z,nodefs'
9659 archive_cmds_need_lc=no
9660 hardcode_shlibpath_var=no
9661 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9662 hardcode_libdir_separator=':'
9663 link_all_deplibs=yes
9664 export_dynamic_flag_spec='${wl}-Bexport'
9665 runpath_var='LD_RUN_PATH'
9667 if test "$GCC" = yes; then
9668 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9669 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9671 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9672 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9677 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678 hardcode_libdir_flag_spec='-L$libdir'
9679 hardcode_shlibpath_var=no
9687 if test x$host_vendor = xsni; then
9689 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9690 export_dynamic_flag_spec='${wl}-Blargedynsym'
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9697 $as_echo "$ld_shlibs" >&6; }
9698 test "$ld_shlibs" = no && can_build_shared=no
9700 with_gnu_ld=$with_gnu_ld
9717 # Do we need to explicitly link libc?
9719 case "x$archive_cmds_need_lc" in
9721 # Assume -lc should be added
9722 archive_cmds_need_lc=yes
9724 if test "$enable_shared" = yes && test "$GCC" = yes; then
9725 case $archive_cmds in
9727 # FIXME: we may have to deal with multi-command sequences.
9730 # Test whether the compiler implicitly links with -lc since on some
9731 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9732 # to ld, don't add -lc before -lgcc.
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9734 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9735 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9736 $as_echo_n "(cached) " >&6
9739 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9742 (eval $ac_compile) 2>&5
9744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9745 test $ac_status = 0; } 2>conftest.err; then
9748 libobjs=conftest.$ac_objext
9750 wl=$lt_prog_compiler_wl
9751 pic_flag=$lt_prog_compiler_pic
9757 lt_save_allow_undefined_flag=$allow_undefined_flag
9758 allow_undefined_flag=
9759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9760 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9763 test $ac_status = 0; }
9765 lt_cv_archive_cmds_need_lc=no
9767 lt_cv_archive_cmds_need_lc=yes
9769 allow_undefined_flag=$lt_save_allow_undefined_flag
9771 cat conftest.err 1>&5
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9777 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9778 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9942 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9944 if test "$GCC" = yes; then
9946 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9947 *) lt_awk_arg="/^libraries:/" ;;
9949 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9950 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9951 # if the path contains ";" then we assume it to be the separator
9952 # otherwise default to the standard path separator (i.e. ":") - it is
9953 # assumed that no part of a normal pathname contains ";" but that should
9954 # okay in the real world where ";" in dirpaths is itself problematic.
9955 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9957 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9959 # Ok, now we have the path, separated by spaces, we can step through it
9960 # and add multilib dir if necessary.
9961 lt_tmp_lt_search_path_spec=
9962 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9963 for lt_sys_path in $lt_search_path_spec; do
9964 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9965 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9967 test -d "$lt_sys_path" && \
9968 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9971 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9972 BEGIN {RS=" "; FS="/|\n";} {
9975 for (lt_i = NF; lt_i > 0; lt_i--) {
9976 if ($lt_i != "" && $lt_i != ".") {
9977 if ($lt_i == "..") {
9980 if (lt_count == 0) {
9981 lt_foo="/" $lt_i lt_foo;
9988 if (lt_foo != "") { lt_freq[lt_foo]++; }
9989 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9991 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9993 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9996 libname_spec='lib$name'
10000 postuninstall_cmds=
10004 shlibpath_overrides_runpath=unknown
10006 dynamic_linker="$host_os ld.so"
10007 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10008 need_lib_prefix=unknown
10009 hardcode_into_libs=no
10011 # when you set need_version to no, make sure it does not cause -set_version
10012 # flags to be left without arguments
10013 need_version=unknown
10018 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10019 shlibpath_var=LIBPATH
10021 # AIX 3 has no versioning support, so we append a major version to the name.
10022 soname_spec='${libname}${release}${shared_ext}$major'
10029 hardcode_into_libs=yes
10030 if test "$host_cpu" = ia64; then
10031 # AIX 5 supports IA64
10032 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10033 shlibpath_var=LD_LIBRARY_PATH
10035 # With GCC up to 2.95.x, collect2 would create an import file
10036 # for dependence libraries. The import file would start with
10037 # the line `#! .'. This would cause the generated library to
10038 # depend on `.', always an invalid library. This was fixed in
10039 # development snapshots of GCC prior to 3.0.
10041 aix4 | aix4.[01] | aix4.[01].*)
10042 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10044 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10047 can_build_shared=no
10051 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10052 # soname into executable. Probably we can add versioning support to
10053 # collect2, so additional links can be useful in future.
10054 if test "$aix_use_runtimelinking" = yes; then
10055 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10056 # instead of lib<name>.a to let people know that these are not
10057 # typical AIX shared libraries.
10058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10060 # We preserve .a as extension for shared libraries through AIX4.2
10061 # and later when we are not doing run time linking.
10062 library_names_spec='${libname}${release}.a $libname.a'
10063 soname_spec='${libname}${release}${shared_ext}$major'
10065 shlibpath_var=LIBPATH
10072 # Since July 2007 AmigaOS4 officially supports .so libraries.
10073 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10077 library_names_spec='$libname.ixlibrary $libname.a'
10078 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10079 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10085 library_names_spec='${libname}${shared_ext}'
10086 dynamic_linker="$host_os ld.so"
10087 shlibpath_var=LIBRARY_PATH
10093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10094 soname_spec='${libname}${release}${shared_ext}$major'
10095 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10096 shlibpath_var=LD_LIBRARY_PATH
10097 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10098 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10099 # the default ld.so.conf also contains /usr/contrib/lib and
10100 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10101 # libtool to hard-code these into programs
10104 cygwin* | mingw* | pw32* | cegcc*)
10105 version_type=windows
10110 case $GCC,$host_os in
10111 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10112 library_names_spec='$libname.dll.a'
10113 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10114 postinstall_cmds='base_file=`basename \${file}`~
10115 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10116 dldir=$destdir/`dirname \$dlpath`~
10117 test -d \$dldir || mkdir -p \$dldir~
10118 $install_prog $dir/$dlname \$dldir/$dlname~
10119 chmod a+x \$dldir/$dlname~
10120 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10121 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10123 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10124 dlpath=$dir/\$dldll~
10126 shlibpath_overrides_runpath=yes
10130 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10131 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10132 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10135 # MinGW DLLs use traditional 'lib' prefix
10136 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10137 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10138 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10139 # It is most probably a Windows format PATH printed by
10140 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10141 # path with ; separators, and with drive letters. We can handle the
10142 # drive letters (cygwin fileutils understands them), so leave them,
10143 # especially as we might pass files found there to a mingw objdump,
10144 # which wouldn't understand a cygwinified path. Ahh.
10145 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10151 # pw32 DLLs use 'pw' prefix rather than 'lib'
10152 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10158 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10161 dynamic_linker='Win32 ld.exe'
10162 # FIXME: first we should search . and the directory the executable is in
10166 darwin* | rhapsody*)
10167 dynamic_linker="$host_os dyld"
10168 version_type=darwin
10171 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10172 soname_spec='${libname}${release}${major}$shared_ext'
10173 shlibpath_overrides_runpath=yes
10174 shlibpath_var=DYLD_LIBRARY_PATH
10175 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10177 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10178 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10186 soname_spec='${libname}${release}${shared_ext}$major'
10187 shlibpath_var=LD_LIBRARY_PATH
10194 freebsd* | dragonfly*)
10195 # DragonFly does not have aout. When/if they implement a new
10196 # versioning mechanism, adjust this.
10197 if test -x /usr/bin/objformat; then
10198 objformat=`/usr/bin/objformat`
10201 freebsd[123]*) objformat=aout ;;
10202 *) objformat=elf ;;
10205 version_type=freebsd-$objformat
10206 case $version_type in
10208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10213 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10217 shlibpath_var=LD_LIBRARY_PATH
10220 shlibpath_overrides_runpath=yes
10222 freebsd3.[01]* | freebsdelf3.[01]*)
10223 shlibpath_overrides_runpath=yes
10224 hardcode_into_libs=yes
10226 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10227 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10228 shlibpath_overrides_runpath=no
10229 hardcode_into_libs=yes
10231 *) # from 4.6 on, and DragonFly
10232 shlibpath_overrides_runpath=yes
10233 hardcode_into_libs=yes
10242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10243 soname_spec='${libname}${release}${shared_ext}$major'
10244 shlibpath_var=LD_LIBRARY_PATH
10245 hardcode_into_libs=yes
10248 hpux9* | hpux10* | hpux11*)
10249 # Give a soname corresponding to the major version so that dld.sl refuses to
10250 # link against other versions.
10257 hardcode_into_libs=yes
10258 dynamic_linker="$host_os dld.so"
10259 shlibpath_var=LD_LIBRARY_PATH
10260 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10262 soname_spec='${libname}${release}${shared_ext}$major'
10263 if test "X$HPUX_IA64_MODE" = X32; then
10264 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10266 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10268 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10272 hardcode_into_libs=yes
10273 dynamic_linker="$host_os dld.sl"
10274 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10275 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10277 soname_spec='${libname}${release}${shared_ext}$major'
10278 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10279 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10283 dynamic_linker="$host_os dld.sl"
10284 shlibpath_var=SHLIB_PATH
10285 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10287 soname_spec='${libname}${release}${shared_ext}$major'
10290 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10291 postinstall_cmds='chmod 555 $lib'
10298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10299 soname_spec='${libname}${release}${shared_ext}$major'
10300 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10301 shlibpath_var=LD_LIBRARY_PATH
10302 shlibpath_overrides_runpath=no
10303 hardcode_into_libs=yes
10306 irix5* | irix6* | nonstopux*)
10308 nonstopux*) version_type=nonstopux ;;
10310 if test "$lt_cv_prog_gnu_ld" = yes; then
10318 soname_spec='${libname}${release}${shared_ext}$major'
10319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10321 irix5* | nonstopux*)
10322 libsuff= shlibsuff=
10325 case $LD in # libtool.m4 will add one of these switches to LD
10326 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10327 libsuff= shlibsuff= libmagic=32-bit;;
10328 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10329 libsuff=32 shlibsuff=N32 libmagic=N32;;
10330 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10331 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10332 *) libsuff= shlibsuff= libmagic=never-match;;
10336 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10337 shlibpath_overrides_runpath=no
10338 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10339 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10340 hardcode_into_libs=yes
10343 # No shared lib support for Linux oldld, aout, or coff.
10344 linux*oldld* | linux*aout* | linux*coff*)
10348 # This must be Linux ELF.
10349 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 soname_spec='${libname}${release}${shared_ext}$major'
10355 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10356 shlibpath_var=LD_LIBRARY_PATH
10357 shlibpath_overrides_runpath=no
10359 # Some binutils ld are patched to set DT_RUNPATH
10360 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10361 $as_echo_n "(cached) " >&6
10363 lt_cv_shlibpath_overrides_runpath=no
10364 save_LDFLAGS=$LDFLAGS
10365 save_libdir=$libdir
10366 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10367 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10381 lt_cv_shlibpath_overrides_runpath=yes
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 LDFLAGS=$save_LDFLAGS
10387 libdir=$save_libdir
10391 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10393 # This implies no fast_install, which is unacceptable.
10394 # Some rework will be needed to allow for fast_install
10395 # before this can be enabled.
10396 hardcode_into_libs=yes
10398 # Append ld.so.conf contents to the search path
10399 if test -f /etc/ld.so.conf; then
10400 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10401 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10404 # We used to test for /lib/ld.so.1 and disable shared libraries on
10405 # powerpc, because MkLinux only supported shared libraries with the
10406 # GNU dynamic linker. Since this was broken with cross compilers,
10407 # most powerpc-linux boxes support dynamic linking these days and
10408 # people can always --disable-shared, the test was removed, and we
10409 # assume the GNU/Linux dynamic linker is in use.
10410 dynamic_linker='GNU/Linux ld.so'
10417 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10419 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10420 dynamic_linker='NetBSD (a.out) ld.so'
10422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10423 soname_spec='${libname}${release}${shared_ext}$major'
10424 dynamic_linker='NetBSD ld.elf_so'
10426 shlibpath_var=LD_LIBRARY_PATH
10427 shlibpath_overrides_runpath=yes
10428 hardcode_into_libs=yes
10433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434 shlibpath_var=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath=yes
10442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443 soname_spec='${libname}${release}${shared_ext}$major'
10444 shlibpath_var=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath=no
10446 hardcode_into_libs=yes
10447 dynamic_linker='ldqnx.so'
10452 sys_lib_dlsearch_path_spec="/usr/lib"
10454 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10456 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10457 *) need_version=no ;;
10459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10461 shlibpath_var=LD_LIBRARY_PATH
10462 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10464 openbsd2.[89] | openbsd2.[89].*)
10465 shlibpath_overrides_runpath=no
10468 shlibpath_overrides_runpath=yes
10472 shlibpath_overrides_runpath=yes
10477 libname_spec='$name'
10480 library_names_spec='$libname${shared_ext} $libname.a'
10481 dynamic_linker='OS/2 ld.exe'
10482 shlibpath_var=LIBPATH
10485 osf3* | osf4* | osf5*)
10489 soname_spec='${libname}${release}${shared_ext}$major'
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 shlibpath_var=LD_LIBRARY_PATH
10492 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10493 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 soname_spec='${libname}${release}${shared_ext}$major'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 shlibpath_overrides_runpath=yes
10508 hardcode_into_libs=yes
10509 # ldd complains unless libraries are executable
10510 postinstall_cmds='chmod +x $lib'
10515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10516 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10517 shlibpath_var=LD_LIBRARY_PATH
10518 shlibpath_overrides_runpath=yes
10519 if test "$with_gnu_ld" = yes; then
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec='${libname}${release}${shared_ext}$major'
10529 shlibpath_var=LD_LIBRARY_PATH
10530 case $host_vendor in
10532 shlibpath_overrides_runpath=no
10534 runpath_var=LD_RUN_PATH
10542 shlibpath_overrides_runpath=no
10543 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10549 if test -d /usr/nec ;then
10551 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10552 soname_spec='$libname${shared_ext}.$major'
10553 shlibpath_var=LD_LIBRARY_PATH
10557 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10558 version_type=freebsd-elf
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10562 soname_spec='${libname}${release}${shared_ext}$major'
10563 shlibpath_var=LD_LIBRARY_PATH
10564 shlibpath_overrides_runpath=yes
10565 hardcode_into_libs=yes
10566 if test "$with_gnu_ld" = yes; then
10567 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10569 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10572 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10576 sys_lib_dlsearch_path_spec='/usr/lib'
10580 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10585 shlibpath_var=LD_LIBRARY_PATH
10586 shlibpath_overrides_runpath=no
10587 hardcode_into_libs=yes
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 soname_spec='${libname}${release}${shared_ext}$major'
10594 shlibpath_var=LD_LIBRARY_PATH
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10602 $as_echo "$dynamic_linker" >&6; }
10603 test "$dynamic_linker" = no && can_build_shared=no
10605 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10606 if test "$GCC" = yes; then
10607 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10610 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10611 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10613 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10614 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10704 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10706 if test -n "$hardcode_libdir_flag_spec" ||
10707 test -n "$runpath_var" ||
10708 test "X$hardcode_automatic" = "Xyes" ; then
10710 # We can hardcode non-existent directories.
10711 if test "$hardcode_direct" != no &&
10712 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10713 # have to relink, otherwise we might link with an installed library
10714 # when we should be linking with a yet-to-be-installed one
10715 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10716 test "$hardcode_minus_L" != no; then
10717 # Linking always hardcodes the temporary library directory.
10718 hardcode_action=relink
10720 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10721 hardcode_action=immediate
10724 # We cannot hardcode anything, or else we can only hardcode existing
10726 hardcode_action=unsupported
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10729 $as_echo "$hardcode_action" >&6; }
10731 if test "$hardcode_action" = relink ||
10732 test "$inherit_rpath" = yes; then
10733 # Fast installation is not supported
10734 enable_fast_install=no
10735 elif test "$shlibpath_overrides_runpath" = yes ||
10736 test "$enable_shared" = no; then
10737 # Fast installation is not necessary
10738 enable_fast_install=needless
10746 if test "x$enable_dlopen" != xyes; then
10747 enable_dlopen=unknown
10748 enable_dlopen_self=unknown
10749 enable_dlopen_self_static=unknown
10756 lt_cv_dlopen="load_add_on"
10758 lt_cv_dlopen_self=yes
10761 mingw* | pw32* | cegcc*)
10762 lt_cv_dlopen="LoadLibrary"
10767 lt_cv_dlopen="dlopen"
10772 # if libdl is installed we need to link against it
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10774 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10775 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10776 $as_echo_n "(cached) " >&6
10778 ac_check_lib_save_LIBS=$LIBS
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10783 /* Override any GCC internal prototype to avoid an error.
10784 Use char because int might match the return type of a GCC
10785 builtin and then its argument prototype would still apply. */
10798 if ac_fn_c_try_link "$LINENO"; then :
10799 ac_cv_lib_dl_dlopen=yes
10801 ac_cv_lib_dl_dlopen=no
10803 rm -f core conftest.err conftest.$ac_objext \
10804 conftest$ac_exeext conftest.$ac_ext
10805 LIBS=$ac_check_lib_save_LIBS
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10808 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10809 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10810 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10813 lt_cv_dlopen="dyld"
10815 lt_cv_dlopen_self=yes
10822 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10823 if test "x$ac_cv_func_shl_load" = x""yes; then :
10824 lt_cv_dlopen="shl_load"
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10827 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10828 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10829 $as_echo_n "(cached) " >&6
10831 ac_check_lib_save_LIBS=$LIBS
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10846 return shl_load ();
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 ac_cv_lib_dld_shl_load=yes
10854 ac_cv_lib_dld_shl_load=no
10856 rm -f core conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_lib_save_LIBS
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10861 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10862 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10863 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10865 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10866 if test "x$ac_cv_func_dlopen" = x""yes; then :
10867 lt_cv_dlopen="dlopen"
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10870 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10871 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10872 $as_echo_n "(cached) " >&6
10874 ac_check_lib_save_LIBS=$LIBS
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10894 if ac_fn_c_try_link "$LINENO"; then :
10895 ac_cv_lib_dl_dlopen=yes
10897 ac_cv_lib_dl_dlopen=no
10899 rm -f core conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 LIBS=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10904 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10905 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10906 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10909 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10910 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10911 $as_echo_n "(cached) " >&6
10913 ac_check_lib_save_LIBS=$LIBS
10914 LIBS="-lsvld $LIBS"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10918 /* Override any GCC internal prototype to avoid an error.
10919 Use char because int might match the return type of a GCC
10920 builtin and then its argument prototype would still apply. */
10933 if ac_fn_c_try_link "$LINENO"; then :
10934 ac_cv_lib_svld_dlopen=yes
10936 ac_cv_lib_svld_dlopen=no
10938 rm -f core conftest.err conftest.$ac_objext \
10939 conftest$ac_exeext conftest.$ac_ext
10940 LIBS=$ac_check_lib_save_LIBS
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10943 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10944 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10945 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10948 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10949 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10950 $as_echo_n "(cached) " >&6
10952 ac_check_lib_save_LIBS=$LIBS
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10967 return dld_link ();
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 ac_cv_lib_dld_dld_link=yes
10975 ac_cv_lib_dld_dld_link=no
10977 rm -f core conftest.err conftest.$ac_objext \
10978 conftest$ac_exeext conftest.$ac_ext
10979 LIBS=$ac_check_lib_save_LIBS
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10982 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10983 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10984 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11005 if test "x$lt_cv_dlopen" != xno; then
11011 case $lt_cv_dlopen in
11013 save_CPPFLAGS="$CPPFLAGS"
11014 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11016 save_LDFLAGS="$LDFLAGS"
11017 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11020 LIBS="$lt_cv_dlopen_libs $LIBS"
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11023 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11024 if test "${lt_cv_dlopen_self+set}" = set; then :
11025 $as_echo_n "(cached) " >&6
11027 if test "$cross_compiling" = yes; then :
11028 lt_cv_dlopen_self=cross
11030 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11031 lt_status=$lt_dlunknown
11032 cat > conftest.$ac_ext <<_LT_EOF
11033 #line 11033 "configure"
11034 #include "confdefs.h"
11043 # define LT_DLGLOBAL RTLD_GLOBAL
11046 # define LT_DLGLOBAL DL_GLOBAL
11048 # define LT_DLGLOBAL 0
11052 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11053 find out it does not work in some platform. */
11054 #ifndef LT_DLLAZY_OR_NOW
11056 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11059 # define LT_DLLAZY_OR_NOW DL_LAZY
11062 # define LT_DLLAZY_OR_NOW RTLD_NOW
11065 # define LT_DLLAZY_OR_NOW DL_NOW
11067 # define LT_DLLAZY_OR_NOW 0
11074 void fnord() { int i=42;}
11077 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11078 int status = $lt_dlunknown;
11082 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11083 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11084 /* dlclose (self); */
11092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11093 (eval $ac_link) 2>&5
11095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11096 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11097 (./conftest; exit; ) >&5 2>/dev/null
11099 case x$lt_status in
11100 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11101 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11102 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11105 # compilation failed
11106 lt_cv_dlopen_self=no
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11114 $as_echo "$lt_cv_dlopen_self" >&6; }
11116 if test "x$lt_cv_dlopen_self" = xyes; then
11117 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11119 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11120 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11121 $as_echo_n "(cached) " >&6
11123 if test "$cross_compiling" = yes; then :
11124 lt_cv_dlopen_self_static=cross
11126 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11127 lt_status=$lt_dlunknown
11128 cat > conftest.$ac_ext <<_LT_EOF
11129 #line 11129 "configure"
11130 #include "confdefs.h"
11139 # define LT_DLGLOBAL RTLD_GLOBAL
11142 # define LT_DLGLOBAL DL_GLOBAL
11144 # define LT_DLGLOBAL 0
11148 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11149 find out it does not work in some platform. */
11150 #ifndef LT_DLLAZY_OR_NOW
11152 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11155 # define LT_DLLAZY_OR_NOW DL_LAZY
11158 # define LT_DLLAZY_OR_NOW RTLD_NOW
11161 # define LT_DLLAZY_OR_NOW DL_NOW
11163 # define LT_DLLAZY_OR_NOW 0
11170 void fnord() { int i=42;}
11173 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11174 int status = $lt_dlunknown;
11178 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11179 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11180 /* dlclose (self); */
11188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11189 (eval $ac_link) 2>&5
11191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11192 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11193 (./conftest; exit; ) >&5 2>/dev/null
11195 case x$lt_status in
11196 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11197 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11198 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11201 # compilation failed
11202 lt_cv_dlopen_self_static=no
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11210 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11213 CPPFLAGS="$save_CPPFLAGS"
11214 LDFLAGS="$save_LDFLAGS"
11219 case $lt_cv_dlopen_self in
11220 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11221 *) enable_dlopen_self=unknown ;;
11224 case $lt_cv_dlopen_self_static in
11225 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11226 *) enable_dlopen_self_static=unknown ;;
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11249 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11250 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11251 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11252 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11254 $as_echo "yes" >&6; }
11256 # FIXME - insert some real tests, host_os isn't really good enough
11259 if test -n "$STRIP" ; then
11260 striplib="$STRIP -x"
11261 old_striplib="$STRIP -S"
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11263 $as_echo "yes" >&6; }
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11266 $as_echo "no" >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11271 $as_echo "no" >&6; }
11287 # Report which library types will actually be built
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11289 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11291 $as_echo "$can_build_shared" >&6; }
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11294 $as_echo_n "checking whether to build shared libraries... " >&6; }
11295 test "$can_build_shared" = "no" && enable_shared=no
11297 # On AIX, shared libraries and static libraries use the same namespace, and
11298 # are all built from PIC.
11301 test "$enable_shared" = yes && enable_static=no
11302 if test -n "$RANLIB"; then
11303 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11304 postinstall_cmds='$RANLIB $lib'
11309 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11310 test "$enable_shared" = yes && enable_static=no
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11315 $as_echo "$enable_shared" >&6; }
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11318 $as_echo_n "checking whether to build static libraries... " >&6; }
11319 # Make sure either enable_shared or enable_static is yes.
11320 test "$enable_shared" = yes || enable_static=yes
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11322 $as_echo "$enable_static" >&6; }
11329 ac_cpp='$CPP $CPPFLAGS'
11330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11348 ac_config_commands="$ac_config_commands libtool"
11353 # Only expand once:
11357 for ac_func in setmode
11359 ac_fn_c_check_func "$LINENO" "setmode" "ac_cv_func_setmode"
11360 if test "x$ac_cv_func_setmode" = x""yes; then :
11361 cat >>confdefs.h <<_ACEOF
11362 #define HAVE_SETMODE 1
11369 ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi nl bg"
11370 # If we haven't got the data from the intl directory,
11371 # assume NLS is disabled.
11380 if test -f ../intl/config.intl; then
11381 . ../intl/config.intl
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11384 $as_echo_n "checking whether NLS is requested... " >&6; }
11385 if test x"$USE_NLS" != xyes; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11387 $as_echo "no" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11390 $as_echo "yes" >&6; }
11392 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11396 $as_echo_n "checking for catalogs to be installed... " >&6; }
11397 # Look for .po and .gmo files in the source directory.
11400 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11401 # If there aren't any .gmo files the shell will give us the
11402 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11404 case "$cat" in *\**)
11407 # The quadruple backslash is collapsed to a double backslash
11408 # by the backticks, then collapsed again by the double quotes,
11409 # leaving us with one backslash in the sed expression (right
11410 # before the dot that mustn't act as a wildcard).
11411 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11412 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
11413 # The user is allowed to set LINGUAS to a list of languages to
11414 # install catalogs for. If it's empty that means "all of them."
11415 if test "x$LINGUAS" = x; then
11416 CATALOGS="$CATALOGS $cat"
11417 XLINGUAS="$XLINGUAS $lang"
11419 case "$LINGUAS" in *$lang*)
11420 CATALOGS="$CATALOGS $cat"
11421 XLINGUAS="$XLINGUAS $lang"
11426 LINGUAS="$XLINGUAS"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11428 $as_echo "$LINGUAS" >&6; }
11442 if test -n "$ac_aux_dir"; then
11443 case "$ac_aux_dir" in
11444 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11445 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11448 if test -z "$MKINSTALLDIRS"; then
11449 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11455 $as_echo_n "checking whether NLS is requested... " >&6; }
11456 # Check whether --enable-nls was given.
11457 if test "${enable_nls+set}" = set; then :
11458 enableval=$enable_nls; USE_NLS=$enableval
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11464 $as_echo "$USE_NLS" >&6; }
11471 # Prepare PATH_SEPARATOR.
11472 # The user is always right.
11473 if test "${PATH_SEPARATOR+set}" != set; then
11474 echo "#! /bin/sh" >conf$$.sh
11475 echo "exit 0" >>conf$$.sh
11477 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11485 # Find out how to test for executable files. Don't use a zero-byte file,
11486 # as systems may use methods other than mode bits to determine executability.
11487 cat >conf$$.file <<_ASEOF
11491 chmod +x conf$$.file
11492 if test -x conf$$.file >/dev/null 2>&1; then
11493 ac_executable_p="test -x"
11495 ac_executable_p="test -f"
11499 # Extract the first word of "msgfmt", so it can be a program name with args.
11500 set dummy msgfmt; ac_word=$2
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11502 $as_echo_n "checking for $ac_word... " >&6; }
11503 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11504 $as_echo_n "(cached) " >&6
11508 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11511 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11512 for ac_dir in $PATH; do
11514 test -z "$ac_dir" && ac_dir=.
11515 for ac_exec_ext in '' $ac_executable_extensions; do
11516 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11517 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11518 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11519 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11526 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11530 MSGFMT="$ac_cv_path_MSGFMT"
11531 if test "$MSGFMT" != ":"; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11533 $as_echo "$MSGFMT" >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536 $as_echo "no" >&6; }
11539 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11540 set dummy gmsgfmt; ac_word=$2
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11542 $as_echo_n "checking for $ac_word... " >&6; }
11543 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11544 $as_echo_n "(cached) " >&6
11548 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11552 for as_dir in $PATH
11555 test -z "$as_dir" && as_dir=.
11556 for ac_exec_ext in '' $ac_executable_extensions; do
11557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11558 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11566 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11570 GMSGFMT=$ac_cv_path_GMSGFMT
11571 if test -n "$GMSGFMT"; then
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11573 $as_echo "$GMSGFMT" >&6; }
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11576 $as_echo "no" >&6; }
11582 # Prepare PATH_SEPARATOR.
11583 # The user is always right.
11584 if test "${PATH_SEPARATOR+set}" != set; then
11585 echo "#! /bin/sh" >conf$$.sh
11586 echo "exit 0" >>conf$$.sh
11588 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11596 # Find out how to test for executable files. Don't use a zero-byte file,
11597 # as systems may use methods other than mode bits to determine executability.
11598 cat >conf$$.file <<_ASEOF
11602 chmod +x conf$$.file
11603 if test -x conf$$.file >/dev/null 2>&1; then
11604 ac_executable_p="test -x"
11606 ac_executable_p="test -f"
11610 # Extract the first word of "xgettext", so it can be a program name with args.
11611 set dummy xgettext; ac_word=$2
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11613 $as_echo_n "checking for $ac_word... " >&6; }
11614 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11615 $as_echo_n "(cached) " >&6
11617 case "$XGETTEXT" in
11619 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11622 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11623 for ac_dir in $PATH; do
11625 test -z "$ac_dir" && ac_dir=.
11626 for ac_exec_ext in '' $ac_executable_extensions; do
11627 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11628 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11629 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11630 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11637 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11641 XGETTEXT="$ac_cv_path_XGETTEXT"
11642 if test "$XGETTEXT" != ":"; then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11644 $as_echo "$XGETTEXT" >&6; }
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11647 $as_echo "no" >&6; }
11653 # Prepare PATH_SEPARATOR.
11654 # The user is always right.
11655 if test "${PATH_SEPARATOR+set}" != set; then
11656 echo "#! /bin/sh" >conf$$.sh
11657 echo "exit 0" >>conf$$.sh
11659 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11667 # Find out how to test for executable files. Don't use a zero-byte file,
11668 # as systems may use methods other than mode bits to determine executability.
11669 cat >conf$$.file <<_ASEOF
11673 chmod +x conf$$.file
11674 if test -x conf$$.file >/dev/null 2>&1; then
11675 ac_executable_p="test -x"
11677 ac_executable_p="test -f"
11681 # Extract the first word of "msgmerge", so it can be a program name with args.
11682 set dummy msgmerge; ac_word=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11684 $as_echo_n "checking for $ac_word... " >&6; }
11685 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11686 $as_echo_n "(cached) " >&6
11688 case "$MSGMERGE" in
11690 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11693 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11694 for ac_dir in $PATH; do
11696 test -z "$ac_dir" && ac_dir=.
11697 for ac_exec_ext in '' $ac_executable_extensions; do
11698 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11699 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11700 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11707 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11711 MSGMERGE="$ac_cv_path_MSGMERGE"
11712 if test "$MSGMERGE" != ":"; then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11714 $as_echo "$MSGMERGE" >&6; }
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11717 $as_echo "no" >&6; }
11721 if test "$GMSGFMT" != ":"; then
11722 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11723 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11726 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11728 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11733 if test "$XGETTEXT" != ":"; then
11734 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11735 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11739 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11745 ac_config_commands="$ac_config_commands default-1"
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11751 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11752 # Check whether --enable-maintainer-mode was given.
11753 if test "${enable_maintainer_mode+set}" = set; then :
11754 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11756 USE_MAINTAINER_MODE=no
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11760 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11761 if test $USE_MAINTAINER_MODE = yes; then
11762 MAINTAINER_MODE_TRUE=
11763 MAINTAINER_MODE_FALSE='#'
11765 MAINTAINER_MODE_TRUE='#'
11766 MAINTAINER_MODE_FALSE=
11769 MAINT=$MAINTAINER_MODE_TRUE
11773 GENINSRC_NEVER_TRUE=
11774 GENINSRC_NEVER_FALSE='#'
11776 GENINSRC_NEVER_TRUE='#'
11777 GENINSRC_NEVER_FALSE=
11782 for ac_header in sys/gmon_out.h
11784 ac_fn_c_check_header_mongrel "$LINENO" "sys/gmon_out.h" "ac_cv_header_sys_gmon_out_h" "$ac_includes_default"
11785 if test "x$ac_cv_header_sys_gmon_out_h" = x""yes; then :
11786 cat >>confdefs.h <<_ACEOF
11787 #define HAVE_SYS_GMON_OUT_H 1
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
11796 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
11797 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then :
11798 $as_echo_n "(cached) " >&6
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11802 #include <unistd.h>
11806 extern int getopt (int, char *const*, const char *);
11811 if ac_fn_c_try_compile "$LINENO"; then :
11812 gprof_cv_decl_getopt_unistd_h=yes
11814 gprof_cv_decl_getopt_unistd_h=no
11816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_decl_getopt_unistd_h" >&5
11820 $as_echo "$gprof_cv_decl_getopt_unistd_h" >&6; }
11821 if test $gprof_cv_decl_getopt_unistd_h = yes; then
11823 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
11827 # Some systems have fabs only in -lm, not in -lc.
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
11829 $as_echo_n "checking for library containing fabs... " >&6; }
11830 if test "${ac_cv_search_fabs+set}" = set; then :
11831 $as_echo_n "(cached) " >&6
11833 ac_func_search_save_LIBS=$LIBS
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11837 /* Override any GCC internal prototype to avoid an error.
11838 Use char because int might match the return type of a GCC
11839 builtin and then its argument prototype would still apply. */
11852 for ac_lib in '' m; do
11853 if test -z "$ac_lib"; then
11854 ac_res="none required"
11857 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11859 if ac_fn_c_try_link "$LINENO"; then :
11860 ac_cv_search_fabs=$ac_res
11862 rm -f core conftest.err conftest.$ac_objext \
11864 if test "${ac_cv_search_fabs+set}" = set; then :
11868 if test "${ac_cv_search_fabs+set}" = set; then :
11871 ac_cv_search_fabs=no
11873 rm conftest.$ac_ext
11874 LIBS=$ac_func_search_save_LIBS
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
11877 $as_echo "$ac_cv_search_fabs" >&6; }
11878 ac_res=$ac_cv_search_fabs
11879 if test "$ac_res" != no; then :
11880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11886 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11888 # Check whether --enable-werror was given.
11889 if test "${enable_werror+set}" = set; then :
11890 enableval=$enable_werror; case "${enableval}" in
11891 yes | y) ERROR_ON_WARNING="yes" ;;
11892 no | n) ERROR_ON_WARNING="no" ;;
11893 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11898 # Enable -Wno-format by default when using gcc on mingw
11901 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11902 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
11908 # Enable -Werror by default when using gcc
11909 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11910 ERROR_ON_WARNING=yes
11914 if test "${ERROR_ON_WARNING}" = yes ; then
11915 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11916 NO_WERROR="-Wno-error"
11919 if test "${GCC}" = yes ; then
11920 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11923 # Check whether --enable-build-warnings was given.
11924 if test "${enable_build_warnings+set}" = set; then :
11925 enableval=$enable_build_warnings; case "${enableval}" in
11926 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11927 no) if test "${GCC}" = yes ; then
11930 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11931 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
11932 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11933 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
11934 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11939 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
11940 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11952 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
11954 cat >confcache <<\_ACEOF
11955 # This file is a shell script that caches the results of configure
11956 # tests run on this system so they can be shared between configure
11957 # scripts and configure runs, see configure's option --config-cache.
11958 # It is not useful on other systems. If it contains results you don't
11959 # want to keep, you may remove or edit it.
11961 # config.status only pays attention to the cache file if you give it
11962 # the --recheck option to rerun configure.
11964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11966 # following values.
11970 # The following way of writing the cache mishandles newlines in values,
11971 # but we know of no workaround that is simple, portable, and efficient.
11972 # So, we kill variables containing newlines.
11973 # Ultrix sh set writes to stderr and can't be redirected directly,
11974 # and sets the high bit in the cache file unless we assign to the vars.
11976 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11977 eval ac_val=\$$ac_var
11981 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11985 _ | IFS | as_nl) ;; #(
11986 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11987 *) { eval $ac_var=; unset $ac_var;} ;;
11993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11994 *${as_nl}ac_space=\ *)
11995 # `set' does not quote correctly, so add quotes: double-quote
11996 # substitution turns \\\\ into \\, and sed turns \\ into \.
11999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12002 # `set' quotes correctly as required by POSIX, so do not add quotes.
12003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12016 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12017 if test -w "$cache_file"; then
12018 test "x$cache_file" != "x/dev/null" &&
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12020 $as_echo "$as_me: updating cache $cache_file" >&6;}
12021 cat confcache >$cache_file
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12024 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12029 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12030 # Let make expand exec_prefix.
12031 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12033 DEFS=-DHAVE_CONFIG_H
12037 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12038 # 1. Remove the extension, and $U if already installed.
12039 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12040 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12041 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12042 # will be set to the directory where LIBOBJS objects are built.
12043 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12044 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12046 LIBOBJS=$ac_libobjs
12048 LTLIBOBJS=$ac_ltlibobjs
12051 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12052 as_fn_error "conditional \"AMDEP\" was never defined.
12053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12055 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12056 as_fn_error "conditional \"am__fastdepCC\" was never defined.
12057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12059 if test -n "$EXEEXT"; then
12061 am__EXEEXT_FALSE='#'
12063 am__EXEEXT_TRUE='#'
12067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12068 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12071 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12072 as_fn_error "conditional \"GENINSRC_NEVER\" was never defined.
12073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12076 : ${CONFIG_STATUS=./config.status}
12078 ac_clean_files_save=$ac_clean_files
12079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12081 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12083 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12085 # Generated by $as_me.
12086 # Run this file to recreate the current configuration.
12087 # Compiler output produced by configure, useful for debugging
12088 # configure, is in config.log if it exists.
12091 ac_cs_recheck=false
12094 SHELL=\${CONFIG_SHELL-$SHELL}
12097 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12098 ## -------------------- ##
12099 ## M4sh Initialization. ##
12100 ## -------------------- ##
12102 # Be more Bourne compatible
12103 DUALCASE=1; export DUALCASE # for MKS sh
12104 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12107 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12108 # is contrary to our usage. Disable this feature.
12109 alias -g '${1+"$@"}'='"$@"'
12110 setopt NO_GLOB_SUBST
12112 case `(set -o) 2>/dev/null` in #(
12124 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12125 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12126 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12127 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12128 # Prefer a ksh shell builtin over an external printf program on Solaris,
12129 # but without wasting forks for bash or zsh.
12130 if test -z "$BASH_VERSION$ZSH_VERSION" \
12131 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12132 as_echo='print -r --'
12133 as_echo_n='print -rn --'
12134 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12135 as_echo='printf %s\n'
12136 as_echo_n='printf %s'
12138 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12139 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12140 as_echo_n='/usr/ucb/echo -n'
12142 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12143 as_echo_n_body='eval
12147 expr "X$arg" : "X\\(.*\\)$as_nl";
12148 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12150 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12152 export as_echo_n_body
12153 as_echo_n='sh -c $as_echo_n_body as_echo'
12155 export as_echo_body
12156 as_echo='sh -c $as_echo_body as_echo'
12159 # The user is always right.
12160 if test "${PATH_SEPARATOR+set}" != set; then
12162 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12163 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12170 # We need space, tab and new line, in precisely that order. Quoting is
12171 # there to prevent editors from complaining about space-tab.
12172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12173 # splitting by setting IFS to empty value.)
12176 # Find who we are. Look in the path if we contain no directory separator.
12178 *[\\/]* ) as_myself=$0 ;;
12179 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12180 for as_dir in $PATH
12183 test -z "$as_dir" && as_dir=.
12184 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12190 # We did not find ourselves, most probably we were run as `sh COMMAND'
12191 # in which case we are not to be found in the path.
12192 if test "x$as_myself" = x; then
12195 if test ! -f "$as_myself"; then
12196 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12200 # Unset variables that we do not need and which cause bugs (e.g. in
12201 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12202 # suppresses any "Segmentation fault" message there. '((' could
12203 # trigger a bug in pdksh 5.2.14.
12204 for as_var in BASH_ENV ENV MAIL MAILPATH
12205 do eval test x\${$as_var+set} = xset \
12206 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12219 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12222 # as_fn_error ERROR [LINENO LOG_FD]
12223 # ---------------------------------
12224 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12225 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12226 # script with status $?, using 1 if that was 0.
12229 as_status=$?; test $as_status -eq 0 && as_status=1
12231 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12232 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12234 $as_echo "$as_me: error: $1" >&2
12235 as_fn_exit $as_status
12239 # as_fn_set_status STATUS
12240 # -----------------------
12241 # Set $? to STATUS, without forking.
12242 as_fn_set_status ()
12245 } # as_fn_set_status
12247 # as_fn_exit STATUS
12248 # -----------------
12249 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12253 as_fn_set_status $1
12259 # Portably unset VAR.
12262 { eval $1=; unset $1;}
12264 as_unset=as_fn_unset
12265 # as_fn_append VAR VALUE
12266 # ----------------------
12267 # Append the text in VALUE to the end of the definition contained in VAR. Take
12268 # advantage of any shell optimizations that allow amortized linear growth over
12269 # repeated appends, instead of the typical quadratic growth present in naive
12271 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12272 eval 'as_fn_append ()
12283 # as_fn_arith ARG...
12284 # ------------------
12285 # Perform arithmetic evaluation on the ARGs, and store the result in the
12286 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12287 # must be portable across $(()) and expr.
12288 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12289 eval 'as_fn_arith ()
12296 as_val=`expr "$@" || test $? -eq 1`
12301 if expr a : '\(a\)' >/dev/null 2>&1 &&
12302 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12308 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12309 as_basename=basename
12314 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12320 as_me=`$as_basename -- "$0" ||
12321 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12322 X"$0" : 'X\(//\)$' \| \
12323 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12325 sed '/^.*\/\([^/][^/]*\)\/*$/{
12339 # Avoid depending upon Character Ranges.
12340 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12341 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12342 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12343 as_cr_digits='0123456789'
12344 as_cr_alnum=$as_cr_Letters$as_cr_digits
12346 ECHO_C= ECHO_N= ECHO_T=
12347 case `echo -n x` in #(((((
12349 case `echo 'xy\c'` in
12350 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12352 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12359 rm -f conf$$ conf$$.exe conf$$.file
12360 if test -d conf$$.dir; then
12361 rm -f conf$$.dir/conf$$.file
12364 mkdir conf$$.dir 2>/dev/null
12366 if (echo >conf$$.file) 2>/dev/null; then
12367 if ln -s conf$$.file conf$$ 2>/dev/null; then
12369 # ... but there are two gotchas:
12370 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12371 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12372 # In both cases, we have to default to `cp -p'.
12373 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12375 elif ln conf$$.file conf$$ 2>/dev/null; then
12383 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12384 rmdir conf$$.dir 2>/dev/null
12389 # Create "$as_dir" as a directory, including parents if necessary.
12394 -*) as_dir=./$as_dir;;
12396 test -d "$as_dir" || eval $as_mkdir_p || {
12400 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12401 *) as_qdir=$as_dir;;
12403 as_dirs="'$as_qdir' $as_dirs"
12404 as_dir=`$as_dirname -- "$as_dir" ||
12405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12406 X"$as_dir" : 'X\(//\)[^/]' \| \
12407 X"$as_dir" : 'X\(//\)$' \| \
12408 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12409 $as_echo X"$as_dir" |
12410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12414 /^X\(\/\/\)[^/].*/{
12427 test -d "$as_dir" && break
12429 test -z "$as_dirs" || eval "mkdir $as_dirs"
12430 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12434 if mkdir -p . 2>/dev/null; then
12435 as_mkdir_p='mkdir -p "$as_dir"'
12437 test -d ./-p && rmdir ./-p
12441 if test -x / >/dev/null 2>&1; then
12442 as_test_x='test -x'
12444 if ls -dL / >/dev/null 2>&1; then
12451 if test -d "$1"; then
12457 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12458 ???[sx]*):;;*)false;;esac;fi
12462 as_executable_p=$as_test_x
12464 # Sed expression to map a string onto a valid CPP name.
12465 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12467 # Sed expression to map a string onto a valid variable name.
12468 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12472 ## ----------------------------------- ##
12473 ## Main body of $CONFIG_STATUS script. ##
12474 ## ----------------------------------- ##
12476 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12479 # Save the log message, to keep $0 and so on meaningful, and to
12480 # report actual input values of CONFIG_FILES etc. instead of their
12481 # values after options handling.
12483 This file was extended by $as_me, which was
12484 generated by GNU Autoconf 2.64. Invocation command line was
12486 CONFIG_FILES = $CONFIG_FILES
12487 CONFIG_HEADERS = $CONFIG_HEADERS
12488 CONFIG_LINKS = $CONFIG_LINKS
12489 CONFIG_COMMANDS = $CONFIG_COMMANDS
12492 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12497 case $ac_config_files in *"
12498 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12501 case $ac_config_headers in *"
12502 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12507 # Files that config.status was made for.
12508 config_files="$ac_config_files"
12509 config_headers="$ac_config_headers"
12510 config_commands="$ac_config_commands"
12514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12516 \`$as_me' instantiates files and other configuration actions
12517 from templates according to the current configuration. Unless the files
12518 and actions are specified as TAGs, all are instantiated by default.
12520 Usage: $0 [OPTION]... [TAG]...
12522 -h, --help print this help, then exit
12523 -V, --version print version number and configuration settings, then exit
12524 -q, --quiet, --silent
12525 do not print progress messages
12526 -d, --debug don't remove temporary files
12527 --recheck update $as_me by reconfiguring in the same conditions
12528 --file=FILE[:TEMPLATE]
12529 instantiate the configuration file FILE
12530 --header=FILE[:TEMPLATE]
12531 instantiate the configuration header FILE
12533 Configuration files:
12536 Configuration headers:
12539 Configuration commands:
12542 Report bugs to the package provider."
12545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12548 configured by $0, generated by GNU Autoconf 2.64,
12549 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12551 Copyright (C) 2009 Free Software Foundation, Inc.
12552 This config.status script is free software; the Free Software Foundation
12553 gives unlimited permission to copy, distribute and modify it."
12560 test -n "\$AWK" || AWK=awk
12563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12564 # The default lists apply if the user does not specify any file.
12570 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12571 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12582 # Handling of the options.
12583 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12585 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12586 $as_echo "$ac_cs_version"; exit ;;
12587 --debug | --debu | --deb | --de | --d | -d )
12589 --file | --fil | --fi | --f )
12592 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12594 as_fn_append CONFIG_FILES " '$ac_optarg'"
12595 ac_need_defaults=false;;
12596 --header | --heade | --head | --hea )
12599 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12601 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12602 ac_need_defaults=false;;
12604 # Conflict between --help and --header
12605 as_fn_error "ambiguous option: \`$1'
12606 Try \`$0 --help' for more information.";;
12607 --help | --hel | -h )
12608 $as_echo "$ac_cs_usage"; exit ;;
12609 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12610 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12613 # This is an error.
12614 -*) as_fn_error "unrecognized option: \`$1'
12615 Try \`$0 --help' for more information." ;;
12617 *) as_fn_append ac_config_targets " $1"
12618 ac_need_defaults=false ;;
12624 ac_configure_extra_args=
12626 if $ac_cs_silent; then
12628 ac_configure_extra_args="$ac_configure_extra_args --silent"
12632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12633 if \$ac_cs_recheck; then
12634 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12636 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12637 CONFIG_SHELL='$SHELL'
12638 export CONFIG_SHELL
12643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12647 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12648 ## Running $as_me. ##
12654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12658 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12661 # The HP-UX ksh and POSIX shell print the target directory to stdout
12662 # if CDPATH is set.
12663 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12665 sed_quote_subst='$sed_quote_subst'
12666 double_quote_subst='$double_quote_subst'
12667 delay_variable_subst='$delay_variable_subst'
12668 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12669 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12670 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12671 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12672 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12673 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12674 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12675 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12676 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12677 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12678 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12679 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12680 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12681 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12682 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12683 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12684 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12685 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12686 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12687 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12688 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12689 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12690 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12691 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12692 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12693 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12694 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12695 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12696 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12697 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12698 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12699 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12700 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12701 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12702 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12703 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12704 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12705 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12706 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12707 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12708 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12709 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12710 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12711 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12712 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12713 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12714 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12715 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12716 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12717 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12718 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12719 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12720 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12721 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12722 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12723 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12724 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12725 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12726 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12727 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12728 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12729 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12730 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12731 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12732 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12733 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12734 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12735 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12736 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12737 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12738 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12739 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12740 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12741 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12742 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12743 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12744 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12745 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12746 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12747 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12748 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12749 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12750 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12751 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12752 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12753 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12754 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12755 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12756 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12757 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12758 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12759 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12760 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12761 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12762 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12763 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12764 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12765 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12766 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12767 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12768 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12769 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12770 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12771 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12772 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12773 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12774 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12775 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12776 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12777 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12778 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12779 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12780 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12781 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12782 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12783 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12784 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12785 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12788 LTCFLAGS='$LTCFLAGS'
12789 compiler='$compiler_DEFAULT'
12791 # Quote evaled strings.
12803 deplibs_check_method \
12812 lt_cv_sys_global_symbol_pipe \
12813 lt_cv_sys_global_symbol_to_cdecl \
12814 lt_cv_sys_global_symbol_to_c_name_address \
12815 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12818 lt_prog_compiler_no_builtin_flag \
12819 lt_prog_compiler_wl \
12820 lt_prog_compiler_pic \
12821 lt_prog_compiler_static \
12822 lt_cv_prog_compiler_c_o \
12830 export_dynamic_flag_spec \
12831 whole_archive_flag_spec \
12832 compiler_needs_object \
12834 allow_undefined_flag \
12835 no_undefined_flag \
12836 hardcode_libdir_flag_spec \
12837 hardcode_libdir_flag_spec_ld \
12838 hardcode_libdir_separator \
12843 variables_saved_for_relink \
12845 library_names_spec \
12850 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12851 *[\\\\\\\`\\"\\\$]*)
12852 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12855 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12860 # Double-quote double-evaled strings.
12861 for var in reload_cmds \
12862 old_postinstall_cmds \
12863 old_postuninstall_cmds \
12865 extract_expsyms_cmds \
12866 old_archive_from_new_cmds \
12867 old_archive_from_expsyms_cmds \
12869 archive_expsym_cmds \
12871 module_expsym_cmds \
12872 export_symbols_cmds \
12875 postuninstall_cmds \
12877 sys_lib_search_path_spec \
12878 sys_lib_dlsearch_path_spec; do
12879 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12880 *[\\\\\\\`\\"\\\$]*)
12881 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12884 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12889 # Fix-up fallback echo if it was mangled by the above quoting rules.
12891 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12895 ac_aux_dir='$ac_aux_dir'
12896 xsi_shell='$xsi_shell'
12897 lt_shell_append='$lt_shell_append'
12899 # See if we are running on zsh, and set the options which allow our
12900 # commands through without removal of \ escapes INIT.
12901 if test -n "\${ZSH_VERSION+set}" ; then
12902 setopt NO_GLOB_SUBST
12908 TIMESTAMP='$TIMESTAMP'
12914 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12915 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12917 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12918 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12919 LINGUAS="${LINGUAS-%UNSET%}"
12924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12926 # Handling of arguments.
12927 for ac_config_target in $ac_config_targets
12929 case $ac_config_target in
12930 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12931 "gconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
12932 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12933 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12934 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12935 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12937 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12942 # If the user did not use the arguments to specify the items to instantiate,
12943 # then the envvar interface is used. Set only those that are not.
12944 # We use the long form for the default assignment because of an extremely
12945 # bizarre bug on SunOS 4.1.3.
12946 if $ac_need_defaults; then
12947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12952 # Have a temporary directory for convenience. Make it in the build tree
12953 # simply because there is no reason against having it here, and in addition,
12954 # creating and moving files from /tmp can sometimes cause problems.
12955 # Hook for its removal unless debugging.
12956 # Note that there is a small window in which the directory will not be cleaned:
12957 # after its creation but before its name has been assigned to `$tmp'.
12961 trap 'exit_status=$?
12962 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12964 trap 'as_fn_exit 1' 1 2 13 15
12966 # Create a (secure) tmp directory for tmp files.
12969 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12970 test -n "$tmp" && test -d "$tmp"
12973 tmp=./conf$$-$RANDOM
12974 (umask 077 && mkdir "$tmp")
12975 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
12977 # Set up the scripts for CONFIG_FILES section.
12978 # No need to generate them if there are no CONFIG_FILES.
12979 # This happens for instance with `./config.status config.h'.
12980 if test -n "$CONFIG_FILES"; then
12983 ac_cr=`echo X | tr X '\015'`
12984 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12985 # But we know of no other shell where ac_cr would be empty at this
12986 # point, so we can use a bashism as a fallback.
12987 if test "x$ac_cr" = x; then
12988 eval ac_cr=\$\'\\r\'
12990 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12991 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12994 ac_cs_awk_cr=$ac_cr
12997 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13002 echo "cat >conf$$subs.awk <<_ACEOF" &&
13003 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13005 } >conf$$subs.sh ||
13006 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13007 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13009 for ac_last_try in false false false false false :; do
13010 . ./conf$$subs.sh ||
13011 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13013 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13014 if test $ac_delim_n = $ac_delim_num; then
13016 elif $ac_last_try; then
13017 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13022 rm -f conf$$subs.sh
13024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13025 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13029 s/^/S["/; s/!.*/"]=/
13039 s/\(.\{148\}\).*/\1/
13041 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13046 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13053 s/\(.\{148\}\).*/\1/
13055 s/["\\]/\\&/g; s/^/"/; s/$/"/
13059 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13064 ' <conf$$subs.awk | sed '
13069 ' >>$CONFIG_STATUS || ac_write_fail=1
13070 rm -f conf$$subs.awk
13071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13073 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13074 for (key in S) S_is_set[key] = 1
13080 nfields = split(line, field, "@")
13082 len = length(field[1])
13083 for (i = 2; i < nfields; i++) {
13085 keylen = length(key)
13086 if (S_is_set[key]) {
13088 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13089 len += length(value) + length(field[++i])
13100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13101 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13102 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13105 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13106 || as_fn_error "could not setup config files machinery" "$LINENO" 5
13109 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13110 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13111 # trailing colons and then remove the whole line if VPATH becomes empty
13112 # (actually we leave an empty line to preserve line numbers).
13113 if test "x$srcdir" = x.; then
13114 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13115 s/:*\$(srcdir):*/:/
13116 s/:*\${srcdir}:*/:/
13118 s/^\([^=]*=[ ]*\):*/\1/
13124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13125 fi # test -n "$CONFIG_FILES"
13127 # Set up the scripts for CONFIG_HEADERS section.
13128 # No need to generate them if there are no CONFIG_HEADERS.
13129 # This happens for instance with `./config.status Makefile'.
13130 if test -n "$CONFIG_HEADERS"; then
13131 cat >"$tmp/defines.awk" <<\_ACAWK ||
13135 # Transform confdefs.h into an awk script `defines.awk', embedded as
13136 # here-document in config.status, that substitutes the proper values into
13137 # config.h.in to produce config.h.
13139 # Create a delimiter string that does not exist in confdefs.h, to ease
13140 # handling of long lines.
13142 for ac_last_try in false false :; do
13143 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13144 if test -z "$ac_t"; then
13146 elif $ac_last_try; then
13147 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13149 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13153 # For the awk script, D is an array of macro values keyed by name,
13154 # likewise P contains macro parameters if any. Preserve backslash
13155 # newline sequences.
13157 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13159 s/.\{148\}/&'"$ac_delim"'/g
13162 s/^[ ]*#[ ]*define[ ][ ]*/ /
13169 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13171 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13176 D["\1"]=" \3\\\\\\n"\\/p
13178 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13183 s/.\{148\}/&'"$ac_delim"'/g
13188 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13191 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13193 ' <confdefs.h | sed '
13194 s/'"$ac_delim"'/"\\\
13195 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13198 for (key in D) D_is_set[key] = 1
13201 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13203 split(line, arg, " ")
13204 if (arg[1] == "#") {
13208 defundef = substr(arg[1], 2)
13211 split(mac1, mac2, "(") #)
13213 prefix = substr(line, 1, index(line, defundef) - 1)
13214 if (D_is_set[macro]) {
13215 # Preserve the white space surrounding the "#".
13216 print prefix "define", macro P[macro] D[macro]
13219 # Replace #undef with comments. This is necessary, for example,
13220 # in the case of _POSIX_SOURCE, which is predefined and required
13221 # on some systems where configure will not decide to define it.
13222 if (defundef == "undef") {
13223 print "/*", prefix defundef, macro, "*/"
13231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13232 as_fn_error "could not setup config headers machinery" "$LINENO" 5
13233 fi # test -n "$CONFIG_HEADERS"
13236 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13241 :[FHLC]) ac_mode=$ac_tag; continue;;
13243 case $ac_mode$ac_tag in
13245 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13246 :[FH]-) ac_tag=-:-;;
13247 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13264 -) ac_f="$tmp/stdin";;
13265 *) # Look for the file first in the build tree, then in the source tree
13266 # (if the path is not absolute). The absolute path cannot be DOS-style,
13267 # because $ac_f cannot contain `:'.
13271 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13273 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13275 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13276 as_fn_append ac_file_inputs " '$ac_f'"
13279 # Let's still pretend it is `configure' which instantiates (i.e., don't
13280 # use $as_me), people would be surprised to read:
13281 # /* config.h. Generated by config.status. */
13282 configure_input='Generated from '`
13283 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13285 if test x"$ac_file" != x-; then
13286 configure_input="$ac_file. $configure_input"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13288 $as_echo "$as_me: creating $ac_file" >&6;}
13290 # Neutralize special characters interpreted by sed in replacement strings.
13291 case $configure_input in #(
13292 *\&* | *\|* | *\\* )
13293 ac_sed_conf_input=`$as_echo "$configure_input" |
13294 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13295 *) ac_sed_conf_input=$configure_input;;
13299 *:-:* | *:-) cat >"$tmp/stdin" \
13300 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13305 ac_dir=`$as_dirname -- "$ac_file" ||
13306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13307 X"$ac_file" : 'X\(//\)[^/]' \| \
13308 X"$ac_file" : 'X\(//\)$' \| \
13309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13310 $as_echo X"$ac_file" |
13311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13315 /^X\(\/\/\)[^/].*/{
13328 as_dir="$ac_dir"; as_fn_mkdir_p
13332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13334 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13335 # A ".." for each directory in $ac_dir_suffix.
13336 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13337 case $ac_top_builddir_sub in
13338 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13339 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13342 ac_abs_top_builddir=$ac_pwd
13343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13344 # for backward compatibility:
13345 ac_top_builddir=$ac_top_build_prefix
13348 .) # We are building in place.
13350 ac_top_srcdir=$ac_top_builddir_sub
13351 ac_abs_top_srcdir=$ac_pwd ;;
13352 [\\/]* | ?:[\\/]* ) # Absolute name.
13353 ac_srcdir=$srcdir$ac_dir_suffix;
13354 ac_top_srcdir=$srcdir
13355 ac_abs_top_srcdir=$srcdir ;;
13356 *) # Relative name.
13357 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13358 ac_top_srcdir=$ac_top_build_prefix$srcdir
13359 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13371 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13372 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13374 ac_MKDIR_P=$MKDIR_P
13376 [\\/$]* | ?:[\\/]* ) ;;
13377 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13382 # If the template does not know about datarootdir, expand it.
13383 # FIXME: This hack should be removed a few years after 2.60.
13384 ac_datarootdir_hack=; ac_datarootdir_seen=
13395 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13396 *datarootdir*) ac_datarootdir_seen=yes;;
13397 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13399 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13402 ac_datarootdir_hack='
13403 s&@datadir@&$datadir&g
13404 s&@docdir@&$docdir&g
13405 s&@infodir@&$infodir&g
13406 s&@localedir@&$localedir&g
13407 s&@mandir@&$mandir&g
13408 s&\\\${datarootdir}&$datarootdir&g' ;;
13412 # Neutralize VPATH when `$srcdir' = `.'.
13413 # Shell code in configure.ac might set extrasub.
13414 # FIXME: do we really want to maintain this feature?
13415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13416 ac_sed_extra="$ac_vpsub
13419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13422 s|@configure_input@|$ac_sed_conf_input|;t t
13423 s&@top_builddir@&$ac_top_builddir_sub&;t t
13424 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13425 s&@srcdir@&$ac_srcdir&;t t
13426 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13427 s&@top_srcdir@&$ac_top_srcdir&;t t
13428 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13429 s&@builddir@&$ac_builddir&;t t
13430 s&@abs_builddir@&$ac_abs_builddir&;t t
13431 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13432 s&@INSTALL@&$ac_INSTALL&;t t
13433 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13434 $ac_datarootdir_hack
13436 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13437 || as_fn_error "could not create $ac_file" "$LINENO" 5
13439 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13440 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13441 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13443 which seems to be undefined. Please make sure it is defined." >&5
13444 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13445 which seems to be undefined. Please make sure it is defined." >&2;}
13449 -) cat "$tmp/out" && rm -f "$tmp/out";;
13450 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13452 || as_fn_error "could not create $ac_file" "$LINENO" 5
13458 if test x"$ac_file" != x-; then
13460 $as_echo "/* $configure_input */" \
13461 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13462 } >"$tmp/config.h" \
13463 || as_fn_error "could not create $ac_file" "$LINENO" 5
13464 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13466 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13469 mv "$tmp/config.h" "$ac_file" \
13470 || as_fn_error "could not create $ac_file" "$LINENO" 5
13473 $as_echo "/* $configure_input */" \
13474 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13475 || as_fn_error "could not create -" "$LINENO" 5
13477 # Compute "$ac_file"'s index in $config_headers.
13480 for _am_header in $config_headers :; do
13481 case $_am_header in
13482 $_am_arg | $_am_arg:* )
13485 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13488 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13489 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13490 X"$_am_arg" : 'X\(//\)[^/]' \| \
13491 X"$_am_arg" : 'X\(//\)$' \| \
13492 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13493 $as_echo X"$_am_arg" |
13494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13498 /^X\(\/\/\)[^/].*/{
13510 s/.*/./; q'`/stamp-h$_am_stamp_count
13513 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13514 $as_echo "$as_me: executing $ac_file commands" >&6;}
13519 case $ac_file$ac_mode in
13520 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13521 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13522 # are listed without --file. Let's play safe and only enable the eval
13523 # if we detect the quoting.
13524 case $CONFIG_FILES in
13525 *\'*) eval set x "$CONFIG_FILES" ;;
13526 *) set x $CONFIG_FILES ;;
13531 # Strip MF so we end up with the name of the file.
13532 mf=`echo "$mf" | sed -e 's/:.*$//'`
13533 # Check whether this is an Automake generated Makefile or not.
13534 # We used to match only the files named `Makefile.in', but
13535 # some people rename them; so instead we look at the file content.
13536 # Grep'ing the first line is not enough: some people post-process
13537 # each Makefile.in and add a new line on top of each file to say so.
13538 # Grep'ing the whole file is not good either: AIX grep has a line
13539 # limit of 2048, but all sed's we know have understand at least 4000.
13540 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13541 dirpart=`$as_dirname -- "$mf" ||
13542 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13543 X"$mf" : 'X\(//\)[^/]' \| \
13544 X"$mf" : 'X\(//\)$' \| \
13545 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13551 /^X\(\/\/\)[^/].*/{
13567 # Extract the definition of DEPDIR, am__include, and am__quote
13568 # from the Makefile without running `make'.
13569 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13570 test -z "$DEPDIR" && continue
13571 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13572 test -z "am__include" && continue
13573 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13574 # When using ansi2knr, U may be empty or an underscore; expand it
13575 U=`sed -n 's/^U = //p' < "$mf"`
13576 # Find all dependency output files, they are included files with
13577 # $(DEPDIR) in their names. We invoke sed twice because it is the
13578 # simplest approach to changing $(DEPDIR) to its actual value in the
13580 for file in `sed -n "
13581 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13582 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13583 # Make sure the directory exists.
13584 test -f "$dirpart/$file" && continue
13585 fdir=`$as_dirname -- "$file" ||
13586 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13587 X"$file" : 'X\(//\)[^/]' \| \
13588 X"$file" : 'X\(//\)$' \| \
13589 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13590 $as_echo X"$file" |
13591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13595 /^X\(\/\/\)[^/].*/{
13608 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13609 # echo "creating $dirpart/$file"
13610 echo '# dummy' > "$dirpart/$file"
13617 # See if we are running on zsh, and set the options which allow our
13618 # commands through without removal of \ escapes.
13619 if test -n "${ZSH_VERSION+set}" ; then
13620 setopt NO_GLOB_SUBST
13623 cfgfile="${ofile}T"
13624 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13627 cat <<_LT_EOF >> "$cfgfile"
13630 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13631 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13633 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13635 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13636 # 2006, 2007, 2008 Free Software Foundation, Inc.
13637 # Written by Gordon Matzigkeit, 1996
13639 # This file is part of GNU Libtool.
13641 # GNU Libtool is free software; you can redistribute it and/or
13642 # modify it under the terms of the GNU General Public License as
13643 # published by the Free Software Foundation; either version 2 of
13644 # the License, or (at your option) any later version.
13646 # As a special exception to the GNU General Public License,
13647 # if you distribute this file as part of a program or library that
13648 # is built using GNU Libtool, you may include this file under the
13649 # same distribution terms that you use for the rest of that program.
13651 # GNU Libtool is distributed in the hope that it will be useful,
13652 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13654 # GNU General Public License for more details.
13656 # You should have received a copy of the GNU General Public License
13657 # along with GNU Libtool; see the file COPYING. If not, a copy
13658 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13659 # obtained by writing to the Free Software Foundation, Inc.,
13660 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13663 # The names of the tagged configurations supported by this script.
13666 # ### BEGIN LIBTOOL CONFIG
13668 # Which release of libtool.m4 was used?
13669 macro_version=$macro_version
13670 macro_revision=$macro_revision
13672 # Whether or not to build shared libraries.
13673 build_libtool_libs=$enable_shared
13675 # Whether or not to build static libraries.
13676 build_old_libs=$enable_static
13678 # What type of objects to build.
13681 # Whether or not to optimize for fast installation.
13682 fast_install=$enable_fast_install
13685 host_alias=$host_alias
13689 # The build system.
13690 build_alias=$build_alias
13694 # A sed program that does not truncate output.
13697 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13698 Xsed="\$SED -e 1s/^X//"
13700 # A grep program that handles long lines.
13706 # A literal string matcher.
13709 # A BSD- or MS-compatible name lister.
13712 # Whether we need soft or hard links.
13715 # What is the maximum length of a command?
13716 max_cmd_len=$max_cmd_len
13718 # Object file suffix (normally "o").
13721 # Executable file suffix (normally "").
13724 # whether the shell understands "unset".
13727 # turn spaces into newlines.
13730 # turn newlines into spaces.
13733 # How to create reloadable object files.
13734 reload_flag=$lt_reload_flag
13735 reload_cmds=$lt_reload_cmds
13737 # An object symbol dumper.
13738 OBJDUMP=$lt_OBJDUMP
13740 # Method to check whether dependent libraries are shared objects.
13741 deplibs_check_method=$lt_deplibs_check_method
13743 # Command to use when deplibs_check_method == "file_magic".
13744 file_magic_cmd=$lt_file_magic_cmd
13748 AR_FLAGS=$lt_AR_FLAGS
13750 # A symbol stripping program.
13753 # Commands used to install an old-style archive.
13755 old_postinstall_cmds=$lt_old_postinstall_cmds
13756 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13761 # LTCC compiler flags.
13762 LTCFLAGS=$lt_CFLAGS
13764 # Take the output of nm and produce a listing of raw symbols and C names.
13765 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13767 # Transform the output of nm in a proper C declaration.
13768 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13770 # Transform the output of nm in a C name address pair.
13771 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13773 # Transform the output of nm in a C name address pair when lib prefix is needed.
13774 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13776 # The name of the directory that contains temporary libtool files.
13779 # Shell to use when invoking shell scripts.
13782 # An echo program that does not interpret backslashes.
13785 # Used to examine libraries when file_magic_cmd begins with "file".
13786 MAGIC_CMD=$MAGIC_CMD
13788 # Must we lock files when doing compilation?
13789 need_locks=$lt_need_locks
13791 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13792 DSYMUTIL=$lt_DSYMUTIL
13794 # Tool to change global to local symbols on Mac OS X.
13797 # Tool to manipulate fat objects and archives on Mac OS X.
13800 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13803 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13804 OTOOL64=$lt_OTOOL64
13806 # Old archive suffix (normally "a").
13809 # Shared library suffix (normally ".so").
13810 shrext_cmds=$lt_shrext_cmds
13812 # The commands to extract the exported symbol list from a shared archive.
13813 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13815 # Variables whose values should be saved in libtool wrapper scripts and
13816 # restored at link time.
13817 variables_saved_for_relink=$lt_variables_saved_for_relink
13819 # Do we need the "lib" prefix for modules?
13820 need_lib_prefix=$need_lib_prefix
13822 # Do we need a version for libraries?
13823 need_version=$need_version
13825 # Library versioning type.
13826 version_type=$version_type
13828 # Shared library runtime path variable.
13829 runpath_var=$runpath_var
13831 # Shared library path variable.
13832 shlibpath_var=$shlibpath_var
13834 # Is shlibpath searched before the hard-coded library search path?
13835 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13837 # Format of library name prefix.
13838 libname_spec=$lt_libname_spec
13840 # List of archive names. First name is the real one, the rest are links.
13841 # The last name is the one that the linker finds with -lNAME
13842 library_names_spec=$lt_library_names_spec
13844 # The coded name of the library, if different from the real name.
13845 soname_spec=$lt_soname_spec
13847 # Command to use after installation of a shared archive.
13848 postinstall_cmds=$lt_postinstall_cmds
13850 # Command to use after uninstallation of a shared archive.
13851 postuninstall_cmds=$lt_postuninstall_cmds
13853 # Commands used to finish a libtool library installation in a directory.
13854 finish_cmds=$lt_finish_cmds
13856 # As "finish_cmds", except a single script fragment to be evaled but
13858 finish_eval=$lt_finish_eval
13860 # Whether we should hardcode library paths into libraries.
13861 hardcode_into_libs=$hardcode_into_libs
13863 # Compile-time system search path for libraries.
13864 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13866 # Run-time system search path for libraries.
13867 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13869 # Whether dlopen is supported.
13870 dlopen_support=$enable_dlopen
13872 # Whether dlopen of programs is supported.
13873 dlopen_self=$enable_dlopen_self
13875 # Whether dlopen of statically linked programs is supported.
13876 dlopen_self_static=$enable_dlopen_self_static
13878 # Commands to strip libraries.
13879 old_striplib=$lt_old_striplib
13880 striplib=$lt_striplib
13883 # The linker used to build libraries.
13886 # Commands used to build an old-style archive.
13887 old_archive_cmds=$lt_old_archive_cmds
13889 # A language specific compiler.
13892 # Is the compiler the GNU compiler?
13895 # Compiler flag to turn off builtin functions.
13896 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13898 # How to pass a linker flag through the compiler.
13899 wl=$lt_lt_prog_compiler_wl
13901 # Additional compiler flags for building library objects.
13902 pic_flag=$lt_lt_prog_compiler_pic
13904 # Compiler flag to prevent dynamic linking.
13905 link_static_flag=$lt_lt_prog_compiler_static
13907 # Does compiler simultaneously support -c and -o options?
13908 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13910 # Whether or not to add -lc for building shared libraries.
13911 build_libtool_need_lc=$archive_cmds_need_lc
13913 # Whether or not to disallow shared libs when runtime libs are static.
13914 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13916 # Compiler flag to allow reflexive dlopens.
13917 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13919 # Compiler flag to generate shared objects directly from archives.
13920 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13922 # Whether the compiler copes with passing no objects directly.
13923 compiler_needs_object=$lt_compiler_needs_object
13925 # Create an old-style archive from a shared archive.
13926 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13928 # Create a temporary old-style archive to link instead of a shared archive.
13929 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13931 # Commands used to build a shared archive.
13932 archive_cmds=$lt_archive_cmds
13933 archive_expsym_cmds=$lt_archive_expsym_cmds
13935 # Commands used to build a loadable module if different from building
13936 # a shared archive.
13937 module_cmds=$lt_module_cmds
13938 module_expsym_cmds=$lt_module_expsym_cmds
13940 # Whether we are building with GNU ld or not.
13941 with_gnu_ld=$lt_with_gnu_ld
13943 # Flag that allows shared libraries with undefined symbols to be built.
13944 allow_undefined_flag=$lt_allow_undefined_flag
13946 # Flag that enforces no undefined symbols.
13947 no_undefined_flag=$lt_no_undefined_flag
13949 # Flag to hardcode \$libdir into a binary during linking.
13950 # This must work even if \$libdir does not exist
13951 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13953 # If ld is used when linking, flag to hardcode \$libdir into a binary
13954 # during linking. This must work even if \$libdir does not exist.
13955 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13957 # Whether we need a single "-rpath" flag with a separated argument.
13958 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13960 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13961 # DIR into the resulting binary.
13962 hardcode_direct=$hardcode_direct
13964 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13965 # DIR into the resulting binary and the resulting library dependency is
13966 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13967 # library is relocated.
13968 hardcode_direct_absolute=$hardcode_direct_absolute
13970 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13971 # into the resulting binary.
13972 hardcode_minus_L=$hardcode_minus_L
13974 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13975 # into the resulting binary.
13976 hardcode_shlibpath_var=$hardcode_shlibpath_var
13978 # Set to "yes" if building a shared library automatically hardcodes DIR
13979 # into the library and all subsequent libraries and executables linked
13981 hardcode_automatic=$hardcode_automatic
13983 # Set to yes if linker adds runtime paths of dependent libraries
13984 # to runtime path list.
13985 inherit_rpath=$inherit_rpath
13987 # Whether libtool must link a program against all its dependency libraries.
13988 link_all_deplibs=$link_all_deplibs
13990 # Fix the shell variable \$srcfile for the compiler.
13991 fix_srcfile_path=$lt_fix_srcfile_path
13993 # Set to "yes" if exported symbols are required.
13994 always_export_symbols=$always_export_symbols
13996 # The commands to list exported symbols.
13997 export_symbols_cmds=$lt_export_symbols_cmds
13999 # Symbols that should not be listed in the preloaded symbols.
14000 exclude_expsyms=$lt_exclude_expsyms
14002 # Symbols that must always be exported.
14003 include_expsyms=$lt_include_expsyms
14005 # Commands necessary for linking programs (against libraries) with templates.
14006 prelink_cmds=$lt_prelink_cmds
14008 # Specify filename containing input files.
14009 file_list_spec=$lt_file_list_spec
14011 # How to hardcode a shared library path into an executable.
14012 hardcode_action=$hardcode_action
14014 # ### END LIBTOOL CONFIG
14020 cat <<\_LT_EOF >> "$cfgfile"
14021 # AIX sometimes has problems with the GCC collect2 program. For some
14022 # reason, if we set the COLLECT_NAMES environment variable, the problems
14023 # vanish in a puff of smoke.
14024 if test "X${COLLECT_NAMES+set}" != Xset; then
14026 export COLLECT_NAMES
14033 ltmain="$ac_aux_dir/ltmain.sh"
14036 # We use sed instead of cat because bash on DJGPP gets confused if
14037 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14038 # text mode, it properly converts lines to CR/LF. This bash problem
14039 # is reportedly fixed, but why not run on old versions too?
14040 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14041 || (rm -f "$cfgfile"; exit 1)
14045 cat << \_LT_EOF >> "$cfgfile"
14047 # func_dirname file append nondir_replacement
14048 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14049 # otherwise set result to NONDIR_REPLACEMENT.
14053 */*) func_dirname_result="${1%/*}${2}" ;;
14054 * ) func_dirname_result="${3}" ;;
14058 # func_basename file
14061 func_basename_result="${1##*/}"
14064 # func_dirname_and_basename file append nondir_replacement
14065 # perform func_basename and func_dirname in a single function
14067 # dirname: Compute the dirname of FILE. If nonempty,
14068 # add APPEND to the result, otherwise set result
14069 # to NONDIR_REPLACEMENT.
14070 # value returned in "$func_dirname_result"
14071 # basename: Compute filename of FILE.
14072 # value retuned in "$func_basename_result"
14073 # Implementation must be kept synchronized with func_dirname
14074 # and func_basename. For efficiency, we do not delegate to
14075 # those functions but instead duplicate the functionality here.
14076 func_dirname_and_basename ()
14079 */*) func_dirname_result="${1%/*}${2}" ;;
14080 * ) func_dirname_result="${3}" ;;
14082 func_basename_result="${1##*/}"
14085 # func_stripname prefix suffix name
14086 # strip PREFIX and SUFFIX off of NAME.
14087 # PREFIX and SUFFIX must not contain globbing or regex special
14088 # characters, hashes, percent signs, but SUFFIX may contain a leading
14089 # dot (in which case that matches only a dot).
14092 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14093 # positional parameters, so assign one to ordinary parameter first.
14094 func_stripname_result=${3}
14095 func_stripname_result=${func_stripname_result#"${1}"}
14096 func_stripname_result=${func_stripname_result%"${2}"}
14102 func_opt_split_opt=${1%%=*}
14103 func_opt_split_arg=${1#*=}
14110 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14111 *) func_lo2o_result=${1} ;;
14115 # func_xform libobj-or-source
14118 func_xform_result=${1%.*}.lo
14121 # func_arith arithmetic-term...
14124 func_arith_result=$(( $* ))
14128 # STRING may not start with a hyphen.
14131 func_len_result=${#1}
14136 *) # Bourne compatible functions.
14137 cat << \_LT_EOF >> "$cfgfile"
14139 # func_dirname file append nondir_replacement
14140 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14141 # otherwise set result to NONDIR_REPLACEMENT.
14144 # Extract subdirectory from the argument.
14145 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14146 if test "X$func_dirname_result" = "X${1}"; then
14147 func_dirname_result="${3}"
14149 func_dirname_result="$func_dirname_result${2}"
14153 # func_basename file
14156 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14160 # func_stripname prefix suffix name
14161 # strip PREFIX and SUFFIX off of NAME.
14162 # PREFIX and SUFFIX must not contain globbing or regex special
14163 # characters, hashes, percent signs, but SUFFIX may contain a leading
14164 # dot (in which case that matches only a dot).
14165 # func_strip_suffix prefix name
14169 .*) func_stripname_result=`$ECHO "X${3}" \
14170 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14171 *) func_stripname_result=`$ECHO "X${3}" \
14172 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14177 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14178 my_sed_long_arg='1s/^-[^=]*=//'
14183 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14184 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14190 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14193 # func_xform libobj-or-source
14196 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14199 # func_arith arithmetic-term...
14202 func_arith_result=`expr "$@"`
14206 # STRING may not start with a hyphen.
14209 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14215 case $lt_shell_append in
14217 cat << \_LT_EOF >> "$cfgfile"
14219 # func_append var value
14220 # Append VALUE to the end of shell variable VAR.
14228 cat << \_LT_EOF >> "$cfgfile"
14230 # func_append var value
14231 # Append VALUE to the end of shell variable VAR.
14242 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14243 || (rm -f "$cfgfile"; exit 1)
14245 mv -f "$cfgfile" "$ofile" ||
14246 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14251 for ac_file in $CONFIG_FILES; do
14252 # Support "outfile[:infile[:infile...]]"
14254 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
14256 # PO directories have a Makefile.in generated from Makefile.in.in.
14257 case "$ac_file" in */Makefile.in)
14258 # Adjust a relative srcdir.
14259 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14260 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
14261 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14262 # In autoconf-2.13 it is called $ac_given_srcdir.
14263 # In autoconf-2.50 it is called $srcdir.
14264 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14265 case "$ac_given_srcdir" in
14266 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
14267 /*) top_srcdir="$ac_given_srcdir" ;;
14268 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
14270 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14271 rm -f "$ac_dir/POTFILES"
14272 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14273 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14274 POMAKEFILEDEPS="POTFILES.in"
14275 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14276 # on $ac_dir but don't depend on user-specified configuration
14278 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14279 # The LINGUAS file contains the set of available languages.
14280 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14281 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
14283 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14284 # Hide the ALL_LINGUAS assigment from automake.
14285 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14286 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
14288 # The set of available languages was given in configure.in.
14289 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14291 case "$ac_given_srcdir" in
14293 *) srcdirpre='$(srcdir)/' ;;
14299 for lang in $ALL_LINGUAS; do
14300 POFILES="$POFILES $srcdirpre$lang.po"
14301 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
14302 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
14303 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
14305 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14306 # environment variable.
14308 if test -n "$ALL_LINGUAS"; then
14309 for presentlang in $ALL_LINGUAS; do
14311 if test "%UNSET%" != "$LINGUAS"; then
14312 desiredlanguages="$LINGUAS"
14314 desiredlanguages="$ALL_LINGUAS"
14316 for desiredlang in $desiredlanguages; do
14317 # Use the presentlang catalog if desiredlang is
14318 # a. equal to presentlang, or
14319 # b. a variant of presentlang (because in this case,
14320 # presentlang can be used as a fallback for messages
14321 # which are not translated in the desiredlang catalog).
14322 case "$desiredlang" in
14323 "$presentlang"*) useit=yes;;
14326 if test $useit = yes; then
14327 INST_LINGUAS="$INST_LINGUAS $presentlang"
14332 if test -n "$INST_LINGUAS"; then
14333 for lang in $INST_LINGUAS; do
14334 CATALOGS="$CATALOGS $lang.gmo"
14337 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
14338 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
14339 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
14340 if test -f "$f"; then
14342 *.orig | *.bak | *~) ;;
14343 *) cat "$f" >> "$ac_dir/Makefile" ;;
14358 ac_clean_files=$ac_clean_files_save
14360 test $ac_write_fail = 0 ||
14361 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14364 # configure is writing to config.log, and then calls config.status.
14365 # config.status does its own redirection, appending to config.log.
14366 # Unfortunately, on DOS this fails, as config.log is still kept open
14367 # by configure, so config.status won't be able to write to it; its
14368 # output is simply discarded. So we exec the FD to /dev/null,
14369 # effectively closing config.log, so it can be properly (re)opened and
14370 # appended to by config.status. When coming back to configure, we
14371 # need to make the FD available again.
14372 if test "$no_create" != yes; then
14374 ac_config_status_args=
14375 test "$silent" = yes &&
14376 ac_config_status_args="$ac_config_status_args --quiet"
14378 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14381 # would make configure fail if this is the last instruction.
14382 $ac_cs_success || as_fn_exit $?
14384 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14386 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}