2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
575 ac_unique_file="fonts.dtd"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
589 # ifdef HAVE_STDLIB_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
613 ac_subst_vars='am__EXEEXT_FALSE
649 CROSS_COMPILING_FALSE
652 MS_LIB_AVAILABLE_FALSE
653 MS_LIB_AVAILABLE_TRUE
709 LIBT_CURRENT_MINUS_AGE
725 INSTALL_STRIP_PROGRAM
767 program_transform_name
780 enable_option_checking
782 enable_dependency_tracking
793 with_libiconv_includes
808 ac_precious_vars='build_alias
828 # Initialize some variables set by options.
830 ac_init_version=false
831 ac_unrecognized_opts=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
842 program_transform_name=s,x,x,
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir='${exec_prefix}/bin'
857 sbindir='${exec_prefix}/sbin'
858 libexecdir='${exec_prefix}/libexec'
859 datarootdir='${prefix}/share'
860 datadir='${datarootdir}'
861 sysconfdir='${prefix}/etc'
862 sharedstatedir='${prefix}/com'
863 localstatedir='${prefix}/var'
864 includedir='${prefix}/include'
865 oldincludedir='/usr/include'
866 docdir='${datarootdir}/doc/${PACKAGE}'
867 infodir='${datarootdir}/info'
872 libdir='${exec_prefix}/lib'
873 localedir='${datarootdir}/locale'
874 mandir='${datarootdir}/man'
880 # If the previous option needs an argument, assign it.
881 if test -n "$ac_prev"; then
882 eval $ac_prev=\$ac_option
888 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir | --bindir | --bindi | --bind | --bin | --bi)
901 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904 -build | --build | --buil | --bui | --bu)
905 ac_prev=build_alias ;;
906 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907 build_alias=$ac_optarg ;;
909 -cache-file | --cache-file | --cache-fil | --cache-fi \
910 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911 ac_prev=cache_file ;;
912 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914 cache_file=$ac_optarg ;;
917 cache_file=config.cache ;;
919 -datadir | --datadir | --datadi | --datad)
921 -datadir=* | --datadir=* | --datadi=* | --datad=*)
922 datadir=$ac_optarg ;;
924 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925 | --dataroo | --dataro | --datar)
926 ac_prev=datarootdir ;;
927 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929 datarootdir=$ac_optarg ;;
931 -disable-* | --disable-*)
932 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935 as_fn_error $? "invalid feature name: $ac_useropt"
936 ac_useropt_orig=$ac_useropt
937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943 ac_unrecognized_sep=', ';;
945 eval enable_$ac_useropt=no ;;
947 -docdir | --docdir | --docdi | --doc | --do)
949 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
952 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
954 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
957 -enable-* | --enable-*)
958 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 as_fn_error $? "invalid feature name: $ac_useropt"
962 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in
968 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969 ac_unrecognized_sep=', ';;
971 eval enable_$ac_useropt=\$ac_optarg ;;
973 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975 | --exec | --exe | --ex)
976 ac_prev=exec_prefix ;;
977 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979 | --exec=* | --exe=* | --ex=*)
980 exec_prefix=$ac_optarg ;;
982 -gas | --gas | --ga | --g)
983 # Obsolete; use --with-gas.
986 -help | --help | --hel | --he | -h)
988 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989 ac_init_help=recursive ;;
990 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991 ac_init_help=short ;;
993 -host | --host | --hos | --ho)
994 ac_prev=host_alias ;;
995 -host=* | --host=* | --hos=* | --ho=*)
996 host_alias=$ac_optarg ;;
998 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1000 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1002 htmldir=$ac_optarg ;;
1004 -includedir | --includedir | --includedi | --included | --include \
1005 | --includ | --inclu | --incl | --inc)
1006 ac_prev=includedir ;;
1007 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008 | --includ=* | --inclu=* | --incl=* | --inc=*)
1009 includedir=$ac_optarg ;;
1011 -infodir | --infodir | --infodi | --infod | --info | --inf)
1013 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014 infodir=$ac_optarg ;;
1016 -libdir | --libdir | --libdi | --libd)
1018 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019 libdir=$ac_optarg ;;
1021 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022 | --libexe | --libex | --libe)
1023 ac_prev=libexecdir ;;
1024 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025 | --libexe=* | --libex=* | --libe=*)
1026 libexecdir=$ac_optarg ;;
1028 -localedir | --localedir | --localedi | --localed | --locale)
1029 ac_prev=localedir ;;
1030 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031 localedir=$ac_optarg ;;
1033 -localstatedir | --localstatedir | --localstatedi | --localstated \
1034 | --localstate | --localstat | --localsta | --localst | --locals)
1035 ac_prev=localstatedir ;;
1036 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038 localstatedir=$ac_optarg ;;
1040 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1042 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043 mandir=$ac_optarg ;;
1045 -nfp | --nfp | --nf)
1046 # Obsolete; use --without-fp.
1049 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050 | --no-cr | --no-c | -n)
1053 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1057 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059 | --oldin | --oldi | --old | --ol | --o)
1060 ac_prev=oldincludedir ;;
1061 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064 oldincludedir=$ac_optarg ;;
1066 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1068 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069 prefix=$ac_optarg ;;
1071 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072 | --program-pre | --program-pr | --program-p)
1073 ac_prev=program_prefix ;;
1074 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076 program_prefix=$ac_optarg ;;
1078 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079 | --program-suf | --program-su | --program-s)
1080 ac_prev=program_suffix ;;
1081 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083 program_suffix=$ac_optarg ;;
1085 -program-transform-name | --program-transform-name \
1086 | --program-transform-nam | --program-transform-na \
1087 | --program-transform-n | --program-transform- \
1088 | --program-transform | --program-transfor \
1089 | --program-transfo | --program-transf \
1090 | --program-trans | --program-tran \
1091 | --progr-tra | --program-tr | --program-t)
1092 ac_prev=program_transform_name ;;
1093 -program-transform-name=* | --program-transform-name=* \
1094 | --program-transform-nam=* | --program-transform-na=* \
1095 | --program-transform-n=* | --program-transform-=* \
1096 | --program-transform=* | --program-transfor=* \
1097 | --program-transfo=* | --program-transf=* \
1098 | --program-trans=* | --program-tran=* \
1099 | --progr-tra=* | --program-tr=* | --program-t=*)
1100 program_transform_name=$ac_optarg ;;
1102 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1104 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105 pdfdir=$ac_optarg ;;
1107 -psdir | --psdir | --psdi | --psd | --ps)
1109 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113 | -silent | --silent | --silen | --sile | --sil)
1116 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1118 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1120 sbindir=$ac_optarg ;;
1122 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124 | --sharedst | --shareds | --shared | --share | --shar \
1126 ac_prev=sharedstatedir ;;
1127 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1131 sharedstatedir=$ac_optarg ;;
1133 -site | --site | --sit)
1135 -site=* | --site=* | --sit=*)
1138 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1140 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141 srcdir=$ac_optarg ;;
1143 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144 | --syscon | --sysco | --sysc | --sys | --sy)
1145 ac_prev=sysconfdir ;;
1146 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148 sysconfdir=$ac_optarg ;;
1150 -target | --target | --targe | --targ | --tar | --ta | --t)
1151 ac_prev=target_alias ;;
1152 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153 target_alias=$ac_optarg ;;
1155 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158 -version | --version | --versio | --versi | --vers | -V)
1159 ac_init_version=: ;;
1162 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165 as_fn_error $? "invalid package name: $ac_useropt"
1166 ac_useropt_orig=$ac_useropt
1167 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173 ac_unrecognized_sep=', ';;
1175 eval with_$ac_useropt=\$ac_optarg ;;
1177 -without-* | --without-*)
1178 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=no ;;
1194 # Obsolete; use --with-x.
1197 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198 | --x-incl | --x-inc | --x-in | --x-i)
1199 ac_prev=x_includes ;;
1200 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202 x_includes=$ac_optarg ;;
1204 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206 ac_prev=x_libraries ;;
1207 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209 x_libraries=$ac_optarg ;;
1211 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1216 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217 # Reject names that are not valid shell variable names.
1218 case $ac_envvar in #(
1219 '' | [0-9]* | *[!_$as_cr_alnum]* )
1220 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1222 eval $ac_envvar=\$ac_optarg
1223 export $ac_envvar ;;
1226 # FIXME: should be removed in autoconf 3.0.
1227 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 if test -n "$ac_prev"; then
1237 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238 as_fn_error $? "missing argument to $ac_option"
1241 if test -n "$ac_unrecognized_opts"; then
1242 case $enable_option_checking in
1244 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 # Check all directory arguments for consistency.
1250 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251 datadir sysconfdir sharedstatedir localstatedir includedir \
1252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253 libdir localedir mandir
1255 eval ac_val=\$$ac_var
1256 # Remove trailing slashes.
1259 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260 eval $ac_var=\$ac_val;;
1262 # Be sure to have absolute directory names.
1264 [\\/$]* | ?:[\\/]* ) continue;;
1265 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1267 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x; then
1279 if test "x$build_alias" = x; then
1280 cross_compiling=maybe
1281 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1282 If a cross compiler is detected then cross compile mode will be used" >&2
1283 elif test "x$build_alias" != "x$host_alias"; then
1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1291 test "$silent" = yes && exec 6>/dev/null
1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di=`ls -di .` &&
1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297 as_fn_error $? "working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 as_fn_error $? "pwd does not report name of working directory"
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304 ac_srcdir_defaulted=yes
1305 # Try the directory containing this script, then the parent directory.
1306 ac_confdir=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308 X"$as_myself" : 'X\(//\)[^/]' \| \
1309 X"$as_myself" : 'X\(//\)$' \| \
1310 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 $as_echo X"$as_myself" |
1312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1330 if test ! -r "$srcdir/$ac_unique_file"; then
1334 ac_srcdir_defaulted=no
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354 for ac_var in $ac_precious_vars; do
1355 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_env_${ac_var}_value=\$${ac_var}
1357 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1362 # Report the --help message.
1364 if test "$ac_init_help" = "long"; then
1365 # Omit some internal or obsolete options to make the list less imposing.
1366 # This message is too long to be a string in the A/UX 3.1 sh.
1368 \`configure' configures this package to adapt to many kinds of systems.
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE. See below for descriptions of some of the useful variables.
1375 Defaults for the options are specified in brackets.
1378 -h, --help display this help and exit
1379 --help=short display options specific to this package
1380 --help=recursive display the short help of all the included packages
1381 -V, --version display version information and exit
1382 -q, --quiet, --silent do not print \`checking ...' messages
1383 --cache-file=FILE cache test results in FILE [disabled]
1384 -C, --config-cache alias for \`--cache-file=config.cache'
1385 -n, --no-create do not create output files
1386 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1388 Installation directories:
1389 --prefix=PREFIX install architecture-independent files in PREFIX
1390 [$ac_default_prefix]
1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1394 By default, \`make install' will install all the files in
1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397 for instance \`--prefix=\$HOME'.
1399 For better control, use the options below.
1401 Fine tuning of the installation directories:
1402 --bindir=DIR user executables [EPREFIX/bin]
1403 --sbindir=DIR system admin executables [EPREFIX/sbin]
1404 --libexecdir=DIR program executables [EPREFIX/libexec]
1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408 --libdir=DIR object code libraries [EPREFIX/lib]
1409 --includedir=DIR C header files [PREFIX/include]
1410 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1413 --infodir=DIR info documentation [DATAROOTDIR/info]
1414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1415 --mandir=DIR man documentation [DATAROOTDIR/man]
1416 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1417 --htmldir=DIR html documentation [DOCDIR]
1418 --dvidir=DIR dvi documentation [DOCDIR]
1419 --pdfdir=DIR pdf documentation [DOCDIR]
1420 --psdir=DIR ps documentation [DOCDIR]
1426 --program-prefix=PREFIX prepend PREFIX to installed program names
1427 --program-suffix=SUFFIX append SUFFIX to installed program names
1428 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1431 --build=BUILD configure for building on BUILD [guessed]
1432 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436 if test -n "$ac_init_help"; then
1441 --disable-option-checking ignore unrecognized --enable/--with options
1442 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1443 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1444 --enable-silent-rules less verbose build output (undo: `make V=1')
1445 --disable-silent-rules verbose build output (undo: `make V=0')
1446 --disable-dependency-tracking speeds up one-time build
1447 --enable-dependency-tracking do not reject slow dependency extractors
1448 --enable-shared[=PKGS] build shared libraries [default=yes]
1449 --enable-static[=PKGS] build static libraries [default=yes]
1450 --enable-fast-install[=PKGS]
1451 optimize for fast installation [default=yes]
1452 --disable-libtool-lock avoid locking (might break parallel builds)
1453 --enable-iconv Use iconv to support non-Unicode SFNT name
1454 --enable-libxml2 Use libxml2 instead of Expat
1455 --disable-docs Don't build and install documentation
1458 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1459 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1460 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1462 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1463 --with-sysroot=DIR Search for dependent libraries within DIR
1464 (or the compiler's sysroot if not specified).
1465 --with-arch=ARCH Force architecture to ARCH
1466 --with-libiconv=DIR Use libiconv in DIR
1467 --with-libiconv-includes=DIR
1468 Use libiconv includes in DIR
1469 --with-libiconv-lib=DIR Use libiconv library in DIR
1470 --with-expat=DIR Use Expat in DIR
1471 --with-expat-includes=DIR
1472 Use Expat includes in DIR
1473 --with-expat-lib=DIR
1474 --with-default-fonts=DIR
1475 Use fonts from DIR when config is busted
1476 --with-add-fonts=DIR1,DIR2,...
1477 Find additional fonts in DIR1,DIR2,...
1478 --with-cache-dir=DIR Use DIR to store cache files
1479 [default=LOCALSTATEDIR/cache/fontconfig]
1480 --with-templatedir=DIR Use DIR to store the configuration template files
1481 [default=DATADIR/fontconfig/conf.avail]
1482 --with-baseconfigdir=DIR
1483 Use DIR to store the base configuration files
1484 [default=SYSCONFDIR/fonts]
1485 --with-configdir=DIR Use DIR to store active configuration files
1486 [default=BASECONFIGDIR/conf.d]
1487 --with-xmldir=DIR Use DIR to store XML schema files
1488 [default=DATADIR/xml/fontconfig]
1490 Some influential environment variables:
1491 CC C compiler command
1492 CFLAGS C compiler flags
1493 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1494 nonstandard directory <lib dir>
1495 LIBS libraries to pass to the linker, e.g. -l<library>
1496 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1497 you have headers in a nonstandard directory <include dir>
1499 PKG_CONFIG path to pkg-config utility
1501 directories to add to pkg-config's search path
1503 path overriding pkg-config's built-in search path
1505 C compiler flags for FREETYPE, overriding pkg-config
1507 linker flags for FREETYPE, overriding pkg-config
1509 C compiler flags for EXPAT, overriding pkg-config
1510 EXPAT_LIBS linker flags for EXPAT, overriding pkg-config
1512 C compiler flags for LIBXML2, overriding pkg-config
1514 linker flags for LIBXML2, overriding pkg-config
1516 Use these variables to override the choices made by `configure' or to help
1517 it to find libraries and programs with nonstandard names/locations.
1519 Report bugs to the package provider.
1524 if test "$ac_init_help" = "recursive"; then
1525 # If there are subdirs, report their specific --help.
1526 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527 test -d "$ac_dir" ||
1528 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1536 # A ".." for each directory in $ac_dir_suffix.
1537 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1538 case $ac_top_builddir_sub in
1539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1543 ac_abs_top_builddir=$ac_pwd
1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1545 # for backward compatibility:
1546 ac_top_builddir=$ac_top_build_prefix
1549 .) # We are building in place.
1551 ac_top_srcdir=$ac_top_builddir_sub
1552 ac_abs_top_srcdir=$ac_pwd ;;
1553 [\\/]* | ?:[\\/]* ) # Absolute name.
1554 ac_srcdir=$srcdir$ac_dir_suffix;
1555 ac_top_srcdir=$srcdir
1556 ac_abs_top_srcdir=$srcdir ;;
1558 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1559 ac_top_srcdir=$ac_top_build_prefix$srcdir
1560 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1564 cd "$ac_dir" || { ac_status=$?; continue; }
1565 # Check for guested configure.
1566 if test -f "$ac_srcdir/configure.gnu"; then
1568 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1569 elif test -f "$ac_srcdir/configure"; then
1571 $SHELL "$ac_srcdir/configure" --help=recursive
1573 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1575 cd "$ac_pwd" || { ac_status=$?; break; }
1579 test -n "$ac_init_help" && exit $ac_status
1580 if $ac_init_version; then
1583 generated by GNU Autoconf 2.68
1585 Copyright (C) 2010 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1592 ## ------------------------ ##
1593 ## Autoconf initialization. ##
1594 ## ------------------------ ##
1596 # ac_fn_c_try_compile LINENO
1597 # --------------------------
1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_compile ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext
1603 if { { ac_try="$ac_compile"
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_compile") 2>conftest.err
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest.$ac_objext; then :
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 as_fn_set_status $ac_retval
1632 } # ac_fn_c_try_compile
1634 # ac_fn_c_try_link LINENO
1635 # -----------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 rm -f conftest.$ac_objext conftest$ac_exeext
1641 if { { ac_try="$ac_link"
1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_link") 2>conftest.err
1650 if test -s conftest.err; then
1651 grep -v '^ *+' conftest.err >conftest.er1
1652 cat conftest.er1 >&5
1653 mv -f conftest.er1 conftest.err
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; } && {
1657 test -z "$ac_c_werror_flag" ||
1658 test ! -s conftest.err
1659 } && test -s conftest$ac_exeext && {
1660 test "$cross_compiling" = yes ||
1661 $as_test_x conftest$ac_exeext
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672 # interfere with the next link command; also delete a directory that is
1673 # left behind by Apple's compiler. We do this before executing the actions.
1674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1678 } # ac_fn_c_try_link
1680 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1681 # -------------------------------------------------------
1682 # Tests whether HEADER exists and can be compiled using the include files in
1683 # INCLUDES, setting the cache variable VAR accordingly.
1684 ac_fn_c_check_header_compile ()
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if eval \${$3+:} false; then :
1690 $as_echo_n "(cached) " >&6
1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h. */
1697 if ac_fn_c_try_compile "$LINENO"; then :
1702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1706 $as_echo "$ac_res" >&6; }
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 } # ac_fn_c_check_header_compile
1711 # ac_fn_c_try_cpp LINENO
1712 # ----------------------
1713 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 if { { ac_try="$ac_cpp conftest.$ac_ext"
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } > conftest.i && {
1733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status $ac_retval
1748 # ac_fn_c_try_run LINENO
1749 # ----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1751 # that executables *can* be run.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_link"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>&5
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1766 { { case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_try") 2>&5
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; }; }; then :
1778 $as_echo "$as_me: program exited with status $ac_status" >&5
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1782 ac_retval=$ac_status
1784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 as_fn_set_status $ac_retval
1790 # ac_fn_c_check_func LINENO FUNC VAR
1791 # ----------------------------------
1792 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1793 ac_fn_c_check_func ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799 $as_echo_n "(cached) " >&6
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1803 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1805 #define $2 innocuous_$2
1807 /* System header to define __stub macros and hopefully few prototypes,
1808 which can conflict with char $2 (); below.
1809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1810 <limits.h> exists even on freestanding compilers. */
1813 # include <limits.h>
1815 # include <assert.h>
1820 /* Override any GCC internal prototype to avoid an error.
1821 Use char because int might match the return type of a GCC
1822 builtin and then its argument prototype would still apply. */
1827 /* The GNU C library defines this for functions which it implements
1828 to always fail with ENOSYS. Some functions are actually named
1829 something starting with __ and the normal name is an alias. */
1830 #if defined __stub_$2 || defined __stub___$2
1842 if ac_fn_c_try_link "$LINENO"; then :
1847 rm -f core conftest.err conftest.$ac_objext \
1848 conftest$ac_exeext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_func
1857 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1860 # the include files in INCLUDES and setting the cache variable VAR
1862 ac_fn_c_check_header_mongrel ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 if eval \${$3+:} false; then :
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867 $as_echo_n "checking for $2... " >&6; }
1868 if eval \${$3+:} false; then :
1869 $as_echo_n "(cached) " >&6
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1875 # Is the header compilable?
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1877 $as_echo_n "checking $2 usability... " >&6; }
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1883 if ac_fn_c_try_compile "$LINENO"; then :
1884 ac_header_compiler=yes
1886 ac_header_compiler=no
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1890 $as_echo "$ac_header_compiler" >&6; }
1892 # Is the header present?
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1894 $as_echo_n "checking $2 presence... " >&6; }
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1899 if ac_fn_c_try_cpp "$LINENO"; then :
1900 ac_header_preproc=yes
1902 ac_header_preproc=no
1904 rm -f conftest.err conftest.i conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1906 $as_echo "$ac_header_preproc" >&6; }
1908 # So? What about this header?
1909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1912 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1914 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1918 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1920 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1922 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1924 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1926 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1934 eval "$3=\$ac_header_compiler"
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_header_mongrel
1944 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1945 # -------------------------------------------
1946 # Tests whether TYPE exists after having included INCLUDES, setting cache
1947 # variable VAR accordingly.
1948 ac_fn_c_check_type ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1969 if ac_fn_c_try_compile "$LINENO"; then :
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1982 if ac_fn_c_try_compile "$LINENO"; then :
1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 } # ac_fn_c_check_type
1998 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1999 # ----------------------------------------------------
2000 # Tries to find if the field MEMBER exists in type AGGR, after including
2001 # INCLUDES, setting cache variable VAR accordingly.
2002 ac_fn_c_check_member ()
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2006 $as_echo_n "checking for $2.$3... " >&6; }
2007 if eval \${$4+:} false; then :
2008 $as_echo_n "(cached) " >&6
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2023 if ac_fn_c_try_compile "$LINENO"; then :
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2033 if (sizeof ac_aggr.$3)
2039 if ac_fn_c_try_compile "$LINENO"; then :
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2050 $as_echo "$ac_res" >&6; }
2051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 } # ac_fn_c_check_member
2055 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2056 # --------------------------------------------
2057 # Tries to find the compile-time value of EXPR in a program that includes
2058 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2060 ac_fn_c_compute_int ()
2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063 if test "$cross_compiling" = yes; then
2064 # Depending upon the size, compute the lo and hi bounds.
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2071 static int test_array [1 - 2 * !(($2) >= 0)];
2078 if ac_fn_c_try_compile "$LINENO"; then :
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2087 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2094 if ac_fn_c_try_compile "$LINENO"; then :
2095 ac_hi=$ac_mid; break
2097 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2098 if test $ac_lo -le $ac_mid; then
2102 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2113 static int test_array [1 - 2 * !(($2) < 0)];
2120 if ac_fn_c_try_compile "$LINENO"; then :
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2129 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_lo=$ac_mid; break
2139 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2140 if test $ac_mid -le $ac_hi; then
2144 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2154 # Binary search between lo and hi bounds.
2155 while test "x$ac_lo" != "x$ac_hi"; do
2156 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2163 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2170 if ac_fn_c_try_compile "$LINENO"; then :
2173 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2185 static long int longval () { return $2; }
2186 static unsigned long int ulongval () { return $2; }
2193 FILE *f = fopen ("conftest.val", "w");
2198 long int i = longval ();
2201 fprintf (f, "%ld", i);
2205 unsigned long int i = ulongval ();
2208 fprintf (f, "%lu", i);
2210 /* Do not output a trailing newline, as this causes \r\n confusion
2211 on some platforms. */
2212 return ferror (f) || fclose (f) != 0;
2218 if ac_fn_c_try_run "$LINENO"; then :
2219 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2224 conftest.$ac_objext conftest.beam conftest.$ac_ext
2228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2229 as_fn_set_status $ac_retval
2231 } # ac_fn_c_compute_int
2232 cat >config.log <<_ACEOF
2233 This file contains any messages produced by compilers while
2234 running configure, to aid debugging if configure makes a mistake.
2236 It was created by $as_me, which was
2237 generated by GNU Autoconf 2.68. Invocation command line was
2249 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2250 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2251 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2252 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2253 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2255 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2256 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2258 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2259 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2260 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2261 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2262 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2263 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2264 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir=.
2273 $as_echo "PATH: $as_dir"
2289 # Keep a trace of the command line.
2290 # Strip out --no-create and --no-recursion so they do not pile up.
2291 # Strip out --silent because we don't want to record it for future runs.
2292 # Also quote any args containing shell meta-characters.
2293 # Make two passes to allow for proper duplicate-argument suppression.
2297 ac_must_keep_next=false
2303 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2304 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2305 | -silent | --silent | --silen | --sile | --sil)
2308 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2311 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2313 as_fn_append ac_configure_args1 " '$ac_arg'"
2314 if test $ac_must_keep_next = true; then
2315 ac_must_keep_next=false # Got value, back to normal.
2318 *=* | --config-cache | -C | -disable-* | --disable-* \
2319 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2320 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2321 | -with-* | --with-* | -without-* | --without-* | --x)
2322 case "$ac_configure_args0 " in
2323 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2326 -* ) ac_must_keep_next=true ;;
2329 as_fn_append ac_configure_args " '$ac_arg'"
2334 { ac_configure_args0=; unset ac_configure_args0;}
2335 { ac_configure_args1=; unset ac_configure_args1;}
2337 # When interrupted or exit'd, cleanup temporary files, and complete
2338 # config.log. We remove comments because anyway the quotes in there
2339 # would cause problems or look ugly.
2340 # WARNING: Use '\'' to represent an apostrophe within the trap.
2341 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2342 trap 'exit_status=$?
2343 # Save into config.log some information that might help in debugging.
2347 $as_echo "## ---------------- ##
2348 ## Cache variables. ##
2349 ## ---------------- ##"
2351 # The following way of writing the cache mishandles newlines in values,
2353 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2354 eval ac_val=\$$ac_var
2358 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2359 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2362 _ | IFS | as_nl) ;; #(
2363 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2364 *) { eval $ac_var=; unset $ac_var;} ;;
2369 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2370 *${as_nl}ac_space=\ *)
2372 "s/'\''/'\''\\\\'\'''\''/g;
2373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2376 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2383 $as_echo "## ----------------- ##
2384 ## Output variables. ##
2385 ## ----------------- ##"
2387 for ac_var in $ac_subst_vars
2389 eval ac_val=\$$ac_var
2391 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2393 $as_echo "$ac_var='\''$ac_val'\''"
2397 if test -n "$ac_subst_files"; then
2398 $as_echo "## ------------------- ##
2399 ## File substitutions. ##
2400 ## ------------------- ##"
2402 for ac_var in $ac_subst_files
2404 eval ac_val=\$$ac_var
2406 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2408 $as_echo "$ac_var='\''$ac_val'\''"
2413 if test -s confdefs.h; then
2414 $as_echo "## ----------- ##
2421 test "$ac_signal" != 0 &&
2422 $as_echo "$as_me: caught signal $ac_signal"
2423 $as_echo "$as_me: exit $exit_status"
2425 rm -f core *.core core.conftest.* &&
2426 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2429 for ac_signal in 1 2 13 15; do
2430 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2434 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2435 rm -f -r conftest* confdefs.h
2437 $as_echo "/* confdefs.h */" > confdefs.h
2439 # Predefined preprocessor variables.
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_NAME "$PACKAGE_NAME"
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_STRING "$PACKAGE_STRING"
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_URL "$PACKAGE_URL"
2466 # Let the site file select an alternate cache file if it wants to.
2467 # Prefer an explicitly selected file to automatically selected ones.
2470 if test -n "$CONFIG_SITE"; then
2471 # We do not want a PATH search for config.site.
2472 case $CONFIG_SITE in #((
2473 -*) ac_site_file1=./$CONFIG_SITE;;
2474 */*) ac_site_file1=$CONFIG_SITE;;
2475 *) ac_site_file1=./$CONFIG_SITE;;
2477 elif test "x$prefix" != xNONE; then
2478 ac_site_file1=$prefix/share/config.site
2479 ac_site_file2=$prefix/etc/config.site
2481 ac_site_file1=$ac_default_prefix/share/config.site
2482 ac_site_file2=$ac_default_prefix/etc/config.site
2484 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2486 test "x$ac_site_file" = xNONE && continue
2487 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2489 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2490 sed 's/^/| /' "$ac_site_file" >&5
2492 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2494 as_fn_error $? "failed to load site script $ac_site_file
2495 See \`config.log' for more details" "$LINENO" 5; }
2499 if test -r "$cache_file"; then
2500 # Some versions of bash will fail to source /dev/null (special files
2501 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2502 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2504 $as_echo "$as_me: loading cache $cache_file" >&6;}
2506 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2507 *) . "./$cache_file";;
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2512 $as_echo "$as_me: creating cache $cache_file" >&6;}
2516 as_fn_append ac_header_list " stdlib.h"
2517 as_fn_append ac_header_list " unistd.h"
2518 as_fn_append ac_header_list " sys/param.h"
2519 # Check that the precious variables saved in the cache have kept the same
2521 ac_cache_corrupted=false
2522 for ac_var in $ac_precious_vars; do
2523 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2524 eval ac_new_set=\$ac_env_${ac_var}_set
2525 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2526 eval ac_new_val=\$ac_env_${ac_var}_value
2527 case $ac_old_set,$ac_new_set in
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2530 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2531 ac_cache_corrupted=: ;;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2534 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2535 ac_cache_corrupted=: ;;
2538 if test "x$ac_old_val" != "x$ac_new_val"; then
2539 # differences in whitespace do not lead to failure.
2540 ac_old_val_w=`echo x $ac_old_val`
2541 ac_new_val_w=`echo x $ac_new_val`
2542 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2544 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2545 ac_cache_corrupted=:
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2548 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2549 eval $ac_var=\$ac_old_val
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2552 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2554 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2557 # Pass precious variables to config.status.
2558 if test "$ac_new_set" = set; then
2560 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2561 *) ac_arg=$ac_var=$ac_new_val ;;
2563 case " $ac_configure_args " in
2564 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2565 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2569 if $ac_cache_corrupted; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2573 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2574 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2576 ## -------------------- ##
2577 ## Main body of script. ##
2578 ## -------------------- ##
2581 ac_cpp='$CPP $CPPFLAGS'
2582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2589 am__api_version='1.11'
2592 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2593 if test -f "$ac_dir/install-sh"; then
2595 ac_install_sh="$ac_aux_dir/install-sh -c"
2597 elif test -f "$ac_dir/install.sh"; then
2599 ac_install_sh="$ac_aux_dir/install.sh -c"
2601 elif test -f "$ac_dir/shtool"; then
2603 ac_install_sh="$ac_aux_dir/shtool install -c"
2607 if test -z "$ac_aux_dir"; then
2608 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2611 # These three variables are undocumented and unsupported,
2612 # and are intended to be withdrawn in a future Autoconf release.
2613 # They can cause serious problems if a builder's source tree is in a directory
2614 # whose full name contains unusual characters.
2615 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2616 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2617 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2620 # Find a good install program. We prefer a C program (faster),
2621 # so one script is as good as another. But avoid the broken or
2622 # incompatible versions:
2623 # SysV /etc/install, /usr/sbin/install
2624 # SunOS /usr/etc/install
2625 # IRIX /sbin/install
2627 # AmigaOS /C/install, which installs bootblocks on floppy discs
2628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2631 # OS/2's system install, which has a completely different semantic
2632 # ./install, which can be erroneously created by make from ./install.sh.
2633 # Reject install programs that cannot install multiple files.
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2635 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2636 if test -z "$INSTALL"; then
2637 if ${ac_cv_path_install+:} false; then :
2638 $as_echo_n "(cached) " >&6
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir=.
2645 # Account for people who put trailing slashes in PATH elements.
2646 case $as_dir/ in #((
2647 ./ | .// | /[cC]/* | \
2648 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2649 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2652 # OSF1 and SCO ODT 3.0 have their own names for install.
2653 # Don't use installbsd from OSF since it installs stuff as root
2655 for ac_prog in ginstall scoinst install; do
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2658 if test $ac_prog = install &&
2659 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2660 # AIX install. It has an incompatible calling convention.
2662 elif test $ac_prog = install &&
2663 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2664 # program-specific install script used by HP pwplus--don't use.
2667 rm -rf conftest.one conftest.two conftest.dir
2668 echo one > conftest.one
2669 echo two > conftest.two
2671 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2672 test -s conftest.one && test -s conftest.two &&
2673 test -s conftest.dir/conftest.one &&
2674 test -s conftest.dir/conftest.two
2676 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2689 rm -rf conftest.one conftest.two conftest.dir
2692 if test "${ac_cv_path_install+set}" = set; then
2693 INSTALL=$ac_cv_path_install
2695 # As a last resort, use the slow shell script. Don't cache a
2696 # value for INSTALL within a source directory, because that will
2697 # break other packages using the cache if that directory is
2698 # removed, or if the value is a relative name.
2699 INSTALL=$ac_install_sh
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2703 $as_echo "$INSTALL" >&6; }
2705 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2706 # It thinks the first close brace ends the variable substitution.
2707 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2709 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2711 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2714 $as_echo_n "checking whether build environment is sane... " >&6; }
2717 echo timestamp > conftest.file
2718 # Reject unsafe characters in $srcdir or the absolute working directory
2719 # name. Accept space and tab only in the latter.
2723 *[\\\"\#\$\&\'\`$am_lf]*)
2724 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2727 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2728 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2731 # Do `set' in a subshell so we don't clobber the current shell's
2732 # arguments. Must try -L first in case configure is actually a
2733 # symlink; some systems play weird games with the mod time of symlinks
2734 # (eg FreeBSD returns the mod time of the symlink's containing
2737 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2738 if test "$*" = "X"; then
2740 set X `ls -t "$srcdir/configure" conftest.file`
2743 if test "$*" != "X $srcdir/configure conftest.file" \
2744 && test "$*" != "X conftest.file $srcdir/configure"; then
2746 # If neither matched, then we have a broken ls. This can happen
2747 # if, for instance, CONFIG_SHELL is bash and it inherits a
2748 # broken ls alias from the environment. This has actually
2749 # happened. Such a system could not be considered "sane".
2750 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2751 alias in your environment" "$LINENO" 5
2754 test "$2" = conftest.file
2760 as_fn_error $? "newly created file is older than distributed files!
2761 Check your system clock" "$LINENO" 5
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764 $as_echo "yes" >&6; }
2765 test "$program_prefix" != NONE &&
2766 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2767 # Use a double $ so make ignores it.
2768 test "$program_suffix" != NONE &&
2769 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2770 # Double any \ or $.
2771 # By default was `s,x,x', remove it if useless.
2772 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2773 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2775 # expand $ac_aux_dir to an absolute path
2776 am_aux_dir=`cd $ac_aux_dir && pwd`
2778 if test x"${MISSING+set}" != xset; then
2781 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2783 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2786 # Use eval to expand $SHELL
2787 if eval "$MISSING --run true"; then
2788 am_missing_run="$MISSING --run "
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2792 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2795 if test x"${install_sh}" != xset; then
2798 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2800 install_sh="\${SHELL} $am_aux_dir/install-sh"
2804 # Installed binaries are usually stripped using `strip' when the user
2805 # run `make install-strip'. However `strip' might not be the right
2806 # tool to use in cross-compilation environments, therefore Automake
2807 # will honor the `STRIP' environment variable to overrule this program.
2808 if test "$cross_compiling" != no; then
2809 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2811 set dummy ${ac_tool_prefix}strip; ac_word=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_STRIP+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$STRIP"; then
2818 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 STRIP=$ac_cv_prog_STRIP
2838 if test -n "$STRIP"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2840 $as_echo "$STRIP" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2848 if test -z "$ac_cv_prog_STRIP"; then
2850 # Extract the first word of "strip", so it can be a program name with args.
2851 set dummy strip; ac_word=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$ac_ct_STRIP"; then
2858 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir=.
2865 for ac_exec_ext in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_ac_ct_STRIP="strip"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2878 if test -n "$ac_ct_STRIP"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2880 $as_echo "$ac_ct_STRIP" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2886 if test "x$ac_ct_STRIP" = x; then
2889 case $cross_compiling:$ac_tool_warned in
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2893 ac_tool_warned=yes ;;
2898 STRIP="$ac_cv_prog_STRIP"
2902 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2905 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2906 if test -z "$MKDIR_P"; then
2907 if ${ac_cv_path_mkdir+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2914 test -z "$as_dir" && as_dir=.
2915 for ac_prog in mkdir gmkdir; do
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2918 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2919 'mkdir (GNU coreutils) '* | \
2920 'mkdir (coreutils) '* | \
2921 'mkdir (fileutils) '4.1*)
2922 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2932 test -d ./--version && rmdir ./--version
2933 if test "${ac_cv_path_mkdir+set}" = set; then
2934 MKDIR_P="$ac_cv_path_mkdir -p"
2936 # As a last resort, use the slow shell script. Don't cache a
2937 # value for MKDIR_P within a source directory, because that will
2938 # break other packages using the cache if that directory is
2939 # removed, or if the value is a relative name.
2940 MKDIR_P="$ac_install_sh -d"
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2944 $as_echo "$MKDIR_P" >&6; }
2948 [\\/$]* | ?:[\\/]*) ;;
2949 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2952 for ac_prog in gawk mawk nawk awk
2954 # Extract the first word of "$ac_prog", so it can be a program name with args.
2955 set dummy $ac_prog; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if ${ac_cv_prog_AWK+:} false; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$AWK"; then
2962 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_AWK="$ac_prog"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test -n "$AWK"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2984 $as_echo "$AWK" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2991 test -n "$AWK" && break
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2995 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2997 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2998 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 cat >conftest.make <<\_ACEOF
3004 @echo '@@@%%%=$(MAKE)=@@@%%%'
3006 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3009 eval ac_cv_prog_make_${ac_make}_set=yes;;
3011 eval ac_cv_prog_make_${ac_make}_set=no;;
3015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3017 $as_echo "yes" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3022 SET_MAKE="MAKE=${MAKE-make}"
3025 rm -rf .tst 2>/dev/null
3026 mkdir .tst 2>/dev/null
3027 if test -d .tst; then
3032 rmdir .tst 2>/dev/null
3034 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3035 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3036 # is not polluted with repeated "-I."
3037 am__isrc=' -I$(srcdir)'
3038 # test to see if srcdir already configured
3039 if test -f $srcdir/config.status; then
3040 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3044 # test whether we have cygpath
3045 if test -z "$CYGPATH_W"; then
3046 if (cygpath --version) >/dev/null 2>/dev/null; then
3047 CYGPATH_W='cygpath -w'
3054 # Define the identity of the package.
3059 cat >>confdefs.h <<_ACEOF
3060 #define PACKAGE "$PACKAGE"
3064 cat >>confdefs.h <<_ACEOF
3065 #define VERSION "$VERSION"
3068 # Some tools Automake needs.
3070 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3073 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3076 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3079 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3082 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3084 # We need awk for the "check" target. The system "awk" is bad on
3086 # Always define AMTAR for backward compatibility. Yes, it's still used
3087 # in the wild :-( We should find a proper way to deprecate it ...
3090 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3096 # Check whether --enable-silent-rules was given.
3097 if test "${enable_silent_rules+set}" = set; then :
3098 enableval=$enable_silent_rules;
3101 case $enable_silent_rules in
3102 yes) AM_DEFAULT_VERBOSITY=0;;
3103 no) AM_DEFAULT_VERBOSITY=1;;
3104 *) AM_DEFAULT_VERBOSITY=0;;
3106 am_make=${MAKE-make}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3108 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3109 if ${am_cv_make_support_nested_variables+:} false; then :
3110 $as_echo_n "(cached) " >&6
3112 if $as_echo 'TRUE=$(BAR$(V))
3118 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3119 am_cv_make_support_nested_variables=yes
3121 am_cv_make_support_nested_variables=no
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3125 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3126 if test $am_cv_make_support_nested_variables = yes; then
3128 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3130 AM_V=$AM_DEFAULT_VERBOSITY
3131 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3143 LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
3146 LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
3150 ac_config_headers="$ac_config_headers config.h"
3155 ac_cpp='$CPP $CPPFLAGS'
3156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159 if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if ${ac_cv_prog_CC+:} false; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC="$CC" # Let the user override the test.
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 if test -n "$CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3198 if test -z "$ac_cv_prog_CC"; then
3200 # Extract the first word of "gcc", so it can be a program name with args.
3201 set dummy gcc; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3205 $as_echo_n "(cached) " >&6
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC="gcc"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3236 if test "x$ac_ct_CC" = x; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned=yes ;;
3251 if test -z "$CC"; then
3252 if test -n "$ac_tool_prefix"; then
3253 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3254 set dummy ${ac_tool_prefix}cc; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if ${ac_cv_prog_CC+:} false; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC="$CC" # Let the user override the test.
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_CC="${ac_tool_prefix}cc"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test -n "$CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3292 if test -z "$CC"; then
3293 # Extract the first word of "cc", so it can be a program name with args.
3294 set dummy cc; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_CC+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$CC"; then
3301 ac_cv_prog_CC="$CC" # Let the user override the test.
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir=.
3309 for ac_exec_ext in '' $ac_executable_extensions; do
3310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3312 ac_prog_rejected=yes
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 if test $ac_prog_rejected = yes; then
3324 # We found a bogon in the path, so make sure we never use it.
3325 set dummy $ac_cv_prog_CC
3327 if test $# != 0; then
3328 # We chose a different compiler from the bogus one.
3329 # However, it has the same basename, so the bogon will be chosen
3330 # first if we set CC to just the basename; use the full file name.
3332 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3338 if test -n "$CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3340 $as_echo "$CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3348 if test -z "$CC"; then
3349 if test -n "$ac_tool_prefix"; then
3350 for ac_prog in cl.exe
3352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if ${ac_cv_prog_CC+:} false; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC="$CC" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 test -n "$CC" && break
3392 if test -z "$CC"; then
3394 for ac_prog in cl.exe
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$ac_ct_CC"; then
3404 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_ac_ct_CC="$ac_prog"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3424 if test -n "$ac_ct_CC"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3426 $as_echo "$ac_ct_CC" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$ac_ct_CC" && break
3436 if test "x$ac_ct_CC" = x; then
3439 case $cross_compiling:$ac_tool_warned in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned=yes ;;
3452 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 as_fn_error $? "no acceptable C compiler found in \$PATH
3455 See \`config.log' for more details" "$LINENO" 5; }
3457 # Provide some information about the compiler.
3458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3461 for ac_option in --version -v -V -qversion; do
3462 { { ac_try="$ac_compiler $ac_option >&5"
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3471 if test -s conftest.err; then
3473 ... rest of stderr output deleted ...
3474 10q' conftest.err >conftest.er1
3475 cat conftest.er1 >&5
3477 rm -f conftest.er1 conftest.err
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 ac_clean_files_save=$ac_clean_files
3494 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3495 # Try to create an executable without -o first, disregard a.out.
3496 # It will help us diagnose broken compilers, and finding out an intuition
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3499 $as_echo_n "checking whether the C compiler works... " >&6; }
3500 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3502 # The possible output files:
3503 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3506 for ac_file in $ac_files
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3515 if { { ac_try="$ac_link_default"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_link_default") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3527 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3528 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3529 # so that the user can short-circuit this test for compilers unknown to
3531 for ac_file in $ac_files ''
3533 test -f "$ac_file" || continue
3535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3538 # We found the default executable, but exeext='' is most
3542 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3544 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3546 # We set ac_cv_exeext here because the later test for it is not
3547 # safe: cross compilers may not add the suffix if given an `-o'
3548 # argument, so we may need to know it at that point already.
3549 # Even if this section looks crufty: it has the advantage of
3556 test "$ac_cv_exeext" = no && ac_cv_exeext=
3561 if test -z "$ac_file"; then :
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 $as_echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.$ac_ext >&5
3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 as_fn_error 77 "C compiler cannot create executables
3570 See \`config.log' for more details" "$LINENO" 5; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3573 $as_echo "yes" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3576 $as_echo_n "checking for C compiler default output file name... " >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3578 $as_echo "$ac_file" >&6; }
3579 ac_exeext=$ac_cv_exeext
3581 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3582 ac_clean_files=$ac_clean_files_save
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3584 $as_echo_n "checking for suffix of executables... " >&6; }
3585 if { { ac_try="$ac_link"
3587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588 *) ac_try_echo=$ac_try;;
3590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 $as_echo "$ac_try_echo"; } >&5
3592 (eval "$ac_link") 2>&5
3594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595 test $ac_status = 0; }; then :
3596 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3597 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3598 # work properly (i.e., refer to `conftest.exe'), while it won't with
3600 for ac_file in conftest.exe conftest conftest.*; do
3601 test -f "$ac_file" || continue
3603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3604 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3613 See \`config.log' for more details" "$LINENO" 5; }
3615 rm -f conftest conftest$ac_cv_exeext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3617 $as_echo "$ac_cv_exeext" >&6; }
3619 rm -f conftest.$ac_ext
3620 EXEEXT=$ac_cv_exeext
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3628 FILE *f = fopen ("conftest.out", "w");
3629 return ferror (f) || fclose (f) != 0;
3635 ac_clean_files="$ac_clean_files conftest.out"
3636 # Check that the compiler produces executables we can run. If not, either
3637 # the compiler is broken, or we cross compile.
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3639 $as_echo_n "checking whether we are cross compiling... " >&6; }
3640 if test "$cross_compiling" != yes; then
3641 { { ac_try="$ac_link"
3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;;
3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3647 $as_echo "$ac_try_echo"; } >&5
3648 (eval "$ac_link") 2>&5
3650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651 test $ac_status = 0; }
3652 if { ac_try='./conftest$ac_cv_exeext'
3653 { { case "(($ac_try" in
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658 $as_echo "$ac_try_echo"; } >&5
3659 (eval "$ac_try") 2>&5
3661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662 test $ac_status = 0; }; }; then
3665 if test "$cross_compiling" = maybe; then
3668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670 as_fn_error $? "cannot run C compiled programs.
3671 If you meant to cross compile, use \`--host'.
3672 See \`config.log' for more details" "$LINENO" 5; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3677 $as_echo "$cross_compiling" >&6; }
3679 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3680 ac_clean_files=$ac_clean_files_save
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3682 $as_echo_n "checking for suffix of object files... " >&6; }
3683 if ${ac_cv_objext+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 rm -f conftest.o conftest.obj
3698 if { { ac_try="$ac_compile"
3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705 (eval "$ac_compile") 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3709 for ac_file in conftest.o conftest.obj conftest.*; do
3710 test -f "$ac_file" || continue;
3712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3718 $as_echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 as_fn_error $? "cannot compute suffix of object files: cannot compile
3724 See \`config.log' for more details" "$LINENO" 5; }
3726 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3729 $as_echo "$ac_cv_objext" >&6; }
3730 OBJEXT=$ac_cv_objext
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3733 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3734 if ${ac_cv_c_compiler_gnu+:} false; then :
3735 $as_echo_n "(cached) " >&6
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3751 if ac_fn_c_try_compile "$LINENO"; then :
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3761 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3762 if test $ac_compiler_gnu = yes; then
3767 ac_test_CFLAGS=${CFLAGS+set}
3768 ac_save_CFLAGS=$CFLAGS
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3770 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3771 if ${ac_cv_prog_cc_g+:} false; then :
3772 $as_echo_n "(cached) " >&6
3774 ac_save_c_werror_flag=$ac_c_werror_flag
3775 ac_c_werror_flag=yes
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3789 if ac_fn_c_try_compile "$LINENO"; then :
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3807 ac_c_werror_flag=$ac_save_c_werror_flag
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_c_try_compile "$LINENO"; then :
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 ac_c_werror_flag=$ac_save_c_werror_flag
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3831 $as_echo "$ac_cv_prog_cc_g" >&6; }
3832 if test "$ac_test_CFLAGS" = set; then
3833 CFLAGS=$ac_save_CFLAGS
3834 elif test $ac_cv_prog_cc_g = yes; then
3835 if test "$GCC" = yes; then
3841 if test "$GCC" = yes; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3848 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3849 if ${ac_cv_prog_cc_c89+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 ac_cv_prog_cc_c89=no
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3858 #include <sys/types.h>
3859 #include <sys/stat.h>
3860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3861 struct buf { int x; };
3862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3863 static char *e (p, i)
3869 static char *f (char * (*g) (char **, int), char **p, ...)
3874 s = g (p, va_arg (v,int));
3879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3880 function prototypes and stuff, but not '\xHH' hex character constants.
3881 These don't provoke an error unfortunately, instead are silently treated
3882 as 'x'. The following induces an error, until -std is added to get
3883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3884 array size at least. It's necessary to write '\x00'==0 to get something
3885 that's true only with -std. */
3886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3889 inside strings and character constants. */
3891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3893 int test (int i, double x);
3894 struct s1 {int (*f) (int a);};
3895 struct s2 {int (*f) (double a);};
3896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3902 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3910 CC="$ac_save_CC $ac_arg"
3911 if ac_fn_c_try_compile "$LINENO"; then :
3912 ac_cv_prog_cc_c89=$ac_arg
3914 rm -f core conftest.err conftest.$ac_objext
3915 test "x$ac_cv_prog_cc_c89" != "xno" && break
3917 rm -f conftest.$ac_ext
3922 case "x$ac_cv_prog_cc_c89" in
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3925 $as_echo "none needed" >&6; } ;;
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3928 $as_echo "unsupported" >&6; } ;;
3930 CC="$CC $ac_cv_prog_cc_c89"
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3932 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3934 if test "x$ac_cv_prog_cc_c89" != xno; then :
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 DEPDIR="${am__leading_dot}deps"
3945 ac_config_commands="$ac_config_commands depfiles"
3948 am_make=${MAKE-make}
3949 cat > confinc << 'END'
3951 @echo this is the am__doit target
3954 # If we don't find an include directive, just comment out the code.
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3956 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3960 # First try GNU make style include.
3961 echo "include confinc" > confmf
3962 # Ignore all kinds of additional output from `make'.
3963 case `$am_make -s -f confmf 2> /dev/null` in #(
3964 *the\ am__doit\ target*)
3970 # Now try BSD make style include.
3971 if test "$am__include" = "#"; then
3972 echo '.include "confinc"' > confmf
3973 case `$am_make -s -f confmf 2> /dev/null` in #(
3974 *the\ am__doit\ target*)
3975 am__include=.include
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3984 $as_echo "$_am_result" >&6; }
3985 rm -f confinc confmf
3987 # Check whether --enable-dependency-tracking was given.
3988 if test "${enable_dependency_tracking+set}" = set; then :
3989 enableval=$enable_dependency_tracking;
3992 if test "x$enable_dependency_tracking" != xno; then
3993 am_depcomp="$ac_aux_dir/depcomp"
3997 if test "x$enable_dependency_tracking" != xno; then
4007 depcc="$CC" am_compiler_list=
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4010 $as_echo_n "checking dependency style of $depcc... " >&6; }
4011 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4012 $as_echo_n "(cached) " >&6
4014 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4015 # We make a subdir and do the tests there. Otherwise we can end up
4016 # making bogus files that we don't know about and never remove. For
4017 # instance it was reported that on HP-UX the gcc test will end up
4018 # making a dummy file named `D' -- because `-MD' means `put the output
4022 # Copy depcomp to subdir because otherwise we won't find it if we're
4023 # using a relative directory.
4024 cp "$am_depcomp" conftest.dir
4026 # We will build objects and dependencies in a subdirectory because
4027 # it helps to detect inapplicable dependency modes. For instance
4028 # both Tru64's cc and ICC support -MD to output dependencies as a
4029 # side effect of compilation, but ICC will put the dependencies in
4030 # the current directory while Tru64 will put them in the object
4034 am_cv_CC_dependencies_compiler_type=none
4035 if test "$am_compiler_list" = ""; then
4036 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4039 case " $depcc " in #(
4040 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4043 for depmode in $am_compiler_list; do
4044 # Setup a source with many dependencies, because some compilers
4045 # like to wrap large dependency lists on column 80 (with \), and
4046 # we should not choose a depcomp mode which is confused by this.
4048 # We need to recreate these files for each test, as the compiler may
4049 # overwrite some of them when testing with obscure command lines.
4050 # This happens at least with the AIX C compiler.
4052 for i in 1 2 3 4 5 6; do
4053 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4054 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4055 # Solaris 8's {/usr,}/bin/sh.
4056 touch sub/conftst$i.h
4058 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4060 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4061 # mode. It turns out that the SunPro C++ compiler does not properly
4062 # handle `-M -o', and we need to detect this. Also, some Intel
4063 # versions had trouble with output in subdirs
4064 am__obj=sub/conftest.${OBJEXT-o}
4065 am__minus_obj="-o $am__obj"
4068 # This depmode causes a compiler race in universal mode.
4069 test "$am__universal" = false || continue
4072 # after this tag, mechanisms are not by side-effect, so they'll
4073 # only be used when explicitly requested
4074 if test "x$enable_dependency_tracking" = xyes; then
4080 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4081 # This compiler won't grok `-c -o', but also, the minuso test has
4082 # not run yet. These depmodes are late enough in the game, and
4083 # so weak that their functioning should not be impacted.
4084 am__obj=conftest.${OBJEXT-o}
4089 if depmode=$depmode \
4090 source=sub/conftest.c object=$am__obj \
4091 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4092 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4093 >/dev/null 2>conftest.err &&
4094 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4095 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4096 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4097 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4098 # icc doesn't choke on unknown options, it will just issue warnings
4099 # or remarks (even with -Werror). So we grep stderr for any message
4100 # that says an option was ignored or not supported.
4101 # When given -MP, icc 7.0 and 7.1 complain thusly:
4102 # icc: Command line warning: ignoring option '-M'; no argument required
4103 # The diagnosis changed in icc 8.0:
4104 # icc: Command line remark: option '-MP' not supported
4105 if (grep 'ignoring option' conftest.err ||
4106 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4107 am_cv_CC_dependencies_compiler_type=$depmode
4116 am_cv_CC_dependencies_compiler_type=none
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4121 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4122 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4125 test "x$enable_dependency_tracking" != xno \
4126 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4128 am__fastdepCC_FALSE='#'
4130 am__fastdepCC_TRUE='#'
4131 am__fastdepCC_FALSE=
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4137 $as_echo_n "checking whether ln -s works... " >&6; }
4139 if test "$LN_S" = "ln -s"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4141 $as_echo "yes" >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4144 $as_echo "no, using $LN_S" >&6; }
4147 # Make sure we can run config.sub.
4148 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4149 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4152 $as_echo_n "checking build system type... " >&6; }
4153 if ${ac_cv_build+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 ac_build_alias=$build_alias
4157 test "x$ac_build_alias" = x &&
4158 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4159 test "x$ac_build_alias" = x &&
4160 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4161 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4162 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4166 $as_echo "$ac_cv_build" >&6; }
4167 case $ac_cv_build in
4169 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4172 ac_save_IFS=$IFS; IFS='-'
4178 # Remember, the first character of IFS is used to create $*,
4179 # except with old shells:
4182 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4186 $as_echo_n "checking host system type... " >&6; }
4187 if ${ac_cv_host+:} false; then :
4188 $as_echo_n "(cached) " >&6
4190 if test "x$host_alias" = x; then
4191 ac_cv_host=$ac_cv_build
4193 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4194 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4199 $as_echo "$ac_cv_host" >&6; }
4202 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4205 ac_save_IFS=$IFS; IFS='-'
4211 # Remember, the first character of IFS is used to create $*,
4212 # except with old shells:
4215 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4218 enable_win32_dll=yes
4221 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4222 if test -n "$ac_tool_prefix"; then
4223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4224 set dummy ${ac_tool_prefix}as; ac_word=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_AS+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$AS"; then
4231 ac_cv_prog_AS="$AS" # Let the user override the test.
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir=.
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4240 ac_cv_prog_AS="${ac_tool_prefix}as"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test -n "$AS"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4253 $as_echo "$AS" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4261 if test -z "$ac_cv_prog_AS"; then
4263 # Extract the first word of "as", so it can be a program name with args.
4264 set dummy as; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$ac_ct_AS"; then
4271 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4280 ac_cv_prog_ac_ct_AS="as"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4291 if test -n "$ac_ct_AS"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4293 $as_echo "$ac_ct_AS" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4299 if test "x$ac_ct_AS" = x; then
4302 case $cross_compiling:$ac_tool_warned in
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4306 ac_tool_warned=yes ;;
4314 if test -n "$ac_tool_prefix"; then
4315 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4316 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if ${ac_cv_prog_DLLTOOL+:} false; then :
4320 $as_echo_n "(cached) " >&6
4322 if test -n "$DLLTOOL"; then
4323 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir=.
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 DLLTOOL=$ac_cv_prog_DLLTOOL
4343 if test -n "$DLLTOOL"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4345 $as_echo "$DLLTOOL" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4353 if test -z "$ac_cv_prog_DLLTOOL"; then
4354 ac_ct_DLLTOOL=$DLLTOOL
4355 # Extract the first word of "dlltool", so it can be a program name with args.
4356 set dummy dlltool; ac_word=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$ac_ct_DLLTOOL"; then
4363 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir=.
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4383 if test -n "$ac_ct_DLLTOOL"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4385 $as_echo "$ac_ct_DLLTOOL" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4391 if test "x$ac_ct_DLLTOOL" = x; then
4394 case $cross_compiling:$ac_tool_warned in
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4400 DLLTOOL=$ac_ct_DLLTOOL
4403 DLLTOOL="$ac_cv_prog_DLLTOOL"
4406 if test -n "$ac_tool_prefix"; then
4407 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4408 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_OBJDUMP+:} false; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$OBJDUMP"; then
4415 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 OBJDUMP=$ac_cv_prog_OBJDUMP
4435 if test -n "$OBJDUMP"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4437 $as_echo "$OBJDUMP" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4445 if test -z "$ac_cv_prog_OBJDUMP"; then
4446 ac_ct_OBJDUMP=$OBJDUMP
4447 # Extract the first word of "objdump", so it can be a program name with args.
4448 set dummy objdump; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4452 $as_echo_n "(cached) " >&6
4454 if test -n "$ac_ct_OBJDUMP"; then
4455 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4475 if test -n "$ac_ct_OBJDUMP"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4477 $as_echo "$ac_ct_OBJDUMP" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4483 if test "x$ac_ct_OBJDUMP" = x; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4492 OBJDUMP=$ac_ct_OBJDUMP
4495 OBJDUMP="$ac_cv_prog_OBJDUMP"
4501 test -z "$AS" && AS=as
4507 test -z "$DLLTOOL" && DLLTOOL=dlltool
4513 test -z "$OBJDUMP" && OBJDUMP=objdump
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4524 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4529 macro_version='2.4.2'
4530 macro_revision='1.3337'
4544 ltmain="$ac_aux_dir/ltmain.sh"
4546 # Backslashify metacharacters that are still active within
4547 # double-quoted strings.
4548 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4550 # Same as above, but do not quote variable references.
4551 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4553 # Sed substitution to delay expansion of an escaped shell variable in a
4554 # double_quote_subst'ed string.
4555 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4557 # Sed substitution to delay expansion of an escaped single quote.
4558 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4560 # Sed substitution to avoid accidental globbing in evaled expressions
4561 no_glob_subst='s/\*/\\\*/g'
4563 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4564 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4565 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4568 $as_echo_n "checking how to print strings... " >&6; }
4569 # Test print first, because it will be a builtin if present.
4570 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4571 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4573 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4576 # Use this function as a fallback that always works.
4577 func_fallback_echo ()
4579 eval 'cat <<_LTECHO_EOF
4583 ECHO='func_fallback_echo'
4586 # func_echo_all arg...
4587 # Invoke $ECHO with all args, space-separated.
4594 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4595 $as_echo "printf" >&6; } ;;
4596 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4597 $as_echo "print -r" >&6; } ;;
4598 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4599 $as_echo "cat" >&6; } ;;
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4616 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4617 if ${ac_cv_path_SED+:} false; then :
4618 $as_echo_n "(cached) " >&6
4620 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4621 for ac_i in 1 2 3 4 5 6 7; do
4622 ac_script="$ac_script$as_nl$ac_script"
4624 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4625 { ac_script=; unset ac_script;}
4626 if test -z "$SED"; then
4627 ac_path_SED_found=false
4628 # Loop through the user's path and test for each of PROGNAME-LIST
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir=.
4634 for ac_prog in sed gsed; do
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4637 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4638 # Check for GNU ac_path_SED and select it if it is found.
4639 # Check for GNU $ac_path_SED
4640 case `"$ac_path_SED" --version 2>&1` in
4642 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4645 $as_echo_n 0123456789 >"conftest.in"
4648 cat "conftest.in" "conftest.in" >"conftest.tmp"
4649 mv "conftest.tmp" "conftest.in"
4650 cp "conftest.in" "conftest.nl"
4651 $as_echo '' >> "conftest.nl"
4652 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4654 as_fn_arith $ac_count + 1 && ac_count=$as_val
4655 if test $ac_count -gt ${ac_path_SED_max-0}; then
4656 # Best one so far, save it but keep looking for a better one
4657 ac_cv_path_SED="$ac_path_SED"
4658 ac_path_SED_max=$ac_count
4660 # 10*(2^10) chars as input seems more than enough
4661 test $ac_count -gt 10 && break
4663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4666 $ac_path_SED_found && break 3
4671 if test -z "$ac_cv_path_SED"; then
4672 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4680 $as_echo "$ac_cv_path_SED" >&6; }
4681 SED="$ac_cv_path_SED"
4684 test -z "$SED" && SED=sed
4685 Xsed="$SED -e 1s/^X//"
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4698 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4699 if ${ac_cv_path_GREP+:} false; then :
4700 $as_echo_n "(cached) " >&6
4702 if test -z "$GREP"; then
4703 ac_path_GREP_found=false
4704 # Loop through the user's path and test for each of PROGNAME-LIST
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4709 test -z "$as_dir" && as_dir=.
4710 for ac_prog in grep ggrep; do
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4713 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4714 # Check for GNU ac_path_GREP and select it if it is found.
4715 # Check for GNU $ac_path_GREP
4716 case `"$ac_path_GREP" --version 2>&1` in
4718 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4721 $as_echo_n 0123456789 >"conftest.in"
4724 cat "conftest.in" "conftest.in" >"conftest.tmp"
4725 mv "conftest.tmp" "conftest.in"
4726 cp "conftest.in" "conftest.nl"
4727 $as_echo 'GREP' >> "conftest.nl"
4728 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4729 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4730 as_fn_arith $ac_count + 1 && ac_count=$as_val
4731 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4732 # Best one so far, save it but keep looking for a better one
4733 ac_cv_path_GREP="$ac_path_GREP"
4734 ac_path_GREP_max=$ac_count
4736 # 10*(2^10) chars as input seems more than enough
4737 test $ac_count -gt 10 && break
4739 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4742 $ac_path_GREP_found && break 3
4747 if test -z "$ac_cv_path_GREP"; then
4748 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4751 ac_cv_path_GREP=$GREP
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4756 $as_echo "$ac_cv_path_GREP" >&6; }
4757 GREP="$ac_cv_path_GREP"
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4761 $as_echo_n "checking for egrep... " >&6; }
4762 if ${ac_cv_path_EGREP+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4766 then ac_cv_path_EGREP="$GREP -E"
4768 if test -z "$EGREP"; then
4769 ac_path_EGREP_found=false
4770 # Loop through the user's path and test for each of PROGNAME-LIST
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4775 test -z "$as_dir" && as_dir=.
4776 for ac_prog in egrep; do
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4779 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4780 # Check for GNU ac_path_EGREP and select it if it is found.
4781 # Check for GNU $ac_path_EGREP
4782 case `"$ac_path_EGREP" --version 2>&1` in
4784 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4787 $as_echo_n 0123456789 >"conftest.in"
4790 cat "conftest.in" "conftest.in" >"conftest.tmp"
4791 mv "conftest.tmp" "conftest.in"
4792 cp "conftest.in" "conftest.nl"
4793 $as_echo 'EGREP' >> "conftest.nl"
4794 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4795 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4796 as_fn_arith $ac_count + 1 && ac_count=$as_val
4797 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4798 # Best one so far, save it but keep looking for a better one
4799 ac_cv_path_EGREP="$ac_path_EGREP"
4800 ac_path_EGREP_max=$ac_count
4802 # 10*(2^10) chars as input seems more than enough
4803 test $ac_count -gt 10 && break
4805 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4808 $ac_path_EGREP_found && break 3
4813 if test -z "$ac_cv_path_EGREP"; then
4814 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4817 ac_cv_path_EGREP=$EGREP
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4823 $as_echo "$ac_cv_path_EGREP" >&6; }
4824 EGREP="$ac_cv_path_EGREP"
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4828 $as_echo_n "checking for fgrep... " >&6; }
4829 if ${ac_cv_path_FGREP+:} false; then :
4830 $as_echo_n "(cached) " >&6
4832 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4833 then ac_cv_path_FGREP="$GREP -F"
4835 if test -z "$FGREP"; then
4836 ac_path_FGREP_found=false
4837 # Loop through the user's path and test for each of PROGNAME-LIST
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4842 test -z "$as_dir" && as_dir=.
4843 for ac_prog in fgrep; do
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4846 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4847 # Check for GNU ac_path_FGREP and select it if it is found.
4848 # Check for GNU $ac_path_FGREP
4849 case `"$ac_path_FGREP" --version 2>&1` in
4851 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4854 $as_echo_n 0123456789 >"conftest.in"
4857 cat "conftest.in" "conftest.in" >"conftest.tmp"
4858 mv "conftest.tmp" "conftest.in"
4859 cp "conftest.in" "conftest.nl"
4860 $as_echo 'FGREP' >> "conftest.nl"
4861 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4863 as_fn_arith $ac_count + 1 && ac_count=$as_val
4864 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4865 # Best one so far, save it but keep looking for a better one
4866 ac_cv_path_FGREP="$ac_path_FGREP"
4867 ac_path_FGREP_max=$ac_count
4869 # 10*(2^10) chars as input seems more than enough
4870 test $ac_count -gt 10 && break
4872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4875 $ac_path_FGREP_found && break 3
4880 if test -z "$ac_cv_path_FGREP"; then
4881 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4884 ac_cv_path_FGREP=$FGREP
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4890 $as_echo "$ac_cv_path_FGREP" >&6; }
4891 FGREP="$ac_cv_path_FGREP"
4894 test -z "$GREP" && GREP=grep
4914 # Check whether --with-gnu-ld was given.
4915 if test "${with_gnu_ld+set}" = set; then :
4916 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4922 if test "$GCC" = yes; then
4923 # Check if gcc -print-prog-name=ld gives a path.
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4925 $as_echo_n "checking for ld used by $CC... " >&6; }
4928 # gcc leaves a trailing carriage return which upsets mingw
4929 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4931 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4934 # Accept absolute paths.
4936 re_direlt='/[^/][^/]*/\.\./'
4937 # Canonicalize the pathname of ld
4938 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4939 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4940 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4942 test -z "$LD" && LD="$ac_prog"
4945 # If it fails, then pretend we aren't using GCC.
4949 # If it is relative, then search for the first ld in PATH.
4953 elif test "$with_gnu_ld" = yes; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4955 $as_echo_n "checking for GNU ld... " >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4958 $as_echo_n "checking for non-GNU ld... " >&6; }
4960 if ${lt_cv_path_LD+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -z "$LD"; then
4964 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4965 for ac_dir in $PATH; do
4967 test -z "$ac_dir" && ac_dir=.
4968 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4969 lt_cv_path_LD="$ac_dir/$ac_prog"
4970 # Check to see if the program is GNU ld. I'd rather use --version,
4971 # but apparently some variants of GNU ld only accept -v.
4972 # Break only if it was the GNU/non-GNU ld that we prefer.
4973 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4974 *GNU* | *'with BFD'*)
4975 test "$with_gnu_ld" != no && break
4978 test "$with_gnu_ld" != yes && break
4985 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4990 if test -n "$LD"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4992 $as_echo "$LD" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4997 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4999 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5000 if ${lt_cv_prog_gnu_ld+:} false; then :
5001 $as_echo_n "(cached) " >&6
5003 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5004 case `$LD -v 2>&1 </dev/null` in
5005 *GNU* | *'with BFD'*)
5006 lt_cv_prog_gnu_ld=yes
5009 lt_cv_prog_gnu_ld=no
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5014 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5015 with_gnu_ld=$lt_cv_prog_gnu_ld
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5026 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5027 if ${lt_cv_path_NM+:} false; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$NM"; then
5031 # Let the user override the test.
5034 lt_nm_to_check="${ac_tool_prefix}nm"
5035 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5036 lt_nm_to_check="$lt_nm_to_check nm"
5038 for lt_tmp_nm in $lt_nm_to_check; do
5039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5040 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5042 test -z "$ac_dir" && ac_dir=.
5043 tmp_nm="$ac_dir/$lt_tmp_nm"
5044 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5045 # Check to see if the nm accepts a BSD-compat flag.
5046 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5047 # nm: unknown option "B" ignored
5048 # Tru64's nm complains that /dev/null is an invalid object file
5049 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5050 */dev/null* | *'Invalid file or object type'*)
5051 lt_cv_path_NM="$tmp_nm -B"
5055 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5057 lt_cv_path_NM="$tmp_nm -p"
5061 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5062 continue # so that we can try to find one that supports BSD flags
5071 : ${lt_cv_path_NM=no}
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5075 $as_echo "$lt_cv_path_NM" >&6; }
5076 if test "$lt_cv_path_NM" != "no"; then
5079 # Didn't find any BSD compatible name lister, look for dumpbin.
5080 if test -n "$DUMPBIN"; then :
5081 # Let the user override the test.
5083 if test -n "$ac_tool_prefix"; then
5084 for ac_prog in dumpbin "link -dump"
5086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if ${ac_cv_prog_DUMPBIN+:} false; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -n "$DUMPBIN"; then
5094 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 DUMPBIN=$ac_cv_prog_DUMPBIN
5114 if test -n "$DUMPBIN"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5116 $as_echo "$DUMPBIN" >&6; }
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5123 test -n "$DUMPBIN" && break
5126 if test -z "$DUMPBIN"; then
5127 ac_ct_DUMPBIN=$DUMPBIN
5128 for ac_prog in dumpbin "link -dump"
5130 # Extract the first word of "$ac_prog", so it can be a program name with args.
5131 set dummy $ac_prog; ac_word=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -n "$ac_ct_DUMPBIN"; then
5138 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5147 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5158 if test -n "$ac_ct_DUMPBIN"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5160 $as_echo "$ac_ct_DUMPBIN" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5167 test -n "$ac_ct_DUMPBIN" && break
5170 if test "x$ac_ct_DUMPBIN" = x; then
5173 case $cross_compiling:$ac_tool_warned in
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5177 ac_tool_warned=yes ;;
5179 DUMPBIN=$ac_ct_DUMPBIN
5183 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5185 DUMPBIN="$DUMPBIN -symbols"
5193 if test "$DUMPBIN" != ":"; then
5197 test -z "$NM" && NM=nm
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5205 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5206 if ${lt_cv_nm_interface+:} false; then :
5207 $as_echo_n "(cached) " >&6
5209 lt_cv_nm_interface="BSD nm"
5210 echo "int some_variable = 0;" > conftest.$ac_ext
5211 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5212 (eval "$ac_compile" 2>conftest.err)
5213 cat conftest.err >&5
5214 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5215 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5216 cat conftest.err >&5
5217 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5218 cat conftest.out >&5
5219 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5220 lt_cv_nm_interface="MS dumpbin"
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5225 $as_echo "$lt_cv_nm_interface" >&6; }
5227 # find the maximum length of command line arguments
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5229 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5230 if ${lt_cv_sys_max_cmd_len+:} false; then :
5231 $as_echo_n "(cached) " >&6
5238 # On DJGPP, this test can blow up pretty badly due to problems in libc
5239 # (any single argument exceeding 2000 bytes causes a buffer overrun
5240 # during glob expansion). Even if it were fixed, the result of this
5241 # check would be larger than it should be.
5242 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5246 # Under GNU Hurd, this test is not required because there is
5247 # no limit to the length of command line arguments.
5248 # Libtool will interpret -1 as no limit whatsoever
5249 lt_cv_sys_max_cmd_len=-1;
5252 cygwin* | mingw* | cegcc*)
5253 # On Win9x/ME, this test blows up -- it succeeds, but takes
5254 # about 5 minutes as the teststring grows exponentially.
5255 # Worse, since 9x/ME are not pre-emptively multitasking,
5256 # you end up with a "frozen" computer, even though with patience
5257 # the test eventually succeeds (with a max line length of 256k).
5258 # Instead, let's just punt: use the minimum linelength reported by
5259 # all of the supported platforms: 8192 (on NT/2K/XP).
5260 lt_cv_sys_max_cmd_len=8192;
5264 # On MiNT this can take a long time and run out of memory.
5265 lt_cv_sys_max_cmd_len=8192;
5269 # On AmigaOS with pdksh, this test takes hours, literally.
5270 # So we just punt and use a minimum line length of 8192.
5271 lt_cv_sys_max_cmd_len=8192;
5274 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5275 # This has been around since 386BSD, at least. Likely further.
5276 if test -x /sbin/sysctl; then
5277 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5278 elif test -x /usr/sbin/sysctl; then
5279 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5281 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5283 # And add a safety zone
5284 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5285 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5289 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5290 lt_cv_sys_max_cmd_len=196608
5294 # The test takes a long time on OS/2.
5295 lt_cv_sys_max_cmd_len=8192
5299 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5300 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5301 # nice to cause kernel panics so lets avoid the loop below.
5302 # First set a reasonable default.
5303 lt_cv_sys_max_cmd_len=16384
5305 if test -x /sbin/sysconfig; then
5306 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5307 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5312 lt_cv_sys_max_cmd_len=102400
5314 sysv5* | sco5v6* | sysv4.2uw2*)
5315 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5316 if test -n "$kargmax"; then
5317 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5319 lt_cv_sys_max_cmd_len=32768
5323 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5324 if test -n "$lt_cv_sys_max_cmd_len"; then
5325 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5328 # Make teststring a little bigger before we do anything with it.
5329 # a 1K string should be a reasonable start.
5330 for i in 1 2 3 4 5 6 7 8 ; do
5331 teststring=$teststring$teststring
5333 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5334 # If test is not a shell built-in, we'll probably end up computing a
5335 # maximum length that is only half of the actual maximum length, but
5337 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5338 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5339 test $i != 17 # 1/2 MB should be enough
5342 teststring=$teststring$teststring
5344 # Only check the string length outside the loop.
5345 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5347 # Add a significant safety factor because C++ compilers can tack on
5348 # massive amounts of additional arguments before passing them to the
5349 # linker. It appears as though 1/2 is a usable value.
5350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5357 if test -n $lt_cv_sys_max_cmd_len ; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5359 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5362 $as_echo "none" >&6; }
5364 max_cmd_len=$lt_cv_sys_max_cmd_len
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5376 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5377 # Try some XSI features
5380 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5382 && eval 'test $(( 1 + 1 )) -eq 2 \
5383 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5386 $as_echo "$xsi_shell" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5390 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5392 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5394 && lt_shell_append=yes
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5396 $as_echo "$lt_shell_append" >&6; }
5399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5409 # test EBCDIC or ASCII
5410 case `echo X|tr X '\101'` in
5411 A) # ASCII based system
5412 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5413 lt_SP2NL='tr \040 \012'
5414 lt_NL2SP='tr \015\012 \040\040'
5416 *) # EBCDIC based system
5417 lt_SP2NL='tr \100 \n'
5418 lt_NL2SP='tr \r\n \100\100'
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5431 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5432 if ${lt_cv_to_host_file_cmd+:} false; then :
5433 $as_echo_n "(cached) " >&6
5438 *-*-mingw* ) # actually msys
5439 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5442 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5444 * ) # otherwise, assume *nix
5445 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5451 *-*-mingw* ) # actually msys
5452 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5455 lt_cv_to_host_file_cmd=func_convert_file_noop
5457 * ) # otherwise, assume *nix
5458 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5462 * ) # unhandled hosts (and "normal" native builds)
5463 lt_cv_to_host_file_cmd=func_convert_file_noop
5469 to_host_file_cmd=$lt_cv_to_host_file_cmd
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5471 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5478 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5479 if ${lt_cv_to_tool_file_cmd+:} false; then :
5480 $as_echo_n "(cached) " >&6
5482 #assume ordinary cross tools, or native build.
5483 lt_cv_to_tool_file_cmd=func_convert_file_noop
5487 *-*-mingw* ) # actually msys
5488 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5496 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5498 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5505 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5506 if ${lt_cv_ld_reload_flag+:} false; then :
5507 $as_echo_n "(cached) " >&6
5509 lt_cv_ld_reload_flag='-r'
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5512 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5513 reload_flag=$lt_cv_ld_reload_flag
5514 case $reload_flag in
5516 *) reload_flag=" $reload_flag" ;;
5518 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5520 cygwin* | mingw* | pw32* | cegcc*)
5521 if test "$GCC" != yes; then
5526 if test "$GCC" = yes; then
5527 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5529 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_OBJDUMP+:} false; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$OBJDUMP"; then
5551 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 OBJDUMP=$ac_cv_prog_OBJDUMP
5571 if test -n "$OBJDUMP"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5573 $as_echo "$OBJDUMP" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_OBJDUMP"; then
5582 ac_ct_OBJDUMP=$OBJDUMP
5583 # Extract the first word of "objdump", so it can be a program name with args.
5584 set dummy objdump; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$ac_ct_OBJDUMP"; then
5591 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5611 if test -n "$ac_ct_OBJDUMP"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5613 $as_echo "$ac_ct_OBJDUMP" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_OBJDUMP" = x; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5628 OBJDUMP=$ac_ct_OBJDUMP
5631 OBJDUMP="$ac_cv_prog_OBJDUMP"
5634 test -z "$OBJDUMP" && OBJDUMP=objdump
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5642 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5643 if ${lt_cv_deplibs_check_method+:} false; then :
5644 $as_echo_n "(cached) " >&6
5646 lt_cv_file_magic_cmd='$MAGIC_CMD'
5647 lt_cv_file_magic_test_file=
5648 lt_cv_deplibs_check_method='unknown'
5649 # Need to set the preceding variable on all platforms that support
5650 # interlibrary dependencies.
5651 # 'none' -- dependencies not supported.
5652 # `unknown' -- same as none, but documents that we really don't know.
5653 # 'pass_all' -- all dependencies passed with no checks.
5654 # 'test_compile' -- check by making test program.
5655 # 'file_magic [[regex]]' -- check by looking for files in library path
5656 # which responds to the $file_magic_cmd with a given extended regex.
5657 # If you have `file' or equivalent on your system and you're not sure
5658 # whether `pass_all' will *always* work, you probably want this one.
5662 lt_cv_deplibs_check_method=pass_all
5666 lt_cv_deplibs_check_method=pass_all
5670 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5671 lt_cv_file_magic_cmd='/usr/bin/file -L'
5672 lt_cv_file_magic_test_file=/shlib/libc.so
5676 # func_win32_libid is a shell function defined in ltmain.sh
5677 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5678 lt_cv_file_magic_cmd='func_win32_libid'
5682 # Base MSYS/MinGW do not provide the 'file' command needed by
5683 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5684 # unless we find 'file', for example because we are cross-compiling.
5685 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5686 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5687 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5688 lt_cv_file_magic_cmd='func_win32_libid'
5690 # Keep this pattern in sync with the one in func_win32_libid.
5691 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5692 lt_cv_file_magic_cmd='$OBJDUMP -f'
5697 # use the weaker test based on 'objdump'. See mingw*.
5698 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5699 lt_cv_file_magic_cmd='$OBJDUMP -f'
5702 darwin* | rhapsody*)
5703 lt_cv_deplibs_check_method=pass_all
5706 freebsd* | dragonfly*)
5707 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5710 # Not sure whether the presence of OpenBSD here was a mistake.
5711 # Let's accept both of them until this is cleared up.
5712 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5713 lt_cv_file_magic_cmd=/usr/bin/file
5714 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5718 lt_cv_deplibs_check_method=pass_all
5723 lt_cv_deplibs_check_method=pass_all
5727 lt_cv_deplibs_check_method=pass_all
5730 hpux10.20* | hpux11*)
5731 lt_cv_file_magic_cmd=/usr/bin/file
5734 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5735 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5738 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5739 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5742 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5743 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5749 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5750 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5753 irix5* | irix6* | nonstopux*)
5755 *-32|*"-32 ") libmagic=32-bit;;
5756 *-n32|*"-n32 ") libmagic=N32;;
5757 *-64|*"-64 ") libmagic=64-bit;;
5758 *) libmagic=never-match;;
5760 lt_cv_deplibs_check_method=pass_all
5763 # This must be glibc/ELF.
5764 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5765 lt_cv_deplibs_check_method=pass_all
5769 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5770 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5772 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5777 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5778 lt_cv_file_magic_cmd=/usr/bin/file
5779 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5783 lt_cv_deplibs_check_method=pass_all
5787 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5788 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5790 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5794 osf3* | osf4* | osf5*)
5795 lt_cv_deplibs_check_method=pass_all
5799 lt_cv_deplibs_check_method=pass_all
5803 lt_cv_deplibs_check_method=pass_all
5806 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5807 lt_cv_deplibs_check_method=pass_all
5811 case $host_vendor in
5813 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]'
5814 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5817 lt_cv_deplibs_check_method=pass_all
5820 lt_cv_file_magic_cmd='/bin/file'
5821 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5824 lt_cv_file_magic_cmd='/bin/file'
5825 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5826 lt_cv_file_magic_test_file=/lib/libc.so
5829 lt_cv_deplibs_check_method=pass_all
5832 lt_cv_deplibs_check_method=pass_all
5838 lt_cv_deplibs_check_method=pass_all
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5844 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5848 if test "$build" = "$host"; then
5851 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5854 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5860 file_magic_cmd=$lt_cv_file_magic_cmd
5861 deplibs_check_method=$lt_cv_deplibs_check_method
5862 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5885 if test -n "$ac_tool_prefix"; then
5886 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5887 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if ${ac_cv_prog_DLLTOOL+:} false; then :
5891 $as_echo_n "(cached) " >&6
5893 if test -n "$DLLTOOL"; then
5894 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 DLLTOOL=$ac_cv_prog_DLLTOOL
5914 if test -n "$DLLTOOL"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5916 $as_echo "$DLLTOOL" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5924 if test -z "$ac_cv_prog_DLLTOOL"; then
5925 ac_ct_DLLTOOL=$DLLTOOL
5926 # Extract the first word of "dlltool", so it can be a program name with args.
5927 set dummy dlltool; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5931 $as_echo_n "(cached) " >&6
5933 if test -n "$ac_ct_DLLTOOL"; then
5934 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5943 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5954 if test -n "$ac_ct_DLLTOOL"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5956 $as_echo "$ac_ct_DLLTOOL" >&6; }
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5962 if test "x$ac_ct_DLLTOOL" = x; then
5965 case $cross_compiling:$ac_tool_warned in
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5969 ac_tool_warned=yes ;;
5971 DLLTOOL=$ac_ct_DLLTOOL
5974 DLLTOOL="$ac_cv_prog_DLLTOOL"
5977 test -z "$DLLTOOL" && DLLTOOL=dlltool
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5986 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5987 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5988 $as_echo_n "(cached) " >&6
5990 lt_cv_sharedlib_from_linklib_cmd='unknown'
5993 cygwin* | mingw* | pw32* | cegcc*)
5994 # two different shell functions defined in ltmain.sh
5995 # decide which to use based on capabilities of $DLLTOOL
5996 case `$DLLTOOL --help 2>&1` in
5997 *--identify-strict*)
5998 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6001 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6006 # fallback: assume linklib IS sharedlib
6007 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6013 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6014 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6015 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6024 if test -n "$ac_tool_prefix"; then
6027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6028 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030 $as_echo_n "checking for $ac_word... " >&6; }
6031 if ${ac_cv_prog_AR+:} false; then :
6032 $as_echo_n "(cached) " >&6
6034 if test -n "$AR"; then
6035 ac_cv_prog_AR="$AR" # Let the user override the test.
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041 test -z "$as_dir" && as_dir=.
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6044 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 if test -n "$AR"; then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6057 $as_echo "$AR" >&6; }
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6064 test -n "$AR" && break
6067 if test -z "$AR"; then
6071 # Extract the first word of "$ac_prog", so it can be a program name with args.
6072 set dummy $ac_prog; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6076 $as_echo_n "(cached) " >&6
6078 if test -n "$ac_ct_AR"; then
6079 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6088 ac_cv_prog_ac_ct_AR="$ac_prog"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6099 if test -n "$ac_ct_AR"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6101 $as_echo "$ac_ct_AR" >&6; }
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6108 test -n "$ac_ct_AR" && break
6111 if test "x$ac_ct_AR" = x; then
6114 case $cross_compiling:$ac_tool_warned in
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6118 ac_tool_warned=yes ;;
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6138 $as_echo_n "checking for archiver @FILE support... " >&6; }
6139 if ${lt_cv_ar_at_file+:} false; then :
6140 $as_echo_n "(cached) " >&6
6143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6154 if ac_fn_c_try_compile "$LINENO"; then :
6155 echo conftest.$ac_objext > conftest.lst
6156 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6157 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6158 (eval $lt_ar_try) 2>&5
6160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6161 test $ac_status = 0; }
6162 if test "$ac_status" -eq 0; then
6163 # Ensure the archiver fails upon bogus file names.
6164 rm -f conftest.$ac_objext libconftest.a
6165 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6166 (eval $lt_ar_try) 2>&5
6168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6169 test $ac_status = 0; }
6170 if test "$ac_status" -ne 0; then
6174 rm -f conftest.* libconftest.a
6177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6181 $as_echo "$lt_cv_ar_at_file" >&6; }
6183 if test "x$lt_cv_ar_at_file" = xno; then
6186 archiver_list_spec=$lt_cv_ar_at_file
6195 if test -n "$ac_tool_prefix"; then
6196 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6197 set dummy ${ac_tool_prefix}strip; ac_word=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 $as_echo_n "checking for $ac_word... " >&6; }
6200 if ${ac_cv_prog_STRIP+:} false; then :
6201 $as_echo_n "(cached) " >&6
6203 if test -n "$STRIP"; then
6204 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6213 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 STRIP=$ac_cv_prog_STRIP
6224 if test -n "$STRIP"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6226 $as_echo "$STRIP" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6234 if test -z "$ac_cv_prog_STRIP"; then
6236 # Extract the first word of "strip", so it can be a program name with args.
6237 set dummy strip; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6241 $as_echo_n "(cached) " >&6
6243 if test -n "$ac_ct_STRIP"; then
6244 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_ac_ct_STRIP="strip"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6264 if test -n "$ac_ct_STRIP"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6266 $as_echo "$ac_ct_STRIP" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6272 if test "x$ac_ct_STRIP" = x; then
6275 case $cross_compiling:$ac_tool_warned in
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6279 ac_tool_warned=yes ;;
6284 STRIP="$ac_cv_prog_STRIP"
6287 test -z "$STRIP" && STRIP=:
6294 if test -n "$ac_tool_prefix"; then
6295 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6296 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if ${ac_cv_prog_RANLIB+:} false; then :
6300 $as_echo_n "(cached) " >&6
6302 if test -n "$RANLIB"; then
6303 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 RANLIB=$ac_cv_prog_RANLIB
6323 if test -n "$RANLIB"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6325 $as_echo "$RANLIB" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6333 if test -z "$ac_cv_prog_RANLIB"; then
6334 ac_ct_RANLIB=$RANLIB
6335 # Extract the first word of "ranlib", so it can be a program name with args.
6336 set dummy ranlib; ac_word=$2
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338 $as_echo_n "checking for $ac_word... " >&6; }
6339 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6340 $as_echo_n "(cached) " >&6
6342 if test -n "$ac_ct_RANLIB"; then
6343 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_ac_ct_RANLIB="ranlib"
6353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6363 if test -n "$ac_ct_RANLIB"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6365 $as_echo "$ac_ct_RANLIB" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368 $as_echo "no" >&6; }
6371 if test "x$ac_ct_RANLIB" = x; then
6374 case $cross_compiling:$ac_tool_warned in
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6378 ac_tool_warned=yes ;;
6380 RANLIB=$ac_ct_RANLIB
6383 RANLIB="$ac_cv_prog_RANLIB"
6386 test -z "$RANLIB" && RANLIB=:
6393 # Determine commands to create old-style static archives.
6394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6395 old_postinstall_cmds='chmod 644 $oldlib'
6396 old_postuninstall_cmds=
6398 if test -n "$RANLIB"; then
6401 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6404 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6407 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6412 lock_old_archive_extraction=yes ;;
6414 lock_old_archive_extraction=no ;;
6455 # If no C compiler was specified, use CC.
6458 # If no C compiler flags were specified, use CFLAGS.
6459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6461 # Allow CC to be a program name with arguments.
6465 # Check for command to grab the raw symbol name followed by C symbol from nm.
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6467 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6468 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6469 $as_echo_n "(cached) " >&6
6472 # These are sane defaults that work on at least a few old systems.
6473 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6475 # Character class describing NM global symbol codes.
6476 symcode='[BCDEGRST]'
6478 # Regexp to match symbols that can be accessed directly from C.
6479 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6481 # Define system-specific variables.
6486 cygwin* | mingw* | pw32* | cegcc*)
6487 symcode='[ABCDGISTW]'
6490 if test "$host_cpu" = ia64; then
6491 symcode='[ABCDEGRST]'
6495 symcode='[BCDEGRST]'
6498 symcode='[BCDEGQRST]'
6509 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6517 # If we're using GNU nm, then use its standard symbol codes.
6518 case `$NM -V 2>&1` in
6519 *GNU* | *'with BFD'*)
6520 symcode='[ABCDGIRSTW]' ;;
6523 # Transform an extracted symbol line into a proper C declaration.
6524 # Some systems (esp. on ia64) link data and code symbols differently,
6525 # so use this general approach.
6526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6528 # Transform an extracted symbol line into symbol name and symbol address
6529 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6530 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'"
6532 # Handle CRLF in mingw tool chain
6536 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6540 # Try without a prefix underscore, then with it.
6541 for ac_symprfx in "" "_"; do
6543 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6544 symxfrm="\\1 $ac_symprfx\\2 \\2"
6546 # Write the raw and C identifiers.
6547 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6548 # Fake it for dumpbin and say T for any non-static function
6549 # and D for any global variable.
6550 # Also find C++ and __fastcall symbols from MSVC++,
6551 # which start with @ or ?.
6552 lt_cv_sys_global_symbol_pipe="$AWK '"\
6553 " {last_section=section; section=\$ 3};"\
6554 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6555 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6556 " \$ 0!~/External *\|/{next};"\
6557 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6558 " {if(hide[section]) next};"\
6559 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6560 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6561 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6562 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6563 " ' prfx=^$ac_symprfx"
6565 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6567 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6569 # Check to see that the pipe works correctly.
6573 cat > conftest.$ac_ext <<_LT_EOF
6578 void nm_test_func(void);
6579 void nm_test_func(void){}
6583 int main(){nm_test_var='a';nm_test_func();return(0);}
6586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6587 (eval $ac_compile) 2>&5
6589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6590 test $ac_status = 0; }; then
6591 # Now try to grab the symbols.
6593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6594 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597 test $ac_status = 0; } && test -s "$nlist"; then
6598 # Try sorting and uniquifying the output.
6599 if sort "$nlist" | uniq > "$nlist"T; then
6600 mv -f "$nlist"T "$nlist"
6605 # Make sure that we snagged all the symbols we need.
6606 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6607 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6608 cat <<_LT_EOF > conftest.$ac_ext
6609 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6610 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6611 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6612 relocations are performed -- see ld's documentation on pseudo-relocs. */
6613 # define LT_DLSYM_CONST
6614 #elif defined(__osf__)
6615 /* This system does not cope well with relocations in const data. */
6616 # define LT_DLSYM_CONST
6618 # define LT_DLSYM_CONST const
6626 # Now generate the symbol file.
6627 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6629 cat <<_LT_EOF >> conftest.$ac_ext
6631 /* The mapping between symbol names and symbols. */
6632 LT_DLSYM_CONST struct {
6636 lt__PROGRAM__LTX_preloaded_symbols[] =
6638 { "@PROGRAM@", (void *) 0 },
6640 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6641 cat <<\_LT_EOF >> conftest.$ac_ext
6645 /* This works around a problem in FreeBSD linker */
6646 #ifdef FREEBSD_WORKAROUND
6647 static const void *lt_preloaded_setup() {
6648 return lt__PROGRAM__LTX_preloaded_symbols;
6656 # Now try linking the two files.
6657 mv conftest.$ac_objext conftstm.$ac_objext
6658 lt_globsym_save_LIBS=$LIBS
6659 lt_globsym_save_CFLAGS=$CFLAGS
6660 LIBS="conftstm.$ac_objext"
6661 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6663 (eval $ac_link) 2>&5
6665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6666 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6669 LIBS=$lt_globsym_save_LIBS
6670 CFLAGS=$lt_globsym_save_CFLAGS
6672 echo "cannot find nm_test_func in $nlist" >&5
6675 echo "cannot find nm_test_var in $nlist" >&5
6678 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6681 echo "$progname: failed program was:" >&5
6682 cat conftest.$ac_ext >&5
6684 rm -rf conftest* conftst*
6686 # Do not use the global_symbol_pipe unless it works.
6687 if test "$pipe_works" = yes; then
6690 lt_cv_sys_global_symbol_pipe=
6696 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6697 lt_cv_sys_global_symbol_to_cdecl=
6699 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6701 $as_echo "failed" >&6; }
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6704 $as_echo "ok" >&6; }
6707 # Response file support.
6708 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6709 nm_file_list_spec='@'
6710 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6711 nm_file_list_spec='@'
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6741 $as_echo_n "checking for sysroot... " >&6; }
6743 # Check whether --with-sysroot was given.
6744 if test "${with_sysroot+set}" = set; then :
6745 withval=$with_sysroot;
6752 case ${with_sysroot} in #(
6754 if test "$GCC" = yes; then
6755 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6759 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6765 $as_echo "${with_sysroot}" >&6; }
6766 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6771 $as_echo "${lt_sysroot:-no}" >&6; }
6777 # Check whether --enable-libtool-lock was given.
6778 if test "${enable_libtool_lock+set}" = set; then :
6779 enableval=$enable_libtool_lock;
6782 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6784 # Some flags need to be propagated to the compiler or linker for good
6788 # Find out which ABI we are using.
6789 echo 'int i;' > conftest.$ac_ext
6790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6791 (eval $ac_compile) 2>&5
6793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6794 test $ac_status = 0; }; then
6795 case `/usr/bin/file conftest.$ac_objext` in
6807 # Find out which ABI we are using.
6808 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810 (eval $ac_compile) 2>&5
6812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813 test $ac_status = 0; }; then
6814 if test "$lt_cv_prog_gnu_ld" = yes; then
6815 case `/usr/bin/file conftest.$ac_objext` in
6817 LD="${LD-ld} -melf32bsmip"
6820 LD="${LD-ld} -melf32bmipn32"
6823 LD="${LD-ld} -melf64bmip"
6827 case `/usr/bin/file conftest.$ac_objext` in
6843 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6844 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6845 # Find out which ABI we are using.
6846 echo 'int i;' > conftest.$ac_ext
6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6848 (eval $ac_compile) 2>&5
6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6851 test $ac_status = 0; }; then
6852 case `/usr/bin/file conftest.o` in
6855 x86_64-*kfreebsd*-gnu)
6856 LD="${LD-ld} -m elf_i386_fbsd"
6859 LD="${LD-ld} -m elf_i386"
6861 ppc64-*linux*|powerpc64-*linux*)
6862 LD="${LD-ld} -m elf32ppclinux"
6865 LD="${LD-ld} -m elf_s390"
6868 LD="${LD-ld} -m elf32_sparc"
6874 x86_64-*kfreebsd*-gnu)
6875 LD="${LD-ld} -m elf_x86_64_fbsd"
6878 LD="${LD-ld} -m elf_x86_64"
6880 ppc*-*linux*|powerpc*-*linux*)
6881 LD="${LD-ld} -m elf64ppc"
6883 s390*-*linux*|s390*-*tpf*)
6884 LD="${LD-ld} -m elf64_s390"
6887 LD="${LD-ld} -m elf64_sparc"
6897 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6898 SAVE_CFLAGS="$CFLAGS"
6899 CFLAGS="$CFLAGS -belf"
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6901 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6902 if ${lt_cv_cc_needs_belf+:} false; then :
6903 $as_echo_n "(cached) " >&6
6906 ac_cpp='$CPP $CPPFLAGS'
6907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6922 if ac_fn_c_try_link "$LINENO"; then :
6923 lt_cv_cc_needs_belf=yes
6925 lt_cv_cc_needs_belf=no
6927 rm -f core conftest.err conftest.$ac_objext \
6928 conftest$ac_exeext conftest.$ac_ext
6930 ac_cpp='$CPP $CPPFLAGS'
6931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6937 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6938 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6939 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6940 CFLAGS="$SAVE_CFLAGS"
6944 # Find out which ABI we are using.
6945 echo 'int i;' > conftest.$ac_ext
6946 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6947 (eval $ac_compile) 2>&5
6949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6950 test $ac_status = 0; }; then
6951 case `/usr/bin/file conftest.o` in
6953 case $lt_cv_prog_gnu_ld in
6957 LD="${LD-ld} -m elf_x86_64"
6960 LD="${LD-ld} -m elf64_sparc"
6963 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6964 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6969 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6981 need_locks="$enable_libtool_lock"
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}mt; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$MANIFEST_TOOL"; then
6992 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7012 if test -n "$MANIFEST_TOOL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7014 $as_echo "$MANIFEST_TOOL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7022 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7023 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7024 # Extract the first word of "mt", so it can be a program name with args.
7025 set dummy mt; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7029 $as_echo_n "(cached) " >&6
7031 if test -n "$ac_ct_MANIFEST_TOOL"; then
7032 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7052 if test -n "$ac_ct_MANIFEST_TOOL"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7054 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7060 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7067 ac_tool_warned=yes ;;
7069 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7072 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7075 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7077 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7078 if ${lt_cv_path_mainfest_tool+:} false; then :
7079 $as_echo_n "(cached) " >&6
7081 lt_cv_path_mainfest_tool=no
7082 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7083 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7084 cat conftest.err >&5
7085 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7086 lt_cv_path_mainfest_tool=yes
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7091 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7092 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7102 rhapsody* | darwin*)
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$DSYMUTIL"; then
7112 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7121 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7132 if test -n "$DSYMUTIL"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7134 $as_echo "$DSYMUTIL" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7142 if test -z "$ac_cv_prog_DSYMUTIL"; then
7143 ac_ct_DSYMUTIL=$DSYMUTIL
7144 # Extract the first word of "dsymutil", so it can be a program name with args.
7145 set dummy dsymutil; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7149 $as_echo_n "(cached) " >&6
7151 if test -n "$ac_ct_DSYMUTIL"; then
7152 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7161 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7172 if test -n "$ac_ct_DSYMUTIL"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7174 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7180 if test "x$ac_ct_DSYMUTIL" = x; then
7183 case $cross_compiling:$ac_tool_warned in
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7189 DSYMUTIL=$ac_ct_DSYMUTIL
7192 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7195 if test -n "$ac_tool_prefix"; then
7196 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7197 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_NMEDIT+:} false; then :
7201 $as_echo_n "(cached) " >&6
7203 if test -n "$NMEDIT"; then
7204 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir=.
7211 for ac_exec_ext in '' $ac_executable_extensions; do
7212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7213 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 NMEDIT=$ac_cv_prog_NMEDIT
7224 if test -n "$NMEDIT"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7226 $as_echo "$NMEDIT" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7234 if test -z "$ac_cv_prog_NMEDIT"; then
7235 ac_ct_NMEDIT=$NMEDIT
7236 # Extract the first word of "nmedit", so it can be a program name with args.
7237 set dummy nmedit; ac_word=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7241 $as_echo_n "(cached) " >&6
7243 if test -n "$ac_ct_NMEDIT"; then
7244 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7250 test -z "$as_dir" && as_dir=.
7251 for ac_exec_ext in '' $ac_executable_extensions; do
7252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7253 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7264 if test -n "$ac_ct_NMEDIT"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7266 $as_echo "$ac_ct_NMEDIT" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7272 if test "x$ac_ct_NMEDIT" = x; then
7275 case $cross_compiling:$ac_tool_warned in
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7279 ac_tool_warned=yes ;;
7281 NMEDIT=$ac_ct_NMEDIT
7284 NMEDIT="$ac_cv_prog_NMEDIT"
7287 if test -n "$ac_tool_prefix"; then
7288 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7289 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_LIPO+:} false; then :
7293 $as_echo_n "(cached) " >&6
7295 if test -n "$LIPO"; then
7296 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 test -z "$as_dir" && as_dir=.
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7305 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 LIPO=$ac_cv_prog_LIPO
7316 if test -n "$LIPO"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7318 $as_echo "$LIPO" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7326 if test -z "$ac_cv_prog_LIPO"; then
7328 # Extract the first word of "lipo", so it can be a program name with args.
7329 set dummy lipo; ac_word=$2
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 $as_echo_n "checking for $ac_word... " >&6; }
7332 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7333 $as_echo_n "(cached) " >&6
7335 if test -n "$ac_ct_LIPO"; then
7336 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7342 test -z "$as_dir" && as_dir=.
7343 for ac_exec_ext in '' $ac_executable_extensions; do
7344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7345 ac_cv_prog_ac_ct_LIPO="lipo"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7356 if test -n "$ac_ct_LIPO"; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7358 $as_echo "$ac_ct_LIPO" >&6; }
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 $as_echo "no" >&6; }
7364 if test "x$ac_ct_LIPO" = x; then
7367 case $cross_compiling:$ac_tool_warned in
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7371 ac_tool_warned=yes ;;
7376 LIPO="$ac_cv_prog_LIPO"
7379 if test -n "$ac_tool_prefix"; then
7380 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7381 set dummy ${ac_tool_prefix}otool; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_OTOOL+:} false; then :
7385 $as_echo_n "(cached) " >&6
7387 if test -n "$OTOOL"; then
7388 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7397 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 OTOOL=$ac_cv_prog_OTOOL
7408 if test -n "$OTOOL"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7410 $as_echo "$OTOOL" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7418 if test -z "$ac_cv_prog_OTOOL"; then
7420 # Extract the first word of "otool", so it can be a program name with args.
7421 set dummy otool; ac_word=$2
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7423 $as_echo_n "checking for $ac_word... " >&6; }
7424 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7425 $as_echo_n "(cached) " >&6
7427 if test -n "$ac_ct_OTOOL"; then
7428 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 test -z "$as_dir" && as_dir=.
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7437 ac_cv_prog_ac_ct_OTOOL="otool"
7438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7448 if test -n "$ac_ct_OTOOL"; then
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7450 $as_echo "$ac_ct_OTOOL" >&6; }
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7456 if test "x$ac_ct_OTOOL" = x; then
7459 case $cross_compiling:$ac_tool_warned in
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7463 ac_tool_warned=yes ;;
7468 OTOOL="$ac_cv_prog_OTOOL"
7471 if test -n "$ac_tool_prefix"; then
7472 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7473 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_OTOOL64+:} false; then :
7477 $as_echo_n "(cached) " >&6
7479 if test -n "$OTOOL64"; then
7480 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 test -z "$as_dir" && as_dir=.
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7489 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 OTOOL64=$ac_cv_prog_OTOOL64
7500 if test -n "$OTOOL64"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7502 $as_echo "$OTOOL64" >&6; }
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7510 if test -z "$ac_cv_prog_OTOOL64"; then
7511 ac_ct_OTOOL64=$OTOOL64
7512 # Extract the first word of "otool64", so it can be a program name with args.
7513 set dummy otool64; ac_word=$2
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 $as_echo_n "checking for $ac_word... " >&6; }
7516 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7517 $as_echo_n "(cached) " >&6
7519 if test -n "$ac_ct_OTOOL64"; then
7520 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 test -z "$as_dir" && as_dir=.
7527 for ac_exec_ext in '' $ac_executable_extensions; do
7528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7529 ac_cv_prog_ac_ct_OTOOL64="otool64"
7530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7540 if test -n "$ac_ct_OTOOL64"; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7542 $as_echo "$ac_ct_OTOOL64" >&6; }
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545 $as_echo "no" >&6; }
7548 if test "x$ac_ct_OTOOL64" = x; then
7551 case $cross_compiling:$ac_tool_warned in
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7555 ac_tool_warned=yes ;;
7557 OTOOL64=$ac_ct_OTOOL64
7560 OTOOL64="$ac_cv_prog_OTOOL64"
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7590 $as_echo_n "checking for -single_module linker flag... " >&6; }
7591 if ${lt_cv_apple_cc_single_mod+:} false; then :
7592 $as_echo_n "(cached) " >&6
7594 lt_cv_apple_cc_single_mod=no
7595 if test -z "${LT_MULTI_MODULE}"; then
7596 # By default we will add the -single_module flag. You can override
7597 # by either setting the environment variable LT_MULTI_MODULE
7598 # non-empty at configure time, or by adding -multi_module to the
7600 rm -rf libconftest.dylib*
7601 echo "int foo(void){return 1;}" > conftest.c
7602 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7603 -dynamiclib -Wl,-single_module conftest.c" >&5
7604 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7605 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7607 # If there is a non-empty error log, and "single_module"
7608 # appears in it, assume the flag caused a linker warning
7609 if test -s conftest.err && $GREP single_module conftest.err; then
7610 cat conftest.err >&5
7611 # Otherwise, if the output was created with a 0 exit code from
7612 # the compiler, it worked.
7613 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7614 lt_cv_apple_cc_single_mod=yes
7616 cat conftest.err >&5
7618 rm -rf libconftest.dylib*
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7623 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7626 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7627 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7628 $as_echo_n "(cached) " >&6
7630 lt_cv_ld_exported_symbols_list=no
7631 save_LDFLAGS=$LDFLAGS
7632 echo "_main" > conftest.sym
7633 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h. */
7645 if ac_fn_c_try_link "$LINENO"; then :
7646 lt_cv_ld_exported_symbols_list=yes
7648 lt_cv_ld_exported_symbols_list=no
7650 rm -f core conftest.err conftest.$ac_objext \
7651 conftest$ac_exeext conftest.$ac_ext
7652 LDFLAGS="$save_LDFLAGS"
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7656 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7659 $as_echo_n "checking for -force_load linker flag... " >&6; }
7660 if ${lt_cv_ld_force_load+:} false; then :
7661 $as_echo_n "(cached) " >&6
7663 lt_cv_ld_force_load=no
7664 cat > conftest.c << _LT_EOF
7665 int forced_loaded() { return 2;}
7667 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7668 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7669 echo "$AR cru libconftest.a conftest.o" >&5
7670 $AR cru libconftest.a conftest.o 2>&5
7671 echo "$RANLIB libconftest.a" >&5
7672 $RANLIB libconftest.a 2>&5
7673 cat > conftest.c << _LT_EOF
7674 int main() { return 0;}
7676 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7677 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7679 if test -s conftest.err && $GREP force_load conftest.err; then
7680 cat conftest.err >&5
7681 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7682 lt_cv_ld_force_load=yes
7684 cat conftest.err >&5
7686 rm -f conftest.err libconftest.a conftest conftest.c
7687 rm -rf conftest.dSYM
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7691 $as_echo "$lt_cv_ld_force_load" >&6; }
7693 rhapsody* | darwin1.[012])
7694 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7696 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7697 darwin*) # darwin 5.x on
7698 # if running on 10.5 or later, the deployment target defaults
7699 # to the OS version, if on x86, and 10.4, the deployment
7700 # target defaults to 10.4. Don't you love it?
7701 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7702 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7703 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7705 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7707 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7711 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7712 _lt_dar_single_mod='$single_module'
7714 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7715 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7717 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7719 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7720 _lt_dsymutil='~$DSYMUTIL $lib || :'
7728 ac_cpp='$CPP $CPPFLAGS'
7729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7733 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7734 # On Suns, sometimes $CPP names a directory.
7735 if test -n "$CPP" && test -d "$CPP"; then
7738 if test -z "$CPP"; then
7739 if ${ac_cv_prog_CPP+:} false; then :
7740 $as_echo_n "(cached) " >&6
7742 # Double quotes because CPP needs to be expanded
7743 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7746 for ac_c_preproc_warn_flag in '' yes
7748 # Use a header file that comes with gcc, so configuring glibc
7749 # with a fresh cross-compiler works.
7750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7751 # <limits.h> exists even on freestanding compilers.
7752 # On the NeXT, cc -E runs the code through the compiler's parser,
7753 # not just through cpp. "Syntax error" is here to catch this case.
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7757 # include <limits.h>
7759 # include <assert.h>
7763 if ac_fn_c_try_cpp "$LINENO"; then :
7766 # Broken: fails on valid input.
7769 rm -f conftest.err conftest.i conftest.$ac_ext
7771 # OK, works on sane cases. Now check whether nonexistent headers
7772 # can be detected and how.
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7775 #include <ac_nonexistent.h>
7777 if ac_fn_c_try_cpp "$LINENO"; then :
7778 # Broken: success on invalid input.
7781 # Passes both tests.
7785 rm -f conftest.err conftest.i conftest.$ac_ext
7788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7789 rm -f conftest.i conftest.err conftest.$ac_ext
7790 if $ac_preproc_ok; then :
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7803 $as_echo "$CPP" >&6; }
7805 for ac_c_preproc_warn_flag in '' yes
7807 # Use a header file that comes with gcc, so configuring glibc
7808 # with a fresh cross-compiler works.
7809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7810 # <limits.h> exists even on freestanding compilers.
7811 # On the NeXT, cc -E runs the code through the compiler's parser,
7812 # not just through cpp. "Syntax error" is here to catch this case.
7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7816 # include <limits.h>
7818 # include <assert.h>
7822 if ac_fn_c_try_cpp "$LINENO"; then :
7825 # Broken: fails on valid input.
7828 rm -f conftest.err conftest.i conftest.$ac_ext
7830 # OK, works on sane cases. Now check whether nonexistent headers
7831 # can be detected and how.
7832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7834 #include <ac_nonexistent.h>
7836 if ac_fn_c_try_cpp "$LINENO"; then :
7837 # Broken: success on invalid input.
7840 # Passes both tests.
7844 rm -f conftest.err conftest.i conftest.$ac_ext
7847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7848 rm -f conftest.i conftest.err conftest.$ac_ext
7849 if $ac_preproc_ok; then :
7852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7854 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7855 See \`config.log' for more details" "$LINENO" 5; }
7859 ac_cpp='$CPP $CPPFLAGS'
7860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7866 $as_echo_n "checking for ANSI C header files... " >&6; }
7867 if ${ac_cv_header_stdc+:} false; then :
7868 $as_echo_n "(cached) " >&6
7870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7885 if ac_fn_c_try_compile "$LINENO"; then :
7886 ac_cv_header_stdc=yes
7888 ac_cv_header_stdc=no
7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7892 if test $ac_cv_header_stdc = yes; then
7893 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7895 /* end confdefs.h. */
7899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7900 $EGREP "memchr" >/dev/null 2>&1; then :
7903 ac_cv_header_stdc=no
7909 if test $ac_cv_header_stdc = yes; then
7910 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "free" >/dev/null 2>&1; then :
7920 ac_cv_header_stdc=no
7926 if test $ac_cv_header_stdc = yes; then
7927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7928 if test "$cross_compiling" = yes; then :
7931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7935 #if ((' ' & 0x0FF) == 0x020)
7936 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7937 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7939 # define ISLOWER(c) \
7940 (('a' <= (c) && (c) <= 'i') \
7941 || ('j' <= (c) && (c) <= 'r') \
7942 || ('s' <= (c) && (c) <= 'z'))
7943 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7946 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 for (i = 0; i < 256; i++)
7952 if (XOR (islower (i), ISLOWER (i))
7953 || toupper (i) != TOUPPER (i))
7958 if ac_fn_c_try_run "$LINENO"; then :
7961 ac_cv_header_stdc=no
7963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7964 conftest.$ac_objext conftest.beam conftest.$ac_ext
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7970 $as_echo "$ac_cv_header_stdc" >&6; }
7971 if test $ac_cv_header_stdc = yes; then
7973 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7977 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7978 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7979 inttypes.h stdint.h unistd.h
7981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7982 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7984 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7985 cat >>confdefs.h <<_ACEOF
7986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7994 for ac_header in dlfcn.h
7996 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7998 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7999 cat >>confdefs.h <<_ACEOF
8000 #define HAVE_DLFCN_H 1
8019 # Check whether --enable-shared was given.
8020 if test "${enable_shared+set}" = set; then :
8021 enableval=$enable_shared; p=${PACKAGE-default}
8023 yes) enable_shared=yes ;;
8024 no) enable_shared=no ;;
8027 # Look at the argument we got. We use all the common list separators.
8028 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8029 for pkg in $enableval; do
8031 if test "X$pkg" = "X$p"; then
8050 # Check whether --enable-static was given.
8051 if test "${enable_static+set}" = set; then :
8052 enableval=$enable_static; p=${PACKAGE-default}
8054 yes) enable_static=yes ;;
8055 no) enable_static=no ;;
8058 # Look at the argument we got. We use all the common list separators.
8059 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8060 for pkg in $enableval; do
8062 if test "X$pkg" = "X$p"; then
8082 # Check whether --with-pic was given.
8083 if test "${with_pic+set}" = set; then :
8084 withval=$with_pic; lt_p=${PACKAGE-default}
8086 yes|no) pic_mode=$withval ;;
8089 # Look at the argument we got. We use all the common list separators.
8090 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8091 for lt_pkg in $withval; do
8093 if test "X$lt_pkg" = "X$lt_p"; then
8105 test -z "$pic_mode" && pic_mode=default
8113 # Check whether --enable-fast-install was given.
8114 if test "${enable_fast_install+set}" = set; then :
8115 enableval=$enable_fast_install; p=${PACKAGE-default}
8117 yes) enable_fast_install=yes ;;
8118 no) enable_fast_install=no ;;
8120 enable_fast_install=no
8121 # Look at the argument we got. We use all the common list separators.
8122 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8123 for pkg in $enableval; do
8125 if test "X$pkg" = "X$p"; then
8126 enable_fast_install=yes
8133 enable_fast_install=yes
8146 # This can be used to rebuild libtool when needed
8147 LIBTOOL_DEPS="$ltmain"
8149 # Always use our own libtool.
8150 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8181 test -z "$LN_S" && LN_S="ln -s"
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if ${lt_cv_objdir+:} false; then :
8203 $as_echo_n "(cached) " >&6
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8210 # MS-DOS does not allow filenames that begin with a dot.
8213 rmdir .libs 2>/dev/null
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8237 export COLLECT_NAMES
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8281 $as_echo_n "(cached) " >&6
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8347 $as_echo_n "(cached) " >&6
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8414 # Use C for the default configuration in the libtool script
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8427 # Object file extension for compiled C test sources.
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8489 $as_echo_n "(cached) " >&6
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8542 if test "$GCC" = yes; then
8543 lt_prog_compiler_wl='-Wl,'
8544 lt_prog_compiler_static='-static'
8548 # All AIX code is PIC.
8549 if test "$host_cpu" = ia64; then
8550 # AIX 5 now supports IA64 processor
8551 lt_prog_compiler_static='-Bstatic'
8558 # see comment about AmigaOS4 .so support
8559 lt_prog_compiler_pic='-fPIC'
8562 # FIXME: we need at least 68020 code to build shared libraries, but
8563 # adding the `-m68020' flag to GCC prevents building anything better,
8565 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8570 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8571 # PIC is the default for these OSes.
8574 mingw* | cygwin* | pw32* | os2* | cegcc*)
8575 # This hack is so that the source file can tell whether it is being
8576 # built for inclusion in a dll (and should export symbols for example).
8577 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8578 # (--disable-auto-import) libraries
8579 lt_prog_compiler_pic='-DDLL_EXPORT'
8582 darwin* | rhapsody*)
8583 # PIC is the default on this platform
8584 # Common symbols not allowed in MH_DYLIB files
8585 lt_prog_compiler_pic='-fno-common'
8589 # PIC is the default for Haiku.
8590 # The "-static" flag exists, but is broken.
8591 lt_prog_compiler_static=
8595 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8596 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8597 # sets the default TLS model and affects inlining.
8603 lt_prog_compiler_pic='-fPIC'
8609 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8610 # Instead, we relocate shared libraries at runtime.
8614 # Just because we use GCC doesn't mean we suddenly get shared libraries
8615 # on systems that don't support them.
8616 lt_prog_compiler_can_build_shared=no
8621 # QNX uses GNU C++, but need to define -shared option too, otherwise
8623 lt_prog_compiler_pic='-fPIC -shared'
8627 if test -d /usr/nec; then
8628 lt_prog_compiler_pic=-Kconform_pic
8633 lt_prog_compiler_pic='-fPIC'
8637 case $cc_basename in
8638 nvcc*) # Cuda Compiler Driver 2.2
8639 lt_prog_compiler_wl='-Xlinker '
8640 if test -n "$lt_prog_compiler_pic"; then
8641 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8646 # PORTME Check for flag to pass linker flags through the system compiler.
8649 lt_prog_compiler_wl='-Wl,'
8650 if test "$host_cpu" = ia64; then
8651 # AIX 5 now supports IA64 processor
8652 lt_prog_compiler_static='-Bstatic'
8654 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8658 mingw* | cygwin* | pw32* | os2* | cegcc*)
8659 # This hack is so that the source file can tell whether it is being
8660 # built for inclusion in a dll (and should export symbols for example).
8661 lt_prog_compiler_pic='-DDLL_EXPORT'
8664 hpux9* | hpux10* | hpux11*)
8665 lt_prog_compiler_wl='-Wl,'
8666 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8673 lt_prog_compiler_pic='+Z'
8676 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8677 lt_prog_compiler_static='${wl}-a ${wl}archive'
8680 irix5* | irix6* | nonstopux*)
8681 lt_prog_compiler_wl='-Wl,'
8682 # PIC (with -KPIC) is the default.
8683 lt_prog_compiler_static='-non_shared'
8686 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8687 case $cc_basename in
8688 # old Intel for x86_64 which still supported -KPIC.
8690 lt_prog_compiler_wl='-Wl,'
8691 lt_prog_compiler_pic='-KPIC'
8692 lt_prog_compiler_static='-static'
8694 # icc used to be incompatible with GCC.
8695 # ICC 10 doesn't accept -KPIC any more.
8697 lt_prog_compiler_wl='-Wl,'
8698 lt_prog_compiler_pic='-fPIC'
8699 lt_prog_compiler_static='-static'
8701 # Lahey Fortran 8.1.
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='--shared'
8705 lt_prog_compiler_static='--static'
8708 # NAG Fortran compiler
8709 lt_prog_compiler_wl='-Wl,-Wl,,'
8710 lt_prog_compiler_pic='-PIC'
8711 lt_prog_compiler_static='-Bstatic'
8713 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-fpic'
8718 lt_prog_compiler_static='-Bstatic'
8721 lt_prog_compiler_wl='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static='-non_shared'
8725 xl* | bgxl* | bgf* | mpixl*)
8726 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-qpic'
8729 lt_prog_compiler_static='-qstaticlink'
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8734 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_wl=''
8739 *Sun\ F* | *Sun*Fortran*)
8740 lt_prog_compiler_pic='-KPIC'
8741 lt_prog_compiler_static='-Bstatic'
8742 lt_prog_compiler_wl='-Qoption ld '
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8748 lt_prog_compiler_wl='-Wl,'
8750 *Intel*\ [CF]*Compiler*)
8751 lt_prog_compiler_wl='-Wl,'
8752 lt_prog_compiler_pic='-fPIC'
8753 lt_prog_compiler_static='-static'
8756 lt_prog_compiler_wl='-Wl,'
8757 lt_prog_compiler_pic='-fpic'
8758 lt_prog_compiler_static='-Bstatic'
8766 lt_prog_compiler_pic='-KPIC'
8767 lt_prog_compiler_static='-Bstatic'
8771 # QNX uses GNU C++, but need to define -shared option too, otherwise
8773 lt_prog_compiler_pic='-fPIC -shared'
8776 osf3* | osf4* | osf5*)
8777 lt_prog_compiler_wl='-Wl,'
8778 # All OSF/1 code is PIC.
8779 lt_prog_compiler_static='-non_shared'
8783 lt_prog_compiler_static='-non_shared'
8787 lt_prog_compiler_pic='-KPIC'
8788 lt_prog_compiler_static='-Bstatic'
8789 case $cc_basename in
8790 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8791 lt_prog_compiler_wl='-Qoption ld ';;
8793 lt_prog_compiler_wl='-Wl,';;
8798 lt_prog_compiler_wl='-Qoption ld '
8799 lt_prog_compiler_pic='-PIC'
8800 lt_prog_compiler_static='-Bstatic'
8803 sysv4 | sysv4.2uw2* | sysv4.3*)
8804 lt_prog_compiler_wl='-Wl,'
8805 lt_prog_compiler_pic='-KPIC'
8806 lt_prog_compiler_static='-Bstatic'
8810 if test -d /usr/nec ;then
8811 lt_prog_compiler_pic='-Kconform_pic'
8812 lt_prog_compiler_static='-Bstatic'
8816 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8817 lt_prog_compiler_wl='-Wl,'
8818 lt_prog_compiler_pic='-KPIC'
8819 lt_prog_compiler_static='-Bstatic'
8823 lt_prog_compiler_wl='-Wl,'
8824 lt_prog_compiler_can_build_shared=no
8828 lt_prog_compiler_pic='-pic'
8829 lt_prog_compiler_static='-Bstatic'
8833 lt_prog_compiler_can_build_shared=no
8839 # For platforms which do not support PIC, -DPIC is meaningless:
8841 lt_prog_compiler_pic=
8844 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8849 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8850 if ${lt_cv_prog_compiler_pic+:} false; then :
8851 $as_echo_n "(cached) " >&6
8853 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8856 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8857 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8860 # Check to make sure the PIC flag actually works.
8862 if test -n "$lt_prog_compiler_pic"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8864 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8865 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8866 $as_echo_n "(cached) " >&6
8868 lt_cv_prog_compiler_pic_works=no
8869 ac_outfile=conftest.$ac_objext
8870 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8871 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8872 # Insert the option either (1) after the last *FLAGS variable, or
8873 # (2) before a word containing "conftest.", or (3) at the end.
8874 # Note that $ac_compile itself does not contain backslashes and begins
8875 # with a dollar sign (not a hyphen), so the echo should work correctly.
8876 # The option is referenced via a variable to avoid confusing sed.
8877 lt_compile=`echo "$ac_compile" | $SED \
8878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8880 -e 's:$: $lt_compiler_flag:'`
8881 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8882 (eval "$lt_compile" 2>conftest.err)
8884 cat conftest.err >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 if (exit $ac_status) && test -s "$ac_outfile"; then
8887 # The compiler can only warn and ignore the option if not recognized
8888 # So say no if there are warnings other than the usual output.
8889 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8890 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8891 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8892 lt_cv_prog_compiler_pic_works=yes
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8899 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8901 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8902 case $lt_prog_compiler_pic in
8904 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8907 lt_prog_compiler_pic=
8908 lt_prog_compiler_can_build_shared=no
8924 # Check to make sure the static flag actually works.
8926 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8928 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8929 if ${lt_cv_prog_compiler_static_works+:} false; then :
8930 $as_echo_n "(cached) " >&6
8932 lt_cv_prog_compiler_static_works=no
8933 save_LDFLAGS="$LDFLAGS"
8934 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8935 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8936 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8937 # The linker can only warn and ignore the option if not recognized
8938 # So say no if there are warnings
8939 if test -s conftest.err; then
8940 # Append any errors to the config.log.
8941 cat conftest.err 1>&5
8942 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8943 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8944 if diff conftest.exp conftest.er2 >/dev/null; then
8945 lt_cv_prog_compiler_static_works=yes
8948 lt_cv_prog_compiler_static_works=yes
8952 LDFLAGS="$save_LDFLAGS"
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8956 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8958 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8961 lt_prog_compiler_static=
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8971 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8972 if ${lt_cv_prog_compiler_c_o+:} false; then :
8973 $as_echo_n "(cached) " >&6
8975 lt_cv_prog_compiler_c_o=no
8976 $RM -r conftest 2>/dev/null
8980 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8982 lt_compiler_flag="-o out/conftest2.$ac_objext"
8983 # Insert the option either (1) after the last *FLAGS variable, or
8984 # (2) before a word containing "conftest.", or (3) at the end.
8985 # Note that $ac_compile itself does not contain backslashes and begins
8986 # with a dollar sign (not a hyphen), so the echo should work correctly.
8987 lt_compile=`echo "$ac_compile" | $SED \
8988 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8990 -e 's:$: $lt_compiler_flag:'`
8991 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8992 (eval "$lt_compile" 2>out/conftest.err)
8994 cat out/conftest.err >&5
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8998 # The compiler can only warn and ignore the option if not recognized
8999 # So say no if there are warnings
9000 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9001 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9002 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9003 lt_cv_prog_compiler_c_o=yes
9008 # SGI C++ compiler will create directory out/ii_files/ for
9009 # template instantiation
9010 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9011 $RM out/* && rmdir out
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9018 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9026 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9027 if ${lt_cv_prog_compiler_c_o+:} false; then :
9028 $as_echo_n "(cached) " >&6
9030 lt_cv_prog_compiler_c_o=no
9031 $RM -r conftest 2>/dev/null
9035 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9037 lt_compiler_flag="-o out/conftest2.$ac_objext"
9038 # Insert the option either (1) after the last *FLAGS variable, or
9039 # (2) before a word containing "conftest.", or (3) at the end.
9040 # Note that $ac_compile itself does not contain backslashes and begins
9041 # with a dollar sign (not a hyphen), so the echo should work correctly.
9042 lt_compile=`echo "$ac_compile" | $SED \
9043 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9045 -e 's:$: $lt_compiler_flag:'`
9046 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9047 (eval "$lt_compile" 2>out/conftest.err)
9049 cat out/conftest.err >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9053 # The compiler can only warn and ignore the option if not recognized
9054 # So say no if there are warnings
9055 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9056 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9057 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9058 lt_cv_prog_compiler_c_o=yes
9063 # SGI C++ compiler will create directory out/ii_files/ for
9064 # template instantiation
9065 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9066 $RM out/* && rmdir out
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9073 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9078 hard_links="nottested"
9079 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9080 # do not overwrite the value of need_locks provided by the user
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9082 $as_echo_n "checking if we can lock with hard links... " >&6; }
9085 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9087 ln conftest.a conftest.b 2>&5 || hard_links=no
9088 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9090 $as_echo "$hard_links" >&6; }
9091 if test "$hard_links" = no; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9093 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9106 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9109 allow_undefined_flag=
9110 always_export_symbols=no
9112 archive_expsym_cmds=
9113 compiler_needs_object=no
9114 enable_shared_with_static_runtimes=no
9115 export_dynamic_flag_spec=
9116 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9117 hardcode_automatic=no
9119 hardcode_direct_absolute=no
9120 hardcode_libdir_flag_spec=
9121 hardcode_libdir_separator=
9123 hardcode_shlibpath_var=unsupported
9125 link_all_deplibs=unknown
9128 old_archive_from_new_cmds=
9129 old_archive_from_expsyms_cmds=
9130 thread_safe_flag_spec=
9131 whole_archive_flag_spec=
9132 # include_expsyms should be a list of space-separated symbols to be *always*
9133 # included in the symbol list
9135 # exclude_expsyms can be an extended regexp of symbols to exclude
9136 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9137 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9138 # as well as any symbol that contains `d'.
9139 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9140 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9141 # platforms (ab)use it in PIC code, but their linkers get confused if
9142 # the symbol is explicitly referenced. Since portable code cannot
9143 # rely on this symbol name, it's probably fine to never include it in
9144 # preloaded symbol tables.
9145 # Exclude shared library initialization/finalization symbols.
9146 extract_expsyms_cmds=
9149 cygwin* | mingw* | pw32* | cegcc*)
9150 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9151 # When not using gcc, we currently assume that we are using
9152 # Microsoft Visual C++.
9153 if test "$GCC" != yes; then
9158 # we just hope/assume this is gcc and not c89 (= MSVC++)
9168 # On some targets, GNU ld is compatible enough with the native linker
9169 # that we're better off using the native interface for both.
9170 lt_use_gnu_ld_interface=no
9171 if test "$with_gnu_ld" = yes; then
9174 # The AIX port of GNU ld has always aspired to compatibility
9175 # with the native linker. However, as the warning in the GNU ld
9176 # block says, versions before 2.19.5* couldn't really create working
9177 # shared libraries, regardless of the interface used.
9178 case `$LD -v 2>&1` in
9179 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9180 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9181 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9183 lt_use_gnu_ld_interface=yes
9188 lt_use_gnu_ld_interface=yes
9193 if test "$lt_use_gnu_ld_interface" = yes; then
9194 # If archive_cmds runs LD, not CC, wlarc should be empty
9197 # Set some defaults for GNU ld with shared library support. These
9198 # are reset later if shared libraries are not supported. Putting them
9199 # here allows them to be overridden if necessary.
9200 runpath_var=LD_RUN_PATH
9201 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9202 export_dynamic_flag_spec='${wl}--export-dynamic'
9203 # ancient GNU ld didn't support --whole-archive et. al.
9204 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9205 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9207 whole_archive_flag_spec=
9209 supports_anon_versioning=no
9210 case `$LD -v 2>&1` in
9211 *GNU\ gold*) supports_anon_versioning=yes ;;
9212 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9213 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9214 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9215 *\ 2.11.*) ;; # other 2.11 versions
9216 *) supports_anon_versioning=yes ;;
9219 # See if GNU ld supports shared libraries.
9222 # On AIX/PPC, the GNU linker is very broken
9223 if test "$host_cpu" != ia64; then
9227 *** Warning: the GNU linker, at least up to release 2.19, is reported
9228 *** to be unable to reliably create shared libraries on AIX.
9229 *** Therefore, libtool is disabling shared libraries support. If you
9230 *** really care for shared libraries, you may want to install binutils
9231 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9232 *** You will then need to restart the configuration process.
9241 # see comment about AmigaOS4 .so support
9242 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9243 archive_expsym_cmds=''
9246 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)'
9247 hardcode_libdir_flag_spec='-L$libdir'
9248 hardcode_minus_L=yes
9254 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9255 allow_undefined_flag=unsupported
9256 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9257 # support --undefined. This deserves some investigation. FIXME
9258 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 cygwin* | mingw* | pw32* | cegcc*)
9265 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9266 # as there is no search path for DLLs.
9267 hardcode_libdir_flag_spec='-L$libdir'
9268 export_dynamic_flag_spec='${wl}--export-all-symbols'
9269 allow_undefined_flag=unsupported
9270 always_export_symbols=no
9271 enable_shared_with_static_runtimes=yes
9272 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9273 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9275 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9276 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9277 # If the export-symbols file already is a .def file (1st line
9278 # is EXPORTS), use it as is; otherwise, prepend...
9279 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9280 cp $export_symbols $output_objdir/$soname.def;
9282 echo EXPORTS > $output_objdir/$soname.def;
9283 cat $export_symbols >> $output_objdir/$soname.def;
9285 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9292 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9293 link_all_deplibs=yes
9298 hardcode_shlibpath_var=no
9299 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9300 export_dynamic_flag_spec='${wl}-E'
9301 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9302 # Instead, shared libraries are loaded at an image base (0x10000000 by
9303 # default) and relocated if they conflict, which is a slow very memory
9304 # consuming and fragmenting process. To avoid this, we pick a random,
9305 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9306 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9307 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9308 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'
9311 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9313 if test "$host_os" = linux-dietlibc; then
9314 case $cc_basename in
9315 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9318 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9319 && test "$tmp_diet" = no
9321 tmp_addflag=' $pic_flag'
9322 tmp_sharedflag='-shared'
9323 case $cc_basename,$host_cpu in
9324 pgcc*) # Portland Group C compiler
9325 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9326 tmp_addflag=' $pic_flag'
9328 pgf77* | pgf90* | pgf95* | pgfortran*)
9329 # Portland Group f77 and f90 compilers
9330 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9331 tmp_addflag=' $pic_flag -Mnomain' ;;
9332 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9333 tmp_addflag=' -i_dynamic' ;;
9334 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9335 tmp_addflag=' -i_dynamic -nofor_main' ;;
9336 ifc* | ifort*) # Intel Fortran compiler
9337 tmp_addflag=' -nofor_main' ;;
9338 lf95*) # Lahey Fortran 8.1
9339 whole_archive_flag_spec=
9340 tmp_sharedflag='--shared' ;;
9341 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9342 tmp_sharedflag='-qmkshrobj'
9344 nvcc*) # Cuda Compiler Driver 2.2
9345 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9346 compiler_needs_object=yes
9349 case `$CC -V 2>&1 | sed 5q` in
9350 *Sun\ C*) # Sun C 5.9
9351 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9352 compiler_needs_object=yes
9353 tmp_sharedflag='-G' ;;
9354 *Sun\ F*) # Sun Fortran 8.3
9355 tmp_sharedflag='-G' ;;
9357 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 if test "x$supports_anon_versioning" = xyes; then
9360 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9361 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9362 echo "local: *; };" >> $output_objdir/$libname.ver~
9363 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9366 case $cc_basename in
9367 xlf* | bgf* | bgxlf* | mpixlf*)
9368 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9369 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9370 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9371 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9372 if test "x$supports_anon_versioning" = xyes; then
9373 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9374 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9375 echo "local: *; };" >> $output_objdir/$libname.ver~
9376 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9386 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9387 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9390 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9400 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9401 *** create shared libraries on Solaris systems. Therefore, libtool
9402 *** is disabling shared libraries support. We urge you to upgrade GNU
9403 *** binutils to release 2.9.1 or newer. Another option is to modify
9404 *** your PATH or compiler configuration so that the native linker is
9405 *** used, and then restart.
9408 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9417 case `$LD -v 2>&1` in
9418 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9422 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9423 *** reliably create shared libraries on SCO systems. Therefore, libtool
9424 *** is disabling shared libraries support. We urge you to upgrade GNU
9425 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9426 *** your PATH or compiler configuration so that the native linker is
9427 *** used, and then restart.
9432 # For security reasons, it is highly recommended that you always
9433 # use absolute paths for naming shared libraries, and exclude the
9434 # DT_RUNPATH tag from executables and libraries. But doing so
9435 # requires that you compile everything twice, which is a pain.
9436 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9437 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9438 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9439 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9448 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9451 hardcode_shlibpath_var=no
9455 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9456 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9457 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9464 if test "$ld_shlibs" = no; then
9466 hardcode_libdir_flag_spec=
9467 export_dynamic_flag_spec=
9468 whole_archive_flag_spec=
9471 # PORTME fill in a description of your system's linker (not GNU ld)
9474 allow_undefined_flag=unsupported
9475 always_export_symbols=yes
9476 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'
9477 # Note: this linker hardcodes the directories in LIBPATH if there
9478 # are no directories specified by -L.
9479 hardcode_minus_L=yes
9480 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9481 # Neither direct hardcoding nor static linking is supported with a
9483 hardcode_direct=unsupported
9488 if test "$host_cpu" = ia64; then
9489 # On IA64, the linker does run time linking by default, so we don't
9490 # have to do anything special.
9491 aix_use_runtimelinking=no
9492 exp_sym_flag='-Bexport'
9495 # If we're using GNU nm, then we don't want the "-C" option.
9496 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9497 # Also, AIX nm treats weak defined symbols like other global
9498 # defined symbols, whereas GNU nm marks them as "W".
9499 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9500 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9502 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'
9504 aix_use_runtimelinking=no
9506 # Test if we are trying to use run time linking or normal
9507 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9508 # need to do runtime linking.
9509 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9510 for ld_flag in $LDFLAGS; do
9511 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9512 aix_use_runtimelinking=yes
9519 exp_sym_flag='-bexport'
9520 no_entry_flag='-bnoentry'
9523 # When large executables or shared objects are built, AIX ld can
9524 # have problems creating the table of contents. If linking a library
9525 # or program results in "error TOC overflow" add -mminimal-toc to
9526 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9527 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9531 hardcode_direct_absolute=yes
9532 hardcode_libdir_separator=':'
9533 link_all_deplibs=yes
9534 file_list_spec='${wl}-f,'
9536 if test "$GCC" = yes; then
9537 case $host_os in aix4.[012]|aix4.[012].*)
9538 # We only want to do this on AIX 4.2 and lower, the check
9539 # below for broken collect2 doesn't work under 4.3+
9540 collect2name=`${CC} -print-prog-name=collect2`
9541 if test -f "$collect2name" &&
9542 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9544 # We have reworked collect2
9547 # We have old collect2
9548 hardcode_direct=unsupported
9549 # It fails to find uninstalled libraries when the uninstalled
9550 # path is not listed in the libpath. Setting hardcode_minus_L
9551 # to unsupported forces relinking
9552 hardcode_minus_L=yes
9553 hardcode_libdir_flag_spec='-L$libdir'
9554 hardcode_libdir_separator=
9558 shared_flag='-shared'
9559 if test "$aix_use_runtimelinking" = yes; then
9560 shared_flag="$shared_flag "'${wl}-G'
9564 if test "$host_cpu" = ia64; then
9565 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9566 # chokes on -Wl,-G. The following line is correct:
9569 if test "$aix_use_runtimelinking" = yes; then
9570 shared_flag='${wl}-G'
9572 shared_flag='${wl}-bM:SRE'
9577 export_dynamic_flag_spec='${wl}-bexpall'
9578 # It seems that -bexpall does not export symbols beginning with
9579 # underscore (_), so it is better to generate a list of symbols to export.
9580 always_export_symbols=yes
9581 if test "$aix_use_runtimelinking" = yes; then
9582 # Warning - without using the other runtime loading flags (-brtl),
9583 # -berok will link without error, but may produce a broken library.
9584 allow_undefined_flag='-berok'
9585 # Determine the default libpath from the value encoded in an
9587 if test "${lt_cv_aix_libpath+set}" = set; then
9588 aix_libpath=$lt_cv_aix_libpath
9590 if ${lt_cv_aix_libpath_+:} false; then :
9591 $as_echo_n "(cached) " >&6
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9604 if ac_fn_c_try_link "$LINENO"; then :
9606 lt_aix_libpath_sed='
9607 /Import File Strings/,/^$/ {
9609 s/^0 *\([^ ]*\) *$/\1/
9613 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9614 # Check for a 64-bit object if we didn't find anything.
9615 if test -z "$lt_cv_aix_libpath_"; then
9616 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 if test -z "$lt_cv_aix_libpath_"; then
9622 lt_cv_aix_libpath_="/usr/lib:/lib"
9627 aix_libpath=$lt_cv_aix_libpath_
9630 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9631 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9633 if test "$host_cpu" = ia64; then
9634 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9635 allow_undefined_flag="-z nodefs"
9636 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"
9638 # Determine the default libpath from the value encoded in an
9640 if test "${lt_cv_aix_libpath+set}" = set; then
9641 aix_libpath=$lt_cv_aix_libpath
9643 if ${lt_cv_aix_libpath_+:} false; then :
9644 $as_echo_n "(cached) " >&6
9646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9657 if ac_fn_c_try_link "$LINENO"; then :
9659 lt_aix_libpath_sed='
9660 /Import File Strings/,/^$/ {
9662 s/^0 *\([^ ]*\) *$/\1/
9666 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9667 # Check for a 64-bit object if we didn't find anything.
9668 if test -z "$lt_cv_aix_libpath_"; then
9669 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9672 rm -f core conftest.err conftest.$ac_objext \
9673 conftest$ac_exeext conftest.$ac_ext
9674 if test -z "$lt_cv_aix_libpath_"; then
9675 lt_cv_aix_libpath_="/usr/lib:/lib"
9680 aix_libpath=$lt_cv_aix_libpath_
9683 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9684 # Warning - without using the other run time loading flags,
9685 # -berok will link without error, but may produce a broken library.
9686 no_undefined_flag=' ${wl}-bernotok'
9687 allow_undefined_flag=' ${wl}-berok'
9688 if test "$with_gnu_ld" = yes; then
9689 # We only use this code for GNU lds that support --whole-archive.
9690 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9692 # Exported symbols can be pulled into shared objects from archives
9693 whole_archive_flag_spec='$convenience'
9695 archive_cmds_need_lc=yes
9696 # This is similar to how AIX traditionally builds its shared libraries.
9697 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'
9705 # see comment about AmigaOS4 .so support
9706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9707 archive_expsym_cmds=''
9710 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)'
9711 hardcode_libdir_flag_spec='-L$libdir'
9712 hardcode_minus_L=yes
9718 export_dynamic_flag_spec=-rdynamic
9721 cygwin* | mingw* | pw32* | cegcc*)
9722 # When not using gcc, we currently assume that we are using
9723 # Microsoft Visual C++.
9724 # hardcode_libdir_flag_spec is actually meaningless, as there is
9725 # no search path for DLLs.
9726 case $cc_basename in
9729 hardcode_libdir_flag_spec=' '
9730 allow_undefined_flag=unsupported
9731 always_export_symbols=yes
9733 # Tell ltmain to make .lib files, not .a files.
9735 # Tell ltmain to make .dll files, not .so files.
9737 # FIXME: Setting linknames here is a bad hack.
9738 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9739 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9740 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9742 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9744 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9746 # The linker will not automatically build a static lib if we build a DLL.
9747 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9748 enable_shared_with_static_runtimes=yes
9749 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9750 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9752 old_postinstall_cmds='chmod 644 $oldlib'
9753 postlink_cmds='lt_outputfile="@OUTPUT@"~
9754 lt_tool_outputfile="@TOOL_OUTPUT@"~
9755 case $lt_outputfile in
9758 lt_outputfile="$lt_outputfile.exe"
9759 lt_tool_outputfile="$lt_tool_outputfile.exe"
9762 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9763 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9764 $RM "$lt_outputfile.manifest";
9768 # Assume MSVC wrapper
9769 hardcode_libdir_flag_spec=' '
9770 allow_undefined_flag=unsupported
9771 # Tell ltmain to make .lib files, not .a files.
9773 # Tell ltmain to make .dll files, not .so files.
9775 # FIXME: Setting linknames here is a bad hack.
9776 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9777 # The linker will automatically build a .lib file if we build a DLL.
9778 old_archive_from_new_cmds='true'
9779 # FIXME: Should let the user specify the lib program.
9780 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9781 enable_shared_with_static_runtimes=yes
9786 darwin* | rhapsody*)
9789 archive_cmds_need_lc=no
9791 hardcode_automatic=yes
9792 hardcode_shlibpath_var=unsupported
9793 if test "$lt_cv_ld_force_load" = "yes"; then
9794 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9797 whole_archive_flag_spec=''
9799 link_all_deplibs=yes
9800 allow_undefined_flag="$_lt_dar_allow_undefined"
9801 case $cc_basename in
9802 ifort*) _lt_dar_can_shared=yes ;;
9803 *) _lt_dar_can_shared=$GCC ;;
9805 if test "$_lt_dar_can_shared" = "yes"; then
9806 output_verbose_link_cmd=func_echo_all
9807 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9808 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9809 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}"
9810 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}"
9819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_libdir_flag_spec='-L$libdir'
9821 hardcode_shlibpath_var=no
9824 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9825 # support. Future versions do this automatically, but an explicit c++rt0.o
9826 # does not break anything, and helps significantly (at the cost of a little
9829 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9830 hardcode_libdir_flag_spec='-R$libdir'
9832 hardcode_shlibpath_var=no
9835 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9837 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_minus_L=yes
9840 hardcode_shlibpath_var=no
9843 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9844 freebsd* | dragonfly*)
9845 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9846 hardcode_libdir_flag_spec='-R$libdir'
9848 hardcode_shlibpath_var=no
9852 if test "$GCC" = yes; then
9853 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9855 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'
9857 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9858 hardcode_libdir_separator=:
9861 # hardcode_minus_L: Not really in the search PATH,
9862 # but as the default location of the library.
9863 hardcode_minus_L=yes
9864 export_dynamic_flag_spec='${wl}-E'
9868 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9869 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9873 if test "$with_gnu_ld" = no; then
9874 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9875 hardcode_libdir_separator=:
9877 hardcode_direct_absolute=yes
9878 export_dynamic_flag_spec='${wl}-E'
9879 # hardcode_minus_L: Not really in the search PATH,
9880 # but as the default location of the library.
9881 hardcode_minus_L=yes
9886 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9889 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9895 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9908 # Older versions of the 11.00 compiler do not understand -b yet
9909 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9911 $as_echo_n "checking if $CC understands -b... " >&6; }
9912 if ${lt_cv_prog_compiler__b+:} false; then :
9913 $as_echo_n "(cached) " >&6
9915 lt_cv_prog_compiler__b=no
9916 save_LDFLAGS="$LDFLAGS"
9917 LDFLAGS="$LDFLAGS -b"
9918 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9919 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9920 # The linker can only warn and ignore the option if not recognized
9921 # So say no if there are warnings
9922 if test -s conftest.err; then
9923 # Append any errors to the config.log.
9924 cat conftest.err 1>&5
9925 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9926 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9927 if diff conftest.exp conftest.er2 >/dev/null; then
9928 lt_cv_prog_compiler__b=yes
9931 lt_cv_prog_compiler__b=yes
9935 LDFLAGS="$save_LDFLAGS"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9939 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9941 if test x"$lt_cv_prog_compiler__b" = xyes; then
9942 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9950 if test "$with_gnu_ld" = no; then
9951 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9952 hardcode_libdir_separator=:
9957 hardcode_shlibpath_var=no
9961 hardcode_direct_absolute=yes
9962 export_dynamic_flag_spec='${wl}-E'
9964 # hardcode_minus_L: Not really in the search PATH,
9965 # but as the default location of the library.
9966 hardcode_minus_L=yes
9972 irix5* | irix6* | nonstopux*)
9973 if test "$GCC" = yes; then
9974 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9975 # Try to use the -exported_symbol ld option, if it does not
9976 # work, assume that -exports_file does not work either and
9977 # implicitly export all symbols.
9978 # This should be the same for all languages, so no per-tag cache variable.
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9980 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9981 if ${lt_cv_irix_exported_symbol+:} false; then :
9982 $as_echo_n "(cached) " >&6
9984 save_LDFLAGS="$LDFLAGS"
9985 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 int foo (void) { return 0; }
9990 if ac_fn_c_try_link "$LINENO"; then :
9991 lt_cv_irix_exported_symbol=yes
9993 lt_cv_irix_exported_symbol=no
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 LDFLAGS="$save_LDFLAGS"
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10000 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10001 if test "$lt_cv_irix_exported_symbol" = yes; then
10002 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10005 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10006 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10008 archive_cmds_need_lc='no'
10009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010 hardcode_libdir_separator=:
10012 link_all_deplibs=yes
10016 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10017 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10019 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10021 hardcode_libdir_flag_spec='-R$libdir'
10022 hardcode_direct=yes
10023 hardcode_shlibpath_var=no
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_direct=yes
10029 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10030 hardcode_libdir_separator=:
10031 hardcode_shlibpath_var=no
10038 if test -f /usr/libexec/ld.so; then
10039 hardcode_direct=yes
10040 hardcode_shlibpath_var=no
10041 hardcode_direct_absolute=yes
10042 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10043 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10045 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10046 export_dynamic_flag_spec='${wl}-E'
10049 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10050 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-R$libdir'
10054 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10055 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10065 hardcode_libdir_flag_spec='-L$libdir'
10066 hardcode_minus_L=yes
10067 allow_undefined_flag=unsupported
10068 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'
10069 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10073 if test "$GCC" = yes; then
10074 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10075 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10077 allow_undefined_flag=' -expect_unresolved \*'
10078 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10080 archive_cmds_need_lc='no'
10081 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10082 hardcode_libdir_separator=:
10085 osf4* | osf5*) # as osf3* with the addition of -msym flag
10086 if test "$GCC" = yes; then
10087 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10088 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10089 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10091 allow_undefined_flag=' -expect_unresolved \*'
10092 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10093 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~
10094 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10096 # Both c and cxx compiler support -rpath directly
10097 hardcode_libdir_flag_spec='-rpath $libdir'
10099 archive_cmds_need_lc='no'
10100 hardcode_libdir_separator=:
10104 no_undefined_flag=' -z defs'
10105 if test "$GCC" = yes; then
10107 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10109 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10111 case `$CC -V 2>&1` in
10114 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10115 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10116 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10120 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10122 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10126 hardcode_libdir_flag_spec='-R$libdir'
10127 hardcode_shlibpath_var=no
10129 solaris2.[0-5] | solaris2.[0-5].*) ;;
10131 # The compiler driver will combine and reorder linker options,
10132 # but understands `-z linker_flag'. GCC discards it without `$wl',
10133 # but is careful enough not to reorder.
10134 # Supported since Solaris 2.6 (maybe 2.5.1?)
10135 if test "$GCC" = yes; then
10136 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10138 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10142 link_all_deplibs=yes
10146 if test "x$host_vendor" = xsequent; then
10147 # Use $CC to link under sequent, because it throws in some extra .o
10148 # files that make .init and .fini sections work.
10149 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10151 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_libdir_flag_spec='-L$libdir'
10154 hardcode_direct=yes
10155 hardcode_minus_L=yes
10156 hardcode_shlibpath_var=no
10160 case $host_vendor in
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_direct=yes # is this really true???
10166 ## LD is ld it makes a PLAMLIB
10167 ## CC just makes a GrossModule.
10168 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10169 reload_cmds='$CC -r -o $output$reload_objs'
10173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10174 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10177 runpath_var='LD_RUN_PATH'
10178 hardcode_shlibpath_var=no
10182 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10183 hardcode_shlibpath_var=no
10184 export_dynamic_flag_spec='-Bexport'
10188 if test -d /usr/nec; then
10189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190 hardcode_shlibpath_var=no
10191 runpath_var=LD_RUN_PATH
10192 hardcode_runpath_var=yes
10197 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10198 no_undefined_flag='${wl}-z,text'
10199 archive_cmds_need_lc=no
10200 hardcode_shlibpath_var=no
10201 runpath_var='LD_RUN_PATH'
10203 if test "$GCC" = yes; then
10204 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 sysv5* | sco3.2v5* | sco5v6*)
10213 # Note: We can NOT use -z defs as we might desire, because we do not
10214 # link with -lc, and that would cause any symbols used from libc to
10215 # always be unresolved, which means just about no library would
10216 # ever link correctly. If we're not using GNU ld we use -z text
10217 # though, which does catch some bad symbols but isn't as heavy-handed
10219 no_undefined_flag='${wl}-z,text'
10220 allow_undefined_flag='${wl}-z,nodefs'
10221 archive_cmds_need_lc=no
10222 hardcode_shlibpath_var=no
10223 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10224 hardcode_libdir_separator=':'
10225 link_all_deplibs=yes
10226 export_dynamic_flag_spec='${wl}-Bexport'
10227 runpath_var='LD_RUN_PATH'
10229 if test "$GCC" = yes; then
10230 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_libdir_flag_spec='-L$libdir'
10241 hardcode_shlibpath_var=no
10249 if test x$host_vendor = xsni; then
10251 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10252 export_dynamic_flag_spec='${wl}-Blargedynsym'
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10259 $as_echo "$ld_shlibs" >&6; }
10260 test "$ld_shlibs" = no && can_build_shared=no
10262 with_gnu_ld=$with_gnu_ld
10279 # Do we need to explicitly link libc?
10281 case "x$archive_cmds_need_lc" in
10283 # Assume -lc should be added
10284 archive_cmds_need_lc=yes
10286 if test "$enable_shared" = yes && test "$GCC" = yes; then
10287 case $archive_cmds in
10289 # FIXME: we may have to deal with multi-command sequences.
10292 # Test whether the compiler implicitly links with -lc since on some
10293 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10294 # to ld, don't add -lc before -lgcc.
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10296 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10297 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10298 $as_echo_n "(cached) " >&6
10301 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10303 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10304 (eval $ac_compile) 2>&5
10306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10307 test $ac_status = 0; } 2>conftest.err; then
10310 libobjs=conftest.$ac_objext
10312 wl=$lt_prog_compiler_wl
10313 pic_flag=$lt_prog_compiler_pic
10319 lt_save_allow_undefined_flag=$allow_undefined_flag
10320 allow_undefined_flag=
10321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10322 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10325 test $ac_status = 0; }
10327 lt_cv_archive_cmds_need_lc=no
10329 lt_cv_archive_cmds_need_lc=yes
10331 allow_undefined_flag=$lt_save_allow_undefined_flag
10333 cat conftest.err 1>&5
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10339 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10340 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10499 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10501 if test "$GCC" = yes; then
10503 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10504 *) lt_awk_arg="/^libraries:/" ;;
10507 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10508 *) lt_sed_strip_eq="s,=/,/,g" ;;
10510 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10511 case $lt_search_path_spec in
10513 # if the path contains ";" then we assume it to be the separator
10514 # otherwise default to the standard path separator (i.e. ":") - it is
10515 # assumed that no part of a normal pathname contains ";" but that should
10516 # okay in the real world where ";" in dirpaths is itself problematic.
10517 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10520 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10523 # Ok, now we have the path, separated by spaces, we can step through it
10524 # and add multilib dir if necessary.
10525 lt_tmp_lt_search_path_spec=
10526 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10527 for lt_sys_path in $lt_search_path_spec; do
10528 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10529 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10531 test -d "$lt_sys_path" && \
10532 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10535 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10536 BEGIN {RS=" "; FS="/|\n";} {
10539 for (lt_i = NF; lt_i > 0; lt_i--) {
10540 if ($lt_i != "" && $lt_i != ".") {
10541 if ($lt_i == "..") {
10544 if (lt_count == 0) {
10545 lt_foo="/" $lt_i lt_foo;
10552 if (lt_foo != "") { lt_freq[lt_foo]++; }
10553 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10555 # AWK program above erroneously prepends '/' to C:/dos/paths
10558 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10559 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10561 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10563 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10565 library_names_spec=
10566 libname_spec='lib$name'
10570 postuninstall_cmds=
10574 shlibpath_overrides_runpath=unknown
10576 dynamic_linker="$host_os ld.so"
10577 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10578 need_lib_prefix=unknown
10579 hardcode_into_libs=no
10581 # when you set need_version to no, make sure it does not cause -set_version
10582 # flags to be left without arguments
10583 need_version=unknown
10587 version_type=linux # correct to gnu/linux during the next big refactor
10588 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10589 shlibpath_var=LIBPATH
10591 # AIX 3 has no versioning support, so we append a major version to the name.
10592 soname_spec='${libname}${release}${shared_ext}$major'
10596 version_type=linux # correct to gnu/linux during the next big refactor
10599 hardcode_into_libs=yes
10600 if test "$host_cpu" = ia64; then
10601 # AIX 5 supports IA64
10602 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10603 shlibpath_var=LD_LIBRARY_PATH
10605 # With GCC up to 2.95.x, collect2 would create an import file
10606 # for dependence libraries. The import file would start with
10607 # the line `#! .'. This would cause the generated library to
10608 # depend on `.', always an invalid library. This was fixed in
10609 # development snapshots of GCC prior to 3.0.
10611 aix4 | aix4.[01] | aix4.[01].*)
10612 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10614 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10617 can_build_shared=no
10621 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10622 # soname into executable. Probably we can add versioning support to
10623 # collect2, so additional links can be useful in future.
10624 if test "$aix_use_runtimelinking" = yes; then
10625 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10626 # instead of lib<name>.a to let people know that these are not
10627 # typical AIX shared libraries.
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 # We preserve .a as extension for shared libraries through AIX4.2
10631 # and later when we are not doing run time linking.
10632 library_names_spec='${libname}${release}.a $libname.a'
10633 soname_spec='${libname}${release}${shared_ext}$major'
10635 shlibpath_var=LIBPATH
10642 # Since July 2007 AmigaOS4 officially supports .so libraries.
10643 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 library_names_spec='$libname.ixlibrary $libname.a'
10648 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10649 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10655 library_names_spec='${libname}${shared_ext}'
10656 dynamic_linker="$host_os ld.so"
10657 shlibpath_var=LIBRARY_PATH
10661 version_type=linux # correct to gnu/linux during the next big refactor
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10666 shlibpath_var=LD_LIBRARY_PATH
10667 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10668 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10669 # the default ld.so.conf also contains /usr/contrib/lib and
10670 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10671 # libtool to hard-code these into programs
10674 cygwin* | mingw* | pw32* | cegcc*)
10675 version_type=windows
10680 case $GCC,$cc_basename in
10683 library_names_spec='$libname.dll.a'
10684 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10685 postinstall_cmds='base_file=`basename \${file}`~
10686 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10687 dldir=$destdir/`dirname \$dlpath`~
10688 test -d \$dldir || mkdir -p \$dldir~
10689 $install_prog $dir/$dlname \$dldir/$dlname~
10690 chmod a+x \$dldir/$dlname~
10691 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10692 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10694 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10695 dlpath=$dir/\$dldll~
10697 shlibpath_overrides_runpath=yes
10701 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10702 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10704 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10707 # MinGW DLLs use traditional 'lib' prefix
10708 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10711 # pw32 DLLs use 'pw' prefix rather than 'lib'
10712 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10715 dynamic_linker='Win32 ld.exe'
10720 libname_spec='$name'
10721 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10722 library_names_spec='${libname}.dll.lib'
10726 sys_lib_search_path_spec=
10729 for lt_path in $LIB
10732 # Let DOS variable expansion print the short 8.3 style file name.
10733 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10734 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10737 # Convert to MSYS style.
10738 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10741 # Convert to unix form, then to dos form, then back to unix form
10742 # but this time dos style (no spaces!) so that the unix form looks
10743 # like /cygdrive/c/PROGRA~1:/cygdr...
10744 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10745 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10746 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10749 sys_lib_search_path_spec="$LIB"
10750 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10751 # It is most probably a Windows format PATH.
10752 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10754 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10756 # FIXME: find the short name or the path components, as spaces are
10757 # common. (e.g. "Program Files" -> "PROGRA~1")
10761 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10762 postinstall_cmds='base_file=`basename \${file}`~
10763 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10764 dldir=$destdir/`dirname \$dlpath`~
10765 test -d \$dldir || mkdir -p \$dldir~
10766 $install_prog $dir/$dlname \$dldir/$dlname'
10767 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10768 dlpath=$dir/\$dldll~
10770 shlibpath_overrides_runpath=yes
10771 dynamic_linker='Win32 link.exe'
10775 # Assume MSVC wrapper
10776 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10777 dynamic_linker='Win32 ld.exe'
10780 # FIXME: first we should search . and the directory the executable is in
10784 darwin* | rhapsody*)
10785 dynamic_linker="$host_os dyld"
10786 version_type=darwin
10789 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10790 soname_spec='${libname}${release}${major}$shared_ext'
10791 shlibpath_overrides_runpath=yes
10792 shlibpath_var=DYLD_LIBRARY_PATH
10793 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10795 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10796 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10800 version_type=linux # correct to gnu/linux during the next big refactor
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 shlibpath_var=LD_LIBRARY_PATH
10808 freebsd* | dragonfly*)
10809 # DragonFly does not have aout. When/if they implement a new
10810 # versioning mechanism, adjust this.
10811 if test -x /usr/bin/objformat; then
10812 objformat=`/usr/bin/objformat`
10815 freebsd[23].*) objformat=aout ;;
10816 *) objformat=elf ;;
10819 version_type=freebsd-$objformat
10820 case $version_type in
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10831 shlibpath_var=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath=yes
10836 freebsd3.[01]* | freebsdelf3.[01]*)
10837 shlibpath_overrides_runpath=yes
10838 hardcode_into_libs=yes
10840 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10841 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10842 shlibpath_overrides_runpath=no
10843 hardcode_into_libs=yes
10845 *) # from 4.6 on, and DragonFly
10846 shlibpath_overrides_runpath=yes
10847 hardcode_into_libs=yes
10853 version_type=linux # correct to gnu/linux during the next big refactor
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10857 soname_spec='${libname}${release}${shared_ext}$major'
10858 shlibpath_var=LD_LIBRARY_PATH
10859 shlibpath_overrides_runpath=no
10860 hardcode_into_libs=yes
10864 version_type=linux # correct to gnu/linux during the next big refactor
10867 dynamic_linker="$host_os runtime_loader"
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10869 soname_spec='${libname}${release}${shared_ext}$major'
10870 shlibpath_var=LIBRARY_PATH
10871 shlibpath_overrides_runpath=yes
10872 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10873 hardcode_into_libs=yes
10876 hpux9* | hpux10* | hpux11*)
10877 # Give a soname corresponding to the major version so that dld.sl refuses to
10878 # link against other versions.
10885 hardcode_into_libs=yes
10886 dynamic_linker="$host_os dld.so"
10887 shlibpath_var=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 soname_spec='${libname}${release}${shared_ext}$major'
10891 if test "X$HPUX_IA64_MODE" = X32; then
10892 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10894 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10896 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10900 hardcode_into_libs=yes
10901 dynamic_linker="$host_os dld.sl"
10902 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10903 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec='${libname}${release}${shared_ext}$major'
10906 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10907 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10911 dynamic_linker="$host_os dld.sl"
10912 shlibpath_var=SHLIB_PATH
10913 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10918 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10919 postinstall_cmds='chmod 555 $lib'
10920 # or fails outright, so override atomically:
10921 install_override_mode=555
10925 version_type=linux # correct to gnu/linux during the next big refactor
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10929 soname_spec='${libname}${release}${shared_ext}$major'
10930 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath=no
10933 hardcode_into_libs=yes
10936 irix5* | irix6* | nonstopux*)
10938 nonstopux*) version_type=nonstopux ;;
10940 if test "$lt_cv_prog_gnu_ld" = yes; then
10941 version_type=linux # correct to gnu/linux during the next big refactor
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10951 irix5* | nonstopux*)
10952 libsuff= shlibsuff=
10955 case $LD in # libtool.m4 will add one of these switches to LD
10956 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10957 libsuff= shlibsuff= libmagic=32-bit;;
10958 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10959 libsuff=32 shlibsuff=N32 libmagic=N32;;
10960 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10961 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10962 *) libsuff= shlibsuff= libmagic=never-match;;
10966 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10967 shlibpath_overrides_runpath=no
10968 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10969 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10970 hardcode_into_libs=yes
10973 # No shared lib support for Linux oldld, aout, or coff.
10974 linux*oldld* | linux*aout* | linux*coff*)
10978 # This must be glibc/ELF.
10979 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10980 version_type=linux # correct to gnu/linux during the next big refactor
10983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984 soname_spec='${libname}${release}${shared_ext}$major'
10985 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10986 shlibpath_var=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath=no
10989 # Some binutils ld are patched to set DT_RUNPATH
10990 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10991 $as_echo_n "(cached) " >&6
10993 lt_cv_shlibpath_overrides_runpath=no
10994 save_LDFLAGS=$LDFLAGS
10995 save_libdir=$libdir
10996 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10997 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11009 if ac_fn_c_try_link "$LINENO"; then :
11010 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11011 lt_cv_shlibpath_overrides_runpath=yes
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LDFLAGS=$save_LDFLAGS
11017 libdir=$save_libdir
11021 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11023 # This implies no fast_install, which is unacceptable.
11024 # Some rework will be needed to allow for fast_install
11025 # before this can be enabled.
11026 hardcode_into_libs=yes
11028 # Add ABI-specific directories to the system library path.
11029 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11031 # Append ld.so.conf contents to the search path
11032 if test -f /etc/ld.so.conf; then
11033 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;s/"//g;/^$/d' | tr '\n' ' '`
11034 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11038 # We used to test for /lib/ld.so.1 and disable shared libraries on
11039 # powerpc, because MkLinux only supported shared libraries with the
11040 # GNU dynamic linker. Since this was broken with cross compilers,
11041 # most powerpc-linux boxes support dynamic linking these days and
11042 # people can always --disable-shared, the test was removed, and we
11043 # assume the GNU/Linux dynamic linker is in use.
11044 dynamic_linker='GNU/Linux ld.so'
11051 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11053 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11054 dynamic_linker='NetBSD (a.out) ld.so'
11056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11057 soname_spec='${libname}${release}${shared_ext}$major'
11058 dynamic_linker='NetBSD ld.elf_so'
11060 shlibpath_var=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath=yes
11062 hardcode_into_libs=yes
11066 version_type=linux # correct to gnu/linux during the next big refactor
11067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11068 shlibpath_var=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath=yes
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 soname_spec='${libname}${release}${shared_ext}$major'
11078 shlibpath_var=LD_LIBRARY_PATH
11079 shlibpath_overrides_runpath=no
11080 hardcode_into_libs=yes
11081 dynamic_linker='ldqnx.so'
11086 sys_lib_dlsearch_path_spec="/usr/lib"
11088 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11090 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11091 *) need_version=no ;;
11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11094 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11095 shlibpath_var=LD_LIBRARY_PATH
11096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11098 openbsd2.[89] | openbsd2.[89].*)
11099 shlibpath_overrides_runpath=no
11102 shlibpath_overrides_runpath=yes
11106 shlibpath_overrides_runpath=yes
11111 libname_spec='$name'
11114 library_names_spec='$libname${shared_ext} $libname.a'
11115 dynamic_linker='OS/2 ld.exe'
11116 shlibpath_var=LIBPATH
11119 osf3* | osf4* | osf5*)
11123 soname_spec='${libname}${release}${shared_ext}$major'
11124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11125 shlibpath_var=LD_LIBRARY_PATH
11126 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11127 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11135 version_type=linux # correct to gnu/linux during the next big refactor
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11141 shlibpath_overrides_runpath=yes
11142 hardcode_into_libs=yes
11143 # ldd complains unless libraries are executable
11144 postinstall_cmds='chmod +x $lib'
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11150 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11151 shlibpath_var=LD_LIBRARY_PATH
11152 shlibpath_overrides_runpath=yes
11153 if test "$with_gnu_ld" = yes; then
11160 version_type=linux # correct to gnu/linux during the next big refactor
11161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11162 soname_spec='${libname}${release}${shared_ext}$major'
11163 shlibpath_var=LD_LIBRARY_PATH
11164 case $host_vendor in
11166 shlibpath_overrides_runpath=no
11168 runpath_var=LD_RUN_PATH
11176 shlibpath_overrides_runpath=no
11177 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11183 if test -d /usr/nec ;then
11184 version_type=linux # correct to gnu/linux during the next big refactor
11185 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11186 soname_spec='$libname${shared_ext}.$major'
11187 shlibpath_var=LD_LIBRARY_PATH
11191 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11192 version_type=freebsd-elf
11195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11196 soname_spec='${libname}${release}${shared_ext}$major'
11197 shlibpath_var=LD_LIBRARY_PATH
11198 shlibpath_overrides_runpath=yes
11199 hardcode_into_libs=yes
11200 if test "$with_gnu_ld" = yes; then
11201 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11203 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11206 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11210 sys_lib_dlsearch_path_spec='/usr/lib'
11214 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11215 version_type=linux # correct to gnu/linux during the next big refactor
11218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 shlibpath_var=LD_LIBRARY_PATH
11220 shlibpath_overrides_runpath=no
11221 hardcode_into_libs=yes
11225 version_type=linux # correct to gnu/linux during the next big refactor
11226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11227 soname_spec='${libname}${release}${shared_ext}$major'
11228 shlibpath_var=LD_LIBRARY_PATH
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11236 $as_echo "$dynamic_linker" >&6; }
11237 test "$dynamic_linker" = no && can_build_shared=no
11239 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11240 if test "$GCC" = yes; then
11241 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11244 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11245 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11247 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11248 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11343 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11345 if test -n "$hardcode_libdir_flag_spec" ||
11346 test -n "$runpath_var" ||
11347 test "X$hardcode_automatic" = "Xyes" ; then
11349 # We can hardcode non-existent directories.
11350 if test "$hardcode_direct" != no &&
11351 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11352 # have to relink, otherwise we might link with an installed library
11353 # when we should be linking with a yet-to-be-installed one
11354 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11355 test "$hardcode_minus_L" != no; then
11356 # Linking always hardcodes the temporary library directory.
11357 hardcode_action=relink
11359 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11360 hardcode_action=immediate
11363 # We cannot hardcode anything, or else we can only hardcode existing
11365 hardcode_action=unsupported
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11368 $as_echo "$hardcode_action" >&6; }
11370 if test "$hardcode_action" = relink ||
11371 test "$inherit_rpath" = yes; then
11372 # Fast installation is not supported
11373 enable_fast_install=no
11374 elif test "$shlibpath_overrides_runpath" = yes ||
11375 test "$enable_shared" = no; then
11376 # Fast installation is not necessary
11377 enable_fast_install=needless
11385 if test "x$enable_dlopen" != xyes; then
11386 enable_dlopen=unknown
11387 enable_dlopen_self=unknown
11388 enable_dlopen_self_static=unknown
11395 lt_cv_dlopen="load_add_on"
11397 lt_cv_dlopen_self=yes
11400 mingw* | pw32* | cegcc*)
11401 lt_cv_dlopen="LoadLibrary"
11406 lt_cv_dlopen="dlopen"
11411 # if libdl is installed we need to link against it
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11413 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11414 if ${ac_cv_lib_dl_dlopen+:} false; then :
11415 $as_echo_n "(cached) " >&6
11417 ac_check_lib_save_LIBS=$LIBS
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 ac_cv_lib_dl_dlopen=yes
11440 ac_cv_lib_dl_dlopen=no
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_lib_save_LIBS
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11447 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11448 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11449 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11452 lt_cv_dlopen="dyld"
11454 lt_cv_dlopen_self=yes
11461 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11462 if test "x$ac_cv_func_shl_load" = xyes; then :
11463 lt_cv_dlopen="shl_load"
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11466 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11467 if ${ac_cv_lib_dld_shl_load+:} false; then :
11468 $as_echo_n "(cached) " >&6
11470 ac_check_lib_save_LIBS=$LIBS
11472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11475 /* Override any GCC internal prototype to avoid an error.
11476 Use char because int might match the return type of a GCC
11477 builtin and then its argument prototype would still apply. */
11485 return shl_load ();
11490 if ac_fn_c_try_link "$LINENO"; then :
11491 ac_cv_lib_dld_shl_load=yes
11493 ac_cv_lib_dld_shl_load=no
11495 rm -f core conftest.err conftest.$ac_objext \
11496 conftest$ac_exeext conftest.$ac_ext
11497 LIBS=$ac_check_lib_save_LIBS
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11500 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11501 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11502 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11504 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11505 if test "x$ac_cv_func_dlopen" = xyes; then :
11506 lt_cv_dlopen="dlopen"
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11509 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11510 if ${ac_cv_lib_dl_dlopen+:} false; then :
11511 $as_echo_n "(cached) " >&6
11513 ac_check_lib_save_LIBS=$LIBS
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11533 if ac_fn_c_try_link "$LINENO"; then :
11534 ac_cv_lib_dl_dlopen=yes
11536 ac_cv_lib_dl_dlopen=no
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_lib_save_LIBS
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11543 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11544 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11545 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11548 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11549 if ${ac_cv_lib_svld_dlopen+:} false; then :
11550 $as_echo_n "(cached) " >&6
11552 ac_check_lib_save_LIBS=$LIBS
11553 LIBS="-lsvld $LIBS"
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11557 /* Override any GCC internal prototype to avoid an error.
11558 Use char because int might match the return type of a GCC
11559 builtin and then its argument prototype would still apply. */
11572 if ac_fn_c_try_link "$LINENO"; then :
11573 ac_cv_lib_svld_dlopen=yes
11575 ac_cv_lib_svld_dlopen=no
11577 rm -f core conftest.err conftest.$ac_objext \
11578 conftest$ac_exeext conftest.$ac_ext
11579 LIBS=$ac_check_lib_save_LIBS
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11582 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11583 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11584 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11587 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11588 if ${ac_cv_lib_dld_dld_link+:} false; then :
11589 $as_echo_n "(cached) " >&6
11591 ac_check_lib_save_LIBS=$LIBS
11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594 /* end confdefs.h. */
11596 /* Override any GCC internal prototype to avoid an error.
11597 Use char because int might match the return type of a GCC
11598 builtin and then its argument prototype would still apply. */
11606 return dld_link ();
11611 if ac_fn_c_try_link "$LINENO"; then :
11612 ac_cv_lib_dld_dld_link=yes
11614 ac_cv_lib_dld_dld_link=no
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_lib_save_LIBS
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11621 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11622 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11623 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11644 if test "x$lt_cv_dlopen" != xno; then
11650 case $lt_cv_dlopen in
11652 save_CPPFLAGS="$CPPFLAGS"
11653 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11655 save_LDFLAGS="$LDFLAGS"
11656 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11659 LIBS="$lt_cv_dlopen_libs $LIBS"
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11662 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11663 if ${lt_cv_dlopen_self+:} false; then :
11664 $as_echo_n "(cached) " >&6
11666 if test "$cross_compiling" = yes; then :
11667 lt_cv_dlopen_self=cross
11669 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11670 lt_status=$lt_dlunknown
11671 cat > conftest.$ac_ext <<_LT_EOF
11672 #line $LINENO "configure"
11673 #include "confdefs.h"
11682 # define LT_DLGLOBAL RTLD_GLOBAL
11685 # define LT_DLGLOBAL DL_GLOBAL
11687 # define LT_DLGLOBAL 0
11691 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11692 find out it does not work in some platform. */
11693 #ifndef LT_DLLAZY_OR_NOW
11695 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11698 # define LT_DLLAZY_OR_NOW DL_LAZY
11701 # define LT_DLLAZY_OR_NOW RTLD_NOW
11704 # define LT_DLLAZY_OR_NOW DL_NOW
11706 # define LT_DLLAZY_OR_NOW 0
11713 /* When -fvisbility=hidden is used, assume the code has been annotated
11714 correspondingly for the symbols needed. */
11715 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11716 int fnord () __attribute__((visibility("default")));
11719 int fnord () { return 42; }
11722 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11723 int status = $lt_dlunknown;
11727 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11730 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11731 else puts (dlerror ());
11733 /* dlclose (self); */
11741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11742 (eval $ac_link) 2>&5
11744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11745 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11746 (./conftest; exit; ) >&5 2>/dev/null
11748 case x$lt_status in
11749 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11750 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11751 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11754 # compilation failed
11755 lt_cv_dlopen_self=no
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11763 $as_echo "$lt_cv_dlopen_self" >&6; }
11765 if test "x$lt_cv_dlopen_self" = xyes; then
11766 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11768 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11769 if ${lt_cv_dlopen_self_static+:} false; then :
11770 $as_echo_n "(cached) " >&6
11772 if test "$cross_compiling" = yes; then :
11773 lt_cv_dlopen_self_static=cross
11775 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11776 lt_status=$lt_dlunknown
11777 cat > conftest.$ac_ext <<_LT_EOF
11778 #line $LINENO "configure"
11779 #include "confdefs.h"
11788 # define LT_DLGLOBAL RTLD_GLOBAL
11791 # define LT_DLGLOBAL DL_GLOBAL
11793 # define LT_DLGLOBAL 0
11797 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11798 find out it does not work in some platform. */
11799 #ifndef LT_DLLAZY_OR_NOW
11801 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11804 # define LT_DLLAZY_OR_NOW DL_LAZY
11807 # define LT_DLLAZY_OR_NOW RTLD_NOW
11810 # define LT_DLLAZY_OR_NOW DL_NOW
11812 # define LT_DLLAZY_OR_NOW 0
11819 /* When -fvisbility=hidden is used, assume the code has been annotated
11820 correspondingly for the symbols needed. */
11821 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11822 int fnord () __attribute__((visibility("default")));
11825 int fnord () { return 42; }
11828 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11829 int status = $lt_dlunknown;
11833 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11836 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11837 else puts (dlerror ());
11839 /* dlclose (self); */
11847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11848 (eval $ac_link) 2>&5
11850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11851 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11852 (./conftest; exit; ) >&5 2>/dev/null
11854 case x$lt_status in
11855 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11856 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11857 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11860 # compilation failed
11861 lt_cv_dlopen_self_static=no
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11869 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11872 CPPFLAGS="$save_CPPFLAGS"
11873 LDFLAGS="$save_LDFLAGS"
11878 case $lt_cv_dlopen_self in
11879 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11880 *) enable_dlopen_self=unknown ;;
11883 case $lt_cv_dlopen_self_static in
11884 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11885 *) enable_dlopen_self_static=unknown ;;
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11908 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11909 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11910 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11911 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11913 $as_echo "yes" >&6; }
11915 # FIXME - insert some real tests, host_os isn't really good enough
11918 if test -n "$STRIP" ; then
11919 striplib="$STRIP -x"
11920 old_striplib="$STRIP -S"
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11922 $as_echo "yes" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11925 $as_echo "no" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11930 $as_echo "no" >&6; }
11946 # Report which library types will actually be built
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11948 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11950 $as_echo "$can_build_shared" >&6; }
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11953 $as_echo_n "checking whether to build shared libraries... " >&6; }
11954 test "$can_build_shared" = "no" && enable_shared=no
11956 # On AIX, shared libraries and static libraries use the same namespace, and
11957 # are all built from PIC.
11960 test "$enable_shared" = yes && enable_static=no
11961 if test -n "$RANLIB"; then
11962 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11963 postinstall_cmds='$RANLIB $lib'
11968 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11969 test "$enable_shared" = yes && enable_static=no
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11974 $as_echo "$enable_shared" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11977 $as_echo_n "checking whether to build static libraries... " >&6; }
11978 # Make sure either enable_shared or enable_static is yes.
11979 test "$enable_shared" = yes || enable_static=yes
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11981 $as_echo "$enable_static" >&6; }
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12009 ac_config_commands="$ac_config_commands libtool"
12014 # Only expand once:
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12018 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12020 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12021 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
12022 $as_echo_n "(cached) " >&6
12024 cat >conftest.make <<\_ACEOF
12027 @echo '@@@%%%=$(MAKE)=@@@%%%'
12029 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12030 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12031 *@@@%%%=?*=@@@%%%*)
12032 eval ac_cv_prog_make_${ac_make}_set=yes;;
12034 eval ac_cv_prog_make_${ac_make}_set=no;;
12036 rm -f conftest.make
12038 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12040 $as_echo "yes" >&6; }
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12044 $as_echo "no" >&6; }
12045 SET_MAKE="MAKE=${MAKE-make}"
12054 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12055 if test -n "$ac_tool_prefix"; then
12056 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12057 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12059 $as_echo_n "checking for $ac_word... " >&6; }
12060 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12061 $as_echo_n "(cached) " >&6
12063 case $PKG_CONFIG in
12065 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12069 for as_dir in $PATH
12072 test -z "$as_dir" && as_dir=.
12073 for ac_exec_ext in '' $ac_executable_extensions; do
12074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12075 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12086 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12087 if test -n "$PKG_CONFIG"; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12089 $as_echo "$PKG_CONFIG" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12092 $as_echo "no" >&6; }
12097 if test -z "$ac_cv_path_PKG_CONFIG"; then
12098 ac_pt_PKG_CONFIG=$PKG_CONFIG
12099 # Extract the first word of "pkg-config", so it can be a program name with args.
12100 set dummy pkg-config; ac_word=$2
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12102 $as_echo_n "checking for $ac_word... " >&6; }
12103 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12104 $as_echo_n "(cached) " >&6
12106 case $ac_pt_PKG_CONFIG in
12108 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12112 for as_dir in $PATH
12115 test -z "$as_dir" && as_dir=.
12116 for ac_exec_ext in '' $ac_executable_extensions; do
12117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12118 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12130 if test -n "$ac_pt_PKG_CONFIG"; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12132 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135 $as_echo "no" >&6; }
12138 if test "x$ac_pt_PKG_CONFIG" = x; then
12141 case $cross_compiling:$ac_tool_warned in
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12145 ac_tool_warned=yes ;;
12147 PKG_CONFIG=$ac_pt_PKG_CONFIG
12150 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12154 if test -n "$PKG_CONFIG"; then
12155 _pkg_min_version=0.9.0
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12157 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12158 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12160 $as_echo "yes" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RM macro" >&5
12169 $as_echo_n "checking for RM macro... " >&6; }
12170 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
12171 if test "x$_predefined_rm" = "x"; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no predefined RM" >&5
12173 $as_echo "no predefined RM" >&6; }
12174 # Extract the first word of "rm", so it can be a program name with args.
12175 set dummy rm; ac_word=$2
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12177 $as_echo_n "checking for $ac_word... " >&6; }
12178 if ${ac_cv_prog_RM+:} false; then :
12179 $as_echo_n "(cached) " >&6
12181 if test -n "$RM"; then
12182 ac_cv_prog_RM="$RM" # Let the user override the test.
12184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12185 for as_dir in $PATH
12188 test -z "$as_dir" && as_dir=.
12189 for ac_exec_ext in '' $ac_executable_extensions; do
12190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12191 ac_cv_prog_RM="rm -f"
12192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12202 if test -n "$RM"; then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
12204 $as_echo "$RM" >&6; }
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12207 $as_echo "no" >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_predefined_rm" >&5
12213 $as_echo "$_predefined_rm" >&6; }
12224 if test "$os_win32" = "yes"; then
12233 if test "$os_win32" = "yes"; then
12234 # Extract the first word of "lib.exe", so it can be a program name with args.
12235 set dummy lib.exe; ac_word=$2
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12237 $as_echo_n "checking for $ac_word... " >&6; }
12238 if ${ac_cv_prog_ms_librarian+:} false; then :
12239 $as_echo_n "(cached) " >&6
12241 if test -n "$ms_librarian"; then
12242 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
12244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12245 for as_dir in $PATH
12248 test -z "$as_dir" && as_dir=.
12249 for ac_exec_ext in '' $ac_executable_extensions; do
12250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12251 ac_cv_prog_ms_librarian="yes"
12252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12259 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
12262 ms_librarian=$ac_cv_prog_ms_librarian
12263 if test -n "$ms_librarian"; then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
12265 $as_echo "$ms_librarian" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12268 $as_echo "no" >&6; }
12273 if test x$ms_librarian = xyes; then
12274 MS_LIB_AVAILABLE_TRUE=
12275 MS_LIB_AVAILABLE_FALSE='#'
12277 MS_LIB_AVAILABLE_TRUE='#'
12278 MS_LIB_AVAILABLE_FALSE=
12283 if test "x$GCC" = "xyes"; then
12284 WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
12285 -Wmissing-prototypes -Wmissing-declarations \
12286 -Wnested-externs -fno-strict-aliasing"
12288 cat >>confdefs.h <<_ACEOF
12289 #define HAVE_WARNING_CPP_DIRECTIVE 1
12297 if test $cross_compiling = yes; then
12298 CROSS_COMPILING_TRUE=
12299 CROSS_COMPILING_FALSE='#'
12301 CROSS_COMPILING_TRUE='#'
12302 CROSS_COMPILING_FALSE=
12305 if test "$enable_shared" = "yes"; then
12306 ENABLE_SHARED_TRUE=
12307 ENABLE_SHARED_FALSE='#'
12309 ENABLE_SHARED_TRUE='#'
12310 ENABLE_SHARED_FALSE=
12316 # Check whether --with-arch was given.
12317 if test "${with_arch+set}" = set; then :
12318 withval=$with_arch; arch="$withval"
12324 if test "x$arch" != xauto; then
12326 cat >>confdefs.h <<_ACEOF
12327 #define FC_ARCHITECTURE "$arch"
12334 # Checks for header files.
12335 ac_header_dirent=no
12336 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12337 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12339 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12340 if eval \${$as_ac_Header+:} false; then :
12341 $as_echo_n "(cached) " >&6
12343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h. */
12345 #include <sys/types.h>
12357 if ac_fn_c_try_compile "$LINENO"; then :
12358 eval "$as_ac_Header=yes"
12360 eval "$as_ac_Header=no"
12362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12364 eval ac_res=\$$as_ac_Header
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12366 $as_echo "$ac_res" >&6; }
12367 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12368 cat >>confdefs.h <<_ACEOF
12369 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12372 ac_header_dirent=$ac_hdr; break
12376 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12377 if test $ac_header_dirent = dirent.h; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12379 $as_echo_n "checking for library containing opendir... " >&6; }
12380 if ${ac_cv_search_opendir+:} false; then :
12381 $as_echo_n "(cached) " >&6
12383 ac_func_search_save_LIBS=$LIBS
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12402 for ac_lib in '' dir; do
12403 if test -z "$ac_lib"; then
12404 ac_res="none required"
12407 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12409 if ac_fn_c_try_link "$LINENO"; then :
12410 ac_cv_search_opendir=$ac_res
12412 rm -f core conftest.err conftest.$ac_objext \
12414 if ${ac_cv_search_opendir+:} false; then :
12418 if ${ac_cv_search_opendir+:} false; then :
12421 ac_cv_search_opendir=no
12423 rm conftest.$ac_ext
12424 LIBS=$ac_func_search_save_LIBS
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12427 $as_echo "$ac_cv_search_opendir" >&6; }
12428 ac_res=$ac_cv_search_opendir
12429 if test "$ac_res" != no; then :
12430 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12436 $as_echo_n "checking for library containing opendir... " >&6; }
12437 if ${ac_cv_search_opendir+:} false; then :
12438 $as_echo_n "(cached) " >&6
12440 ac_func_search_save_LIBS=$LIBS
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12459 for ac_lib in '' x; do
12460 if test -z "$ac_lib"; then
12461 ac_res="none required"
12464 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12466 if ac_fn_c_try_link "$LINENO"; then :
12467 ac_cv_search_opendir=$ac_res
12469 rm -f core conftest.err conftest.$ac_objext \
12471 if ${ac_cv_search_opendir+:} false; then :
12475 if ${ac_cv_search_opendir+:} false; then :
12478 ac_cv_search_opendir=no
12480 rm conftest.$ac_ext
12481 LIBS=$ac_func_search_save_LIBS
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12484 $as_echo "$ac_cv_search_opendir" >&6; }
12485 ac_res=$ac_cv_search_opendir
12486 if test "$ac_res" != no; then :
12487 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12494 $as_echo_n "checking for ANSI C header files... " >&6; }
12495 if ${ac_cv_header_stdc+:} false; then :
12496 $as_echo_n "(cached) " >&6
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 #include <stdlib.h>
12501 #include <stdarg.h>
12502 #include <string.h>
12513 if ac_fn_c_try_compile "$LINENO"; then :
12514 ac_cv_header_stdc=yes
12516 ac_cv_header_stdc=no
12518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12520 if test $ac_cv_header_stdc = yes; then
12521 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12524 #include <string.h>
12527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12528 $EGREP "memchr" >/dev/null 2>&1; then :
12531 ac_cv_header_stdc=no
12537 if test $ac_cv_header_stdc = yes; then
12538 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 #include <stdlib.h>
12544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12545 $EGREP "free" >/dev/null 2>&1; then :
12548 ac_cv_header_stdc=no
12554 if test $ac_cv_header_stdc = yes; then
12555 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12556 if test "$cross_compiling" = yes; then :
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 #include <stdlib.h>
12563 #if ((' ' & 0x0FF) == 0x020)
12564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12567 # define ISLOWER(c) \
12568 (('a' <= (c) && (c) <= 'i') \
12569 || ('j' <= (c) && (c) <= 'r') \
12570 || ('s' <= (c) && (c) <= 'z'))
12571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12579 for (i = 0; i < 256; i++)
12580 if (XOR (islower (i), ISLOWER (i))
12581 || toupper (i) != TOUPPER (i))
12586 if ac_fn_c_try_run "$LINENO"; then :
12589 ac_cv_header_stdc=no
12591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12592 conftest.$ac_objext conftest.beam conftest.$ac_ext
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12598 $as_echo "$ac_cv_header_stdc" >&6; }
12599 if test $ac_cv_header_stdc = yes; then
12601 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12605 for ac_header in fcntl.h regex.h stdlib.h string.h unistd.h sys/vfs.h sys/statfs.h sys/param.h sys/mount.h
12607 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12608 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12610 cat >>confdefs.h <<_ACEOF
12611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12619 # Checks for typedefs, structures, and compiler characteristics.
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12621 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12622 if ${ac_cv_c_const+:} false; then :
12623 $as_echo_n "(cached) " >&6
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12631 /* FIXME: Include the comments suggested by Paul. */
12632 #ifndef __cplusplus
12633 /* Ultrix mips cc rejects this. */
12634 typedef int charset[2];
12636 /* SunOS 4.1.1 cc rejects this. */
12637 char const *const *pcpcc;
12639 /* NEC SVR4.0.2 mips cc rejects this. */
12640 struct point {int x, y;};
12641 static struct point const zero = {0,0};
12642 /* AIX XL C 1.02.0.0 rejects this.
12643 It does not let you subtract one const X* pointer from another in
12644 an arm of an if-expression whose if-part is not a constant
12646 const char *g = "string";
12647 pcpcc = &g + (g ? g-g : 0);
12648 /* HPUX 7.0 cc rejects these. */
12650 ppc = (char**) pcpcc;
12651 pcpcc = (char const *const *) ppc;
12652 { /* SCO 3.2v4 cc rejects this. */
12654 char const *s = 0 ? (char *) 0 : (char const *) 0;
12659 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12660 int x[] = {25, 17};
12661 const int *foo = &x[0];
12664 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12665 typedef const int *iptr;
12669 { /* AIX XL C 1.02.0.0 rejects this saying
12670 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12671 struct s { int j; const int *ap[3]; };
12672 struct s *b; b->j = 5;
12674 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12675 const int foo = 10;
12676 if (!foo) return 0;
12678 return !cs[0] && !zero.x;
12685 if ac_fn_c_try_compile "$LINENO"; then :
12690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12693 $as_echo "$ac_cv_c_const" >&6; }
12694 if test $ac_cv_c_const = no; then
12696 $as_echo "#define const /**/" >>confdefs.h
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12701 $as_echo_n "checking for inline... " >&6; }
12702 if ${ac_cv_c_inline+:} false; then :
12703 $as_echo_n "(cached) " >&6
12706 for ac_kw in inline __inline__ __inline; do
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12709 #ifndef __cplusplus
12711 static $ac_kw foo_t static_foo () {return 0; }
12712 $ac_kw foo_t foo () {return 0; }
12716 if ac_fn_c_try_compile "$LINENO"; then :
12717 ac_cv_c_inline=$ac_kw
12719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12720 test "$ac_cv_c_inline" != no && break
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12725 $as_echo "$ac_cv_c_inline" >&6; }
12727 case $ac_cv_c_inline in
12730 case $ac_cv_c_inline in
12732 *) ac_val=$ac_cv_c_inline;;
12734 cat >>confdefs.h <<_ACEOF
12735 #ifndef __cplusplus
12736 #define inline $ac_val
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
12744 $as_echo_n "checking for flexible array members... " >&6; }
12745 if ${ac_cv_c_flexmember+:} false; then :
12746 $as_echo_n "(cached) " >&6
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12750 #include <stdlib.h>
12752 #include <stddef.h>
12753 struct s { int n; double d[]; };
12757 int m = getchar ();
12758 struct s *p = malloc (offsetof (struct s, d)
12759 + m * sizeof (double));
12761 return p->d != (double *) NULL;
12766 if ac_fn_c_try_compile "$LINENO"; then :
12767 ac_cv_c_flexmember=yes
12769 ac_cv_c_flexmember=no
12771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
12774 $as_echo "$ac_cv_c_flexmember" >&6; }
12775 if test $ac_cv_c_flexmember = yes; then
12777 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
12780 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
12784 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12785 if test "x$ac_cv_type_pid_t" = xyes; then :
12789 cat >>confdefs.h <<_ACEOF
12796 # Checks for library functions.
12797 for ac_func in vprintf
12799 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
12800 if test "x$ac_cv_func_vprintf" = xyes; then :
12801 cat >>confdefs.h <<_ACEOF
12802 #define HAVE_VPRINTF 1
12805 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
12806 if test "x$ac_cv_func__doprnt" = xyes; then :
12808 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12819 for ac_header in $ac_header_list
12821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12825 cat >>confdefs.h <<_ACEOF
12826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12840 for ac_func in getpagesize
12842 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12843 if test "x$ac_cv_func_getpagesize" = xyes; then :
12844 cat >>confdefs.h <<_ACEOF
12845 #define HAVE_GETPAGESIZE 1
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12852 $as_echo_n "checking for working mmap... " >&6; }
12853 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
12854 $as_echo_n "(cached) " >&6
12856 if test "$cross_compiling" = yes; then :
12857 ac_cv_func_mmap_fixed_mapped=no
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12861 $ac_includes_default
12862 /* malloc might have been renamed as rpl_malloc. */
12865 /* Thanks to Mike Haertel and Jim Avera for this test.
12866 Here is a matrix of mmap possibilities:
12867 mmap private not fixed
12868 mmap private fixed at somewhere currently unmapped
12869 mmap private fixed at somewhere already mapped
12870 mmap shared not fixed
12871 mmap shared fixed at somewhere currently unmapped
12872 mmap shared fixed at somewhere already mapped
12873 For private mappings, we should verify that changes cannot be read()
12874 back from the file, nor mmap's back from the file at a different
12875 address. (There have been systems where private was not correctly
12876 implemented like the infamous i386 svr4.0, and systems where the
12877 VM page cache was not coherent with the file system buffer cache
12878 like early versions of FreeBSD and possibly contemporary NetBSD.)
12879 For shared mappings, we should conversely verify that changes get
12880 propagated back to all the places they're supposed to be.
12882 Grep wants private fixed already mapped.
12883 The main things grep needs to know about mmap are:
12884 * does it exist and is it safe to write into the mmap'd area
12885 * how to use it (BSD variants) */
12888 #include <sys/mman.h>
12890 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12894 /* This mess was copied from the GNU getpagesize.h. */
12895 #ifndef HAVE_GETPAGESIZE
12896 # ifdef _SC_PAGESIZE
12897 # define getpagesize() sysconf(_SC_PAGESIZE)
12898 # else /* no _SC_PAGESIZE */
12899 # ifdef HAVE_SYS_PARAM_H
12900 # include <sys/param.h>
12901 # ifdef EXEC_PAGESIZE
12902 # define getpagesize() EXEC_PAGESIZE
12903 # else /* no EXEC_PAGESIZE */
12905 # define getpagesize() NBPG * CLSIZE
12908 # endif /* no CLSIZE */
12909 # else /* no NBPG */
12911 # define getpagesize() NBPC
12912 # else /* no NBPC */
12914 # define getpagesize() PAGESIZE
12915 # endif /* PAGESIZE */
12916 # endif /* no NBPC */
12917 # endif /* no NBPG */
12918 # endif /* no EXEC_PAGESIZE */
12919 # else /* no HAVE_SYS_PARAM_H */
12920 # define getpagesize() 8192 /* punt totally */
12921 # endif /* no HAVE_SYS_PARAM_H */
12922 # endif /* no _SC_PAGESIZE */
12924 #endif /* no HAVE_GETPAGESIZE */
12929 char *data, *data2, *data3;
12930 const char *cdata2;
12934 pagesize = getpagesize ();
12936 /* First, make a file with some known garbage in it. */
12937 data = (char *) malloc (pagesize);
12940 for (i = 0; i < pagesize; ++i)
12941 *(data + i) = rand ();
12943 fd = creat ("conftest.mmap", 0600);
12946 if (write (fd, data, pagesize) != pagesize)
12950 /* Next, check that the tail of a page is zero-filled. File must have
12951 non-zero length, otherwise we risk SIGBUS for entire page. */
12952 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12956 if (write (fd2, cdata2, 1) != 1)
12958 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12959 if (data2 == MAP_FAILED)
12961 for (i = 0; i < pagesize; ++i)
12965 if (munmap (data2, pagesize))
12968 /* Next, try to mmap the file at a fixed address which already has
12969 something else allocated at it. If we can, also make sure that
12970 we see the same garbage. */
12971 fd = open ("conftest.mmap", O_RDWR);
12974 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12975 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12977 for (i = 0; i < pagesize; ++i)
12978 if (*(data + i) != *(data2 + i))
12981 /* Finally, make sure that changes to the mapped area do not
12982 percolate back to the file as seen by read(). (This is a bug on
12983 some variants of i386 svr4.0.) */
12984 for (i = 0; i < pagesize; ++i)
12985 *(data2 + i) = *(data2 + i) + 1;
12986 data3 = (char *) malloc (pagesize);
12989 if (read (fd, data3, pagesize) != pagesize)
12991 for (i = 0; i < pagesize; ++i)
12992 if (*(data + i) != *(data3 + i))
12998 if ac_fn_c_try_run "$LINENO"; then :
12999 ac_cv_func_mmap_fixed_mapped=yes
13001 ac_cv_func_mmap_fixed_mapped=no
13003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13004 conftest.$ac_objext conftest.beam conftest.$ac_ext
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13009 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13010 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13012 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13015 rm -f conftest.mmap conftest.txt
13017 for ac_func in geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long sysconf ftruncate chsize rand random lrand48 random_r rand_r regcomp regerror regexec regfree fstatvfs fstatfs
13019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13021 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13022 cat >>confdefs.h <<_ACEOF
13023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13030 fc_saved_CFLAGS="$CFLAGS"
13031 CFLAGS="$CFLAGS $WARN_CFLAGS -Werror"
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5
13033 $as_echo_n "checking for posix_fadvise... " >&6; }
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13039 return posix_fadvise(0, 0, 0, 0);
13043 if ac_fn_c_try_link "$LINENO"; then :
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13046 $as_echo "yes" >&6; }
13048 $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13055 rm -f core conftest.err conftest.$ac_objext \
13056 conftest$ac_exeext conftest.$ac_ext
13057 CFLAGS="$fc_saved_CFLAGS"
13060 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
13061 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "#include <sys/statvfs.h>
13063 if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes; then :
13065 cat >>confdefs.h <<_ACEOF
13066 #define HAVE_STRUCT_STATVFS_F_BASETYPE 1
13071 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "#include <sys/statvfs.h>
13073 if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes; then :
13075 cat >>confdefs.h <<_ACEOF
13076 #define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1
13083 if test "x$ac_cv_func_fstatfs" = "xyes"; then
13084 ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "
13085 #ifdef HAVE_SYS_VFS_H
13086 #include <sys/vfs.h>
13088 #ifdef HAVE_SYS_STATFS_H
13089 #include <sys/statfs.h>
13091 #ifdef HAVE_SYS_PARAM_H
13092 #include <sys/param.h>
13094 #ifdef HAVE_SYS_MOUNT_H
13095 #include <sys/mount.h>
13098 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
13100 cat >>confdefs.h <<_ACEOF
13101 #define HAVE_STRUCT_STATFS_F_FLAGS 1
13106 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
13107 #ifdef HAVE_SYS_VFS_H
13108 #include <sys/vfs.h>
13110 #ifdef HAVE_SYS_STATFS_H
13111 #include <sys/statfs.h>
13113 #ifdef HAVE_SYS_PARAM_H
13114 #include <sys/param.h>
13116 #ifdef HAVE_SYS_MOUNT_H
13117 #include <sys/mount.h>
13120 if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
13122 cat >>confdefs.h <<_ACEOF
13123 #define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
13130 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
13132 if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
13134 cat >>confdefs.h <<_ACEOF
13135 #define HAVE_STRUCT_DIRENT_D_TYPE 1
13144 if test "x$ac_cv_func_regcomp" = "xyes" -a "x$ac_cv_func_regerror" = "xyes" -a "x$ac_cv_func_regexec" = "xyes" -a "x$ac_cv_func_regfree"; then
13146 $as_echo "#define USE_REGEX /**/" >>confdefs.h
13153 # Check whether --enable-iconv was given.
13154 if test "${enable_iconv+set}" = set; then :
13155 enableval=$enable_iconv;
13161 # Check whether --with-libiconv was given.
13162 if test "${with_libiconv+set}" = set; then :
13163 withval=$with_libiconv; if test "x$withval" = "xyes"; then
13164 libiconv_prefix=$prefix
13166 libiconv_prefix=$withval
13169 libiconv_prefix=auto
13173 # Check whether --with-libiconv-includes was given.
13174 if test "${with_libiconv_includes+set}" = set; then :
13175 withval=$with_libiconv_includes; libiconv_includes=$withval
13177 libiconv_includes=auto
13181 # Check whether --with-libiconv-lib was given.
13182 if test "${with_libiconv_lib+set}" = set; then :
13183 withval=$with_libiconv_lib; libiconv_lib=$withval
13189 # if no libiconv,libiconv-includes,libiconv-lib are specified,
13190 # libc's iconv has a priority.
13191 if test "$libiconv_includes" != "auto" -a -r ${libiconv_includes}/iconv.h; then
13192 libiconv_cflags="-I${libiconv_includes}"
13193 elif test "$libiconv_prefix" != "auto" -a -r ${libiconv_prefix}/include/iconv.h; then
13194 libiconv_cflags="-I${libiconv_prefix}/include"
13199 if test "x$libiconv_cflags" != "x"; then
13200 if test "$libiconv_lib" != "auto" -a -d ${libiconv_lib}; then
13201 libiconv_libs="-L${libiconv_lib} -liconv"
13202 elif test "$libiconv_prefix" != "auto" -a -d ${libiconv_prefix}/lib; then
13203 libiconv_libs="-L${libiconv_prefix}/lib -liconv"
13205 libiconv_libs="-liconv"
13210 if test "x$enable_iconv" != "xno"; then
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a usable iconv" >&5
13212 $as_echo_n "checking for a usable iconv... " >&6; }
13213 if test "x$libiconv_cflags" != "x" -o "x$libiconv_libs" != "x"; then
13214 iconvsaved_CFLAGS="$CFLAGS"
13215 iconvsaved_LIBS="$LIBS"
13216 CFLAGS="$CFLAGS $libiconv_cflags"
13217 LIBS="$LIBS $libiconv_libs"
13219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220 /* end confdefs.h. */
13225 iconv_open ("from", "to");
13230 if ac_fn_c_try_link "$LINENO"; then :
13231 iconv_type="libiconv"
13236 rm -f core conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13239 CFLAGS="$iconvsaved_CFLAGS"
13240 LIBS="$iconvsaved_LIBS"
13241 ICONV_CFLAGS="$libiconv_cflags"
13242 ICONV_LIBS="$libiconv_libs"
13244 if test "x$use_iconv" = "x0"; then
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13251 iconv_open ("from", "to");
13256 if ac_fn_c_try_link "$LINENO"; then :
13260 iconv_type="not found"
13263 rm -f core conftest.err conftest.$ac_objext \
13264 conftest$ac_exeext conftest.$ac_ext
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_type" >&5
13268 $as_echo "$iconv_type" >&6; }
13273 cat >>confdefs.h <<_ACEOF
13274 #define USE_ICONV $use_iconv
13278 # Checks for FreeType
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
13283 $as_echo_n "checking for FREETYPE... " >&6; }
13285 if test -n "$FREETYPE_CFLAGS"; then
13286 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
13287 elif test -n "$PKG_CONFIG"; then
13288 if test -n "$PKG_CONFIG" && \
13289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13290 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13293 test $ac_status = 0; }; then
13294 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
13301 if test -n "$FREETYPE_LIBS"; then
13302 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
13303 elif test -n "$PKG_CONFIG"; then
13304 if test -n "$PKG_CONFIG" && \
13305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13306 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13309 test $ac_status = 0; }; then
13310 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
13320 if test $pkg_failed = yes; then
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13322 $as_echo "no" >&6; }
13324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13325 _pkg_short_errors_supported=yes
13327 _pkg_short_errors_supported=no
13329 if test $_pkg_short_errors_supported = yes; then
13330 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
13332 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
13334 # Put the nasty error message in config.log where it belongs
13335 echo "$FREETYPE_PKG_ERRORS" >&5
13337 as_fn_error $? "Package requirements (freetype2) were not met:
13339 $FREETYPE_PKG_ERRORS
13341 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13342 installed software in a non-standard prefix.
13344 Alternatively, you may set the environment variables FREETYPE_CFLAGS
13345 and FREETYPE_LIBS to avoid the need to call pkg-config.
13346 See the pkg-config man page for more details." "$LINENO" 5
13348 elif test $pkg_failed = untried; then
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13350 $as_echo "no" >&6; }
13351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13353 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13354 is in your PATH or set the PKG_CONFIG environment variable to the full
13355 path to pkg-config.
13357 Alternatively, you may set the environment variables FREETYPE_CFLAGS
13358 and FREETYPE_LIBS to avoid the need to call pkg-config.
13359 See the pkg-config man page for more details.
13361 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13362 See \`config.log' for more details" "$LINENO" 5; }
13365 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
13366 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13368 $as_echo "yes" >&6; }
13375 fontconfig_save_libs="$LIBS"
13376 fontconfig_save_cflags="$CFLAGS"
13377 LIBS="$LIBS $FREETYPE_LIBS"
13378 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
13379 for ac_func in FT_Get_Next_Char FT_Get_BDF_Property FT_Get_PS_Font_Info FT_Has_PS_Glyph_Names FT_Get_X11_Font_Format FT_Select_Size
13381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13384 cat >>confdefs.h <<_ACEOF
13385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13391 ac_fn_c_check_member "$LINENO" "FT_Bitmap_Size" "y_ppem" "ac_cv_member_FT_Bitmap_Size_y_ppem" "#include <ft2build.h>
13392 #include FT_FREETYPE_H
13394 if test "x$ac_cv_member_FT_Bitmap_Size_y_ppem" = xyes; then :
13395 HAVE_FT_BITMAP_SIZE_Y_PPEM=1
13397 HAVE_FT_BITMAP_SIZE_Y_PPEM=0
13401 cat >>confdefs.h <<_ACEOF
13402 #define HAVE_FT_BITMAP_SIZE_Y_PPEM $HAVE_FT_BITMAP_SIZE_Y_PPEM
13405 CFLAGS="$fontconfig_save_cflags"
13406 LIBS="$fontconfig_save_libs"
13409 # Check expat configuration
13412 # Check whether --with-expat was given.
13413 if test "${with_expat+set}" = set; then :
13414 withval=$with_expat; expat_prefix=$withval
13420 # Check whether --with-expat-includes was given.
13421 if test "${with_expat_includes+set}" = set; then :
13422 withval=$with_expat_includes; expat_includes=$withval
13424 expat_includes=auto
13428 # Check whether --with-expat-lib was given.
13429 if test "${with_expat_lib+set}" = set; then :
13430 withval=$with_expat_lib; expat_lib=$withval
13436 if test "$enable_libxml2" != "yes"; then
13437 use_pkgconfig_for_expat=yes
13438 if test "$expat_prefix" = "auto" -a "$expat_includes" = "auto" -a "$expat_lib" = "auto"; then
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5
13442 $as_echo_n "checking for EXPAT... " >&6; }
13444 if test -n "$EXPAT_CFLAGS"; then
13445 pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS"
13446 elif test -n "$PKG_CONFIG"; then
13447 if test -n "$PKG_CONFIG" && \
13448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
13449 ($PKG_CONFIG --exists --print-errors "expat") 2>&5
13451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13452 test $ac_status = 0; }; then
13453 pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null`
13460 if test -n "$EXPAT_LIBS"; then
13461 pkg_cv_EXPAT_LIBS="$EXPAT_LIBS"
13462 elif test -n "$PKG_CONFIG"; then
13463 if test -n "$PKG_CONFIG" && \
13464 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
13465 ($PKG_CONFIG --exists --print-errors "expat") 2>&5
13467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13468 test $ac_status = 0; }; then
13469 pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null`
13479 if test $pkg_failed = yes; then
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13481 $as_echo "no" >&6; }
13483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13484 _pkg_short_errors_supported=yes
13486 _pkg_short_errors_supported=no
13488 if test $_pkg_short_errors_supported = yes; then
13489 EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "expat" 2>&1`
13491 EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors "expat" 2>&1`
13493 # Put the nasty error message in config.log where it belongs
13494 echo "$EXPAT_PKG_ERRORS" >&5
13496 use_pkgconfig_for_expat=no
13497 elif test $pkg_failed = untried; then
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499 $as_echo "no" >&6; }
13500 use_pkgconfig_for_expat=no
13502 EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS
13503 EXPAT_LIBS=$pkg_cv_EXPAT_LIBS
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13505 $as_echo "yes" >&6; }
13509 use_pkgconfig_for_expat=no
13511 if test "x$use_pkgconfig_for_expat" = "xno"; then
13512 if test "$expat_includes" != "auto" -a -r ${expat_includes}/expat.h; then
13513 EXPAT_CFLAGS="-I${expat_includes}"
13514 elif test "$expat_prefix" != "auto" -a -r ${expat_prefix}/include/expat.h; then
13515 EXPAT_CFLAGS="-I${expat_prefix}/include"
13519 if test "$expat_lib" != "auto"; then
13520 EXPAT_LIBS="-L${expat_lib} -lexpat"
13521 elif test "$expat_prefix" != "auto"; then
13522 EXPAT_LIBS="-L${expat_prefix}/lib -lexpat"
13524 EXPAT_LIBS="-lexpat"
13528 expatsaved_CPPFLAGS="$CPPFLAGS"
13529 expatsaved_LIBS="$LIBS"
13530 CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
13531 LIBS="$LIBS $EXPAT_LIBS"
13533 ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
13534 if test "x$ac_cv_header_expat_h" = xyes; then :
13539 if test "$ac_cv_header_expat_h" = "no"; then
13540 ac_fn_c_check_header_mongrel "$LINENO" "xmlparse.h" "ac_cv_header_xmlparse_h" "$ac_includes_default"
13541 if test "x$ac_cv_header_xmlparse_h" = xyes; then :
13546 if test "$ac_cv_header_xmlparse_h" = "yes"; then
13550 cat >>confdefs.h <<_ACEOF
13551 #define HAVE_XMLPARSE_H $HAVE_XMLPARSE_H
13556 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
13559 for ac_func in XML_SetDoctypeDeclHandler
13561 ac_fn_c_check_func "$LINENO" "XML_SetDoctypeDeclHandler" "ac_cv_func_XML_SetDoctypeDeclHandler"
13562 if test "x$ac_cv_func_XML_SetDoctypeDeclHandler" = xyes; then :
13563 cat >>confdefs.h <<_ACEOF
13564 #define HAVE_XML_SETDOCTYPEDECLHANDLER 1
13570 if test "$ac_cv_func_XML_SetDoctypeDeclHandler" = "no"; then
13572 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
13574 CPPFLAGS="$expatsaved_CPPFLAGS"
13575 LIBS="$expatsaved_LIBS"
13582 # Check libxml2 configuration
13584 # Check whether --enable-libxml2 was given.
13585 if test "${enable_libxml2+set}" = set; then :
13586 enableval=$enable_libxml2;
13590 if test "$enable_libxml2" = "yes"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
13594 $as_echo_n "checking for LIBXML2... " >&6; }
13596 if test -n "$LIBXML2_CFLAGS"; then
13597 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
13598 elif test -n "$PKG_CONFIG"; then
13599 if test -n "$PKG_CONFIG" && \
13600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
13601 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
13603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13604 test $ac_status = 0; }; then
13605 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null`
13612 if test -n "$LIBXML2_LIBS"; then
13613 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
13614 elif test -n "$PKG_CONFIG"; then
13615 if test -n "$PKG_CONFIG" && \
13616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
13617 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
13619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13620 test $ac_status = 0; }; then
13621 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null`
13631 if test $pkg_failed = yes; then
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13633 $as_echo "no" >&6; }
13635 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13636 _pkg_short_errors_supported=yes
13638 _pkg_short_errors_supported=no
13640 if test $_pkg_short_errors_supported = yes; then
13641 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.6" 2>&1`
13643 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.6" 2>&1`
13645 # Put the nasty error message in config.log where it belongs
13646 echo "$LIBXML2_PKG_ERRORS" >&5
13648 as_fn_error $? "Package requirements (libxml-2.0 >= 2.6) were not met:
13650 $LIBXML2_PKG_ERRORS
13652 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13653 installed software in a non-standard prefix.
13655 Alternatively, you may set the environment variables LIBXML2_CFLAGS
13656 and LIBXML2_LIBS to avoid the need to call pkg-config.
13657 See the pkg-config man page for more details." "$LINENO" 5
13659 elif test $pkg_failed = untried; then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13661 $as_echo "no" >&6; }
13662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13664 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13665 is in your PATH or set the PKG_CONFIG environment variable to the full
13666 path to pkg-config.
13668 Alternatively, you may set the environment variables LIBXML2_CFLAGS
13669 and LIBXML2_LIBS to avoid the need to call pkg-config.
13670 See the pkg-config man page for more details.
13672 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13673 See \`config.log' for more details" "$LINENO" 5; }
13676 LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
13677 LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13679 $as_echo "yes" >&6; }
13683 cat >>confdefs.h <<_ACEOF
13684 #define ENABLE_LIBXML2 1
13691 fc_saved_CFLAGS="$CFLAGS"
13692 CFLAGS="$CFLAGS $LIBXML2_CFLAGS"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SAX1 support in libxml2" >&5
13694 $as_echo_n "checking SAX1 support in libxml2... " >&6; }
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13698 #include <libxml/xmlversion.h>
13699 #if !defined(LIBXML_SAX1_ENABLED)
13700 # include "error: No SAX1 support in libxml2"
13704 if ac_fn_c_try_compile "$LINENO"; then :
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13706 $as_echo "found" >&6; }
13709 *** SAX1 support in libxml2 is required. enable it or use expat instead." "$LINENO" 5
13711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13712 CFLAGS="$fc_saved_CFLAGS"
13716 # Set default font directory
13720 # Check whether --with-default-fonts was given.
13721 if test "${with_default_fonts+set}" = set; then :
13722 withval=$with_default_fonts; default_fonts="$withval"
13728 case "$default_fonts" in
13730 if test "$os_win32" = "yes"; then
13731 FC_DEFAULT_FONTS="WINDOWSFONTDIR"
13733 cat >>confdefs.h <<_ACEOF
13734 #define FC_DEFAULT_FONTS "WINDOWSFONTDIR"
13738 FC_DEFAULT_FONTS="/usr/share/fonts"
13740 cat >>confdefs.h <<_ACEOF
13741 #define FC_DEFAULT_FONTS "/usr/share/fonts"
13747 FC_DEFAULT_FONTS="$default_fonts"
13749 cat >>confdefs.h <<_ACEOF
13750 #define FC_DEFAULT_FONTS "$default_fonts"
13759 # Add more fonts if available. By default, add only the directories
13760 # with outline fonts; those with bitmaps can be added as desired in
13761 # local.conf or ~/.fonts.conf
13764 # Check whether --with-add-fonts was given.
13765 if test "${with_add_fonts+set}" = set; then :
13766 withval=$with_add_fonts; add_fonts="$withval"
13772 case "$add_fonts" in
13775 for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
13776 case x"$FC_ADD_FONTS" in
13779 if test -d "$sub"; then
13780 case x$FC_ADD_FONTS in
13782 FC_ADD_FONTS="$sub"
13785 FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
13793 cat >>confdefs.h <<_ACEOF
13794 #define FC_ADD_FONTS "$add_fonts"
13802 FC_ADD_FONTS="$add_fonts"
13804 cat >>confdefs.h <<_ACEOF
13805 #define FC_ADD_FONTS "$add_fonts"
13815 case "$FC_ADD_FONTS" in
13819 FC_FONTPATH=`echo $FC_ADD_FONTS |
13820 sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
13827 # Set default cache directory path
13830 # Check whether --with-cache-dir was given.
13831 if test "${with_cache_dir+set}" = set; then :
13832 withval=$with_cache_dir; fc_cachedir="$withval"
13838 case $fc_cachedir in
13840 if test "$os_win32" = "yes"; then
13841 fc_cachedir="WINDOWSTEMPDIR_FONTCONFIG_CACHE"
13843 fc_cachedir='${localstatedir}/cache/${PACKAGE}'
13850 FC_CACHEDIR=${fc_cachedir}
13853 FC_FONTDATE=`LC_ALL=C date`
13858 # Set configuration paths
13862 # Check whether --with-templatedir was given.
13863 if test "${with_templatedir+set}" = set; then :
13864 withval=$with_templatedir; templatedir="$withval"
13870 # Check whether --with-baseconfigdir was given.
13871 if test "${with_baseconfigdir+set}" = set; then :
13872 withval=$with_baseconfigdir; baseconfigdir="$withval"
13878 # Check whether --with-configdir was given.
13879 if test "${with_configdir+set}" = set; then :
13880 withval=$with_configdir; configdir="$withval"
13886 # Check whether --with-xmldir was given.
13887 if test "${with_xmldir+set}" = set; then :
13888 withval=$with_xmldir; xmldir="$withval"
13894 case "$templatedir" in
13896 templatedir='${datadir}'/fontconfig/conf.avail
13901 case "$baseconfigdir" in
13903 baseconfigdir='${sysconfdir}'/fonts
13908 case "$configdir" in
13910 configdir='${baseconfigdir}'/conf.d
13917 xmldir='${datadir}'/xml/fontconfig
13923 TEMPLATEDIR=${templatedir}
13924 BASECONFIGDIR=${baseconfigdir}
13925 CONFIGDIR=${configdir}
13937 # Let people not build/install docs if they don't have docbook
13940 # Extract the first word of "docbook2html", so it can be a program name with args.
13941 set dummy docbook2html; ac_word=$2
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13943 $as_echo_n "checking for $ac_word... " >&6; }
13944 if ${ac_cv_prog_HASDOCBOOK+:} false; then :
13945 $as_echo_n "(cached) " >&6
13947 if test -n "$HASDOCBOOK"; then
13948 ac_cv_prog_HASDOCBOOK="$HASDOCBOOK" # Let the user override the test.
13950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13951 for as_dir in $PATH
13954 test -z "$as_dir" && as_dir=.
13955 for ac_exec_ext in '' $ac_executable_extensions; do
13956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13957 ac_cv_prog_HASDOCBOOK="yes"
13958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13965 test -z "$ac_cv_prog_HASDOCBOOK" && ac_cv_prog_HASDOCBOOK="no"
13968 HASDOCBOOK=$ac_cv_prog_HASDOCBOOK
13969 if test -n "$HASDOCBOOK"; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASDOCBOOK" >&5
13971 $as_echo "$HASDOCBOOK" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13974 $as_echo "no" >&6; }
13979 if test "x$HASDOCBOOK" = xyes; then
13981 USEDOCBOOK_FALSE='#'
13983 USEDOCBOOK_TRUE='#'
13990 # Check if docs exist or can be created
13992 if test x$HASDOCBOOK = xno; then
13993 if test -f $srcdir/doc/fonts-conf.5; then
14000 # Check whether --enable-docs was given.
14001 if test "${enable_docs+set}" = set; then :
14002 enableval=$enable_docs;
14004 enable_docs=$default_docs
14008 if test "x$enable_docs" = xyes; then
14010 ENABLE_DOCS_FALSE='#'
14012 ENABLE_DOCS_TRUE='#'
14017 if test "x$enable_docs" = xyes; then
14020 cat $srcdir/doc/*.fncs | awk '
14021 /^@TITLE@/ { if (!done) { printf ("%s\n", $2); done = 1; } }
14022 /^@FUNC@/ { if (!done) { printf ("%s\n", $2); done = 1; } }
14023 /^@@/ { done = 0; }' > $tmp
14024 DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'`
14025 echo DOCMAN3 $DOCMAN3
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14037 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14038 if ${ac_cv_c_bigendian+:} false; then :
14039 $as_echo_n "(cached) " >&6
14041 ac_cv_c_bigendian=unknown
14042 # See if we're dealing with a universal compiler.
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14045 #ifndef __APPLE_CC__
14046 not a universal capable compiler
14051 if ac_fn_c_try_compile "$LINENO"; then :
14053 # Check for potential -arch flags. It is not universal unless
14054 # there are at least two -arch flags with different values.
14057 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14058 if test -n "$ac_prev"; then
14060 i?86 | x86_64 | ppc | ppc64)
14061 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14064 ac_cv_c_bigendian=universal
14070 elif test "x$ac_word" = "x-arch"; then
14075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14076 if test $ac_cv_c_bigendian = unknown; then
14077 # See if sys/param.h defines the BYTE_ORDER macro.
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14080 #include <sys/types.h>
14081 #include <sys/param.h>
14086 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14087 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14089 bogus endian macros
14096 if ac_fn_c_try_compile "$LINENO"; then :
14097 # It does; now see whether it defined to BIG_ENDIAN or not.
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 #include <sys/types.h>
14101 #include <sys/param.h>
14106 #if BYTE_ORDER != BIG_ENDIAN
14114 if ac_fn_c_try_compile "$LINENO"; then :
14115 ac_cv_c_bigendian=yes
14117 ac_cv_c_bigendian=no
14119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14123 if test $ac_cv_c_bigendian = unknown; then
14124 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 #include <limits.h>
14132 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14133 bogus endian macros
14140 if ac_fn_c_try_compile "$LINENO"; then :
14141 # It does; now see whether it defined to _BIG_ENDIAN or not.
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14144 #include <limits.h>
14149 #ifndef _BIG_ENDIAN
14157 if ac_fn_c_try_compile "$LINENO"; then :
14158 ac_cv_c_bigendian=yes
14160 ac_cv_c_bigendian=no
14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14166 if test $ac_cv_c_bigendian = unknown; then
14167 # Compile a test program.
14168 if test "$cross_compiling" = yes; then :
14169 # Try to guess by grepping values from an object file.
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 short int ascii_mm[] =
14173 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14174 short int ascii_ii[] =
14175 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14176 int use_ascii (int i) {
14177 return ascii_mm[i] + ascii_ii[i];
14179 short int ebcdic_ii[] =
14180 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14181 short int ebcdic_mm[] =
14182 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14183 int use_ebcdic (int i) {
14184 return ebcdic_mm[i] + ebcdic_ii[i];
14191 return use_ascii (foo) == use_ebcdic (foo);
14196 if ac_fn_c_try_compile "$LINENO"; then :
14197 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14198 ac_cv_c_bigendian=yes
14200 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14201 if test "$ac_cv_c_bigendian" = unknown; then
14202 ac_cv_c_bigendian=no
14204 # finding both strings is unlikely to happen, but who knows?
14205 ac_cv_c_bigendian=unknown
14209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 $ac_includes_default
14218 /* Are we little or big endian? From Harbison&Steele. */
14222 char c[sizeof (long int)];
14225 return u.c[sizeof (long int) - 1] == 1;
14231 if ac_fn_c_try_run "$LINENO"; then :
14232 ac_cv_c_bigendian=no
14234 ac_cv_c_bigendian=yes
14236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14237 conftest.$ac_objext conftest.beam conftest.$ac_ext
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14243 $as_echo "$ac_cv_c_bigendian" >&6; }
14244 case $ac_cv_c_bigendian in #(
14246 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14252 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14256 as_fn_error $? "unknown endianness
14257 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14260 # The cast to long int works around a bug in the HP C Compiler
14261 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14262 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14263 # This bug is HP SR number 8606223364.
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14265 $as_echo_n "checking size of void *... " >&6; }
14266 if ${ac_cv_sizeof_void_p+:} false; then :
14267 $as_echo_n "(cached) " >&6
14269 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14272 if test "$ac_cv_type_void_p" = yes; then
14273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14275 as_fn_error 77 "cannot compute sizeof (void *)
14276 See \`config.log' for more details" "$LINENO" 5; }
14278 ac_cv_sizeof_void_p=0
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14284 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14288 cat >>confdefs.h <<_ACEOF
14289 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14293 # The cast to long int works around a bug in the HP C Compiler,
14294 # see AC_CHECK_SIZEOF for more information.
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
14296 $as_echo_n "checking alignment of double... " >&6; }
14297 if ${ac_cv_alignof_double+:} false; then :
14298 $as_echo_n "(cached) " >&6
14300 if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double" "$ac_includes_default
14302 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14304 typedef struct { char x; double y; } ac__type_alignof_;"; then :
14307 if test "$ac_cv_type_double" = yes; then
14308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14310 as_fn_error 77 "cannot compute alignment of double
14311 See \`config.log' for more details" "$LINENO" 5; }
14313 ac_cv_alignof_double=0
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
14319 $as_echo "$ac_cv_alignof_double" >&6; }
14323 cat >>confdefs.h <<_ACEOF
14324 #define ALIGNOF_DOUBLE $ac_cv_alignof_double
14331 ac_config_files="$ac_config_files Makefile fontconfig/Makefile fc-lang/Makefile fc-glyphname/Makefile fc-case/Makefile src/Makefile conf.d/Makefile fc-cache/Makefile fc-cat/Makefile fc-list/Makefile fc-match/Makefile fc-pattern/Makefile fc-query/Makefile fc-scan/Makefile doc/Makefile doc/version.sgml test/Makefile fontconfig.spec fontconfig.pc fontconfig-zip"
14333 cat >confcache <<\_ACEOF
14334 # This file is a shell script that caches the results of configure
14335 # tests run on this system so they can be shared between configure
14336 # scripts and configure runs, see configure's option --config-cache.
14337 # It is not useful on other systems. If it contains results you don't
14338 # want to keep, you may remove or edit it.
14340 # config.status only pays attention to the cache file if you give it
14341 # the --recheck option to rerun configure.
14343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14345 # following values.
14349 # The following way of writing the cache mishandles newlines in values,
14350 # but we know of no workaround that is simple, portable, and efficient.
14351 # So, we kill variables containing newlines.
14352 # Ultrix sh set writes to stderr and can't be redirected directly,
14353 # and sets the high bit in the cache file unless we assign to the vars.
14355 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14356 eval ac_val=\$$ac_var
14360 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14361 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14364 _ | IFS | as_nl) ;; #(
14365 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14366 *) { eval $ac_var=; unset $ac_var;} ;;
14372 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14373 *${as_nl}ac_space=\ *)
14374 # `set' does not quote correctly, so add quotes: double-quote
14375 # substitution turns \\\\ into \\, and sed turns \\ into \.
14378 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14381 # `set' quotes correctly as required by POSIX, so do not add quotes.
14382 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14393 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14395 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14396 if test -w "$cache_file"; then
14397 if test "x$cache_file" != "x/dev/null"; then
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14399 $as_echo "$as_me: updating cache $cache_file" >&6;}
14400 if test ! -f "$cache_file" || test -h "$cache_file"; then
14401 cat confcache >"$cache_file"
14403 case $cache_file in #(
14405 mv -f confcache "$cache_file"$$ &&
14406 mv -f "$cache_file"$$ "$cache_file" ;; #(
14408 mv -f confcache "$cache_file" ;;
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14414 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14419 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14420 # Let make expand exec_prefix.
14421 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14423 DEFS=-DHAVE_CONFIG_H
14428 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14429 # 1. Remove the extension, and $U if already installed.
14430 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14431 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14432 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14433 # will be set to the directory where LIBOBJS objects are built.
14434 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14435 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14437 LIBOBJS=$ac_libobjs
14439 LTLIBOBJS=$ac_ltlibobjs
14442 if test -n "$EXEEXT"; then
14444 am__EXEEXT_FALSE='#'
14446 am__EXEEXT_TRUE='#'
14450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14451 as_fn_error $? "conditional \"AMDEP\" was never defined.
14452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14454 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14455 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14458 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14459 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14462 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
14463 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
14464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14466 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
14467 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
14468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14470 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
14471 as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
14472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14474 if test -z "${USEDOCBOOK_TRUE}" && test -z "${USEDOCBOOK_FALSE}"; then
14475 as_fn_error $? "conditional \"USEDOCBOOK\" was never defined.
14476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14478 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
14479 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
14480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14484 : "${CONFIG_STATUS=./config.status}"
14486 ac_clean_files_save=$ac_clean_files
14487 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14489 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14491 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14493 # Generated by $as_me.
14494 # Run this file to recreate the current configuration.
14495 # Compiler output produced by configure, useful for debugging
14496 # configure, is in config.log if it exists.
14499 ac_cs_recheck=false
14502 SHELL=\${CONFIG_SHELL-$SHELL}
14505 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14506 ## -------------------- ##
14507 ## M4sh Initialization. ##
14508 ## -------------------- ##
14510 # Be more Bourne compatible
14511 DUALCASE=1; export DUALCASE # for MKS sh
14512 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14515 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14516 # is contrary to our usage. Disable this feature.
14517 alias -g '${1+"$@"}'='"$@"'
14518 setopt NO_GLOB_SUBST
14520 case `(set -o) 2>/dev/null` in #(
14532 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14533 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14534 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14535 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14536 # Prefer a ksh shell builtin over an external printf program on Solaris,
14537 # but without wasting forks for bash or zsh.
14538 if test -z "$BASH_VERSION$ZSH_VERSION" \
14539 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14540 as_echo='print -r --'
14541 as_echo_n='print -rn --'
14542 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14543 as_echo='printf %s\n'
14544 as_echo_n='printf %s'
14546 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14547 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14548 as_echo_n='/usr/ucb/echo -n'
14550 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14551 as_echo_n_body='eval
14555 expr "X$arg" : "X\\(.*\\)$as_nl";
14556 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14558 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14560 export as_echo_n_body
14561 as_echo_n='sh -c $as_echo_n_body as_echo'
14563 export as_echo_body
14564 as_echo='sh -c $as_echo_body as_echo'
14567 # The user is always right.
14568 if test "${PATH_SEPARATOR+set}" != set; then
14570 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14571 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14578 # We need space, tab and new line, in precisely that order. Quoting is
14579 # there to prevent editors from complaining about space-tab.
14580 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14581 # splitting by setting IFS to empty value.)
14584 # Find who we are. Look in the path if we contain no directory separator.
14587 *[\\/]* ) as_myself=$0 ;;
14588 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14589 for as_dir in $PATH
14592 test -z "$as_dir" && as_dir=.
14593 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14599 # We did not find ourselves, most probably we were run as `sh COMMAND'
14600 # in which case we are not to be found in the path.
14601 if test "x$as_myself" = x; then
14604 if test ! -f "$as_myself"; then
14605 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14609 # Unset variables that we do not need and which cause bugs (e.g. in
14610 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14611 # suppresses any "Segmentation fault" message there. '((' could
14612 # trigger a bug in pdksh 5.2.14.
14613 for as_var in BASH_ENV ENV MAIL MAILPATH
14614 do eval test x\${$as_var+set} = xset \
14615 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14628 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14631 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14632 # ----------------------------------------
14633 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14634 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14635 # script with STATUS, using 1 if that was 0.
14638 as_status=$1; test $as_status -eq 0 && as_status=1
14640 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14641 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14643 $as_echo "$as_me: error: $2" >&2
14644 as_fn_exit $as_status
14648 # as_fn_set_status STATUS
14649 # -----------------------
14650 # Set $? to STATUS, without forking.
14651 as_fn_set_status ()
14654 } # as_fn_set_status
14656 # as_fn_exit STATUS
14657 # -----------------
14658 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14662 as_fn_set_status $1
14668 # Portably unset VAR.
14671 { eval $1=; unset $1;}
14673 as_unset=as_fn_unset
14674 # as_fn_append VAR VALUE
14675 # ----------------------
14676 # Append the text in VALUE to the end of the definition contained in VAR. Take
14677 # advantage of any shell optimizations that allow amortized linear growth over
14678 # repeated appends, instead of the typical quadratic growth present in naive
14680 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14681 eval 'as_fn_append ()
14692 # as_fn_arith ARG...
14693 # ------------------
14694 # Perform arithmetic evaluation on the ARGs, and store the result in the
14695 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14696 # must be portable across $(()) and expr.
14697 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14698 eval 'as_fn_arith ()
14705 as_val=`expr "$@" || test $? -eq 1`
14710 if expr a : '\(a\)' >/dev/null 2>&1 &&
14711 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14717 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14718 as_basename=basename
14723 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14729 as_me=`$as_basename -- "$0" ||
14730 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14731 X"$0" : 'X\(//\)$' \| \
14732 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14734 sed '/^.*\/\([^/][^/]*\)\/*$/{
14748 # Avoid depending upon Character Ranges.
14749 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14750 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14751 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14752 as_cr_digits='0123456789'
14753 as_cr_alnum=$as_cr_Letters$as_cr_digits
14755 ECHO_C= ECHO_N= ECHO_T=
14756 case `echo -n x` in #(((((
14758 case `echo 'xy\c'` in
14759 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14761 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14768 rm -f conf$$ conf$$.exe conf$$.file
14769 if test -d conf$$.dir; then
14770 rm -f conf$$.dir/conf$$.file
14773 mkdir conf$$.dir 2>/dev/null
14775 if (echo >conf$$.file) 2>/dev/null; then
14776 if ln -s conf$$.file conf$$ 2>/dev/null; then
14778 # ... but there are two gotchas:
14779 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14780 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14781 # In both cases, we have to default to `cp -p'.
14782 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14784 elif ln conf$$.file conf$$ 2>/dev/null; then
14792 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14793 rmdir conf$$.dir 2>/dev/null
14798 # Create "$as_dir" as a directory, including parents if necessary.
14803 -*) as_dir=./$as_dir;;
14805 test -d "$as_dir" || eval $as_mkdir_p || {
14809 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14810 *) as_qdir=$as_dir;;
14812 as_dirs="'$as_qdir' $as_dirs"
14813 as_dir=`$as_dirname -- "$as_dir" ||
14814 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14815 X"$as_dir" : 'X\(//\)[^/]' \| \
14816 X"$as_dir" : 'X\(//\)$' \| \
14817 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14818 $as_echo X"$as_dir" |
14819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14823 /^X\(\/\/\)[^/].*/{
14836 test -d "$as_dir" && break
14838 test -z "$as_dirs" || eval "mkdir $as_dirs"
14839 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14843 if mkdir -p . 2>/dev/null; then
14844 as_mkdir_p='mkdir -p "$as_dir"'
14846 test -d ./-p && rmdir ./-p
14850 if test -x / >/dev/null 2>&1; then
14851 as_test_x='test -x'
14853 if ls -dL / >/dev/null 2>&1; then
14860 if test -d "$1"; then
14866 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14867 ???[sx]*):;;*)false;;esac;fi
14871 as_executable_p=$as_test_x
14873 # Sed expression to map a string onto a valid CPP name.
14874 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14876 # Sed expression to map a string onto a valid variable name.
14877 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14881 ## ----------------------------------- ##
14882 ## Main body of $CONFIG_STATUS script. ##
14883 ## ----------------------------------- ##
14885 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14888 # Save the log message, to keep $0 and so on meaningful, and to
14889 # report actual input values of CONFIG_FILES etc. instead of their
14890 # values after options handling.
14892 This file was extended by $as_me, which was
14893 generated by GNU Autoconf 2.68. Invocation command line was
14895 CONFIG_FILES = $CONFIG_FILES
14896 CONFIG_HEADERS = $CONFIG_HEADERS
14897 CONFIG_LINKS = $CONFIG_LINKS
14898 CONFIG_COMMANDS = $CONFIG_COMMANDS
14901 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14906 case $ac_config_files in *"
14907 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14910 case $ac_config_headers in *"
14911 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14916 # Files that config.status was made for.
14917 config_files="$ac_config_files"
14918 config_headers="$ac_config_headers"
14919 config_commands="$ac_config_commands"
14923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14925 \`$as_me' instantiates files and other configuration actions
14926 from templates according to the current configuration. Unless the files
14927 and actions are specified as TAGs, all are instantiated by default.
14929 Usage: $0 [OPTION]... [TAG]...
14931 -h, --help print this help, then exit
14932 -V, --version print version number and configuration settings, then exit
14933 --config print configuration, then exit
14934 -q, --quiet, --silent
14935 do not print progress messages
14936 -d, --debug don't remove temporary files
14937 --recheck update $as_me by reconfiguring in the same conditions
14938 --file=FILE[:TEMPLATE]
14939 instantiate the configuration file FILE
14940 --header=FILE[:TEMPLATE]
14941 instantiate the configuration header FILE
14943 Configuration files:
14946 Configuration headers:
14949 Configuration commands:
14952 Report bugs to the package provider."
14955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14956 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14959 configured by $0, generated by GNU Autoconf 2.68,
14960 with options \\"\$ac_cs_config\\"
14962 Copyright (C) 2010 Free Software Foundation, Inc.
14963 This config.status script is free software; the Free Software Foundation
14964 gives unlimited permission to copy, distribute and modify it."
14971 test -n "\$AWK" || AWK=awk
14974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14975 # The default lists apply if the user does not specify any file.
14981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14982 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14986 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14998 # Handling of the options.
14999 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15001 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15002 $as_echo "$ac_cs_version"; exit ;;
15003 --config | --confi | --conf | --con | --co | --c )
15004 $as_echo "$ac_cs_config"; exit ;;
15005 --debug | --debu | --deb | --de | --d | -d )
15007 --file | --fil | --fi | --f )
15010 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15011 '') as_fn_error $? "missing file argument" ;;
15013 as_fn_append CONFIG_FILES " '$ac_optarg'"
15014 ac_need_defaults=false;;
15015 --header | --heade | --head | --hea )
15018 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15020 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15021 ac_need_defaults=false;;
15023 # Conflict between --help and --header
15024 as_fn_error $? "ambiguous option: \`$1'
15025 Try \`$0 --help' for more information.";;
15026 --help | --hel | -h )
15027 $as_echo "$ac_cs_usage"; exit ;;
15028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15029 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15032 # This is an error.
15033 -*) as_fn_error $? "unrecognized option: \`$1'
15034 Try \`$0 --help' for more information." ;;
15036 *) as_fn_append ac_config_targets " $1"
15037 ac_need_defaults=false ;;
15043 ac_configure_extra_args=
15045 if $ac_cs_silent; then
15047 ac_configure_extra_args="$ac_configure_extra_args --silent"
15051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15052 if \$ac_cs_recheck; then
15053 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15055 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15056 CONFIG_SHELL='$SHELL'
15057 export CONFIG_SHELL
15062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15066 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15067 ## Running $as_me. ##
15073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15077 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15080 # The HP-UX ksh and POSIX shell print the target directory to stdout
15081 # if CDPATH is set.
15082 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15084 sed_quote_subst='$sed_quote_subst'
15085 double_quote_subst='$double_quote_subst'
15086 delay_variable_subst='$delay_variable_subst'
15087 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15088 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15089 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15090 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15091 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15092 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15093 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15094 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15095 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15096 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15097 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15098 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15099 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15100 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15101 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15102 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15103 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15104 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15105 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15106 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15107 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15108 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15109 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15110 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15111 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15112 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15113 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15114 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15115 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15116 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15117 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15118 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15119 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15120 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15121 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15122 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15123 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15124 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15125 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15126 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15127 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15128 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15129 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15130 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15131 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15132 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15133 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15134 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15135 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15136 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15137 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15138 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15139 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15140 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15141 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15142 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15143 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15144 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15145 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15146 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15147 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15148 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15149 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15150 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15151 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15152 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15153 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15154 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15155 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15156 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15157 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15158 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15159 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15160 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15161 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15162 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15163 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15164 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15165 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15166 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15167 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15168 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15169 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15170 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15171 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15172 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15173 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15174 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15175 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15176 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15177 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15178 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15179 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15180 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15181 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15182 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15183 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15184 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15185 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15186 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15187 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15188 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15189 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15190 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15191 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15192 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15193 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15194 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15195 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15196 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15197 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15198 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15199 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15200 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15201 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15202 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15203 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15204 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15205 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15206 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15207 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15208 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15209 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15210 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15211 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15212 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15213 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15214 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15215 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15216 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15217 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15220 LTCFLAGS='$LTCFLAGS'
15221 compiler='$compiler_DEFAULT'
15223 # A function that is used when there is no print builtin or printf.
15224 func_fallback_echo ()
15226 eval 'cat <<_LTECHO_EOF
15231 # Quote evaled strings.
15248 deplibs_check_method \
15252 sharedlib_from_linklib_cmd \
15255 archiver_list_spec \
15261 lt_cv_sys_global_symbol_pipe \
15262 lt_cv_sys_global_symbol_to_cdecl \
15263 lt_cv_sys_global_symbol_to_c_name_address \
15264 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15265 nm_file_list_spec \
15266 lt_prog_compiler_no_builtin_flag \
15267 lt_prog_compiler_pic \
15268 lt_prog_compiler_wl \
15269 lt_prog_compiler_static \
15270 lt_cv_prog_compiler_c_o \
15279 export_dynamic_flag_spec \
15280 whole_archive_flag_spec \
15281 compiler_needs_object \
15283 allow_undefined_flag \
15284 no_undefined_flag \
15285 hardcode_libdir_flag_spec \
15286 hardcode_libdir_separator \
15290 variables_saved_for_relink \
15292 library_names_spec \
15294 install_override_mode \
15298 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15299 *[\\\\\\\`\\"\\\$]*)
15300 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15303 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15308 # Double-quote double-evaled strings.
15309 for var in reload_cmds \
15310 old_postinstall_cmds \
15311 old_postuninstall_cmds \
15313 extract_expsyms_cmds \
15314 old_archive_from_new_cmds \
15315 old_archive_from_expsyms_cmds \
15317 archive_expsym_cmds \
15319 module_expsym_cmds \
15320 export_symbols_cmds \
15324 postuninstall_cmds \
15326 sys_lib_search_path_spec \
15327 sys_lib_dlsearch_path_spec; do
15328 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15329 *[\\\\\\\`\\"\\\$]*)
15330 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15333 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15338 ac_aux_dir='$ac_aux_dir'
15339 xsi_shell='$xsi_shell'
15340 lt_shell_append='$lt_shell_append'
15342 # See if we are running on zsh, and set the options which allow our
15343 # commands through without removal of \ escapes INIT.
15344 if test -n "\${ZSH_VERSION+set}" ; then
15345 setopt NO_GLOB_SUBST
15351 TIMESTAMP='$TIMESTAMP'
15360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15362 # Handling of arguments.
15363 for ac_config_target in $ac_config_targets
15365 case $ac_config_target in
15366 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15367 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15368 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15369 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15370 "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;;
15371 "fc-lang/Makefile") CONFIG_FILES="$CONFIG_FILES fc-lang/Makefile" ;;
15372 "fc-glyphname/Makefile") CONFIG_FILES="$CONFIG_FILES fc-glyphname/Makefile" ;;
15373 "fc-case/Makefile") CONFIG_FILES="$CONFIG_FILES fc-case/Makefile" ;;
15374 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15375 "conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES conf.d/Makefile" ;;
15376 "fc-cache/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cache/Makefile" ;;
15377 "fc-cat/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cat/Makefile" ;;
15378 "fc-list/Makefile") CONFIG_FILES="$CONFIG_FILES fc-list/Makefile" ;;
15379 "fc-match/Makefile") CONFIG_FILES="$CONFIG_FILES fc-match/Makefile" ;;
15380 "fc-pattern/Makefile") CONFIG_FILES="$CONFIG_FILES fc-pattern/Makefile" ;;
15381 "fc-query/Makefile") CONFIG_FILES="$CONFIG_FILES fc-query/Makefile" ;;
15382 "fc-scan/Makefile") CONFIG_FILES="$CONFIG_FILES fc-scan/Makefile" ;;
15383 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15384 "doc/version.sgml") CONFIG_FILES="$CONFIG_FILES doc/version.sgml" ;;
15385 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15386 "fontconfig.spec") CONFIG_FILES="$CONFIG_FILES fontconfig.spec" ;;
15387 "fontconfig.pc") CONFIG_FILES="$CONFIG_FILES fontconfig.pc" ;;
15388 "fontconfig-zip") CONFIG_FILES="$CONFIG_FILES fontconfig-zip" ;;
15390 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15395 # If the user did not use the arguments to specify the items to instantiate,
15396 # then the envvar interface is used. Set only those that are not.
15397 # We use the long form for the default assignment because of an extremely
15398 # bizarre bug on SunOS 4.1.3.
15399 if $ac_need_defaults; then
15400 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15401 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15402 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15405 # Have a temporary directory for convenience. Make it in the build tree
15406 # simply because there is no reason against having it here, and in addition,
15407 # creating and moving files from /tmp can sometimes cause problems.
15408 # Hook for its removal unless debugging.
15409 # Note that there is a small window in which the directory will not be cleaned:
15410 # after its creation but before its name has been assigned to `$tmp'.
15414 trap 'exit_status=$?
15415 : "${ac_tmp:=$tmp}"
15416 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15418 trap 'as_fn_exit 1' 1 2 13 15
15420 # Create a (secure) tmp directory for tmp files.
15423 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15427 tmp=./conf$$-$RANDOM
15428 (umask 077 && mkdir "$tmp")
15429 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15432 # Set up the scripts for CONFIG_FILES section.
15433 # No need to generate them if there are no CONFIG_FILES.
15434 # This happens for instance with `./config.status config.h'.
15435 if test -n "$CONFIG_FILES"; then
15438 ac_cr=`echo X | tr X '\015'`
15439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15440 # But we know of no other shell where ac_cr would be empty at this
15441 # point, so we can use a bashism as a fallback.
15442 if test "x$ac_cr" = x; then
15443 eval ac_cr=\$\'\\r\'
15445 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15449 ac_cs_awk_cr=$ac_cr
15452 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15457 echo "cat >conf$$subs.awk <<_ACEOF" &&
15458 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15460 } >conf$$subs.sh ||
15461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15464 for ac_last_try in false false false false false :; do
15465 . ./conf$$subs.sh ||
15466 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15468 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15469 if test $ac_delim_n = $ac_delim_num; then
15471 elif $ac_last_try; then
15472 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15474 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15477 rm -f conf$$subs.sh
15479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15480 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15484 s/^/S["/; s/!.*/"]=/
15494 s/\(.\{148\}\)..*/\1/
15496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15508 s/\(.\{148\}\)..*/\1/
15510 s/["\\]/\\&/g; s/^/"/; s/$/"/
15514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15519 ' <conf$$subs.awk | sed '
15524 ' >>$CONFIG_STATUS || ac_write_fail=1
15525 rm -f conf$$subs.awk
15526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15528 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15529 for (key in S) S_is_set[key] = 1
15535 nfields = split(line, field, "@")
15537 len = length(field[1])
15538 for (i = 2; i < nfields; i++) {
15540 keylen = length(key)
15541 if (S_is_set[key]) {
15543 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15544 len += length(value) + length(field[++i])
15555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15557 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15560 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15561 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15564 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15565 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15566 # trailing colons and then remove the whole line if VPATH becomes empty
15567 # (actually we leave an empty line to preserve line numbers).
15568 if test "x$srcdir" = x.; then
15569 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15588 fi # test -n "$CONFIG_FILES"
15590 # Set up the scripts for CONFIG_HEADERS section.
15591 # No need to generate them if there are no CONFIG_HEADERS.
15592 # This happens for instance with `./config.status Makefile'.
15593 if test -n "$CONFIG_HEADERS"; then
15594 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15598 # Transform confdefs.h into an awk script `defines.awk', embedded as
15599 # here-document in config.status, that substitutes the proper values into
15600 # config.h.in to produce config.h.
15602 # Create a delimiter string that does not exist in confdefs.h, to ease
15603 # handling of long lines.
15605 for ac_last_try in false false :; do
15606 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15607 if test -z "$ac_tt"; then
15609 elif $ac_last_try; then
15610 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15612 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15616 # For the awk script, D is an array of macro values keyed by name,
15617 # likewise P contains macro parameters if any. Preserve backslash
15618 # newline sequences.
15620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15622 s/.\{148\}/&'"$ac_delim"'/g
15625 s/^[ ]*#[ ]*define[ ][ ]*/ /
15632 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15639 D["\1"]=" \3\\\\\\n"\\/p
15641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15646 s/.\{148\}/&'"$ac_delim"'/g
15651 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15654 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15656 ' <confdefs.h | sed '
15657 s/'"$ac_delim"'/"\\\
15658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15661 for (key in D) D_is_set[key] = 1
15664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15666 split(line, arg, " ")
15667 if (arg[1] == "#") {
15671 defundef = substr(arg[1], 2)
15674 split(mac1, mac2, "(") #)
15676 prefix = substr(line, 1, index(line, defundef) - 1)
15677 if (D_is_set[macro]) {
15678 # Preserve the white space surrounding the "#".
15679 print prefix "define", macro P[macro] D[macro]
15682 # Replace #undef with comments. This is necessary, for example,
15683 # in the case of _POSIX_SOURCE, which is predefined and required
15684 # on some systems where configure will not decide to define it.
15685 if (defundef == "undef") {
15686 print "/*", prefix defundef, macro, "*/"
15694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15695 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15696 fi # test -n "$CONFIG_HEADERS"
15699 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15704 :[FHLC]) ac_mode=$ac_tag; continue;;
15706 case $ac_mode$ac_tag in
15708 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15709 :[FH]-) ac_tag=-:-;;
15710 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15727 -) ac_f="$ac_tmp/stdin";;
15728 *) # Look for the file first in the build tree, then in the source tree
15729 # (if the path is not absolute). The absolute path cannot be DOS-style,
15730 # because $ac_f cannot contain `:'.
15734 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15736 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15738 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15739 as_fn_append ac_file_inputs " '$ac_f'"
15742 # Let's still pretend it is `configure' which instantiates (i.e., don't
15743 # use $as_me), people would be surprised to read:
15744 # /* config.h. Generated by config.status. */
15745 configure_input='Generated from '`
15746 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15748 if test x"$ac_file" != x-; then
15749 configure_input="$ac_file. $configure_input"
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15751 $as_echo "$as_me: creating $ac_file" >&6;}
15753 # Neutralize special characters interpreted by sed in replacement strings.
15754 case $configure_input in #(
15755 *\&* | *\|* | *\\* )
15756 ac_sed_conf_input=`$as_echo "$configure_input" |
15757 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15758 *) ac_sed_conf_input=$configure_input;;
15762 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15763 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15768 ac_dir=`$as_dirname -- "$ac_file" ||
15769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15770 X"$ac_file" : 'X\(//\)[^/]' \| \
15771 X"$ac_file" : 'X\(//\)$' \| \
15772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15773 $as_echo X"$ac_file" |
15774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15778 /^X\(\/\/\)[^/].*/{
15791 as_dir="$ac_dir"; as_fn_mkdir_p
15795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15797 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15798 # A ".." for each directory in $ac_dir_suffix.
15799 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15800 case $ac_top_builddir_sub in
15801 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15802 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15805 ac_abs_top_builddir=$ac_pwd
15806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15807 # for backward compatibility:
15808 ac_top_builddir=$ac_top_build_prefix
15811 .) # We are building in place.
15813 ac_top_srcdir=$ac_top_builddir_sub
15814 ac_abs_top_srcdir=$ac_pwd ;;
15815 [\\/]* | ?:[\\/]* ) # Absolute name.
15816 ac_srcdir=$srcdir$ac_dir_suffix;
15817 ac_top_srcdir=$srcdir
15818 ac_abs_top_srcdir=$srcdir ;;
15819 *) # Relative name.
15820 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15821 ac_top_srcdir=$ac_top_build_prefix$srcdir
15822 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15834 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15835 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15837 ac_MKDIR_P=$MKDIR_P
15839 [\\/$]* | ?:[\\/]* ) ;;
15840 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15845 # If the template does not know about datarootdir, expand it.
15846 # FIXME: This hack should be removed a few years after 2.60.
15847 ac_datarootdir_hack=; ac_datarootdir_seen=
15858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15859 *datarootdir*) ac_datarootdir_seen=yes;;
15860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15862 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15865 ac_datarootdir_hack='
15866 s&@datadir@&$datadir&g
15867 s&@docdir@&$docdir&g
15868 s&@infodir@&$infodir&g
15869 s&@localedir@&$localedir&g
15870 s&@mandir@&$mandir&g
15871 s&\\\${datarootdir}&$datarootdir&g' ;;
15875 # Neutralize VPATH when `$srcdir' = `.'.
15876 # Shell code in configure.ac might set extrasub.
15877 # FIXME: do we really want to maintain this feature?
15878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15879 ac_sed_extra="$ac_vpsub
15882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15885 s|@configure_input@|$ac_sed_conf_input|;t t
15886 s&@top_builddir@&$ac_top_builddir_sub&;t t
15887 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15888 s&@srcdir@&$ac_srcdir&;t t
15889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15890 s&@top_srcdir@&$ac_top_srcdir&;t t
15891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15892 s&@builddir@&$ac_builddir&;t t
15893 s&@abs_builddir@&$ac_abs_builddir&;t t
15894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15895 s&@INSTALL@&$ac_INSTALL&;t t
15896 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15897 $ac_datarootdir_hack
15899 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15900 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15902 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15903 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15904 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15905 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15907 which seems to be undefined. Please make sure it is defined" >&5
15908 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15909 which seems to be undefined. Please make sure it is defined" >&2;}
15911 rm -f "$ac_tmp/stdin"
15913 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15914 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15922 if test x"$ac_file" != x-; then
15924 $as_echo "/* $configure_input */" \
15925 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15926 } >"$ac_tmp/config.h" \
15927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15928 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15930 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15933 mv "$ac_tmp/config.h" "$ac_file" \
15934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15937 $as_echo "/* $configure_input */" \
15938 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15939 || as_fn_error $? "could not create -" "$LINENO" 5
15941 # Compute "$ac_file"'s index in $config_headers.
15944 for _am_header in $config_headers :; do
15945 case $_am_header in
15946 $_am_arg | $_am_arg:* )
15949 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15952 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15953 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15954 X"$_am_arg" : 'X\(//\)[^/]' \| \
15955 X"$_am_arg" : 'X\(//\)$' \| \
15956 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15957 $as_echo X"$_am_arg" |
15958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15962 /^X\(\/\/\)[^/].*/{
15974 s/.*/./; q'`/stamp-h$_am_stamp_count
15977 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15978 $as_echo "$as_me: executing $ac_file commands" >&6;}
15983 case $ac_file$ac_mode in
15984 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15985 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15986 # are listed without --file. Let's play safe and only enable the eval
15987 # if we detect the quoting.
15988 case $CONFIG_FILES in
15989 *\'*) eval set x "$CONFIG_FILES" ;;
15990 *) set x $CONFIG_FILES ;;
15995 # Strip MF so we end up with the name of the file.
15996 mf=`echo "$mf" | sed -e 's/:.*$//'`
15997 # Check whether this is an Automake generated Makefile or not.
15998 # We used to match only the files named `Makefile.in', but
15999 # some people rename them; so instead we look at the file content.
16000 # Grep'ing the first line is not enough: some people post-process
16001 # each Makefile.in and add a new line on top of each file to say so.
16002 # Grep'ing the whole file is not good either: AIX grep has a line
16003 # limit of 2048, but all sed's we know have understand at least 4000.
16004 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16005 dirpart=`$as_dirname -- "$mf" ||
16006 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16007 X"$mf" : 'X\(//\)[^/]' \| \
16008 X"$mf" : 'X\(//\)$' \| \
16009 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16015 /^X\(\/\/\)[^/].*/{
16031 # Extract the definition of DEPDIR, am__include, and am__quote
16032 # from the Makefile without running `make'.
16033 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16034 test -z "$DEPDIR" && continue
16035 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16036 test -z "am__include" && continue
16037 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16038 # When using ansi2knr, U may be empty or an underscore; expand it
16039 U=`sed -n 's/^U = //p' < "$mf"`
16040 # Find all dependency output files, they are included files with
16041 # $(DEPDIR) in their names. We invoke sed twice because it is the
16042 # simplest approach to changing $(DEPDIR) to its actual value in the
16044 for file in `sed -n "
16045 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16046 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16047 # Make sure the directory exists.
16048 test -f "$dirpart/$file" && continue
16049 fdir=`$as_dirname -- "$file" ||
16050 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16051 X"$file" : 'X\(//\)[^/]' \| \
16052 X"$file" : 'X\(//\)$' \| \
16053 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16054 $as_echo X"$file" |
16055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16059 /^X\(\/\/\)[^/].*/{
16072 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16073 # echo "creating $dirpart/$file"
16074 echo '# dummy' > "$dirpart/$file"
16081 # See if we are running on zsh, and set the options which allow our
16082 # commands through without removal of \ escapes.
16083 if test -n "${ZSH_VERSION+set}" ; then
16084 setopt NO_GLOB_SUBST
16087 cfgfile="${ofile}T"
16088 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16091 cat <<_LT_EOF >> "$cfgfile"
16094 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16095 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16096 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16097 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16099 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16100 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16102 # Written by Gordon Matzigkeit, 1996
16104 # This file is part of GNU Libtool.
16106 # GNU Libtool is free software; you can redistribute it and/or
16107 # modify it under the terms of the GNU General Public License as
16108 # published by the Free Software Foundation; either version 2 of
16109 # the License, or (at your option) any later version.
16111 # As a special exception to the GNU General Public License,
16112 # if you distribute this file as part of a program or library that
16113 # is built using GNU Libtool, you may include this file under the
16114 # same distribution terms that you use for the rest of that program.
16116 # GNU Libtool is distributed in the hope that it will be useful,
16117 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16118 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16119 # GNU General Public License for more details.
16121 # You should have received a copy of the GNU General Public License
16122 # along with GNU Libtool; see the file COPYING. If not, a copy
16123 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16124 # obtained by writing to the Free Software Foundation, Inc.,
16125 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16128 # The names of the tagged configurations supported by this script.
16131 # ### BEGIN LIBTOOL CONFIG
16133 # Assembler program.
16136 # DLL creation program.
16137 DLLTOOL=$lt_DLLTOOL
16139 # Object dumper program.
16140 OBJDUMP=$lt_OBJDUMP
16142 # Which release of libtool.m4 was used?
16143 macro_version=$macro_version
16144 macro_revision=$macro_revision
16146 # Whether or not to build shared libraries.
16147 build_libtool_libs=$enable_shared
16149 # Whether or not to build static libraries.
16150 build_old_libs=$enable_static
16152 # What type of objects to build.
16155 # Whether or not to optimize for fast installation.
16156 fast_install=$enable_fast_install
16158 # Shell to use when invoking shell scripts.
16161 # An echo program that protects backslashes.
16164 # The PATH separator for the build system.
16165 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16168 host_alias=$host_alias
16172 # The build system.
16173 build_alias=$build_alias
16177 # A sed program that does not truncate output.
16180 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16181 Xsed="\$SED -e 1s/^X//"
16183 # A grep program that handles long lines.
16189 # A literal string matcher.
16192 # A BSD- or MS-compatible name lister.
16195 # Whether we need soft or hard links.
16198 # What is the maximum length of a command?
16199 max_cmd_len=$max_cmd_len
16201 # Object file suffix (normally "o").
16204 # Executable file suffix (normally "").
16207 # whether the shell understands "unset".
16210 # turn spaces into newlines.
16213 # turn newlines into spaces.
16216 # convert \$build file names to \$host format.
16217 to_host_file_cmd=$lt_cv_to_host_file_cmd
16219 # convert \$build files to toolchain format.
16220 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16222 # Method to check whether dependent libraries are shared objects.
16223 deplibs_check_method=$lt_deplibs_check_method
16225 # Command to use when deplibs_check_method = "file_magic".
16226 file_magic_cmd=$lt_file_magic_cmd
16228 # How to find potential files when deplibs_check_method = "file_magic".
16229 file_magic_glob=$lt_file_magic_glob
16231 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16232 want_nocaseglob=$lt_want_nocaseglob
16234 # Command to associate shared and link libraries.
16235 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16240 # Flags to create an archive.
16241 AR_FLAGS=$lt_AR_FLAGS
16243 # How to feed a file listing to the archiver.
16244 archiver_list_spec=$lt_archiver_list_spec
16246 # A symbol stripping program.
16249 # Commands used to install an old-style archive.
16251 old_postinstall_cmds=$lt_old_postinstall_cmds
16252 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16254 # Whether to use a lock for old archive extraction.
16255 lock_old_archive_extraction=$lock_old_archive_extraction
16260 # LTCC compiler flags.
16261 LTCFLAGS=$lt_CFLAGS
16263 # Take the output of nm and produce a listing of raw symbols and C names.
16264 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16266 # Transform the output of nm in a proper C declaration.
16267 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16269 # Transform the output of nm in a C name address pair.
16270 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16272 # Transform the output of nm in a C name address pair when lib prefix is needed.
16273 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16275 # Specify filename containing input files for \$NM.
16276 nm_file_list_spec=$lt_nm_file_list_spec
16278 # The root where to search for dependent libraries,and in which our libraries should be installed.
16279 lt_sysroot=$lt_sysroot
16281 # The name of the directory that contains temporary libtool files.
16284 # Used to examine libraries when file_magic_cmd begins with "file".
16285 MAGIC_CMD=$MAGIC_CMD
16287 # Must we lock files when doing compilation?
16288 need_locks=$lt_need_locks
16291 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16293 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16294 DSYMUTIL=$lt_DSYMUTIL
16296 # Tool to change global to local symbols on Mac OS X.
16299 # Tool to manipulate fat objects and archives on Mac OS X.
16302 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16305 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16306 OTOOL64=$lt_OTOOL64
16308 # Old archive suffix (normally "a").
16311 # Shared library suffix (normally ".so").
16312 shrext_cmds=$lt_shrext_cmds
16314 # The commands to extract the exported symbol list from a shared archive.
16315 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16317 # Variables whose values should be saved in libtool wrapper scripts and
16318 # restored at link time.
16319 variables_saved_for_relink=$lt_variables_saved_for_relink
16321 # Do we need the "lib" prefix for modules?
16322 need_lib_prefix=$need_lib_prefix
16324 # Do we need a version for libraries?
16325 need_version=$need_version
16327 # Library versioning type.
16328 version_type=$version_type
16330 # Shared library runtime path variable.
16331 runpath_var=$runpath_var
16333 # Shared library path variable.
16334 shlibpath_var=$shlibpath_var
16336 # Is shlibpath searched before the hard-coded library search path?
16337 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16339 # Format of library name prefix.
16340 libname_spec=$lt_libname_spec
16342 # List of archive names. First name is the real one, the rest are links.
16343 # The last name is the one that the linker finds with -lNAME
16344 library_names_spec=$lt_library_names_spec
16346 # The coded name of the library, if different from the real name.
16347 soname_spec=$lt_soname_spec
16349 # Permission mode override for installation of shared libraries.
16350 install_override_mode=$lt_install_override_mode
16352 # Command to use after installation of a shared archive.
16353 postinstall_cmds=$lt_postinstall_cmds
16355 # Command to use after uninstallation of a shared archive.
16356 postuninstall_cmds=$lt_postuninstall_cmds
16358 # Commands used to finish a libtool library installation in a directory.
16359 finish_cmds=$lt_finish_cmds
16361 # As "finish_cmds", except a single script fragment to be evaled but
16363 finish_eval=$lt_finish_eval
16365 # Whether we should hardcode library paths into libraries.
16366 hardcode_into_libs=$hardcode_into_libs
16368 # Compile-time system search path for libraries.
16369 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16371 # Run-time system search path for libraries.
16372 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16374 # Whether dlopen is supported.
16375 dlopen_support=$enable_dlopen
16377 # Whether dlopen of programs is supported.
16378 dlopen_self=$enable_dlopen_self
16380 # Whether dlopen of statically linked programs is supported.
16381 dlopen_self_static=$enable_dlopen_self_static
16383 # Commands to strip libraries.
16384 old_striplib=$lt_old_striplib
16385 striplib=$lt_striplib
16388 # The linker used to build libraries.
16391 # How to create reloadable object files.
16392 reload_flag=$lt_reload_flag
16393 reload_cmds=$lt_reload_cmds
16395 # Commands used to build an old-style archive.
16396 old_archive_cmds=$lt_old_archive_cmds
16398 # A language specific compiler.
16401 # Is the compiler the GNU compiler?
16404 # Compiler flag to turn off builtin functions.
16405 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16407 # Additional compiler flags for building library objects.
16408 pic_flag=$lt_lt_prog_compiler_pic
16410 # How to pass a linker flag through the compiler.
16411 wl=$lt_lt_prog_compiler_wl
16413 # Compiler flag to prevent dynamic linking.
16414 link_static_flag=$lt_lt_prog_compiler_static
16416 # Does compiler simultaneously support -c and -o options?
16417 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16419 # Whether or not to add -lc for building shared libraries.
16420 build_libtool_need_lc=$archive_cmds_need_lc
16422 # Whether or not to disallow shared libs when runtime libs are static.
16423 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16425 # Compiler flag to allow reflexive dlopens.
16426 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16428 # Compiler flag to generate shared objects directly from archives.
16429 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16431 # Whether the compiler copes with passing no objects directly.
16432 compiler_needs_object=$lt_compiler_needs_object
16434 # Create an old-style archive from a shared archive.
16435 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16437 # Create a temporary old-style archive to link instead of a shared archive.
16438 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16440 # Commands used to build a shared archive.
16441 archive_cmds=$lt_archive_cmds
16442 archive_expsym_cmds=$lt_archive_expsym_cmds
16444 # Commands used to build a loadable module if different from building
16445 # a shared archive.
16446 module_cmds=$lt_module_cmds
16447 module_expsym_cmds=$lt_module_expsym_cmds
16449 # Whether we are building with GNU ld or not.
16450 with_gnu_ld=$lt_with_gnu_ld
16452 # Flag that allows shared libraries with undefined symbols to be built.
16453 allow_undefined_flag=$lt_allow_undefined_flag
16455 # Flag that enforces no undefined symbols.
16456 no_undefined_flag=$lt_no_undefined_flag
16458 # Flag to hardcode \$libdir into a binary during linking.
16459 # This must work even if \$libdir does not exist
16460 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16462 # Whether we need a single "-rpath" flag with a separated argument.
16463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16466 # DIR into the resulting binary.
16467 hardcode_direct=$hardcode_direct
16469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16470 # DIR into the resulting binary and the resulting library dependency is
16471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16472 # library is relocated.
16473 hardcode_direct_absolute=$hardcode_direct_absolute
16475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16476 # into the resulting binary.
16477 hardcode_minus_L=$hardcode_minus_L
16479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16480 # into the resulting binary.
16481 hardcode_shlibpath_var=$hardcode_shlibpath_var
16483 # Set to "yes" if building a shared library automatically hardcodes DIR
16484 # into the library and all subsequent libraries and executables linked
16486 hardcode_automatic=$hardcode_automatic
16488 # Set to yes if linker adds runtime paths of dependent libraries
16489 # to runtime path list.
16490 inherit_rpath=$inherit_rpath
16492 # Whether libtool must link a program against all its dependency libraries.
16493 link_all_deplibs=$link_all_deplibs
16495 # Set to "yes" if exported symbols are required.
16496 always_export_symbols=$always_export_symbols
16498 # The commands to list exported symbols.
16499 export_symbols_cmds=$lt_export_symbols_cmds
16501 # Symbols that should not be listed in the preloaded symbols.
16502 exclude_expsyms=$lt_exclude_expsyms
16504 # Symbols that must always be exported.
16505 include_expsyms=$lt_include_expsyms
16507 # Commands necessary for linking programs (against libraries) with templates.
16508 prelink_cmds=$lt_prelink_cmds
16510 # Commands necessary for finishing linking programs.
16511 postlink_cmds=$lt_postlink_cmds
16513 # Specify filename containing input files.
16514 file_list_spec=$lt_file_list_spec
16516 # How to hardcode a shared library path into an executable.
16517 hardcode_action=$hardcode_action
16519 # ### END LIBTOOL CONFIG
16525 cat <<\_LT_EOF >> "$cfgfile"
16526 # AIX sometimes has problems with the GCC collect2 program. For some
16527 # reason, if we set the COLLECT_NAMES environment variable, the problems
16528 # vanish in a puff of smoke.
16529 if test "X${COLLECT_NAMES+set}" != Xset; then
16531 export COLLECT_NAMES
16538 ltmain="$ac_aux_dir/ltmain.sh"
16541 # We use sed instead of cat because bash on DJGPP gets confused if
16542 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16543 # text mode, it properly converts lines to CR/LF. This bash problem
16544 # is reportedly fixed, but why not run on old versions too?
16545 sed '$q' "$ltmain" >> "$cfgfile" \
16546 || (rm -f "$cfgfile"; exit 1)
16548 if test x"$xsi_shell" = xyes; then
16549 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16553 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16554 \ * ) func_dirname_result="${3}" ;;\
16556 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16557 && mv -f "$cfgfile.tmp" "$cfgfile" \
16558 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16559 test 0 -eq $? || _lt_function_replace_fail=:
16562 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16565 \ func_basename_result="${1##*/}"\
16566 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16567 && mv -f "$cfgfile.tmp" "$cfgfile" \
16568 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16569 test 0 -eq $? || _lt_function_replace_fail=:
16572 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16573 func_dirname_and_basename ()\
16576 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16577 \ * ) func_dirname_result="${3}" ;;\
16579 \ func_basename_result="${1##*/}"\
16580 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16581 && mv -f "$cfgfile.tmp" "$cfgfile" \
16582 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16583 test 0 -eq $? || _lt_function_replace_fail=:
16586 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16589 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16590 \ # positional parameters, so assign one to ordinary parameter first.\
16591 \ func_stripname_result=${3}\
16592 \ func_stripname_result=${func_stripname_result#"${1}"}\
16593 \ func_stripname_result=${func_stripname_result%"${2}"}\
16594 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16595 && mv -f "$cfgfile.tmp" "$cfgfile" \
16596 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16597 test 0 -eq $? || _lt_function_replace_fail=:
16600 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16601 func_split_long_opt ()\
16603 \ func_split_long_opt_name=${1%%=*}\
16604 \ func_split_long_opt_arg=${1#*=}\
16605 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16606 && mv -f "$cfgfile.tmp" "$cfgfile" \
16607 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16608 test 0 -eq $? || _lt_function_replace_fail=:
16611 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16612 func_split_short_opt ()\
16614 \ func_split_short_opt_arg=${1#??}\
16615 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16616 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16617 && mv -f "$cfgfile.tmp" "$cfgfile" \
16618 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16619 test 0 -eq $? || _lt_function_replace_fail=:
16622 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16626 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16627 \ *) func_lo2o_result=${1} ;;\
16629 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16630 && mv -f "$cfgfile.tmp" "$cfgfile" \
16631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16632 test 0 -eq $? || _lt_function_replace_fail=:
16635 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16638 func_xform_result=${1%.*}.lo\
16639 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16640 && mv -f "$cfgfile.tmp" "$cfgfile" \
16641 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16642 test 0 -eq $? || _lt_function_replace_fail=:
16645 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16648 func_arith_result=$(( $* ))\
16649 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16650 && mv -f "$cfgfile.tmp" "$cfgfile" \
16651 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16652 test 0 -eq $? || _lt_function_replace_fail=:
16655 sed -e '/^func_len ()$/,/^} # func_len /c\
16658 func_len_result=${#1}\
16659 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16660 && mv -f "$cfgfile.tmp" "$cfgfile" \
16661 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16662 test 0 -eq $? || _lt_function_replace_fail=:
16666 if test x"$lt_shell_append" = xyes; then
16667 sed -e '/^func_append ()$/,/^} # func_append /c\
16670 eval "${1}+=\\${2}"\
16671 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16672 && mv -f "$cfgfile.tmp" "$cfgfile" \
16673 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16674 test 0 -eq $? || _lt_function_replace_fail=:
16677 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16678 func_append_quoted ()\
16680 \ func_quote_for_eval "${2}"\
16681 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16682 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16683 && mv -f "$cfgfile.tmp" "$cfgfile" \
16684 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16685 test 0 -eq $? || _lt_function_replace_fail=:
16688 # Save a `func_append' function call where possible by direct use of '+='
16689 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16690 && mv -f "$cfgfile.tmp" "$cfgfile" \
16691 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16692 test 0 -eq $? || _lt_function_replace_fail=:
16694 # Save a `func_append' function call even when '+=' is not available
16695 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16696 && mv -f "$cfgfile.tmp" "$cfgfile" \
16697 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16698 test 0 -eq $? || _lt_function_replace_fail=:
16701 if test x"$_lt_function_replace_fail" = x":"; then
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16703 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16707 mv -f "$cfgfile" "$ofile" ||
16708 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16719 ac_clean_files=$ac_clean_files_save
16721 test $ac_write_fail = 0 ||
16722 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16725 # configure is writing to config.log, and then calls config.status.
16726 # config.status does its own redirection, appending to config.log.
16727 # Unfortunately, on DOS this fails, as config.log is still kept open
16728 # by configure, so config.status won't be able to write to it; its
16729 # output is simply discarded. So we exec the FD to /dev/null,
16730 # effectively closing config.log, so it can be properly (re)opened and
16731 # appended to by config.status. When coming back to configure, we
16732 # need to make the FD available again.
16733 if test "$no_create" != yes; then
16735 ac_config_status_args=
16736 test "$silent" = yes &&
16737 ac_config_status_args="$ac_config_status_args --quiet"
16739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16742 # would make configure fail if this is the last instruction.
16743 $ac_cs_success || as_fn_exit 1
16745 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16747 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}