2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for fontconfig 2.11.93.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='fontconfig'
593 PACKAGE_TARNAME='fontconfig'
594 PACKAGE_VERSION='2.11.93'
595 PACKAGE_STRING='fontconfig 2.11.93'
596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig'
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
640 PKGCONFIG_REQUIRES_PRIVATELY
675 CROSS_COMPILING_FALSE
680 MS_LIB_AVAILABLE_FALSE
681 MS_LIB_AVAILABLE_TRUE
685 LIBT_CURRENT_MINUS_AGE
765 INSTALL_STRIP_PROGRAM
807 program_transform_name
820 enable_option_checking
822 enable_dependency_tracking
835 with_libiconv_includes
850 ac_precious_vars='build_alias
872 # Initialize some variables set by options.
874 ac_init_version=false
875 ac_unrecognized_opts=
877 # The variables have the same names as the options, with
878 # dashes changed to underlines.
886 program_transform_name=s,x,x,
894 # Installation directory options.
895 # These are left unexpanded so users can "make install exec_prefix=/foo"
896 # and all the variables that are supposed to be based on exec_prefix
897 # by default will actually change.
898 # Use braces instead of parens because sh, perl, etc. also accept them.
899 # (The list follows the same order as the GNU Coding Standards.)
900 bindir='${exec_prefix}/bin'
901 sbindir='${exec_prefix}/sbin'
902 libexecdir='${exec_prefix}/libexec'
903 datarootdir='${prefix}/share'
904 datadir='${datarootdir}'
905 sysconfdir='${prefix}/etc'
906 sharedstatedir='${prefix}/com'
907 localstatedir='${prefix}/var'
908 includedir='${prefix}/include'
909 oldincludedir='/usr/include'
910 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
911 infodir='${datarootdir}/info'
916 libdir='${exec_prefix}/lib'
917 localedir='${datarootdir}/locale'
918 mandir='${datarootdir}/man'
924 # If the previous option needs an argument, assign it.
925 if test -n "$ac_prev"; then
926 eval $ac_prev=\$ac_option
932 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
937 # Accept the important Cygnus configure options, so we can diagnose typos.
939 case $ac_dashdash$ac_option in
943 -bindir | --bindir | --bindi | --bind | --bin | --bi)
945 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
948 -build | --build | --buil | --bui | --bu)
949 ac_prev=build_alias ;;
950 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
951 build_alias=$ac_optarg ;;
953 -cache-file | --cache-file | --cache-fil | --cache-fi \
954 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
955 ac_prev=cache_file ;;
956 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
957 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
958 cache_file=$ac_optarg ;;
961 cache_file=config.cache ;;
963 -datadir | --datadir | --datadi | --datad)
965 -datadir=* | --datadir=* | --datadi=* | --datad=*)
966 datadir=$ac_optarg ;;
968 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
969 | --dataroo | --dataro | --datar)
970 ac_prev=datarootdir ;;
971 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
972 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
973 datarootdir=$ac_optarg ;;
975 -disable-* | --disable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error $? "invalid feature name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
987 ac_unrecognized_sep=', ';;
989 eval enable_$ac_useropt=no ;;
991 -docdir | --docdir | --docdi | --doc | --do)
993 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
996 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
998 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1001 -enable-* | --enable-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid feature name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1010 "enable_$ac_useropt"
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1015 eval enable_$ac_useropt=\$ac_optarg ;;
1017 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1018 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1019 | --exec | --exe | --ex)
1020 ac_prev=exec_prefix ;;
1021 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1022 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1023 | --exec=* | --exe=* | --ex=*)
1024 exec_prefix=$ac_optarg ;;
1026 -gas | --gas | --ga | --g)
1027 # Obsolete; use --with-gas.
1030 -help | --help | --hel | --he | -h)
1031 ac_init_help=long ;;
1032 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1033 ac_init_help=recursive ;;
1034 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1035 ac_init_help=short ;;
1037 -host | --host | --hos | --ho)
1038 ac_prev=host_alias ;;
1039 -host=* | --host=* | --hos=* | --ho=*)
1040 host_alias=$ac_optarg ;;
1042 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1044 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1046 htmldir=$ac_optarg ;;
1048 -includedir | --includedir | --includedi | --included | --include \
1049 | --includ | --inclu | --incl | --inc)
1050 ac_prev=includedir ;;
1051 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1052 | --includ=* | --inclu=* | --incl=* | --inc=*)
1053 includedir=$ac_optarg ;;
1055 -infodir | --infodir | --infodi | --infod | --info | --inf)
1057 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1058 infodir=$ac_optarg ;;
1060 -libdir | --libdir | --libdi | --libd)
1062 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1063 libdir=$ac_optarg ;;
1065 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1066 | --libexe | --libex | --libe)
1067 ac_prev=libexecdir ;;
1068 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1069 | --libexe=* | --libex=* | --libe=*)
1070 libexecdir=$ac_optarg ;;
1072 -localedir | --localedir | --localedi | --localed | --locale)
1073 ac_prev=localedir ;;
1074 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1075 localedir=$ac_optarg ;;
1077 -localstatedir | --localstatedir | --localstatedi | --localstated \
1078 | --localstate | --localstat | --localsta | --localst | --locals)
1079 ac_prev=localstatedir ;;
1080 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1081 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1082 localstatedir=$ac_optarg ;;
1084 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1086 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1087 mandir=$ac_optarg ;;
1089 -nfp | --nfp | --nf)
1090 # Obsolete; use --without-fp.
1093 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1094 | --no-cr | --no-c | -n)
1097 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1098 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1101 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1102 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1103 | --oldin | --oldi | --old | --ol | --o)
1104 ac_prev=oldincludedir ;;
1105 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1106 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1107 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1108 oldincludedir=$ac_optarg ;;
1110 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1112 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1113 prefix=$ac_optarg ;;
1115 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1116 | --program-pre | --program-pr | --program-p)
1117 ac_prev=program_prefix ;;
1118 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1119 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1120 program_prefix=$ac_optarg ;;
1122 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1123 | --program-suf | --program-su | --program-s)
1124 ac_prev=program_suffix ;;
1125 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1126 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1127 program_suffix=$ac_optarg ;;
1129 -program-transform-name | --program-transform-name \
1130 | --program-transform-nam | --program-transform-na \
1131 | --program-transform-n | --program-transform- \
1132 | --program-transform | --program-transfor \
1133 | --program-transfo | --program-transf \
1134 | --program-trans | --program-tran \
1135 | --progr-tra | --program-tr | --program-t)
1136 ac_prev=program_transform_name ;;
1137 -program-transform-name=* | --program-transform-name=* \
1138 | --program-transform-nam=* | --program-transform-na=* \
1139 | --program-transform-n=* | --program-transform-=* \
1140 | --program-transform=* | --program-transfor=* \
1141 | --program-transfo=* | --program-transf=* \
1142 | --program-trans=* | --program-tran=* \
1143 | --progr-tra=* | --program-tr=* | --program-t=*)
1144 program_transform_name=$ac_optarg ;;
1146 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1148 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1149 pdfdir=$ac_optarg ;;
1151 -psdir | --psdir | --psdi | --psd | --ps)
1153 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1157 | -silent | --silent | --silen | --sile | --sil)
1160 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1162 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1164 sbindir=$ac_optarg ;;
1166 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1167 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1168 | --sharedst | --shareds | --shared | --share | --shar \
1170 ac_prev=sharedstatedir ;;
1171 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1172 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1173 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1175 sharedstatedir=$ac_optarg ;;
1177 -site | --site | --sit)
1179 -site=* | --site=* | --sit=*)
1182 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1184 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1185 srcdir=$ac_optarg ;;
1187 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1188 | --syscon | --sysco | --sysc | --sys | --sy)
1189 ac_prev=sysconfdir ;;
1190 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1191 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1192 sysconfdir=$ac_optarg ;;
1194 -target | --target | --targe | --targ | --tar | --ta | --t)
1195 ac_prev=target_alias ;;
1196 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1197 target_alias=$ac_optarg ;;
1199 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1202 -version | --version | --versio | --versi | --vers | -V)
1203 ac_init_version=: ;;
1206 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209 as_fn_error $? "invalid package name: $ac_useropt"
1210 ac_useropt_orig=$ac_useropt
1211 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212 case $ac_user_opts in
1216 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1217 ac_unrecognized_sep=', ';;
1219 eval with_$ac_useropt=\$ac_optarg ;;
1221 -without-* | --without-*)
1222 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225 as_fn_error $? "invalid package name: $ac_useropt"
1226 ac_useropt_orig=$ac_useropt
1227 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228 case $ac_user_opts in
1232 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1233 ac_unrecognized_sep=', ';;
1235 eval with_$ac_useropt=no ;;
1238 # Obsolete; use --with-x.
1241 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1242 | --x-incl | --x-inc | --x-in | --x-i)
1243 ac_prev=x_includes ;;
1244 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1245 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1246 x_includes=$ac_optarg ;;
1248 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1249 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1250 ac_prev=x_libraries ;;
1251 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1252 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1253 x_libraries=$ac_optarg ;;
1255 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1256 Try \`$0 --help' for more information"
1260 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1261 # Reject names that are not valid shell variable names.
1262 case $ac_envvar in #(
1263 '' | [0-9]* | *[!_$as_cr_alnum]* )
1264 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1266 eval $ac_envvar=\$ac_optarg
1267 export $ac_envvar ;;
1270 # FIXME: should be removed in autoconf 3.0.
1271 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1273 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1280 if test -n "$ac_prev"; then
1281 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1282 as_fn_error $? "missing argument to $ac_option"
1285 if test -n "$ac_unrecognized_opts"; then
1286 case $enable_option_checking in
1288 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1289 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1293 # Check all directory arguments for consistency.
1294 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1295 datadir sysconfdir sharedstatedir localstatedir includedir \
1296 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1297 libdir localedir mandir
1299 eval ac_val=\$$ac_var
1300 # Remove trailing slashes.
1303 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1304 eval $ac_var=\$ac_val;;
1306 # Be sure to have absolute directory names.
1308 [\\/$]* | ?:[\\/]* ) continue;;
1309 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1311 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1314 # There might be people who depend on the old broken behavior: `$host'
1315 # used to hold the argument of --host etc.
1316 # FIXME: To remove some day.
1319 target=$target_alias
1321 # FIXME: To remove some day.
1322 if test "x$host_alias" != x; then
1323 if test "x$build_alias" = x; then
1324 cross_compiling=maybe
1325 elif test "x$build_alias" != "x$host_alias"; then
1331 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1333 test "$silent" = yes && exec 6>/dev/null
1336 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1337 ac_ls_di=`ls -di .` &&
1338 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1339 as_fn_error $? "working directory cannot be determined"
1340 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1341 as_fn_error $? "pwd does not report name of working directory"
1344 # Find the source files, if location was not specified.
1345 if test -z "$srcdir"; then
1346 ac_srcdir_defaulted=yes
1347 # Try the directory containing this script, then the parent directory.
1348 ac_confdir=`$as_dirname -- "$as_myself" ||
1349 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1350 X"$as_myself" : 'X\(//\)[^/]' \| \
1351 X"$as_myself" : 'X\(//\)$' \| \
1352 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1353 $as_echo X"$as_myself" |
1354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 if test ! -r "$srcdir/$ac_unique_file"; then
1376 ac_srcdir_defaulted=no
1378 if test ! -r "$srcdir/$ac_unique_file"; then
1379 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1380 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1382 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1384 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1386 # When building in place, set srcdir=.
1387 if test "$ac_abs_confdir" = "$ac_pwd"; then
1390 # Remove unnecessary trailing slashes from srcdir.
1391 # Double slashes in file names in object file debugging info
1392 # mess up M-x gdb in Emacs.
1394 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1396 for ac_var in $ac_precious_vars; do
1397 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_env_${ac_var}_value=\$${ac_var}
1399 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1400 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1404 # Report the --help message.
1406 if test "$ac_init_help" = "long"; then
1407 # Omit some internal or obsolete options to make the list less imposing.
1408 # This message is too long to be a string in the A/UX 3.1 sh.
1410 \`configure' configures fontconfig 2.11.93 to adapt to many kinds of systems.
1412 Usage: $0 [OPTION]... [VAR=VALUE]...
1414 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1415 VAR=VALUE. See below for descriptions of some of the useful variables.
1417 Defaults for the options are specified in brackets.
1420 -h, --help display this help and exit
1421 --help=short display options specific to this package
1422 --help=recursive display the short help of all the included packages
1423 -V, --version display version information and exit
1424 -q, --quiet, --silent do not print \`checking ...' messages
1425 --cache-file=FILE cache test results in FILE [disabled]
1426 -C, --config-cache alias for \`--cache-file=config.cache'
1427 -n, --no-create do not create output files
1428 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1430 Installation directories:
1431 --prefix=PREFIX install architecture-independent files in PREFIX
1432 [$ac_default_prefix]
1433 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1436 By default, \`make install' will install all the files in
1437 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1438 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1439 for instance \`--prefix=\$HOME'.
1441 For better control, use the options below.
1443 Fine tuning of the installation directories:
1444 --bindir=DIR user executables [EPREFIX/bin]
1445 --sbindir=DIR system admin executables [EPREFIX/sbin]
1446 --libexecdir=DIR program executables [EPREFIX/libexec]
1447 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1448 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1449 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1450 --libdir=DIR object code libraries [EPREFIX/lib]
1451 --includedir=DIR C header files [PREFIX/include]
1452 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1453 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1454 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1455 --infodir=DIR info documentation [DATAROOTDIR/info]
1456 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1457 --mandir=DIR man documentation [DATAROOTDIR/man]
1458 --docdir=DIR documentation root [DATAROOTDIR/doc/fontconfig]
1459 --htmldir=DIR html documentation [DOCDIR]
1460 --dvidir=DIR dvi documentation [DOCDIR]
1461 --pdfdir=DIR pdf documentation [DOCDIR]
1462 --psdir=DIR ps documentation [DOCDIR]
1468 --program-prefix=PREFIX prepend PREFIX to installed program names
1469 --program-suffix=SUFFIX append SUFFIX to installed program names
1470 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1473 --build=BUILD configure for building on BUILD [guessed]
1474 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1478 if test -n "$ac_init_help"; then
1479 case $ac_init_help in
1480 short | recursive ) echo "Configuration of fontconfig 2.11.93:";;
1485 --disable-option-checking ignore unrecognized --enable/--with options
1486 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1487 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1488 --enable-silent-rules less verbose build output (undo: "make V=1")
1489 --disable-silent-rules verbose build output (undo: "make V=0")
1490 --enable-dependency-tracking
1491 do not reject slow dependency extractors
1492 --disable-dependency-tracking
1493 speeds up one-time build
1494 --disable-largefile omit support for large files
1495 --enable-static[=PKGS] build static libraries [default=no]
1496 --enable-shared[=PKGS] build shared libraries [default=yes]
1497 --enable-fast-install[=PKGS]
1498 optimize for fast installation [default=yes]
1499 --disable-libtool-lock avoid locking (might break parallel builds)
1500 --enable-iconv Use iconv to support non-Unicode SFNT name
1501 --enable-libxml2 Use libxml2 instead of Expat
1502 --disable-docs Don't build and install documentation
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-pkgconfigdir pkg-config installation directory
1508 ['${libdir}/pkgconfig']
1509 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1511 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1512 --with-sysroot=DIR Search for dependent libraries within DIR
1513 (or the compiler's sysroot if not specified).
1514 --with-arch=ARCH Force architecture to ARCH
1515 --with-libiconv=DIR Use libiconv in DIR
1516 --with-libiconv-includes=DIR
1517 Use libiconv includes in DIR
1518 --with-libiconv-lib=DIR Use libiconv library in DIR
1519 --with-expat=DIR Use Expat in DIR
1520 --with-expat-includes=DIR
1521 Use Expat includes in DIR
1522 --with-expat-lib=DIR
1523 --with-default-fonts=DIR
1524 Use fonts from DIR when config is busted
1525 --with-add-fonts=DIR1,DIR2,...
1526 Find additional fonts in DIR1,DIR2,...
1527 --with-cache-dir=DIR Use DIR to store cache files
1528 [default=LOCALSTATEDIR/cache/fontconfig]
1529 --with-templatedir=DIR Use DIR to store the configuration template files
1530 [default=DATADIR/fontconfig/conf.avail]
1531 --with-baseconfigdir=DIR
1532 Use DIR to store the base configuration files
1533 [default=SYSCONFDIR/fonts]
1534 --with-configdir=DIR Use DIR to store active configuration files
1535 [default=BASECONFIGDIR/conf.d]
1536 --with-xmldir=DIR Use DIR to store XML schema files
1537 [default=DATADIR/xml/fontconfig]
1539 Some influential environment variables:
1540 CC C compiler command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1543 nonstandard directory <lib dir>
1544 LIBS libraries to pass to the linker, e.g. -l<library>
1545 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546 you have headers in a nonstandard directory <include dir>
1548 PKG_CONFIG path to pkg-config utility
1550 directories to add to pkg-config's search path
1552 path overriding pkg-config's built-in search path
1553 PYTHON the Python interpreter
1555 build system C compiler
1557 C compiler flags for FREETYPE, overriding pkg-config
1559 linker flags for FREETYPE, overriding pkg-config
1561 C compiler flags for EXPAT, overriding pkg-config
1562 EXPAT_LIBS linker flags for EXPAT, overriding pkg-config
1564 C compiler flags for LIBXML2, overriding pkg-config
1566 linker flags for LIBXML2, overriding pkg-config
1568 Use these variables to override the choices made by `configure' or to help
1569 it to find libraries and programs with nonstandard names/locations.
1571 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig>.
1576 if test "$ac_init_help" = "recursive"; then
1577 # If there are subdirs, report their specific --help.
1578 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579 test -d "$ac_dir" ||
1580 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1585 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1587 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1588 # A ".." for each directory in $ac_dir_suffix.
1589 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1590 case $ac_top_builddir_sub in
1591 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1595 ac_abs_top_builddir=$ac_pwd
1596 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1597 # for backward compatibility:
1598 ac_top_builddir=$ac_top_build_prefix
1601 .) # We are building in place.
1603 ac_top_srcdir=$ac_top_builddir_sub
1604 ac_abs_top_srcdir=$ac_pwd ;;
1605 [\\/]* | ?:[\\/]* ) # Absolute name.
1606 ac_srcdir=$srcdir$ac_dir_suffix;
1607 ac_top_srcdir=$srcdir
1608 ac_abs_top_srcdir=$srcdir ;;
1610 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1611 ac_top_srcdir=$ac_top_build_prefix$srcdir
1612 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1614 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1616 cd "$ac_dir" || { ac_status=$?; continue; }
1617 # Check for guested configure.
1618 if test -f "$ac_srcdir/configure.gnu"; then
1620 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1621 elif test -f "$ac_srcdir/configure"; then
1623 $SHELL "$ac_srcdir/configure" --help=recursive
1625 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1627 cd "$ac_pwd" || { ac_status=$?; break; }
1631 test -n "$ac_init_help" && exit $ac_status
1632 if $ac_init_version; then
1634 fontconfig configure 2.11.93
1635 generated by GNU Autoconf 2.69
1637 Copyright (C) 2012 Free Software Foundation, Inc.
1638 This configure script is free software; the Free Software Foundation
1639 gives unlimited permission to copy, distribute and modify it.
1644 ## ------------------------ ##
1645 ## Autoconf initialization. ##
1646 ## ------------------------ ##
1648 # ac_fn_c_try_compile LINENO
1649 # --------------------------
1650 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_c_try_compile ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 rm -f conftest.$ac_objext
1655 if { { ac_try="$ac_compile"
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_compile") 2>conftest.err
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && {
1671 test -z "$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1673 } && test -s conftest.$ac_objext; then :
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status $ac_retval
1684 } # ac_fn_c_try_compile
1686 # ac_fn_c_try_cpp LINENO
1687 # ----------------------
1688 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 if { { ac_try="$ac_cpp conftest.$ac_ext"
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } > conftest.i && {
1708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 as_fn_set_status $ac_retval
1723 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1724 # -------------------------------------------------------
1725 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1726 # the include files in INCLUDES and setting the cache variable VAR
1728 ac_fn_c_check_header_mongrel ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if eval \${$3+:} false; then :
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1741 # Is the header compilable?
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1743 $as_echo_n "checking $2 usability... " >&6; }
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1749 if ac_fn_c_try_compile "$LINENO"; then :
1750 ac_header_compiler=yes
1752 ac_header_compiler=no
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1756 $as_echo "$ac_header_compiler" >&6; }
1758 # Is the header present?
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1760 $as_echo_n "checking $2 presence... " >&6; }
1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1765 if ac_fn_c_try_cpp "$LINENO"; then :
1766 ac_header_preproc=yes
1768 ac_header_preproc=no
1770 rm -f conftest.err conftest.i conftest.$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1772 $as_echo "$ac_header_preproc" >&6; }
1774 # So? What about this header?
1775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1778 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1784 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1786 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1788 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1790 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1792 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1793 ( $as_echo "## ---------------------------------------------------------------------------- ##
1794 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig ##
1795 ## ---------------------------------------------------------------------------- ##"
1796 ) | sed "s/^/$as_me: WARNING: /" >&2
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if eval \${$3+:} false; then :
1802 $as_echo_n "(cached) " >&6
1804 eval "$3=\$ac_header_compiler"
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 } # ac_fn_c_check_header_mongrel
1814 # ac_fn_c_try_run LINENO
1815 # ----------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1817 # that executables *can* be run.
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_link"
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>&5
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1832 { { case "(($ac_try" in
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_try") 2>&5
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; }; }; then :
1844 $as_echo "$as_me: program exited with status $ac_status" >&5
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1848 ac_retval=$ac_status
1850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852 as_fn_set_status $ac_retval
1856 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1857 # -------------------------------------------------------
1858 # Tests whether HEADER exists and can be compiled using the include files in
1859 # INCLUDES, setting the cache variable VAR accordingly.
1860 ac_fn_c_check_header_compile ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866 $as_echo_n "(cached) " >&6
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1873 if ac_fn_c_try_compile "$LINENO"; then :
1878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 } # ac_fn_c_check_header_compile
1887 # ac_fn_c_try_link LINENO
1888 # -----------------------
1889 # Try to link conftest.$ac_ext, and return whether this succeeded.
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 rm -f conftest.$ac_objext conftest$ac_exeext
1894 if { { ac_try="$ac_link"
1896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_link") 2>conftest.err
1903 if test -s conftest.err; then
1904 grep -v '^ *+' conftest.err >conftest.er1
1905 cat conftest.er1 >&5
1906 mv -f conftest.er1 conftest.err
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } && {
1910 test -z "$ac_c_werror_flag" ||
1911 test ! -s conftest.err
1912 } && test -s conftest$ac_exeext && {
1913 test "$cross_compiling" = yes ||
1914 test -x conftest$ac_exeext
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1923 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1924 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1925 # interfere with the next link command; also delete a directory that is
1926 # left behind by Apple's compiler. We do this before executing the actions.
1927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 as_fn_set_status $ac_retval
1931 } # ac_fn_c_try_link
1933 # ac_fn_c_check_func LINENO FUNC VAR
1934 # ----------------------------------
1935 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1936 ac_fn_c_check_func ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \${$3+:} false; then :
1942 $as_echo_n "(cached) " >&6
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1956 # include <limits.h>
1958 # include <assert.h>
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1985 if ac_fn_c_try_link "$LINENO"; then :
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 } # ac_fn_c_check_func
2000 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2001 # ---------------------------------------------
2002 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2004 ac_fn_c_check_decl ()
2006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 as_decl_name=`echo $2|sed 's/ *(.*//'`
2008 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2010 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2011 if eval \${$3+:} false; then :
2012 $as_echo_n "(cached) " >&6
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2020 #ifndef $as_decl_name
2022 (void) $as_decl_use;
2024 (void) $as_decl_name;
2032 if ac_fn_c_try_compile "$LINENO"; then :
2037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041 $as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044 } # ac_fn_c_check_decl
2046 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2047 # -------------------------------------------
2048 # Tests whether TYPE exists after having included INCLUDES, setting cache
2049 # variable VAR accordingly.
2050 ac_fn_c_check_type ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if eval \${$3+:} false; then :
2056 $as_echo_n "(cached) " >&6
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2071 if ac_fn_c_try_compile "$LINENO"; then :
2072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073 /* end confdefs.h. */
2084 if ac_fn_c_try_compile "$LINENO"; then :
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 } # ac_fn_c_check_type
2100 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2101 # --------------------------------------------
2102 # Tries to find the compile-time value of EXPR in a program that includes
2103 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2105 ac_fn_c_compute_int ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 if test "$cross_compiling" = yes; then
2109 # Depending upon the size, compute the lo and hi bounds.
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2116 static int test_array [1 - 2 * !(($2) >= 0)];
2118 return test_array [0];
2124 if ac_fn_c_try_compile "$LINENO"; then :
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2133 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2135 return test_array [0];
2141 if ac_fn_c_try_compile "$LINENO"; then :
2142 ac_hi=$ac_mid; break
2144 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2145 if test $ac_lo -le $ac_mid; then
2149 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2160 static int test_array [1 - 2 * !(($2) < 0)];
2162 return test_array [0];
2168 if ac_fn_c_try_compile "$LINENO"; then :
2171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2177 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2179 return test_array [0];
2185 if ac_fn_c_try_compile "$LINENO"; then :
2186 ac_lo=$ac_mid; break
2188 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2189 if test $ac_mid -le $ac_hi; then
2193 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203 # Binary search between lo and hi bounds.
2204 while test "x$ac_lo" != "x$ac_hi"; do
2205 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2212 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2214 return test_array [0];
2220 if ac_fn_c_try_compile "$LINENO"; then :
2223 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2235 static long int longval () { return $2; }
2236 static unsigned long int ulongval () { return $2; }
2243 FILE *f = fopen ("conftest.val", "w");
2248 long int i = longval ();
2251 fprintf (f, "%ld", i);
2255 unsigned long int i = ulongval ();
2258 fprintf (f, "%lu", i);
2260 /* Do not output a trailing newline, as this causes \r\n confusion
2261 on some platforms. */
2262 return ferror (f) || fclose (f) != 0;
2268 if ac_fn_c_try_run "$LINENO"; then :
2269 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2274 conftest.$ac_objext conftest.beam conftest.$ac_ext
2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2279 as_fn_set_status $ac_retval
2281 } # ac_fn_c_compute_int
2283 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2284 # ----------------------------------------------------
2285 # Tries to find if the field MEMBER exists in type AGGR, after including
2286 # INCLUDES, setting cache variable VAR accordingly.
2287 ac_fn_c_check_member ()
2289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2291 $as_echo_n "checking for $2.$3... " >&6; }
2292 if eval \${$4+:} false; then :
2293 $as_echo_n "(cached) " >&6
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2308 if ac_fn_c_try_compile "$LINENO"; then :
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2318 if (sizeof ac_aggr.$3)
2324 if ac_fn_c_try_compile "$LINENO"; then :
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2335 $as_echo "$ac_res" >&6; }
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 } # ac_fn_c_check_member
2339 cat >config.log <<_ACEOF
2340 This file contains any messages produced by compilers while
2341 running configure, to aid debugging if configure makes a mistake.
2343 It was created by fontconfig $as_me 2.11.93, which was
2344 generated by GNU Autoconf 2.69. Invocation command line was
2356 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2357 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2358 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2359 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2360 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2362 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2363 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2365 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2366 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2367 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2368 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2369 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2370 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2371 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir=.
2380 $as_echo "PATH: $as_dir"
2396 # Keep a trace of the command line.
2397 # Strip out --no-create and --no-recursion so they do not pile up.
2398 # Strip out --silent because we don't want to record it for future runs.
2399 # Also quote any args containing shell meta-characters.
2400 # Make two passes to allow for proper duplicate-argument suppression.
2404 ac_must_keep_next=false
2410 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2412 | -silent | --silent | --silen | --sile | --sil)
2415 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2418 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2420 as_fn_append ac_configure_args1 " '$ac_arg'"
2421 if test $ac_must_keep_next = true; then
2422 ac_must_keep_next=false # Got value, back to normal.
2425 *=* | --config-cache | -C | -disable-* | --disable-* \
2426 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2427 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2428 | -with-* | --with-* | -without-* | --without-* | --x)
2429 case "$ac_configure_args0 " in
2430 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2433 -* ) ac_must_keep_next=true ;;
2436 as_fn_append ac_configure_args " '$ac_arg'"
2441 { ac_configure_args0=; unset ac_configure_args0;}
2442 { ac_configure_args1=; unset ac_configure_args1;}
2444 # When interrupted or exit'd, cleanup temporary files, and complete
2445 # config.log. We remove comments because anyway the quotes in there
2446 # would cause problems or look ugly.
2447 # WARNING: Use '\'' to represent an apostrophe within the trap.
2448 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2449 trap 'exit_status=$?
2450 # Save into config.log some information that might help in debugging.
2454 $as_echo "## ---------------- ##
2455 ## Cache variables. ##
2456 ## ---------------- ##"
2458 # The following way of writing the cache mishandles newlines in values,
2460 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2461 eval ac_val=\$$ac_var
2465 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2469 _ | IFS | as_nl) ;; #(
2470 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2471 *) { eval $ac_var=; unset $ac_var;} ;;
2476 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2477 *${as_nl}ac_space=\ *)
2479 "s/'\''/'\''\\\\'\'''\''/g;
2480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2490 $as_echo "## ----------------- ##
2491 ## Output variables. ##
2492 ## ----------------- ##"
2494 for ac_var in $ac_subst_vars
2496 eval ac_val=\$$ac_var
2498 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2500 $as_echo "$ac_var='\''$ac_val'\''"
2504 if test -n "$ac_subst_files"; then
2505 $as_echo "## ------------------- ##
2506 ## File substitutions. ##
2507 ## ------------------- ##"
2509 for ac_var in $ac_subst_files
2511 eval ac_val=\$$ac_var
2513 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2515 $as_echo "$ac_var='\''$ac_val'\''"
2520 if test -s confdefs.h; then
2521 $as_echo "## ----------- ##
2528 test "$ac_signal" != 0 &&
2529 $as_echo "$as_me: caught signal $ac_signal"
2530 $as_echo "$as_me: exit $exit_status"
2532 rm -f core *.core core.conftest.* &&
2533 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2536 for ac_signal in 1 2 13 15; do
2537 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2542 rm -f -r conftest* confdefs.h
2544 $as_echo "/* confdefs.h */" > confdefs.h
2546 # Predefined preprocessor variables.
2548 cat >>confdefs.h <<_ACEOF
2549 #define PACKAGE_NAME "$PACKAGE_NAME"
2552 cat >>confdefs.h <<_ACEOF
2553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2556 cat >>confdefs.h <<_ACEOF
2557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2560 cat >>confdefs.h <<_ACEOF
2561 #define PACKAGE_STRING "$PACKAGE_STRING"
2564 cat >>confdefs.h <<_ACEOF
2565 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_URL "$PACKAGE_URL"
2573 # Let the site file select an alternate cache file if it wants to.
2574 # Prefer an explicitly selected file to automatically selected ones.
2577 if test -n "$CONFIG_SITE"; then
2578 # We do not want a PATH search for config.site.
2579 case $CONFIG_SITE in #((
2580 -*) ac_site_file1=./$CONFIG_SITE;;
2581 */*) ac_site_file1=$CONFIG_SITE;;
2582 *) ac_site_file1=./$CONFIG_SITE;;
2584 elif test "x$prefix" != xNONE; then
2585 ac_site_file1=$prefix/share/config.site
2586 ac_site_file2=$prefix/etc/config.site
2588 ac_site_file1=$ac_default_prefix/share/config.site
2589 ac_site_file2=$ac_default_prefix/etc/config.site
2591 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2593 test "x$ac_site_file" = xNONE && continue
2594 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2596 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2597 sed 's/^/| /' "$ac_site_file" >&5
2599 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601 as_fn_error $? "failed to load site script $ac_site_file
2602 See \`config.log' for more details" "$LINENO" 5; }
2606 if test -r "$cache_file"; then
2607 # Some versions of bash will fail to source /dev/null (special files
2608 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2609 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2611 $as_echo "$as_me: loading cache $cache_file" >&6;}
2613 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2614 *) . "./$cache_file";;
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2619 $as_echo "$as_me: creating cache $cache_file" >&6;}
2623 as_fn_append ac_header_list " stdlib.h"
2624 as_fn_append ac_header_list " unistd.h"
2625 as_fn_append ac_header_list " sys/param.h"
2626 # Check that the precious variables saved in the cache have kept the same
2628 ac_cache_corrupted=false
2629 for ac_var in $ac_precious_vars; do
2630 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2631 eval ac_new_set=\$ac_env_${ac_var}_set
2632 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2633 eval ac_new_val=\$ac_env_${ac_var}_value
2634 case $ac_old_set,$ac_new_set in
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2637 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2638 ac_cache_corrupted=: ;;
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2641 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2642 ac_cache_corrupted=: ;;
2645 if test "x$ac_old_val" != "x$ac_new_val"; then
2646 # differences in whitespace do not lead to failure.
2647 ac_old_val_w=`echo x $ac_old_val`
2648 ac_new_val_w=`echo x $ac_new_val`
2649 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2651 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2652 ac_cache_corrupted=:
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2655 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2656 eval $ac_var=\$ac_old_val
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2659 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2661 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2664 # Pass precious variables to config.status.
2665 if test "$ac_new_set" = set; then
2667 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2668 *) ac_arg=$ac_var=$ac_new_val ;;
2670 case " $ac_configure_args " in
2671 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2672 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2676 if $ac_cache_corrupted; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2680 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2681 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2683 ## -------------------- ##
2684 ## Main body of script. ##
2685 ## -------------------- ##
2688 ac_cpp='$CPP $CPPFLAGS'
2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2694 am__api_version='1.14'
2697 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2698 if test -f "$ac_dir/install-sh"; then
2700 ac_install_sh="$ac_aux_dir/install-sh -c"
2702 elif test -f "$ac_dir/install.sh"; then
2704 ac_install_sh="$ac_aux_dir/install.sh -c"
2706 elif test -f "$ac_dir/shtool"; then
2708 ac_install_sh="$ac_aux_dir/shtool install -c"
2712 if test -z "$ac_aux_dir"; then
2713 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2716 # These three variables are undocumented and unsupported,
2717 # and are intended to be withdrawn in a future Autoconf release.
2718 # They can cause serious problems if a builder's source tree is in a directory
2719 # whose full name contains unusual characters.
2720 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2721 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2722 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2725 # Find a good install program. We prefer a C program (faster),
2726 # so one script is as good as another. But avoid the broken or
2727 # incompatible versions:
2728 # SysV /etc/install, /usr/sbin/install
2729 # SunOS /usr/etc/install
2730 # IRIX /sbin/install
2732 # AmigaOS /C/install, which installs bootblocks on floppy discs
2733 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2734 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2735 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2736 # OS/2's system install, which has a completely different semantic
2737 # ./install, which can be erroneously created by make from ./install.sh.
2738 # Reject install programs that cannot install multiple files.
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2740 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2741 if test -z "$INSTALL"; then
2742 if ${ac_cv_path_install+:} false; then :
2743 $as_echo_n "(cached) " >&6
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 # Account for people who put trailing slashes in PATH elements.
2751 case $as_dir/ in #((
2752 ./ | .// | /[cC]/* | \
2753 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2754 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2757 # OSF1 and SCO ODT 3.0 have their own names for install.
2758 # Don't use installbsd from OSF since it installs stuff as root
2760 for ac_prog in ginstall scoinst install; do
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2763 if test $ac_prog = install &&
2764 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2765 # AIX install. It has an incompatible calling convention.
2767 elif test $ac_prog = install &&
2768 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2769 # program-specific install script used by HP pwplus--don't use.
2772 rm -rf conftest.one conftest.two conftest.dir
2773 echo one > conftest.one
2774 echo two > conftest.two
2776 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2777 test -s conftest.one && test -s conftest.two &&
2778 test -s conftest.dir/conftest.one &&
2779 test -s conftest.dir/conftest.two
2781 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2794 rm -rf conftest.one conftest.two conftest.dir
2797 if test "${ac_cv_path_install+set}" = set; then
2798 INSTALL=$ac_cv_path_install
2800 # As a last resort, use the slow shell script. Don't cache a
2801 # value for INSTALL within a source directory, because that will
2802 # break other packages using the cache if that directory is
2803 # removed, or if the value is a relative name.
2804 INSTALL=$ac_install_sh
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2808 $as_echo "$INSTALL" >&6; }
2810 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2811 # It thinks the first close brace ends the variable substitution.
2812 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2814 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2816 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2819 $as_echo_n "checking whether build environment is sane... " >&6; }
2820 # Reject unsafe characters in $srcdir or the absolute working directory
2821 # name. Accept space and tab only in the latter.
2825 *[\\\"\#\$\&\'\`$am_lf]*)
2826 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2829 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2830 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2833 # Do 'set' in a subshell so we don't clobber the current shell's
2834 # arguments. Must try -L first in case configure is actually a
2835 # symlink; some systems play weird games with the mod time of symlinks
2836 # (eg FreeBSD returns the mod time of the symlink's containing
2840 for am_try in 1 2; do
2841 echo "timestamp, slept: $am_has_slept" > conftest.file
2842 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2843 if test "$*" = "X"; then
2845 set X `ls -t "$srcdir/configure" conftest.file`
2847 if test "$*" != "X $srcdir/configure conftest.file" \
2848 && test "$*" != "X conftest.file $srcdir/configure"; then
2850 # If neither matched, then we have a broken ls. This can happen
2851 # if, for instance, CONFIG_SHELL is bash and it inherits a
2852 # broken ls alias from the environment. This has actually
2853 # happened. Such a system could not be considered "sane".
2854 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2855 alias in your environment" "$LINENO" 5
2857 if test "$2" = conftest.file || test $am_try -eq 2; then
2864 test "$2" = conftest.file
2870 as_fn_error $? "newly created file is older than distributed files!
2871 Check your system clock" "$LINENO" 5
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2874 $as_echo "yes" >&6; }
2875 # If we didn't sleep, we still need to ensure time stamps of config.status and
2876 # generated files are strictly newer.
2878 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2885 test "$program_prefix" != NONE &&
2886 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2887 # Use a double $ so make ignores it.
2888 test "$program_suffix" != NONE &&
2889 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2890 # Double any \ or $.
2891 # By default was `s,x,x', remove it if useless.
2892 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2893 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2895 # expand $ac_aux_dir to an absolute path
2896 am_aux_dir=`cd $ac_aux_dir && pwd`
2898 if test x"${MISSING+set}" != xset; then
2901 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2903 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2906 # Use eval to expand $SHELL
2907 if eval "$MISSING --is-lightweight"; then
2908 am_missing_run="$MISSING "
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2912 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2915 if test x"${install_sh}" != xset; then
2918 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2920 install_sh="\${SHELL} $am_aux_dir/install-sh"
2924 # Installed binaries are usually stripped using 'strip' when the user
2925 # run "make install-strip". However 'strip' might not be the right
2926 # tool to use in cross-compilation environments, therefore Automake
2927 # will honor the 'STRIP' environment variable to overrule this program.
2928 if test "$cross_compiling" != no; then
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2931 set dummy ${ac_tool_prefix}strip; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_STRIP+:} false; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$STRIP"; then
2938 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 STRIP=$ac_cv_prog_STRIP
2958 if test -n "$STRIP"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2960 $as_echo "$STRIP" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2968 if test -z "$ac_cv_prog_STRIP"; then
2970 # Extract the first word of "strip", so it can be a program name with args.
2971 set dummy strip; ac_word=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$ac_ct_STRIP"; then
2978 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_ac_ct_STRIP="strip"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2998 if test -n "$ac_ct_STRIP"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3000 $as_echo "$ac_ct_STRIP" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3006 if test "x$ac_ct_STRIP" = x; then
3009 case $cross_compiling:$ac_tool_warned in
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3013 ac_tool_warned=yes ;;
3018 STRIP="$ac_cv_prog_STRIP"
3022 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3025 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3026 if test -z "$MKDIR_P"; then
3027 if ${ac_cv_path_mkdir+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3034 test -z "$as_dir" && as_dir=.
3035 for ac_prog in mkdir gmkdir; do
3036 for ac_exec_ext in '' $ac_executable_extensions; do
3037 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3038 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3039 'mkdir (GNU coreutils) '* | \
3040 'mkdir (coreutils) '* | \
3041 'mkdir (fileutils) '4.1*)
3042 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3052 test -d ./--version && rmdir ./--version
3053 if test "${ac_cv_path_mkdir+set}" = set; then
3054 MKDIR_P="$ac_cv_path_mkdir -p"
3056 # As a last resort, use the slow shell script. Don't cache a
3057 # value for MKDIR_P within a source directory, because that will
3058 # break other packages using the cache if that directory is
3059 # removed, or if the value is a relative name.
3060 MKDIR_P="$ac_install_sh -d"
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3064 $as_echo "$MKDIR_P" >&6; }
3066 for ac_prog in gawk mawk nawk awk
3068 # Extract the first word of "$ac_prog", so it can be a program name with args.
3069 set dummy $ac_prog; ac_word=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_AWK+:} false; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$AWK"; then
3076 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir=.
3083 for ac_exec_ext in '' $ac_executable_extensions; do
3084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085 ac_cv_prog_AWK="$ac_prog"
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 if test -n "$AWK"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3098 $as_echo "$AWK" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3105 test -n "$AWK" && break
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3109 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3111 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3112 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 cat >conftest.make <<\_ACEOF
3118 @echo '@@@%%%=$(MAKE)=@@@%%%'
3120 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3121 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3123 eval ac_cv_prog_make_${ac_make}_set=yes;;
3125 eval ac_cv_prog_make_${ac_make}_set=no;;
3129 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3131 $as_echo "yes" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3136 SET_MAKE="MAKE=${MAKE-make}"
3139 rm -rf .tst 2>/dev/null
3140 mkdir .tst 2>/dev/null
3141 if test -d .tst; then
3146 rmdir .tst 2>/dev/null
3148 # Check whether --enable-silent-rules was given.
3149 if test "${enable_silent_rules+set}" = set; then :
3150 enableval=$enable_silent_rules;
3153 case $enable_silent_rules in # (((
3154 yes) AM_DEFAULT_VERBOSITY=0;;
3155 no) AM_DEFAULT_VERBOSITY=1;;
3156 *) AM_DEFAULT_VERBOSITY=1;;
3158 am_make=${MAKE-make}
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3160 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3161 if ${am_cv_make_support_nested_variables+:} false; then :
3162 $as_echo_n "(cached) " >&6
3164 if $as_echo 'TRUE=$(BAR$(V))
3170 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3171 am_cv_make_support_nested_variables=yes
3173 am_cv_make_support_nested_variables=no
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3177 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3178 if test $am_cv_make_support_nested_variables = yes; then
3180 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3182 AM_V=$AM_DEFAULT_VERBOSITY
3183 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3187 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3188 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3189 # is not polluted with repeated "-I."
3190 am__isrc=' -I$(srcdir)'
3191 # test to see if srcdir already configured
3192 if test -f $srcdir/config.status; then
3193 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3197 # test whether we have cygpath
3198 if test -z "$CYGPATH_W"; then
3199 if (cygpath --version) >/dev/null 2>/dev/null; then
3200 CYGPATH_W='cygpath -w'
3207 # Define the identity of the package.
3208 PACKAGE='fontconfig'
3212 cat >>confdefs.h <<_ACEOF
3213 #define PACKAGE "$PACKAGE"
3217 cat >>confdefs.h <<_ACEOF
3218 #define VERSION "$VERSION"
3221 # Some tools Automake needs.
3223 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3226 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3229 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3232 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3235 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3237 # For better backward compatibility. To be removed once Automake 1.9.x
3238 # dies out for good. For more background, see:
3239 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3240 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3241 mkdir_p='$(MKDIR_P)'
3243 # We need awk for the "check" target. The system "awk" is bad on
3245 # Always define AMTAR for backward compatibility. Yes, it's still used
3246 # in the wild :-( We should find a proper way to deprecate it ...
3250 # We'll loop over all known methods to create a tar archive until one works.
3251 _am_tools='gnutar pax cpio none'
3253 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3260 # POSIX will say in a future version that running "rm -f" with no argument
3261 # is OK; and we want to be able to make that assumption in our Makefile
3262 # recipes. So use an aggressive probe to check that the usage we want is
3263 # actually supported "in the wild" to an acceptable degree.
3264 # See automake bug#10828.
3265 # To make any issue more visible, cause the running configure to be aborted
3266 # by default if the 'rm' program in use doesn't match our expectations; the
3267 # user can still override this though.
3268 if rm -f && rm -fr && rm -rf; then : OK; else
3272 Your 'rm' program seems unable to run without file operands specified
3273 on the command line, even when the '-f' option is present. This is contrary
3274 to the behaviour of most rm programs out there, and not conforming with
3275 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3277 Please tell bug-automake@gnu.org about your system, including the value
3278 of your $PATH and any error possibly output before this message. This
3279 can help us improve future automake versions.
3282 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3283 echo 'Configuration will proceed anyway, since you have set the' >&2
3284 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3288 Aborting the configuration process, to ensure you take notice of the issue.
3290 You can download and install GNU coreutils to get an 'rm' implementation
3291 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3293 If you want to complete the configuration process using your problematic
3294 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3295 to "yes", and re-run configure.
3298 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3301 # Check whether --enable-silent-rules was given.
3302 if test "${enable_silent_rules+set}" = set; then :
3303 enableval=$enable_silent_rules;
3306 case $enable_silent_rules in # (((
3307 yes) AM_DEFAULT_VERBOSITY=0;;
3308 no) AM_DEFAULT_VERBOSITY=1;;
3309 *) AM_DEFAULT_VERBOSITY=0;;
3311 am_make=${MAKE-make}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3313 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3314 if ${am_cv_make_support_nested_variables+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 if $as_echo 'TRUE=$(BAR$(V))
3323 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3324 am_cv_make_support_nested_variables=yes
3326 am_cv_make_support_nested_variables=no
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3330 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3331 if test $am_cv_make_support_nested_variables = yes; then
3333 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3335 AM_V=$AM_DEFAULT_VERBOSITY
3336 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3342 ac_config_headers="$ac_config_headers config.h"
3347 ac_cpp='$CPP $CPPFLAGS'
3348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}gcc; 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_CC="${ac_tool_prefix}gcc"
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; }
3390 if test -z "$ac_cv_prog_CC"; then
3392 # Extract the first word of "gcc", so it can be a program name with args.
3393 set dummy gcc; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$ac_ct_CC"; then
3400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409 ac_cv_prog_ac_ct_CC="gcc"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3420 if test -n "$ac_ct_CC"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3422 $as_echo "$ac_ct_CC" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3428 if test "x$ac_ct_CC" = x; then
3431 case $cross_compiling:$ac_tool_warned in
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3443 if test -z "$CC"; then
3444 if test -n "$ac_tool_prefix"; then
3445 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3446 set dummy ${ac_tool_prefix}cc; ac_word=$2
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3448 $as_echo_n "checking for $ac_word... " >&6; }
3449 if ${ac_cv_prog_CC+:} false; then :
3450 $as_echo_n "(cached) " >&6
3452 if test -n "$CC"; then
3453 ac_cv_prog_CC="$CC" # Let the user override the test.
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_CC="${ac_tool_prefix}cc"
3463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 if test -n "$CC"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3475 $as_echo "$CC" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3484 if test -z "$CC"; then
3485 # Extract the first word of "cc", so it can be a program name with args.
3486 set dummy cc; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if ${ac_cv_prog_CC+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 if test -n "$CC"; then
3493 ac_cv_prog_CC="$CC" # Let the user override the test.
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir=.
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3504 ac_prog_rejected=yes
3508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 if test $ac_prog_rejected = yes; then
3516 # We found a bogon in the path, so make sure we never use it.
3517 set dummy $ac_cv_prog_CC
3519 if test $# != 0; then
3520 # We chose a different compiler from the bogus one.
3521 # However, it has the same basename, so the bogon will be chosen
3522 # first if we set CC to just the basename; use the full file name.
3524 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3530 if test -n "$CC"; then
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3532 $as_echo "$CC" >&6; }
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3535 $as_echo "no" >&6; }
3540 if test -z "$CC"; then
3541 if test -n "$ac_tool_prefix"; then
3542 for ac_prog in cl.exe
3544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if ${ac_cv_prog_CC+:} false; then :
3549 $as_echo_n "(cached) " >&6
3551 if test -n "$CC"; then
3552 ac_cv_prog_CC="$CC" # Let the user override the test.
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3561 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 if test -n "$CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3574 $as_echo "$CC" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3581 test -n "$CC" && break
3584 if test -z "$CC"; then
3586 for ac_prog in cl.exe
3588 # Extract the first word of "$ac_prog", so it can be a program name with args.
3589 set dummy $ac_prog; ac_word=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3593 $as_echo_n "(cached) " >&6
3595 if test -n "$ac_ct_CC"; then
3596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3605 ac_cv_prog_ac_ct_CC="$ac_prog"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3616 if test -n "$ac_ct_CC"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3618 $as_echo "$ac_ct_CC" >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3625 test -n "$ac_ct_CC" && break
3628 if test "x$ac_ct_CC" = x; then
3631 case $cross_compiling:$ac_tool_warned in
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned=yes ;;
3644 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3646 as_fn_error $? "no acceptable C compiler found in \$PATH
3647 See \`config.log' for more details" "$LINENO" 5; }
3649 # Provide some information about the compiler.
3650 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3653 for ac_option in --version -v -V -qversion; do
3654 { { ac_try="$ac_compiler $ac_option >&5"
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3663 if test -s conftest.err; then
3665 ... rest of stderr output deleted ...
3666 10q' conftest.err >conftest.er1
3667 cat conftest.er1 >&5
3669 rm -f conftest.er1 conftest.err
3670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3671 test $ac_status = 0; }
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3685 ac_clean_files_save=$ac_clean_files
3686 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3687 # Try to create an executable without -o first, disregard a.out.
3688 # It will help us diagnose broken compilers, and finding out an intuition
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3691 $as_echo_n "checking whether the C compiler works... " >&6; }
3692 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3694 # The possible output files:
3695 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3698 for ac_file in $ac_files
3701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3702 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3707 if { { ac_try="$ac_link_default"
3709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3713 $as_echo "$ac_try_echo"; } >&5
3714 (eval "$ac_link_default") 2>&5
3716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3717 test $ac_status = 0; }; then :
3718 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3719 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3720 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3721 # so that the user can short-circuit this test for compilers unknown to
3723 for ac_file in $ac_files ''
3725 test -f "$ac_file" || continue
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3730 # We found the default executable, but exeext='' is most
3734 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3736 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3738 # We set ac_cv_exeext here because the later test for it is not
3739 # safe: cross compilers may not add the suffix if given an `-o'
3740 # argument, so we may need to know it at that point already.
3741 # Even if this section looks crufty: it has the advantage of
3748 test "$ac_cv_exeext" = no && ac_cv_exeext=
3753 if test -z "$ac_file"; then :
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3756 $as_echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761 as_fn_error 77 "C compiler cannot create executables
3762 See \`config.log' for more details" "$LINENO" 5; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3765 $as_echo "yes" >&6; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3768 $as_echo_n "checking for C compiler default output file name... " >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3770 $as_echo "$ac_file" >&6; }
3771 ac_exeext=$ac_cv_exeext
3773 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3774 ac_clean_files=$ac_clean_files_save
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3776 $as_echo_n "checking for suffix of executables... " >&6; }
3777 if { { ac_try="$ac_link"
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784 (eval "$ac_link") 2>&5
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }; then :
3788 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3789 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3790 # work properly (i.e., refer to `conftest.exe'), while it won't with
3792 for ac_file in conftest.exe conftest conftest.*; do
3793 test -f "$ac_file" || continue
3795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3796 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3805 See \`config.log' for more details" "$LINENO" 5; }
3807 rm -f conftest conftest$ac_cv_exeext
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3809 $as_echo "$ac_cv_exeext" >&6; }
3811 rm -f conftest.$ac_ext
3812 EXEEXT=$ac_cv_exeext
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3820 FILE *f = fopen ("conftest.out", "w");
3821 return ferror (f) || fclose (f) != 0;
3827 ac_clean_files="$ac_clean_files conftest.out"
3828 # Check that the compiler produces executables we can run. If not, either
3829 # the compiler is broken, or we cross compile.
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3831 $as_echo_n "checking whether we are cross compiling... " >&6; }
3832 if test "$cross_compiling" != yes; then
3833 { { ac_try="$ac_link"
3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840 (eval "$ac_link") 2>&5
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }
3844 if { ac_try='./conftest$ac_cv_exeext'
3845 { { case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850 $as_echo "$ac_try_echo"; } >&5
3851 (eval "$ac_try") 2>&5
3853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854 test $ac_status = 0; }; }; then
3857 if test "$cross_compiling" = maybe; then
3860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3862 as_fn_error $? "cannot run C compiled programs.
3863 If you meant to cross compile, use \`--host'.
3864 See \`config.log' for more details" "$LINENO" 5; }
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3869 $as_echo "$cross_compiling" >&6; }
3871 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3872 ac_clean_files=$ac_clean_files_save
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3874 $as_echo_n "checking for suffix of object files... " >&6; }
3875 if ${ac_cv_objext+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3889 rm -f conftest.o conftest.obj
3890 if { { ac_try="$ac_compile"
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_compile") 2>&5
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }; then :
3901 for ac_file in conftest.o conftest.obj conftest.*; do
3902 test -f "$ac_file" || continue;
3904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3905 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3910 $as_echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.$ac_ext >&5
3913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3915 as_fn_error $? "cannot compute suffix of object files: cannot compile
3916 See \`config.log' for more details" "$LINENO" 5; }
3918 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3921 $as_echo "$ac_cv_objext" >&6; }
3922 OBJEXT=$ac_cv_objext
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3925 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3926 if ${ac_cv_c_compiler_gnu+:} false; then :
3927 $as_echo_n "(cached) " >&6
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3943 if ac_fn_c_try_compile "$LINENO"; then :
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3953 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3954 if test $ac_compiler_gnu = yes; then
3959 ac_test_CFLAGS=${CFLAGS+set}
3960 ac_save_CFLAGS=$CFLAGS
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3962 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3963 if ${ac_cv_prog_cc_g+:} false; then :
3964 $as_echo_n "(cached) " >&6
3966 ac_save_c_werror_flag=$ac_c_werror_flag
3967 ac_c_werror_flag=yes
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 if ac_fn_c_try_compile "$LINENO"; then :
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3996 if ac_fn_c_try_compile "$LINENO"; then :
3999 ac_c_werror_flag=$ac_save_c_werror_flag
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4012 if ac_fn_c_try_compile "$LINENO"; then :
4015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020 ac_c_werror_flag=$ac_save_c_werror_flag
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4023 $as_echo "$ac_cv_prog_cc_g" >&6; }
4024 if test "$ac_test_CFLAGS" = set; then
4025 CFLAGS=$ac_save_CFLAGS
4026 elif test $ac_cv_prog_cc_g = yes; then
4027 if test "$GCC" = yes; then
4033 if test "$GCC" = yes; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4040 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4041 if ${ac_cv_prog_cc_c89+:} false; then :
4042 $as_echo_n "(cached) " >&6
4044 ac_cv_prog_cc_c89=no
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4051 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4052 struct buf { int x; };
4053 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4054 static char *e (p, i)
4060 static char *f (char * (*g) (char **, int), char **p, ...)
4065 s = g (p, va_arg (v,int));
4070 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4071 function prototypes and stuff, but not '\xHH' hex character constants.
4072 These don't provoke an error unfortunately, instead are silently treated
4073 as 'x'. The following induces an error, until -std is added to get
4074 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4075 array size at least. It's necessary to write '\x00'==0 to get something
4076 that's true only with -std. */
4077 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4079 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4080 inside strings and character constants. */
4082 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4084 int test (int i, double x);
4085 struct s1 {int (*f) (int a);};
4086 struct s2 {int (*f) (double a);};
4087 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4093 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4098 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4099 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4101 CC="$ac_save_CC $ac_arg"
4102 if ac_fn_c_try_compile "$LINENO"; then :
4103 ac_cv_prog_cc_c89=$ac_arg
4105 rm -f core conftest.err conftest.$ac_objext
4106 test "x$ac_cv_prog_cc_c89" != "xno" && break
4108 rm -f conftest.$ac_ext
4113 case "x$ac_cv_prog_cc_c89" in
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4116 $as_echo "none needed" >&6; } ;;
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4119 $as_echo "unsupported" >&6; } ;;
4121 CC="$CC $ac_cv_prog_cc_c89"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4123 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4125 if test "x$ac_cv_prog_cc_c89" != xno; then :
4130 ac_cpp='$CPP $CPPFLAGS'
4131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136 ac_cpp='$CPP $CPPFLAGS'
4137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4141 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4142 if ${am_cv_prog_cc_c_o+:} false; then :
4143 $as_echo_n "(cached) " >&6
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4156 # Make sure it works both with $CC and with simple cc.
4157 # Following AC_PROG_CC_C_O, we do the test twice because some
4158 # compilers refuse to overwrite an existing .o file with -o,
4159 # though they will create one.
4160 am_cv_prog_cc_c_o=yes
4162 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4163 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } \
4167 && test -f conftest2.$ac_objext; then
4170 am_cv_prog_cc_c_o=no
4174 rm -f core conftest*
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4178 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4179 if test "$am_cv_prog_cc_c_o" != yes; then
4180 # Losing compiler, so override with the script.
4181 # FIXME: It is wrong to rewrite CC.
4182 # But if we don't then we get into trouble of one sort or another.
4183 # A longer-term fix would be to have automake use am__CC in this case,
4184 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4185 CC="$am_aux_dir/compile $CC"
4188 ac_cpp='$CPP $CPPFLAGS'
4189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4193 DEPDIR="${am__leading_dot}deps"
4195 ac_config_commands="$ac_config_commands depfiles"
4198 am_make=${MAKE-make}
4199 cat > confinc << 'END'
4201 @echo this is the am__doit target
4204 # If we don't find an include directive, just comment out the code.
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4206 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4210 # First try GNU make style include.
4211 echo "include confinc" > confmf
4212 # Ignore all kinds of additional output from 'make'.
4213 case `$am_make -s -f confmf 2> /dev/null` in #(
4214 *the\ am__doit\ target*)
4220 # Now try BSD make style include.
4221 if test "$am__include" = "#"; then
4222 echo '.include "confinc"' > confmf
4223 case `$am_make -s -f confmf 2> /dev/null` in #(
4224 *the\ am__doit\ target*)
4225 am__include=.include
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4234 $as_echo "$_am_result" >&6; }
4235 rm -f confinc confmf
4237 # Check whether --enable-dependency-tracking was given.
4238 if test "${enable_dependency_tracking+set}" = set; then :
4239 enableval=$enable_dependency_tracking;
4242 if test "x$enable_dependency_tracking" != xno; then
4243 am_depcomp="$ac_aux_dir/depcomp"
4247 if test "x$enable_dependency_tracking" != xno; then
4257 depcc="$CC" am_compiler_list=
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4260 $as_echo_n "checking dependency style of $depcc... " >&6; }
4261 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4265 # We make a subdir and do the tests there. Otherwise we can end up
4266 # making bogus files that we don't know about and never remove. For
4267 # instance it was reported that on HP-UX the gcc test will end up
4268 # making a dummy file named 'D' -- because '-MD' means "put the output
4272 # Copy depcomp to subdir because otherwise we won't find it if we're
4273 # using a relative directory.
4274 cp "$am_depcomp" conftest.dir
4276 # We will build objects and dependencies in a subdirectory because
4277 # it helps to detect inapplicable dependency modes. For instance
4278 # both Tru64's cc and ICC support -MD to output dependencies as a
4279 # side effect of compilation, but ICC will put the dependencies in
4280 # the current directory while Tru64 will put them in the object
4284 am_cv_CC_dependencies_compiler_type=none
4285 if test "$am_compiler_list" = ""; then
4286 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4289 case " $depcc " in #(
4290 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4293 for depmode in $am_compiler_list; do
4294 # Setup a source with many dependencies, because some compilers
4295 # like to wrap large dependency lists on column 80 (with \), and
4296 # we should not choose a depcomp mode which is confused by this.
4298 # We need to recreate these files for each test, as the compiler may
4299 # overwrite some of them when testing with obscure command lines.
4300 # This happens at least with the AIX C compiler.
4302 for i in 1 2 3 4 5 6; do
4303 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4304 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4305 # Solaris 10 /bin/sh.
4306 echo '/* dummy */' > sub/conftst$i.h
4308 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4310 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4311 # mode. It turns out that the SunPro C++ compiler does not properly
4312 # handle '-M -o', and we need to detect this. Also, some Intel
4313 # versions had trouble with output in subdirs.
4314 am__obj=sub/conftest.${OBJEXT-o}
4315 am__minus_obj="-o $am__obj"
4318 # This depmode causes a compiler race in universal mode.
4319 test "$am__universal" = false || continue
4322 # After this tag, mechanisms are not by side-effect, so they'll
4323 # only be used when explicitly requested.
4324 if test "x$enable_dependency_tracking" = xyes; then
4330 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4331 # This compiler won't grok '-c -o', but also, the minuso test has
4332 # not run yet. These depmodes are late enough in the game, and
4333 # so weak that their functioning should not be impacted.
4334 am__obj=conftest.${OBJEXT-o}
4339 if depmode=$depmode \
4340 source=sub/conftest.c object=$am__obj \
4341 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4342 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4343 >/dev/null 2>conftest.err &&
4344 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4345 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4346 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4347 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4348 # icc doesn't choke on unknown options, it will just issue warnings
4349 # or remarks (even with -Werror). So we grep stderr for any message
4350 # that says an option was ignored or not supported.
4351 # When given -MP, icc 7.0 and 7.1 complain thusly:
4352 # icc: Command line warning: ignoring option '-M'; no argument required
4353 # The diagnosis changed in icc 8.0:
4354 # icc: Command line remark: option '-MP' not supported
4355 if (grep 'ignoring option' conftest.err ||
4356 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4357 am_cv_CC_dependencies_compiler_type=$depmode
4366 am_cv_CC_dependencies_compiler_type=none
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4371 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4372 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4375 test "x$enable_dependency_tracking" != xno \
4376 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4378 am__fastdepCC_FALSE='#'
4380 am__fastdepCC_TRUE='#'
4381 am__fastdepCC_FALSE=
4387 ac_cpp='$CPP $CPPFLAGS'
4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4392 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4393 # On Suns, sometimes $CPP names a directory.
4394 if test -n "$CPP" && test -d "$CPP"; then
4397 if test -z "$CPP"; then
4398 if ${ac_cv_prog_CPP+:} false; then :
4399 $as_echo_n "(cached) " >&6
4401 # Double quotes because CPP needs to be expanded
4402 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4405 for ac_c_preproc_warn_flag in '' yes
4407 # Use a header file that comes with gcc, so configuring glibc
4408 # with a fresh cross-compiler works.
4409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4410 # <limits.h> exists even on freestanding compilers.
4411 # On the NeXT, cc -E runs the code through the compiler's parser,
4412 # not just through cpp. "Syntax error" is here to catch this case.
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4416 # include <limits.h>
4418 # include <assert.h>
4422 if ac_fn_c_try_cpp "$LINENO"; then :
4425 # Broken: fails on valid input.
4428 rm -f conftest.err conftest.i conftest.$ac_ext
4430 # OK, works on sane cases. Now check whether nonexistent headers
4431 # can be detected and how.
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4434 #include <ac_nonexistent.h>
4436 if ac_fn_c_try_cpp "$LINENO"; then :
4437 # Broken: success on invalid input.
4440 # Passes both tests.
4444 rm -f conftest.err conftest.i conftest.$ac_ext
4447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4448 rm -f conftest.i conftest.err conftest.$ac_ext
4449 if $ac_preproc_ok; then :
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4462 $as_echo "$CPP" >&6; }
4464 for ac_c_preproc_warn_flag in '' yes
4466 # Use a header file that comes with gcc, so configuring glibc
4467 # with a fresh cross-compiler works.
4468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4469 # <limits.h> exists even on freestanding compilers.
4470 # On the NeXT, cc -E runs the code through the compiler's parser,
4471 # not just through cpp. "Syntax error" is here to catch this case.
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4475 # include <limits.h>
4477 # include <assert.h>
4481 if ac_fn_c_try_cpp "$LINENO"; then :
4484 # Broken: fails on valid input.
4487 rm -f conftest.err conftest.i conftest.$ac_ext
4489 # OK, works on sane cases. Now check whether nonexistent headers
4490 # can be detected and how.
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4493 #include <ac_nonexistent.h>
4495 if ac_fn_c_try_cpp "$LINENO"; then :
4496 # Broken: success on invalid input.
4499 # Passes both tests.
4503 rm -f conftest.err conftest.i conftest.$ac_ext
4506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4507 rm -f conftest.i conftest.err conftest.$ac_ext
4508 if $ac_preproc_ok; then :
4511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4513 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4514 See \`config.log' for more details" "$LINENO" 5; }
4518 ac_cpp='$CPP $CPPFLAGS'
4519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4525 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4526 if ${ac_cv_path_GREP+:} false; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -z "$GREP"; then
4530 ac_path_GREP_found=false
4531 # Loop through the user's path and test for each of PROGNAME-LIST
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4536 test -z "$as_dir" && as_dir=.
4537 for ac_prog in grep ggrep; do
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4540 as_fn_executable_p "$ac_path_GREP" || continue
4541 # Check for GNU ac_path_GREP and select it if it is found.
4542 # Check for GNU $ac_path_GREP
4543 case `"$ac_path_GREP" --version 2>&1` in
4545 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4548 $as_echo_n 0123456789 >"conftest.in"
4551 cat "conftest.in" "conftest.in" >"conftest.tmp"
4552 mv "conftest.tmp" "conftest.in"
4553 cp "conftest.in" "conftest.nl"
4554 $as_echo 'GREP' >> "conftest.nl"
4555 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4556 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4557 as_fn_arith $ac_count + 1 && ac_count=$as_val
4558 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4559 # Best one so far, save it but keep looking for a better one
4560 ac_cv_path_GREP="$ac_path_GREP"
4561 ac_path_GREP_max=$ac_count
4563 # 10*(2^10) chars as input seems more than enough
4564 test $ac_count -gt 10 && break
4566 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4569 $ac_path_GREP_found && break 3
4574 if test -z "$ac_cv_path_GREP"; then
4575 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4578 ac_cv_path_GREP=$GREP
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4583 $as_echo "$ac_cv_path_GREP" >&6; }
4584 GREP="$ac_cv_path_GREP"
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4588 $as_echo_n "checking for egrep... " >&6; }
4589 if ${ac_cv_path_EGREP+:} false; then :
4590 $as_echo_n "(cached) " >&6
4592 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4593 then ac_cv_path_EGREP="$GREP -E"
4595 if test -z "$EGREP"; then
4596 ac_path_EGREP_found=false
4597 # Loop through the user's path and test for each of PROGNAME-LIST
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4602 test -z "$as_dir" && as_dir=.
4603 for ac_prog in egrep; do
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4606 as_fn_executable_p "$ac_path_EGREP" || continue
4607 # Check for GNU ac_path_EGREP and select it if it is found.
4608 # Check for GNU $ac_path_EGREP
4609 case `"$ac_path_EGREP" --version 2>&1` in
4611 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4614 $as_echo_n 0123456789 >"conftest.in"
4617 cat "conftest.in" "conftest.in" >"conftest.tmp"
4618 mv "conftest.tmp" "conftest.in"
4619 cp "conftest.in" "conftest.nl"
4620 $as_echo 'EGREP' >> "conftest.nl"
4621 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4622 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4623 as_fn_arith $ac_count + 1 && ac_count=$as_val
4624 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4625 # Best one so far, save it but keep looking for a better one
4626 ac_cv_path_EGREP="$ac_path_EGREP"
4627 ac_path_EGREP_max=$ac_count
4629 # 10*(2^10) chars as input seems more than enough
4630 test $ac_count -gt 10 && break
4632 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4635 $ac_path_EGREP_found && break 3
4640 if test -z "$ac_cv_path_EGREP"; then
4641 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4644 ac_cv_path_EGREP=$EGREP
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4650 $as_echo "$ac_cv_path_EGREP" >&6; }
4651 EGREP="$ac_cv_path_EGREP"
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4655 $as_echo_n "checking for ANSI C header files... " >&6; }
4656 if ${ac_cv_header_stdc+:} false; then :
4657 $as_echo_n "(cached) " >&6
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4674 if ac_fn_c_try_compile "$LINENO"; then :
4675 ac_cv_header_stdc=yes
4677 ac_cv_header_stdc=no
4679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 if test $ac_cv_header_stdc = yes; then
4682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4689 $EGREP "memchr" >/dev/null 2>&1; then :
4692 ac_cv_header_stdc=no
4698 if test $ac_cv_header_stdc = yes; then
4699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4706 $EGREP "free" >/dev/null 2>&1; then :
4709 ac_cv_header_stdc=no
4715 if test $ac_cv_header_stdc = yes; then
4716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4717 if test "$cross_compiling" = yes; then :
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4724 #if ((' ' & 0x0FF) == 0x020)
4725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4728 # define ISLOWER(c) \
4729 (('a' <= (c) && (c) <= 'i') \
4730 || ('j' <= (c) && (c) <= 'r') \
4731 || ('s' <= (c) && (c) <= 'z'))
4732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4740 for (i = 0; i < 256; i++)
4741 if (XOR (islower (i), ISLOWER (i))
4742 || toupper (i) != TOUPPER (i))
4747 if ac_fn_c_try_run "$LINENO"; then :
4750 ac_cv_header_stdc=no
4752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4753 conftest.$ac_objext conftest.beam conftest.$ac_ext
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4759 $as_echo "$ac_cv_header_stdc" >&6; }
4760 if test $ac_cv_header_stdc = yes; then
4762 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4767 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4768 inttypes.h stdint.h unistd.h
4770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4771 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4774 cat >>confdefs.h <<_ACEOF
4775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4784 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4785 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4792 if test "$MINIX" = yes; then
4794 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4797 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4800 $as_echo "#define _MINIX 1" >>confdefs.h
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4806 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4807 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4808 $as_echo_n "(cached) " >&6
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4813 # define __EXTENSIONS__ 1
4814 $ac_includes_default
4823 if ac_fn_c_try_compile "$LINENO"; then :
4824 ac_cv_safe_to_define___extensions__=yes
4826 ac_cv_safe_to_define___extensions__=no
4828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4831 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4832 test $ac_cv_safe_to_define___extensions__ = yes &&
4833 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4835 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4837 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4839 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4841 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4844 # Check whether --enable-largefile was given.
4845 if test "${enable_largefile+set}" = set; then :
4846 enableval=$enable_largefile;
4849 if test "$enable_largefile" != no; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4852 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4853 if ${ac_cv_sys_largefile_CC+:} false; then :
4854 $as_echo_n "(cached) " >&6
4856 ac_cv_sys_largefile_CC=no
4857 if test "$GCC" != yes; then
4860 # IRIX 6.2 and later do not support large files by default,
4861 # so use the C compiler's -n32 option if that helps.
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4864 #include <sys/types.h>
4865 /* Check that off_t can represent 2**63 - 1 correctly.
4866 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4867 since some C++ compilers masquerading as C compilers
4868 incorrectly reject 9223372036854775807. */
4869 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4870 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4871 && LARGE_OFF_T % 2147483647 == 1)
4881 if ac_fn_c_try_compile "$LINENO"; then :
4884 rm -f core conftest.err conftest.$ac_objext
4886 if ac_fn_c_try_compile "$LINENO"; then :
4887 ac_cv_sys_largefile_CC=' -n32'; break
4889 rm -f core conftest.err conftest.$ac_objext
4893 rm -f conftest.$ac_ext
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4897 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4898 if test "$ac_cv_sys_largefile_CC" != no; then
4899 CC=$CC$ac_cv_sys_largefile_CC
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4903 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4904 if ${ac_cv_sys_file_offset_bits+:} false; then :
4905 $as_echo_n "(cached) " >&6
4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4910 #include <sys/types.h>
4911 /* Check that off_t can represent 2**63 - 1 correctly.
4912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4913 since some C++ compilers masquerading as C compilers
4914 incorrectly reject 9223372036854775807. */
4915 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4917 && LARGE_OFF_T % 2147483647 == 1)
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 ac_cv_sys_file_offset_bits=no; break
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4933 #define _FILE_OFFSET_BITS 64
4934 #include <sys/types.h>
4935 /* Check that off_t can represent 2**63 - 1 correctly.
4936 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4937 since some C++ compilers masquerading as C compilers
4938 incorrectly reject 9223372036854775807. */
4939 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4940 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4941 && LARGE_OFF_T % 2147483647 == 1)
4951 if ac_fn_c_try_compile "$LINENO"; then :
4952 ac_cv_sys_file_offset_bits=64; break
4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4955 ac_cv_sys_file_offset_bits=unknown
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4960 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4961 case $ac_cv_sys_file_offset_bits in #(
4964 cat >>confdefs.h <<_ACEOF
4965 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4970 if test $ac_cv_sys_file_offset_bits = unknown; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4972 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4973 if ${ac_cv_sys_large_files+:} false; then :
4974 $as_echo_n "(cached) " >&6
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4979 #include <sys/types.h>
4980 /* Check that off_t can represent 2**63 - 1 correctly.
4981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4982 since some C++ compilers masquerading as C compilers
4983 incorrectly reject 9223372036854775807. */
4984 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4986 && LARGE_OFF_T % 2147483647 == 1)
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 ac_cv_sys_large_files=no; break
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5002 #define _LARGE_FILES 1
5003 #include <sys/types.h>
5004 /* Check that off_t can represent 2**63 - 1 correctly.
5005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5006 since some C++ compilers masquerading as C compilers
5007 incorrectly reject 9223372036854775807. */
5008 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5010 && LARGE_OFF_T % 2147483647 == 1)
5020 if ac_fn_c_try_compile "$LINENO"; then :
5021 ac_cv_sys_large_files=1; break
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024 ac_cv_sys_large_files=unknown
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5029 $as_echo "$ac_cv_sys_large_files" >&6; }
5030 case $ac_cv_sys_large_files in #(
5033 cat >>confdefs.h <<_ACEOF
5034 #define _LARGE_FILES $ac_cv_sys_large_files
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5046 $as_echo_n "checking whether ln -s works... " >&6; }
5048 if test "$LN_S" = "ln -s"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5050 $as_echo "yes" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5053 $as_echo "no, using $LN_S" >&6; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5057 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5059 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5060 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5061 $as_echo_n "(cached) " >&6
5063 cat >conftest.make <<\_ACEOF
5066 @echo '@@@%%%=$(MAKE)=@@@%%%'
5068 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5069 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5071 eval ac_cv_prog_make_${ac_make}_set=yes;;
5073 eval ac_cv_prog_make_${ac_make}_set=no;;
5077 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5079 $as_echo "yes" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5084 SET_MAKE="MAKE=${MAKE-make}"
5094 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5101 $as_echo_n "(cached) " >&6
5105 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5127 if test -n "$PKG_CONFIG"; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5129 $as_echo "$PKG_CONFIG" >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }
5137 if test -z "$ac_cv_path_PKG_CONFIG"; then
5138 ac_pt_PKG_CONFIG=$PKG_CONFIG
5139 # Extract the first word of "pkg-config", so it can be a program name with args.
5140 set dummy pkg-config; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5144 $as_echo_n "(cached) " >&6
5146 case $ac_pt_PKG_CONFIG in
5148 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5170 if test -n "$ac_pt_PKG_CONFIG"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5172 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5178 if test "x$ac_pt_PKG_CONFIG" = x; then
5181 case $cross_compiling:$ac_tool_warned in
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned=yes ;;
5187 PKG_CONFIG=$ac_pt_PKG_CONFIG
5190 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5194 if test -n "$PKG_CONFIG"; then
5195 _pkg_min_version=0.9.0
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5197 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5198 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5200 $as_echo "yes" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5210 # Check whether --with-pkgconfigdir was given.
5211 if test "${with_pkgconfigdir+set}" = set; then :
5212 withval=$with_pkgconfigdir;
5214 with_pkgconfigdir='${libdir}/pkgconfig'
5217 pkgconfigdir=$with_pkgconfigdir
5224 GIT=${GIT-"${am_missing_run}git"}
5227 GPERF=${GPERF-"${am_missing_run}gperf"}
5235 # Find any Python interpreter.
5236 if test -z "$PYTHON"; then
5237 for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy $ac_prog; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_path_PYTHON+:} false; then :
5244 $as_echo_n "(cached) " >&6
5248 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 PYTHON=$ac_cv_path_PYTHON
5270 if test -n "$PYTHON"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5272 $as_echo "$PYTHON" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5279 test -n "$PYTHON" && break
5281 test -n "$PYTHON" || PYTHON=":"
5284 am_display_PYTHON=python
5287 if test "$PYTHON" = :; then
5288 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5293 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5294 if ${am_cv_python_version+:} false; then :
5295 $as_echo_n "(cached) " >&6
5297 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5300 $as_echo "$am_cv_python_version" >&6; }
5301 PYTHON_VERSION=$am_cv_python_version
5305 PYTHON_PREFIX='${prefix}'
5307 PYTHON_EXEC_PREFIX='${exec_prefix}'
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5312 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5313 if ${am_cv_python_platform+:} false; then :
5314 $as_echo_n "(cached) " >&6
5316 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5319 $as_echo "$am_cv_python_platform" >&6; }
5320 PYTHON_PLATFORM=$am_cv_python_platform
5323 # Just factor out some code duplication.
5324 am_python_setup_sysconfig="\
5326 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5327 # with python 3.x. See automake bug#10227.
5331 can_use_sysconfig = 0
5333 can_use_sysconfig = 1
5334 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5335 # <https://github.com/pypa/virtualenv/issues/118>
5337 from platform import python_implementation
5338 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5339 can_use_sysconfig = 0
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5345 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5346 if ${am_cv_python_pythondir+:} false; then :
5347 $as_echo_n "(cached) " >&6
5349 if test "x$prefix" = xNONE
5351 am_py_prefix=$ac_default_prefix
5353 am_py_prefix=$prefix
5355 am_cv_python_pythondir=`$PYTHON -c "
5356 $am_python_setup_sysconfig
5357 if can_use_sysconfig:
5358 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
5360 from distutils import sysconfig
5361 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
5362 sys.stdout.write(sitedir)"`
5363 case $am_cv_python_pythondir in
5365 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
5366 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5369 case $am_py_prefix in
5372 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5380 $as_echo "$am_cv_python_pythondir" >&6; }
5381 pythondir=$am_cv_python_pythondir
5385 pkgpythondir=\${pythondir}/$PACKAGE
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5389 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5390 if ${am_cv_python_pyexecdir+:} false; then :
5391 $as_echo_n "(cached) " >&6
5393 if test "x$exec_prefix" = xNONE
5395 am_py_exec_prefix=$am_py_prefix
5397 am_py_exec_prefix=$exec_prefix
5399 am_cv_python_pyexecdir=`$PYTHON -c "
5400 $am_python_setup_sysconfig
5401 if can_use_sysconfig:
5402 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
5404 from distutils import sysconfig
5405 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
5406 sys.stdout.write(sitedir)"`
5407 case $am_cv_python_pyexecdir in
5408 $am_py_exec_prefix*)
5409 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5410 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5413 case $am_py_exec_prefix in
5416 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5424 $as_echo "$am_cv_python_pyexecdir" >&6; }
5425 pyexecdir=$am_cv_python_pyexecdir
5429 pkgpyexecdir=\${pyexecdir}/$PACKAGE
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RM macro" >&5
5438 $as_echo_n "checking for RM macro... " >&6; }
5439 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
5440 if test "x$_predefined_rm" = "x"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no predefined RM" >&5
5442 $as_echo "no predefined RM" >&6; }
5443 # Extract the first word of "rm", so it can be a program name with args.
5444 set dummy rm; ac_word=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_prog_RM+:} false; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -n "$RM"; then
5451 ac_cv_prog_RM="$RM" # Let the user override the test.
5453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 test -z "$as_dir" && as_dir=.
5458 for ac_exec_ext in '' $ac_executable_extensions; do
5459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5460 ac_cv_prog_RM="rm -f"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 if test -n "$RM"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5473 $as_echo "$RM" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_predefined_rm" >&5
5482 $as_echo "$_predefined_rm" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5489 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5494 macro_version='2.4.2'
5495 macro_revision='1.3337'
5509 ltmain="$ac_aux_dir/ltmain.sh"
5511 # Make sure we can run config.sub.
5512 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5513 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5516 $as_echo_n "checking build system type... " >&6; }
5517 if ${ac_cv_build+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 ac_build_alias=$build_alias
5521 test "x$ac_build_alias" = x &&
5522 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5523 test "x$ac_build_alias" = x &&
5524 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5525 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5526 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5530 $as_echo "$ac_cv_build" >&6; }
5531 case $ac_cv_build in
5533 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5536 ac_save_IFS=$IFS; IFS='-'
5542 # Remember, the first character of IFS is used to create $*,
5543 # except with old shells:
5546 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5550 $as_echo_n "checking host system type... " >&6; }
5551 if ${ac_cv_host+:} false; then :
5552 $as_echo_n "(cached) " >&6
5554 if test "x$host_alias" = x; then
5555 ac_cv_host=$ac_cv_build
5557 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5558 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5563 $as_echo "$ac_cv_host" >&6; }
5566 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5569 ac_save_IFS=$IFS; IFS='-'
5575 # Remember, the first character of IFS is used to create $*,
5576 # except with old shells:
5579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5582 # Backslashify metacharacters that are still active within
5583 # double-quoted strings.
5584 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5586 # Same as above, but do not quote variable references.
5587 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5589 # Sed substitution to delay expansion of an escaped shell variable in a
5590 # double_quote_subst'ed string.
5591 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5593 # Sed substitution to delay expansion of an escaped single quote.
5594 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5596 # Sed substitution to avoid accidental globbing in evaled expressions
5597 no_glob_subst='s/\*/\\\*/g'
5599 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5600 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5601 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5604 $as_echo_n "checking how to print strings... " >&6; }
5605 # Test print first, because it will be a builtin if present.
5606 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5607 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5609 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5612 # Use this function as a fallback that always works.
5613 func_fallback_echo ()
5615 eval 'cat <<_LTECHO_EOF
5619 ECHO='func_fallback_echo'
5622 # func_echo_all arg...
5623 # Invoke $ECHO with all args, space-separated.
5630 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5631 $as_echo "printf" >&6; } ;;
5632 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5633 $as_echo "print -r" >&6; } ;;
5634 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5635 $as_echo "cat" >&6; } ;;
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5652 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5653 if ${ac_cv_path_SED+:} false; then :
5654 $as_echo_n "(cached) " >&6
5656 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5657 for ac_i in 1 2 3 4 5 6 7; do
5658 ac_script="$ac_script$as_nl$ac_script"
5660 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5661 { ac_script=; unset ac_script;}
5662 if test -z "$SED"; then
5663 ac_path_SED_found=false
5664 # Loop through the user's path and test for each of PROGNAME-LIST
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir=.
5670 for ac_prog in sed gsed; do
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5673 as_fn_executable_p "$ac_path_SED" || continue
5674 # Check for GNU ac_path_SED and select it if it is found.
5675 # Check for GNU $ac_path_SED
5676 case `"$ac_path_SED" --version 2>&1` in
5678 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5681 $as_echo_n 0123456789 >"conftest.in"
5684 cat "conftest.in" "conftest.in" >"conftest.tmp"
5685 mv "conftest.tmp" "conftest.in"
5686 cp "conftest.in" "conftest.nl"
5687 $as_echo '' >> "conftest.nl"
5688 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5689 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5690 as_fn_arith $ac_count + 1 && ac_count=$as_val
5691 if test $ac_count -gt ${ac_path_SED_max-0}; then
5692 # Best one so far, save it but keep looking for a better one
5693 ac_cv_path_SED="$ac_path_SED"
5694 ac_path_SED_max=$ac_count
5696 # 10*(2^10) chars as input seems more than enough
5697 test $ac_count -gt 10 && break
5699 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5702 $ac_path_SED_found && break 3
5707 if test -z "$ac_cv_path_SED"; then
5708 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5716 $as_echo "$ac_cv_path_SED" >&6; }
5717 SED="$ac_cv_path_SED"
5720 test -z "$SED" && SED=sed
5721 Xsed="$SED -e 1s/^X//"
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5734 $as_echo_n "checking for fgrep... " >&6; }
5735 if ${ac_cv_path_FGREP+:} false; then :
5736 $as_echo_n "(cached) " >&6
5738 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5739 then ac_cv_path_FGREP="$GREP -F"
5741 if test -z "$FGREP"; then
5742 ac_path_FGREP_found=false
5743 # Loop through the user's path and test for each of PROGNAME-LIST
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5748 test -z "$as_dir" && as_dir=.
5749 for ac_prog in fgrep; do
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5752 as_fn_executable_p "$ac_path_FGREP" || continue
5753 # Check for GNU ac_path_FGREP and select it if it is found.
5754 # Check for GNU $ac_path_FGREP
5755 case `"$ac_path_FGREP" --version 2>&1` in
5757 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5760 $as_echo_n 0123456789 >"conftest.in"
5763 cat "conftest.in" "conftest.in" >"conftest.tmp"
5764 mv "conftest.tmp" "conftest.in"
5765 cp "conftest.in" "conftest.nl"
5766 $as_echo 'FGREP' >> "conftest.nl"
5767 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5768 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5769 as_fn_arith $ac_count + 1 && ac_count=$as_val
5770 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5771 # Best one so far, save it but keep looking for a better one
5772 ac_cv_path_FGREP="$ac_path_FGREP"
5773 ac_path_FGREP_max=$ac_count
5775 # 10*(2^10) chars as input seems more than enough
5776 test $ac_count -gt 10 && break
5778 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5781 $ac_path_FGREP_found && break 3
5786 if test -z "$ac_cv_path_FGREP"; then
5787 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5790 ac_cv_path_FGREP=$FGREP
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5796 $as_echo "$ac_cv_path_FGREP" >&6; }
5797 FGREP="$ac_cv_path_FGREP"
5800 test -z "$GREP" && GREP=grep
5820 # Check whether --with-gnu-ld was given.
5821 if test "${with_gnu_ld+set}" = set; then :
5822 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5828 if test "$GCC" = yes; then
5829 # Check if gcc -print-prog-name=ld gives a path.
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5831 $as_echo_n "checking for ld used by $CC... " >&6; }
5834 # gcc leaves a trailing carriage return which upsets mingw
5835 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5837 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5840 # Accept absolute paths.
5842 re_direlt='/[^/][^/]*/\.\./'
5843 # Canonicalize the pathname of ld
5844 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5845 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5846 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5848 test -z "$LD" && LD="$ac_prog"
5851 # If it fails, then pretend we aren't using GCC.
5855 # If it is relative, then search for the first ld in PATH.
5859 elif test "$with_gnu_ld" = yes; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5861 $as_echo_n "checking for GNU ld... " >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5864 $as_echo_n "checking for non-GNU ld... " >&6; }
5866 if ${lt_cv_path_LD+:} false; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -z "$LD"; then
5870 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5871 for ac_dir in $PATH; do
5873 test -z "$ac_dir" && ac_dir=.
5874 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5875 lt_cv_path_LD="$ac_dir/$ac_prog"
5876 # Check to see if the program is GNU ld. I'd rather use --version,
5877 # but apparently some variants of GNU ld only accept -v.
5878 # Break only if it was the GNU/non-GNU ld that we prefer.
5879 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5880 *GNU* | *'with BFD'*)
5881 test "$with_gnu_ld" != no && break
5884 test "$with_gnu_ld" != yes && break
5891 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5896 if test -n "$LD"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5898 $as_echo "$LD" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5903 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5905 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5906 if ${lt_cv_prog_gnu_ld+:} false; then :
5907 $as_echo_n "(cached) " >&6
5909 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5910 case `$LD -v 2>&1 </dev/null` in
5911 *GNU* | *'with BFD'*)
5912 lt_cv_prog_gnu_ld=yes
5915 lt_cv_prog_gnu_ld=no
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5920 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5921 with_gnu_ld=$lt_cv_prog_gnu_ld
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5932 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5933 if ${lt_cv_path_NM+:} false; then :
5934 $as_echo_n "(cached) " >&6
5936 if test -n "$NM"; then
5937 # Let the user override the test.
5940 lt_nm_to_check="${ac_tool_prefix}nm"
5941 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5942 lt_nm_to_check="$lt_nm_to_check nm"
5944 for lt_tmp_nm in $lt_nm_to_check; do
5945 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5946 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5948 test -z "$ac_dir" && ac_dir=.
5949 tmp_nm="$ac_dir/$lt_tmp_nm"
5950 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5951 # Check to see if the nm accepts a BSD-compat flag.
5952 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5953 # nm: unknown option "B" ignored
5954 # Tru64's nm complains that /dev/null is an invalid object file
5955 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5956 */dev/null* | *'Invalid file or object type'*)
5957 lt_cv_path_NM="$tmp_nm -B"
5961 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5963 lt_cv_path_NM="$tmp_nm -p"
5967 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5968 continue # so that we can try to find one that supports BSD flags
5977 : ${lt_cv_path_NM=no}
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5981 $as_echo "$lt_cv_path_NM" >&6; }
5982 if test "$lt_cv_path_NM" != "no"; then
5985 # Didn't find any BSD compatible name lister, look for dumpbin.
5986 if test -n "$DUMPBIN"; then :
5987 # Let the user override the test.
5989 if test -n "$ac_tool_prefix"; then
5990 for ac_prog in dumpbin "link -dump"
5992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_DUMPBIN+:} false; then :
5997 $as_echo_n "(cached) " >&6
5999 if test -n "$DUMPBIN"; then
6000 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 DUMPBIN=$ac_cv_prog_DUMPBIN
6020 if test -n "$DUMPBIN"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6022 $as_echo "$DUMPBIN" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$DUMPBIN" && break
6032 if test -z "$DUMPBIN"; then
6033 ac_ct_DUMPBIN=$DUMPBIN
6034 for ac_prog in dumpbin "link -dump"
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy $ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6041 $as_echo_n "(cached) " >&6
6043 if test -n "$ac_ct_DUMPBIN"; then
6044 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6050 test -z "$as_dir" && as_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6053 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6064 if test -n "$ac_ct_DUMPBIN"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6066 $as_echo "$ac_ct_DUMPBIN" >&6; }
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$ac_ct_DUMPBIN" && break
6076 if test "x$ac_ct_DUMPBIN" = x; then
6079 case $cross_compiling:$ac_tool_warned in
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6083 ac_tool_warned=yes ;;
6085 DUMPBIN=$ac_ct_DUMPBIN
6089 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6091 DUMPBIN="$DUMPBIN -symbols"
6099 if test "$DUMPBIN" != ":"; then
6103 test -z "$NM" && NM=nm
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6111 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6112 if ${lt_cv_nm_interface+:} false; then :
6113 $as_echo_n "(cached) " >&6
6115 lt_cv_nm_interface="BSD nm"
6116 echo "int some_variable = 0;" > conftest.$ac_ext
6117 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6118 (eval "$ac_compile" 2>conftest.err)
6119 cat conftest.err >&5
6120 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6121 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6122 cat conftest.err >&5
6123 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6124 cat conftest.out >&5
6125 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6126 lt_cv_nm_interface="MS dumpbin"
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6131 $as_echo "$lt_cv_nm_interface" >&6; }
6133 # find the maximum length of command line arguments
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6135 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6136 if ${lt_cv_sys_max_cmd_len+:} false; then :
6137 $as_echo_n "(cached) " >&6
6144 # On DJGPP, this test can blow up pretty badly due to problems in libc
6145 # (any single argument exceeding 2000 bytes causes a buffer overrun
6146 # during glob expansion). Even if it were fixed, the result of this
6147 # check would be larger than it should be.
6148 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6152 # Under GNU Hurd, this test is not required because there is
6153 # no limit to the length of command line arguments.
6154 # Libtool will interpret -1 as no limit whatsoever
6155 lt_cv_sys_max_cmd_len=-1;
6158 cygwin* | mingw* | cegcc*)
6159 # On Win9x/ME, this test blows up -- it succeeds, but takes
6160 # about 5 minutes as the teststring grows exponentially.
6161 # Worse, since 9x/ME are not pre-emptively multitasking,
6162 # you end up with a "frozen" computer, even though with patience
6163 # the test eventually succeeds (with a max line length of 256k).
6164 # Instead, let's just punt: use the minimum linelength reported by
6165 # all of the supported platforms: 8192 (on NT/2K/XP).
6166 lt_cv_sys_max_cmd_len=8192;
6170 # On MiNT this can take a long time and run out of memory.
6171 lt_cv_sys_max_cmd_len=8192;
6175 # On AmigaOS with pdksh, this test takes hours, literally.
6176 # So we just punt and use a minimum line length of 8192.
6177 lt_cv_sys_max_cmd_len=8192;
6180 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6181 # This has been around since 386BSD, at least. Likely further.
6182 if test -x /sbin/sysctl; then
6183 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6184 elif test -x /usr/sbin/sysctl; then
6185 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6187 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6189 # And add a safety zone
6190 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6191 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6195 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6196 lt_cv_sys_max_cmd_len=196608
6200 # The test takes a long time on OS/2.
6201 lt_cv_sys_max_cmd_len=8192
6205 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6206 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6207 # nice to cause kernel panics so lets avoid the loop below.
6208 # First set a reasonable default.
6209 lt_cv_sys_max_cmd_len=16384
6211 if test -x /sbin/sysconfig; then
6212 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6213 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6218 lt_cv_sys_max_cmd_len=102400
6220 sysv5* | sco5v6* | sysv4.2uw2*)
6221 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6222 if test -n "$kargmax"; then
6223 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6225 lt_cv_sys_max_cmd_len=32768
6229 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6230 if test -n "$lt_cv_sys_max_cmd_len"; then
6231 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6232 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6234 # Make teststring a little bigger before we do anything with it.
6235 # a 1K string should be a reasonable start.
6236 for i in 1 2 3 4 5 6 7 8 ; do
6237 teststring=$teststring$teststring
6239 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6240 # If test is not a shell built-in, we'll probably end up computing a
6241 # maximum length that is only half of the actual maximum length, but
6243 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6244 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6245 test $i != 17 # 1/2 MB should be enough
6248 teststring=$teststring$teststring
6250 # Only check the string length outside the loop.
6251 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6253 # Add a significant safety factor because C++ compilers can tack on
6254 # massive amounts of additional arguments before passing them to the
6255 # linker. It appears as though 1/2 is a usable value.
6256 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6263 if test -n $lt_cv_sys_max_cmd_len ; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6265 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6268 $as_echo "none" >&6; }
6270 max_cmd_len=$lt_cv_sys_max_cmd_len
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6282 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6283 # Try some XSI features
6286 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6288 && eval 'test $(( 1 + 1 )) -eq 2 \
6289 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6292 $as_echo "$xsi_shell" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6296 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6298 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6300 && lt_shell_append=yes
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6302 $as_echo "$lt_shell_append" >&6; }
6305 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6315 # test EBCDIC or ASCII
6316 case `echo X|tr X '\101'` in
6317 A) # ASCII based system
6318 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6319 lt_SP2NL='tr \040 \012'
6320 lt_NL2SP='tr \015\012 \040\040'
6322 *) # EBCDIC based system
6323 lt_SP2NL='tr \100 \n'
6324 lt_NL2SP='tr \r\n \100\100'
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6337 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6338 if ${lt_cv_to_host_file_cmd+:} false; then :
6339 $as_echo_n "(cached) " >&6
6344 *-*-mingw* ) # actually msys
6345 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6348 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6350 * ) # otherwise, assume *nix
6351 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6357 *-*-mingw* ) # actually msys
6358 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6361 lt_cv_to_host_file_cmd=func_convert_file_noop
6363 * ) # otherwise, assume *nix
6364 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6368 * ) # unhandled hosts (and "normal" native builds)
6369 lt_cv_to_host_file_cmd=func_convert_file_noop
6375 to_host_file_cmd=$lt_cv_to_host_file_cmd
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6377 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6384 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6385 if ${lt_cv_to_tool_file_cmd+:} false; then :
6386 $as_echo_n "(cached) " >&6
6388 #assume ordinary cross tools, or native build.
6389 lt_cv_to_tool_file_cmd=func_convert_file_noop
6393 *-*-mingw* ) # actually msys
6394 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6402 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6404 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6411 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6412 if ${lt_cv_ld_reload_flag+:} false; then :
6413 $as_echo_n "(cached) " >&6
6415 lt_cv_ld_reload_flag='-r'
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6418 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6419 reload_flag=$lt_cv_ld_reload_flag
6420 case $reload_flag in
6422 *) reload_flag=" $reload_flag" ;;
6424 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6426 cygwin* | mingw* | pw32* | cegcc*)
6427 if test "$GCC" != yes; then
6432 if test "$GCC" = yes; then
6433 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6435 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6448 if test -n "$ac_tool_prefix"; then
6449 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6450 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if ${ac_cv_prog_OBJDUMP+:} false; then :
6454 $as_echo_n "(cached) " >&6
6456 if test -n "$OBJDUMP"; then
6457 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 OBJDUMP=$ac_cv_prog_OBJDUMP
6477 if test -n "$OBJDUMP"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6479 $as_echo "$OBJDUMP" >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6487 if test -z "$ac_cv_prog_OBJDUMP"; then
6488 ac_ct_OBJDUMP=$OBJDUMP
6489 # Extract the first word of "objdump", so it can be a program name with args.
6490 set dummy objdump; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6494 $as_echo_n "(cached) " >&6
6496 if test -n "$ac_ct_OBJDUMP"; then
6497 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6517 if test -n "$ac_ct_OBJDUMP"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6519 $as_echo "$ac_ct_OBJDUMP" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6525 if test "x$ac_ct_OBJDUMP" = x; then
6528 case $cross_compiling:$ac_tool_warned in
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6532 ac_tool_warned=yes ;;
6534 OBJDUMP=$ac_ct_OBJDUMP
6537 OBJDUMP="$ac_cv_prog_OBJDUMP"
6540 test -z "$OBJDUMP" && OBJDUMP=objdump
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6548 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6549 if ${lt_cv_deplibs_check_method+:} false; then :
6550 $as_echo_n "(cached) " >&6
6552 lt_cv_file_magic_cmd='$MAGIC_CMD'
6553 lt_cv_file_magic_test_file=
6554 lt_cv_deplibs_check_method='unknown'
6555 # Need to set the preceding variable on all platforms that support
6556 # interlibrary dependencies.
6557 # 'none' -- dependencies not supported.
6558 # `unknown' -- same as none, but documents that we really don't know.
6559 # 'pass_all' -- all dependencies passed with no checks.
6560 # 'test_compile' -- check by making test program.
6561 # 'file_magic [[regex]]' -- check by looking for files in library path
6562 # which responds to the $file_magic_cmd with a given extended regex.
6563 # If you have `file' or equivalent on your system and you're not sure
6564 # whether `pass_all' will *always* work, you probably want this one.
6568 lt_cv_deplibs_check_method=pass_all
6572 lt_cv_deplibs_check_method=pass_all
6576 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6577 lt_cv_file_magic_cmd='/usr/bin/file -L'
6578 lt_cv_file_magic_test_file=/shlib/libc.so
6582 # func_win32_libid is a shell function defined in ltmain.sh
6583 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6584 lt_cv_file_magic_cmd='func_win32_libid'
6588 # Base MSYS/MinGW do not provide the 'file' command needed by
6589 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6590 # unless we find 'file', for example because we are cross-compiling.
6591 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6592 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6593 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6594 lt_cv_file_magic_cmd='func_win32_libid'
6596 # Keep this pattern in sync with the one in func_win32_libid.
6597 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6598 lt_cv_file_magic_cmd='$OBJDUMP -f'
6603 # use the weaker test based on 'objdump'. See mingw*.
6604 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6605 lt_cv_file_magic_cmd='$OBJDUMP -f'
6608 darwin* | rhapsody*)
6609 lt_cv_deplibs_check_method=pass_all
6612 freebsd* | dragonfly*)
6613 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6616 # Not sure whether the presence of OpenBSD here was a mistake.
6617 # Let's accept both of them until this is cleared up.
6618 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6619 lt_cv_file_magic_cmd=/usr/bin/file
6620 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6624 lt_cv_deplibs_check_method=pass_all
6629 lt_cv_deplibs_check_method=pass_all
6633 lt_cv_deplibs_check_method=pass_all
6636 hpux10.20* | hpux11*)
6637 lt_cv_file_magic_cmd=/usr/bin/file
6640 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6641 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6644 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]'
6645 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6648 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6649 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6655 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6656 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6659 irix5* | irix6* | nonstopux*)
6661 *-32|*"-32 ") libmagic=32-bit;;
6662 *-n32|*"-n32 ") libmagic=N32;;
6663 *-64|*"-64 ") libmagic=64-bit;;
6664 *) libmagic=never-match;;
6666 lt_cv_deplibs_check_method=pass_all
6669 # This must be glibc/ELF.
6670 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6671 lt_cv_deplibs_check_method=pass_all
6675 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6676 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6678 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6683 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6684 lt_cv_file_magic_cmd=/usr/bin/file
6685 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6689 lt_cv_deplibs_check_method=pass_all
6693 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6694 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6700 osf3* | osf4* | osf5*)
6701 lt_cv_deplibs_check_method=pass_all
6705 lt_cv_deplibs_check_method=pass_all
6709 lt_cv_deplibs_check_method=pass_all
6712 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6713 lt_cv_deplibs_check_method=pass_all
6717 case $host_vendor in
6719 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]'
6720 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6723 lt_cv_deplibs_check_method=pass_all
6726 lt_cv_file_magic_cmd='/bin/file'
6727 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6730 lt_cv_file_magic_cmd='/bin/file'
6731 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6732 lt_cv_file_magic_test_file=/lib/libc.so
6735 lt_cv_deplibs_check_method=pass_all
6738 lt_cv_deplibs_check_method=pass_all
6744 lt_cv_deplibs_check_method=pass_all
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6750 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6754 if test "$build" = "$host"; then
6757 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6760 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6766 file_magic_cmd=$lt_cv_file_magic_cmd
6767 deplibs_check_method=$lt_cv_deplibs_check_method
6768 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6791 if test -n "$ac_tool_prefix"; then
6792 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6793 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if ${ac_cv_prog_DLLTOOL+:} false; then :
6797 $as_echo_n "(cached) " >&6
6799 if test -n "$DLLTOOL"; then
6800 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 DLLTOOL=$ac_cv_prog_DLLTOOL
6820 if test -n "$DLLTOOL"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6822 $as_echo "$DLLTOOL" >&6; }
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
6830 if test -z "$ac_cv_prog_DLLTOOL"; then
6831 ac_ct_DLLTOOL=$DLLTOOL
6832 # Extract the first word of "dlltool", so it can be a program name with args.
6833 set dummy dlltool; ac_word=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6837 $as_echo_n "(cached) " >&6
6839 if test -n "$ac_ct_DLLTOOL"; then
6840 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir=.
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6860 if test -n "$ac_ct_DLLTOOL"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6862 $as_echo "$ac_ct_DLLTOOL" >&6; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6868 if test "x$ac_ct_DLLTOOL" = x; then
6871 case $cross_compiling:$ac_tool_warned in
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875 ac_tool_warned=yes ;;
6877 DLLTOOL=$ac_ct_DLLTOOL
6880 DLLTOOL="$ac_cv_prog_DLLTOOL"
6883 test -z "$DLLTOOL" && DLLTOOL=dlltool
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6892 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6893 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6894 $as_echo_n "(cached) " >&6
6896 lt_cv_sharedlib_from_linklib_cmd='unknown'
6899 cygwin* | mingw* | pw32* | cegcc*)
6900 # two different shell functions defined in ltmain.sh
6901 # decide which to use based on capabilities of $DLLTOOL
6902 case `$DLLTOOL --help 2>&1` in
6903 *--identify-strict*)
6904 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6907 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6912 # fallback: assume linklib IS sharedlib
6913 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6919 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6920 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6921 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6929 if test -n "$ac_tool_prefix"; then
6932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 $as_echo_n "checking for $ac_word... " >&6; }
6936 if ${ac_cv_prog_AR+:} false; then :
6937 $as_echo_n "(cached) " >&6
6939 if test -n "$AR"; then
6940 ac_cv_prog_AR="$AR" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6949 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 if test -n "$AR"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6962 $as_echo "$AR" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965 $as_echo "no" >&6; }
6969 test -n "$AR" && break
6972 if test -z "$AR"; then
6976 # Extract the first word of "$ac_prog", so it can be a program name with args.
6977 set dummy $ac_prog; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6981 $as_echo_n "(cached) " >&6
6983 if test -n "$ac_ct_AR"; then
6984 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6993 ac_cv_prog_ac_ct_AR="$ac_prog"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7004 if test -n "$ac_ct_AR"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7006 $as_echo "$ac_ct_AR" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7013 test -n "$ac_ct_AR" && break
7016 if test "x$ac_ct_AR" = x; then
7019 case $cross_compiling:$ac_tool_warned in
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7023 ac_tool_warned=yes ;;
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7043 $as_echo_n "checking for archiver @FILE support... " >&6; }
7044 if ${lt_cv_ar_at_file+:} false; then :
7045 $as_echo_n "(cached) " >&6
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7059 if ac_fn_c_try_compile "$LINENO"; then :
7060 echo conftest.$ac_objext > conftest.lst
7061 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7062 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7063 (eval $lt_ar_try) 2>&5
7065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7066 test $ac_status = 0; }
7067 if test "$ac_status" -eq 0; then
7068 # Ensure the archiver fails upon bogus file names.
7069 rm -f conftest.$ac_objext libconftest.a
7070 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7071 (eval $lt_ar_try) 2>&5
7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074 test $ac_status = 0; }
7075 if test "$ac_status" -ne 0; then
7079 rm -f conftest.* libconftest.a
7082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7086 $as_echo "$lt_cv_ar_at_file" >&6; }
7088 if test "x$lt_cv_ar_at_file" = xno; then
7091 archiver_list_spec=$lt_cv_ar_at_file
7100 if test -n "$ac_tool_prefix"; then
7101 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7102 set dummy ${ac_tool_prefix}strip; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_STRIP+:} false; then :
7106 $as_echo_n "(cached) " >&6
7108 if test -n "$STRIP"; then
7109 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 test -z "$as_dir" && as_dir=.
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128 STRIP=$ac_cv_prog_STRIP
7129 if test -n "$STRIP"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7131 $as_echo "$STRIP" >&6; }
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7139 if test -z "$ac_cv_prog_STRIP"; then
7141 # Extract the first word of "strip", so it can be a program name with args.
7142 set dummy strip; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7146 $as_echo_n "(cached) " >&6
7148 if test -n "$ac_ct_STRIP"; then
7149 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ac_ct_STRIP="strip"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7169 if test -n "$ac_ct_STRIP"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7171 $as_echo "$ac_ct_STRIP" >&6; }
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7177 if test "x$ac_ct_STRIP" = x; then
7180 case $cross_compiling:$ac_tool_warned in
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7189 STRIP="$ac_cv_prog_STRIP"
7192 test -z "$STRIP" && STRIP=:
7199 if test -n "$ac_tool_prefix"; then
7200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7201 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if ${ac_cv_prog_RANLIB+:} false; then :
7205 $as_echo_n "(cached) " >&6
7207 if test -n "$RANLIB"; then
7208 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir=.
7215 for ac_exec_ext in '' $ac_executable_extensions; do
7216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7217 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7227 RANLIB=$ac_cv_prog_RANLIB
7228 if test -n "$RANLIB"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7230 $as_echo "$RANLIB" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
7238 if test -z "$ac_cv_prog_RANLIB"; then
7239 ac_ct_RANLIB=$RANLIB
7240 # Extract the first word of "ranlib", so it can be a program name with args.
7241 set dummy ranlib; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7245 $as_echo_n "(cached) " >&6
7247 if test -n "$ac_ct_RANLIB"; then
7248 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_ac_ct_RANLIB="ranlib"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7268 if test -n "$ac_ct_RANLIB"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7270 $as_echo "$ac_ct_RANLIB" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7276 if test "x$ac_ct_RANLIB" = x; then
7279 case $cross_compiling:$ac_tool_warned in
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7283 ac_tool_warned=yes ;;
7285 RANLIB=$ac_ct_RANLIB
7288 RANLIB="$ac_cv_prog_RANLIB"
7291 test -z "$RANLIB" && RANLIB=:
7298 # Determine commands to create old-style static archives.
7299 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7300 old_postinstall_cmds='chmod 644 $oldlib'
7301 old_postuninstall_cmds=
7303 if test -n "$RANLIB"; then
7306 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7309 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7312 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7317 lock_old_archive_extraction=yes ;;
7319 lock_old_archive_extraction=no ;;
7360 # If no C compiler was specified, use CC.
7363 # If no C compiler flags were specified, use CFLAGS.
7364 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7366 # Allow CC to be a program name with arguments.
7370 # Check for command to grab the raw symbol name followed by C symbol from nm.
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7372 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7373 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7374 $as_echo_n "(cached) " >&6
7377 # These are sane defaults that work on at least a few old systems.
7378 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7380 # Character class describing NM global symbol codes.
7381 symcode='[BCDEGRST]'
7383 # Regexp to match symbols that can be accessed directly from C.
7384 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7386 # Define system-specific variables.
7391 cygwin* | mingw* | pw32* | cegcc*)
7392 symcode='[ABCDGISTW]'
7395 if test "$host_cpu" = ia64; then
7396 symcode='[ABCDEGRST]'
7400 symcode='[BCDEGRST]'
7403 symcode='[BCDEGQRST]'
7414 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7422 # If we're using GNU nm, then use its standard symbol codes.
7423 case `$NM -V 2>&1` in
7424 *GNU* | *'with BFD'*)
7425 symcode='[ABCDGIRSTW]' ;;
7428 # Transform an extracted symbol line into a proper C declaration.
7429 # Some systems (esp. on ia64) link data and code symbols differently,
7430 # so use this general approach.
7431 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7433 # Transform an extracted symbol line into symbol name and symbol address
7434 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7435 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'"
7437 # Handle CRLF in mingw tool chain
7441 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7445 # Try without a prefix underscore, then with it.
7446 for ac_symprfx in "" "_"; do
7448 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7449 symxfrm="\\1 $ac_symprfx\\2 \\2"
7451 # Write the raw and C identifiers.
7452 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7453 # Fake it for dumpbin and say T for any non-static function
7454 # and D for any global variable.
7455 # Also find C++ and __fastcall symbols from MSVC++,
7456 # which start with @ or ?.
7457 lt_cv_sys_global_symbol_pipe="$AWK '"\
7458 " {last_section=section; section=\$ 3};"\
7459 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7460 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7461 " \$ 0!~/External *\|/{next};"\
7462 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7463 " {if(hide[section]) next};"\
7464 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7465 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7466 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7467 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7468 " ' prfx=^$ac_symprfx"
7470 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7472 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7474 # Check to see that the pipe works correctly.
7478 cat > conftest.$ac_ext <<_LT_EOF
7483 void nm_test_func(void);
7484 void nm_test_func(void){}
7488 int main(){nm_test_var='a';nm_test_func();return(0);}
7491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7492 (eval $ac_compile) 2>&5
7494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7495 test $ac_status = 0; }; then
7496 # Now try to grab the symbols.
7498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7499 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7502 test $ac_status = 0; } && test -s "$nlist"; then
7503 # Try sorting and uniquifying the output.
7504 if sort "$nlist" | uniq > "$nlist"T; then
7505 mv -f "$nlist"T "$nlist"
7510 # Make sure that we snagged all the symbols we need.
7511 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7512 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7513 cat <<_LT_EOF > conftest.$ac_ext
7514 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7515 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7516 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7517 relocations are performed -- see ld's documentation on pseudo-relocs. */
7518 # define LT_DLSYM_CONST
7519 #elif defined(__osf__)
7520 /* This system does not cope well with relocations in const data. */
7521 # define LT_DLSYM_CONST
7523 # define LT_DLSYM_CONST const
7531 # Now generate the symbol file.
7532 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7534 cat <<_LT_EOF >> conftest.$ac_ext
7536 /* The mapping between symbol names and symbols. */
7537 LT_DLSYM_CONST struct {
7541 lt__PROGRAM__LTX_preloaded_symbols[] =
7543 { "@PROGRAM@", (void *) 0 },
7545 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7546 cat <<\_LT_EOF >> conftest.$ac_ext
7550 /* This works around a problem in FreeBSD linker */
7551 #ifdef FREEBSD_WORKAROUND
7552 static const void *lt_preloaded_setup() {
7553 return lt__PROGRAM__LTX_preloaded_symbols;
7561 # Now try linking the two files.
7562 mv conftest.$ac_objext conftstm.$ac_objext
7563 lt_globsym_save_LIBS=$LIBS
7564 lt_globsym_save_CFLAGS=$CFLAGS
7565 LIBS="conftstm.$ac_objext"
7566 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7568 (eval $ac_link) 2>&5
7570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7571 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7574 LIBS=$lt_globsym_save_LIBS
7575 CFLAGS=$lt_globsym_save_CFLAGS
7577 echo "cannot find nm_test_func in $nlist" >&5
7580 echo "cannot find nm_test_var in $nlist" >&5
7583 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7586 echo "$progname: failed program was:" >&5
7587 cat conftest.$ac_ext >&5
7589 rm -rf conftest* conftst*
7591 # Do not use the global_symbol_pipe unless it works.
7592 if test "$pipe_works" = yes; then
7595 lt_cv_sys_global_symbol_pipe=
7601 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7602 lt_cv_sys_global_symbol_to_cdecl=
7604 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7606 $as_echo "failed" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7609 $as_echo "ok" >&6; }
7612 # Response file support.
7613 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7614 nm_file_list_spec='@'
7615 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7616 nm_file_list_spec='@'
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7646 $as_echo_n "checking for sysroot... " >&6; }
7648 # Check whether --with-sysroot was given.
7649 if test "${with_sysroot+set}" = set; then :
7650 withval=$with_sysroot;
7657 case ${with_sysroot} in #(
7659 if test "$GCC" = yes; then
7660 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7664 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7670 $as_echo "${with_sysroot}" >&6; }
7671 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7676 $as_echo "${lt_sysroot:-no}" >&6; }
7682 # Check whether --enable-libtool-lock was given.
7683 if test "${enable_libtool_lock+set}" = set; then :
7684 enableval=$enable_libtool_lock;
7687 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7689 # Some flags need to be propagated to the compiler or linker for good
7693 # Find out which ABI we are using.
7694 echo 'int i;' > conftest.$ac_ext
7695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7696 (eval $ac_compile) 2>&5
7698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7699 test $ac_status = 0; }; then
7700 case `/usr/bin/file conftest.$ac_objext` in
7712 # Find out which ABI we are using.
7713 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7715 (eval $ac_compile) 2>&5
7717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7718 test $ac_status = 0; }; then
7719 if test "$lt_cv_prog_gnu_ld" = yes; then
7720 case `/usr/bin/file conftest.$ac_objext` in
7722 LD="${LD-ld} -melf32bsmip"
7725 LD="${LD-ld} -melf32bmipn32"
7728 LD="${LD-ld} -melf64bmip"
7732 case `/usr/bin/file conftest.$ac_objext` in
7748 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7749 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7750 # Find out which ABI we are using.
7751 echo 'int i;' > conftest.$ac_ext
7752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7753 (eval $ac_compile) 2>&5
7755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7756 test $ac_status = 0; }; then
7757 case `/usr/bin/file conftest.o` in
7760 x86_64-*kfreebsd*-gnu)
7761 LD="${LD-ld} -m elf_i386_fbsd"
7764 LD="${LD-ld} -m elf_i386"
7766 powerpc64le-*linux*)
7767 LD="${LD-ld} -m elf32lppclinux"
7770 LD="${LD-ld} -m elf32ppclinux"
7773 LD="${LD-ld} -m elf_s390"
7776 LD="${LD-ld} -m elf32_sparc"
7782 x86_64-*kfreebsd*-gnu)
7783 LD="${LD-ld} -m elf_x86_64_fbsd"
7786 LD="${LD-ld} -m elf_x86_64"
7789 LD="${LD-ld} -m elf64lppc"
7792 LD="${LD-ld} -m elf64ppc"
7794 s390*-*linux*|s390*-*tpf*)
7795 LD="${LD-ld} -m elf64_s390"
7798 LD="${LD-ld} -m elf64_sparc"
7808 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7809 SAVE_CFLAGS="$CFLAGS"
7810 CFLAGS="$CFLAGS -belf"
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7812 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7813 if ${lt_cv_cc_needs_belf+:} false; then :
7814 $as_echo_n "(cached) " >&6
7817 ac_cpp='$CPP $CPPFLAGS'
7818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7823 /* end confdefs.h. */
7833 if ac_fn_c_try_link "$LINENO"; then :
7834 lt_cv_cc_needs_belf=yes
7836 lt_cv_cc_needs_belf=no
7838 rm -f core conftest.err conftest.$ac_objext \
7839 conftest$ac_exeext conftest.$ac_ext
7841 ac_cpp='$CPP $CPPFLAGS'
7842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7848 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7849 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7850 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7851 CFLAGS="$SAVE_CFLAGS"
7855 # Find out which ABI we are using.
7856 echo 'int i;' > conftest.$ac_ext
7857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7858 (eval $ac_compile) 2>&5
7860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7861 test $ac_status = 0; }; then
7862 case `/usr/bin/file conftest.o` in
7864 case $lt_cv_prog_gnu_ld in
7868 LD="${LD-ld} -m elf_x86_64"
7871 LD="${LD-ld} -m elf64_sparc"
7874 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7875 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7880 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7892 need_locks="$enable_libtool_lock"
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}mt; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7900 $as_echo_n "(cached) " >&6
7902 if test -n "$MANIFEST_TOOL"; then
7903 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7923 if test -n "$MANIFEST_TOOL"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7925 $as_echo "$MANIFEST_TOOL" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7933 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7934 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7935 # Extract the first word of "mt", so it can be a program name with args.
7936 set dummy mt; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7940 $as_echo_n "(cached) " >&6
7942 if test -n "$ac_ct_MANIFEST_TOOL"; then
7943 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7963 if test -n "$ac_ct_MANIFEST_TOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7965 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7971 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7974 case $cross_compiling:$ac_tool_warned in
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7978 ac_tool_warned=yes ;;
7980 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7983 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7986 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7988 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7989 if ${lt_cv_path_mainfest_tool+:} false; then :
7990 $as_echo_n "(cached) " >&6
7992 lt_cv_path_mainfest_tool=no
7993 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7994 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7995 cat conftest.err >&5
7996 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7997 lt_cv_path_mainfest_tool=yes
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8002 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8003 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8013 rhapsody* | darwin*)
8014 if test -n "$ac_tool_prefix"; then
8015 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8016 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8020 $as_echo_n "(cached) " >&6
8022 if test -n "$DSYMUTIL"; then
8023 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8043 if test -n "$DSYMUTIL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8045 $as_echo "$DSYMUTIL" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8053 if test -z "$ac_cv_prog_DSYMUTIL"; then
8054 ac_ct_DSYMUTIL=$DSYMUTIL
8055 # Extract the first word of "dsymutil", so it can be a program name with args.
8056 set dummy dsymutil; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8060 $as_echo_n "(cached) " >&6
8062 if test -n "$ac_ct_DSYMUTIL"; then
8063 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069 test -z "$as_dir" && as_dir=.
8070 for ac_exec_ext in '' $ac_executable_extensions; do
8071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8083 if test -n "$ac_ct_DSYMUTIL"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8085 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8091 if test "x$ac_ct_DSYMUTIL" = x; then
8094 case $cross_compiling:$ac_tool_warned in
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098 ac_tool_warned=yes ;;
8100 DSYMUTIL=$ac_ct_DSYMUTIL
8103 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8106 if test -n "$ac_tool_prefix"; then
8107 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8108 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_NMEDIT+:} false; then :
8112 $as_echo_n "(cached) " >&6
8114 if test -n "$NMEDIT"; then
8115 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 NMEDIT=$ac_cv_prog_NMEDIT
8135 if test -n "$NMEDIT"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8137 $as_echo "$NMEDIT" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8145 if test -z "$ac_cv_prog_NMEDIT"; then
8146 ac_ct_NMEDIT=$NMEDIT
8147 # Extract the first word of "nmedit", so it can be a program name with args.
8148 set dummy nmedit; ac_word=$2
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150 $as_echo_n "checking for $ac_word... " >&6; }
8151 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8152 $as_echo_n "(cached) " >&6
8154 if test -n "$ac_ct_NMEDIT"; then
8155 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8161 test -z "$as_dir" && as_dir=.
8162 for ac_exec_ext in '' $ac_executable_extensions; do
8163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8174 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8175 if test -n "$ac_ct_NMEDIT"; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8177 $as_echo "$ac_ct_NMEDIT" >&6; }
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8183 if test "x$ac_ct_NMEDIT" = x; then
8186 case $cross_compiling:$ac_tool_warned in
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8190 ac_tool_warned=yes ;;
8192 NMEDIT=$ac_ct_NMEDIT
8195 NMEDIT="$ac_cv_prog_NMEDIT"
8198 if test -n "$ac_tool_prefix"; then
8199 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8200 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_LIPO+:} false; then :
8204 $as_echo_n "(cached) " >&6
8206 if test -n "$LIPO"; then
8207 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 LIPO=$ac_cv_prog_LIPO
8227 if test -n "$LIPO"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8229 $as_echo "$LIPO" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8237 if test -z "$ac_cv_prog_LIPO"; then
8239 # Extract the first word of "lipo", so it can be a program name with args.
8240 set dummy lipo; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8244 $as_echo_n "(cached) " >&6
8246 if test -n "$ac_ct_LIPO"; then
8247 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_ac_ct_LIPO="lipo"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8267 if test -n "$ac_ct_LIPO"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8269 $as_echo "$ac_ct_LIPO" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8275 if test "x$ac_ct_LIPO" = x; then
8278 case $cross_compiling:$ac_tool_warned in
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8287 LIPO="$ac_cv_prog_LIPO"
8290 if test -n "$ac_tool_prefix"; then
8291 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}otool; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_OTOOL+:} false; then :
8296 $as_echo_n "(cached) " >&6
8298 if test -n "$OTOOL"; then
8299 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 OTOOL=$ac_cv_prog_OTOOL
8319 if test -n "$OTOOL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8321 $as_echo "$OTOOL" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8329 if test -z "$ac_cv_prog_OTOOL"; then
8331 # Extract the first word of "otool", so it can be a program name with args.
8332 set dummy otool; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8336 $as_echo_n "(cached) " >&6
8338 if test -n "$ac_ct_OTOOL"; then
8339 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8348 ac_cv_prog_ac_ct_OTOOL="otool"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8359 if test -n "$ac_ct_OTOOL"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8361 $as_echo "$ac_ct_OTOOL" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8367 if test "x$ac_ct_OTOOL" = x; then
8370 case $cross_compiling:$ac_tool_warned in
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374 ac_tool_warned=yes ;;
8379 OTOOL="$ac_cv_prog_OTOOL"
8382 if test -n "$ac_tool_prefix"; then
8383 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8384 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_OTOOL64+:} false; then :
8388 $as_echo_n "(cached) " >&6
8390 if test -n "$OTOOL64"; then
8391 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 OTOOL64=$ac_cv_prog_OTOOL64
8411 if test -n "$OTOOL64"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8413 $as_echo "$OTOOL64" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8421 if test -z "$ac_cv_prog_OTOOL64"; then
8422 ac_ct_OTOOL64=$OTOOL64
8423 # Extract the first word of "otool64", so it can be a program name with args.
8424 set dummy otool64; ac_word=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8428 $as_echo_n "(cached) " >&6
8430 if test -n "$ac_ct_OTOOL64"; then
8431 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8437 test -z "$as_dir" && as_dir=.
8438 for ac_exec_ext in '' $ac_executable_extensions; do
8439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8440 ac_cv_prog_ac_ct_OTOOL64="otool64"
8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8450 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8451 if test -n "$ac_ct_OTOOL64"; then
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8453 $as_echo "$ac_ct_OTOOL64" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456 $as_echo "no" >&6; }
8459 if test "x$ac_ct_OTOOL64" = x; then
8462 case $cross_compiling:$ac_tool_warned in
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8466 ac_tool_warned=yes ;;
8468 OTOOL64=$ac_ct_OTOOL64
8471 OTOOL64="$ac_cv_prog_OTOOL64"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8501 $as_echo_n "checking for -single_module linker flag... " >&6; }
8502 if ${lt_cv_apple_cc_single_mod+:} false; then :
8503 $as_echo_n "(cached) " >&6
8505 lt_cv_apple_cc_single_mod=no
8506 if test -z "${LT_MULTI_MODULE}"; then
8507 # By default we will add the -single_module flag. You can override
8508 # by either setting the environment variable LT_MULTI_MODULE
8509 # non-empty at configure time, or by adding -multi_module to the
8511 rm -rf libconftest.dylib*
8512 echo "int foo(void){return 1;}" > conftest.c
8513 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8514 -dynamiclib -Wl,-single_module conftest.c" >&5
8515 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8516 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8518 # If there is a non-empty error log, and "single_module"
8519 # appears in it, assume the flag caused a linker warning
8520 if test -s conftest.err && $GREP single_module conftest.err; then
8521 cat conftest.err >&5
8522 # Otherwise, if the output was created with a 0 exit code from
8523 # the compiler, it worked.
8524 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8525 lt_cv_apple_cc_single_mod=yes
8527 cat conftest.err >&5
8529 rm -rf libconftest.dylib*
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8534 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8537 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8538 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8539 $as_echo_n "(cached) " >&6
8541 lt_cv_ld_exported_symbols_list=no
8542 save_LDFLAGS=$LDFLAGS
8543 echo "_main" > conftest.sym
8544 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8556 if ac_fn_c_try_link "$LINENO"; then :
8557 lt_cv_ld_exported_symbols_list=yes
8559 lt_cv_ld_exported_symbols_list=no
8561 rm -f core conftest.err conftest.$ac_objext \
8562 conftest$ac_exeext conftest.$ac_ext
8563 LDFLAGS="$save_LDFLAGS"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8567 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8570 $as_echo_n "checking for -force_load linker flag... " >&6; }
8571 if ${lt_cv_ld_force_load+:} false; then :
8572 $as_echo_n "(cached) " >&6
8574 lt_cv_ld_force_load=no
8575 cat > conftest.c << _LT_EOF
8576 int forced_loaded() { return 2;}
8578 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8579 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8580 echo "$AR cru libconftest.a conftest.o" >&5
8581 $AR cru libconftest.a conftest.o 2>&5
8582 echo "$RANLIB libconftest.a" >&5
8583 $RANLIB libconftest.a 2>&5
8584 cat > conftest.c << _LT_EOF
8585 int main() { return 0;}
8587 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8588 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8590 if test -s conftest.err && $GREP force_load conftest.err; then
8591 cat conftest.err >&5
8592 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8593 lt_cv_ld_force_load=yes
8595 cat conftest.err >&5
8597 rm -f conftest.err libconftest.a conftest conftest.c
8598 rm -rf conftest.dSYM
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8602 $as_echo "$lt_cv_ld_force_load" >&6; }
8604 rhapsody* | darwin1.[012])
8605 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8607 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8608 darwin*) # darwin 5.x on
8609 # if running on 10.5 or later, the deployment target defaults
8610 # to the OS version, if on x86, and 10.4, the deployment
8611 # target defaults to 10.4. Don't you love it?
8612 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8613 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8614 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8616 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8618 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8622 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8623 _lt_dar_single_mod='$single_module'
8625 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8626 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8628 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8630 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8631 _lt_dsymutil='~$DSYMUTIL $lib || :'
8638 for ac_header in dlfcn.h
8640 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8642 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8643 cat >>confdefs.h <<_ACEOF
8644 #define HAVE_DLFCN_H 1
8656 # Check whether --enable-static was given.
8657 if test "${enable_static+set}" = set; then :
8658 enableval=$enable_static; p=${PACKAGE-default}
8660 yes) enable_static=yes ;;
8661 no) enable_static=no ;;
8664 # Look at the argument we got. We use all the common list separators.
8665 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8666 for pkg in $enableval; do
8668 if test "X$pkg" = "X$p"; then
8685 enable_win32_dll=yes
8688 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8689 if test -n "$ac_tool_prefix"; then
8690 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8691 set dummy ${ac_tool_prefix}as; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8693 $as_echo_n "checking for $ac_word... " >&6; }
8694 if ${ac_cv_prog_AS+:} false; then :
8695 $as_echo_n "(cached) " >&6
8697 if test -n "$AS"; then
8698 ac_cv_prog_AS="$AS" # Let the user override the test.
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir=.
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8707 ac_cv_prog_AS="${ac_tool_prefix}as"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8718 if test -n "$AS"; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8720 $as_echo "$AS" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8723 $as_echo "no" >&6; }
8728 if test -z "$ac_cv_prog_AS"; then
8730 # Extract the first word of "as", so it can be a program name with args.
8731 set dummy as; ac_word=$2
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 $as_echo_n "checking for $ac_word... " >&6; }
8734 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8735 $as_echo_n "(cached) " >&6
8737 if test -n "$ac_ct_AS"; then
8738 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8744 test -z "$as_dir" && as_dir=.
8745 for ac_exec_ext in '' $ac_executable_extensions; do
8746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8747 ac_cv_prog_ac_ct_AS="as"
8748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8757 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8758 if test -n "$ac_ct_AS"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8760 $as_echo "$ac_ct_AS" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8766 if test "x$ac_ct_AS" = x; then
8769 case $cross_compiling:$ac_tool_warned in
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8773 ac_tool_warned=yes ;;
8781 if test -n "$ac_tool_prefix"; then
8782 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8783 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8785 $as_echo_n "checking for $ac_word... " >&6; }
8786 if ${ac_cv_prog_DLLTOOL+:} false; then :
8787 $as_echo_n "(cached) " >&6
8789 if test -n "$DLLTOOL"; then
8790 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8796 test -z "$as_dir" && as_dir=.
8797 for ac_exec_ext in '' $ac_executable_extensions; do
8798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8799 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 DLLTOOL=$ac_cv_prog_DLLTOOL
8810 if test -n "$DLLTOOL"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8812 $as_echo "$DLLTOOL" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8820 if test -z "$ac_cv_prog_DLLTOOL"; then
8821 ac_ct_DLLTOOL=$DLLTOOL
8822 # Extract the first word of "dlltool", so it can be a program name with args.
8823 set dummy dlltool; ac_word=$2
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8825 $as_echo_n "checking for $ac_word... " >&6; }
8826 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8827 $as_echo_n "(cached) " >&6
8829 if test -n "$ac_ct_DLLTOOL"; then
8830 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8836 test -z "$as_dir" && as_dir=.
8837 for ac_exec_ext in '' $ac_executable_extensions; do
8838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8839 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8849 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8850 if test -n "$ac_ct_DLLTOOL"; then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8852 $as_echo "$ac_ct_DLLTOOL" >&6; }
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8855 $as_echo "no" >&6; }
8858 if test "x$ac_ct_DLLTOOL" = x; then
8861 case $cross_compiling:$ac_tool_warned in
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8865 ac_tool_warned=yes ;;
8867 DLLTOOL=$ac_ct_DLLTOOL
8870 DLLTOOL="$ac_cv_prog_DLLTOOL"
8873 if test -n "$ac_tool_prefix"; then
8874 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8875 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8877 $as_echo_n "checking for $ac_word... " >&6; }
8878 if ${ac_cv_prog_OBJDUMP+:} false; then :
8879 $as_echo_n "(cached) " >&6
8881 if test -n "$OBJDUMP"; then
8882 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir=.
8889 for ac_exec_ext in '' $ac_executable_extensions; do
8890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8891 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8901 OBJDUMP=$ac_cv_prog_OBJDUMP
8902 if test -n "$OBJDUMP"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8904 $as_echo "$OBJDUMP" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8907 $as_echo "no" >&6; }
8912 if test -z "$ac_cv_prog_OBJDUMP"; then
8913 ac_ct_OBJDUMP=$OBJDUMP
8914 # Extract the first word of "objdump", so it can be a program name with args.
8915 set dummy objdump; ac_word=$2
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8917 $as_echo_n "checking for $ac_word... " >&6; }
8918 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8919 $as_echo_n "(cached) " >&6
8921 if test -n "$ac_ct_OBJDUMP"; then
8922 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8928 test -z "$as_dir" && as_dir=.
8929 for ac_exec_ext in '' $ac_executable_extensions; do
8930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8931 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8941 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8942 if test -n "$ac_ct_OBJDUMP"; then
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8944 $as_echo "$ac_ct_OBJDUMP" >&6; }
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8947 $as_echo "no" >&6; }
8950 if test "x$ac_ct_OBJDUMP" = x; then
8953 case $cross_compiling:$ac_tool_warned in
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8957 ac_tool_warned=yes ;;
8959 OBJDUMP=$ac_ct_OBJDUMP
8962 OBJDUMP="$ac_cv_prog_OBJDUMP"
8968 test -z "$AS" && AS=as
8974 test -z "$DLLTOOL" && DLLTOOL=dlltool
8980 test -z "$OBJDUMP" && OBJDUMP=objdump
8992 # Check whether --enable-shared was given.
8993 if test "${enable_shared+set}" = set; then :
8994 enableval=$enable_shared; p=${PACKAGE-default}
8996 yes) enable_shared=yes ;;
8997 no) enable_shared=no ;;
9000 # Look at the argument we got. We use all the common list separators.
9001 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9002 for pkg in $enableval; do
9004 if test "X$pkg" = "X$p"; then
9025 # Check whether --with-pic was given.
9026 if test "${with_pic+set}" = set; then :
9027 withval=$with_pic; lt_p=${PACKAGE-default}
9029 yes|no) pic_mode=$withval ;;
9032 # Look at the argument we got. We use all the common list separators.
9033 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9034 for lt_pkg in $withval; do
9036 if test "X$lt_pkg" = "X$lt_p"; then
9048 test -z "$pic_mode" && pic_mode=default
9056 # Check whether --enable-fast-install was given.
9057 if test "${enable_fast_install+set}" = set; then :
9058 enableval=$enable_fast_install; p=${PACKAGE-default}
9060 yes) enable_fast_install=yes ;;
9061 no) enable_fast_install=no ;;
9063 enable_fast_install=no
9064 # Look at the argument we got. We use all the common list separators.
9065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9066 for pkg in $enableval; do
9068 if test "X$pkg" = "X$p"; then
9069 enable_fast_install=yes
9076 enable_fast_install=yes
9089 # This can be used to rebuild libtool when needed
9090 LIBTOOL_DEPS="$ltmain"
9092 # Always use our own libtool.
9093 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9124 test -z "$LN_S" && LN_S="ln -s"
9139 if test -n "${ZSH_VERSION+set}" ; then
9140 setopt NO_GLOB_SUBST
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9144 $as_echo_n "checking for objdir... " >&6; }
9145 if ${lt_cv_objdir+:} false; then :
9146 $as_echo_n "(cached) " >&6
9148 rm -f .libs 2>/dev/null
9149 mkdir .libs 2>/dev/null
9150 if test -d .libs; then
9153 # MS-DOS does not allow filenames that begin with a dot.
9156 rmdir .libs 2>/dev/null
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9159 $as_echo "$lt_cv_objdir" >&6; }
9160 objdir=$lt_cv_objdir
9166 cat >>confdefs.h <<_ACEOF
9167 #define LT_OBJDIR "$lt_cv_objdir/"
9175 # AIX sometimes has problems with the GCC collect2 program. For some
9176 # reason, if we set the COLLECT_NAMES environment variable, the problems
9177 # vanish in a puff of smoke.
9178 if test "X${COLLECT_NAMES+set}" != Xset; then
9180 export COLLECT_NAMES
9187 can_build_shared=yes
9189 # All known linkers require a `.a' archive for static linking (except MSVC,
9190 # which needs '.lib').
9193 with_gnu_ld="$lt_cv_prog_gnu_ld"
9196 old_CFLAGS="$CFLAGS"
9198 # Set sane defaults for various variables
9199 test -z "$CC" && CC=cc
9200 test -z "$LTCC" && LTCC=$CC
9201 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9202 test -z "$LD" && LD=ld
9203 test -z "$ac_objext" && ac_objext=o
9205 for cc_temp in $compiler""; do
9207 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9208 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9213 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9216 # Only perform the check for file, if the check method requires it
9217 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9218 case $deplibs_check_method in
9220 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9222 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9223 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9224 $as_echo_n "(cached) " >&6
9228 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9231 lt_save_MAGIC_CMD="$MAGIC_CMD"
9232 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9233 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9234 for ac_dir in $ac_dummy; do
9236 test -z "$ac_dir" && ac_dir=.
9237 if test -f $ac_dir/${ac_tool_prefix}file; then
9238 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9239 if test -n "$file_magic_test_file"; then
9240 case $deplibs_check_method in
9242 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9243 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9244 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9245 $EGREP "$file_magic_regex" > /dev/null; then
9250 *** Warning: the command libtool uses to detect shared libraries,
9251 *** $file_magic_cmd, produces output that libtool cannot recognize.
9252 *** The result is that libtool may fail to recognize shared libraries
9253 *** as such. This will affect the creation of libtool libraries that
9254 *** depend on shared libraries, but programs linked with such libtool
9255 *** libraries will work regardless of this problem. Nevertheless, you
9256 *** may want to report the problem to your system manager and/or to
9257 *** bug-libtool@gnu.org
9267 MAGIC_CMD="$lt_save_MAGIC_CMD"
9272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9273 if test -n "$MAGIC_CMD"; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9275 $as_echo "$MAGIC_CMD" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 $as_echo "no" >&6; }
9285 if test -z "$lt_cv_path_MAGIC_CMD"; then
9286 if test -n "$ac_tool_prefix"; then
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9288 $as_echo_n "checking for file... " >&6; }
9289 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9290 $as_echo_n "(cached) " >&6
9294 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9297 lt_save_MAGIC_CMD="$MAGIC_CMD"
9298 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9299 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9300 for ac_dir in $ac_dummy; do
9302 test -z "$ac_dir" && ac_dir=.
9303 if test -f $ac_dir/file; then
9304 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9305 if test -n "$file_magic_test_file"; then
9306 case $deplibs_check_method in
9308 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9309 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9310 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9311 $EGREP "$file_magic_regex" > /dev/null; then
9316 *** Warning: the command libtool uses to detect shared libraries,
9317 *** $file_magic_cmd, produces output that libtool cannot recognize.
9318 *** The result is that libtool may fail to recognize shared libraries
9319 *** as such. This will affect the creation of libtool libraries that
9320 *** depend on shared libraries, but programs linked with such libtool
9321 *** libraries will work regardless of this problem. Nevertheless, you
9322 *** may want to report the problem to your system manager and/or to
9323 *** bug-libtool@gnu.org
9333 MAGIC_CMD="$lt_save_MAGIC_CMD"
9338 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9339 if test -n "$MAGIC_CMD"; then
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9341 $as_echo "$MAGIC_CMD" >&6; }
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9344 $as_echo "no" >&6; }
9357 # Use C for the default configuration in the libtool script
9361 ac_cpp='$CPP $CPPFLAGS'
9362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9367 # Source file extension for C test sources.
9370 # Object file extension for compiled C test sources.
9374 # Code to be used in simple compile tests
9375 lt_simple_compile_test_code="int some_variable = 0;"
9377 # Code to be used in simple link tests
9378 lt_simple_link_test_code='int main(){return(0);}'
9386 # If no C compiler was specified, use CC.
9389 # If no C compiler flags were specified, use CFLAGS.
9390 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9392 # Allow CC to be a program name with arguments.
9395 # Save the default compiler, since it gets overwritten when the other
9396 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9397 compiler_DEFAULT=$CC
9399 # save warnings/boilerplate of simple test code
9400 ac_outfile=conftest.$ac_objext
9401 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9402 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9403 _lt_compiler_boilerplate=`cat conftest.err`
9406 ac_outfile=conftest.$ac_objext
9407 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9408 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9409 _lt_linker_boilerplate=`cat conftest.err`
9414 ## There is no encapsulation within the following macros, do not change
9415 ## the running order or otherwise move them around unless you know exactly
9416 ## what you are doing...
9417 if test -n "$compiler"; then
9419 lt_prog_compiler_no_builtin_flag=
9421 if test "$GCC" = yes; then
9422 case $cc_basename in
9424 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9426 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9430 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9431 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9432 $as_echo_n "(cached) " >&6
9434 lt_cv_prog_compiler_rtti_exceptions=no
9435 ac_outfile=conftest.$ac_objext
9436 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9437 lt_compiler_flag="-fno-rtti -fno-exceptions"
9438 # Insert the option either (1) after the last *FLAGS variable, or
9439 # (2) before a word containing "conftest.", or (3) at the end.
9440 # Note that $ac_compile itself does not contain backslashes and begins
9441 # with a dollar sign (not a hyphen), so the echo should work correctly.
9442 # The option is referenced via a variable to avoid confusing sed.
9443 lt_compile=`echo "$ac_compile" | $SED \
9444 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9445 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9446 -e 's:$: $lt_compiler_flag:'`
9447 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9448 (eval "$lt_compile" 2>conftest.err)
9450 cat conftest.err >&5
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 if (exit $ac_status) && test -s "$ac_outfile"; then
9453 # The compiler can only warn and ignore the option if not recognized
9454 # So say no if there are warnings other than the usual output.
9455 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9456 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9457 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9458 lt_cv_prog_compiler_rtti_exceptions=yes
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9465 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9467 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9468 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9480 lt_prog_compiler_wl=
9481 lt_prog_compiler_pic=
9482 lt_prog_compiler_static=
9485 if test "$GCC" = yes; then
9486 lt_prog_compiler_wl='-Wl,'
9487 lt_prog_compiler_static='-static'
9491 # All AIX code is PIC.
9492 if test "$host_cpu" = ia64; then
9493 # AIX 5 now supports IA64 processor
9494 lt_prog_compiler_static='-Bstatic'
9501 # see comment about AmigaOS4 .so support
9502 lt_prog_compiler_pic='-fPIC'
9505 # FIXME: we need at least 68020 code to build shared libraries, but
9506 # adding the `-m68020' flag to GCC prevents building anything better,
9508 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9513 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9514 # PIC is the default for these OSes.
9517 mingw* | cygwin* | pw32* | os2* | cegcc*)
9518 # This hack is so that the source file can tell whether it is being
9519 # built for inclusion in a dll (and should export symbols for example).
9520 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9521 # (--disable-auto-import) libraries
9522 lt_prog_compiler_pic='-DDLL_EXPORT'
9525 darwin* | rhapsody*)
9526 # PIC is the default on this platform
9527 # Common symbols not allowed in MH_DYLIB files
9528 lt_prog_compiler_pic='-fno-common'
9532 # PIC is the default for Haiku.
9533 # The "-static" flag exists, but is broken.
9534 lt_prog_compiler_static=
9538 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9539 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9540 # sets the default TLS model and affects inlining.
9546 lt_prog_compiler_pic='-fPIC'
9552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9553 # Instead, we relocate shared libraries at runtime.
9557 # Just because we use GCC doesn't mean we suddenly get shared libraries
9558 # on systems that don't support them.
9559 lt_prog_compiler_can_build_shared=no
9564 # QNX uses GNU C++, but need to define -shared option too, otherwise
9566 lt_prog_compiler_pic='-fPIC -shared'
9570 if test -d /usr/nec; then
9571 lt_prog_compiler_pic=-Kconform_pic
9576 lt_prog_compiler_pic='-fPIC'
9580 case $cc_basename in
9581 nvcc*) # Cuda Compiler Driver 2.2
9582 lt_prog_compiler_wl='-Xlinker '
9583 if test -n "$lt_prog_compiler_pic"; then
9584 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9589 # PORTME Check for flag to pass linker flags through the system compiler.
9592 lt_prog_compiler_wl='-Wl,'
9593 if test "$host_cpu" = ia64; then
9594 # AIX 5 now supports IA64 processor
9595 lt_prog_compiler_static='-Bstatic'
9597 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9601 mingw* | cygwin* | pw32* | os2* | cegcc*)
9602 # This hack is so that the source file can tell whether it is being
9603 # built for inclusion in a dll (and should export symbols for example).
9604 lt_prog_compiler_pic='-DDLL_EXPORT'
9607 hpux9* | hpux10* | hpux11*)
9608 lt_prog_compiler_wl='-Wl,'
9609 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9616 lt_prog_compiler_pic='+Z'
9619 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9620 lt_prog_compiler_static='${wl}-a ${wl}archive'
9623 irix5* | irix6* | nonstopux*)
9624 lt_prog_compiler_wl='-Wl,'
9625 # PIC (with -KPIC) is the default.
9626 lt_prog_compiler_static='-non_shared'
9629 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9630 case $cc_basename in
9631 # old Intel for x86_64 which still supported -KPIC.
9633 lt_prog_compiler_wl='-Wl,'
9634 lt_prog_compiler_pic='-KPIC'
9635 lt_prog_compiler_static='-static'
9637 # icc used to be incompatible with GCC.
9638 # ICC 10 doesn't accept -KPIC any more.
9640 lt_prog_compiler_wl='-Wl,'
9641 lt_prog_compiler_pic='-fPIC'
9642 lt_prog_compiler_static='-static'
9644 # Lahey Fortran 8.1.
9646 lt_prog_compiler_wl='-Wl,'
9647 lt_prog_compiler_pic='--shared'
9648 lt_prog_compiler_static='--static'
9651 # NAG Fortran compiler
9652 lt_prog_compiler_wl='-Wl,-Wl,,'
9653 lt_prog_compiler_pic='-PIC'
9654 lt_prog_compiler_static='-Bstatic'
9656 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9657 # Portland Group compilers (*not* the Pentium gcc compiler,
9658 # which looks to be a dead project)
9659 lt_prog_compiler_wl='-Wl,'
9660 lt_prog_compiler_pic='-fpic'
9661 lt_prog_compiler_static='-Bstatic'
9664 lt_prog_compiler_wl='-Wl,'
9665 # All Alpha code is PIC.
9666 lt_prog_compiler_static='-non_shared'
9668 xl* | bgxl* | bgf* | mpixl*)
9669 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9670 lt_prog_compiler_wl='-Wl,'
9671 lt_prog_compiler_pic='-qpic'
9672 lt_prog_compiler_static='-qstaticlink'
9675 case `$CC -V 2>&1 | sed 5q` in
9676 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9677 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9678 lt_prog_compiler_pic='-KPIC'
9679 lt_prog_compiler_static='-Bstatic'
9680 lt_prog_compiler_wl=''
9682 *Sun\ F* | *Sun*Fortran*)
9683 lt_prog_compiler_pic='-KPIC'
9684 lt_prog_compiler_static='-Bstatic'
9685 lt_prog_compiler_wl='-Qoption ld '
9689 lt_prog_compiler_pic='-KPIC'
9690 lt_prog_compiler_static='-Bstatic'
9691 lt_prog_compiler_wl='-Wl,'
9693 *Intel*\ [CF]*Compiler*)
9694 lt_prog_compiler_wl='-Wl,'
9695 lt_prog_compiler_pic='-fPIC'
9696 lt_prog_compiler_static='-static'
9699 lt_prog_compiler_wl='-Wl,'
9700 lt_prog_compiler_pic='-fpic'
9701 lt_prog_compiler_static='-Bstatic'
9709 lt_prog_compiler_pic='-KPIC'
9710 lt_prog_compiler_static='-Bstatic'
9714 # QNX uses GNU C++, but need to define -shared option too, otherwise
9716 lt_prog_compiler_pic='-fPIC -shared'
9719 osf3* | osf4* | osf5*)
9720 lt_prog_compiler_wl='-Wl,'
9721 # All OSF/1 code is PIC.
9722 lt_prog_compiler_static='-non_shared'
9726 lt_prog_compiler_static='-non_shared'
9730 lt_prog_compiler_pic='-KPIC'
9731 lt_prog_compiler_static='-Bstatic'
9732 case $cc_basename in
9733 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9734 lt_prog_compiler_wl='-Qoption ld ';;
9736 lt_prog_compiler_wl='-Wl,';;
9741 lt_prog_compiler_wl='-Qoption ld '
9742 lt_prog_compiler_pic='-PIC'
9743 lt_prog_compiler_static='-Bstatic'
9746 sysv4 | sysv4.2uw2* | sysv4.3*)
9747 lt_prog_compiler_wl='-Wl,'
9748 lt_prog_compiler_pic='-KPIC'
9749 lt_prog_compiler_static='-Bstatic'
9753 if test -d /usr/nec ;then
9754 lt_prog_compiler_pic='-Kconform_pic'
9755 lt_prog_compiler_static='-Bstatic'
9759 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9760 lt_prog_compiler_wl='-Wl,'
9761 lt_prog_compiler_pic='-KPIC'
9762 lt_prog_compiler_static='-Bstatic'
9766 lt_prog_compiler_wl='-Wl,'
9767 lt_prog_compiler_can_build_shared=no
9771 lt_prog_compiler_pic='-pic'
9772 lt_prog_compiler_static='-Bstatic'
9776 lt_prog_compiler_can_build_shared=no
9782 # For platforms which do not support PIC, -DPIC is meaningless:
9784 lt_prog_compiler_pic=
9787 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9792 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9793 if ${lt_cv_prog_compiler_pic+:} false; then :
9794 $as_echo_n "(cached) " >&6
9796 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9799 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9800 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9803 # Check to make sure the PIC flag actually works.
9805 if test -n "$lt_prog_compiler_pic"; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9807 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9808 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9809 $as_echo_n "(cached) " >&6
9811 lt_cv_prog_compiler_pic_works=no
9812 ac_outfile=conftest.$ac_objext
9813 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9814 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9815 # Insert the option either (1) after the last *FLAGS variable, or
9816 # (2) before a word containing "conftest.", or (3) at the end.
9817 # Note that $ac_compile itself does not contain backslashes and begins
9818 # with a dollar sign (not a hyphen), so the echo should work correctly.
9819 # The option is referenced via a variable to avoid confusing sed.
9820 lt_compile=`echo "$ac_compile" | $SED \
9821 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9823 -e 's:$: $lt_compiler_flag:'`
9824 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9825 (eval "$lt_compile" 2>conftest.err)
9827 cat conftest.err >&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 if (exit $ac_status) && test -s "$ac_outfile"; then
9830 # The compiler can only warn and ignore the option if not recognized
9831 # So say no if there are warnings other than the usual output.
9832 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9833 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9834 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9835 lt_cv_prog_compiler_pic_works=yes
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9842 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9844 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9845 case $lt_prog_compiler_pic in
9847 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9850 lt_prog_compiler_pic=
9851 lt_prog_compiler_can_build_shared=no
9867 # Check to make sure the static flag actually works.
9869 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9871 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9872 if ${lt_cv_prog_compiler_static_works+:} false; then :
9873 $as_echo_n "(cached) " >&6
9875 lt_cv_prog_compiler_static_works=no
9876 save_LDFLAGS="$LDFLAGS"
9877 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9878 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9879 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9880 # The linker can only warn and ignore the option if not recognized
9881 # So say no if there are warnings
9882 if test -s conftest.err; then
9883 # Append any errors to the config.log.
9884 cat conftest.err 1>&5
9885 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9886 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9887 if diff conftest.exp conftest.er2 >/dev/null; then
9888 lt_cv_prog_compiler_static_works=yes
9891 lt_cv_prog_compiler_static_works=yes
9895 LDFLAGS="$save_LDFLAGS"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9899 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9901 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9904 lt_prog_compiler_static=
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9914 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9915 if ${lt_cv_prog_compiler_c_o+:} false; then :
9916 $as_echo_n "(cached) " >&6
9918 lt_cv_prog_compiler_c_o=no
9919 $RM -r conftest 2>/dev/null
9923 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9925 lt_compiler_flag="-o out/conftest2.$ac_objext"
9926 # Insert the option either (1) after the last *FLAGS variable, or
9927 # (2) before a word containing "conftest.", or (3) at the end.
9928 # Note that $ac_compile itself does not contain backslashes and begins
9929 # with a dollar sign (not a hyphen), so the echo should work correctly.
9930 lt_compile=`echo "$ac_compile" | $SED \
9931 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9932 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9933 -e 's:$: $lt_compiler_flag:'`
9934 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9935 (eval "$lt_compile" 2>out/conftest.err)
9937 cat out/conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9941 # The compiler can only warn and ignore the option if not recognized
9942 # So say no if there are warnings
9943 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9944 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9945 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9946 lt_cv_prog_compiler_c_o=yes
9951 # SGI C++ compiler will create directory out/ii_files/ for
9952 # template instantiation
9953 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9954 $RM out/* && rmdir out
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9961 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9970 if ${lt_cv_prog_compiler_c_o+:} false; then :
9971 $as_echo_n "(cached) " >&6
9973 lt_cv_prog_compiler_c_o=no
9974 $RM -r conftest 2>/dev/null
9978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9980 lt_compiler_flag="-o out/conftest2.$ac_objext"
9981 # Insert the option either (1) after the last *FLAGS variable, or
9982 # (2) before a word containing "conftest.", or (3) at the end.
9983 # Note that $ac_compile itself does not contain backslashes and begins
9984 # with a dollar sign (not a hyphen), so the echo should work correctly.
9985 lt_compile=`echo "$ac_compile" | $SED \
9986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9988 -e 's:$: $lt_compiler_flag:'`
9989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9990 (eval "$lt_compile" 2>out/conftest.err)
9992 cat out/conftest.err >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9996 # The compiler can only warn and ignore the option if not recognized
9997 # So say no if there are warnings
9998 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9999 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10000 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10001 lt_cv_prog_compiler_c_o=yes
10006 # SGI C++ compiler will create directory out/ii_files/ for
10007 # template instantiation
10008 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10009 $RM out/* && rmdir out
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10016 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10021 hard_links="nottested"
10022 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10023 # do not overwrite the value of need_locks provided by the user
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10025 $as_echo_n "checking if we can lock with hard links... " >&6; }
10028 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10030 ln conftest.a conftest.b 2>&5 || hard_links=no
10031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10033 $as_echo "$hard_links" >&6; }
10034 if test "$hard_links" = no; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10036 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10052 allow_undefined_flag=
10053 always_export_symbols=no
10055 archive_expsym_cmds=
10056 compiler_needs_object=no
10057 enable_shared_with_static_runtimes=no
10058 export_dynamic_flag_spec=
10059 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10060 hardcode_automatic=no
10062 hardcode_direct_absolute=no
10063 hardcode_libdir_flag_spec=
10064 hardcode_libdir_separator=
10065 hardcode_minus_L=no
10066 hardcode_shlibpath_var=unsupported
10068 link_all_deplibs=unknown
10070 module_expsym_cmds=
10071 old_archive_from_new_cmds=
10072 old_archive_from_expsyms_cmds=
10073 thread_safe_flag_spec=
10074 whole_archive_flag_spec=
10075 # include_expsyms should be a list of space-separated symbols to be *always*
10076 # included in the symbol list
10078 # exclude_expsyms can be an extended regexp of symbols to exclude
10079 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10080 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10081 # as well as any symbol that contains `d'.
10082 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10083 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10084 # platforms (ab)use it in PIC code, but their linkers get confused if
10085 # the symbol is explicitly referenced. Since portable code cannot
10086 # rely on this symbol name, it's probably fine to never include it in
10087 # preloaded symbol tables.
10088 # Exclude shared library initialization/finalization symbols.
10089 extract_expsyms_cmds=
10092 cygwin* | mingw* | pw32* | cegcc*)
10093 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10094 # When not using gcc, we currently assume that we are using
10095 # Microsoft Visual C++.
10096 if test "$GCC" != yes; then
10101 # we just hope/assume this is gcc and not c89 (= MSVC++)
10111 # On some targets, GNU ld is compatible enough with the native linker
10112 # that we're better off using the native interface for both.
10113 lt_use_gnu_ld_interface=no
10114 if test "$with_gnu_ld" = yes; then
10117 # The AIX port of GNU ld has always aspired to compatibility
10118 # with the native linker. However, as the warning in the GNU ld
10119 # block says, versions before 2.19.5* couldn't really create working
10120 # shared libraries, regardless of the interface used.
10121 case `$LD -v 2>&1` in
10122 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10123 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10124 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10126 lt_use_gnu_ld_interface=yes
10131 lt_use_gnu_ld_interface=yes
10136 if test "$lt_use_gnu_ld_interface" = yes; then
10137 # If archive_cmds runs LD, not CC, wlarc should be empty
10140 # Set some defaults for GNU ld with shared library support. These
10141 # are reset later if shared libraries are not supported. Putting them
10142 # here allows them to be overridden if necessary.
10143 runpath_var=LD_RUN_PATH
10144 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10145 export_dynamic_flag_spec='${wl}--export-dynamic'
10146 # ancient GNU ld didn't support --whole-archive et. al.
10147 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10148 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10150 whole_archive_flag_spec=
10152 supports_anon_versioning=no
10153 case `$LD -v 2>&1` in
10154 *GNU\ gold*) supports_anon_versioning=yes ;;
10155 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10156 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10157 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10158 *\ 2.11.*) ;; # other 2.11 versions
10159 *) supports_anon_versioning=yes ;;
10162 # See if GNU ld supports shared libraries.
10165 # On AIX/PPC, the GNU linker is very broken
10166 if test "$host_cpu" != ia64; then
10170 *** Warning: the GNU linker, at least up to release 2.19, is reported
10171 *** to be unable to reliably create shared libraries on AIX.
10172 *** Therefore, libtool is disabling shared libraries support. If you
10173 *** really care for shared libraries, you may want to install binutils
10174 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10175 *** You will then need to restart the configuration process.
10184 # see comment about AmigaOS4 .so support
10185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10186 archive_expsym_cmds=''
10189 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)'
10190 hardcode_libdir_flag_spec='-L$libdir'
10191 hardcode_minus_L=yes
10197 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10198 allow_undefined_flag=unsupported
10199 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10200 # support --undefined. This deserves some investigation. FIXME
10201 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10207 cygwin* | mingw* | pw32* | cegcc*)
10208 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10209 # as there is no search path for DLLs.
10210 hardcode_libdir_flag_spec='-L$libdir'
10211 export_dynamic_flag_spec='${wl}--export-all-symbols'
10212 allow_undefined_flag=unsupported
10213 always_export_symbols=no
10214 enable_shared_with_static_runtimes=yes
10215 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'
10216 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10218 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10220 # If the export-symbols file already is a .def file (1st line
10221 # is EXPORTS), use it as is; otherwise, prepend...
10222 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10223 cp $export_symbols $output_objdir/$soname.def;
10225 echo EXPORTS > $output_objdir/$soname.def;
10226 cat $export_symbols >> $output_objdir/$soname.def;
10228 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10235 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10236 link_all_deplibs=yes
10241 hardcode_shlibpath_var=no
10242 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10243 export_dynamic_flag_spec='${wl}-E'
10244 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10245 # Instead, shared libraries are loaded at an image base (0x10000000 by
10246 # default) and relocated if they conflict, which is a slow very memory
10247 # consuming and fragmenting process. To avoid this, we pick a random,
10248 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10249 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10250 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10251 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'
10254 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10256 if test "$host_os" = linux-dietlibc; then
10257 case $cc_basename in
10258 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10261 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10262 && test "$tmp_diet" = no
10264 tmp_addflag=' $pic_flag'
10265 tmp_sharedflag='-shared'
10266 case $cc_basename,$host_cpu in
10267 pgcc*) # Portland Group C compiler
10268 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'
10269 tmp_addflag=' $pic_flag'
10271 pgf77* | pgf90* | pgf95* | pgfortran*)
10272 # Portland Group f77 and f90 compilers
10273 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'
10274 tmp_addflag=' $pic_flag -Mnomain' ;;
10275 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10276 tmp_addflag=' -i_dynamic' ;;
10277 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10278 tmp_addflag=' -i_dynamic -nofor_main' ;;
10279 ifc* | ifort*) # Intel Fortran compiler
10280 tmp_addflag=' -nofor_main' ;;
10281 lf95*) # Lahey Fortran 8.1
10282 whole_archive_flag_spec=
10283 tmp_sharedflag='--shared' ;;
10284 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10285 tmp_sharedflag='-qmkshrobj'
10287 nvcc*) # Cuda Compiler Driver 2.2
10288 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'
10289 compiler_needs_object=yes
10292 case `$CC -V 2>&1 | sed 5q` in
10293 *Sun\ C*) # Sun C 5.9
10294 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'
10295 compiler_needs_object=yes
10296 tmp_sharedflag='-G' ;;
10297 *Sun\ F*) # Sun Fortran 8.3
10298 tmp_sharedflag='-G' ;;
10300 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10302 if test "x$supports_anon_versioning" = xyes; then
10303 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10304 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10305 echo "local: *; };" >> $output_objdir/$libname.ver~
10306 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10309 case $cc_basename in
10310 xlf* | bgf* | bgxlf* | mpixlf*)
10311 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10312 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10313 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10314 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10315 if test "x$supports_anon_versioning" = xyes; then
10316 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10317 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10318 echo "local: *; };" >> $output_objdir/$libname.ver~
10319 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10330 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10333 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10334 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10339 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10344 *** create shared libraries on Solaris systems. Therefore, libtool
10345 *** is disabling shared libraries support. We urge you to upgrade GNU
10346 *** binutils to release 2.9.1 or newer. Another option is to modify
10347 *** your PATH or compiler configuration so that the native linker is
10348 *** used, and then restart.
10351 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10352 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10353 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10359 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10360 case `$LD -v 2>&1` in
10361 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10366 *** reliably create shared libraries on SCO systems. Therefore, libtool
10367 *** is disabling shared libraries support. We urge you to upgrade GNU
10368 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10369 *** your PATH or compiler configuration so that the native linker is
10370 *** used, and then restart.
10375 # For security reasons, it is highly recommended that you always
10376 # use absolute paths for naming shared libraries, and exclude the
10377 # DT_RUNPATH tag from executables and libraries. But doing so
10378 # requires that you compile everything twice, which is a pain.
10379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10380 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10391 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_direct=yes
10394 hardcode_shlibpath_var=no
10398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10399 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10400 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10407 if test "$ld_shlibs" = no; then
10409 hardcode_libdir_flag_spec=
10410 export_dynamic_flag_spec=
10411 whole_archive_flag_spec=
10414 # PORTME fill in a description of your system's linker (not GNU ld)
10417 allow_undefined_flag=unsupported
10418 always_export_symbols=yes
10419 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'
10420 # Note: this linker hardcodes the directories in LIBPATH if there
10421 # are no directories specified by -L.
10422 hardcode_minus_L=yes
10423 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10424 # Neither direct hardcoding nor static linking is supported with a
10426 hardcode_direct=unsupported
10431 if test "$host_cpu" = ia64; then
10432 # On IA64, the linker does run time linking by default, so we don't
10433 # have to do anything special.
10434 aix_use_runtimelinking=no
10435 exp_sym_flag='-Bexport'
10438 # If we're using GNU nm, then we don't want the "-C" option.
10439 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10440 # Also, AIX nm treats weak defined symbols like other global
10441 # defined symbols, whereas GNU nm marks them as "W".
10442 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10443 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'
10445 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'
10447 aix_use_runtimelinking=no
10449 # Test if we are trying to use run time linking or normal
10450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10451 # need to do runtime linking.
10452 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10453 for ld_flag in $LDFLAGS; do
10454 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10455 aix_use_runtimelinking=yes
10462 exp_sym_flag='-bexport'
10463 no_entry_flag='-bnoentry'
10466 # When large executables or shared objects are built, AIX ld can
10467 # have problems creating the table of contents. If linking a library
10468 # or program results in "error TOC overflow" add -mminimal-toc to
10469 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10470 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10473 hardcode_direct=yes
10474 hardcode_direct_absolute=yes
10475 hardcode_libdir_separator=':'
10476 link_all_deplibs=yes
10477 file_list_spec='${wl}-f,'
10479 if test "$GCC" = yes; then
10480 case $host_os in aix4.[012]|aix4.[012].*)
10481 # We only want to do this on AIX 4.2 and lower, the check
10482 # below for broken collect2 doesn't work under 4.3+
10483 collect2name=`${CC} -print-prog-name=collect2`
10484 if test -f "$collect2name" &&
10485 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10487 # We have reworked collect2
10490 # We have old collect2
10491 hardcode_direct=unsupported
10492 # It fails to find uninstalled libraries when the uninstalled
10493 # path is not listed in the libpath. Setting hardcode_minus_L
10494 # to unsupported forces relinking
10495 hardcode_minus_L=yes
10496 hardcode_libdir_flag_spec='-L$libdir'
10497 hardcode_libdir_separator=
10501 shared_flag='-shared'
10502 if test "$aix_use_runtimelinking" = yes; then
10503 shared_flag="$shared_flag "'${wl}-G'
10507 if test "$host_cpu" = ia64; then
10508 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10509 # chokes on -Wl,-G. The following line is correct:
10512 if test "$aix_use_runtimelinking" = yes; then
10513 shared_flag='${wl}-G'
10515 shared_flag='${wl}-bM:SRE'
10520 export_dynamic_flag_spec='${wl}-bexpall'
10521 # It seems that -bexpall does not export symbols beginning with
10522 # underscore (_), so it is better to generate a list of symbols to export.
10523 always_export_symbols=yes
10524 if test "$aix_use_runtimelinking" = yes; then
10525 # Warning - without using the other runtime loading flags (-brtl),
10526 # -berok will link without error, but may produce a broken library.
10527 allow_undefined_flag='-berok'
10528 # Determine the default libpath from the value encoded in an
10529 # empty executable.
10530 if test "${lt_cv_aix_libpath+set}" = set; then
10531 aix_libpath=$lt_cv_aix_libpath
10533 if ${lt_cv_aix_libpath_+:} false; then :
10534 $as_echo_n "(cached) " >&6
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10547 if ac_fn_c_try_link "$LINENO"; then :
10549 lt_aix_libpath_sed='
10550 /Import File Strings/,/^$/ {
10552 s/^0 *\([^ ]*\) *$/\1/
10556 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10557 # Check for a 64-bit object if we didn't find anything.
10558 if test -z "$lt_cv_aix_libpath_"; then
10559 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10562 rm -f core conftest.err conftest.$ac_objext \
10563 conftest$ac_exeext conftest.$ac_ext
10564 if test -z "$lt_cv_aix_libpath_"; then
10565 lt_cv_aix_libpath_="/usr/lib:/lib"
10570 aix_libpath=$lt_cv_aix_libpath_
10573 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10574 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"
10576 if test "$host_cpu" = ia64; then
10577 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10578 allow_undefined_flag="-z nodefs"
10579 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"
10581 # Determine the default libpath from the value encoded in an
10582 # empty executable.
10583 if test "${lt_cv_aix_libpath+set}" = set; then
10584 aix_libpath=$lt_cv_aix_libpath
10586 if ${lt_cv_aix_libpath_+:} false; then :
10587 $as_echo_n "(cached) " >&6
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10600 if ac_fn_c_try_link "$LINENO"; then :
10602 lt_aix_libpath_sed='
10603 /Import File Strings/,/^$/ {
10605 s/^0 *\([^ ]*\) *$/\1/
10609 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10610 # Check for a 64-bit object if we didn't find anything.
10611 if test -z "$lt_cv_aix_libpath_"; then
10612 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 if test -z "$lt_cv_aix_libpath_"; then
10618 lt_cv_aix_libpath_="/usr/lib:/lib"
10623 aix_libpath=$lt_cv_aix_libpath_
10626 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10627 # Warning - without using the other run time loading flags,
10628 # -berok will link without error, but may produce a broken library.
10629 no_undefined_flag=' ${wl}-bernotok'
10630 allow_undefined_flag=' ${wl}-berok'
10631 if test "$with_gnu_ld" = yes; then
10632 # We only use this code for GNU lds that support --whole-archive.
10633 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10635 # Exported symbols can be pulled into shared objects from archives
10636 whole_archive_flag_spec='$convenience'
10638 archive_cmds_need_lc=yes
10639 # This is similar to how AIX traditionally builds its shared libraries.
10640 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'
10648 # see comment about AmigaOS4 .so support
10649 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10650 archive_expsym_cmds=''
10653 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)'
10654 hardcode_libdir_flag_spec='-L$libdir'
10655 hardcode_minus_L=yes
10661 export_dynamic_flag_spec=-rdynamic
10664 cygwin* | mingw* | pw32* | cegcc*)
10665 # When not using gcc, we currently assume that we are using
10666 # Microsoft Visual C++.
10667 # hardcode_libdir_flag_spec is actually meaningless, as there is
10668 # no search path for DLLs.
10669 case $cc_basename in
10672 hardcode_libdir_flag_spec=' '
10673 allow_undefined_flag=unsupported
10674 always_export_symbols=yes
10676 # Tell ltmain to make .lib files, not .a files.
10678 # Tell ltmain to make .dll files, not .so files.
10680 # FIXME: Setting linknames here is a bad hack.
10681 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10682 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10683 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10685 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10687 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10689 # The linker will not automatically build a static lib if we build a DLL.
10690 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10691 enable_shared_with_static_runtimes=yes
10692 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10693 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10695 old_postinstall_cmds='chmod 644 $oldlib'
10696 postlink_cmds='lt_outputfile="@OUTPUT@"~
10697 lt_tool_outputfile="@TOOL_OUTPUT@"~
10698 case $lt_outputfile in
10701 lt_outputfile="$lt_outputfile.exe"
10702 lt_tool_outputfile="$lt_tool_outputfile.exe"
10705 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10706 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10707 $RM "$lt_outputfile.manifest";
10711 # Assume MSVC wrapper
10712 hardcode_libdir_flag_spec=' '
10713 allow_undefined_flag=unsupported
10714 # Tell ltmain to make .lib files, not .a files.
10716 # Tell ltmain to make .dll files, not .so files.
10718 # FIXME: Setting linknames here is a bad hack.
10719 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10720 # The linker will automatically build a .lib file if we build a DLL.
10721 old_archive_from_new_cmds='true'
10722 # FIXME: Should let the user specify the lib program.
10723 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10724 enable_shared_with_static_runtimes=yes
10729 darwin* | rhapsody*)
10732 archive_cmds_need_lc=no
10734 hardcode_automatic=yes
10735 hardcode_shlibpath_var=unsupported
10736 if test "$lt_cv_ld_force_load" = "yes"; then
10737 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\"`'
10740 whole_archive_flag_spec=''
10742 link_all_deplibs=yes
10743 allow_undefined_flag="$_lt_dar_allow_undefined"
10744 case $cc_basename in
10745 ifort*) _lt_dar_can_shared=yes ;;
10746 *) _lt_dar_can_shared=$GCC ;;
10748 if test "$_lt_dar_can_shared" = "yes"; then
10749 output_verbose_link_cmd=func_echo_all
10750 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10751 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10752 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}"
10753 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}"
10762 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_libdir_flag_spec='-L$libdir'
10764 hardcode_shlibpath_var=no
10767 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10768 # support. Future versions do this automatically, but an explicit c++rt0.o
10769 # does not break anything, and helps significantly (at the cost of a little
10772 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10773 hardcode_libdir_flag_spec='-R$libdir'
10774 hardcode_direct=yes
10775 hardcode_shlibpath_var=no
10778 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10780 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10781 hardcode_direct=yes
10782 hardcode_minus_L=yes
10783 hardcode_shlibpath_var=no
10786 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10787 freebsd* | dragonfly*)
10788 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10789 hardcode_libdir_flag_spec='-R$libdir'
10790 hardcode_direct=yes
10791 hardcode_shlibpath_var=no
10795 if test "$GCC" = yes; then
10796 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'
10798 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'
10800 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10801 hardcode_libdir_separator=:
10802 hardcode_direct=yes
10804 # hardcode_minus_L: Not really in the search PATH,
10805 # but as the default location of the library.
10806 hardcode_minus_L=yes
10807 export_dynamic_flag_spec='${wl}-E'
10811 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10812 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10816 if test "$with_gnu_ld" = no; then
10817 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10818 hardcode_libdir_separator=:
10819 hardcode_direct=yes
10820 hardcode_direct_absolute=yes
10821 export_dynamic_flag_spec='${wl}-E'
10822 # hardcode_minus_L: Not really in the search PATH,
10823 # but as the default location of the library.
10824 hardcode_minus_L=yes
10829 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10832 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10835 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10844 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10847 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10851 # Older versions of the 11.00 compiler do not understand -b yet
10852 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10854 $as_echo_n "checking if $CC understands -b... " >&6; }
10855 if ${lt_cv_prog_compiler__b+:} false; then :
10856 $as_echo_n "(cached) " >&6
10858 lt_cv_prog_compiler__b=no
10859 save_LDFLAGS="$LDFLAGS"
10860 LDFLAGS="$LDFLAGS -b"
10861 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10862 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10863 # The linker can only warn and ignore the option if not recognized
10864 # So say no if there are warnings
10865 if test -s conftest.err; then
10866 # Append any errors to the config.log.
10867 cat conftest.err 1>&5
10868 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10869 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10870 if diff conftest.exp conftest.er2 >/dev/null; then
10871 lt_cv_prog_compiler__b=yes
10874 lt_cv_prog_compiler__b=yes
10878 LDFLAGS="$save_LDFLAGS"
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10882 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10884 if test x"$lt_cv_prog_compiler__b" = xyes; then
10885 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10887 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10893 if test "$with_gnu_ld" = no; then
10894 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10895 hardcode_libdir_separator=:
10900 hardcode_shlibpath_var=no
10903 hardcode_direct=yes
10904 hardcode_direct_absolute=yes
10905 export_dynamic_flag_spec='${wl}-E'
10907 # hardcode_minus_L: Not really in the search PATH,
10908 # but as the default location of the library.
10909 hardcode_minus_L=yes
10915 irix5* | irix6* | nonstopux*)
10916 if test "$GCC" = yes; then
10917 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'
10918 # Try to use the -exported_symbol ld option, if it does not
10919 # work, assume that -exports_file does not work either and
10920 # implicitly export all symbols.
10921 # This should be the same for all languages, so no per-tag cache variable.
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10923 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10924 if ${lt_cv_irix_exported_symbol+:} false; then :
10925 $as_echo_n "(cached) " >&6
10927 save_LDFLAGS="$LDFLAGS"
10928 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10931 int foo (void) { return 0; }
10933 if ac_fn_c_try_link "$LINENO"; then :
10934 lt_cv_irix_exported_symbol=yes
10936 lt_cv_irix_exported_symbol=no
10938 rm -f core conftest.err conftest.$ac_objext \
10939 conftest$ac_exeext conftest.$ac_ext
10940 LDFLAGS="$save_LDFLAGS"
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10943 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10944 if test "$lt_cv_irix_exported_symbol" = yes; then
10945 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'
10948 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'
10949 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'
10951 archive_cmds_need_lc='no'
10952 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10953 hardcode_libdir_separator=:
10955 link_all_deplibs=yes
10959 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10960 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10962 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10964 hardcode_libdir_flag_spec='-R$libdir'
10965 hardcode_direct=yes
10966 hardcode_shlibpath_var=no
10970 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10971 hardcode_direct=yes
10972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10973 hardcode_libdir_separator=:
10974 hardcode_shlibpath_var=no
10981 if test -f /usr/libexec/ld.so; then
10982 hardcode_direct=yes
10983 hardcode_shlibpath_var=no
10984 hardcode_direct_absolute=yes
10985 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10986 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10987 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10988 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10989 export_dynamic_flag_spec='${wl}-E'
10992 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10993 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10994 hardcode_libdir_flag_spec='-R$libdir'
10997 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10998 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11008 hardcode_libdir_flag_spec='-L$libdir'
11009 hardcode_minus_L=yes
11010 allow_undefined_flag=unsupported
11011 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'
11012 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11016 if test "$GCC" = yes; then
11017 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11018 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'
11020 allow_undefined_flag=' -expect_unresolved \*'
11021 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'
11023 archive_cmds_need_lc='no'
11024 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11025 hardcode_libdir_separator=:
11028 osf4* | osf5*) # as osf3* with the addition of -msym flag
11029 if test "$GCC" = yes; then
11030 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11031 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'
11032 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11034 allow_undefined_flag=' -expect_unresolved \*'
11035 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'
11036 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~
11037 $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'
11039 # Both c and cxx compiler support -rpath directly
11040 hardcode_libdir_flag_spec='-rpath $libdir'
11042 archive_cmds_need_lc='no'
11043 hardcode_libdir_separator=:
11047 no_undefined_flag=' -z defs'
11048 if test "$GCC" = yes; then
11050 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11051 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11052 $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'
11054 case `$CC -V 2>&1` in
11057 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11058 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11059 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11063 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11064 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11065 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11069 hardcode_libdir_flag_spec='-R$libdir'
11070 hardcode_shlibpath_var=no
11072 solaris2.[0-5] | solaris2.[0-5].*) ;;
11074 # The compiler driver will combine and reorder linker options,
11075 # but understands `-z linker_flag'. GCC discards it without `$wl',
11076 # but is careful enough not to reorder.
11077 # Supported since Solaris 2.6 (maybe 2.5.1?)
11078 if test "$GCC" = yes; then
11079 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11081 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11085 link_all_deplibs=yes
11089 if test "x$host_vendor" = xsequent; then
11090 # Use $CC to link under sequent, because it throws in some extra .o
11091 # files that make .init and .fini sections work.
11092 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11094 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11096 hardcode_libdir_flag_spec='-L$libdir'
11097 hardcode_direct=yes
11098 hardcode_minus_L=yes
11099 hardcode_shlibpath_var=no
11103 case $host_vendor in
11105 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11106 hardcode_direct=yes # is this really true???
11109 ## LD is ld it makes a PLAMLIB
11110 ## CC just makes a GrossModule.
11111 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11112 reload_cmds='$CC -r -o $output$reload_objs'
11116 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11117 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11120 runpath_var='LD_RUN_PATH'
11121 hardcode_shlibpath_var=no
11125 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11126 hardcode_shlibpath_var=no
11127 export_dynamic_flag_spec='-Bexport'
11131 if test -d /usr/nec; then
11132 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11133 hardcode_shlibpath_var=no
11134 runpath_var=LD_RUN_PATH
11135 hardcode_runpath_var=yes
11140 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11141 no_undefined_flag='${wl}-z,text'
11142 archive_cmds_need_lc=no
11143 hardcode_shlibpath_var=no
11144 runpath_var='LD_RUN_PATH'
11146 if test "$GCC" = yes; then
11147 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11148 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11150 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11151 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11155 sysv5* | sco3.2v5* | sco5v6*)
11156 # Note: We can NOT use -z defs as we might desire, because we do not
11157 # link with -lc, and that would cause any symbols used from libc to
11158 # always be unresolved, which means just about no library would
11159 # ever link correctly. If we're not using GNU ld we use -z text
11160 # though, which does catch some bad symbols but isn't as heavy-handed
11162 no_undefined_flag='${wl}-z,text'
11163 allow_undefined_flag='${wl}-z,nodefs'
11164 archive_cmds_need_lc=no
11165 hardcode_shlibpath_var=no
11166 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11167 hardcode_libdir_separator=':'
11168 link_all_deplibs=yes
11169 export_dynamic_flag_spec='${wl}-Bexport'
11170 runpath_var='LD_RUN_PATH'
11172 if test "$GCC" = yes; then
11173 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11174 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11176 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11177 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11182 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11183 hardcode_libdir_flag_spec='-L$libdir'
11184 hardcode_shlibpath_var=no
11192 if test x$host_vendor = xsni; then
11194 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11195 export_dynamic_flag_spec='${wl}-Blargedynsym'
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11202 $as_echo "$ld_shlibs" >&6; }
11203 test "$ld_shlibs" = no && can_build_shared=no
11205 with_gnu_ld=$with_gnu_ld
11222 # Do we need to explicitly link libc?
11224 case "x$archive_cmds_need_lc" in
11226 # Assume -lc should be added
11227 archive_cmds_need_lc=yes
11229 if test "$enable_shared" = yes && test "$GCC" = yes; then
11230 case $archive_cmds in
11232 # FIXME: we may have to deal with multi-command sequences.
11235 # Test whether the compiler implicitly links with -lc since on some
11236 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11237 # to ld, don't add -lc before -lgcc.
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11239 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11240 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11241 $as_echo_n "(cached) " >&6
11244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11247 (eval $ac_compile) 2>&5
11249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11250 test $ac_status = 0; } 2>conftest.err; then
11253 libobjs=conftest.$ac_objext
11255 wl=$lt_prog_compiler_wl
11256 pic_flag=$lt_prog_compiler_pic
11262 lt_save_allow_undefined_flag=$allow_undefined_flag
11263 allow_undefined_flag=
11264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11265 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11268 test $ac_status = 0; }
11270 lt_cv_archive_cmds_need_lc=no
11272 lt_cv_archive_cmds_need_lc=yes
11274 allow_undefined_flag=$lt_save_allow_undefined_flag
11276 cat conftest.err 1>&5
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11282 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11283 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11442 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11444 if test "$GCC" = yes; then
11446 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11447 *) lt_awk_arg="/^libraries:/" ;;
11450 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11451 *) lt_sed_strip_eq="s,=/,/,g" ;;
11453 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11454 case $lt_search_path_spec in
11456 # if the path contains ";" then we assume it to be the separator
11457 # otherwise default to the standard path separator (i.e. ":") - it is
11458 # assumed that no part of a normal pathname contains ";" but that should
11459 # okay in the real world where ";" in dirpaths is itself problematic.
11460 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11463 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11466 # Ok, now we have the path, separated by spaces, we can step through it
11467 # and add multilib dir if necessary.
11468 lt_tmp_lt_search_path_spec=
11469 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11470 for lt_sys_path in $lt_search_path_spec; do
11471 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11472 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11474 test -d "$lt_sys_path" && \
11475 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11478 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11479 BEGIN {RS=" "; FS="/|\n";} {
11482 for (lt_i = NF; lt_i > 0; lt_i--) {
11483 if ($lt_i != "" && $lt_i != ".") {
11484 if ($lt_i == "..") {
11487 if (lt_count == 0) {
11488 lt_foo="/" $lt_i lt_foo;
11495 if (lt_foo != "") { lt_freq[lt_foo]++; }
11496 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11498 # AWK program above erroneously prepends '/' to C:/dos/paths
11501 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11502 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11504 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11506 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11508 library_names_spec=
11509 libname_spec='lib$name'
11513 postuninstall_cmds=
11517 shlibpath_overrides_runpath=unknown
11519 dynamic_linker="$host_os ld.so"
11520 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11521 need_lib_prefix=unknown
11522 hardcode_into_libs=no
11524 # when you set need_version to no, make sure it does not cause -set_version
11525 # flags to be left without arguments
11526 need_version=unknown
11530 version_type=linux # correct to gnu/linux during the next big refactor
11531 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11532 shlibpath_var=LIBPATH
11534 # AIX 3 has no versioning support, so we append a major version to the name.
11535 soname_spec='${libname}${release}${shared_ext}$major'
11539 version_type=linux # correct to gnu/linux during the next big refactor
11542 hardcode_into_libs=yes
11543 if test "$host_cpu" = ia64; then
11544 # AIX 5 supports IA64
11545 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11546 shlibpath_var=LD_LIBRARY_PATH
11548 # With GCC up to 2.95.x, collect2 would create an import file
11549 # for dependence libraries. The import file would start with
11550 # the line `#! .'. This would cause the generated library to
11551 # depend on `.', always an invalid library. This was fixed in
11552 # development snapshots of GCC prior to 3.0.
11554 aix4 | aix4.[01] | aix4.[01].*)
11555 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11557 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11560 can_build_shared=no
11564 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11565 # soname into executable. Probably we can add versioning support to
11566 # collect2, so additional links can be useful in future.
11567 if test "$aix_use_runtimelinking" = yes; then
11568 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11569 # instead of lib<name>.a to let people know that these are not
11570 # typical AIX shared libraries.
11571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 # We preserve .a as extension for shared libraries through AIX4.2
11574 # and later when we are not doing run time linking.
11575 library_names_spec='${libname}${release}.a $libname.a'
11576 soname_spec='${libname}${release}${shared_ext}$major'
11578 shlibpath_var=LIBPATH
11585 # Since July 2007 AmigaOS4 officially supports .so libraries.
11586 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 library_names_spec='$libname.ixlibrary $libname.a'
11591 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11592 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'
11598 library_names_spec='${libname}${shared_ext}'
11599 dynamic_linker="$host_os ld.so"
11600 shlibpath_var=LIBRARY_PATH
11604 version_type=linux # correct to gnu/linux during the next big refactor
11606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11607 soname_spec='${libname}${release}${shared_ext}$major'
11608 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11611 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11612 # the default ld.so.conf also contains /usr/contrib/lib and
11613 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11614 # libtool to hard-code these into programs
11617 cygwin* | mingw* | pw32* | cegcc*)
11618 version_type=windows
11623 case $GCC,$cc_basename in
11626 library_names_spec='$libname.dll.a'
11627 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11628 postinstall_cmds='base_file=`basename \${file}`~
11629 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11630 dldir=$destdir/`dirname \$dlpath`~
11631 test -d \$dldir || mkdir -p \$dldir~
11632 $install_prog $dir/$dlname \$dldir/$dlname~
11633 chmod a+x \$dldir/$dlname~
11634 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11635 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11637 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11638 dlpath=$dir/\$dldll~
11640 shlibpath_overrides_runpath=yes
11644 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11645 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11647 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11650 # MinGW DLLs use traditional 'lib' prefix
11651 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11654 # pw32 DLLs use 'pw' prefix rather than 'lib'
11655 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11658 dynamic_linker='Win32 ld.exe'
11663 libname_spec='$name'
11664 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11665 library_names_spec='${libname}.dll.lib'
11669 sys_lib_search_path_spec=
11672 for lt_path in $LIB
11675 # Let DOS variable expansion print the short 8.3 style file name.
11676 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11677 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11680 # Convert to MSYS style.
11681 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11684 # Convert to unix form, then to dos form, then back to unix form
11685 # but this time dos style (no spaces!) so that the unix form looks
11686 # like /cygdrive/c/PROGRA~1:/cygdr...
11687 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11688 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11689 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11692 sys_lib_search_path_spec="$LIB"
11693 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11694 # It is most probably a Windows format PATH.
11695 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11697 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11699 # FIXME: find the short name or the path components, as spaces are
11700 # common. (e.g. "Program Files" -> "PROGRA~1")
11704 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11705 postinstall_cmds='base_file=`basename \${file}`~
11706 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11707 dldir=$destdir/`dirname \$dlpath`~
11708 test -d \$dldir || mkdir -p \$dldir~
11709 $install_prog $dir/$dlname \$dldir/$dlname'
11710 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11711 dlpath=$dir/\$dldll~
11713 shlibpath_overrides_runpath=yes
11714 dynamic_linker='Win32 link.exe'
11718 # Assume MSVC wrapper
11719 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11720 dynamic_linker='Win32 ld.exe'
11723 # FIXME: first we should search . and the directory the executable is in
11727 darwin* | rhapsody*)
11728 dynamic_linker="$host_os dyld"
11729 version_type=darwin
11732 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11733 soname_spec='${libname}${release}${major}$shared_ext'
11734 shlibpath_overrides_runpath=yes
11735 shlibpath_var=DYLD_LIBRARY_PATH
11736 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11738 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11739 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11743 version_type=linux # correct to gnu/linux during the next big refactor
11746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11747 soname_spec='${libname}${release}${shared_ext}$major'
11748 shlibpath_var=LD_LIBRARY_PATH
11751 freebsd* | dragonfly*)
11752 # DragonFly does not have aout. When/if they implement a new
11753 # versioning mechanism, adjust this.
11754 if test -x /usr/bin/objformat; then
11755 objformat=`/usr/bin/objformat`
11758 freebsd[23].*) objformat=aout ;;
11759 *) objformat=elf ;;
11762 version_type=freebsd-$objformat
11763 case $version_type in
11765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11770 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11774 shlibpath_var=LD_LIBRARY_PATH
11777 shlibpath_overrides_runpath=yes
11779 freebsd3.[01]* | freebsdelf3.[01]*)
11780 shlibpath_overrides_runpath=yes
11781 hardcode_into_libs=yes
11783 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11784 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11785 shlibpath_overrides_runpath=no
11786 hardcode_into_libs=yes
11788 *) # from 4.6 on, and DragonFly
11789 shlibpath_overrides_runpath=yes
11790 hardcode_into_libs=yes
11796 version_type=linux # correct to gnu/linux during the next big refactor
11799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11800 soname_spec='${libname}${release}${shared_ext}$major'
11801 shlibpath_var=LD_LIBRARY_PATH
11802 shlibpath_overrides_runpath=no
11803 hardcode_into_libs=yes
11807 version_type=linux # correct to gnu/linux during the next big refactor
11810 dynamic_linker="$host_os runtime_loader"
11811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11812 soname_spec='${libname}${release}${shared_ext}$major'
11813 shlibpath_var=LIBRARY_PATH
11814 shlibpath_overrides_runpath=yes
11815 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11816 hardcode_into_libs=yes
11819 hpux9* | hpux10* | hpux11*)
11820 # Give a soname corresponding to the major version so that dld.sl refuses to
11821 # link against other versions.
11828 hardcode_into_libs=yes
11829 dynamic_linker="$host_os dld.so"
11830 shlibpath_var=LD_LIBRARY_PATH
11831 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11833 soname_spec='${libname}${release}${shared_ext}$major'
11834 if test "X$HPUX_IA64_MODE" = X32; then
11835 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11837 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11839 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11843 hardcode_into_libs=yes
11844 dynamic_linker="$host_os dld.sl"
11845 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11846 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11848 soname_spec='${libname}${release}${shared_ext}$major'
11849 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11850 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11854 dynamic_linker="$host_os dld.sl"
11855 shlibpath_var=SHLIB_PATH
11856 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11858 soname_spec='${libname}${release}${shared_ext}$major'
11861 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11862 postinstall_cmds='chmod 555 $lib'
11863 # or fails outright, so override atomically:
11864 install_override_mode=555
11868 version_type=linux # correct to gnu/linux during the next big refactor
11871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11872 soname_spec='${libname}${release}${shared_ext}$major'
11873 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11874 shlibpath_var=LD_LIBRARY_PATH
11875 shlibpath_overrides_runpath=no
11876 hardcode_into_libs=yes
11879 irix5* | irix6* | nonstopux*)
11881 nonstopux*) version_type=nonstopux ;;
11883 if test "$lt_cv_prog_gnu_ld" = yes; then
11884 version_type=linux # correct to gnu/linux during the next big refactor
11891 soname_spec='${libname}${release}${shared_ext}$major'
11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11894 irix5* | nonstopux*)
11895 libsuff= shlibsuff=
11898 case $LD in # libtool.m4 will add one of these switches to LD
11899 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11900 libsuff= shlibsuff= libmagic=32-bit;;
11901 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11902 libsuff=32 shlibsuff=N32 libmagic=N32;;
11903 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11904 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11905 *) libsuff= shlibsuff= libmagic=never-match;;
11909 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11910 shlibpath_overrides_runpath=no
11911 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11912 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11913 hardcode_into_libs=yes
11916 # No shared lib support for Linux oldld, aout, or coff.
11917 linux*oldld* | linux*aout* | linux*coff*)
11921 # This must be glibc/ELF.
11922 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11923 version_type=linux # correct to gnu/linux during the next big refactor
11926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11927 soname_spec='${libname}${release}${shared_ext}$major'
11928 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11929 shlibpath_var=LD_LIBRARY_PATH
11930 shlibpath_overrides_runpath=no
11932 # Some binutils ld are patched to set DT_RUNPATH
11933 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11934 $as_echo_n "(cached) " >&6
11936 lt_cv_shlibpath_overrides_runpath=no
11937 save_LDFLAGS=$LDFLAGS
11938 save_libdir=$libdir
11939 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11940 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11954 lt_cv_shlibpath_overrides_runpath=yes
11957 rm -f core conftest.err conftest.$ac_objext \
11958 conftest$ac_exeext conftest.$ac_ext
11959 LDFLAGS=$save_LDFLAGS
11960 libdir=$save_libdir
11964 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11966 # This implies no fast_install, which is unacceptable.
11967 # Some rework will be needed to allow for fast_install
11968 # before this can be enabled.
11969 hardcode_into_libs=yes
11971 # Add ABI-specific directories to the system library path.
11972 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11974 # Append ld.so.conf contents to the search path
11975 if test -f /etc/ld.so.conf; then
11976 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' ' '`
11977 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11981 # We used to test for /lib/ld.so.1 and disable shared libraries on
11982 # powerpc, because MkLinux only supported shared libraries with the
11983 # GNU dynamic linker. Since this was broken with cross compilers,
11984 # most powerpc-linux boxes support dynamic linking these days and
11985 # people can always --disable-shared, the test was removed, and we
11986 # assume the GNU/Linux dynamic linker is in use.
11987 dynamic_linker='GNU/Linux ld.so'
11994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11996 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11997 dynamic_linker='NetBSD (a.out) ld.so'
11999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12000 soname_spec='${libname}${release}${shared_ext}$major'
12001 dynamic_linker='NetBSD ld.elf_so'
12003 shlibpath_var=LD_LIBRARY_PATH
12004 shlibpath_overrides_runpath=yes
12005 hardcode_into_libs=yes
12009 version_type=linux # correct to gnu/linux during the next big refactor
12010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12011 shlibpath_var=LD_LIBRARY_PATH
12012 shlibpath_overrides_runpath=yes
12019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12020 soname_spec='${libname}${release}${shared_ext}$major'
12021 shlibpath_var=LD_LIBRARY_PATH
12022 shlibpath_overrides_runpath=no
12023 hardcode_into_libs=yes
12024 dynamic_linker='ldqnx.so'
12029 sys_lib_dlsearch_path_spec="/usr/lib"
12031 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12033 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12034 *) need_version=no ;;
12036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12037 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12038 shlibpath_var=LD_LIBRARY_PATH
12039 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12041 openbsd2.[89] | openbsd2.[89].*)
12042 shlibpath_overrides_runpath=no
12045 shlibpath_overrides_runpath=yes
12049 shlibpath_overrides_runpath=yes
12054 libname_spec='$name'
12057 library_names_spec='$libname${shared_ext} $libname.a'
12058 dynamic_linker='OS/2 ld.exe'
12059 shlibpath_var=LIBPATH
12062 osf3* | osf4* | osf5*)
12066 soname_spec='${libname}${release}${shared_ext}$major'
12067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068 shlibpath_var=LD_LIBRARY_PATH
12069 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12070 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12078 version_type=linux # correct to gnu/linux during the next big refactor
12081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12082 soname_spec='${libname}${release}${shared_ext}$major'
12083 shlibpath_var=LD_LIBRARY_PATH
12084 shlibpath_overrides_runpath=yes
12085 hardcode_into_libs=yes
12086 # ldd complains unless libraries are executable
12087 postinstall_cmds='chmod +x $lib'
12092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12093 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12094 shlibpath_var=LD_LIBRARY_PATH
12095 shlibpath_overrides_runpath=yes
12096 if test "$with_gnu_ld" = yes; then
12103 version_type=linux # correct to gnu/linux during the next big refactor
12104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12105 soname_spec='${libname}${release}${shared_ext}$major'
12106 shlibpath_var=LD_LIBRARY_PATH
12107 case $host_vendor in
12109 shlibpath_overrides_runpath=no
12111 runpath_var=LD_RUN_PATH
12119 shlibpath_overrides_runpath=no
12120 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12126 if test -d /usr/nec ;then
12127 version_type=linux # correct to gnu/linux during the next big refactor
12128 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12129 soname_spec='$libname${shared_ext}.$major'
12130 shlibpath_var=LD_LIBRARY_PATH
12134 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12135 version_type=freebsd-elf
12138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12139 soname_spec='${libname}${release}${shared_ext}$major'
12140 shlibpath_var=LD_LIBRARY_PATH
12141 shlibpath_overrides_runpath=yes
12142 hardcode_into_libs=yes
12143 if test "$with_gnu_ld" = yes; then
12144 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12146 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12149 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12153 sys_lib_dlsearch_path_spec='/usr/lib'
12157 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12158 version_type=linux # correct to gnu/linux during the next big refactor
12161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12162 shlibpath_var=LD_LIBRARY_PATH
12163 shlibpath_overrides_runpath=no
12164 hardcode_into_libs=yes
12168 version_type=linux # correct to gnu/linux during the next big refactor
12169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12170 soname_spec='${libname}${release}${shared_ext}$major'
12171 shlibpath_var=LD_LIBRARY_PATH
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12179 $as_echo "$dynamic_linker" >&6; }
12180 test "$dynamic_linker" = no && can_build_shared=no
12182 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12183 if test "$GCC" = yes; then
12184 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12187 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12188 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12190 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12191 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12286 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12288 if test -n "$hardcode_libdir_flag_spec" ||
12289 test -n "$runpath_var" ||
12290 test "X$hardcode_automatic" = "Xyes" ; then
12292 # We can hardcode non-existent directories.
12293 if test "$hardcode_direct" != no &&
12294 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12295 # have to relink, otherwise we might link with an installed library
12296 # when we should be linking with a yet-to-be-installed one
12297 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12298 test "$hardcode_minus_L" != no; then
12299 # Linking always hardcodes the temporary library directory.
12300 hardcode_action=relink
12302 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12303 hardcode_action=immediate
12306 # We cannot hardcode anything, or else we can only hardcode existing
12308 hardcode_action=unsupported
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12311 $as_echo "$hardcode_action" >&6; }
12313 if test "$hardcode_action" = relink ||
12314 test "$inherit_rpath" = yes; then
12315 # Fast installation is not supported
12316 enable_fast_install=no
12317 elif test "$shlibpath_overrides_runpath" = yes ||
12318 test "$enable_shared" = no; then
12319 # Fast installation is not necessary
12320 enable_fast_install=needless
12328 if test "x$enable_dlopen" != xyes; then
12329 enable_dlopen=unknown
12330 enable_dlopen_self=unknown
12331 enable_dlopen_self_static=unknown
12338 lt_cv_dlopen="load_add_on"
12340 lt_cv_dlopen_self=yes
12343 mingw* | pw32* | cegcc*)
12344 lt_cv_dlopen="LoadLibrary"
12349 lt_cv_dlopen="dlopen"
12354 # if libdl is installed we need to link against it
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12356 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12357 if ${ac_cv_lib_dl_dlopen+:} false; then :
12358 $as_echo_n "(cached) " >&6
12360 ac_check_lib_save_LIBS=$LIBS
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 ac_cv_lib_dl_dlopen=yes
12383 ac_cv_lib_dl_dlopen=no
12385 rm -f core conftest.err conftest.$ac_objext \
12386 conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_lib_save_LIBS
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12390 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12391 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12392 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12395 lt_cv_dlopen="dyld"
12397 lt_cv_dlopen_self=yes
12404 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12405 if test "x$ac_cv_func_shl_load" = xyes; then :
12406 lt_cv_dlopen="shl_load"
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12409 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12410 if ${ac_cv_lib_dld_shl_load+:} false; then :
12411 $as_echo_n "(cached) " >&6
12413 ac_check_lib_save_LIBS=$LIBS
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 /* Override any GCC internal prototype to avoid an error.
12419 Use char because int might match the return type of a GCC
12420 builtin and then its argument prototype would still apply. */
12428 return shl_load ();
12433 if ac_fn_c_try_link "$LINENO"; then :
12434 ac_cv_lib_dld_shl_load=yes
12436 ac_cv_lib_dld_shl_load=no
12438 rm -f core conftest.err conftest.$ac_objext \
12439 conftest$ac_exeext conftest.$ac_ext
12440 LIBS=$ac_check_lib_save_LIBS
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12443 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12444 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12445 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12447 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12448 if test "x$ac_cv_func_dlopen" = xyes; then :
12449 lt_cv_dlopen="dlopen"
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12452 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12453 if ${ac_cv_lib_dl_dlopen+:} false; then :
12454 $as_echo_n "(cached) " >&6
12456 ac_check_lib_save_LIBS=$LIBS
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 ac_cv_lib_dl_dlopen=yes
12479 ac_cv_lib_dl_dlopen=no
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12486 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12487 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12488 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12491 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12492 if ${ac_cv_lib_svld_dlopen+:} false; then :
12493 $as_echo_n "(cached) " >&6
12495 ac_check_lib_save_LIBS=$LIBS
12496 LIBS="-lsvld $LIBS"
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12500 /* Override any GCC internal prototype to avoid an error.
12501 Use char because int might match the return type of a GCC
12502 builtin and then its argument prototype would still apply. */
12515 if ac_fn_c_try_link "$LINENO"; then :
12516 ac_cv_lib_svld_dlopen=yes
12518 ac_cv_lib_svld_dlopen=no
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS=$ac_check_lib_save_LIBS
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12525 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12526 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12527 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12530 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12531 if ${ac_cv_lib_dld_dld_link+:} false; then :
12532 $as_echo_n "(cached) " >&6
12534 ac_check_lib_save_LIBS=$LIBS
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12549 return dld_link ();
12554 if ac_fn_c_try_link "$LINENO"; then :
12555 ac_cv_lib_dld_dld_link=yes
12557 ac_cv_lib_dld_dld_link=no
12559 rm -f core conftest.err conftest.$ac_objext \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LIBS=$ac_check_lib_save_LIBS
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12564 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12565 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12566 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12587 if test "x$lt_cv_dlopen" != xno; then
12593 case $lt_cv_dlopen in
12595 save_CPPFLAGS="$CPPFLAGS"
12596 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12598 save_LDFLAGS="$LDFLAGS"
12599 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12602 LIBS="$lt_cv_dlopen_libs $LIBS"
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12605 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12606 if ${lt_cv_dlopen_self+:} false; then :
12607 $as_echo_n "(cached) " >&6
12609 if test "$cross_compiling" = yes; then :
12610 lt_cv_dlopen_self=cross
12612 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12613 lt_status=$lt_dlunknown
12614 cat > conftest.$ac_ext <<_LT_EOF
12615 #line $LINENO "configure"
12616 #include "confdefs.h"
12625 # define LT_DLGLOBAL RTLD_GLOBAL
12628 # define LT_DLGLOBAL DL_GLOBAL
12630 # define LT_DLGLOBAL 0
12634 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12635 find out it does not work in some platform. */
12636 #ifndef LT_DLLAZY_OR_NOW
12638 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12641 # define LT_DLLAZY_OR_NOW DL_LAZY
12644 # define LT_DLLAZY_OR_NOW RTLD_NOW
12647 # define LT_DLLAZY_OR_NOW DL_NOW
12649 # define LT_DLLAZY_OR_NOW 0
12656 /* When -fvisbility=hidden is used, assume the code has been annotated
12657 correspondingly for the symbols needed. */
12658 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12659 int fnord () __attribute__((visibility("default")));
12662 int fnord () { return 42; }
12665 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12666 int status = $lt_dlunknown;
12670 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12673 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12674 else puts (dlerror ());
12676 /* dlclose (self); */
12684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12685 (eval $ac_link) 2>&5
12687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12688 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12689 (./conftest; exit; ) >&5 2>/dev/null
12691 case x$lt_status in
12692 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12693 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12694 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12697 # compilation failed
12698 lt_cv_dlopen_self=no
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12706 $as_echo "$lt_cv_dlopen_self" >&6; }
12708 if test "x$lt_cv_dlopen_self" = xyes; then
12709 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12711 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12712 if ${lt_cv_dlopen_self_static+:} false; then :
12713 $as_echo_n "(cached) " >&6
12715 if test "$cross_compiling" = yes; then :
12716 lt_cv_dlopen_self_static=cross
12718 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12719 lt_status=$lt_dlunknown
12720 cat > conftest.$ac_ext <<_LT_EOF
12721 #line $LINENO "configure"
12722 #include "confdefs.h"
12731 # define LT_DLGLOBAL RTLD_GLOBAL
12734 # define LT_DLGLOBAL DL_GLOBAL
12736 # define LT_DLGLOBAL 0
12740 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12741 find out it does not work in some platform. */
12742 #ifndef LT_DLLAZY_OR_NOW
12744 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12747 # define LT_DLLAZY_OR_NOW DL_LAZY
12750 # define LT_DLLAZY_OR_NOW RTLD_NOW
12753 # define LT_DLLAZY_OR_NOW DL_NOW
12755 # define LT_DLLAZY_OR_NOW 0
12762 /* When -fvisbility=hidden is used, assume the code has been annotated
12763 correspondingly for the symbols needed. */
12764 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12765 int fnord () __attribute__((visibility("default")));
12768 int fnord () { return 42; }
12771 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12772 int status = $lt_dlunknown;
12776 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12779 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12780 else puts (dlerror ());
12782 /* dlclose (self); */
12790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12791 (eval $ac_link) 2>&5
12793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12794 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12795 (./conftest; exit; ) >&5 2>/dev/null
12797 case x$lt_status in
12798 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12799 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12800 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12803 # compilation failed
12804 lt_cv_dlopen_self_static=no
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12812 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12815 CPPFLAGS="$save_CPPFLAGS"
12816 LDFLAGS="$save_LDFLAGS"
12821 case $lt_cv_dlopen_self in
12822 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12823 *) enable_dlopen_self=unknown ;;
12826 case $lt_cv_dlopen_self_static in
12827 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12828 *) enable_dlopen_self_static=unknown ;;
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12851 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12852 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12853 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12854 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12856 $as_echo "yes" >&6; }
12858 # FIXME - insert some real tests, host_os isn't really good enough
12861 if test -n "$STRIP" ; then
12862 striplib="$STRIP -x"
12863 old_striplib="$STRIP -S"
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12865 $as_echo "yes" >&6; }
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12868 $as_echo "no" >&6; }
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12873 $as_echo "no" >&6; }
12889 # Report which library types will actually be built
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12891 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12893 $as_echo "$can_build_shared" >&6; }
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12896 $as_echo_n "checking whether to build shared libraries... " >&6; }
12897 test "$can_build_shared" = "no" && enable_shared=no
12899 # On AIX, shared libraries and static libraries use the same namespace, and
12900 # are all built from PIC.
12903 test "$enable_shared" = yes && enable_static=no
12904 if test -n "$RANLIB"; then
12905 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12906 postinstall_cmds='$RANLIB $lib'
12911 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12912 test "$enable_shared" = yes && enable_static=no
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12917 $as_echo "$enable_shared" >&6; }
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12920 $as_echo_n "checking whether to build static libraries... " >&6; }
12921 # Make sure either enable_shared or enable_static is yes.
12922 test "$enable_shared" = yes || enable_static=yes
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12924 $as_echo "$enable_static" >&6; }
12931 ac_cpp='$CPP $CPPFLAGS'
12932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12952 ac_config_commands="$ac_config_commands libtool"
12957 # Only expand once:
12968 LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
12971 LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
12974 PKGCONFIG_REQUIRES=
12975 PKGCONFIG_REQUIRES_PRIVATELY=
12985 if test "$os_win32" = "yes"; then
12994 if test "$os_win32" = "yes"; then
12995 # Extract the first word of "lib.exe", so it can be a program name with args.
12996 set dummy lib.exe; ac_word=$2
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12998 $as_echo_n "checking for $ac_word... " >&6; }
12999 if ${ac_cv_prog_ms_librarian+:} false; then :
13000 $as_echo_n "(cached) " >&6
13002 if test -n "$ms_librarian"; then
13003 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
13005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13009 test -z "$as_dir" && as_dir=.
13010 for ac_exec_ext in '' $ac_executable_extensions; do
13011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13012 ac_cv_prog_ms_librarian="yes"
13013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13020 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
13023 ms_librarian=$ac_cv_prog_ms_librarian
13024 if test -n "$ms_librarian"; then
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
13026 $as_echo "$ms_librarian" >&6; }
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13029 $as_echo "no" >&6; }
13034 if test x$ms_librarian = xyes; then
13035 MS_LIB_AVAILABLE_TRUE=
13036 MS_LIB_AVAILABLE_FALSE='#'
13038 MS_LIB_AVAILABLE_TRUE='#'
13039 MS_LIB_AVAILABLE_FALSE=
13043 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
13044 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
13051 WARNING_CPP_DIRECTIVE="no"
13052 if test "x$GCC" = "xyes"; then
13053 WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
13054 -Wmissing-prototypes -Wmissing-declarations \
13055 -Wnested-externs -fno-strict-aliasing"
13056 WARNING_CPP_DIRECTIVE="yes"
13057 elif test "x$SUNCC" = "xyes"; then
13058 WARN_CFLAGS="-v -fd"
13059 WARNING_CPP_DIRECTIVE="yes"
13061 if test "x$WARNING_CPP_DIRECTIVE" = "xyes"; then
13063 cat >>confdefs.h <<_ACEOF
13064 #define HAVE_WARNING_CPP_DIRECTIVE 1
13072 # Put a plausible default for CC_FOR_BUILD in Makefile.
13073 if test -z "$CC_FOR_BUILD"; then
13074 if test "x$cross_compiling" = "xno"; then
13075 CC_FOR_BUILD='$(CC)'
13081 # Also set EXEEXT_FOR_BUILD.
13082 if test "x$cross_compiling" = "xno"; then
13083 EXEEXT_FOR_BUILD='$(EXEEXT)'
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
13086 $as_echo_n "checking for build system executable suffix... " >&6; }
13087 if ${bfd_cv_build_exeext+:} false; then :
13088 $as_echo_n "(cached) " >&6
13091 echo 'int main () { return 0; }' > conftest.c
13092 bfd_cv_build_exeext=
13093 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
13094 for file in conftest.*; do
13096 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
13097 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
13101 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
13104 $as_echo "$bfd_cv_build_exeext" >&6; }
13105 EXEEXT_FOR_BUILD=""
13106 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
13110 if test $cross_compiling = yes; then
13111 CROSS_COMPILING_TRUE=
13112 CROSS_COMPILING_FALSE='#'
13114 CROSS_COMPILING_TRUE='#'
13115 CROSS_COMPILING_FALSE=
13118 if test "$enable_shared" = "yes"; then
13119 ENABLE_SHARED_TRUE=
13120 ENABLE_SHARED_FALSE='#'
13122 ENABLE_SHARED_TRUE='#'
13123 ENABLE_SHARED_FALSE=
13129 # Check whether --with-arch was given.
13130 if test "${with_arch+set}" = set; then :
13131 withval=$with_arch; arch="$withval"
13137 if test "x$arch" != xauto; then
13139 cat >>confdefs.h <<_ACEOF
13140 #define FC_ARCHITECTURE "$arch"
13147 # Checks for header files.
13148 ac_header_dirent=no
13149 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13150 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13152 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13153 if eval \${$as_ac_Header+:} false; then :
13154 $as_echo_n "(cached) " >&6
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13158 #include <sys/types.h>
13170 if ac_fn_c_try_compile "$LINENO"; then :
13171 eval "$as_ac_Header=yes"
13173 eval "$as_ac_Header=no"
13175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13177 eval ac_res=\$$as_ac_Header
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13179 $as_echo "$ac_res" >&6; }
13180 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13181 cat >>confdefs.h <<_ACEOF
13182 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13185 ac_header_dirent=$ac_hdr; break
13189 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13190 if test $ac_header_dirent = dirent.h; then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13192 $as_echo_n "checking for library containing opendir... " >&6; }
13193 if ${ac_cv_search_opendir+:} false; then :
13194 $as_echo_n "(cached) " >&6
13196 ac_func_search_save_LIBS=$LIBS
13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13200 /* Override any GCC internal prototype to avoid an error.
13201 Use char because int might match the return type of a GCC
13202 builtin and then its argument prototype would still apply. */
13215 for ac_lib in '' dir; do
13216 if test -z "$ac_lib"; then
13217 ac_res="none required"
13220 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 ac_cv_search_opendir=$ac_res
13225 rm -f core conftest.err conftest.$ac_objext \
13227 if ${ac_cv_search_opendir+:} false; then :
13231 if ${ac_cv_search_opendir+:} false; then :
13234 ac_cv_search_opendir=no
13236 rm conftest.$ac_ext
13237 LIBS=$ac_func_search_save_LIBS
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13240 $as_echo "$ac_cv_search_opendir" >&6; }
13241 ac_res=$ac_cv_search_opendir
13242 if test "$ac_res" != no; then :
13243 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13249 $as_echo_n "checking for library containing opendir... " >&6; }
13250 if ${ac_cv_search_opendir+:} false; then :
13251 $as_echo_n "(cached) " >&6
13253 ac_func_search_save_LIBS=$LIBS
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13272 for ac_lib in '' x; do
13273 if test -z "$ac_lib"; then
13274 ac_res="none required"
13277 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13279 if ac_fn_c_try_link "$LINENO"; then :
13280 ac_cv_search_opendir=$ac_res
13282 rm -f core conftest.err conftest.$ac_objext \
13284 if ${ac_cv_search_opendir+:} false; then :
13288 if ${ac_cv_search_opendir+:} false; then :
13291 ac_cv_search_opendir=no
13293 rm conftest.$ac_ext
13294 LIBS=$ac_func_search_save_LIBS
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13297 $as_echo "$ac_cv_search_opendir" >&6; }
13298 ac_res=$ac_cv_search_opendir
13299 if test "$ac_res" != no; then :
13300 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13307 $as_echo_n "checking for ANSI C header files... " >&6; }
13308 if ${ac_cv_header_stdc+:} false; then :
13309 $as_echo_n "(cached) " >&6
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13313 #include <stdlib.h>
13314 #include <stdarg.h>
13315 #include <string.h>
13326 if ac_fn_c_try_compile "$LINENO"; then :
13327 ac_cv_header_stdc=yes
13329 ac_cv_header_stdc=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13333 if test $ac_cv_header_stdc = yes; then
13334 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13337 #include <string.h>
13340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13341 $EGREP "memchr" >/dev/null 2>&1; then :
13344 ac_cv_header_stdc=no
13350 if test $ac_cv_header_stdc = yes; then
13351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13354 #include <stdlib.h>
13357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13358 $EGREP "free" >/dev/null 2>&1; then :
13361 ac_cv_header_stdc=no
13367 if test $ac_cv_header_stdc = yes; then
13368 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13369 if test "$cross_compiling" = yes; then :
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 #include <stdlib.h>
13376 #if ((' ' & 0x0FF) == 0x020)
13377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13380 # define ISLOWER(c) \
13381 (('a' <= (c) && (c) <= 'i') \
13382 || ('j' <= (c) && (c) <= 'r') \
13383 || ('s' <= (c) && (c) <= 'z'))
13384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13392 for (i = 0; i < 256; i++)
13393 if (XOR (islower (i), ISLOWER (i))
13394 || toupper (i) != TOUPPER (i))
13399 if ac_fn_c_try_run "$LINENO"; then :
13402 ac_cv_header_stdc=no
13404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13405 conftest.$ac_objext conftest.beam conftest.$ac_ext
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13411 $as_echo "$ac_cv_header_stdc" >&6; }
13412 if test $ac_cv_header_stdc = yes; then
13414 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13418 for ac_header in fcntl.h stdlib.h string.h unistd.h sys/statvfs.h sys/vfs.h sys/statfs.h sys/param.h sys/mount.h
13420 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13421 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13422 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13423 cat >>confdefs.h <<_ACEOF
13424 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13431 # ------ AX CREATE STDINT H -------------------------------------
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
13433 $as_echo_n "checking for stdint types... " >&6; }
13434 ac_stdint_h=`echo src/fcstdint.h`
13435 # try to shortcircuit - if the default include path of the compiler
13436 # can find a "stdint.h" header then we assume that all compilers can.
13437 if ${ac_cv_header_stdint_t+:} false; then :
13438 $as_echo_n "(cached) " >&6
13441 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
13442 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
13443 old_CFLAGS="$CFLAGS" ; CFLAGS=""
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13446 #include <stdint.h>
13450 int_least32_t v = 0;
13455 if ac_fn_c_try_compile "$LINENO"; then :
13456 ac_cv_stdint_result="(assuming C99 compatible system)"
13457 ac_cv_header_stdint_t="stdint.h";
13459 ac_cv_header_stdint_t=""
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
13464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13466 #include <stdint.h>
13470 int_least32_t v = 0;
13475 if ac_fn_c_try_compile "$LINENO"; then :
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
13477 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
13479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13481 CXXFLAGS="$old_CXXFLAGS"
13482 CPPFLAGS="$old_CPPFLAGS"
13483 CFLAGS="$old_CFLAGS"
13487 v="... $ac_cv_header_stdint_h"
13488 if test "$ac_stdint_h" = "stdint.h" ; then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
13490 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
13491 elif test "$ac_stdint_h" = "inttypes.h" ; then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
13493 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
13494 elif test "_$ac_cv_header_stdint_t" = "_" ; then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
13496 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
13498 ac_cv_header_stdint="$ac_cv_header_stdint_t"
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
13500 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
13503 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
13506 inttype_headers=`echo | sed -e 's/,/ /g'`
13508 ac_cv_stdint_result="(no helpful system typedefs seen)"
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
13511 $as_echo_n "checking for stdint uintptr_t... " >&6; }
13512 if ${ac_cv_header_stdint_x+:} false; then :
13513 $as_echo_n "(cached) " >&6
13516 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
13518 $as_echo "(..)" >&6; }
13519 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
13521 unset ac_cv_type_uintptr_t
13522 unset ac_cv_type_uint64_t
13523 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
13525 if test "x$ac_cv_type_uintptr_t" = xyes; then :
13526 ac_cv_header_stdint_x=$i
13531 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
13533 if test "x$ac_cv_type_uint64_t" = xyes; then :
13539 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
13543 $as_echo_n "checking for stdint uintptr_t... " >&6; }
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
13547 $as_echo "$ac_cv_header_stdint_x" >&6; }
13550 if test "_$ac_cv_header_stdint_x" = "_" ; then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
13553 $as_echo_n "checking for stdint uint32_t... " >&6; }
13554 if ${ac_cv_header_stdint_o+:} false; then :
13555 $as_echo_n "(cached) " >&6
13558 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
13560 $as_echo "(..)" >&6; }
13561 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
13563 unset ac_cv_type_uint32_t
13564 unset ac_cv_type_uint64_t
13565 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
13567 if test "x$ac_cv_type_uint32_t" = xyes; then :
13568 ac_cv_header_stdint_o=$i
13573 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
13575 if test "x$ac_cv_type_uint64_t" = xyes; then :
13581 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
13586 $as_echo_n "checking for stdint uint32_t... " >&6; }
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
13590 $as_echo "$ac_cv_header_stdint_o" >&6; }
13594 if test "_$ac_cv_header_stdint_x" = "_" ; then
13595 if test "_$ac_cv_header_stdint_o" = "_" ; then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
13598 $as_echo_n "checking for stdint u_int32_t... " >&6; }
13599 if ${ac_cv_header_stdint_u+:} false; then :
13600 $as_echo_n "(cached) " >&6
13603 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
13605 $as_echo "(..)" >&6; }
13606 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
13607 unset ac_cv_type_u_int32_t
13608 unset ac_cv_type_u_int64_t
13609 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
13611 if test "x$ac_cv_type_u_int32_t" = xyes; then :
13612 ac_cv_header_stdint_u=$i
13617 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
13619 if test "x$ac_cv_type_u_int64_t" = xyes; then :
13625 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
13630 $as_echo_n "checking for stdint u_int32_t... " >&6; }
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
13634 $as_echo "$ac_cv_header_stdint_u" >&6; }
13638 if test "_$ac_cv_header_stdint_x" = "_" ; then
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
13640 $as_echo_n "checking for stdint datatype model... " >&6; }
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
13642 $as_echo "(..)" >&6; }
13644 # The cast to long int works around a bug in the HP C Compiler
13645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13646 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13647 # This bug is HP SR number 8606223364.
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13649 $as_echo_n "checking size of char... " >&6; }
13650 if ${ac_cv_sizeof_char+:} false; then :
13651 $as_echo_n "(cached) " >&6
13653 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13656 if test "$ac_cv_type_char" = yes; then
13657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13659 as_fn_error 77 "cannot compute sizeof (char)
13660 See \`config.log' for more details" "$LINENO" 5; }
13662 ac_cv_sizeof_char=0
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13668 $as_echo "$ac_cv_sizeof_char" >&6; }
13672 cat >>confdefs.h <<_ACEOF
13673 #define SIZEOF_CHAR $ac_cv_sizeof_char
13677 # The cast to long int works around a bug in the HP C Compiler
13678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13680 # This bug is HP SR number 8606223364.
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13682 $as_echo_n "checking size of short... " >&6; }
13683 if ${ac_cv_sizeof_short+:} false; then :
13684 $as_echo_n "(cached) " >&6
13686 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13689 if test "$ac_cv_type_short" = yes; then
13690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13692 as_fn_error 77 "cannot compute sizeof (short)
13693 See \`config.log' for more details" "$LINENO" 5; }
13695 ac_cv_sizeof_short=0
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13701 $as_echo "$ac_cv_sizeof_short" >&6; }
13705 cat >>confdefs.h <<_ACEOF
13706 #define SIZEOF_SHORT $ac_cv_sizeof_short
13710 # The cast to long int works around a bug in the HP C Compiler
13711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13713 # This bug is HP SR number 8606223364.
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13715 $as_echo_n "checking size of int... " >&6; }
13716 if ${ac_cv_sizeof_int+:} false; then :
13717 $as_echo_n "(cached) " >&6
13719 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13722 if test "$ac_cv_type_int" = yes; then
13723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13725 as_fn_error 77 "cannot compute sizeof (int)
13726 See \`config.log' for more details" "$LINENO" 5; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13734 $as_echo "$ac_cv_sizeof_int" >&6; }
13738 cat >>confdefs.h <<_ACEOF
13739 #define SIZEOF_INT $ac_cv_sizeof_int
13743 # The cast to long int works around a bug in the HP C Compiler
13744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13746 # This bug is HP SR number 8606223364.
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13748 $as_echo_n "checking size of long... " >&6; }
13749 if ${ac_cv_sizeof_long+:} false; then :
13750 $as_echo_n "(cached) " >&6
13752 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13755 if test "$ac_cv_type_long" = yes; then
13756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13758 as_fn_error 77 "cannot compute sizeof (long)
13759 See \`config.log' for more details" "$LINENO" 5; }
13761 ac_cv_sizeof_long=0
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13767 $as_echo "$ac_cv_sizeof_long" >&6; }
13771 cat >>confdefs.h <<_ACEOF
13772 #define SIZEOF_LONG $ac_cv_sizeof_long
13776 # The cast to long int works around a bug in the HP C Compiler
13777 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13778 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13779 # This bug is HP SR number 8606223364.
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
13781 $as_echo_n "checking size of void*... " >&6; }
13782 if ${ac_cv_sizeof_voidp+:} false; then :
13783 $as_echo_n "(cached) " >&6
13785 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
13788 if test "$ac_cv_type_voidp" = yes; then
13789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13791 as_fn_error 77 "cannot compute sizeof (void*)
13792 See \`config.log' for more details" "$LINENO" 5; }
13794 ac_cv_sizeof_voidp=0
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
13800 $as_echo "$ac_cv_sizeof_voidp" >&6; }
13804 cat >>confdefs.h <<_ACEOF
13805 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
13809 ac_cv_char_data_model=""
13810 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
13811 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
13812 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
13813 ac_cv_long_data_model=""
13814 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
13815 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
13816 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
13818 $as_echo_n "checking data model... " >&6; }
13819 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
13820 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
13821 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
13822 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
13823 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
13824 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
13825 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
13826 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
13827 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
13828 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
13829 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
13830 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
13831 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
13832 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
13833 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
13834 222/*|333/*|444/*|666/*|888/*) :
13835 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
13836 *) ac_cv_data_model="none" ; n="very unusual model" ;;
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
13839 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
13843 if test "_$ac_cv_header_stdint_x" != "_" ; then
13844 ac_cv_header_stdint="$ac_cv_header_stdint_x"
13845 elif test "_$ac_cv_header_stdint_o" != "_" ; then
13846 ac_cv_header_stdint="$ac_cv_header_stdint_o"
13847 elif test "_$ac_cv_header_stdint_u" != "_" ; then
13848 ac_cv_header_stdint="$ac_cv_header_stdint_u"
13850 ac_cv_header_stdint="stddef.h"
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
13854 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
13856 $as_echo "($ac_cv_header_stdint)" >&6; }
13857 unset ac_cv_type_int_least32_t
13858 unset ac_cv_type_int_fast32_t
13859 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
13861 if test "x$ac_cv_type_int_least32_t" = xyes; then :
13865 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
13867 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
13871 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
13873 if test "x$ac_cv_type_intmax_t" = xyes; then :
13878 fi # shortcircut to system "stdint.h"
13879 # ------------------ PREPARE VARIABLES ------------------------------
13880 if test "$GCC" = "yes" ; then
13881 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
13883 ac_cv_stdint_message="using $CC"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
13887 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
13889 # ----------------- DONE inttypes.h checks START header -------------
13890 ac_config_commands="$ac_config_commands $ac_stdint_h"
13894 # Checks for typedefs, structures, and compiler characteristics.
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13896 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13897 if ${ac_cv_c_const+:} false; then :
13898 $as_echo_n "(cached) " >&6
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13907 #ifndef __cplusplus
13908 /* Ultrix mips cc rejects this sort of thing. */
13909 typedef int charset[2];
13910 const charset cs = { 0, 0 };
13911 /* SunOS 4.1.1 cc rejects this. */
13912 char const *const *pcpcc;
13914 /* NEC SVR4.0.2 mips cc rejects this. */
13915 struct point {int x, y;};
13916 static struct point const zero = {0,0};
13917 /* AIX XL C 1.02.0.0 rejects this.
13918 It does not let you subtract one const X* pointer from another in
13919 an arm of an if-expression whose if-part is not a constant
13921 const char *g = "string";
13922 pcpcc = &g + (g ? g-g : 0);
13923 /* HPUX 7.0 cc rejects these. */
13925 ppc = (char**) pcpcc;
13926 pcpcc = (char const *const *) ppc;
13927 { /* SCO 3.2v4 cc rejects this sort of thing. */
13930 char const *s = 0 ? (char *) 0 : (char const *) 0;
13935 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13936 int x[] = {25, 17};
13937 const int *foo = &x[0];
13940 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13941 typedef const int *iptr;
13945 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13946 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13947 struct s { int j; const int *ap[3]; } bx;
13948 struct s *b = &bx; b->j = 5;
13950 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13951 const int foo = 10;
13952 if (!foo) return 0;
13954 return !cs[0] && !zero.x;
13961 if ac_fn_c_try_compile "$LINENO"; then :
13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13969 $as_echo "$ac_cv_c_const" >&6; }
13970 if test $ac_cv_c_const = no; then
13972 $as_echo "#define const /**/" >>confdefs.h
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13977 $as_echo_n "checking for inline... " >&6; }
13978 if ${ac_cv_c_inline+:} false; then :
13979 $as_echo_n "(cached) " >&6
13982 for ac_kw in inline __inline__ __inline; do
13983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13985 #ifndef __cplusplus
13987 static $ac_kw foo_t static_foo () {return 0; }
13988 $ac_kw foo_t foo () {return 0; }
13992 if ac_fn_c_try_compile "$LINENO"; then :
13993 ac_cv_c_inline=$ac_kw
13995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13996 test "$ac_cv_c_inline" != no && break
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14001 $as_echo "$ac_cv_c_inline" >&6; }
14003 case $ac_cv_c_inline in
14006 case $ac_cv_c_inline in
14008 *) ac_val=$ac_cv_c_inline;;
14010 cat >>confdefs.h <<_ACEOF
14011 #ifndef __cplusplus
14012 #define inline $ac_val
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
14020 $as_echo_n "checking for flexible array members... " >&6; }
14021 if ${ac_cv_c_flexmember+:} false; then :
14022 $as_echo_n "(cached) " >&6
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14026 #include <stdlib.h>
14028 #include <stddef.h>
14029 struct s { int n; double d[]; };
14033 int m = getchar ();
14034 struct s *p = malloc (offsetof (struct s, d)
14035 + m * sizeof (double));
14037 return p->d != (double *) NULL;
14042 if ac_fn_c_try_compile "$LINENO"; then :
14043 ac_cv_c_flexmember=yes
14045 ac_cv_c_flexmember=no
14047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
14050 $as_echo "$ac_cv_c_flexmember" >&6; }
14051 if test $ac_cv_c_flexmember = yes; then
14053 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
14056 $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
14060 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14061 if test "x$ac_cv_type_pid_t" = xyes; then :
14065 cat >>confdefs.h <<_ACEOF
14072 # Checks for library functions.
14073 for ac_func in vprintf
14075 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
14076 if test "x$ac_cv_func_vprintf" = xyes; then :
14077 cat >>confdefs.h <<_ACEOF
14078 #define HAVE_VPRINTF 1
14081 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
14082 if test "x$ac_cv_func__doprnt" = xyes; then :
14084 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14095 for ac_header in $ac_header_list
14097 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14098 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14100 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14101 cat >>confdefs.h <<_ACEOF
14102 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14116 for ac_func in getpagesize
14118 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14119 if test "x$ac_cv_func_getpagesize" = xyes; then :
14120 cat >>confdefs.h <<_ACEOF
14121 #define HAVE_GETPAGESIZE 1
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14128 $as_echo_n "checking for working mmap... " >&6; }
14129 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
14130 $as_echo_n "(cached) " >&6
14132 if test "$cross_compiling" = yes; then :
14133 ac_cv_func_mmap_fixed_mapped=no
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 $ac_includes_default
14138 /* malloc might have been renamed as rpl_malloc. */
14141 /* Thanks to Mike Haertel and Jim Avera for this test.
14142 Here is a matrix of mmap possibilities:
14143 mmap private not fixed
14144 mmap private fixed at somewhere currently unmapped
14145 mmap private fixed at somewhere already mapped
14146 mmap shared not fixed
14147 mmap shared fixed at somewhere currently unmapped
14148 mmap shared fixed at somewhere already mapped
14149 For private mappings, we should verify that changes cannot be read()
14150 back from the file, nor mmap's back from the file at a different
14151 address. (There have been systems where private was not correctly
14152 implemented like the infamous i386 svr4.0, and systems where the
14153 VM page cache was not coherent with the file system buffer cache
14154 like early versions of FreeBSD and possibly contemporary NetBSD.)
14155 For shared mappings, we should conversely verify that changes get
14156 propagated back to all the places they're supposed to be.
14158 Grep wants private fixed already mapped.
14159 The main things grep needs to know about mmap are:
14160 * does it exist and is it safe to write into the mmap'd area
14161 * how to use it (BSD variants) */
14164 #include <sys/mman.h>
14166 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14170 /* This mess was copied from the GNU getpagesize.h. */
14171 #ifndef HAVE_GETPAGESIZE
14172 # ifdef _SC_PAGESIZE
14173 # define getpagesize() sysconf(_SC_PAGESIZE)
14174 # else /* no _SC_PAGESIZE */
14175 # ifdef HAVE_SYS_PARAM_H
14176 # include <sys/param.h>
14177 # ifdef EXEC_PAGESIZE
14178 # define getpagesize() EXEC_PAGESIZE
14179 # else /* no EXEC_PAGESIZE */
14181 # define getpagesize() NBPG * CLSIZE
14184 # endif /* no CLSIZE */
14185 # else /* no NBPG */
14187 # define getpagesize() NBPC
14188 # else /* no NBPC */
14190 # define getpagesize() PAGESIZE
14191 # endif /* PAGESIZE */
14192 # endif /* no NBPC */
14193 # endif /* no NBPG */
14194 # endif /* no EXEC_PAGESIZE */
14195 # else /* no HAVE_SYS_PARAM_H */
14196 # define getpagesize() 8192 /* punt totally */
14197 # endif /* no HAVE_SYS_PARAM_H */
14198 # endif /* no _SC_PAGESIZE */
14200 #endif /* no HAVE_GETPAGESIZE */
14205 char *data, *data2, *data3;
14206 const char *cdata2;
14210 pagesize = getpagesize ();
14212 /* First, make a file with some known garbage in it. */
14213 data = (char *) malloc (pagesize);
14216 for (i = 0; i < pagesize; ++i)
14217 *(data + i) = rand ();
14219 fd = creat ("conftest.mmap", 0600);
14222 if (write (fd, data, pagesize) != pagesize)
14226 /* Next, check that the tail of a page is zero-filled. File must have
14227 non-zero length, otherwise we risk SIGBUS for entire page. */
14228 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14232 if (write (fd2, cdata2, 1) != 1)
14234 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14235 if (data2 == MAP_FAILED)
14237 for (i = 0; i < pagesize; ++i)
14241 if (munmap (data2, pagesize))
14244 /* Next, try to mmap the file at a fixed address which already has
14245 something else allocated at it. If we can, also make sure that
14246 we see the same garbage. */
14247 fd = open ("conftest.mmap", O_RDWR);
14250 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14251 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14253 for (i = 0; i < pagesize; ++i)
14254 if (*(data + i) != *(data2 + i))
14257 /* Finally, make sure that changes to the mapped area do not
14258 percolate back to the file as seen by read(). (This is a bug on
14259 some variants of i386 svr4.0.) */
14260 for (i = 0; i < pagesize; ++i)
14261 *(data2 + i) = *(data2 + i) + 1;
14262 data3 = (char *) malloc (pagesize);
14265 if (read (fd, data3, pagesize) != pagesize)
14267 for (i = 0; i < pagesize; ++i)
14268 if (*(data + i) != *(data3 + i))
14274 if ac_fn_c_try_run "$LINENO"; then :
14275 ac_cv_func_mmap_fixed_mapped=yes
14277 ac_cv_func_mmap_fixed_mapped=no
14279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14280 conftest.$ac_objext conftest.beam conftest.$ac_ext
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14285 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14286 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14288 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14291 rm -f conftest.mmap conftest.txt
14293 for ac_func in link mkstemp mkostemp _mktemp_s mkdtemp getopt getopt_long getprogname getexecname rand random lrand48 random_r rand_r readlink fstatvfs fstatfs lstat
14295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14297 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14298 cat >>confdefs.h <<_ACEOF
14299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise in fcntl.h" >&5
14307 $as_echo_n "checking for posix_fadvise in fcntl.h... " >&6; }
14308 if ${ac_cv_func_posix_fadvise+:} false; then :
14309 $as_echo_n "(cached) " >&6
14311 symbol="[^a-zA-Z_0-9]posix_fadvise[^a-zA-Z_0-9]"
14313 for ac_header in fcntl.h ; do
14314 ac_safe=`echo "$ac_header" | sed 'y%./+-%__p_%' `
14315 if test $ac_found != "yes" ; then
14316 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 #include <$ac_header>
14322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14323 $EGREP "$symbol" >/dev/null 2>&1; then :
14324 ac_found="$ac_header"
14331 if test "$ac_found" != "no" ; then
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_found" >&5
14333 $as_echo "$ac_found" >&6; }
14334 fc_func_posix_fadvise=1
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14337 $as_echo "no" >&6; }
14338 fc_func_posix_fadvise=0
14344 cat >>confdefs.h <<_ACEOF
14345 #define HAVE_POSIX_FADVISE $fc_func_posix_fadvise
14350 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
14351 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "#include <sys/statvfs.h>
14353 if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes; then :
14355 cat >>confdefs.h <<_ACEOF
14356 #define HAVE_STRUCT_STATVFS_F_BASETYPE 1
14361 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "#include <sys/statvfs.h>
14363 if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes; then :
14365 cat >>confdefs.h <<_ACEOF
14366 #define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1
14373 if test "x$ac_cv_func_fstatfs" = "xyes"; then
14374 ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "
14375 #ifdef HAVE_SYS_VFS_H
14376 #include <sys/vfs.h>
14378 #ifdef HAVE_SYS_STATFS_H
14379 #include <sys/statfs.h>
14381 #ifdef HAVE_SYS_PARAM_H
14382 #include <sys/param.h>
14384 #ifdef HAVE_SYS_MOUNT_H
14385 #include <sys/mount.h>
14388 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
14390 cat >>confdefs.h <<_ACEOF
14391 #define HAVE_STRUCT_STATFS_F_FLAGS 1
14396 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
14397 #ifdef HAVE_SYS_VFS_H
14398 #include <sys/vfs.h>
14400 #ifdef HAVE_SYS_STATFS_H
14401 #include <sys/statfs.h>
14403 #ifdef HAVE_SYS_PARAM_H
14404 #include <sys/param.h>
14406 #ifdef HAVE_SYS_MOUNT_H
14407 #include <sys/mount.h>
14410 if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
14412 cat >>confdefs.h <<_ACEOF
14413 #define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
14420 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
14422 if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
14424 cat >>confdefs.h <<_ACEOF
14425 #define HAVE_STRUCT_DIRENT_D_TYPE 1
14435 # Check whether --enable-iconv was given.
14436 if test "${enable_iconv+set}" = set; then :
14437 enableval=$enable_iconv;
14443 # Check whether --with-libiconv was given.
14444 if test "${with_libiconv+set}" = set; then :
14445 withval=$with_libiconv; if test "x$withval" = "xyes"; then
14446 libiconv_prefix=$prefix
14448 libiconv_prefix=$withval
14451 libiconv_prefix=auto
14455 # Check whether --with-libiconv-includes was given.
14456 if test "${with_libiconv_includes+set}" = set; then :
14457 withval=$with_libiconv_includes; libiconv_includes=$withval
14459 libiconv_includes=auto
14463 # Check whether --with-libiconv-lib was given.
14464 if test "${with_libiconv_lib+set}" = set; then :
14465 withval=$with_libiconv_lib; libiconv_lib=$withval
14471 # if no libiconv,libiconv-includes,libiconv-lib are specified,
14472 # libc's iconv has a priority.
14473 if test "$libiconv_includes" != "auto" -a -r ${libiconv_includes}/iconv.h; then
14474 libiconv_cflags="-I${libiconv_includes}"
14475 elif test "$libiconv_prefix" != "auto" -a -r ${libiconv_prefix}/include/iconv.h; then
14476 libiconv_cflags="-I${libiconv_prefix}/include"
14481 if test "x$libiconv_cflags" != "x"; then
14482 if test "$libiconv_lib" != "auto" -a -d ${libiconv_lib}; then
14483 libiconv_libs="-L${libiconv_lib} -liconv"
14484 elif test "$libiconv_prefix" != "auto" -a -d ${libiconv_prefix}/lib; then
14485 libiconv_libs="-L${libiconv_prefix}/lib -liconv"
14487 libiconv_libs="-liconv"
14492 if test "x$enable_iconv" != "xno"; then
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a usable iconv" >&5
14494 $as_echo_n "checking for a usable iconv... " >&6; }
14495 if test "x$libiconv_cflags" != "x" -o "x$libiconv_libs" != "x"; then
14496 iconvsaved_CFLAGS="$CFLAGS"
14497 iconvsaved_LIBS="$LIBS"
14498 CFLAGS="$CFLAGS $libiconv_cflags"
14499 LIBS="$LIBS $libiconv_libs"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14507 iconv_open ("from", "to");
14512 if ac_fn_c_try_link "$LINENO"; then :
14513 iconv_type="libiconv"
14515 ICONV_CFLAGS="$libiconv_cflags"
14516 ICONV_LIBS="$libiconv_libs"
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14524 CFLAGS="$iconvsaved_CFLAGS"
14525 LIBS="$iconvsaved_LIBS"
14527 if test "x$use_iconv" = "x0"; then
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14534 iconv_open ("from", "to");
14539 if ac_fn_c_try_link "$LINENO"; then :
14543 iconv_type="not found"
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_type" >&5
14551 $as_echo "$iconv_type" >&6; }
14556 cat >>confdefs.h <<_ACEOF
14557 #define USE_ICONV $use_iconv
14561 # Checks for FreeType
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
14566 $as_echo_n "checking for FREETYPE... " >&6; }
14568 if test -n "$FREETYPE_CFLAGS"; then
14569 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
14570 elif test -n "$PKG_CONFIG"; then
14571 if test -n "$PKG_CONFIG" && \
14572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
14573 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
14575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14576 test $ac_status = 0; }; then
14577 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
14578 test "x$?" != "x0" && pkg_failed=yes
14585 if test -n "$FREETYPE_LIBS"; then
14586 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
14587 elif test -n "$PKG_CONFIG"; then
14588 if test -n "$PKG_CONFIG" && \
14589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
14590 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
14592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14593 test $ac_status = 0; }; then
14594 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
14595 test "x$?" != "x0" && pkg_failed=yes
14605 if test $pkg_failed = yes; then
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14607 $as_echo "no" >&6; }
14609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14610 _pkg_short_errors_supported=yes
14612 _pkg_short_errors_supported=no
14614 if test $_pkg_short_errors_supported = yes; then
14615 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
14617 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
14619 # Put the nasty error message in config.log where it belongs
14620 echo "$FREETYPE_PKG_ERRORS" >&5
14622 as_fn_error $? "Package requirements (freetype2) were not met:
14624 $FREETYPE_PKG_ERRORS
14626 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14627 installed software in a non-standard prefix.
14629 Alternatively, you may set the environment variables FREETYPE_CFLAGS
14630 and FREETYPE_LIBS to avoid the need to call pkg-config.
14631 See the pkg-config man page for more details." "$LINENO" 5
14632 elif test $pkg_failed = untried; then
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14634 $as_echo "no" >&6; }
14635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14637 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14638 is in your PATH or set the PKG_CONFIG environment variable to the full
14639 path to pkg-config.
14641 Alternatively, you may set the environment variables FREETYPE_CFLAGS
14642 and FREETYPE_LIBS to avoid the need to call pkg-config.
14643 See the pkg-config man page for more details.
14645 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14646 See \`config.log' for more details" "$LINENO" 5; }
14648 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
14649 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14651 $as_echo "yes" >&6; }
14654 PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES freetype2"
14659 fontconfig_save_libs="$LIBS"
14660 fontconfig_save_cflags="$CFLAGS"
14661 LIBS="$LIBS $FREETYPE_LIBS"
14662 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
14663 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
14665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14667 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14668 cat >>confdefs.h <<_ACEOF
14669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14675 ac_fn_c_check_member "$LINENO" "FT_Bitmap_Size" "y_ppem" "ac_cv_member_FT_Bitmap_Size_y_ppem" "#include <ft2build.h>
14676 #include FT_FREETYPE_H
14678 if test "x$ac_cv_member_FT_Bitmap_Size_y_ppem" = xyes; then :
14679 HAVE_FT_BITMAP_SIZE_Y_PPEM=1
14681 HAVE_FT_BITMAP_SIZE_Y_PPEM=0
14685 cat >>confdefs.h <<_ACEOF
14686 #define HAVE_FT_BITMAP_SIZE_Y_PPEM $HAVE_FT_BITMAP_SIZE_Y_PPEM
14689 ac_fn_c_check_member "$LINENO" "TT_OS2" "usLowerOpticalPointSize" "ac_cv_member_TT_OS2_usLowerOpticalPointSize" "
14690 #include <ft2build.h>
14691 #include FT_FREETYPE_H
14692 #include FT_TRUETYPE_TABLES_H
14694 if test "x$ac_cv_member_TT_OS2_usLowerOpticalPointSize" = xyes; then :
14696 cat >>confdefs.h <<_ACEOF
14697 #define HAVE_TT_OS2_USLOWEROPTICALPOINTSIZE 1
14702 ac_fn_c_check_member "$LINENO" "TT_OS2" "usUpperOpticalPointSize" "ac_cv_member_TT_OS2_usUpperOpticalPointSize" "
14703 #include <ft2build.h>
14704 #include FT_FREETYPE_H
14705 #include FT_TRUETYPE_TABLES_H
14707 if test "x$ac_cv_member_TT_OS2_usUpperOpticalPointSize" = xyes; then :
14709 cat >>confdefs.h <<_ACEOF
14710 #define HAVE_TT_OS2_USUPPEROPTICALPOINTSIZE 1
14716 CFLAGS="$fontconfig_save_cflags"
14717 LIBS="$fontconfig_save_libs"
14720 # Check expat configuration
14723 # Check whether --with-expat was given.
14724 if test "${with_expat+set}" = set; then :
14725 withval=$with_expat; expat_prefix=$withval
14731 # Check whether --with-expat-includes was given.
14732 if test "${with_expat_includes+set}" = set; then :
14733 withval=$with_expat_includes; expat_includes=$withval
14735 expat_includes=auto
14739 # Check whether --with-expat-lib was given.
14740 if test "${with_expat_lib+set}" = set; then :
14741 withval=$with_expat_lib; expat_lib=$withval
14747 if test "$enable_libxml2" != "yes"; then
14748 use_pkgconfig_for_expat=yes
14749 if test "$expat_prefix" = "auto" -a "$expat_includes" = "auto" -a "$expat_lib" = "auto"; then
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5
14753 $as_echo_n "checking for EXPAT... " >&6; }
14755 if test -n "$EXPAT_CFLAGS"; then
14756 pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS"
14757 elif test -n "$PKG_CONFIG"; then
14758 if test -n "$PKG_CONFIG" && \
14759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
14760 ($PKG_CONFIG --exists --print-errors "expat") 2>&5
14762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14763 test $ac_status = 0; }; then
14764 pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null`
14765 test "x$?" != "x0" && pkg_failed=yes
14772 if test -n "$EXPAT_LIBS"; then
14773 pkg_cv_EXPAT_LIBS="$EXPAT_LIBS"
14774 elif test -n "$PKG_CONFIG"; then
14775 if test -n "$PKG_CONFIG" && \
14776 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
14777 ($PKG_CONFIG --exists --print-errors "expat") 2>&5
14779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14780 test $ac_status = 0; }; then
14781 pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null`
14782 test "x$?" != "x0" && pkg_failed=yes
14792 if test $pkg_failed = yes; then
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14794 $as_echo "no" >&6; }
14796 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14797 _pkg_short_errors_supported=yes
14799 _pkg_short_errors_supported=no
14801 if test $_pkg_short_errors_supported = yes; then
14802 EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "expat" 2>&1`
14804 EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "expat" 2>&1`
14806 # Put the nasty error message in config.log where it belongs
14807 echo "$EXPAT_PKG_ERRORS" >&5
14809 use_pkgconfig_for_expat=no
14810 elif test $pkg_failed = untried; then
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14812 $as_echo "no" >&6; }
14813 use_pkgconfig_for_expat=no
14815 EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS
14816 EXPAT_LIBS=$pkg_cv_EXPAT_LIBS
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14818 $as_echo "yes" >&6; }
14822 use_pkgconfig_for_expat=no
14824 if test "x$use_pkgconfig_for_expat" = "xno"; then
14825 if test "$expat_includes" != "auto" -a -r ${expat_includes}/expat.h; then
14826 EXPAT_CFLAGS="-I${expat_includes}"
14827 elif test "$expat_prefix" != "auto" -a -r ${expat_prefix}/include/expat.h; then
14828 EXPAT_CFLAGS="-I${expat_prefix}/include"
14832 if test "$expat_lib" != "auto"; then
14833 EXPAT_LIBS="-L${expat_lib} -lexpat"
14834 elif test "$expat_prefix" != "auto"; then
14835 EXPAT_LIBS="-L${expat_prefix}/lib -lexpat"
14837 EXPAT_LIBS="-lexpat"
14840 PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY expat"
14843 expatsaved_CPPFLAGS="$CPPFLAGS"
14844 expatsaved_LIBS="$LIBS"
14845 CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
14846 LIBS="$LIBS $EXPAT_LIBS"
14848 ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
14849 if test "x$ac_cv_header_expat_h" = xyes; then :
14854 if test "$ac_cv_header_expat_h" = "no"; then
14855 ac_fn_c_check_header_mongrel "$LINENO" "xmlparse.h" "ac_cv_header_xmlparse_h" "$ac_includes_default"
14856 if test "x$ac_cv_header_xmlparse_h" = xyes; then :
14861 if test "$ac_cv_header_xmlparse_h" = "yes"; then
14865 cat >>confdefs.h <<_ACEOF
14866 #define HAVE_XMLPARSE_H $HAVE_XMLPARSE_H
14871 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
14874 for ac_func in XML_SetDoctypeDeclHandler
14876 ac_fn_c_check_func "$LINENO" "XML_SetDoctypeDeclHandler" "ac_cv_func_XML_SetDoctypeDeclHandler"
14877 if test "x$ac_cv_func_XML_SetDoctypeDeclHandler" = xyes; then :
14878 cat >>confdefs.h <<_ACEOF
14879 #define HAVE_XML_SETDOCTYPEDECLHANDLER 1
14885 if test "$ac_cv_func_XML_SetDoctypeDeclHandler" = "no"; then
14887 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
14889 CPPFLAGS="$expatsaved_CPPFLAGS"
14890 LIBS="$expatsaved_LIBS"
14897 # Check libxml2 configuration
14899 # Check whether --enable-libxml2 was given.
14900 if test "${enable_libxml2+set}" = set; then :
14901 enableval=$enable_libxml2;
14905 if test "$enable_libxml2" = "yes"; then
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
14909 $as_echo_n "checking for LIBXML2... " >&6; }
14911 if test -n "$LIBXML2_CFLAGS"; then
14912 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
14913 elif test -n "$PKG_CONFIG"; then
14914 if test -n "$PKG_CONFIG" && \
14915 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
14916 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
14918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14919 test $ac_status = 0; }; then
14920 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null`
14921 test "x$?" != "x0" && pkg_failed=yes
14928 if test -n "$LIBXML2_LIBS"; then
14929 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
14930 elif test -n "$PKG_CONFIG"; then
14931 if test -n "$PKG_CONFIG" && \
14932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
14933 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
14935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14936 test $ac_status = 0; }; then
14937 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null`
14938 test "x$?" != "x0" && pkg_failed=yes
14948 if test $pkg_failed = yes; then
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14950 $as_echo "no" >&6; }
14952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14953 _pkg_short_errors_supported=yes
14955 _pkg_short_errors_supported=no
14957 if test $_pkg_short_errors_supported = yes; then
14958 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
14960 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
14962 # Put the nasty error message in config.log where it belongs
14963 echo "$LIBXML2_PKG_ERRORS" >&5
14965 as_fn_error $? "Package requirements (libxml-2.0 >= 2.6) were not met:
14967 $LIBXML2_PKG_ERRORS
14969 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14970 installed software in a non-standard prefix.
14972 Alternatively, you may set the environment variables LIBXML2_CFLAGS
14973 and LIBXML2_LIBS to avoid the need to call pkg-config.
14974 See the pkg-config man page for more details." "$LINENO" 5
14975 elif test $pkg_failed = untried; then
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14977 $as_echo "no" >&6; }
14978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14980 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14981 is in your PATH or set the PKG_CONFIG environment variable to the full
14982 path to pkg-config.
14984 Alternatively, you may set the environment variables LIBXML2_CFLAGS
14985 and LIBXML2_LIBS to avoid the need to call pkg-config.
14986 See the pkg-config man page for more details.
14988 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14989 See \`config.log' for more details" "$LINENO" 5; }
14991 LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
14992 LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14994 $as_echo "yes" >&6; }
14997 PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY libxml-2.0"
14999 cat >>confdefs.h <<_ACEOF
15000 #define ENABLE_LIBXML2 1
15007 fc_saved_CFLAGS="$CFLAGS"
15008 CFLAGS="$CFLAGS $LIBXML2_CFLAGS"
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SAX1 support in libxml2" >&5
15010 $as_echo_n "checking SAX1 support in libxml2... " >&6; }
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15014 #include <libxml/xmlversion.h>
15015 #if !defined(LIBXML_SAX1_ENABLED)
15016 # include "error: No SAX1 support in libxml2"
15020 if ac_fn_c_try_compile "$LINENO"; then :
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15022 $as_echo "found" >&6; }
15025 *** SAX1 support in libxml2 is required. enable it or use expat instead." "$LINENO" 5
15027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15028 CFLAGS="$fc_saved_CFLAGS"
15032 # Set default font directory
15036 # Check whether --with-default-fonts was given.
15037 if test "${with_default_fonts+set}" = set; then :
15038 withval=$with_default_fonts; default_fonts="$withval"
15044 case "$default_fonts" in
15046 if test "$os_win32" = "yes"; then
15047 FC_DEFAULT_FONTS="WINDOWSFONTDIR"
15049 cat >>confdefs.h <<_ACEOF
15050 #define FC_DEFAULT_FONTS "WINDOWSFONTDIR"
15054 FC_DEFAULT_FONTS="/usr/share/fonts"
15056 cat >>confdefs.h <<_ACEOF
15057 #define FC_DEFAULT_FONTS "/usr/share/fonts"
15063 FC_DEFAULT_FONTS="$default_fonts"
15065 cat >>confdefs.h <<_ACEOF
15066 #define FC_DEFAULT_FONTS "$default_fonts"
15075 # Add more fonts if available. By default, add only the directories
15076 # with outline fonts; those with bitmaps can be added as desired in
15077 # local.conf or ~/.fonts.conf
15080 # Check whether --with-add-fonts was given.
15081 if test "${with_add_fonts+set}" = set; then :
15082 withval=$with_add_fonts; add_fonts="$withval"
15088 case "$add_fonts" in
15091 for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
15092 case x"$FC_ADD_FONTS" in
15095 if test -d "$sub"; then
15096 case x$FC_ADD_FONTS in
15098 FC_ADD_FONTS="$sub"
15101 FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
15109 cat >>confdefs.h <<_ACEOF
15110 #define FC_ADD_FONTS "$add_fonts"
15118 FC_ADD_FONTS="$add_fonts"
15120 cat >>confdefs.h <<_ACEOF
15121 #define FC_ADD_FONTS "$add_fonts"
15131 case "$FC_ADD_FONTS" in
15135 FC_FONTPATH=`echo $FC_ADD_FONTS |
15136 sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
15143 # Set default cache directory path
15146 # Check whether --with-cache-dir was given.
15147 if test "${with_cache_dir+set}" = set; then :
15148 withval=$with_cache_dir; fc_cachedir="$withval"
15154 case $fc_cachedir in
15156 if test "$os_win32" = "yes"; then
15157 fc_cachedir="LOCAL_APPDATA_FONTCONFIG_CACHE"
15159 fc_cachedir='${localstatedir}/cache/${PACKAGE}'
15166 FC_CACHEDIR=${fc_cachedir}
15169 FC_FONTDATE=`LC_ALL=C date`
15174 # Set configuration paths
15178 # Check whether --with-templatedir was given.
15179 if test "${with_templatedir+set}" = set; then :
15180 withval=$with_templatedir; templatedir="$withval"
15186 # Check whether --with-baseconfigdir was given.
15187 if test "${with_baseconfigdir+set}" = set; then :
15188 withval=$with_baseconfigdir; baseconfigdir="$withval"
15194 # Check whether --with-configdir was given.
15195 if test "${with_configdir+set}" = set; then :
15196 withval=$with_configdir; configdir="$withval"
15202 # Check whether --with-xmldir was given.
15203 if test "${with_xmldir+set}" = set; then :
15204 withval=$with_xmldir; xmldir="$withval"
15210 case "$templatedir" in
15212 templatedir='${datadir}'/fontconfig/conf.avail
15217 case "$baseconfigdir" in
15219 baseconfigdir='${sysconfdir}'/fonts
15224 case "$configdir" in
15226 configdir='${BASECONFIGDIR}'/conf.d
15233 xmldir='${datadir}'/xml/fontconfig
15239 TEMPLATEDIR=${templatedir}
15240 BASECONFIGDIR=${baseconfigdir}
15241 CONFIGDIR=${configdir}
15251 # Thread-safety primitives
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
15255 $as_echo_n "checking for Intel atomic primitives... " >&6; }
15256 if ${fc_cv_have_intel_atomic_primitives+:} false; then :
15257 $as_echo_n "(cached) " >&6
15260 fc_cv_have_intel_atomic_primitives=false
15261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15262 /* end confdefs.h. */
15264 void memory_barrier (void) { __sync_synchronize (); }
15265 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
15266 int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
15267 void mutex_unlock (int *m) { __sync_lock_release (m); }
15277 if ac_fn_c_try_link "$LINENO"; then :
15278 fc_cv_have_intel_atomic_primitives=true
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext conftest.$ac_ext
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_intel_atomic_primitives" >&5
15286 $as_echo "$fc_cv_have_intel_atomic_primitives" >&6; }
15287 if $fc_cv_have_intel_atomic_primitives; then
15289 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
15294 $as_echo_n "checking for Solaris atomic operations... " >&6; }
15295 if ${fc_cv_have_solaris_atomic_ops+:} false; then :
15296 $as_echo_n "(cached) " >&6
15299 fc_cv_have_solaris_atomic_ops=false
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 #include <atomic.h>
15304 /* This requires Solaris Studio 12.2 or newer: */
15305 #include <mbarrier.h>
15306 void memory_barrier (void) { __machine_rw_barrier (); }
15307 int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
15308 void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
15318 if ac_fn_c_try_link "$LINENO"; then :
15319 fc_cv_have_solaris_atomic_ops=true
15322 rm -f core conftest.err conftest.$ac_objext \
15323 conftest$ac_exeext conftest.$ac_ext
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_solaris_atomic_ops" >&5
15327 $as_echo "$fc_cv_have_solaris_atomic_ops" >&6; }
15328 if $fc_cv_have_solaris_atomic_ops; then
15330 $as_echo "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
15334 if test "$os_win32" = no && ! $have_pthread; then
15335 for ac_header in sched.h
15337 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
15338 if test "x$ac_cv_header_sched_h" = xyes; then :
15339 cat >>confdefs.h <<_ACEOF
15340 #define HAVE_SCHED_H 1
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
15348 $as_echo_n "checking for library containing sched_yield... " >&6; }
15349 if ${ac_cv_search_sched_yield+:} false; then :
15350 $as_echo_n "(cached) " >&6
15352 ac_func_search_save_LIBS=$LIBS
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15356 /* Override any GCC internal prototype to avoid an error.
15357 Use char because int might match the return type of a GCC
15358 builtin and then its argument prototype would still apply. */
15362 char sched_yield ();
15366 return sched_yield ();
15371 for ac_lib in '' rt; do
15372 if test -z "$ac_lib"; then
15373 ac_res="none required"
15376 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15378 if ac_fn_c_try_link "$LINENO"; then :
15379 ac_cv_search_sched_yield=$ac_res
15381 rm -f core conftest.err conftest.$ac_objext \
15383 if ${ac_cv_search_sched_yield+:} false; then :
15387 if ${ac_cv_search_sched_yield+:} false; then :
15390 ac_cv_search_sched_yield=no
15392 rm conftest.$ac_ext
15393 LIBS=$ac_func_search_save_LIBS
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
15396 $as_echo "$ac_cv_search_sched_yield" >&6; }
15397 ac_res=$ac_cv_search_sched_yield
15398 if test "$ac_res" != no; then :
15399 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15401 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
15408 if test "$os_win32" = no; then
15412 ac_cpp='$CPP $CPPFLAGS'
15413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15419 # We used to check for pthread.h first, but this fails if pthread.h
15420 # requires special compiler flags (e.g. on True64 or Sequent).
15421 # It gets checked for in the link test anyway.
15423 # First of all, check if the user has set any of the PTHREAD_LIBS,
15424 # etcetera environment variables, and if threads linking works using
15426 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
15427 save_CFLAGS="$CFLAGS"
15428 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15430 LIBS="$PTHREAD_LIBS $LIBS"
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
15432 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15442 char pthread_join ();
15446 return pthread_join ();
15451 if ac_fn_c_try_link "$LINENO"; then :
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
15457 $as_echo "$ax_pthread_ok" >&6; }
15458 if test x"$ax_pthread_ok" = xno; then
15463 CFLAGS="$save_CFLAGS"
15466 # We must check for the threads library under a number of different
15467 # names; the ordering is very important because some systems
15468 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
15469 # libraries is broken (non-POSIX).
15471 # Create a list of thread flags to try. Items starting with a "-" are
15472 # C compiler flags, and other items are library names, except for "none"
15473 # which indicates that we try without any flags at all, and "pthread-config"
15474 # which is a program returning the flags for the Pth emulation library.
15476 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
15478 # The ordering *is* (sometimes) important. Some notes on the
15479 # individual items follow:
15481 # pthreads: AIX (must check this before -lpthread)
15482 # none: in case threads are in libc; should be tried before -Kthread and
15483 # other compiler flags to prevent continual compiler warnings
15484 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
15485 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
15486 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
15487 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
15488 # -pthreads: Solaris/gcc
15489 # -mthreads: Mingw32/gcc, Lynx/gcc
15490 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
15491 # doesn't hurt to check since this sometimes defines pthreads too;
15492 # also defines -D_REENTRANT)
15493 # ... -mt is also the pthreads flag for HP/aCC
15494 # pthread: Linux, etcetera
15495 # --thread-safe: KAI C++
15496 # pthread-config: use pthread-config program (for GNU Pth library)
15501 # On Solaris (at least, for some versions), libc contains stubbed
15502 # (non-functional) versions of the pthreads routines, so link-based
15503 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
15504 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
15505 # a function called by this macro, so we could check for that, but
15506 # who knows whether they'll stub that too in a future libc.) So,
15507 # we'll just look for -pthreads and -lpthread first:
15509 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
15513 ax_pthread_flags="-pthread $ax_pthread_flags"
15516 # use libc stubs, don't link against libpthread, to allow
15518 ax_pthread_flags=""
15522 # Clang doesn't consider unrecognized options an error unless we specify
15523 # -Werror. We throw in some extra Clang-specific options to ensure that
15524 # this doesn't happen for GCC, which also accepts -Werror.
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs -Werror to reject unknown flags" >&5
15527 $as_echo_n "checking if compiler needs -Werror to reject unknown flags... " >&6; }
15528 save_CFLAGS="$CFLAGS"
15529 ax_pthread_extra_flags="-Werror"
15530 CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15542 if ac_fn_c_try_compile "$LINENO"; then :
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15544 $as_echo "yes" >&6; }
15546 ax_pthread_extra_flags=
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15548 $as_echo "no" >&6; }
15550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15551 CFLAGS="$save_CFLAGS"
15553 if test x"$ax_pthread_ok" = xno; then
15554 for flag in $ax_pthread_flags; do
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
15559 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
15564 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
15565 PTHREAD_CFLAGS="$flag"
15569 # Extract the first word of "pthread-config", so it can be a program name with args.
15570 set dummy pthread-config; ac_word=$2
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15572 $as_echo_n "checking for $ac_word... " >&6; }
15573 if ${ac_cv_prog_ax_pthread_config+:} false; then :
15574 $as_echo_n "(cached) " >&6
15576 if test -n "$ax_pthread_config"; then
15577 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
15579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15580 for as_dir in $PATH
15583 test -z "$as_dir" && as_dir=.
15584 for ac_exec_ext in '' $ac_executable_extensions; do
15585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15586 ac_cv_prog_ax_pthread_config="yes"
15587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15594 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
15597 ax_pthread_config=$ac_cv_prog_ax_pthread_config
15598 if test -n "$ax_pthread_config"; then
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
15600 $as_echo "$ax_pthread_config" >&6; }
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15603 $as_echo "no" >&6; }
15607 if test x"$ax_pthread_config" = xno; then continue; fi
15608 PTHREAD_CFLAGS="`pthread-config --cflags`"
15609 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
15614 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
15615 PTHREAD_LIBS="-l$flag"
15620 save_CFLAGS="$CFLAGS"
15621 LIBS="$PTHREAD_LIBS $LIBS"
15622 CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
15624 # Check for various functions. We must include pthread.h,
15625 # since some functions may be macros. (On the Sequent, we
15626 # need a special flag -Kthread to make this header compile.)
15627 # We check for pthread_join because it is in -lpthread on IRIX
15628 # while pthread_create is in libc. We check for pthread_attr_init
15629 # due to DEC craziness with -lpthreads. We check for
15630 # pthread_cleanup_push because it is one of the few pthread
15631 # functions on Solaris that doesn't have a non-functional libc stub.
15632 # We try pthread_create on general principles.
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15635 #include <pthread.h>
15636 static void routine(void *a) { a = 0; }
15637 static void *start_routine(void *a) { return a; }
15641 pthread_t th; pthread_attr_t attr;
15642 pthread_create(&th, 0, start_routine, 0);
15643 pthread_join(th, 0);
15644 pthread_attr_init(&attr);
15645 pthread_cleanup_push(routine, 0);
15646 pthread_cleanup_pop(0) /* ; */
15651 if ac_fn_c_try_link "$LINENO"; then :
15654 rm -f core conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15658 CFLAGS="$save_CFLAGS"
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
15661 $as_echo "$ax_pthread_ok" >&6; }
15662 if test "x$ax_pthread_ok" = xyes; then
15671 # Various other checks:
15672 if test "x$ax_pthread_ok" = xyes; then
15674 LIBS="$PTHREAD_LIBS $LIBS"
15675 save_CFLAGS="$CFLAGS"
15676 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15678 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
15680 $as_echo_n "checking for joinable pthread attribute... " >&6; }
15682 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15685 #include <pthread.h>
15689 int attr = $attr; return attr /* ; */
15694 if ac_fn_c_try_link "$LINENO"; then :
15695 attr_name=$attr; break
15697 rm -f core conftest.err conftest.$ac_objext \
15698 conftest$ac_exeext conftest.$ac_ext
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
15701 $as_echo "$attr_name" >&6; }
15702 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
15704 cat >>confdefs.h <<_ACEOF
15705 #define PTHREAD_CREATE_JOINABLE $attr_name
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
15711 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
15714 aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
15715 osf* | hpux*) flag="-D_REENTRANT";;
15717 if test "$GCC" = "yes"; then
15718 flag="-D_REENTRANT"
15720 # TODO: What about Clang on Solaris?
15721 flag="-mt -D_REENTRANT"
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag" >&5
15726 $as_echo "$flag" >&6; }
15727 if test "x$flag" != xno; then
15728 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
15732 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
15733 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
15734 $as_echo_n "(cached) " >&6
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15739 #include <pthread.h>
15743 int i = PTHREAD_PRIO_INHERIT;
15748 if ac_fn_c_try_link "$LINENO"; then :
15749 ax_cv_PTHREAD_PRIO_INHERIT=yes
15751 ax_cv_PTHREAD_PRIO_INHERIT=no
15753 rm -f core conftest.err conftest.$ac_objext \
15754 conftest$ac_exeext conftest.$ac_ext
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
15758 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
15759 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
15761 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
15766 CFLAGS="$save_CFLAGS"
15768 # More AIX lossage: compile with *_r variant
15769 if test "x$GCC" != xyes; then
15773 x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
15774 #handle absolute path differently from PATH based program lookup
15777 if as_fn_executable_p ${CC}_r; then :
15778 PTHREAD_CC="${CC}_r"
15781 for ac_prog in ${CC}_r
15783 # Extract the first word of "$ac_prog", so it can be a program name with args.
15784 set dummy $ac_prog; ac_word=$2
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15786 $as_echo_n "checking for $ac_word... " >&6; }
15787 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
15788 $as_echo_n "(cached) " >&6
15790 if test -n "$PTHREAD_CC"; then
15791 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
15793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15794 for as_dir in $PATH
15797 test -z "$as_dir" && as_dir=.
15798 for ac_exec_ext in '' $ac_executable_extensions; do
15799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15800 ac_cv_prog_PTHREAD_CC="$ac_prog"
15801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15810 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
15811 if test -n "$PTHREAD_CC"; then
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
15813 $as_echo "$PTHREAD_CC" >&6; }
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15816 $as_echo "no" >&6; }
15820 test -n "$PTHREAD_CC" && break
15822 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
15833 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
15839 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15840 if test x"$ax_pthread_ok" = xyes; then
15848 ac_cpp='$CPP $CPPFLAGS'
15849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15855 if $have_pthread; then
15856 LIBS="$PTHREAD_LIBS $LIBS"
15857 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15860 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
15863 if $have_pthread; then
15865 HAVE_PTHREAD_FALSE='#'
15867 HAVE_PTHREAD_TRUE='#'
15868 HAVE_PTHREAD_FALSE=
15875 # Let people not build/install docs if they don't have docbook
15878 # Extract the first word of "docbook2html", so it can be a program name with args.
15879 set dummy docbook2html; ac_word=$2
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15881 $as_echo_n "checking for $ac_word... " >&6; }
15882 if ${ac_cv_prog_HASDOCBOOK+:} false; then :
15883 $as_echo_n "(cached) " >&6
15885 if test -n "$HASDOCBOOK"; then
15886 ac_cv_prog_HASDOCBOOK="$HASDOCBOOK" # Let the user override the test.
15888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15889 for as_dir in $PATH
15892 test -z "$as_dir" && as_dir=.
15893 for ac_exec_ext in '' $ac_executable_extensions; do
15894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15895 ac_cv_prog_HASDOCBOOK="yes"
15896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15903 test -z "$ac_cv_prog_HASDOCBOOK" && ac_cv_prog_HASDOCBOOK="no"
15906 HASDOCBOOK=$ac_cv_prog_HASDOCBOOK
15907 if test -n "$HASDOCBOOK"; then
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASDOCBOOK" >&5
15909 $as_echo "$HASDOCBOOK" >&6; }
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15912 $as_echo "no" >&6; }
15917 if test "x$HASDOCBOOK" = xyes; then
15919 USEDOCBOOK_FALSE='#'
15921 USEDOCBOOK_TRUE='#'
15928 # Check if docs exist or can be created
15930 if test x$HASDOCBOOK = xno; then
15931 if test -f $srcdir/doc/fonts-conf.5; then
15938 # Check whether --enable-docs was given.
15939 if test "${enable_docs+set}" = set; then :
15940 enableval=$enable_docs;
15942 enable_docs=$default_docs
15946 if test "x$enable_docs" = xyes; then
15948 ENABLE_DOCS_FALSE='#'
15950 ENABLE_DOCS_TRUE='#'
15955 if test "x$enable_docs" = xyes; then
15957 cat $srcdir/doc/*.fncs | awk '
15958 /^@TITLE@/ { if (!done) { printf ("%s\n", $2); done = 1; } }
15959 /^@FUNC@/ { if (!done) { printf ("%s\n", $2); done = 1; } }
15960 /^@@/ { done = 0; }' > $tmp
15961 DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'`
15962 echo DOCMAN3 $DOCMAN3
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15971 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15972 if ${ac_cv_c_bigendian+:} false; then :
15973 $as_echo_n "(cached) " >&6
15975 ac_cv_c_bigendian=unknown
15976 # See if we're dealing with a universal compiler.
15977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15979 #ifndef __APPLE_CC__
15980 not a universal capable compiler
15985 if ac_fn_c_try_compile "$LINENO"; then :
15987 # Check for potential -arch flags. It is not universal unless
15988 # there are at least two -arch flags with different values.
15991 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15992 if test -n "$ac_prev"; then
15994 i?86 | x86_64 | ppc | ppc64)
15995 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15998 ac_cv_c_bigendian=universal
16004 elif test "x$ac_word" = "x-arch"; then
16009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16010 if test $ac_cv_c_bigendian = unknown; then
16011 # See if sys/param.h defines the BYTE_ORDER macro.
16012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16014 #include <sys/types.h>
16015 #include <sys/param.h>
16020 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16021 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16023 bogus endian macros
16030 if ac_fn_c_try_compile "$LINENO"; then :
16031 # It does; now see whether it defined to BIG_ENDIAN or not.
16032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16033 /* end confdefs.h. */
16034 #include <sys/types.h>
16035 #include <sys/param.h>
16040 #if BYTE_ORDER != BIG_ENDIAN
16048 if ac_fn_c_try_compile "$LINENO"; then :
16049 ac_cv_c_bigendian=yes
16051 ac_cv_c_bigendian=no
16053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16057 if test $ac_cv_c_bigendian = unknown; then
16058 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16060 /* end confdefs.h. */
16061 #include <limits.h>
16066 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16067 bogus endian macros
16074 if ac_fn_c_try_compile "$LINENO"; then :
16075 # It does; now see whether it defined to _BIG_ENDIAN or not.
16076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16077 /* end confdefs.h. */
16078 #include <limits.h>
16083 #ifndef _BIG_ENDIAN
16091 if ac_fn_c_try_compile "$LINENO"; then :
16092 ac_cv_c_bigendian=yes
16094 ac_cv_c_bigendian=no
16096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16100 if test $ac_cv_c_bigendian = unknown; then
16101 # Compile a test program.
16102 if test "$cross_compiling" = yes; then :
16103 # Try to guess by grepping values from an object file.
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16106 short int ascii_mm[] =
16107 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16108 short int ascii_ii[] =
16109 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16110 int use_ascii (int i) {
16111 return ascii_mm[i] + ascii_ii[i];
16113 short int ebcdic_ii[] =
16114 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16115 short int ebcdic_mm[] =
16116 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16117 int use_ebcdic (int i) {
16118 return ebcdic_mm[i] + ebcdic_ii[i];
16125 return use_ascii (foo) == use_ebcdic (foo);
16130 if ac_fn_c_try_compile "$LINENO"; then :
16131 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16132 ac_cv_c_bigendian=yes
16134 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16135 if test "$ac_cv_c_bigendian" = unknown; then
16136 ac_cv_c_bigendian=no
16138 # finding both strings is unlikely to happen, but who knows?
16139 ac_cv_c_bigendian=unknown
16143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16147 $ac_includes_default
16152 /* Are we little or big endian? From Harbison&Steele. */
16156 char c[sizeof (long int)];
16159 return u.c[sizeof (long int) - 1] == 1;
16165 if ac_fn_c_try_run "$LINENO"; then :
16166 ac_cv_c_bigendian=no
16168 ac_cv_c_bigendian=yes
16170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16171 conftest.$ac_objext conftest.beam conftest.$ac_ext
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16177 $as_echo "$ac_cv_c_bigendian" >&6; }
16178 case $ac_cv_c_bigendian in #(
16180 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16186 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16190 as_fn_error $? "unknown endianness
16191 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16194 # The cast to long int works around a bug in the HP C Compiler
16195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16197 # This bug is HP SR number 8606223364.
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16199 $as_echo_n "checking size of void *... " >&6; }
16200 if ${ac_cv_sizeof_void_p+:} false; then :
16201 $as_echo_n "(cached) " >&6
16203 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16206 if test "$ac_cv_type_void_p" = yes; then
16207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16209 as_fn_error 77 "cannot compute sizeof (void *)
16210 See \`config.log' for more details" "$LINENO" 5; }
16212 ac_cv_sizeof_void_p=0
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16218 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16222 cat >>confdefs.h <<_ACEOF
16223 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16227 # The cast to long int works around a bug in the HP C Compiler,
16228 # see AC_CHECK_SIZEOF for more information.
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
16230 $as_echo_n "checking alignment of double... " >&6; }
16231 if ${ac_cv_alignof_double+:} false; then :
16232 $as_echo_n "(cached) " >&6
16234 if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double" "$ac_includes_default
16236 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16238 typedef struct { char x; double y; } ac__type_alignof_;"; then :
16241 if test "$ac_cv_type_double" = yes; then
16242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16244 as_fn_error 77 "cannot compute alignment of double
16245 See \`config.log' for more details" "$LINENO" 5; }
16247 ac_cv_alignof_double=0
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
16253 $as_echo "$ac_cv_alignof_double" >&6; }
16257 cat >>confdefs.h <<_ACEOF
16258 #define ALIGNOF_DOUBLE $ac_cv_alignof_double
16262 # The cast to long int works around a bug in the HP C Compiler,
16263 # see AC_CHECK_SIZEOF for more information.
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of void *" >&5
16265 $as_echo_n "checking alignment of void *... " >&6; }
16266 if ${ac_cv_alignof_void_p+:} false; then :
16267 $as_echo_n "(cached) " >&6
16269 if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_void_p" "$ac_includes_default
16271 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16273 typedef struct { char x; void * y; } ac__type_alignof_;"; then :
16276 if test "$ac_cv_type_void_p" = yes; then
16277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16279 as_fn_error 77 "cannot compute alignment of void *
16280 See \`config.log' for more details" "$LINENO" 5; }
16282 ac_cv_alignof_void_p=0
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_void_p" >&5
16288 $as_echo "$ac_cv_alignof_void_p" >&6; }
16292 cat >>confdefs.h <<_ACEOF
16293 #define ALIGNOF_VOID_P $ac_cv_alignof_void_p
16303 ac_config_files="$ac_config_files Makefile fontconfig/Makefile fc-lang/Makefile fc-glyphname/Makefile fc-blanks/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 fc-validate/Makefile doc/Makefile doc/version.sgml test/Makefile fontconfig.spec fontconfig.pc fontconfig-zip"
16305 cat >confcache <<\_ACEOF
16306 # This file is a shell script that caches the results of configure
16307 # tests run on this system so they can be shared between configure
16308 # scripts and configure runs, see configure's option --config-cache.
16309 # It is not useful on other systems. If it contains results you don't
16310 # want to keep, you may remove or edit it.
16312 # config.status only pays attention to the cache file if you give it
16313 # the --recheck option to rerun configure.
16315 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16317 # following values.
16321 # The following way of writing the cache mishandles newlines in values,
16322 # but we know of no workaround that is simple, portable, and efficient.
16323 # So, we kill variables containing newlines.
16324 # Ultrix sh set writes to stderr and can't be redirected directly,
16325 # and sets the high bit in the cache file unless we assign to the vars.
16327 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16328 eval ac_val=\$$ac_var
16332 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16333 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16336 _ | IFS | as_nl) ;; #(
16337 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16338 *) { eval $ac_var=; unset $ac_var;} ;;
16344 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16345 *${as_nl}ac_space=\ *)
16346 # `set' does not quote correctly, so add quotes: double-quote
16347 # substitution turns \\\\ into \\, and sed turns \\ into \.
16350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16353 # `set' quotes correctly as required by POSIX, so do not add quotes.
16354 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16365 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16367 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16368 if test -w "$cache_file"; then
16369 if test "x$cache_file" != "x/dev/null"; then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16371 $as_echo "$as_me: updating cache $cache_file" >&6;}
16372 if test ! -f "$cache_file" || test -h "$cache_file"; then
16373 cat confcache >"$cache_file"
16375 case $cache_file in #(
16377 mv -f confcache "$cache_file"$$ &&
16378 mv -f "$cache_file"$$ "$cache_file" ;; #(
16380 mv -f confcache "$cache_file" ;;
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16386 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16391 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16392 # Let make expand exec_prefix.
16393 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16395 DEFS=-DHAVE_CONFIG_H
16400 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16401 # 1. Remove the extension, and $U if already installed.
16402 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16403 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16404 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16405 # will be set to the directory where LIBOBJS objects are built.
16406 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16407 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16409 LIBOBJS=$ac_libobjs
16411 LTLIBOBJS=$ac_ltlibobjs
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16415 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16416 if test -n "$am_sleep_pid"; then
16417 # Hide warnings about reused PIDs.
16418 wait $am_sleep_pid 2>/dev/null
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16421 $as_echo "done" >&6; }
16422 if test -n "$EXEEXT"; then
16424 am__EXEEXT_FALSE='#'
16426 am__EXEEXT_TRUE='#'
16430 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16431 as_fn_error $? "conditional \"AMDEP\" was never defined.
16432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16434 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16435 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16438 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16439 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16442 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
16443 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
16444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16446 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
16447 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
16448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16450 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
16451 as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
16452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16454 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
16455 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
16456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16458 if test -z "${USEDOCBOOK_TRUE}" && test -z "${USEDOCBOOK_FALSE}"; then
16459 as_fn_error $? "conditional \"USEDOCBOOK\" was never defined.
16460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16462 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
16463 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
16464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16468 : "${CONFIG_STATUS=./config.status}"
16470 ac_clean_files_save=$ac_clean_files
16471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16473 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16475 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16477 # Generated by $as_me.
16478 # Run this file to recreate the current configuration.
16479 # Compiler output produced by configure, useful for debugging
16480 # configure, is in config.log if it exists.
16483 ac_cs_recheck=false
16486 SHELL=\${CONFIG_SHELL-$SHELL}
16489 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16490 ## -------------------- ##
16491 ## M4sh Initialization. ##
16492 ## -------------------- ##
16494 # Be more Bourne compatible
16495 DUALCASE=1; export DUALCASE # for MKS sh
16496 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16499 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16500 # is contrary to our usage. Disable this feature.
16501 alias -g '${1+"$@"}'='"$@"'
16502 setopt NO_GLOB_SUBST
16504 case `(set -o) 2>/dev/null` in #(
16516 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16517 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16518 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16519 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16520 # Prefer a ksh shell builtin over an external printf program on Solaris,
16521 # but without wasting forks for bash or zsh.
16522 if test -z "$BASH_VERSION$ZSH_VERSION" \
16523 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16524 as_echo='print -r --'
16525 as_echo_n='print -rn --'
16526 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16527 as_echo='printf %s\n'
16528 as_echo_n='printf %s'
16530 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16531 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16532 as_echo_n='/usr/ucb/echo -n'
16534 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16535 as_echo_n_body='eval
16539 expr "X$arg" : "X\\(.*\\)$as_nl";
16540 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16542 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16544 export as_echo_n_body
16545 as_echo_n='sh -c $as_echo_n_body as_echo'
16547 export as_echo_body
16548 as_echo='sh -c $as_echo_body as_echo'
16551 # The user is always right.
16552 if test "${PATH_SEPARATOR+set}" != set; then
16554 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16555 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16562 # We need space, tab and new line, in precisely that order. Quoting is
16563 # there to prevent editors from complaining about space-tab.
16564 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16565 # splitting by setting IFS to empty value.)
16568 # Find who we are. Look in the path if we contain no directory separator.
16571 *[\\/]* ) as_myself=$0 ;;
16572 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16573 for as_dir in $PATH
16576 test -z "$as_dir" && as_dir=.
16577 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16583 # We did not find ourselves, most probably we were run as `sh COMMAND'
16584 # in which case we are not to be found in the path.
16585 if test "x$as_myself" = x; then
16588 if test ! -f "$as_myself"; then
16589 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16593 # Unset variables that we do not need and which cause bugs (e.g. in
16594 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16595 # suppresses any "Segmentation fault" message there. '((' could
16596 # trigger a bug in pdksh 5.2.14.
16597 for as_var in BASH_ENV ENV MAIL MAILPATH
16598 do eval test x\${$as_var+set} = xset \
16599 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16612 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16615 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16616 # ----------------------------------------
16617 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16618 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16619 # script with STATUS, using 1 if that was 0.
16622 as_status=$1; test $as_status -eq 0 && as_status=1
16624 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16625 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16627 $as_echo "$as_me: error: $2" >&2
16628 as_fn_exit $as_status
16632 # as_fn_set_status STATUS
16633 # -----------------------
16634 # Set $? to STATUS, without forking.
16635 as_fn_set_status ()
16638 } # as_fn_set_status
16640 # as_fn_exit STATUS
16641 # -----------------
16642 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16646 as_fn_set_status $1
16652 # Portably unset VAR.
16655 { eval $1=; unset $1;}
16657 as_unset=as_fn_unset
16658 # as_fn_append VAR VALUE
16659 # ----------------------
16660 # Append the text in VALUE to the end of the definition contained in VAR. Take
16661 # advantage of any shell optimizations that allow amortized linear growth over
16662 # repeated appends, instead of the typical quadratic growth present in naive
16664 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16665 eval 'as_fn_append ()
16676 # as_fn_arith ARG...
16677 # ------------------
16678 # Perform arithmetic evaluation on the ARGs, and store the result in the
16679 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16680 # must be portable across $(()) and expr.
16681 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16682 eval 'as_fn_arith ()
16689 as_val=`expr "$@" || test $? -eq 1`
16694 if expr a : '\(a\)' >/dev/null 2>&1 &&
16695 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16701 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16702 as_basename=basename
16707 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16713 as_me=`$as_basename -- "$0" ||
16714 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16715 X"$0" : 'X\(//\)$' \| \
16716 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16718 sed '/^.*\/\([^/][^/]*\)\/*$/{
16732 # Avoid depending upon Character Ranges.
16733 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16734 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16735 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16736 as_cr_digits='0123456789'
16737 as_cr_alnum=$as_cr_Letters$as_cr_digits
16739 ECHO_C= ECHO_N= ECHO_T=
16740 case `echo -n x` in #(((((
16742 case `echo 'xy\c'` in
16743 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16745 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16752 rm -f conf$$ conf$$.exe conf$$.file
16753 if test -d conf$$.dir; then
16754 rm -f conf$$.dir/conf$$.file
16757 mkdir conf$$.dir 2>/dev/null
16759 if (echo >conf$$.file) 2>/dev/null; then
16760 if ln -s conf$$.file conf$$ 2>/dev/null; then
16762 # ... but there are two gotchas:
16763 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16764 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16765 # In both cases, we have to default to `cp -pR'.
16766 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16768 elif ln conf$$.file conf$$ 2>/dev/null; then
16776 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16777 rmdir conf$$.dir 2>/dev/null
16782 # Create "$as_dir" as a directory, including parents if necessary.
16787 -*) as_dir=./$as_dir;;
16789 test -d "$as_dir" || eval $as_mkdir_p || {
16793 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16794 *) as_qdir=$as_dir;;
16796 as_dirs="'$as_qdir' $as_dirs"
16797 as_dir=`$as_dirname -- "$as_dir" ||
16798 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16799 X"$as_dir" : 'X\(//\)[^/]' \| \
16800 X"$as_dir" : 'X\(//\)$' \| \
16801 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16802 $as_echo X"$as_dir" |
16803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16807 /^X\(\/\/\)[^/].*/{
16820 test -d "$as_dir" && break
16822 test -z "$as_dirs" || eval "mkdir $as_dirs"
16823 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16827 if mkdir -p . 2>/dev/null; then
16828 as_mkdir_p='mkdir -p "$as_dir"'
16830 test -d ./-p && rmdir ./-p
16835 # as_fn_executable_p FILE
16836 # -----------------------
16837 # Test if FILE is an executable regular file.
16838 as_fn_executable_p ()
16840 test -f "$1" && test -x "$1"
16841 } # as_fn_executable_p
16842 as_test_x='test -x'
16843 as_executable_p=as_fn_executable_p
16845 # Sed expression to map a string onto a valid CPP name.
16846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16848 # Sed expression to map a string onto a valid variable name.
16849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16853 ## ----------------------------------- ##
16854 ## Main body of $CONFIG_STATUS script. ##
16855 ## ----------------------------------- ##
16857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16860 # Save the log message, to keep $0 and so on meaningful, and to
16861 # report actual input values of CONFIG_FILES etc. instead of their
16862 # values after options handling.
16864 This file was extended by fontconfig $as_me 2.11.93, which was
16865 generated by GNU Autoconf 2.69. Invocation command line was
16867 CONFIG_FILES = $CONFIG_FILES
16868 CONFIG_HEADERS = $CONFIG_HEADERS
16869 CONFIG_LINKS = $CONFIG_LINKS
16870 CONFIG_COMMANDS = $CONFIG_COMMANDS
16873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16878 case $ac_config_files in *"
16879 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16882 case $ac_config_headers in *"
16883 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16888 # Files that config.status was made for.
16889 config_files="$ac_config_files"
16890 config_headers="$ac_config_headers"
16891 config_commands="$ac_config_commands"
16895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16897 \`$as_me' instantiates files and other configuration actions
16898 from templates according to the current configuration. Unless the files
16899 and actions are specified as TAGs, all are instantiated by default.
16901 Usage: $0 [OPTION]... [TAG]...
16903 -h, --help print this help, then exit
16904 -V, --version print version number and configuration settings, then exit
16905 --config print configuration, then exit
16906 -q, --quiet, --silent
16907 do not print progress messages
16908 -d, --debug don't remove temporary files
16909 --recheck update $as_me by reconfiguring in the same conditions
16910 --file=FILE[:TEMPLATE]
16911 instantiate the configuration file FILE
16912 --header=FILE[:TEMPLATE]
16913 instantiate the configuration header FILE
16915 Configuration files:
16918 Configuration headers:
16921 Configuration commands:
16924 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig>."
16927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16928 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16930 fontconfig config.status 2.11.93
16931 configured by $0, generated by GNU Autoconf 2.69,
16932 with options \\"\$ac_cs_config\\"
16934 Copyright (C) 2012 Free Software Foundation, Inc.
16935 This config.status script is free software; the Free Software Foundation
16936 gives unlimited permission to copy, distribute and modify it."
16943 test -n "\$AWK" || AWK=awk
16946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16947 # The default lists apply if the user does not specify any file.
16953 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16954 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16958 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16970 # Handling of the options.
16971 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16973 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16974 $as_echo "$ac_cs_version"; exit ;;
16975 --config | --confi | --conf | --con | --co | --c )
16976 $as_echo "$ac_cs_config"; exit ;;
16977 --debug | --debu | --deb | --de | --d | -d )
16979 --file | --fil | --fi | --f )
16982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16983 '') as_fn_error $? "missing file argument" ;;
16985 as_fn_append CONFIG_FILES " '$ac_optarg'"
16986 ac_need_defaults=false;;
16987 --header | --heade | --head | --hea )
16990 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16992 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16993 ac_need_defaults=false;;
16995 # Conflict between --help and --header
16996 as_fn_error $? "ambiguous option: \`$1'
16997 Try \`$0 --help' for more information.";;
16998 --help | --hel | -h )
16999 $as_echo "$ac_cs_usage"; exit ;;
17000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17001 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17004 # This is an error.
17005 -*) as_fn_error $? "unrecognized option: \`$1'
17006 Try \`$0 --help' for more information." ;;
17008 *) as_fn_append ac_config_targets " $1"
17009 ac_need_defaults=false ;;
17015 ac_configure_extra_args=
17017 if $ac_cs_silent; then
17019 ac_configure_extra_args="$ac_configure_extra_args --silent"
17023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17024 if \$ac_cs_recheck; then
17025 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17027 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17028 CONFIG_SHELL='$SHELL'
17029 export CONFIG_SHELL
17034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17038 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17039 ## Running $as_me. ##
17045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17049 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17052 # The HP-UX ksh and POSIX shell print the target directory to stdout
17053 # if CDPATH is set.
17054 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17056 sed_quote_subst='$sed_quote_subst'
17057 double_quote_subst='$double_quote_subst'
17058 delay_variable_subst='$delay_variable_subst'
17059 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17060 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17061 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17062 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17063 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17064 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17065 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17066 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17067 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17068 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17069 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17070 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17071 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17072 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17073 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17074 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17075 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17076 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17077 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17078 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17079 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17080 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17081 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17082 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17083 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17084 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17085 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17086 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17087 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17088 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17089 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17090 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17091 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17092 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17093 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17094 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17095 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17096 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17097 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17098 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17099 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17100 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17101 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17102 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17103 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17104 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17105 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17106 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17107 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17108 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17109 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17110 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17111 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17112 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17113 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17114 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17115 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17116 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"`'
17117 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17118 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17119 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17120 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17121 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17122 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17123 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17124 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17125 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17126 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17127 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17128 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17129 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17130 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17131 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17132 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17133 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17134 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17135 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17136 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17137 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17138 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17139 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17140 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17141 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17142 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17143 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17144 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17145 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17146 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17147 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17148 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17149 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17150 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17151 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17152 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17153 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17154 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17155 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17156 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17157 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17158 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17159 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17160 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17161 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17162 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17163 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17164 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17165 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17166 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17167 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17168 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17169 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17170 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17171 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17172 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17173 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17174 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17175 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17176 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17177 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17178 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17179 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17180 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17181 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17182 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17183 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17184 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17185 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17186 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17187 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17188 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17189 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17192 LTCFLAGS='$LTCFLAGS'
17193 compiler='$compiler_DEFAULT'
17195 # A function that is used when there is no print builtin or printf.
17196 func_fallback_echo ()
17198 eval 'cat <<_LTECHO_EOF
17203 # Quote evaled strings.
17220 deplibs_check_method \
17224 sharedlib_from_linklib_cmd \
17227 archiver_list_spec \
17233 lt_cv_sys_global_symbol_pipe \
17234 lt_cv_sys_global_symbol_to_cdecl \
17235 lt_cv_sys_global_symbol_to_c_name_address \
17236 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17237 nm_file_list_spec \
17238 lt_prog_compiler_no_builtin_flag \
17239 lt_prog_compiler_pic \
17240 lt_prog_compiler_wl \
17241 lt_prog_compiler_static \
17242 lt_cv_prog_compiler_c_o \
17251 export_dynamic_flag_spec \
17252 whole_archive_flag_spec \
17253 compiler_needs_object \
17255 allow_undefined_flag \
17256 no_undefined_flag \
17257 hardcode_libdir_flag_spec \
17258 hardcode_libdir_separator \
17262 variables_saved_for_relink \
17264 library_names_spec \
17266 install_override_mode \
17270 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17271 *[\\\\\\\`\\"\\\$]*)
17272 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17275 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17280 # Double-quote double-evaled strings.
17281 for var in reload_cmds \
17282 old_postinstall_cmds \
17283 old_postuninstall_cmds \
17285 extract_expsyms_cmds \
17286 old_archive_from_new_cmds \
17287 old_archive_from_expsyms_cmds \
17289 archive_expsym_cmds \
17291 module_expsym_cmds \
17292 export_symbols_cmds \
17296 postuninstall_cmds \
17298 sys_lib_search_path_spec \
17299 sys_lib_dlsearch_path_spec; do
17300 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17301 *[\\\\\\\`\\"\\\$]*)
17302 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17305 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17310 ac_aux_dir='$ac_aux_dir'
17311 xsi_shell='$xsi_shell'
17312 lt_shell_append='$lt_shell_append'
17314 # See if we are running on zsh, and set the options which allow our
17315 # commands through without removal of \ escapes INIT.
17316 if test -n "\${ZSH_VERSION+set}" ; then
17317 setopt NO_GLOB_SUBST
17323 TIMESTAMP='$TIMESTAMP'
17329 # variables for create stdint.h replacement
17332 ac_stdint_h="$ac_stdint_h"
17333 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
17334 ac_cv_stdint_message="$ac_cv_stdint_message"
17335 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
17336 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
17337 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
17338 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
17339 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17340 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17341 ac_cv_char_data_model="$ac_cv_char_data_model"
17342 ac_cv_long_data_model="$ac_cv_long_data_model"
17343 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17344 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17345 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
17350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17352 # Handling of arguments.
17353 for ac_config_target in $ac_config_targets
17355 case $ac_config_target in
17356 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17357 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17358 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17359 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
17360 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17361 "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;;
17362 "fc-lang/Makefile") CONFIG_FILES="$CONFIG_FILES fc-lang/Makefile" ;;
17363 "fc-glyphname/Makefile") CONFIG_FILES="$CONFIG_FILES fc-glyphname/Makefile" ;;
17364 "fc-blanks/Makefile") CONFIG_FILES="$CONFIG_FILES fc-blanks/Makefile" ;;
17365 "fc-case/Makefile") CONFIG_FILES="$CONFIG_FILES fc-case/Makefile" ;;
17366 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17367 "conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES conf.d/Makefile" ;;
17368 "fc-cache/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cache/Makefile" ;;
17369 "fc-cat/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cat/Makefile" ;;
17370 "fc-list/Makefile") CONFIG_FILES="$CONFIG_FILES fc-list/Makefile" ;;
17371 "fc-match/Makefile") CONFIG_FILES="$CONFIG_FILES fc-match/Makefile" ;;
17372 "fc-pattern/Makefile") CONFIG_FILES="$CONFIG_FILES fc-pattern/Makefile" ;;
17373 "fc-query/Makefile") CONFIG_FILES="$CONFIG_FILES fc-query/Makefile" ;;
17374 "fc-scan/Makefile") CONFIG_FILES="$CONFIG_FILES fc-scan/Makefile" ;;
17375 "fc-validate/Makefile") CONFIG_FILES="$CONFIG_FILES fc-validate/Makefile" ;;
17376 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17377 "doc/version.sgml") CONFIG_FILES="$CONFIG_FILES doc/version.sgml" ;;
17378 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17379 "fontconfig.spec") CONFIG_FILES="$CONFIG_FILES fontconfig.spec" ;;
17380 "fontconfig.pc") CONFIG_FILES="$CONFIG_FILES fontconfig.pc" ;;
17381 "fontconfig-zip") CONFIG_FILES="$CONFIG_FILES fontconfig-zip" ;;
17383 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17388 # If the user did not use the arguments to specify the items to instantiate,
17389 # then the envvar interface is used. Set only those that are not.
17390 # We use the long form for the default assignment because of an extremely
17391 # bizarre bug on SunOS 4.1.3.
17392 if $ac_need_defaults; then
17393 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17394 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17395 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17398 # Have a temporary directory for convenience. Make it in the build tree
17399 # simply because there is no reason against having it here, and in addition,
17400 # creating and moving files from /tmp can sometimes cause problems.
17401 # Hook for its removal unless debugging.
17402 # Note that there is a small window in which the directory will not be cleaned:
17403 # after its creation but before its name has been assigned to `$tmp'.
17407 trap 'exit_status=$?
17408 : "${ac_tmp:=$tmp}"
17409 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17411 trap 'as_fn_exit 1' 1 2 13 15
17413 # Create a (secure) tmp directory for tmp files.
17416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17420 tmp=./conf$$-$RANDOM
17421 (umask 077 && mkdir "$tmp")
17422 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17425 # Set up the scripts for CONFIG_FILES section.
17426 # No need to generate them if there are no CONFIG_FILES.
17427 # This happens for instance with `./config.status config.h'.
17428 if test -n "$CONFIG_FILES"; then
17431 ac_cr=`echo X | tr X '\015'`
17432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17433 # But we know of no other shell where ac_cr would be empty at this
17434 # point, so we can use a bashism as a fallback.
17435 if test "x$ac_cr" = x; then
17436 eval ac_cr=\$\'\\r\'
17438 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17442 ac_cs_awk_cr=$ac_cr
17445 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17450 echo "cat >conf$$subs.awk <<_ACEOF" &&
17451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17453 } >conf$$subs.sh ||
17454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17457 for ac_last_try in false false false false false :; do
17458 . ./conf$$subs.sh ||
17459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17461 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17462 if test $ac_delim_n = $ac_delim_num; then
17464 elif $ac_last_try; then
17465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17467 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17470 rm -f conf$$subs.sh
17472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17473 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17477 s/^/S["/; s/!.*/"]=/
17487 s/\(.\{148\}\)..*/\1/
17489 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17494 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17501 s/\(.\{148\}\)..*/\1/
17503 s/["\\]/\\&/g; s/^/"/; s/$/"/
17507 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17512 ' <conf$$subs.awk | sed '
17517 ' >>$CONFIG_STATUS || ac_write_fail=1
17518 rm -f conf$$subs.awk
17519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17521 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17522 for (key in S) S_is_set[key] = 1
17528 nfields = split(line, field, "@")
17530 len = length(field[1])
17531 for (i = 2; i < nfields; i++) {
17533 keylen = length(key)
17534 if (S_is_set[key]) {
17536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17537 len += length(value) + length(field[++i])
17548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17549 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17550 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17553 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17554 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17557 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17558 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17559 # trailing colons and then remove the whole line if VPATH becomes empty
17560 # (actually we leave an empty line to preserve line numbers).
17561 if test "x$srcdir" = x.; then
17562 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17581 fi # test -n "$CONFIG_FILES"
17583 # Set up the scripts for CONFIG_HEADERS section.
17584 # No need to generate them if there are no CONFIG_HEADERS.
17585 # This happens for instance with `./config.status Makefile'.
17586 if test -n "$CONFIG_HEADERS"; then
17587 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17591 # Transform confdefs.h into an awk script `defines.awk', embedded as
17592 # here-document in config.status, that substitutes the proper values into
17593 # config.h.in to produce config.h.
17595 # Create a delimiter string that does not exist in confdefs.h, to ease
17596 # handling of long lines.
17598 for ac_last_try in false false :; do
17599 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17600 if test -z "$ac_tt"; then
17602 elif $ac_last_try; then
17603 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17609 # For the awk script, D is an array of macro values keyed by name,
17610 # likewise P contains macro parameters if any. Preserve backslash
17611 # newline sequences.
17613 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17615 s/.\{148\}/&'"$ac_delim"'/g
17618 s/^[ ]*#[ ]*define[ ][ ]*/ /
17625 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17627 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17632 D["\1"]=" \3\\\\\\n"\\/p
17634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17639 s/.\{148\}/&'"$ac_delim"'/g
17644 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17647 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17649 ' <confdefs.h | sed '
17650 s/'"$ac_delim"'/"\\\
17651 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17654 for (key in D) D_is_set[key] = 1
17657 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17659 split(line, arg, " ")
17660 if (arg[1] == "#") {
17664 defundef = substr(arg[1], 2)
17667 split(mac1, mac2, "(") #)
17669 prefix = substr(line, 1, index(line, defundef) - 1)
17670 if (D_is_set[macro]) {
17671 # Preserve the white space surrounding the "#".
17672 print prefix "define", macro P[macro] D[macro]
17675 # Replace #undef with comments. This is necessary, for example,
17676 # in the case of _POSIX_SOURCE, which is predefined and required
17677 # on some systems where configure will not decide to define it.
17678 if (defundef == "undef") {
17679 print "/*", prefix defundef, macro, "*/"
17687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17688 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17689 fi # test -n "$CONFIG_HEADERS"
17692 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17697 :[FHLC]) ac_mode=$ac_tag; continue;;
17699 case $ac_mode$ac_tag in
17701 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17702 :[FH]-) ac_tag=-:-;;
17703 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17720 -) ac_f="$ac_tmp/stdin";;
17721 *) # Look for the file first in the build tree, then in the source tree
17722 # (if the path is not absolute). The absolute path cannot be DOS-style,
17723 # because $ac_f cannot contain `:'.
17727 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17729 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17731 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17732 as_fn_append ac_file_inputs " '$ac_f'"
17735 # Let's still pretend it is `configure' which instantiates (i.e., don't
17736 # use $as_me), people would be surprised to read:
17737 # /* config.h. Generated by config.status. */
17738 configure_input='Generated from '`
17739 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17741 if test x"$ac_file" != x-; then
17742 configure_input="$ac_file. $configure_input"
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17744 $as_echo "$as_me: creating $ac_file" >&6;}
17746 # Neutralize special characters interpreted by sed in replacement strings.
17747 case $configure_input in #(
17748 *\&* | *\|* | *\\* )
17749 ac_sed_conf_input=`$as_echo "$configure_input" |
17750 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17751 *) ac_sed_conf_input=$configure_input;;
17755 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17761 ac_dir=`$as_dirname -- "$ac_file" ||
17762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17763 X"$ac_file" : 'X\(//\)[^/]' \| \
17764 X"$ac_file" : 'X\(//\)$' \| \
17765 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17766 $as_echo X"$ac_file" |
17767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17771 /^X\(\/\/\)[^/].*/{
17784 as_dir="$ac_dir"; as_fn_mkdir_p
17788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17790 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17791 # A ".." for each directory in $ac_dir_suffix.
17792 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17793 case $ac_top_builddir_sub in
17794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17798 ac_abs_top_builddir=$ac_pwd
17799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17800 # for backward compatibility:
17801 ac_top_builddir=$ac_top_build_prefix
17804 .) # We are building in place.
17806 ac_top_srcdir=$ac_top_builddir_sub
17807 ac_abs_top_srcdir=$ac_pwd ;;
17808 [\\/]* | ?:[\\/]* ) # Absolute name.
17809 ac_srcdir=$srcdir$ac_dir_suffix;
17810 ac_top_srcdir=$srcdir
17811 ac_abs_top_srcdir=$srcdir ;;
17812 *) # Relative name.
17813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17814 ac_top_srcdir=$ac_top_build_prefix$srcdir
17815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17827 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17828 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17830 ac_MKDIR_P=$MKDIR_P
17832 [\\/$]* | ?:[\\/]* ) ;;
17833 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17838 # If the template does not know about datarootdir, expand it.
17839 # FIXME: This hack should be removed a few years after 2.60.
17840 ac_datarootdir_hack=; ac_datarootdir_seen=
17851 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17852 *datarootdir*) ac_datarootdir_seen=yes;;
17853 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17855 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17858 ac_datarootdir_hack='
17859 s&@datadir@&$datadir&g
17860 s&@docdir@&$docdir&g
17861 s&@infodir@&$infodir&g
17862 s&@localedir@&$localedir&g
17863 s&@mandir@&$mandir&g
17864 s&\\\${datarootdir}&$datarootdir&g' ;;
17868 # Neutralize VPATH when `$srcdir' = `.'.
17869 # Shell code in configure.ac might set extrasub.
17870 # FIXME: do we really want to maintain this feature?
17871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17872 ac_sed_extra="$ac_vpsub
17875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17878 s|@configure_input@|$ac_sed_conf_input|;t t
17879 s&@top_builddir@&$ac_top_builddir_sub&;t t
17880 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17881 s&@srcdir@&$ac_srcdir&;t t
17882 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17883 s&@top_srcdir@&$ac_top_srcdir&;t t
17884 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17885 s&@builddir@&$ac_builddir&;t t
17886 s&@abs_builddir@&$ac_abs_builddir&;t t
17887 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17888 s&@INSTALL@&$ac_INSTALL&;t t
17889 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17890 $ac_datarootdir_hack
17892 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17893 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17895 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17896 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17897 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17898 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17900 which seems to be undefined. Please make sure it is defined" >&5
17901 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17902 which seems to be undefined. Please make sure it is defined" >&2;}
17904 rm -f "$ac_tmp/stdin"
17906 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17907 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17915 if test x"$ac_file" != x-; then
17917 $as_echo "/* $configure_input */" \
17918 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17919 } >"$ac_tmp/config.h" \
17920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17921 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17923 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17926 mv "$ac_tmp/config.h" "$ac_file" \
17927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17930 $as_echo "/* $configure_input */" \
17931 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17932 || as_fn_error $? "could not create -" "$LINENO" 5
17934 # Compute "$ac_file"'s index in $config_headers.
17937 for _am_header in $config_headers :; do
17938 case $_am_header in
17939 $_am_arg | $_am_arg:* )
17942 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17945 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17946 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17947 X"$_am_arg" : 'X\(//\)[^/]' \| \
17948 X"$_am_arg" : 'X\(//\)$' \| \
17949 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17950 $as_echo X"$_am_arg" |
17951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17955 /^X\(\/\/\)[^/].*/{
17967 s/.*/./; q'`/stamp-h$_am_stamp_count
17970 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17971 $as_echo "$as_me: executing $ac_file commands" >&6;}
17976 case $ac_file$ac_mode in
17977 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17978 # Older Autoconf quotes --file arguments for eval, but not when files
17979 # are listed without --file. Let's play safe and only enable the eval
17980 # if we detect the quoting.
17981 case $CONFIG_FILES in
17982 *\'*) eval set x "$CONFIG_FILES" ;;
17983 *) set x $CONFIG_FILES ;;
17988 # Strip MF so we end up with the name of the file.
17989 mf=`echo "$mf" | sed -e 's/:.*$//'`
17990 # Check whether this is an Automake generated Makefile or not.
17991 # We used to match only the files named 'Makefile.in', but
17992 # some people rename them; so instead we look at the file content.
17993 # Grep'ing the first line is not enough: some people post-process
17994 # each Makefile.in and add a new line on top of each file to say so.
17995 # Grep'ing the whole file is not good either: AIX grep has a line
17996 # limit of 2048, but all sed's we know have understand at least 4000.
17997 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17998 dirpart=`$as_dirname -- "$mf" ||
17999 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18000 X"$mf" : 'X\(//\)[^/]' \| \
18001 X"$mf" : 'X\(//\)$' \| \
18002 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18008 /^X\(\/\/\)[^/].*/{
18024 # Extract the definition of DEPDIR, am__include, and am__quote
18025 # from the Makefile without running 'make'.
18026 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18027 test -z "$DEPDIR" && continue
18028 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18029 test -z "$am__include" && continue
18030 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18031 # Find all dependency output files, they are included files with
18032 # $(DEPDIR) in their names. We invoke sed twice because it is the
18033 # simplest approach to changing $(DEPDIR) to its actual value in the
18035 for file in `sed -n "
18036 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18037 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18038 # Make sure the directory exists.
18039 test -f "$dirpart/$file" && continue
18040 fdir=`$as_dirname -- "$file" ||
18041 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18042 X"$file" : 'X\(//\)[^/]' \| \
18043 X"$file" : 'X\(//\)$' \| \
18044 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18045 $as_echo X"$file" |
18046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18050 /^X\(\/\/\)[^/].*/{
18063 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18064 # echo "creating $dirpart/$file"
18065 echo '# dummy' > "$dirpart/$file"
18072 # See if we are running on zsh, and set the options which allow our
18073 # commands through without removal of \ escapes.
18074 if test -n "${ZSH_VERSION+set}" ; then
18075 setopt NO_GLOB_SUBST
18078 cfgfile="${ofile}T"
18079 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18082 cat <<_LT_EOF >> "$cfgfile"
18085 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18086 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18087 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18088 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18090 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18091 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18093 # Written by Gordon Matzigkeit, 1996
18095 # This file is part of GNU Libtool.
18097 # GNU Libtool is free software; you can redistribute it and/or
18098 # modify it under the terms of the GNU General Public License as
18099 # published by the Free Software Foundation; either version 2 of
18100 # the License, or (at your option) any later version.
18102 # As a special exception to the GNU General Public License,
18103 # if you distribute this file as part of a program or library that
18104 # is built using GNU Libtool, you may include this file under the
18105 # same distribution terms that you use for the rest of that program.
18107 # GNU Libtool is distributed in the hope that it will be useful,
18108 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18109 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18110 # GNU General Public License for more details.
18112 # You should have received a copy of the GNU General Public License
18113 # along with GNU Libtool; see the file COPYING. If not, a copy
18114 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18115 # obtained by writing to the Free Software Foundation, Inc.,
18116 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18119 # The names of the tagged configurations supported by this script.
18122 # ### BEGIN LIBTOOL CONFIG
18124 # Which release of libtool.m4 was used?
18125 macro_version=$macro_version
18126 macro_revision=$macro_revision
18128 # Whether or not to build static libraries.
18129 build_old_libs=$enable_static
18131 # Assembler program.
18134 # DLL creation program.
18135 DLLTOOL=$lt_DLLTOOL
18137 # Object dumper program.
18138 OBJDUMP=$lt_OBJDUMP
18140 # Whether or not to build shared libraries.
18141 build_libtool_libs=$enable_shared
18143 # What type of objects to build.
18146 # Whether or not to optimize for fast installation.
18147 fast_install=$enable_fast_install
18149 # Shell to use when invoking shell scripts.
18152 # An echo program that protects backslashes.
18155 # The PATH separator for the build system.
18156 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18159 host_alias=$host_alias
18163 # The build system.
18164 build_alias=$build_alias
18168 # A sed program that does not truncate output.
18171 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18172 Xsed="\$SED -e 1s/^X//"
18174 # A grep program that handles long lines.
18180 # A literal string matcher.
18183 # A BSD- or MS-compatible name lister.
18186 # Whether we need soft or hard links.
18189 # What is the maximum length of a command?
18190 max_cmd_len=$max_cmd_len
18192 # Object file suffix (normally "o").
18195 # Executable file suffix (normally "").
18198 # whether the shell understands "unset".
18201 # turn spaces into newlines.
18204 # turn newlines into spaces.
18207 # convert \$build file names to \$host format.
18208 to_host_file_cmd=$lt_cv_to_host_file_cmd
18210 # convert \$build files to toolchain format.
18211 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18213 # Method to check whether dependent libraries are shared objects.
18214 deplibs_check_method=$lt_deplibs_check_method
18216 # Command to use when deplibs_check_method = "file_magic".
18217 file_magic_cmd=$lt_file_magic_cmd
18219 # How to find potential files when deplibs_check_method = "file_magic".
18220 file_magic_glob=$lt_file_magic_glob
18222 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18223 want_nocaseglob=$lt_want_nocaseglob
18225 # Command to associate shared and link libraries.
18226 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18231 # Flags to create an archive.
18232 AR_FLAGS=$lt_AR_FLAGS
18234 # How to feed a file listing to the archiver.
18235 archiver_list_spec=$lt_archiver_list_spec
18237 # A symbol stripping program.
18240 # Commands used to install an old-style archive.
18242 old_postinstall_cmds=$lt_old_postinstall_cmds
18243 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18245 # Whether to use a lock for old archive extraction.
18246 lock_old_archive_extraction=$lock_old_archive_extraction
18251 # LTCC compiler flags.
18252 LTCFLAGS=$lt_CFLAGS
18254 # Take the output of nm and produce a listing of raw symbols and C names.
18255 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18257 # Transform the output of nm in a proper C declaration.
18258 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18260 # Transform the output of nm in a C name address pair.
18261 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18263 # Transform the output of nm in a C name address pair when lib prefix is needed.
18264 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18266 # Specify filename containing input files for \$NM.
18267 nm_file_list_spec=$lt_nm_file_list_spec
18269 # The root where to search for dependent libraries,and in which our libraries should be installed.
18270 lt_sysroot=$lt_sysroot
18272 # The name of the directory that contains temporary libtool files.
18275 # Used to examine libraries when file_magic_cmd begins with "file".
18276 MAGIC_CMD=$MAGIC_CMD
18278 # Must we lock files when doing compilation?
18279 need_locks=$lt_need_locks
18282 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18284 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18285 DSYMUTIL=$lt_DSYMUTIL
18287 # Tool to change global to local symbols on Mac OS X.
18290 # Tool to manipulate fat objects and archives on Mac OS X.
18293 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18296 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18297 OTOOL64=$lt_OTOOL64
18299 # Old archive suffix (normally "a").
18302 # Shared library suffix (normally ".so").
18303 shrext_cmds=$lt_shrext_cmds
18305 # The commands to extract the exported symbol list from a shared archive.
18306 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18308 # Variables whose values should be saved in libtool wrapper scripts and
18309 # restored at link time.
18310 variables_saved_for_relink=$lt_variables_saved_for_relink
18312 # Do we need the "lib" prefix for modules?
18313 need_lib_prefix=$need_lib_prefix
18315 # Do we need a version for libraries?
18316 need_version=$need_version
18318 # Library versioning type.
18319 version_type=$version_type
18321 # Shared library runtime path variable.
18322 runpath_var=$runpath_var
18324 # Shared library path variable.
18325 shlibpath_var=$shlibpath_var
18327 # Is shlibpath searched before the hard-coded library search path?
18328 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18330 # Format of library name prefix.
18331 libname_spec=$lt_libname_spec
18333 # List of archive names. First name is the real one, the rest are links.
18334 # The last name is the one that the linker finds with -lNAME
18335 library_names_spec=$lt_library_names_spec
18337 # The coded name of the library, if different from the real name.
18338 soname_spec=$lt_soname_spec
18340 # Permission mode override for installation of shared libraries.
18341 install_override_mode=$lt_install_override_mode
18343 # Command to use after installation of a shared archive.
18344 postinstall_cmds=$lt_postinstall_cmds
18346 # Command to use after uninstallation of a shared archive.
18347 postuninstall_cmds=$lt_postuninstall_cmds
18349 # Commands used to finish a libtool library installation in a directory.
18350 finish_cmds=$lt_finish_cmds
18352 # As "finish_cmds", except a single script fragment to be evaled but
18354 finish_eval=$lt_finish_eval
18356 # Whether we should hardcode library paths into libraries.
18357 hardcode_into_libs=$hardcode_into_libs
18359 # Compile-time system search path for libraries.
18360 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18362 # Run-time system search path for libraries.
18363 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18365 # Whether dlopen is supported.
18366 dlopen_support=$enable_dlopen
18368 # Whether dlopen of programs is supported.
18369 dlopen_self=$enable_dlopen_self
18371 # Whether dlopen of statically linked programs is supported.
18372 dlopen_self_static=$enable_dlopen_self_static
18374 # Commands to strip libraries.
18375 old_striplib=$lt_old_striplib
18376 striplib=$lt_striplib
18379 # The linker used to build libraries.
18382 # How to create reloadable object files.
18383 reload_flag=$lt_reload_flag
18384 reload_cmds=$lt_reload_cmds
18386 # Commands used to build an old-style archive.
18387 old_archive_cmds=$lt_old_archive_cmds
18389 # A language specific compiler.
18392 # Is the compiler the GNU compiler?
18395 # Compiler flag to turn off builtin functions.
18396 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18398 # Additional compiler flags for building library objects.
18399 pic_flag=$lt_lt_prog_compiler_pic
18401 # How to pass a linker flag through the compiler.
18402 wl=$lt_lt_prog_compiler_wl
18404 # Compiler flag to prevent dynamic linking.
18405 link_static_flag=$lt_lt_prog_compiler_static
18407 # Does compiler simultaneously support -c and -o options?
18408 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18410 # Whether or not to add -lc for building shared libraries.
18411 build_libtool_need_lc=$archive_cmds_need_lc
18413 # Whether or not to disallow shared libs when runtime libs are static.
18414 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18416 # Compiler flag to allow reflexive dlopens.
18417 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18419 # Compiler flag to generate shared objects directly from archives.
18420 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18422 # Whether the compiler copes with passing no objects directly.
18423 compiler_needs_object=$lt_compiler_needs_object
18425 # Create an old-style archive from a shared archive.
18426 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18428 # Create a temporary old-style archive to link instead of a shared archive.
18429 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18431 # Commands used to build a shared archive.
18432 archive_cmds=$lt_archive_cmds
18433 archive_expsym_cmds=$lt_archive_expsym_cmds
18435 # Commands used to build a loadable module if different from building
18436 # a shared archive.
18437 module_cmds=$lt_module_cmds
18438 module_expsym_cmds=$lt_module_expsym_cmds
18440 # Whether we are building with GNU ld or not.
18441 with_gnu_ld=$lt_with_gnu_ld
18443 # Flag that allows shared libraries with undefined symbols to be built.
18444 allow_undefined_flag=$lt_allow_undefined_flag
18446 # Flag that enforces no undefined symbols.
18447 no_undefined_flag=$lt_no_undefined_flag
18449 # Flag to hardcode \$libdir into a binary during linking.
18450 # This must work even if \$libdir does not exist
18451 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18453 # Whether we need a single "-rpath" flag with a separated argument.
18454 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18456 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18457 # DIR into the resulting binary.
18458 hardcode_direct=$hardcode_direct
18460 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18461 # DIR into the resulting binary and the resulting library dependency is
18462 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18463 # library is relocated.
18464 hardcode_direct_absolute=$hardcode_direct_absolute
18466 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18467 # into the resulting binary.
18468 hardcode_minus_L=$hardcode_minus_L
18470 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18471 # into the resulting binary.
18472 hardcode_shlibpath_var=$hardcode_shlibpath_var
18474 # Set to "yes" if building a shared library automatically hardcodes DIR
18475 # into the library and all subsequent libraries and executables linked
18477 hardcode_automatic=$hardcode_automatic
18479 # Set to yes if linker adds runtime paths of dependent libraries
18480 # to runtime path list.
18481 inherit_rpath=$inherit_rpath
18483 # Whether libtool must link a program against all its dependency libraries.
18484 link_all_deplibs=$link_all_deplibs
18486 # Set to "yes" if exported symbols are required.
18487 always_export_symbols=$always_export_symbols
18489 # The commands to list exported symbols.
18490 export_symbols_cmds=$lt_export_symbols_cmds
18492 # Symbols that should not be listed in the preloaded symbols.
18493 exclude_expsyms=$lt_exclude_expsyms
18495 # Symbols that must always be exported.
18496 include_expsyms=$lt_include_expsyms
18498 # Commands necessary for linking programs (against libraries) with templates.
18499 prelink_cmds=$lt_prelink_cmds
18501 # Commands necessary for finishing linking programs.
18502 postlink_cmds=$lt_postlink_cmds
18504 # Specify filename containing input files.
18505 file_list_spec=$lt_file_list_spec
18507 # How to hardcode a shared library path into an executable.
18508 hardcode_action=$hardcode_action
18510 # ### END LIBTOOL CONFIG
18516 cat <<\_LT_EOF >> "$cfgfile"
18517 # AIX sometimes has problems with the GCC collect2 program. For some
18518 # reason, if we set the COLLECT_NAMES environment variable, the problems
18519 # vanish in a puff of smoke.
18520 if test "X${COLLECT_NAMES+set}" != Xset; then
18522 export COLLECT_NAMES
18529 ltmain="$ac_aux_dir/ltmain.sh"
18532 # We use sed instead of cat because bash on DJGPP gets confused if
18533 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18534 # text mode, it properly converts lines to CR/LF. This bash problem
18535 # is reportedly fixed, but why not run on old versions too?
18536 sed '$q' "$ltmain" >> "$cfgfile" \
18537 || (rm -f "$cfgfile"; exit 1)
18539 if test x"$xsi_shell" = xyes; then
18540 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18544 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18545 \ * ) func_dirname_result="${3}" ;;\
18547 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18548 && mv -f "$cfgfile.tmp" "$cfgfile" \
18549 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18550 test 0 -eq $? || _lt_function_replace_fail=:
18553 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18556 \ func_basename_result="${1##*/}"\
18557 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18558 && mv -f "$cfgfile.tmp" "$cfgfile" \
18559 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18560 test 0 -eq $? || _lt_function_replace_fail=:
18563 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18564 func_dirname_and_basename ()\
18567 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18568 \ * ) func_dirname_result="${3}" ;;\
18570 \ func_basename_result="${1##*/}"\
18571 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18572 && mv -f "$cfgfile.tmp" "$cfgfile" \
18573 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18574 test 0 -eq $? || _lt_function_replace_fail=:
18577 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18580 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18581 \ # positional parameters, so assign one to ordinary parameter first.\
18582 \ func_stripname_result=${3}\
18583 \ func_stripname_result=${func_stripname_result#"${1}"}\
18584 \ func_stripname_result=${func_stripname_result%"${2}"}\
18585 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18586 && mv -f "$cfgfile.tmp" "$cfgfile" \
18587 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18588 test 0 -eq $? || _lt_function_replace_fail=:
18591 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18592 func_split_long_opt ()\
18594 \ func_split_long_opt_name=${1%%=*}\
18595 \ func_split_long_opt_arg=${1#*=}\
18596 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18597 && mv -f "$cfgfile.tmp" "$cfgfile" \
18598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18599 test 0 -eq $? || _lt_function_replace_fail=:
18602 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18603 func_split_short_opt ()\
18605 \ func_split_short_opt_arg=${1#??}\
18606 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18607 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18608 && mv -f "$cfgfile.tmp" "$cfgfile" \
18609 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18610 test 0 -eq $? || _lt_function_replace_fail=:
18613 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18617 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18618 \ *) func_lo2o_result=${1} ;;\
18620 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18621 && mv -f "$cfgfile.tmp" "$cfgfile" \
18622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18623 test 0 -eq $? || _lt_function_replace_fail=:
18626 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18629 func_xform_result=${1%.*}.lo\
18630 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18631 && mv -f "$cfgfile.tmp" "$cfgfile" \
18632 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18633 test 0 -eq $? || _lt_function_replace_fail=:
18636 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18639 func_arith_result=$(( $* ))\
18640 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18641 && mv -f "$cfgfile.tmp" "$cfgfile" \
18642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18643 test 0 -eq $? || _lt_function_replace_fail=:
18646 sed -e '/^func_len ()$/,/^} # func_len /c\
18649 func_len_result=${#1}\
18650 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18651 && mv -f "$cfgfile.tmp" "$cfgfile" \
18652 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18653 test 0 -eq $? || _lt_function_replace_fail=:
18657 if test x"$lt_shell_append" = xyes; then
18658 sed -e '/^func_append ()$/,/^} # func_append /c\
18661 eval "${1}+=\\${2}"\
18662 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18663 && mv -f "$cfgfile.tmp" "$cfgfile" \
18664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18665 test 0 -eq $? || _lt_function_replace_fail=:
18668 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18669 func_append_quoted ()\
18671 \ func_quote_for_eval "${2}"\
18672 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18673 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18674 && mv -f "$cfgfile.tmp" "$cfgfile" \
18675 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18676 test 0 -eq $? || _lt_function_replace_fail=:
18679 # Save a `func_append' function call where possible by direct use of '+='
18680 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18681 && mv -f "$cfgfile.tmp" "$cfgfile" \
18682 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18683 test 0 -eq $? || _lt_function_replace_fail=:
18685 # Save a `func_append' function call even when '+=' is not available
18686 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18687 && mv -f "$cfgfile.tmp" "$cfgfile" \
18688 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18689 test 0 -eq $? || _lt_function_replace_fail=:
18692 if test x"$_lt_function_replace_fail" = x":"; then
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18694 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18698 mv -f "$cfgfile" "$ofile" ||
18699 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
18705 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
18706 ac_stdint=$tmp/_stdint.h
18708 echo "#ifndef" $_ac_stdint_h >$ac_stdint
18709 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
18710 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
18711 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
18712 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
18713 if test "_$ac_cv_header_stdint_t" != "_" ; then
18714 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
18715 echo "#include <stdint.h>" >>$ac_stdint
18716 echo "#endif" >>$ac_stdint
18717 echo "#endif" >>$ac_stdint
18720 cat >>$ac_stdint <<STDINT_EOF
18722 /* ................... shortcircuit part ........................... */
18724 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
18725 #include <stdint.h>
18727 #include <stddef.h>
18729 /* .................... configured part ............................ */
18733 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
18734 if test "_$ac_cv_header_stdint_x" != "_" ; then
18735 ac_header="$ac_cv_header_stdint_x"
18736 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
18738 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
18741 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
18742 if test "_$ac_cv_header_stdint_o" != "_" ; then
18743 ac_header="$ac_cv_header_stdint_o"
18744 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
18746 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
18749 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
18750 if test "_$ac_cv_header_stdint_u" != "_" ; then
18751 ac_header="$ac_cv_header_stdint_u"
18752 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
18754 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
18757 echo "" >>$ac_stdint
18759 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
18760 echo "#include <$ac_header>" >>$ac_stdint
18761 echo "" >>$ac_stdint
18764 echo "/* which 64bit typedef has been found */" >>$ac_stdint
18765 if test "$ac_cv_type_uint64_t" = "yes" ; then
18766 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
18768 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
18770 if test "$ac_cv_type_u_int64_t" = "yes" ; then
18771 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
18773 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
18775 echo "" >>$ac_stdint
18777 echo "/* which type model has been detected */" >>$ac_stdint
18778 if test "_$ac_cv_char_data_model" != "_" ; then
18779 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
18780 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
18782 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
18783 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
18785 echo "" >>$ac_stdint
18787 echo "/* whether int_least types were detected */" >>$ac_stdint
18788 if test "$ac_cv_type_int_least32_t" = "yes"; then
18789 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
18791 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
18793 echo "/* whether int_fast types were detected */" >>$ac_stdint
18794 if test "$ac_cv_type_int_fast32_t" = "yes"; then
18795 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
18797 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
18799 echo "/* whether intmax_t type was detected */" >>$ac_stdint
18800 if test "$ac_cv_type_intmax_t" = "yes"; then
18801 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
18803 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
18805 echo "" >>$ac_stdint
18807 cat >>$ac_stdint <<STDINT_EOF
18808 /* .................... detections part ............................ */
18810 /* whether we need to define bitspecific types from compiler base types */
18811 #ifndef _STDINT_HEADER_INTPTR
18812 #ifndef _STDINT_HEADER_UINT32
18813 #ifndef _STDINT_HEADER_U_INT32
18814 #define _STDINT_NEED_INT_MODEL_T
18816 #define _STDINT_HAVE_U_INT_TYPES
18821 #ifdef _STDINT_HAVE_U_INT_TYPES
18822 #undef _STDINT_NEED_INT_MODEL_T
18825 #ifdef _STDINT_CHAR_MODEL
18826 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
18827 #ifndef _STDINT_BYTE_MODEL
18828 #define _STDINT_BYTE_MODEL 12
18833 #ifndef _STDINT_HAVE_INT_LEAST32_T
18834 #define _STDINT_NEED_INT_LEAST_T
18837 #ifndef _STDINT_HAVE_INT_FAST32_T
18838 #define _STDINT_NEED_INT_FAST_T
18841 #ifndef _STDINT_HEADER_INTPTR
18842 #define _STDINT_NEED_INTPTR_T
18843 #ifndef _STDINT_HAVE_INTMAX_T
18844 #define _STDINT_NEED_INTMAX_T
18849 /* .................... definition part ............................ */
18851 /* some system headers have good uint64_t */
18852 #ifndef _HAVE_UINT64_T
18853 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
18854 #define _HAVE_UINT64_T
18855 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
18856 #define _HAVE_UINT64_T
18857 typedef u_int64_t uint64_t;
18861 #ifndef _HAVE_UINT64_T
18862 /* .. here are some common heuristics using compiler runtime specifics */
18863 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
18864 #define _HAVE_UINT64_T
18865 #define _HAVE_LONGLONG_UINT64_T
18866 typedef long long int64_t;
18867 typedef unsigned long long uint64_t;
18869 #elif !defined __STRICT_ANSI__
18870 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
18871 #define _HAVE_UINT64_T
18872 typedef __int64 int64_t;
18873 typedef unsigned __int64 uint64_t;
18875 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
18876 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
18877 #if !defined _NO_LONGLONG
18878 #define _HAVE_UINT64_T
18879 #define _HAVE_LONGLONG_UINT64_T
18880 typedef long long int64_t;
18881 typedef unsigned long long uint64_t;
18884 #elif defined __alpha || (defined __mips && defined _ABIN32)
18885 #if !defined _NO_LONGLONG
18886 typedef long int64_t;
18887 typedef unsigned long uint64_t;
18889 /* compiler/cpu type to define int64_t */
18894 #if defined _STDINT_HAVE_U_INT_TYPES
18895 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
18896 typedef u_int8_t uint8_t;
18897 typedef u_int16_t uint16_t;
18898 typedef u_int32_t uint32_t;
18900 /* glibc compatibility */
18901 #ifndef __int8_t_defined
18902 #define __int8_t_defined
18906 #ifdef _STDINT_NEED_INT_MODEL_T
18907 /* we must guess all the basic types. Apart from byte-adressable system, */
18908 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
18909 /* (btw, those nibble-addressable systems are way off, or so we assume) */
18912 #if defined _STDINT_BYTE_MODEL
18913 #if _STDINT_LONG_MODEL+0 == 242
18914 /* 2:4:2 = IP16 = a normal 16-bit system */
18915 typedef unsigned char uint8_t;
18916 typedef unsigned short uint16_t;
18917 typedef unsigned long uint32_t;
18918 #ifndef __int8_t_defined
18919 #define __int8_t_defined
18920 typedef char int8_t;
18921 typedef short int16_t;
18922 typedef long int32_t;
18924 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
18925 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
18926 /* 4:4:4 = ILP32 = a normal 32-bit system */
18927 typedef unsigned char uint8_t;
18928 typedef unsigned short uint16_t;
18929 typedef unsigned int uint32_t;
18930 #ifndef __int8_t_defined
18931 #define __int8_t_defined
18932 typedef char int8_t;
18933 typedef short int16_t;
18934 typedef int int32_t;
18936 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
18937 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
18938 /* 4:8:8 = LP64 = a normal 64-bit system */
18939 typedef unsigned char uint8_t;
18940 typedef unsigned short uint16_t;
18941 typedef unsigned int uint32_t;
18942 #ifndef __int8_t_defined
18943 #define __int8_t_defined
18944 typedef char int8_t;
18945 typedef short int16_t;
18946 typedef int int32_t;
18948 /* this system has a "long" of 64bit */
18949 #ifndef _HAVE_UINT64_T
18950 #define _HAVE_UINT64_T
18951 typedef unsigned long uint64_t;
18952 typedef long int64_t;
18954 #elif _STDINT_LONG_MODEL+0 == 448
18955 /* LLP64 a 64-bit system derived from a 32-bit system */
18956 typedef unsigned char uint8_t;
18957 typedef unsigned short uint16_t;
18958 typedef unsigned int uint32_t;
18959 #ifndef __int8_t_defined
18960 #define __int8_t_defined
18961 typedef char int8_t;
18962 typedef short int16_t;
18963 typedef int int32_t;
18965 /* assuming the system has a "long long" */
18966 #ifndef _HAVE_UINT64_T
18967 #define _HAVE_UINT64_T
18968 #define _HAVE_LONGLONG_UINT64_T
18969 typedef unsigned long long uint64_t;
18970 typedef long long int64_t;
18973 #define _STDINT_NO_INT32_T
18976 #define _STDINT_NO_INT8_T
18977 #define _STDINT_NO_INT32_T
18982 * quote from SunOS-5.8 sys/inttypes.h:
18983 * Use at your own risk. As of February 1996, the committee is squarely
18984 * behind the fixed sized types; the "least" and "fast" types are still being
18985 * discussed. The probability that the "fast" types may be removed before
18986 * the standard is finalized is high enough that they are not currently
18990 #if defined _STDINT_NEED_INT_LEAST_T
18991 typedef int8_t int_least8_t;
18992 typedef int16_t int_least16_t;
18993 typedef int32_t int_least32_t;
18994 #ifdef _HAVE_UINT64_T
18995 typedef int64_t int_least64_t;
18998 typedef uint8_t uint_least8_t;
18999 typedef uint16_t uint_least16_t;
19000 typedef uint32_t uint_least32_t;
19001 #ifdef _HAVE_UINT64_T
19002 typedef uint64_t uint_least64_t;
19007 #if defined _STDINT_NEED_INT_FAST_T
19008 typedef int8_t int_fast8_t;
19009 typedef int int_fast16_t;
19010 typedef int32_t int_fast32_t;
19011 #ifdef _HAVE_UINT64_T
19012 typedef int64_t int_fast64_t;
19015 typedef uint8_t uint_fast8_t;
19016 typedef unsigned uint_fast16_t;
19017 typedef uint32_t uint_fast32_t;
19018 #ifdef _HAVE_UINT64_T
19019 typedef uint64_t uint_fast64_t;
19024 #ifdef _STDINT_NEED_INTMAX_T
19025 #ifdef _HAVE_UINT64_T
19026 typedef int64_t intmax_t;
19027 typedef uint64_t uintmax_t;
19029 typedef long intmax_t;
19030 typedef unsigned long uintmax_t;
19034 #ifdef _STDINT_NEED_INTPTR_T
19035 #ifndef __intptr_t_defined
19036 #define __intptr_t_defined
19037 /* we encourage using "long" to store pointer values, never use "int" ! */
19038 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
19039 typedef unsigned int uintptr_t;
19040 typedef int intptr_t;
19041 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
19042 typedef unsigned long uintptr_t;
19043 typedef long intptr_t;
19044 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
19045 typedef uint64_t uintptr_t;
19046 typedef int64_t intptr_t;
19047 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
19048 typedef unsigned long uintptr_t;
19049 typedef long intptr_t;
19054 /* The ISO C99 standard specifies that in C++ implementations these
19055 should only be defined if explicitly requested. */
19056 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
19060 # define INT8_C(c) c
19061 # define INT16_C(c) c
19062 # define INT32_C(c) c
19063 # ifdef _HAVE_LONGLONG_UINT64_T
19064 # define INT64_C(c) c ## L
19066 # define INT64_C(c) c ## LL
19070 # define UINT8_C(c) c ## U
19071 # define UINT16_C(c) c ## U
19072 # define UINT32_C(c) c ## U
19073 # ifdef _HAVE_LONGLONG_UINT64_T
19074 # define UINT64_C(c) c ## UL
19076 # define UINT64_C(c) c ## ULL
19079 /* Maximal type. */
19080 # ifdef _HAVE_LONGLONG_UINT64_T
19081 # define INTMAX_C(c) c ## L
19082 # define UINTMAX_C(c) c ## UL
19084 # define INTMAX_C(c) c ## LL
19085 # define UINTMAX_C(c) c ## ULL
19088 /* literalnumbers */
19092 /* These limits are merily those of a two complement byte-oriented system */
19094 /* Minimum of signed integral types. */
19095 # define INT8_MIN (-128)
19096 # define INT16_MIN (-32767-1)
19097 # define INT32_MIN (-2147483647-1)
19098 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
19099 /* Maximum of signed integral types. */
19100 # define INT8_MAX (127)
19101 # define INT16_MAX (32767)
19102 # define INT32_MAX (2147483647)
19103 # define INT64_MAX (__INT64_C(9223372036854775807))
19105 /* Maximum of unsigned integral types. */
19106 # define UINT8_MAX (255)
19107 # define UINT16_MAX (65535)
19108 # define UINT32_MAX (4294967295U)
19109 # define UINT64_MAX (__UINT64_C(18446744073709551615))
19111 /* Minimum of signed integral types having a minimum size. */
19112 # define INT_LEAST8_MIN INT8_MIN
19113 # define INT_LEAST16_MIN INT16_MIN
19114 # define INT_LEAST32_MIN INT32_MIN
19115 # define INT_LEAST64_MIN INT64_MIN
19116 /* Maximum of signed integral types having a minimum size. */
19117 # define INT_LEAST8_MAX INT8_MAX
19118 # define INT_LEAST16_MAX INT16_MAX
19119 # define INT_LEAST32_MAX INT32_MAX
19120 # define INT_LEAST64_MAX INT64_MAX
19122 /* Maximum of unsigned integral types having a minimum size. */
19123 # define UINT_LEAST8_MAX UINT8_MAX
19124 # define UINT_LEAST16_MAX UINT16_MAX
19125 # define UINT_LEAST32_MAX UINT32_MAX
19126 # define UINT_LEAST64_MAX UINT64_MAX
19135 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
19137 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
19139 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
19140 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19141 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
19142 X"$ac_stdint_h" : 'X\(//\)$' \| \
19143 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
19144 $as_echo X"$ac_stdint_h" |
19145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19149 /^X\(\/\/\)[^/].*/{
19162 as_dir="$ac_dir"; as_fn_mkdir_p
19164 mv $ac_stdint $ac_stdint_h
19174 ac_clean_files=$ac_clean_files_save
19176 test $ac_write_fail = 0 ||
19177 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19180 # configure is writing to config.log, and then calls config.status.
19181 # config.status does its own redirection, appending to config.log.
19182 # Unfortunately, on DOS this fails, as config.log is still kept open
19183 # by configure, so config.status won't be able to write to it; its
19184 # output is simply discarded. So we exec the FD to /dev/null,
19185 # effectively closing config.log, so it can be properly (re)opened and
19186 # appended to by config.status. When coming back to configure, we
19187 # need to make the FD available again.
19188 if test "$no_create" != yes; then
19190 ac_config_status_args=
19191 test "$silent" = yes &&
19192 ac_config_status_args="$ac_config_status_args --quiet"
19194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19196 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19197 # would make configure fail if this is the last instruction.
19198 $ac_cs_success || as_fn_exit 1
19200 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19202 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}