2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU FriBidi 1.0.10.
5 # Report bugs to <https://github.com/fribidi/fribidi/issues/new>.
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
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || 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://github.com/fribidi/fribidi/issues/new about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='GNU FriBidi'
592 PACKAGE_TARNAME='fribidi'
593 PACKAGE_VERSION='1.0.10'
594 PACKAGE_STRING='GNU FriBidi 1.0.10'
595 PACKAGE_BUGREPORT='https://github.com/fribidi/fribidi/issues/new'
596 PACKAGE_URL='http://fribidi.org/'
598 ac_unique_file="fribidi.pc.in"
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>
635 ac_subst_vars='am__EXEEXT_FALSE
658 FRIBIDI_MSVC_BUILD_PLACEHOLDER
660 FRIBIDI_INTERFACE_AGE
661 FRIBIDI_INTERFACE_VERSION
663 FRIBIDI_MICRO_VERSION
664 FRIBIDI_MINOR_VERSION
665 FRIBIDI_MAJOR_VERSION
725 INSTALL_STRIP_PROGRAM
767 program_transform_name
781 enable_option_checking
783 enable_dependency_tracking
795 ac_precious_vars='build_alias
810 # Initialize some variables set by options.
812 ac_init_version=false
813 ac_unrecognized_opts=
815 # The variables have the same names as the options, with
816 # dashes changed to underlines.
824 program_transform_name=s,x,x,
832 # Installation directory options.
833 # These are left unexpanded so users can "make install exec_prefix=/foo"
834 # and all the variables that are supposed to be based on exec_prefix
835 # by default will actually change.
836 # Use braces instead of parens because sh, perl, etc. also accept them.
837 # (The list follows the same order as the GNU Coding Standards.)
838 bindir='${exec_prefix}/bin'
839 sbindir='${exec_prefix}/sbin'
840 libexecdir='${exec_prefix}/libexec'
841 datarootdir='${prefix}/share'
842 datadir='${datarootdir}'
843 sysconfdir='${prefix}/etc'
844 sharedstatedir='${prefix}/com'
845 localstatedir='${prefix}/var'
846 includedir='${prefix}/include'
847 oldincludedir='/usr/include'
848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
849 infodir='${datarootdir}/info'
854 libdir='${exec_prefix}/lib'
855 localedir='${datarootdir}/locale'
856 mandir='${datarootdir}/man'
862 # If the previous option needs an argument, assign it.
863 if test -n "$ac_prev"; then
864 eval $ac_prev=\$ac_option
870 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 # Accept the important Cygnus configure options, so we can diagnose typos.
877 case $ac_dashdash$ac_option in
881 -bindir | --bindir | --bindi | --bind | --bin | --bi)
883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
886 -build | --build | --buil | --bui | --bu)
887 ac_prev=build_alias ;;
888 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
889 build_alias=$ac_optarg ;;
891 -cache-file | --cache-file | --cache-fil | --cache-fi \
892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
893 ac_prev=cache_file ;;
894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
896 cache_file=$ac_optarg ;;
899 cache_file=config.cache ;;
901 -datadir | --datadir | --datadi | --datad)
903 -datadir=* | --datadir=* | --datadi=* | --datad=*)
904 datadir=$ac_optarg ;;
906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
907 | --dataroo | --dataro | --datar)
908 ac_prev=datarootdir ;;
909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
911 datarootdir=$ac_optarg ;;
913 -disable-* | --disable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=no ;;
929 -docdir | --docdir | --docdi | --doc | --do)
931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
939 -enable-* | --enable-*)
940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 as_fn_error $? "invalid feature name: $ac_useropt"
944 ac_useropt_orig=$ac_useropt
945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
951 ac_unrecognized_sep=', ';;
953 eval enable_$ac_useropt=\$ac_optarg ;;
955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
957 | --exec | --exe | --ex)
958 ac_prev=exec_prefix ;;
959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
961 | --exec=* | --exe=* | --ex=*)
962 exec_prefix=$ac_optarg ;;
964 -gas | --gas | --ga | --g)
965 # Obsolete; use --with-gas.
968 -help | --help | --hel | --he | -h)
970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
971 ac_init_help=recursive ;;
972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
973 ac_init_help=short ;;
975 -host | --host | --hos | --ho)
976 ac_prev=host_alias ;;
977 -host=* | --host=* | --hos=* | --ho=*)
978 host_alias=$ac_optarg ;;
980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
984 htmldir=$ac_optarg ;;
986 -includedir | --includedir | --includedi | --included | --include \
987 | --includ | --inclu | --incl | --inc)
988 ac_prev=includedir ;;
989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
990 | --includ=* | --inclu=* | --incl=* | --inc=*)
991 includedir=$ac_optarg ;;
993 -infodir | --infodir | --infodi | --infod | --info | --inf)
995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
996 infodir=$ac_optarg ;;
998 -libdir | --libdir | --libdi | --libd)
1000 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1001 libdir=$ac_optarg ;;
1003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1004 | --libexe | --libex | --libe)
1005 ac_prev=libexecdir ;;
1006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1007 | --libexe=* | --libex=* | --libe=*)
1008 libexecdir=$ac_optarg ;;
1010 -localedir | --localedir | --localedi | --localed | --locale)
1011 ac_prev=localedir ;;
1012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1013 localedir=$ac_optarg ;;
1015 -localstatedir | --localstatedir | --localstatedi | --localstated \
1016 | --localstate | --localstat | --localsta | --localst | --locals)
1017 ac_prev=localstatedir ;;
1018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1020 localstatedir=$ac_optarg ;;
1022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1025 mandir=$ac_optarg ;;
1027 -nfp | --nfp | --nf)
1028 # Obsolete; use --without-fp.
1031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1032 | --no-cr | --no-c | -n)
1035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1041 | --oldin | --oldi | --old | --ol | --o)
1042 ac_prev=oldincludedir ;;
1043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1046 oldincludedir=$ac_optarg ;;
1048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1051 prefix=$ac_optarg ;;
1053 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1054 | --program-pre | --program-pr | --program-p)
1055 ac_prev=program_prefix ;;
1056 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1058 program_prefix=$ac_optarg ;;
1060 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1061 | --program-suf | --program-su | --program-s)
1062 ac_prev=program_suffix ;;
1063 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1065 program_suffix=$ac_optarg ;;
1067 -program-transform-name | --program-transform-name \
1068 | --program-transform-nam | --program-transform-na \
1069 | --program-transform-n | --program-transform- \
1070 | --program-transform | --program-transfor \
1071 | --program-transfo | --program-transf \
1072 | --program-trans | --program-tran \
1073 | --progr-tra | --program-tr | --program-t)
1074 ac_prev=program_transform_name ;;
1075 -program-transform-name=* | --program-transform-name=* \
1076 | --program-transform-nam=* | --program-transform-na=* \
1077 | --program-transform-n=* | --program-transform-=* \
1078 | --program-transform=* | --program-transfor=* \
1079 | --program-transfo=* | --program-transf=* \
1080 | --program-trans=* | --program-tran=* \
1081 | --progr-tra=* | --program-tr=* | --program-t=*)
1082 program_transform_name=$ac_optarg ;;
1084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1087 pdfdir=$ac_optarg ;;
1089 -psdir | --psdir | --psdi | --psd | --ps)
1091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1095 | -silent | --silent | --silen | --sile | --sil)
1098 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1100 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1102 sbindir=$ac_optarg ;;
1104 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1105 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1106 | --sharedst | --shareds | --shared | --share | --shar \
1108 ac_prev=sharedstatedir ;;
1109 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1110 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1111 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1113 sharedstatedir=$ac_optarg ;;
1115 -site | --site | --sit)
1117 -site=* | --site=* | --sit=*)
1120 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1122 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1123 srcdir=$ac_optarg ;;
1125 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1126 | --syscon | --sysco | --sysc | --sys | --sy)
1127 ac_prev=sysconfdir ;;
1128 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1129 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1130 sysconfdir=$ac_optarg ;;
1132 -target | --target | --targe | --targ | --tar | --ta | --t)
1133 ac_prev=target_alias ;;
1134 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1135 target_alias=$ac_optarg ;;
1137 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1140 -version | --version | --versio | --versi | --vers | -V)
1141 ac_init_version=: ;;
1144 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147 as_fn_error $? "invalid package name: $ac_useropt"
1148 ac_useropt_orig=$ac_useropt
1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1155 ac_unrecognized_sep=', ';;
1157 eval with_$ac_useropt=\$ac_optarg ;;
1159 -without-* | --without-*)
1160 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163 as_fn_error $? "invalid package name: $ac_useropt"
1164 ac_useropt_orig=$ac_useropt
1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1171 ac_unrecognized_sep=', ';;
1173 eval with_$ac_useropt=no ;;
1176 # Obsolete; use --with-x.
1179 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1180 | --x-incl | --x-inc | --x-in | --x-i)
1181 ac_prev=x_includes ;;
1182 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1183 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1184 x_includes=$ac_optarg ;;
1186 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1187 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1188 ac_prev=x_libraries ;;
1189 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1190 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1191 x_libraries=$ac_optarg ;;
1193 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1194 Try \`$0 --help' for more information"
1198 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1199 # Reject names that are not valid shell variable names.
1200 case $ac_envvar in #(
1201 '' | [0-9]* | *[!_$as_cr_alnum]* )
1202 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1204 eval $ac_envvar=\$ac_optarg
1205 export $ac_envvar ;;
1208 # FIXME: should be removed in autoconf 3.0.
1209 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1211 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218 if test -n "$ac_prev"; then
1219 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1220 as_fn_error $? "missing argument to $ac_option"
1223 if test -n "$ac_unrecognized_opts"; then
1224 case $enable_option_checking in
1226 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1227 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231 # Check all directory arguments for consistency.
1232 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val=\$$ac_var
1238 # Remove trailing slashes.
1241 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1242 eval $ac_var=\$ac_val;;
1244 # Be sure to have absolute directory names.
1246 [\\/$]* | ?:[\\/]* ) continue;;
1247 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1249 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1252 # There might be people who depend on the old broken behavior: `$host'
1253 # used to hold the argument of --host etc.
1254 # FIXME: To remove some day.
1257 target=$target_alias
1259 # FIXME: To remove some day.
1260 if test "x$host_alias" != x; then
1261 if test "x$build_alias" = x; then
1262 cross_compiling=maybe
1263 elif test "x$build_alias" != "x$host_alias"; then
1269 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1271 test "$silent" = yes && exec 6>/dev/null
1274 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1275 ac_ls_di=`ls -di .` &&
1276 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1277 as_fn_error $? "working directory cannot be determined"
1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1279 as_fn_error $? "pwd does not report name of working directory"
1282 # Find the source files, if location was not specified.
1283 if test -z "$srcdir"; then
1284 ac_srcdir_defaulted=yes
1285 # Try the directory containing this script, then the parent directory.
1286 ac_confdir=`$as_dirname -- "$as_myself" ||
1287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1288 X"$as_myself" : 'X\(//\)[^/]' \| \
1289 X"$as_myself" : 'X\(//\)$' \| \
1290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1291 $as_echo X"$as_myself" |
1292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1314 ac_srcdir_defaulted=no
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1317 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1318 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1320 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1322 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1324 # When building in place, set srcdir=.
1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
1328 # Remove unnecessary trailing slashes from srcdir.
1329 # Double slashes in file names in object file debugging info
1330 # mess up M-x gdb in Emacs.
1332 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1334 for ac_var in $ac_precious_vars; do
1335 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1336 eval ac_env_${ac_var}_value=\$${ac_var}
1337 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1338 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1342 # Report the --help message.
1344 if test "$ac_init_help" = "long"; then
1345 # Omit some internal or obsolete options to make the list less imposing.
1346 # This message is too long to be a string in the A/UX 3.1 sh.
1348 \`configure' configures GNU FriBidi 1.0.10 to adapt to many kinds of systems.
1350 Usage: $0 [OPTION]... [VAR=VALUE]...
1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1353 VAR=VALUE. See below for descriptions of some of the useful variables.
1355 Defaults for the options are specified in brackets.
1358 -h, --help display this help and exit
1359 --help=short display options specific to this package
1360 --help=recursive display the short help of all the included packages
1361 -V, --version display version information and exit
1362 -q, --quiet, --silent do not print \`checking ...' messages
1363 --cache-file=FILE cache test results in FILE [disabled]
1364 -C, --config-cache alias for \`--cache-file=config.cache'
1365 -n, --no-create do not create output files
1366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1368 Installation directories:
1369 --prefix=PREFIX install architecture-independent files in PREFIX
1370 [$ac_default_prefix]
1371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1374 By default, \`make install' will install all the files in
1375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1377 for instance \`--prefix=\$HOME'.
1379 For better control, use the options below.
1381 Fine tuning of the installation directories:
1382 --bindir=DIR user executables [EPREFIX/bin]
1383 --sbindir=DIR system admin executables [EPREFIX/sbin]
1384 --libexecdir=DIR program executables [EPREFIX/libexec]
1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1388 --libdir=DIR object code libraries [EPREFIX/lib]
1389 --includedir=DIR C header files [PREFIX/include]
1390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1393 --infodir=DIR info documentation [DATAROOTDIR/info]
1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1395 --mandir=DIR man documentation [DATAROOTDIR/man]
1396 --docdir=DIR documentation root [DATAROOTDIR/doc/fribidi]
1397 --htmldir=DIR html documentation [DOCDIR]
1398 --dvidir=DIR dvi documentation [DOCDIR]
1399 --pdfdir=DIR pdf documentation [DOCDIR]
1400 --psdir=DIR ps documentation [DOCDIR]
1406 --program-prefix=PREFIX prepend PREFIX to installed program names
1407 --program-suffix=SUFFIX append SUFFIX to installed program names
1408 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1411 --build=BUILD configure for building on BUILD [guessed]
1412 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1416 if test -n "$ac_init_help"; then
1417 case $ac_init_help in
1418 short | recursive ) echo "Configuration of GNU FriBidi 1.0.10:";;
1423 --disable-option-checking ignore unrecognized --enable/--with options
1424 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1425 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1426 --enable-silent-rules less verbose build output (undo: "make V=1")
1427 --disable-silent-rules verbose build output (undo: "make V=0")
1428 --enable-dependency-tracking
1429 do not reject slow dependency extractors
1430 --disable-dependency-tracking
1431 speeds up one-time build
1432 --enable-static[=PKGS] build static libraries [default=no]
1433 --enable-shared[=PKGS] build shared libraries [default=yes]
1434 --enable-fast-install[=PKGS]
1435 optimize for fast installation [default=yes]
1436 --disable-libtool-lock avoid locking (might break parallel builds)
1437 --enable-debug turn on debugging [default=no]
1438 --disable-deprecated do not build deprecated functionality
1441 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1442 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1443 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1445 --with-aix-soname=aix|svr4|both
1446 shared library versioning (aka "SONAME") variant to
1447 provide on AIX, [default=aix].
1448 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1449 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1450 compiler's sysroot if not specified).
1452 Some influential environment variables:
1453 CC C compiler command
1454 CFLAGS C compiler flags
1455 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1456 nonstandard directory <lib dir>
1457 LIBS libraries to pass to the linker, e.g. -l<library>
1458 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1459 you have headers in a nonstandard directory <include dir>
1461 User-defined run-time library search path.
1463 PKG_CONFIG path to pkg-config utility
1465 directories to add to pkg-config's search path
1467 path overriding pkg-config's built-in search path
1469 Use these variables to override the choices made by `configure' or to help
1470 it to find libraries and programs with nonstandard names/locations.
1472 Report bugs to <https://github.com/fribidi/fribidi/issues/new>.
1473 GNU FriBidi home page: <http://fribidi.org/>.
1474 General help using GNU software: <http://www.gnu.org/gethelp/>.
1479 if test "$ac_init_help" = "recursive"; then
1480 # If there are subdirs, report their specific --help.
1481 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1482 test -d "$ac_dir" ||
1483 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1491 # A ".." for each directory in $ac_dir_suffix.
1492 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1493 case $ac_top_builddir_sub in
1494 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1498 ac_abs_top_builddir=$ac_pwd
1499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1500 # for backward compatibility:
1501 ac_top_builddir=$ac_top_build_prefix
1504 .) # We are building in place.
1506 ac_top_srcdir=$ac_top_builddir_sub
1507 ac_abs_top_srcdir=$ac_pwd ;;
1508 [\\/]* | ?:[\\/]* ) # Absolute name.
1509 ac_srcdir=$srcdir$ac_dir_suffix;
1510 ac_top_srcdir=$srcdir
1511 ac_abs_top_srcdir=$srcdir ;;
1513 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1514 ac_top_srcdir=$ac_top_build_prefix$srcdir
1515 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519 cd "$ac_dir" || { ac_status=$?; continue; }
1520 # Check for guested configure.
1521 if test -f "$ac_srcdir/configure.gnu"; then
1523 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1524 elif test -f "$ac_srcdir/configure"; then
1526 $SHELL "$ac_srcdir/configure" --help=recursive
1528 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530 cd "$ac_pwd" || { ac_status=$?; break; }
1534 test -n "$ac_init_help" && exit $ac_status
1535 if $ac_init_version; then
1537 GNU FriBidi configure 1.0.10
1538 generated by GNU Autoconf 2.69
1540 Copyright (C) 2012 Free Software Foundation, Inc.
1541 This configure script is free software; the Free Software Foundation
1542 gives unlimited permission to copy, distribute and modify it.
1547 ## ------------------------ ##
1548 ## Autoconf initialization. ##
1549 ## ------------------------ ##
1551 # ac_fn_c_try_compile LINENO
1552 # --------------------------
1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_compile ()
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 rm -f conftest.$ac_objext
1558 if { { ac_try="$ac_compile"
1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_compile") 2>conftest.err
1567 if test -s conftest.err; then
1568 grep -v '^ *+' conftest.err >conftest.er1
1569 cat conftest.er1 >&5
1570 mv -f conftest.er1 conftest.err
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && {
1574 test -z "$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1576 } && test -s conftest.$ac_objext; then :
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1585 as_fn_set_status $ac_retval
1587 } # ac_fn_c_try_compile
1589 # ac_fn_c_try_link LINENO
1590 # -----------------------
1591 # Try to link conftest.$ac_ext, and return whether this succeeded.
1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595 rm -f conftest.$ac_objext conftest$ac_exeext
1596 if { { ac_try="$ac_link"
1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599 *) ac_try_echo=$ac_try;;
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_link") 2>conftest.err
1605 if test -s conftest.err; then
1606 grep -v '^ *+' conftest.err >conftest.er1
1607 cat conftest.er1 >&5
1608 mv -f conftest.er1 conftest.err
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; } && {
1612 test -z "$ac_c_werror_flag" ||
1613 test ! -s conftest.err
1614 } && test -s conftest$ac_exeext && {
1615 test "$cross_compiling" = yes ||
1616 test -x conftest$ac_exeext
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1625 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1626 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1627 # interfere with the next link command; also delete a directory that is
1628 # left behind by Apple's compiler. We do this before executing the actions.
1629 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_c_try_link
1635 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1636 # -------------------------------------------------------
1637 # Tests whether HEADER exists and can be compiled using the include files in
1638 # INCLUDES, setting the cache variable VAR accordingly.
1639 ac_fn_c_check_header_compile ()
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1652 if ac_fn_c_try_compile "$LINENO"; then :
1657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661 $as_echo "$ac_res" >&6; }
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 } # ac_fn_c_check_header_compile
1666 # ac_fn_c_try_cpp LINENO
1667 # ----------------------
1668 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 if { { ac_try="$ac_cpp conftest.$ac_ext"
1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1681 if test -s conftest.err; then
1682 grep -v '^ *+' conftest.err >conftest.er1
1683 cat conftest.er1 >&5
1684 mv -f conftest.er1 conftest.err
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } > conftest.i && {
1688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1689 test ! -s conftest.err
1693 $as_echo "$as_me: failed program was:" >&5
1694 sed 's/^/| /' conftest.$ac_ext >&5
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status $ac_retval
1703 # ac_fn_c_try_run LINENO
1704 # ----------------------
1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1706 # that executables *can* be run.
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 if { { ac_try="$ac_link"
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_link") 2>&5
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1721 { { case "(($ac_try" in
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_try") 2>&5
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; }; }; then :
1733 $as_echo "$as_me: program exited with status $ac_status" >&5
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1737 ac_retval=$ac_status
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 as_fn_set_status $ac_retval
1745 # ac_fn_c_check_func LINENO FUNC VAR
1746 # ----------------------------------
1747 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1748 ac_fn_c_check_func ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if eval \${$3+:} false; then :
1754 $as_echo_n "(cached) " >&6
1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1758 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1760 #define $2 innocuous_$2
1762 /* System header to define __stub macros and hopefully few prototypes,
1763 which can conflict with char $2 (); below.
1764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1765 <limits.h> exists even on freestanding compilers. */
1768 # include <limits.h>
1770 # include <assert.h>
1775 /* Override any GCC internal prototype to avoid an error.
1776 Use char because int might match the return type of a GCC
1777 builtin and then its argument prototype would still apply. */
1782 /* The GNU C library defines this for functions which it implements
1783 to always fail with ENOSYS. Some functions are actually named
1784 something starting with __ and the normal name is an alias. */
1785 #if defined __stub_$2 || defined __stub___$2
1797 if ac_fn_c_try_link "$LINENO"; then :
1802 rm -f core conftest.err conftest.$ac_objext \
1803 conftest$ac_exeext conftest.$ac_ext
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 } # ac_fn_c_check_func
1812 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1813 # -------------------------------------------------------
1814 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1815 # the include files in INCLUDES and setting the cache variable VAR
1817 ac_fn_c_check_header_mongrel ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if eval \${$3+:} false; then :
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \${$3+:} false; then :
1824 $as_echo_n "(cached) " >&6
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1830 # Is the header compilable?
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1832 $as_echo_n "checking $2 usability... " >&6; }
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1838 if ac_fn_c_try_compile "$LINENO"; then :
1839 ac_header_compiler=yes
1841 ac_header_compiler=no
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1845 $as_echo "$ac_header_compiler" >&6; }
1847 # Is the header present?
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1849 $as_echo_n "checking $2 presence... " >&6; }
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1854 if ac_fn_c_try_cpp "$LINENO"; then :
1855 ac_header_preproc=yes
1857 ac_header_preproc=no
1859 rm -f conftest.err conftest.i conftest.$ac_ext
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1861 $as_echo "$ac_header_preproc" >&6; }
1863 # So? What about this header?
1864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1867 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1869 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1873 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1875 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1877 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1879 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1881 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1882 ( $as_echo "## ------------------------------------------------------------ ##
1883 ## Report this to https://github.com/fribidi/fribidi/issues/new ##
1884 ## ------------------------------------------------------------ ##"
1885 ) | sed "s/^/$as_me: WARNING: /" >&2
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1893 eval "$3=\$ac_header_compiler"
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 } # ac_fn_c_check_header_mongrel
1903 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1904 # --------------------------------------------
1905 # Tries to find the compile-time value of EXPR in a program that includes
1906 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1908 ac_fn_c_compute_int ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if test "$cross_compiling" = yes; then
1912 # Depending upon the size, compute the lo and hi bounds.
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1919 static int test_array [1 - 2 * !(($2) >= 0)];
1921 return test_array [0];
1927 if ac_fn_c_try_compile "$LINENO"; then :
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1936 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1938 return test_array [0];
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 ac_hi=$ac_mid; break
1947 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1948 if test $ac_lo -le $ac_mid; then
1952 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1963 static int test_array [1 - 2 * !(($2) < 0)];
1965 return test_array [0];
1971 if ac_fn_c_try_compile "$LINENO"; then :
1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975 /* end confdefs.h. */
1980 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1982 return test_array [0];
1988 if ac_fn_c_try_compile "$LINENO"; then :
1989 ac_lo=$ac_mid; break
1991 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1992 if test $ac_mid -le $ac_hi; then
1996 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 # Binary search between lo and hi bounds.
2007 while test "x$ac_lo" != "x$ac_hi"; do
2008 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2015 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2017 return test_array [0];
2023 if ac_fn_c_try_compile "$LINENO"; then :
2026 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2038 static long int longval () { return $2; }
2039 static unsigned long int ulongval () { return $2; }
2046 FILE *f = fopen ("conftest.val", "w");
2051 long int i = longval ();
2054 fprintf (f, "%ld", i);
2058 unsigned long int i = ulongval ();
2061 fprintf (f, "%lu", i);
2063 /* Do not output a trailing newline, as this causes \r\n confusion
2064 on some platforms. */
2065 return ferror (f) || fclose (f) != 0;
2071 if ac_fn_c_try_run "$LINENO"; then :
2072 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2077 conftest.$ac_objext conftest.beam conftest.$ac_ext
2081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082 as_fn_set_status $ac_retval
2084 } # ac_fn_c_compute_int
2085 cat >config.log <<_ACEOF
2086 This file contains any messages produced by compilers while
2087 running configure, to aid debugging if configure makes a mistake.
2089 It was created by GNU FriBidi $as_me 1.0.10, which was
2090 generated by GNU Autoconf 2.69. Invocation command line was
2102 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2103 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2104 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2105 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2106 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2108 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2109 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2111 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2112 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2113 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2114 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2115 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2116 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2117 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 $as_echo "PATH: $as_dir"
2142 # Keep a trace of the command line.
2143 # Strip out --no-create and --no-recursion so they do not pile up.
2144 # Strip out --silent because we don't want to record it for future runs.
2145 # Also quote any args containing shell meta-characters.
2146 # Make two passes to allow for proper duplicate-argument suppression.
2150 ac_must_keep_next=false
2156 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2157 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2158 | -silent | --silent | --silen | --sile | --sil)
2161 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2164 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2166 as_fn_append ac_configure_args1 " '$ac_arg'"
2167 if test $ac_must_keep_next = true; then
2168 ac_must_keep_next=false # Got value, back to normal.
2171 *=* | --config-cache | -C | -disable-* | --disable-* \
2172 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2173 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2174 | -with-* | --with-* | -without-* | --without-* | --x)
2175 case "$ac_configure_args0 " in
2176 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2179 -* ) ac_must_keep_next=true ;;
2182 as_fn_append ac_configure_args " '$ac_arg'"
2187 { ac_configure_args0=; unset ac_configure_args0;}
2188 { ac_configure_args1=; unset ac_configure_args1;}
2190 # When interrupted or exit'd, cleanup temporary files, and complete
2191 # config.log. We remove comments because anyway the quotes in there
2192 # would cause problems or look ugly.
2193 # WARNING: Use '\'' to represent an apostrophe within the trap.
2194 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2195 trap 'exit_status=$?
2196 # Save into config.log some information that might help in debugging.
2200 $as_echo "## ---------------- ##
2201 ## Cache variables. ##
2202 ## ---------------- ##"
2204 # The following way of writing the cache mishandles newlines in values,
2206 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2207 eval ac_val=\$$ac_var
2211 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2212 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2215 _ | IFS | as_nl) ;; #(
2216 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2217 *) { eval $ac_var=; unset $ac_var;} ;;
2222 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2223 *${as_nl}ac_space=\ *)
2225 "s/'\''/'\''\\\\'\'''\''/g;
2226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2236 $as_echo "## ----------------- ##
2237 ## Output variables. ##
2238 ## ----------------- ##"
2240 for ac_var in $ac_subst_vars
2242 eval ac_val=\$$ac_var
2244 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 $as_echo "$ac_var='\''$ac_val'\''"
2250 if test -n "$ac_subst_files"; then
2251 $as_echo "## ------------------- ##
2252 ## File substitutions. ##
2253 ## ------------------- ##"
2255 for ac_var in $ac_subst_files
2257 eval ac_val=\$$ac_var
2259 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2261 $as_echo "$ac_var='\''$ac_val'\''"
2266 if test -s confdefs.h; then
2267 $as_echo "## ----------- ##
2274 test "$ac_signal" != 0 &&
2275 $as_echo "$as_me: caught signal $ac_signal"
2276 $as_echo "$as_me: exit $exit_status"
2278 rm -f core *.core core.conftest.* &&
2279 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2282 for ac_signal in 1 2 13 15; do
2283 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2287 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2288 rm -f -r conftest* confdefs.h
2290 $as_echo "/* confdefs.h */" > confdefs.h
2292 # Predefined preprocessor variables.
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_NAME "$PACKAGE_NAME"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_STRING "$PACKAGE_STRING"
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_URL "$PACKAGE_URL"
2319 # Let the site file select an alternate cache file if it wants to.
2320 # Prefer an explicitly selected file to automatically selected ones.
2323 if test -n "$CONFIG_SITE"; then
2324 # We do not want a PATH search for config.site.
2325 case $CONFIG_SITE in #((
2326 -*) ac_site_file1=./$CONFIG_SITE;;
2327 */*) ac_site_file1=$CONFIG_SITE;;
2328 *) ac_site_file1=./$CONFIG_SITE;;
2330 elif test "x$prefix" != xNONE; then
2331 ac_site_file1=$prefix/share/config.site
2332 ac_site_file2=$prefix/etc/config.site
2334 ac_site_file1=$ac_default_prefix/share/config.site
2335 ac_site_file2=$ac_default_prefix/etc/config.site
2337 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2339 test "x$ac_site_file" = xNONE && continue
2340 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2342 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2343 sed 's/^/| /' "$ac_site_file" >&5
2345 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347 as_fn_error $? "failed to load site script $ac_site_file
2348 See \`config.log' for more details" "$LINENO" 5; }
2352 if test -r "$cache_file"; then
2353 # Some versions of bash will fail to source /dev/null (special files
2354 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2355 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2357 $as_echo "$as_me: loading cache $cache_file" >&6;}
2359 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2360 *) . "./$cache_file";;
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2365 $as_echo "$as_me: creating cache $cache_file" >&6;}
2369 # Check that the precious variables saved in the cache have kept the same
2371 ac_cache_corrupted=false
2372 for ac_var in $ac_precious_vars; do
2373 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2374 eval ac_new_set=\$ac_env_${ac_var}_set
2375 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2376 eval ac_new_val=\$ac_env_${ac_var}_value
2377 case $ac_old_set,$ac_new_set in
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2380 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2381 ac_cache_corrupted=: ;;
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2384 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2385 ac_cache_corrupted=: ;;
2388 if test "x$ac_old_val" != "x$ac_new_val"; then
2389 # differences in whitespace do not lead to failure.
2390 ac_old_val_w=`echo x $ac_old_val`
2391 ac_new_val_w=`echo x $ac_new_val`
2392 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2394 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2395 ac_cache_corrupted=:
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2398 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2399 eval $ac_var=\$ac_old_val
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2402 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2404 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2407 # Pass precious variables to config.status.
2408 if test "$ac_new_set" = set; then
2410 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 *) ac_arg=$ac_var=$ac_new_val ;;
2413 case " $ac_configure_args " in
2414 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2415 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2419 if $ac_cache_corrupted; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2423 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2424 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2426 ## -------------------- ##
2427 ## Main body of script. ##
2428 ## -------------------- ##
2431 ac_cpp='$CPP $CPPFLAGS'
2432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2439 ac_config_headers="$ac_config_headers config.h"
2443 am__api_version='1.16'
2446 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2447 if test -f "$ac_dir/install-sh"; then
2449 ac_install_sh="$ac_aux_dir/install-sh -c"
2451 elif test -f "$ac_dir/install.sh"; then
2453 ac_install_sh="$ac_aux_dir/install.sh -c"
2455 elif test -f "$ac_dir/shtool"; then
2457 ac_install_sh="$ac_aux_dir/shtool install -c"
2461 if test -z "$ac_aux_dir"; then
2462 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2465 # These three variables are undocumented and unsupported,
2466 # and are intended to be withdrawn in a future Autoconf release.
2467 # They can cause serious problems if a builder's source tree is in a directory
2468 # whose full name contains unusual characters.
2469 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2470 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2471 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2474 # Find a good install program. We prefer a C program (faster),
2475 # so one script is as good as another. But avoid the broken or
2476 # incompatible versions:
2477 # SysV /etc/install, /usr/sbin/install
2478 # SunOS /usr/etc/install
2479 # IRIX /sbin/install
2481 # AmigaOS /C/install, which installs bootblocks on floppy discs
2482 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2483 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2484 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2485 # OS/2's system install, which has a completely different semantic
2486 # ./install, which can be erroneously created by make from ./install.sh.
2487 # Reject install programs that cannot install multiple files.
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2489 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2490 if test -z "$INSTALL"; then
2491 if ${ac_cv_path_install+:} false; then :
2492 $as_echo_n "(cached) " >&6
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 # Account for people who put trailing slashes in PATH elements.
2500 case $as_dir/ in #((
2501 ./ | .// | /[cC]/* | \
2502 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2503 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2506 # OSF1 and SCO ODT 3.0 have their own names for install.
2507 # Don't use installbsd from OSF since it installs stuff as root
2509 for ac_prog in ginstall scoinst install; do
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2512 if test $ac_prog = install &&
2513 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2514 # AIX install. It has an incompatible calling convention.
2516 elif test $ac_prog = install &&
2517 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2518 # program-specific install script used by HP pwplus--don't use.
2521 rm -rf conftest.one conftest.two conftest.dir
2522 echo one > conftest.one
2523 echo two > conftest.two
2525 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2526 test -s conftest.one && test -s conftest.two &&
2527 test -s conftest.dir/conftest.one &&
2528 test -s conftest.dir/conftest.two
2530 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2543 rm -rf conftest.one conftest.two conftest.dir
2546 if test "${ac_cv_path_install+set}" = set; then
2547 INSTALL=$ac_cv_path_install
2549 # As a last resort, use the slow shell script. Don't cache a
2550 # value for INSTALL within a source directory, because that will
2551 # break other packages using the cache if that directory is
2552 # removed, or if the value is a relative name.
2553 INSTALL=$ac_install_sh
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2557 $as_echo "$INSTALL" >&6; }
2559 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2560 # It thinks the first close brace ends the variable substitution.
2561 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2563 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2565 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2568 $as_echo_n "checking whether build environment is sane... " >&6; }
2569 # Reject unsafe characters in $srcdir or the absolute working directory
2570 # name. Accept space and tab only in the latter.
2574 *[\\\"\#\$\&\'\`$am_lf]*)
2575 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2578 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2579 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2582 # Do 'set' in a subshell so we don't clobber the current shell's
2583 # arguments. Must try -L first in case configure is actually a
2584 # symlink; some systems play weird games with the mod time of symlinks
2585 # (eg FreeBSD returns the mod time of the symlink's containing
2589 for am_try in 1 2; do
2590 echo "timestamp, slept: $am_has_slept" > conftest.file
2591 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2592 if test "$*" = "X"; then
2594 set X `ls -t "$srcdir/configure" conftest.file`
2596 if test "$*" != "X $srcdir/configure conftest.file" \
2597 && test "$*" != "X conftest.file $srcdir/configure"; then
2599 # If neither matched, then we have a broken ls. This can happen
2600 # if, for instance, CONFIG_SHELL is bash and it inherits a
2601 # broken ls alias from the environment. This has actually
2602 # happened. Such a system could not be considered "sane".
2603 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2604 alias in your environment" "$LINENO" 5
2606 if test "$2" = conftest.file || test $am_try -eq 2; then
2613 test "$2" = conftest.file
2619 as_fn_error $? "newly created file is older than distributed files!
2620 Check your system clock" "$LINENO" 5
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2623 $as_echo "yes" >&6; }
2624 # If we didn't sleep, we still need to ensure time stamps of config.status and
2625 # generated files are strictly newer.
2627 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2634 test "$program_prefix" != NONE &&
2635 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2636 # Use a double $ so make ignores it.
2637 test "$program_suffix" != NONE &&
2638 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2639 # Double any \ or $.
2640 # By default was `s,x,x', remove it if useless.
2641 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2642 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2644 # Expand $ac_aux_dir to an absolute path.
2645 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2647 if test x"${MISSING+set}" != xset; then
2650 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2652 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2655 # Use eval to expand $SHELL
2656 if eval "$MISSING --is-lightweight"; then
2657 am_missing_run="$MISSING "
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2661 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2664 if test x"${install_sh+set}" != xset; then
2667 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2669 install_sh="\${SHELL} $am_aux_dir/install-sh"
2673 # Installed binaries are usually stripped using 'strip' when the user
2674 # run "make install-strip". However 'strip' might not be the right
2675 # tool to use in cross-compilation environments, therefore Automake
2676 # will honor the 'STRIP' environment variable to overrule this program.
2677 if test "$cross_compiling" != no; then
2678 if test -n "$ac_tool_prefix"; then
2679 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2680 set dummy ${ac_tool_prefix}strip; ac_word=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if ${ac_cv_prog_STRIP+:} false; then :
2684 $as_echo_n "(cached) " >&6
2686 if test -n "$STRIP"; then
2687 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir=.
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 STRIP=$ac_cv_prog_STRIP
2707 if test -n "$STRIP"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2709 $as_echo "$STRIP" >&6; }
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2717 if test -z "$ac_cv_prog_STRIP"; then
2719 # Extract the first word of "strip", so it can be a program name with args.
2720 set dummy strip; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$ac_ct_STRIP"; then
2727 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_ac_ct_STRIP="strip"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2747 if test -n "$ac_ct_STRIP"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2749 $as_echo "$ac_ct_STRIP" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2755 if test "x$ac_ct_STRIP" = x; then
2758 case $cross_compiling:$ac_tool_warned in
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2762 ac_tool_warned=yes ;;
2767 STRIP="$ac_cv_prog_STRIP"
2771 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2774 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2775 if test -z "$MKDIR_P"; then
2776 if ${ac_cv_path_mkdir+:} false; then :
2777 $as_echo_n "(cached) " >&6
2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2783 test -z "$as_dir" && as_dir=.
2784 for ac_prog in mkdir gmkdir; do
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2787 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2788 'mkdir (GNU coreutils) '* | \
2789 'mkdir (coreutils) '* | \
2790 'mkdir (fileutils) '4.1*)
2791 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2801 test -d ./--version && rmdir ./--version
2802 if test "${ac_cv_path_mkdir+set}" = set; then
2803 MKDIR_P="$ac_cv_path_mkdir -p"
2805 # As a last resort, use the slow shell script. Don't cache a
2806 # value for MKDIR_P within a source directory, because that will
2807 # break other packages using the cache if that directory is
2808 # removed, or if the value is a relative name.
2809 MKDIR_P="$ac_install_sh -d"
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2813 $as_echo "$MKDIR_P" >&6; }
2815 for ac_prog in gawk mawk nawk awk
2817 # Extract the first word of "$ac_prog", so it can be a program name with args.
2818 set dummy $ac_prog; ac_word=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_AWK+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$AWK"; then
2825 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir=.
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_AWK="$ac_prog"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 if test -n "$AWK"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2847 $as_echo "$AWK" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2854 test -n "$AWK" && break
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2858 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2860 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2861 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 cat >conftest.make <<\_ACEOF
2867 @echo '@@@%%%=$(MAKE)=@@@%%%'
2869 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2870 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2872 eval ac_cv_prog_make_${ac_make}_set=yes;;
2874 eval ac_cv_prog_make_${ac_make}_set=no;;
2878 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2880 $as_echo "yes" >&6; }
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884 $as_echo "no" >&6; }
2885 SET_MAKE="MAKE=${MAKE-make}"
2888 rm -rf .tst 2>/dev/null
2889 mkdir .tst 2>/dev/null
2890 if test -d .tst; then
2895 rmdir .tst 2>/dev/null
2897 # Check whether --enable-silent-rules was given.
2898 if test "${enable_silent_rules+set}" = set; then :
2899 enableval=$enable_silent_rules;
2902 case $enable_silent_rules in # (((
2903 yes) AM_DEFAULT_VERBOSITY=0;;
2904 no) AM_DEFAULT_VERBOSITY=1;;
2905 *) AM_DEFAULT_VERBOSITY=1;;
2907 am_make=${MAKE-make}
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2909 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2910 if ${am_cv_make_support_nested_variables+:} false; then :
2911 $as_echo_n "(cached) " >&6
2913 if $as_echo 'TRUE=$(BAR$(V))
2919 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2920 am_cv_make_support_nested_variables=yes
2922 am_cv_make_support_nested_variables=no
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2926 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2927 if test $am_cv_make_support_nested_variables = yes; then
2929 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2931 AM_V=$AM_DEFAULT_VERBOSITY
2932 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2936 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2937 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2938 # is not polluted with repeated "-I."
2939 am__isrc=' -I$(srcdir)'
2940 # test to see if srcdir already configured
2941 if test -f $srcdir/config.status; then
2942 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2946 # test whether we have cygpath
2947 if test -z "$CYGPATH_W"; then
2948 if (cygpath --version) >/dev/null 2>/dev/null; then
2949 CYGPATH_W='cygpath -w'
2956 # Define the identity of the package.
2961 # Some tools Automake needs.
2963 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2966 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2969 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2972 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2975 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2977 # For better backward compatibility. To be removed once Automake 1.9.x
2978 # dies out for good. For more background, see:
2979 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2980 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2981 mkdir_p='$(MKDIR_P)'
2983 # We need awk for the "check" target (and possibly the TAP driver). The
2984 # system "awk" is bad on some platforms.
2985 # Always define AMTAR for backward compatibility. Yes, it's still used
2986 # in the wild :-( We should find a proper way to deprecate it ...
2990 # We'll loop over all known methods to create a tar archive until one works.
2991 _am_tools='gnutar pax cpio none'
2993 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3000 # POSIX will say in a future version that running "rm -f" with no argument
3001 # is OK; and we want to be able to make that assumption in our Makefile
3002 # recipes. So use an aggressive probe to check that the usage we want is
3003 # actually supported "in the wild" to an acceptable degree.
3004 # See automake bug#10828.
3005 # To make any issue more visible, cause the running configure to be aborted
3006 # by default if the 'rm' program in use doesn't match our expectations; the
3007 # user can still override this though.
3008 if rm -f && rm -fr && rm -rf; then : OK; else
3012 Your 'rm' program seems unable to run without file operands specified
3013 on the command line, even when the '-f' option is present. This is contrary
3014 to the behaviour of most rm programs out there, and not conforming with
3015 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3017 Please tell bug-automake@gnu.org about your system, including the value
3018 of your $PATH and any error possibly output before this message. This
3019 can help us improve future automake versions.
3022 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3023 echo 'Configuration will proceed anyway, since you have set the' >&2
3024 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3028 Aborting the configuration process, to ensure you take notice of the issue.
3030 You can download and install GNU coreutils to get an 'rm' implementation
3031 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3033 If you want to complete the configuration process using your problematic
3034 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3035 to "yes", and re-run configure.
3038 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3042 # Check whether --enable-silent-rules was given.
3043 if test "${enable_silent_rules+set}" = set; then :
3044 enableval=$enable_silent_rules;
3047 case $enable_silent_rules in # (((
3048 yes) AM_DEFAULT_VERBOSITY=0;;
3049 no) AM_DEFAULT_VERBOSITY=1;;
3050 *) AM_DEFAULT_VERBOSITY=0;;
3052 am_make=${MAKE-make}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3054 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3055 if ${am_cv_make_support_nested_variables+:} false; then :
3056 $as_echo_n "(cached) " >&6
3058 if $as_echo 'TRUE=$(BAR$(V))
3064 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3065 am_cv_make_support_nested_variables=yes
3067 am_cv_make_support_nested_variables=no
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3071 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3072 if test $am_cv_make_support_nested_variables = yes; then
3074 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3076 AM_V=$AM_DEFAULT_VERBOSITY
3077 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3082 DEPDIR="${am__leading_dot}deps"
3084 ac_config_commands="$ac_config_commands depfiles"
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3087 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3088 cat > confinc.mk << 'END'
3090 @echo this is the am__doit target >confinc.out
3095 # BSD make does it like this.
3096 echo '.include "confinc.mk" # ignored' > confmf.BSD
3097 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3098 echo 'include confinc.mk # ignored' > confmf.GNU
3100 for s in GNU BSD; do
3101 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3102 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3106 case $?:`cat confinc.out 2>/dev/null` in #(
3107 '0:this is the am__doit target') :
3110 am__include='.include' am__quote='"' ;; #(
3112 am__include='include' am__quote='' ;;
3117 if test "$am__include" != "#"; then
3118 _am_result="yes ($s style)"
3122 rm -f confinc.* confmf.*
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3124 $as_echo "${_am_result}" >&6; }
3126 # Check whether --enable-dependency-tracking was given.
3127 if test "${enable_dependency_tracking+set}" = set; then :
3128 enableval=$enable_dependency_tracking;
3131 if test "x$enable_dependency_tracking" != xno; then
3132 am_depcomp="$ac_aux_dir/depcomp"
3136 if test "x$enable_dependency_tracking" != xno; then
3146 ac_cpp='$CPP $CPPFLAGS'
3147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3150 if test -n "$ac_tool_prefix"; then
3151 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3152 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_CC+:} false; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$CC"; then
3159 ac_cv_prog_CC="$CC" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 if test -n "$CC"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3181 $as_echo "$CC" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3189 if test -z "$ac_cv_prog_CC"; then
3191 # Extract the first word of "gcc", so it can be a program name with args.
3192 set dummy gcc; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3196 $as_echo_n "(cached) " >&6
3198 if test -n "$ac_ct_CC"; then
3199 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_ac_ct_CC="gcc"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3219 if test -n "$ac_ct_CC"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3221 $as_echo "$ac_ct_CC" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3227 if test "x$ac_ct_CC" = x; then
3230 case $cross_compiling:$ac_tool_warned in
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned=yes ;;
3242 if test -z "$CC"; then
3243 if test -n "$ac_tool_prefix"; then
3244 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3245 set dummy ${ac_tool_prefix}cc; ac_word=$2
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if ${ac_cv_prog_CC+:} false; then :
3249 $as_echo_n "(cached) " >&6
3251 if test -n "$CC"; then
3252 ac_cv_prog_CC="$CC" # Let the user override the test.
3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir=.
3259 for ac_exec_ext in '' $ac_executable_extensions; do
3260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3261 ac_cv_prog_CC="${ac_tool_prefix}cc"
3262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 if test -n "$CC"; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274 $as_echo "$CC" >&6; }
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277 $as_echo "no" >&6; }
3283 if test -z "$CC"; then
3284 # Extract the first word of "cc", so it can be a program name with args.
3285 set dummy cc; ac_word=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if ${ac_cv_prog_CC+:} false; then :
3289 $as_echo_n "(cached) " >&6
3291 if test -n "$CC"; then
3292 ac_cv_prog_CC="$CC" # Let the user override the test.
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3303 ac_prog_rejected=yes
3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3314 if test $ac_prog_rejected = yes; then
3315 # We found a bogon in the path, so make sure we never use it.
3316 set dummy $ac_cv_prog_CC
3318 if test $# != 0; then
3319 # We chose a different compiler from the bogus one.
3320 # However, it has the same basename, so the bogon will be chosen
3321 # first if we set CC to just the basename; use the full file name.
3323 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3329 if test -n "$CC"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3331 $as_echo "$CC" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3339 if test -z "$CC"; then
3340 if test -n "$ac_tool_prefix"; then
3341 for ac_prog in cl.exe
3343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if ${ac_cv_prog_CC+:} false; then :
3348 $as_echo_n "(cached) " >&6
3350 if test -n "$CC"; then
3351 ac_cv_prog_CC="$CC" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 if test -n "$CC"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3373 $as_echo "$CC" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3380 test -n "$CC" && break
3383 if test -z "$CC"; then
3385 for ac_prog in cl.exe
3387 # Extract the first word of "$ac_prog", so it can be a program name with args.
3388 set dummy $ac_prog; ac_word=$2
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390 $as_echo_n "checking for $ac_word... " >&6; }
3391 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3392 $as_echo_n "(cached) " >&6
3394 if test -n "$ac_ct_CC"; then
3395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 test -z "$as_dir" && as_dir=.
3402 for ac_exec_ext in '' $ac_executable_extensions; do
3403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404 ac_cv_prog_ac_ct_CC="$ac_prog"
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3415 if test -n "$ac_ct_CC"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3417 $as_echo "$ac_ct_CC" >&6; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3424 test -n "$ac_ct_CC" && break
3427 if test "x$ac_ct_CC" = x; then
3430 case $cross_compiling:$ac_tool_warned in
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3434 ac_tool_warned=yes ;;
3443 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error $? "no acceptable C compiler found in \$PATH
3446 See \`config.log' for more details" "$LINENO" 5; }
3448 # Provide some information about the compiler.
3449 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3452 for ac_option in --version -v -V -qversion; do
3453 { { ac_try="$ac_compiler $ac_option >&5"
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3462 if test -s conftest.err; then
3464 ... rest of stderr output deleted ...
3465 10q' conftest.err >conftest.er1
3466 cat conftest.er1 >&5
3468 rm -f conftest.er1 conftest.err
3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470 test $ac_status = 0; }
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 ac_clean_files_save=$ac_clean_files
3485 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3486 # Try to create an executable without -o first, disregard a.out.
3487 # It will help us diagnose broken compilers, and finding out an intuition
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3490 $as_echo_n "checking whether the C compiler works... " >&6; }
3491 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3493 # The possible output files:
3494 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3497 for ac_file in $ac_files
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3506 if { { ac_try="$ac_link_default"
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3512 $as_echo "$ac_try_echo"; } >&5
3513 (eval "$ac_link_default") 2>&5
3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3516 test $ac_status = 0; }; then :
3517 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3518 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3519 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3520 # so that the user can short-circuit this test for compilers unknown to
3522 for ac_file in $ac_files ''
3524 test -f "$ac_file" || continue
3526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3529 # We found the default executable, but exeext='' is most
3533 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3535 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3537 # We set ac_cv_exeext here because the later test for it is not
3538 # safe: cross compilers may not add the suffix if given an `-o'
3539 # argument, so we may need to know it at that point already.
3540 # Even if this section looks crufty: it has the advantage of
3547 test "$ac_cv_exeext" = no && ac_cv_exeext=
3552 if test -z "$ac_file"; then :
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 $as_echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.$ac_ext >&5
3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 as_fn_error 77 "C compiler cannot create executables
3561 See \`config.log' for more details" "$LINENO" 5; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3564 $as_echo "yes" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3567 $as_echo_n "checking for C compiler default output file name... " >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3569 $as_echo "$ac_file" >&6; }
3570 ac_exeext=$ac_cv_exeext
3572 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3573 ac_clean_files=$ac_clean_files_save
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3575 $as_echo_n "checking for suffix of executables... " >&6; }
3576 if { { ac_try="$ac_link"
3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3582 $as_echo "$ac_try_echo"; } >&5
3583 (eval "$ac_link") 2>&5
3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3586 test $ac_status = 0; }; then :
3587 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3588 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3589 # work properly (i.e., refer to `conftest.exe'), while it won't with
3591 for ac_file in conftest.exe conftest conftest.*; do
3592 test -f "$ac_file" || continue
3594 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3595 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3603 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3604 See \`config.log' for more details" "$LINENO" 5; }
3606 rm -f conftest conftest$ac_cv_exeext
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3608 $as_echo "$ac_cv_exeext" >&6; }
3610 rm -f conftest.$ac_ext
3611 EXEEXT=$ac_cv_exeext
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3619 FILE *f = fopen ("conftest.out", "w");
3620 return ferror (f) || fclose (f) != 0;
3626 ac_clean_files="$ac_clean_files conftest.out"
3627 # Check that the compiler produces executables we can run. If not, either
3628 # the compiler is broken, or we cross compile.
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3630 $as_echo_n "checking whether we are cross compiling... " >&6; }
3631 if test "$cross_compiling" != yes; then
3632 { { ac_try="$ac_link"
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638 $as_echo "$ac_try_echo"; } >&5
3639 (eval "$ac_link") 2>&5
3641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642 test $ac_status = 0; }
3643 if { ac_try='./conftest$ac_cv_exeext'
3644 { { case "(($ac_try" in
3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646 *) ac_try_echo=$ac_try;;
3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 $as_echo "$ac_try_echo"; } >&5
3650 (eval "$ac_try") 2>&5
3652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3653 test $ac_status = 0; }; }; then
3656 if test "$cross_compiling" = maybe; then
3659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3661 as_fn_error $? "cannot run C compiled programs.
3662 If you meant to cross compile, use \`--host'.
3663 See \`config.log' for more details" "$LINENO" 5; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3668 $as_echo "$cross_compiling" >&6; }
3670 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3671 ac_clean_files=$ac_clean_files_save
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3673 $as_echo_n "checking for suffix of object files... " >&6; }
3674 if ${ac_cv_objext+:} false; then :
3675 $as_echo_n "(cached) " >&6
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 rm -f conftest.o conftest.obj
3689 if { { ac_try="$ac_compile"
3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3695 $as_echo "$ac_try_echo"; } >&5
3696 (eval "$ac_compile") 2>&5
3698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3699 test $ac_status = 0; }; then :
3700 for ac_file in conftest.o conftest.obj conftest.*; do
3701 test -f "$ac_file" || continue;
3703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3704 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3709 $as_echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error $? "cannot compute suffix of object files: cannot compile
3715 See \`config.log' for more details" "$LINENO" 5; }
3717 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3720 $as_echo "$ac_cv_objext" >&6; }
3721 OBJEXT=$ac_cv_objext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3724 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3725 if ${ac_cv_c_compiler_gnu+:} false; then :
3726 $as_echo_n "(cached) " >&6
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3742 if ac_fn_c_try_compile "$LINENO"; then :
3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3748 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3752 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3753 if test $ac_compiler_gnu = yes; then
3758 ac_test_CFLAGS=${CFLAGS+set}
3759 ac_save_CFLAGS=$CFLAGS
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3761 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3762 if ${ac_cv_prog_cc_g+:} false; then :
3763 $as_echo_n "(cached) " >&6
3765 ac_save_c_werror_flag=$ac_c_werror_flag
3766 ac_c_werror_flag=yes
3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3780 if ac_fn_c_try_compile "$LINENO"; then :
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3795 if ac_fn_c_try_compile "$LINENO"; then :
3798 ac_c_werror_flag=$ac_save_c_werror_flag
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3811 if ac_fn_c_try_compile "$LINENO"; then :
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 ac_c_werror_flag=$ac_save_c_werror_flag
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3822 $as_echo "$ac_cv_prog_cc_g" >&6; }
3823 if test "$ac_test_CFLAGS" = set; then
3824 CFLAGS=$ac_save_CFLAGS
3825 elif test $ac_cv_prog_cc_g = yes; then
3826 if test "$GCC" = yes; then
3832 if test "$GCC" = yes; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3839 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3840 if ${ac_cv_prog_cc_c89+:} false; then :
3841 $as_echo_n "(cached) " >&6
3843 ac_cv_prog_cc_c89=no
3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3851 struct buf { int x; };
3852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3853 static char *e (p, i)
3859 static char *f (char * (*g) (char **, int), char **p, ...)
3864 s = g (p, va_arg (v,int));
3869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3870 function prototypes and stuff, but not '\xHH' hex character constants.
3871 These don't provoke an error unfortunately, instead are silently treated
3872 as 'x'. The following induces an error, until -std is added to get
3873 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3874 array size at least. It's necessary to write '\x00'==0 to get something
3875 that's true only with -std. */
3876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3879 inside strings and character constants. */
3881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3883 int test (int i, double x);
3884 struct s1 {int (*f) (int a);};
3885 struct s2 {int (*f) (double a);};
3886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3892 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3898 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3900 CC="$ac_save_CC $ac_arg"
3901 if ac_fn_c_try_compile "$LINENO"; then :
3902 ac_cv_prog_cc_c89=$ac_arg
3904 rm -f core conftest.err conftest.$ac_objext
3905 test "x$ac_cv_prog_cc_c89" != "xno" && break
3907 rm -f conftest.$ac_ext
3912 case "x$ac_cv_prog_cc_c89" in
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3915 $as_echo "none needed" >&6; } ;;
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3918 $as_echo "unsupported" >&6; } ;;
3920 CC="$CC $ac_cv_prog_cc_c89"
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3922 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3924 if test "x$ac_cv_prog_cc_c89" != xno; then :
3929 ac_cpp='$CPP $CPPFLAGS'
3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3935 ac_cpp='$CPP $CPPFLAGS'
3936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3940 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3941 if ${am_cv_prog_cc_c_o+:} false; then :
3942 $as_echo_n "(cached) " >&6
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 # Make sure it works both with $CC and with simple cc.
3956 # Following AC_PROG_CC_C_O, we do the test twice because some
3957 # compilers refuse to overwrite an existing .o file with -o,
3958 # though they will create one.
3959 am_cv_prog_cc_c_o=yes
3961 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3962 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } \
3966 && test -f conftest2.$ac_objext; then
3969 am_cv_prog_cc_c_o=no
3973 rm -f core conftest*
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3977 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3978 if test "$am_cv_prog_cc_c_o" != yes; then
3979 # Losing compiler, so override with the script.
3980 # FIXME: It is wrong to rewrite CC.
3981 # But if we don't then we get into trouble of one sort or another.
3982 # A longer-term fix would be to have automake use am__CC in this case,
3983 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3984 CC="$am_aux_dir/compile $CC"
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993 depcc="$CC" am_compiler_list=
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3996 $as_echo_n "checking dependency style of $depcc... " >&6; }
3997 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3998 $as_echo_n "(cached) " >&6
4000 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4001 # We make a subdir and do the tests there. Otherwise we can end up
4002 # making bogus files that we don't know about and never remove. For
4003 # instance it was reported that on HP-UX the gcc test will end up
4004 # making a dummy file named 'D' -- because '-MD' means "put the output
4008 # Copy depcomp to subdir because otherwise we won't find it if we're
4009 # using a relative directory.
4010 cp "$am_depcomp" conftest.dir
4012 # We will build objects and dependencies in a subdirectory because
4013 # it helps to detect inapplicable dependency modes. For instance
4014 # both Tru64's cc and ICC support -MD to output dependencies as a
4015 # side effect of compilation, but ICC will put the dependencies in
4016 # the current directory while Tru64 will put them in the object
4020 am_cv_CC_dependencies_compiler_type=none
4021 if test "$am_compiler_list" = ""; then
4022 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4025 case " $depcc " in #(
4026 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4029 for depmode in $am_compiler_list; do
4030 # Setup a source with many dependencies, because some compilers
4031 # like to wrap large dependency lists on column 80 (with \), and
4032 # we should not choose a depcomp mode which is confused by this.
4034 # We need to recreate these files for each test, as the compiler may
4035 # overwrite some of them when testing with obscure command lines.
4036 # This happens at least with the AIX C compiler.
4038 for i in 1 2 3 4 5 6; do
4039 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4040 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4041 # Solaris 10 /bin/sh.
4042 echo '/* dummy */' > sub/conftst$i.h
4044 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4046 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4047 # mode. It turns out that the SunPro C++ compiler does not properly
4048 # handle '-M -o', and we need to detect this. Also, some Intel
4049 # versions had trouble with output in subdirs.
4050 am__obj=sub/conftest.${OBJEXT-o}
4051 am__minus_obj="-o $am__obj"
4054 # This depmode causes a compiler race in universal mode.
4055 test "$am__universal" = false || continue
4058 # After this tag, mechanisms are not by side-effect, so they'll
4059 # only be used when explicitly requested.
4060 if test "x$enable_dependency_tracking" = xyes; then
4066 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4067 # This compiler won't grok '-c -o', but also, the minuso test has
4068 # not run yet. These depmodes are late enough in the game, and
4069 # so weak that their functioning should not be impacted.
4070 am__obj=conftest.${OBJEXT-o}
4075 if depmode=$depmode \
4076 source=sub/conftest.c object=$am__obj \
4077 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4078 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4079 >/dev/null 2>conftest.err &&
4080 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4081 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4082 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4083 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4084 # icc doesn't choke on unknown options, it will just issue warnings
4085 # or remarks (even with -Werror). So we grep stderr for any message
4086 # that says an option was ignored or not supported.
4087 # When given -MP, icc 7.0 and 7.1 complain thusly:
4088 # icc: Command line warning: ignoring option '-M'; no argument required
4089 # The diagnosis changed in icc 8.0:
4090 # icc: Command line remark: option '-MP' not supported
4091 if (grep 'ignoring option' conftest.err ||
4092 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4093 am_cv_CC_dependencies_compiler_type=$depmode
4102 am_cv_CC_dependencies_compiler_type=none
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4107 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4108 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4111 test "x$enable_dependency_tracking" != xno \
4112 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4114 am__fastdepCC_FALSE='#'
4116 am__fastdepCC_TRUE='#'
4117 am__fastdepCC_FALSE=
4122 if test -n "$ac_tool_prefix"; then
4123 for ac_prog in ar lib "link -lib"
4125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_AR+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -n "$AR"; then
4133 ac_cv_prog_AR="$AR" # Let the user override the test.
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir=.
4140 for ac_exec_ext in '' $ac_executable_extensions; do
4141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4142 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 if test -n "$AR"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4155 $as_echo "$AR" >&6; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4162 test -n "$AR" && break
4165 if test -z "$AR"; then
4167 for ac_prog in ar lib "link -lib"
4169 # Extract the first word of "$ac_prog", so it can be a program name with args.
4170 set dummy $ac_prog; ac_word=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -n "$ac_ct_AR"; then
4177 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183 test -z "$as_dir" && as_dir=.
4184 for ac_exec_ext in '' $ac_executable_extensions; do
4185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4186 ac_cv_prog_ac_ct_AR="$ac_prog"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4197 if test -n "$ac_ct_AR"; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4199 $as_echo "$ac_ct_AR" >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202 $as_echo "no" >&6; }
4206 test -n "$ac_ct_AR" && break
4209 if test "x$ac_ct_AR" = x; then
4212 case $cross_compiling:$ac_tool_warned in
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4216 ac_tool_warned=yes ;;
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4225 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4226 if ${am_cv_ar_interface+:} false; then :
4227 $as_echo_n "(cached) " >&6
4230 ac_cpp='$CPP $CPPFLAGS'
4231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4235 am_cv_ar_interface=ar
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4238 int some_variable = 0;
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4242 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4243 (eval $am_ar_try) 2>&5
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }
4247 if test "$ac_status" -eq 0; then
4248 am_cv_ar_interface=ar
4250 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4251 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4252 (eval $am_ar_try) 2>&5
4254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4255 test $ac_status = 0; }
4256 if test "$ac_status" -eq 0; then
4257 am_cv_ar_interface=lib
4259 am_cv_ar_interface=unknown
4262 rm -f conftest.lib libconftest.a
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 ac_cpp='$CPP $CPPFLAGS'
4268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4274 $as_echo "$am_cv_ar_interface" >&6; }
4276 case $am_cv_ar_interface in
4280 # Microsoft lib, so override with the ar-lib wrapper script.
4281 # FIXME: It is wrong to rewrite AR.
4282 # But if we don't then we get into trouble of one sort or another.
4283 # A longer-term fix would be to have automake use am__AR in this case,
4284 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4286 AR="$am_aux_dir/ar-lib $AR"
4289 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4294 # Initialize libtool
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4299 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4304 macro_version='2.4.6'
4305 macro_revision='2.4.6'
4319 ltmain=$ac_aux_dir/ltmain.sh
4321 # Make sure we can run config.sub.
4322 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4323 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4326 $as_echo_n "checking build system type... " >&6; }
4327 if ${ac_cv_build+:} false; then :
4328 $as_echo_n "(cached) " >&6
4330 ac_build_alias=$build_alias
4331 test "x$ac_build_alias" = x &&
4332 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4333 test "x$ac_build_alias" = x &&
4334 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4335 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4336 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4340 $as_echo "$ac_cv_build" >&6; }
4341 case $ac_cv_build in
4343 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4346 ac_save_IFS=$IFS; IFS='-'
4352 # Remember, the first character of IFS is used to create $*,
4353 # except with old shells:
4356 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4360 $as_echo_n "checking host system type... " >&6; }
4361 if ${ac_cv_host+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 if test "x$host_alias" = x; then
4365 ac_cv_host=$ac_cv_build
4367 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4368 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4373 $as_echo "$ac_cv_host" >&6; }
4376 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4379 ac_save_IFS=$IFS; IFS='-'
4385 # Remember, the first character of IFS is used to create $*,
4386 # except with old shells:
4389 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4392 # Backslashify metacharacters that are still active within
4393 # double-quoted strings.
4394 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4396 # Same as above, but do not quote variable references.
4397 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4399 # Sed substitution to delay expansion of an escaped shell variable in a
4400 # double_quote_subst'ed string.
4401 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4403 # Sed substitution to delay expansion of an escaped single quote.
4404 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4406 # Sed substitution to avoid accidental globbing in evaled expressions
4407 no_glob_subst='s/\*/\\\*/g'
4409 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4410 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4411 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4414 $as_echo_n "checking how to print strings... " >&6; }
4415 # Test print first, because it will be a builtin if present.
4416 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4417 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4419 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4422 # Use this function as a fallback that always works.
4423 func_fallback_echo ()
4425 eval 'cat <<_LTECHO_EOF
4429 ECHO='func_fallback_echo'
4432 # func_echo_all arg...
4433 # Invoke $ECHO with all args, space-separated.
4440 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4441 $as_echo "printf" >&6; } ;;
4442 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4443 $as_echo "print -r" >&6; } ;;
4444 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4445 $as_echo "cat" >&6; } ;;
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4462 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4463 if ${ac_cv_path_SED+:} false; then :
4464 $as_echo_n "(cached) " >&6
4466 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4467 for ac_i in 1 2 3 4 5 6 7; do
4468 ac_script="$ac_script$as_nl$ac_script"
4470 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4471 { ac_script=; unset ac_script;}
4472 if test -z "$SED"; then
4473 ac_path_SED_found=false
4474 # Loop through the user's path and test for each of PROGNAME-LIST
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir=.
4480 for ac_prog in sed gsed; do
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4483 as_fn_executable_p "$ac_path_SED" || continue
4484 # Check for GNU ac_path_SED and select it if it is found.
4485 # Check for GNU $ac_path_SED
4486 case `"$ac_path_SED" --version 2>&1` in
4488 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4491 $as_echo_n 0123456789 >"conftest.in"
4494 cat "conftest.in" "conftest.in" >"conftest.tmp"
4495 mv "conftest.tmp" "conftest.in"
4496 cp "conftest.in" "conftest.nl"
4497 $as_echo '' >> "conftest.nl"
4498 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4499 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4500 as_fn_arith $ac_count + 1 && ac_count=$as_val
4501 if test $ac_count -gt ${ac_path_SED_max-0}; then
4502 # Best one so far, save it but keep looking for a better one
4503 ac_cv_path_SED="$ac_path_SED"
4504 ac_path_SED_max=$ac_count
4506 # 10*(2^10) chars as input seems more than enough
4507 test $ac_count -gt 10 && break
4509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4512 $ac_path_SED_found && break 3
4517 if test -z "$ac_cv_path_SED"; then
4518 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4526 $as_echo "$ac_cv_path_SED" >&6; }
4527 SED="$ac_cv_path_SED"
4530 test -z "$SED" && SED=sed
4531 Xsed="$SED -e 1s/^X//"
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4544 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4545 if ${ac_cv_path_GREP+:} false; then :
4546 $as_echo_n "(cached) " >&6
4548 if test -z "$GREP"; then
4549 ac_path_GREP_found=false
4550 # Loop through the user's path and test for each of PROGNAME-LIST
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4555 test -z "$as_dir" && as_dir=.
4556 for ac_prog in grep ggrep; do
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4559 as_fn_executable_p "$ac_path_GREP" || continue
4560 # Check for GNU ac_path_GREP and select it if it is found.
4561 # Check for GNU $ac_path_GREP
4562 case `"$ac_path_GREP" --version 2>&1` in
4564 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4567 $as_echo_n 0123456789 >"conftest.in"
4570 cat "conftest.in" "conftest.in" >"conftest.tmp"
4571 mv "conftest.tmp" "conftest.in"
4572 cp "conftest.in" "conftest.nl"
4573 $as_echo 'GREP' >> "conftest.nl"
4574 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4576 as_fn_arith $ac_count + 1 && ac_count=$as_val
4577 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4578 # Best one so far, save it but keep looking for a better one
4579 ac_cv_path_GREP="$ac_path_GREP"
4580 ac_path_GREP_max=$ac_count
4582 # 10*(2^10) chars as input seems more than enough
4583 test $ac_count -gt 10 && break
4585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4588 $ac_path_GREP_found && break 3
4593 if test -z "$ac_cv_path_GREP"; then
4594 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4597 ac_cv_path_GREP=$GREP
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4602 $as_echo "$ac_cv_path_GREP" >&6; }
4603 GREP="$ac_cv_path_GREP"
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4607 $as_echo_n "checking for egrep... " >&6; }
4608 if ${ac_cv_path_EGREP+:} false; then :
4609 $as_echo_n "(cached) " >&6
4611 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4612 then ac_cv_path_EGREP="$GREP -E"
4614 if test -z "$EGREP"; then
4615 ac_path_EGREP_found=false
4616 # Loop through the user's path and test for each of PROGNAME-LIST
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4621 test -z "$as_dir" && as_dir=.
4622 for ac_prog in egrep; do
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4625 as_fn_executable_p "$ac_path_EGREP" || continue
4626 # Check for GNU ac_path_EGREP and select it if it is found.
4627 # Check for GNU $ac_path_EGREP
4628 case `"$ac_path_EGREP" --version 2>&1` in
4630 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4633 $as_echo_n 0123456789 >"conftest.in"
4636 cat "conftest.in" "conftest.in" >"conftest.tmp"
4637 mv "conftest.tmp" "conftest.in"
4638 cp "conftest.in" "conftest.nl"
4639 $as_echo 'EGREP' >> "conftest.nl"
4640 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4641 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4642 as_fn_arith $ac_count + 1 && ac_count=$as_val
4643 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4644 # Best one so far, save it but keep looking for a better one
4645 ac_cv_path_EGREP="$ac_path_EGREP"
4646 ac_path_EGREP_max=$ac_count
4648 # 10*(2^10) chars as input seems more than enough
4649 test $ac_count -gt 10 && break
4651 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4654 $ac_path_EGREP_found && break 3
4659 if test -z "$ac_cv_path_EGREP"; then
4660 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4663 ac_cv_path_EGREP=$EGREP
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4669 $as_echo "$ac_cv_path_EGREP" >&6; }
4670 EGREP="$ac_cv_path_EGREP"
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4674 $as_echo_n "checking for fgrep... " >&6; }
4675 if ${ac_cv_path_FGREP+:} false; then :
4676 $as_echo_n "(cached) " >&6
4678 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4679 then ac_cv_path_FGREP="$GREP -F"
4681 if test -z "$FGREP"; then
4682 ac_path_FGREP_found=false
4683 # Loop through the user's path and test for each of PROGNAME-LIST
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4688 test -z "$as_dir" && as_dir=.
4689 for ac_prog in fgrep; do
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4692 as_fn_executable_p "$ac_path_FGREP" || continue
4693 # Check for GNU ac_path_FGREP and select it if it is found.
4694 # Check for GNU $ac_path_FGREP
4695 case `"$ac_path_FGREP" --version 2>&1` in
4697 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4700 $as_echo_n 0123456789 >"conftest.in"
4703 cat "conftest.in" "conftest.in" >"conftest.tmp"
4704 mv "conftest.tmp" "conftest.in"
4705 cp "conftest.in" "conftest.nl"
4706 $as_echo 'FGREP' >> "conftest.nl"
4707 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4708 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4709 as_fn_arith $ac_count + 1 && ac_count=$as_val
4710 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4711 # Best one so far, save it but keep looking for a better one
4712 ac_cv_path_FGREP="$ac_path_FGREP"
4713 ac_path_FGREP_max=$ac_count
4715 # 10*(2^10) chars as input seems more than enough
4716 test $ac_count -gt 10 && break
4718 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4721 $ac_path_FGREP_found && break 3
4726 if test -z "$ac_cv_path_FGREP"; then
4727 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4730 ac_cv_path_FGREP=$FGREP
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4736 $as_echo "$ac_cv_path_FGREP" >&6; }
4737 FGREP="$ac_cv_path_FGREP"
4740 test -z "$GREP" && GREP=grep
4760 # Check whether --with-gnu-ld was given.
4761 if test "${with_gnu_ld+set}" = set; then :
4762 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4768 if test yes = "$GCC"; then
4769 # Check if gcc -print-prog-name=ld gives a path.
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4771 $as_echo_n "checking for ld used by $CC... " >&6; }
4774 # gcc leaves a trailing carriage return, which upsets mingw
4775 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4777 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4780 # Accept absolute paths.
4782 re_direlt='/[^/][^/]*/\.\./'
4783 # Canonicalize the pathname of ld
4784 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4785 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4786 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4788 test -z "$LD" && LD=$ac_prog
4791 # If it fails, then pretend we aren't using GCC.
4795 # If it is relative, then search for the first ld in PATH.
4799 elif test yes = "$with_gnu_ld"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4801 $as_echo_n "checking for GNU ld... " >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4804 $as_echo_n "checking for non-GNU ld... " >&6; }
4806 if ${lt_cv_path_LD+:} false; then :
4807 $as_echo_n "(cached) " >&6
4809 if test -z "$LD"; then
4810 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4811 for ac_dir in $PATH; do
4813 test -z "$ac_dir" && ac_dir=.
4814 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4815 lt_cv_path_LD=$ac_dir/$ac_prog
4816 # Check to see if the program is GNU ld. I'd rather use --version,
4817 # but apparently some variants of GNU ld only accept -v.
4818 # Break only if it was the GNU/non-GNU ld that we prefer.
4819 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4820 *GNU* | *'with BFD'*)
4821 test no != "$with_gnu_ld" && break
4824 test yes != "$with_gnu_ld" && break
4831 lt_cv_path_LD=$LD # Let the user override the test with a path.
4836 if test -n "$LD"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4838 $as_echo "$LD" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4843 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4845 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4846 if ${lt_cv_prog_gnu_ld+:} false; then :
4847 $as_echo_n "(cached) " >&6
4849 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4850 case `$LD -v 2>&1 </dev/null` in
4851 *GNU* | *'with BFD'*)
4852 lt_cv_prog_gnu_ld=yes
4855 lt_cv_prog_gnu_ld=no
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4860 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4861 with_gnu_ld=$lt_cv_prog_gnu_ld
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4872 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4873 if ${lt_cv_path_NM+:} false; then :
4874 $as_echo_n "(cached) " >&6
4876 if test -n "$NM"; then
4877 # Let the user override the test.
4880 lt_nm_to_check=${ac_tool_prefix}nm
4881 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4882 lt_nm_to_check="$lt_nm_to_check nm"
4884 for lt_tmp_nm in $lt_nm_to_check; do
4885 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4886 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4888 test -z "$ac_dir" && ac_dir=.
4889 tmp_nm=$ac_dir/$lt_tmp_nm
4890 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4891 # Check to see if the nm accepts a BSD-compat flag.
4892 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4893 # nm: unknown option "B" ignored
4894 # Tru64's nm complains that /dev/null is an invalid object file
4895 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4897 mingw*) lt_bad_file=conftest.nm/nofile ;;
4898 *) lt_bad_file=/dev/null ;;
4900 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4901 *$lt_bad_file* | *'Invalid file or object type'*)
4902 lt_cv_path_NM="$tmp_nm -B"
4906 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4908 lt_cv_path_NM="$tmp_nm -p"
4912 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4913 continue # so that we can try to find one that supports BSD flags
4922 : ${lt_cv_path_NM=no}
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4926 $as_echo "$lt_cv_path_NM" >&6; }
4927 if test no != "$lt_cv_path_NM"; then
4930 # Didn't find any BSD compatible name lister, look for dumpbin.
4931 if test -n "$DUMPBIN"; then :
4932 # Let the user override the test.
4934 if test -n "$ac_tool_prefix"; then
4935 for ac_prog in dumpbin "link -dump"
4937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_DUMPBIN+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$DUMPBIN"; then
4945 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 DUMPBIN=$ac_cv_prog_DUMPBIN
4965 if test -n "$DUMPBIN"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4967 $as_echo "$DUMPBIN" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 test -n "$DUMPBIN" && break
4977 if test -z "$DUMPBIN"; then
4978 ac_ct_DUMPBIN=$DUMPBIN
4979 for ac_prog in dumpbin "link -dump"
4981 # Extract the first word of "$ac_prog", so it can be a program name with args.
4982 set dummy $ac_prog; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$ac_ct_DUMPBIN"; then
4989 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5009 if test -n "$ac_ct_DUMPBIN"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5011 $as_echo "$ac_ct_DUMPBIN" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$ac_ct_DUMPBIN" && break
5021 if test "x$ac_ct_DUMPBIN" = x; then
5024 case $cross_compiling:$ac_tool_warned in
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5030 DUMPBIN=$ac_ct_DUMPBIN
5034 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5036 DUMPBIN="$DUMPBIN -symbols -headers"
5044 if test : != "$DUMPBIN"; then
5048 test -z "$NM" && NM=nm
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5056 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5057 if ${lt_cv_nm_interface+:} false; then :
5058 $as_echo_n "(cached) " >&6
5060 lt_cv_nm_interface="BSD nm"
5061 echo "int some_variable = 0;" > conftest.$ac_ext
5062 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5063 (eval "$ac_compile" 2>conftest.err)
5064 cat conftest.err >&5
5065 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5066 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5067 cat conftest.err >&5
5068 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5069 cat conftest.out >&5
5070 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5071 lt_cv_nm_interface="MS dumpbin"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5076 $as_echo "$lt_cv_nm_interface" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5079 $as_echo_n "checking whether ln -s works... " >&6; }
5081 if test "$LN_S" = "ln -s"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5083 $as_echo "yes" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5086 $as_echo "no, using $LN_S" >&6; }
5089 # find the maximum length of command line arguments
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5091 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5092 if ${lt_cv_sys_max_cmd_len+:} false; then :
5093 $as_echo_n "(cached) " >&6
5100 # On DJGPP, this test can blow up pretty badly due to problems in libc
5101 # (any single argument exceeding 2000 bytes causes a buffer overrun
5102 # during glob expansion). Even if it were fixed, the result of this
5103 # check would be larger than it should be.
5104 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5108 # Under GNU Hurd, this test is not required because there is
5109 # no limit to the length of command line arguments.
5110 # Libtool will interpret -1 as no limit whatsoever
5111 lt_cv_sys_max_cmd_len=-1;
5114 cygwin* | mingw* | cegcc*)
5115 # On Win9x/ME, this test blows up -- it succeeds, but takes
5116 # about 5 minutes as the teststring grows exponentially.
5117 # Worse, since 9x/ME are not pre-emptively multitasking,
5118 # you end up with a "frozen" computer, even though with patience
5119 # the test eventually succeeds (with a max line length of 256k).
5120 # Instead, let's just punt: use the minimum linelength reported by
5121 # all of the supported platforms: 8192 (on NT/2K/XP).
5122 lt_cv_sys_max_cmd_len=8192;
5126 # On MiNT this can take a long time and run out of memory.
5127 lt_cv_sys_max_cmd_len=8192;
5131 # On AmigaOS with pdksh, this test takes hours, literally.
5132 # So we just punt and use a minimum line length of 8192.
5133 lt_cv_sys_max_cmd_len=8192;
5136 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5137 # This has been around since 386BSD, at least. Likely further.
5138 if test -x /sbin/sysctl; then
5139 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5140 elif test -x /usr/sbin/sysctl; then
5141 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5143 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5145 # And add a safety zone
5146 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5147 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5151 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5152 lt_cv_sys_max_cmd_len=196608
5156 # The test takes a long time on OS/2.
5157 lt_cv_sys_max_cmd_len=8192
5161 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5162 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5163 # nice to cause kernel panics so lets avoid the loop below.
5164 # First set a reasonable default.
5165 lt_cv_sys_max_cmd_len=16384
5167 if test -x /sbin/sysconfig; then
5168 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5169 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5174 lt_cv_sys_max_cmd_len=102400
5176 sysv5* | sco5v6* | sysv4.2uw2*)
5177 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5178 if test -n "$kargmax"; then
5179 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5181 lt_cv_sys_max_cmd_len=32768
5185 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5186 if test -n "$lt_cv_sys_max_cmd_len" && \
5187 test undefined != "$lt_cv_sys_max_cmd_len"; then
5188 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5189 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5191 # Make teststring a little bigger before we do anything with it.
5192 # a 1K string should be a reasonable start.
5193 for i in 1 2 3 4 5 6 7 8; do
5194 teststring=$teststring$teststring
5196 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5197 # If test is not a shell built-in, we'll probably end up computing a
5198 # maximum length that is only half of the actual maximum length, but
5200 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5201 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5202 test 17 != "$i" # 1/2 MB should be enough
5205 teststring=$teststring$teststring
5207 # Only check the string length outside the loop.
5208 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5210 # Add a significant safety factor because C++ compilers can tack on
5211 # massive amounts of additional arguments before passing them to the
5212 # linker. It appears as though 1/2 is a usable value.
5213 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5220 if test -n "$lt_cv_sys_max_cmd_len"; then
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5222 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5225 $as_echo "none" >&6; }
5227 max_cmd_len=$lt_cv_sys_max_cmd_len
5238 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5248 # test EBCDIC or ASCII
5249 case `echo X|tr X '\101'` in
5250 A) # ASCII based system
5251 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5252 lt_SP2NL='tr \040 \012'
5253 lt_NL2SP='tr \015\012 \040\040'
5255 *) # EBCDIC based system
5256 lt_SP2NL='tr \100 \n'
5257 lt_NL2SP='tr \r\n \100\100'
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5270 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5271 if ${lt_cv_to_host_file_cmd+:} false; then :
5272 $as_echo_n "(cached) " >&6
5277 *-*-mingw* ) # actually msys
5278 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5281 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5283 * ) # otherwise, assume *nix
5284 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5290 *-*-mingw* ) # actually msys
5291 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5294 lt_cv_to_host_file_cmd=func_convert_file_noop
5296 * ) # otherwise, assume *nix
5297 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5301 * ) # unhandled hosts (and "normal" native builds)
5302 lt_cv_to_host_file_cmd=func_convert_file_noop
5308 to_host_file_cmd=$lt_cv_to_host_file_cmd
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5310 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5317 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5318 if ${lt_cv_to_tool_file_cmd+:} false; then :
5319 $as_echo_n "(cached) " >&6
5321 #assume ordinary cross tools, or native build.
5322 lt_cv_to_tool_file_cmd=func_convert_file_noop
5326 *-*-mingw* ) # actually msys
5327 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5335 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5337 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5344 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5345 if ${lt_cv_ld_reload_flag+:} false; then :
5346 $as_echo_n "(cached) " >&6
5348 lt_cv_ld_reload_flag='-r'
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5351 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5352 reload_flag=$lt_cv_ld_reload_flag
5353 case $reload_flag in
5355 *) reload_flag=" $reload_flag" ;;
5357 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5359 cygwin* | mingw* | pw32* | cegcc*)
5360 if test yes != "$GCC"; then
5365 if test yes = "$GCC"; then
5366 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5368 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5381 if test -n "$ac_tool_prefix"; then
5382 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5383 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385 $as_echo_n "checking for $ac_word... " >&6; }
5386 if ${ac_cv_prog_OBJDUMP+:} false; then :
5387 $as_echo_n "(cached) " >&6
5389 if test -n "$OBJDUMP"; then
5390 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5399 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 OBJDUMP=$ac_cv_prog_OBJDUMP
5410 if test -n "$OBJDUMP"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5412 $as_echo "$OBJDUMP" >&6; }
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415 $as_echo "no" >&6; }
5420 if test -z "$ac_cv_prog_OBJDUMP"; then
5421 ac_ct_OBJDUMP=$OBJDUMP
5422 # Extract the first word of "objdump", so it can be a program name with args.
5423 set dummy objdump; ac_word=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5427 $as_echo_n "(cached) " >&6
5429 if test -n "$ac_ct_OBJDUMP"; then
5430 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5450 if test -n "$ac_ct_OBJDUMP"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5452 $as_echo "$ac_ct_OBJDUMP" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5458 if test "x$ac_ct_OBJDUMP" = x; then
5461 case $cross_compiling:$ac_tool_warned in
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465 ac_tool_warned=yes ;;
5467 OBJDUMP=$ac_ct_OBJDUMP
5470 OBJDUMP="$ac_cv_prog_OBJDUMP"
5473 test -z "$OBJDUMP" && OBJDUMP=objdump
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5484 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5485 if ${lt_cv_deplibs_check_method+:} false; then :
5486 $as_echo_n "(cached) " >&6
5488 lt_cv_file_magic_cmd='$MAGIC_CMD'
5489 lt_cv_file_magic_test_file=
5490 lt_cv_deplibs_check_method='unknown'
5491 # Need to set the preceding variable on all platforms that support
5492 # interlibrary dependencies.
5493 # 'none' -- dependencies not supported.
5494 # 'unknown' -- same as none, but documents that we really don't know.
5495 # 'pass_all' -- all dependencies passed with no checks.
5496 # 'test_compile' -- check by making test program.
5497 # 'file_magic [[regex]]' -- check by looking for files in library path
5498 # that responds to the $file_magic_cmd with a given extended regex.
5499 # If you have 'file' or equivalent on your system and you're not sure
5500 # whether 'pass_all' will *always* work, you probably want this one.
5504 lt_cv_deplibs_check_method=pass_all
5508 lt_cv_deplibs_check_method=pass_all
5512 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5513 lt_cv_file_magic_cmd='/usr/bin/file -L'
5514 lt_cv_file_magic_test_file=/shlib/libc.so
5518 # func_win32_libid is a shell function defined in ltmain.sh
5519 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5520 lt_cv_file_magic_cmd='func_win32_libid'
5524 # Base MSYS/MinGW do not provide the 'file' command needed by
5525 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5526 # unless we find 'file', for example because we are cross-compiling.
5527 if ( file / ) >/dev/null 2>&1; then
5528 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5529 lt_cv_file_magic_cmd='func_win32_libid'
5531 # Keep this pattern in sync with the one in func_win32_libid.
5532 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5533 lt_cv_file_magic_cmd='$OBJDUMP -f'
5538 # use the weaker test based on 'objdump'. See mingw*.
5539 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5540 lt_cv_file_magic_cmd='$OBJDUMP -f'
5543 darwin* | rhapsody*)
5544 lt_cv_deplibs_check_method=pass_all
5547 freebsd* | dragonfly*)
5548 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5551 # Not sure whether the presence of OpenBSD here was a mistake.
5552 # Let's accept both of them until this is cleared up.
5553 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5554 lt_cv_file_magic_cmd=/usr/bin/file
5555 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5559 lt_cv_deplibs_check_method=pass_all
5564 lt_cv_deplibs_check_method=pass_all
5567 hpux10.20* | hpux11*)
5568 lt_cv_file_magic_cmd=/usr/bin/file
5571 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5572 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5575 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]'
5576 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5579 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5580 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5586 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5590 irix5* | irix6* | nonstopux*)
5592 *-32|*"-32 ") libmagic=32-bit;;
5593 *-n32|*"-n32 ") libmagic=N32;;
5594 *-64|*"-64 ") libmagic=64-bit;;
5595 *) libmagic=never-match;;
5597 lt_cv_deplibs_check_method=pass_all
5600 # This must be glibc/ELF.
5601 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5602 lt_cv_deplibs_check_method=pass_all
5606 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5609 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5614 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5615 lt_cv_file_magic_cmd=/usr/bin/file
5616 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5620 lt_cv_deplibs_check_method=pass_all
5624 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5631 osf3* | osf4* | osf5*)
5632 lt_cv_deplibs_check_method=pass_all
5636 lt_cv_deplibs_check_method=pass_all
5640 lt_cv_deplibs_check_method=pass_all
5643 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5644 lt_cv_deplibs_check_method=pass_all
5648 case $host_vendor in
5650 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]'
5651 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5654 lt_cv_deplibs_check_method=pass_all
5657 lt_cv_file_magic_cmd='/bin/file'
5658 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5661 lt_cv_file_magic_cmd='/bin/file'
5662 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5663 lt_cv_file_magic_test_file=/lib/libc.so
5666 lt_cv_deplibs_check_method=pass_all
5669 lt_cv_deplibs_check_method=pass_all
5675 lt_cv_deplibs_check_method=pass_all
5678 lt_cv_deplibs_check_method=pass_all
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5684 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5688 if test "$build" = "$host"; then
5691 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5694 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5700 file_magic_cmd=$lt_cv_file_magic_cmd
5701 deplibs_check_method=$lt_cv_deplibs_check_method
5702 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5725 if test -n "$ac_tool_prefix"; then
5726 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5727 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_DLLTOOL+:} false; then :
5731 $as_echo_n "(cached) " >&6
5733 if test -n "$DLLTOOL"; then
5734 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 DLLTOOL=$ac_cv_prog_DLLTOOL
5754 if test -n "$DLLTOOL"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5756 $as_echo "$DLLTOOL" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5764 if test -z "$ac_cv_prog_DLLTOOL"; then
5765 ac_ct_DLLTOOL=$DLLTOOL
5766 # Extract the first word of "dlltool", so it can be a program name with args.
5767 set dummy dlltool; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5771 $as_echo_n "(cached) " >&6
5773 if test -n "$ac_ct_DLLTOOL"; then
5774 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5794 if test -n "$ac_ct_DLLTOOL"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5796 $as_echo "$ac_ct_DLLTOOL" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5802 if test "x$ac_ct_DLLTOOL" = x; then
5805 case $cross_compiling:$ac_tool_warned in
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5809 ac_tool_warned=yes ;;
5811 DLLTOOL=$ac_ct_DLLTOOL
5814 DLLTOOL="$ac_cv_prog_DLLTOOL"
5817 test -z "$DLLTOOL" && DLLTOOL=dlltool
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5829 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5830 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5831 $as_echo_n "(cached) " >&6
5833 lt_cv_sharedlib_from_linklib_cmd='unknown'
5836 cygwin* | mingw* | pw32* | cegcc*)
5837 # two different shell functions defined in ltmain.sh;
5838 # decide which one to use based on capabilities of $DLLTOOL
5839 case `$DLLTOOL --help 2>&1` in
5840 *--identify-strict*)
5841 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5844 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5849 # fallback: assume linklib IS sharedlib
5850 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5856 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5857 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5858 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5866 if test -n "$ac_tool_prefix"; then
5869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_AR+:} false; then :
5874 $as_echo_n "(cached) " >&6
5876 if test -n "$AR"; then
5877 ac_cv_prog_AR="$AR" # Let the user override the test.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 if test -n "$AR"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5899 $as_echo "$AR" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$AR" && break
5909 if test -z "$AR"; then
5913 # Extract the first word of "$ac_prog", so it can be a program name with args.
5914 set dummy $ac_prog; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5918 $as_echo_n "(cached) " >&6
5920 if test -n "$ac_ct_AR"; then
5921 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_ac_ct_AR="$ac_prog"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5941 if test -n "$ac_ct_AR"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5943 $as_echo "$ac_ct_AR" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5950 test -n "$ac_ct_AR" && break
5953 if test "x$ac_ct_AR" = x; then
5956 case $cross_compiling:$ac_tool_warned in
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5960 ac_tool_warned=yes ;;
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5980 $as_echo_n "checking for archiver @FILE support... " >&6; }
5981 if ${lt_cv_ar_at_file+:} false; then :
5982 $as_echo_n "(cached) " >&6
5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5996 if ac_fn_c_try_compile "$LINENO"; then :
5997 echo conftest.$ac_objext > conftest.lst
5998 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5999 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6000 (eval $lt_ar_try) 2>&5
6002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6003 test $ac_status = 0; }
6004 if test 0 -eq "$ac_status"; then
6005 # Ensure the archiver fails upon bogus file names.
6006 rm -f conftest.$ac_objext libconftest.a
6007 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6008 (eval $lt_ar_try) 2>&5
6010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6011 test $ac_status = 0; }
6012 if test 0 -ne "$ac_status"; then
6016 rm -f conftest.* libconftest.a
6019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6023 $as_echo "$lt_cv_ar_at_file" >&6; }
6025 if test no = "$lt_cv_ar_at_file"; then
6028 archiver_list_spec=$lt_cv_ar_at_file
6037 if test -n "$ac_tool_prefix"; then
6038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6039 set dummy ${ac_tool_prefix}strip; ac_word=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_STRIP+:} false; then :
6043 $as_echo_n "(cached) " >&6
6045 if test -n "$STRIP"; then
6046 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 STRIP=$ac_cv_prog_STRIP
6066 if test -n "$STRIP"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6068 $as_echo "$STRIP" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6076 if test -z "$ac_cv_prog_STRIP"; then
6078 # Extract the first word of "strip", so it can be a program name with args.
6079 set dummy strip; ac_word=$2
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 $as_echo_n "checking for $ac_word... " >&6; }
6082 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6083 $as_echo_n "(cached) " >&6
6085 if test -n "$ac_ct_STRIP"; then
6086 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 test -z "$as_dir" && as_dir=.
6093 for ac_exec_ext in '' $ac_executable_extensions; do
6094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_ac_ct_STRIP="strip"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6106 if test -n "$ac_ct_STRIP"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6108 $as_echo "$ac_ct_STRIP" >&6; }
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 $as_echo "no" >&6; }
6114 if test "x$ac_ct_STRIP" = x; then
6117 case $cross_compiling:$ac_tool_warned in
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6121 ac_tool_warned=yes ;;
6126 STRIP="$ac_cv_prog_STRIP"
6129 test -z "$STRIP" && STRIP=:
6136 if test -n "$ac_tool_prefix"; then
6137 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_RANLIB+:} false; then :
6142 $as_echo_n "(cached) " >&6
6144 if test -n "$RANLIB"; then
6145 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 RANLIB=$ac_cv_prog_RANLIB
6165 if test -n "$RANLIB"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6167 $as_echo "$RANLIB" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6175 if test -z "$ac_cv_prog_RANLIB"; then
6176 ac_ct_RANLIB=$RANLIB
6177 # Extract the first word of "ranlib", so it can be a program name with args.
6178 set dummy ranlib; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6182 $as_echo_n "(cached) " >&6
6184 if test -n "$ac_ct_RANLIB"; then
6185 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 ac_cv_prog_ac_ct_RANLIB="ranlib"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6205 if test -n "$ac_ct_RANLIB"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6207 $as_echo "$ac_ct_RANLIB" >&6; }
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6213 if test "x$ac_ct_RANLIB" = x; then
6216 case $cross_compiling:$ac_tool_warned in
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6220 ac_tool_warned=yes ;;
6222 RANLIB=$ac_ct_RANLIB
6225 RANLIB="$ac_cv_prog_RANLIB"
6228 test -z "$RANLIB" && RANLIB=:
6235 # Determine commands to create old-style static archives.
6236 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6237 old_postinstall_cmds='chmod 644 $oldlib'
6238 old_postuninstall_cmds=
6240 if test -n "$RANLIB"; then
6243 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6246 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6249 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6254 lock_old_archive_extraction=yes ;;
6256 lock_old_archive_extraction=no ;;
6297 # If no C compiler was specified, use CC.
6300 # If no C compiler flags were specified, use CFLAGS.
6301 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6303 # Allow CC to be a program name with arguments.
6307 # Check for command to grab the raw symbol name followed by C symbol from nm.
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6309 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6310 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6311 $as_echo_n "(cached) " >&6
6314 # These are sane defaults that work on at least a few old systems.
6315 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6317 # Character class describing NM global symbol codes.
6318 symcode='[BCDEGRST]'
6320 # Regexp to match symbols that can be accessed directly from C.
6321 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6323 # Define system-specific variables.
6328 cygwin* | mingw* | pw32* | cegcc*)
6329 symcode='[ABCDGISTW]'
6332 if test ia64 = "$host_cpu"; then
6333 symcode='[ABCDEGRST]'
6337 symcode='[BCDEGRST]'
6340 symcode='[BCDEGQRST]'
6351 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6359 # If we're using GNU nm, then use its standard symbol codes.
6360 case `$NM -V 2>&1` in
6361 *GNU* | *'with BFD'*)
6362 symcode='[ABCDGIRSTW]' ;;
6365 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6366 # Gets list of data symbols to import.
6367 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6368 # Adjust the below global symbol transforms to fixup imported variables.
6369 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6370 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6371 lt_c_name_lib_hook="\
6372 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6373 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6375 # Disable hooks by default.
6376 lt_cv_sys_global_symbol_to_import=
6382 # Transform an extracted symbol line into a proper C declaration.
6383 # Some systems (esp. on ia64) link data and code symbols differently,
6384 # so use this general approach.
6385 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6387 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6388 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6390 # Transform an extracted symbol line into symbol name and symbol address
6391 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6393 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6394 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6396 # Transform an extracted symbol line into symbol name with lib prefix and
6398 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6399 $lt_c_name_lib_hook\
6400 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6401 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6402 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6404 # Handle CRLF in mingw tool chain
6408 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6412 # Try without a prefix underscore, then with it.
6413 for ac_symprfx in "" "_"; do
6415 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6416 symxfrm="\\1 $ac_symprfx\\2 \\2"
6418 # Write the raw and C identifiers.
6419 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6420 # Fake it for dumpbin and say T for any non-static function,
6421 # D for any global variable and I for any imported variable.
6422 # Also find C++ and __fastcall symbols from MSVC++,
6423 # which start with @ or ?.
6424 lt_cv_sys_global_symbol_pipe="$AWK '"\
6425 " {last_section=section; section=\$ 3};"\
6426 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6427 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6428 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6429 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6430 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6431 " \$ 0!~/External *\|/{next};"\
6432 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6433 " {if(hide[section]) next};"\
6434 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6435 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6436 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6437 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6438 " ' prfx=^$ac_symprfx"
6440 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6442 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6444 # Check to see that the pipe works correctly.
6448 cat > conftest.$ac_ext <<_LT_EOF
6453 void nm_test_func(void);
6454 void nm_test_func(void){}
6458 int main(){nm_test_var='a';nm_test_func();return(0);}
6461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6462 (eval $ac_compile) 2>&5
6464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465 test $ac_status = 0; }; then
6466 # Now try to grab the symbols.
6468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6469 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6472 test $ac_status = 0; } && test -s "$nlist"; then
6473 # Try sorting and uniquifying the output.
6474 if sort "$nlist" | uniq > "$nlist"T; then
6475 mv -f "$nlist"T "$nlist"
6480 # Make sure that we snagged all the symbols we need.
6481 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6482 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6483 cat <<_LT_EOF > conftest.$ac_ext
6484 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6485 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6486 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6487 relocations are performed -- see ld's documentation on pseudo-relocs. */
6488 # define LT_DLSYM_CONST
6489 #elif defined __osf__
6490 /* This system does not cope well with relocations in const data. */
6491 # define LT_DLSYM_CONST
6493 # define LT_DLSYM_CONST const
6501 # Now generate the symbol file.
6502 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6504 cat <<_LT_EOF >> conftest.$ac_ext
6506 /* The mapping between symbol names and symbols. */
6507 LT_DLSYM_CONST struct {
6511 lt__PROGRAM__LTX_preloaded_symbols[] =
6513 { "@PROGRAM@", (void *) 0 },
6515 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6516 cat <<\_LT_EOF >> conftest.$ac_ext
6520 /* This works around a problem in FreeBSD linker */
6521 #ifdef FREEBSD_WORKAROUND
6522 static const void *lt_preloaded_setup() {
6523 return lt__PROGRAM__LTX_preloaded_symbols;
6531 # Now try linking the two files.
6532 mv conftest.$ac_objext conftstm.$ac_objext
6533 lt_globsym_save_LIBS=$LIBS
6534 lt_globsym_save_CFLAGS=$CFLAGS
6535 LIBS=conftstm.$ac_objext
6536 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6538 (eval $ac_link) 2>&5
6540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6541 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6544 LIBS=$lt_globsym_save_LIBS
6545 CFLAGS=$lt_globsym_save_CFLAGS
6547 echo "cannot find nm_test_func in $nlist" >&5
6550 echo "cannot find nm_test_var in $nlist" >&5
6553 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6556 echo "$progname: failed program was:" >&5
6557 cat conftest.$ac_ext >&5
6559 rm -rf conftest* conftst*
6561 # Do not use the global_symbol_pipe unless it works.
6562 if test yes = "$pipe_works"; then
6565 lt_cv_sys_global_symbol_pipe=
6571 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6572 lt_cv_sys_global_symbol_to_cdecl=
6574 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6576 $as_echo "failed" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6579 $as_echo "ok" >&6; }
6582 # Response file support.
6583 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6584 nm_file_list_spec='@'
6585 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6586 nm_file_list_spec='@'
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6626 $as_echo_n "checking for sysroot... " >&6; }
6628 # Check whether --with-sysroot was given.
6629 if test "${with_sysroot+set}" = set; then :
6630 withval=$with_sysroot;
6637 case $with_sysroot in #(
6639 if test yes = "$GCC"; then
6640 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6644 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6650 $as_echo "$with_sysroot" >&6; }
6651 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6656 $as_echo "${lt_sysroot:-no}" >&6; }
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6663 $as_echo_n "checking for a working dd... " >&6; }
6664 if ${ac_cv_path_lt_DD+:} false; then :
6665 $as_echo_n "(cached) " >&6
6667 printf 0123456789abcdef0123456789abcdef >conftest.i
6668 cat conftest.i conftest.i >conftest2.i
6670 if test -z "$lt_DD"; then
6671 ac_path_lt_DD_found=false
6672 # Loop through the user's path and test for each of PROGNAME-LIST
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 for ac_prog in dd; do
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6681 as_fn_executable_p "$ac_path_lt_DD" || continue
6682 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6683 cmp -s conftest.i conftest.out \
6684 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6686 $ac_path_lt_DD_found && break 3
6691 if test -z "$ac_cv_path_lt_DD"; then
6695 ac_cv_path_lt_DD=$lt_DD
6698 rm -f conftest.i conftest2.i conftest.out
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6701 $as_echo "$ac_cv_path_lt_DD" >&6; }
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6705 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6706 if ${lt_cv_truncate_bin+:} false; then :
6707 $as_echo_n "(cached) " >&6
6709 printf 0123456789abcdef0123456789abcdef >conftest.i
6710 cat conftest.i conftest.i >conftest2.i
6712 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6713 cmp -s conftest.i conftest.out \
6714 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6716 rm -f conftest.i conftest2.i conftest.out
6717 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6720 $as_echo "$lt_cv_truncate_bin" >&6; }
6728 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6731 for cc_temp in $*""; do
6733 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6734 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6739 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6742 # Check whether --enable-libtool-lock was given.
6743 if test "${enable_libtool_lock+set}" = set; then :
6744 enableval=$enable_libtool_lock;
6747 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6749 # Some flags need to be propagated to the compiler or linker for good
6753 # Find out what ABI is being produced by ac_compile, and set mode
6754 # options accordingly.
6755 echo 'int i;' > conftest.$ac_ext
6756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6757 (eval $ac_compile) 2>&5
6759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6760 test $ac_status = 0; }; then
6761 case `/usr/bin/file conftest.$ac_objext` in
6773 # Find out what ABI is being produced by ac_compile, and set linker
6774 # options accordingly.
6775 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6777 (eval $ac_compile) 2>&5
6779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6780 test $ac_status = 0; }; then
6781 if test yes = "$lt_cv_prog_gnu_ld"; then
6782 case `/usr/bin/file conftest.$ac_objext` in
6784 LD="${LD-ld} -melf32bsmip"
6787 LD="${LD-ld} -melf32bmipn32"
6790 LD="${LD-ld} -melf64bmip"
6794 case `/usr/bin/file conftest.$ac_objext` in
6811 # Find out what ABI is being produced by ac_compile, and set linker
6812 # options accordingly.
6813 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6815 (eval $ac_compile) 2>&5
6817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6818 test $ac_status = 0; }; then
6820 case `/usr/bin/file conftest.$ac_objext` in
6828 case `/usr/bin/file conftest.$ac_objext` in
6830 emul="${emul}btsmip"
6833 emul="${emul}ltsmip"
6836 case `/usr/bin/file conftest.$ac_objext` in
6841 LD="${LD-ld} -m $emul"
6846 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6847 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6848 # Find out what ABI is being produced by ac_compile, and set linker
6849 # options accordingly. Note that the listed cases only cover the
6850 # situations where additional linker options are needed (such as when
6851 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6852 # vice versa); the common cases where no linker options are needed do
6853 # not appear in the list.
6854 echo 'int i;' > conftest.$ac_ext
6855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6856 (eval $ac_compile) 2>&5
6858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6859 test $ac_status = 0; }; then
6860 case `/usr/bin/file conftest.o` in
6863 x86_64-*kfreebsd*-gnu)
6864 LD="${LD-ld} -m elf_i386_fbsd"
6867 case `/usr/bin/file conftest.o` in
6869 LD="${LD-ld} -m elf32_x86_64"
6872 LD="${LD-ld} -m elf_i386"
6876 powerpc64le-*linux*)
6877 LD="${LD-ld} -m elf32lppclinux"
6880 LD="${LD-ld} -m elf32ppclinux"
6883 LD="${LD-ld} -m elf_s390"
6886 LD="${LD-ld} -m elf32_sparc"
6892 x86_64-*kfreebsd*-gnu)
6893 LD="${LD-ld} -m elf_x86_64_fbsd"
6896 LD="${LD-ld} -m elf_x86_64"
6899 LD="${LD-ld} -m elf64lppc"
6902 LD="${LD-ld} -m elf64ppc"
6904 s390*-*linux*|s390*-*tpf*)
6905 LD="${LD-ld} -m elf64_s390"
6908 LD="${LD-ld} -m elf64_sparc"
6918 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6920 CFLAGS="$CFLAGS -belf"
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6922 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6923 if ${lt_cv_cc_needs_belf+:} false; then :
6924 $as_echo_n "(cached) " >&6
6927 ac_cpp='$CPP $CPPFLAGS'
6928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6943 if ac_fn_c_try_link "$LINENO"; then :
6944 lt_cv_cc_needs_belf=yes
6946 lt_cv_cc_needs_belf=no
6948 rm -f core conftest.err conftest.$ac_objext \
6949 conftest$ac_exeext conftest.$ac_ext
6951 ac_cpp='$CPP $CPPFLAGS'
6952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6958 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6959 if test yes != "$lt_cv_cc_needs_belf"; then
6960 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6965 # Find out what ABI is being produced by ac_compile, and set linker
6966 # options accordingly.
6967 echo 'int i;' > conftest.$ac_ext
6968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6969 (eval $ac_compile) 2>&5
6971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6972 test $ac_status = 0; }; then
6973 case `/usr/bin/file conftest.o` in
6975 case $lt_cv_prog_gnu_ld in
6978 i?86-*-solaris*|x86_64-*-solaris*)
6979 LD="${LD-ld} -m elf_x86_64"
6982 LD="${LD-ld} -m elf64_sparc"
6985 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6986 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6991 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7003 need_locks=$enable_libtool_lock
7005 if test -n "$ac_tool_prefix"; then
7006 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7007 set dummy ${ac_tool_prefix}mt; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7009 $as_echo_n "checking for $ac_word... " >&6; }
7010 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7011 $as_echo_n "(cached) " >&6
7013 if test -n "$MANIFEST_TOOL"; then
7014 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7033 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7034 if test -n "$MANIFEST_TOOL"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7036 $as_echo "$MANIFEST_TOOL" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039 $as_echo "no" >&6; }
7044 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7045 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7046 # Extract the first word of "mt", so it can be a program name with args.
7047 set dummy mt; ac_word=$2
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049 $as_echo_n "checking for $ac_word... " >&6; }
7050 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7051 $as_echo_n "(cached) " >&6
7053 if test -n "$ac_ct_MANIFEST_TOOL"; then
7054 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir=.
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7063 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7073 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7074 if test -n "$ac_ct_MANIFEST_TOOL"; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7076 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 $as_echo "no" >&6; }
7082 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7085 case $cross_compiling:$ac_tool_warned in
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7089 ac_tool_warned=yes ;;
7091 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7094 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7097 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7099 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7100 if ${lt_cv_path_mainfest_tool+:} false; then :
7101 $as_echo_n "(cached) " >&6
7103 lt_cv_path_mainfest_tool=no
7104 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7105 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7106 cat conftest.err >&5
7107 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7108 lt_cv_path_mainfest_tool=yes
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7113 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7114 if test yes != "$lt_cv_path_mainfest_tool"; then
7124 rhapsody* | darwin*)
7125 if test -n "$ac_tool_prefix"; then
7126 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7127 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7131 $as_echo_n "(cached) " >&6
7133 if test -n "$DSYMUTIL"; then
7134 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7154 if test -n "$DSYMUTIL"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7156 $as_echo "$DSYMUTIL" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7164 if test -z "$ac_cv_prog_DSYMUTIL"; then
7165 ac_ct_DSYMUTIL=$DSYMUTIL
7166 # Extract the first word of "dsymutil", so it can be a program name with args.
7167 set dummy dsymutil; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7171 $as_echo_n "(cached) " >&6
7173 if test -n "$ac_ct_DSYMUTIL"; then
7174 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7193 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7194 if test -n "$ac_ct_DSYMUTIL"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7196 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7202 if test "x$ac_ct_DSYMUTIL" = x; then
7205 case $cross_compiling:$ac_tool_warned in
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7209 ac_tool_warned=yes ;;
7211 DSYMUTIL=$ac_ct_DSYMUTIL
7214 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7217 if test -n "$ac_tool_prefix"; then
7218 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7219 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221 $as_echo_n "checking for $ac_word... " >&6; }
7222 if ${ac_cv_prog_NMEDIT+:} false; then :
7223 $as_echo_n "(cached) " >&6
7225 if test -n "$NMEDIT"; then
7226 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 test -z "$as_dir" && as_dir=.
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245 NMEDIT=$ac_cv_prog_NMEDIT
7246 if test -n "$NMEDIT"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7248 $as_echo "$NMEDIT" >&6; }
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251 $as_echo "no" >&6; }
7256 if test -z "$ac_cv_prog_NMEDIT"; then
7257 ac_ct_NMEDIT=$NMEDIT
7258 # Extract the first word of "nmedit", so it can be a program name with args.
7259 set dummy nmedit; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7263 $as_echo_n "(cached) " >&6
7265 if test -n "$ac_ct_NMEDIT"; then
7266 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7275 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7285 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7286 if test -n "$ac_ct_NMEDIT"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7288 $as_echo "$ac_ct_NMEDIT" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7294 if test "x$ac_ct_NMEDIT" = x; then
7297 case $cross_compiling:$ac_tool_warned in
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7301 ac_tool_warned=yes ;;
7303 NMEDIT=$ac_ct_NMEDIT
7306 NMEDIT="$ac_cv_prog_NMEDIT"
7309 if test -n "$ac_tool_prefix"; then
7310 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7311 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313 $as_echo_n "checking for $ac_word... " >&6; }
7314 if ${ac_cv_prog_LIPO+:} false; then :
7315 $as_echo_n "(cached) " >&6
7317 if test -n "$LIPO"; then
7318 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 test -z "$as_dir" && as_dir=.
7325 for ac_exec_ext in '' $ac_executable_extensions; do
7326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7327 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7337 LIPO=$ac_cv_prog_LIPO
7338 if test -n "$LIPO"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7340 $as_echo "$LIPO" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7343 $as_echo "no" >&6; }
7348 if test -z "$ac_cv_prog_LIPO"; then
7350 # Extract the first word of "lipo", so it can be a program name with args.
7351 set dummy lipo; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7355 $as_echo_n "(cached) " >&6
7357 if test -n "$ac_ct_LIPO"; then
7358 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 test -z "$as_dir" && as_dir=.
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7367 ac_cv_prog_ac_ct_LIPO="lipo"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7377 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7378 if test -n "$ac_ct_LIPO"; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7380 $as_echo "$ac_ct_LIPO" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 $as_echo "no" >&6; }
7386 if test "x$ac_ct_LIPO" = x; then
7389 case $cross_compiling:$ac_tool_warned in
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7393 ac_tool_warned=yes ;;
7398 LIPO="$ac_cv_prog_LIPO"
7401 if test -n "$ac_tool_prefix"; then
7402 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7403 set dummy ${ac_tool_prefix}otool; ac_word=$2
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 $as_echo_n "checking for $ac_word... " >&6; }
7406 if ${ac_cv_prog_OTOOL+:} false; then :
7407 $as_echo_n "(cached) " >&6
7409 if test -n "$OTOOL"; then
7410 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 test -z "$as_dir" && as_dir=.
7417 for ac_exec_ext in '' $ac_executable_extensions; do
7418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7419 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7429 OTOOL=$ac_cv_prog_OTOOL
7430 if test -n "$OTOOL"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7432 $as_echo "$OTOOL" >&6; }
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435 $as_echo "no" >&6; }
7440 if test -z "$ac_cv_prog_OTOOL"; then
7442 # Extract the first word of "otool", so it can be a program name with args.
7443 set dummy otool; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7447 $as_echo_n "(cached) " >&6
7449 if test -n "$ac_ct_OTOOL"; then
7450 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_ac_ct_OTOOL="otool"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7469 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7470 if test -n "$ac_ct_OTOOL"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7472 $as_echo "$ac_ct_OTOOL" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7478 if test "x$ac_ct_OTOOL" = x; then
7481 case $cross_compiling:$ac_tool_warned in
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7485 ac_tool_warned=yes ;;
7490 OTOOL="$ac_cv_prog_OTOOL"
7493 if test -n "$ac_tool_prefix"; then
7494 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7495 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7497 $as_echo_n "checking for $ac_word... " >&6; }
7498 if ${ac_cv_prog_OTOOL64+:} false; then :
7499 $as_echo_n "(cached) " >&6
7501 if test -n "$OTOOL64"; then
7502 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 test -z "$as_dir" && as_dir=.
7509 for ac_exec_ext in '' $ac_executable_extensions; do
7510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7511 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7521 OTOOL64=$ac_cv_prog_OTOOL64
7522 if test -n "$OTOOL64"; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7524 $as_echo "$OTOOL64" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527 $as_echo "no" >&6; }
7532 if test -z "$ac_cv_prog_OTOOL64"; then
7533 ac_ct_OTOOL64=$OTOOL64
7534 # Extract the first word of "otool64", so it can be a program name with args.
7535 set dummy otool64; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7539 $as_echo_n "(cached) " >&6
7541 if test -n "$ac_ct_OTOOL64"; then
7542 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7551 ac_cv_prog_ac_ct_OTOOL64="otool64"
7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7561 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7562 if test -n "$ac_ct_OTOOL64"; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7564 $as_echo "$ac_ct_OTOOL64" >&6; }
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7570 if test "x$ac_ct_OTOOL64" = x; then
7573 case $cross_compiling:$ac_tool_warned in
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7577 ac_tool_warned=yes ;;
7579 OTOOL64=$ac_ct_OTOOL64
7582 OTOOL64="$ac_cv_prog_OTOOL64"
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7612 $as_echo_n "checking for -single_module linker flag... " >&6; }
7613 if ${lt_cv_apple_cc_single_mod+:} false; then :
7614 $as_echo_n "(cached) " >&6
7616 lt_cv_apple_cc_single_mod=no
7617 if test -z "$LT_MULTI_MODULE"; then
7618 # By default we will add the -single_module flag. You can override
7619 # by either setting the environment variable LT_MULTI_MODULE
7620 # non-empty at configure time, or by adding -multi_module to the
7622 rm -rf libconftest.dylib*
7623 echo "int foo(void){return 1;}" > conftest.c
7624 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7625 -dynamiclib -Wl,-single_module conftest.c" >&5
7626 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7627 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7629 # If there is a non-empty error log, and "single_module"
7630 # appears in it, assume the flag caused a linker warning
7631 if test -s conftest.err && $GREP single_module conftest.err; then
7632 cat conftest.err >&5
7633 # Otherwise, if the output was created with a 0 exit code from
7634 # the compiler, it worked.
7635 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7636 lt_cv_apple_cc_single_mod=yes
7638 cat conftest.err >&5
7640 rm -rf libconftest.dylib*
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7645 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7648 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7649 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7650 $as_echo_n "(cached) " >&6
7652 lt_cv_ld_exported_symbols_list=no
7653 save_LDFLAGS=$LDFLAGS
7654 echo "_main" > conftest.sym
7655 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7657 /* end confdefs.h. */
7667 if ac_fn_c_try_link "$LINENO"; then :
7668 lt_cv_ld_exported_symbols_list=yes
7670 lt_cv_ld_exported_symbols_list=no
7672 rm -f core conftest.err conftest.$ac_objext \
7673 conftest$ac_exeext conftest.$ac_ext
7674 LDFLAGS=$save_LDFLAGS
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7678 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7681 $as_echo_n "checking for -force_load linker flag... " >&6; }
7682 if ${lt_cv_ld_force_load+:} false; then :
7683 $as_echo_n "(cached) " >&6
7685 lt_cv_ld_force_load=no
7686 cat > conftest.c << _LT_EOF
7687 int forced_loaded() { return 2;}
7689 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7690 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7691 echo "$AR cru libconftest.a conftest.o" >&5
7692 $AR cru libconftest.a conftest.o 2>&5
7693 echo "$RANLIB libconftest.a" >&5
7694 $RANLIB libconftest.a 2>&5
7695 cat > conftest.c << _LT_EOF
7696 int main() { return 0;}
7698 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7699 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7701 if test -s conftest.err && $GREP force_load conftest.err; then
7702 cat conftest.err >&5
7703 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7704 lt_cv_ld_force_load=yes
7706 cat conftest.err >&5
7708 rm -f conftest.err libconftest.a conftest conftest.c
7709 rm -rf conftest.dSYM
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7713 $as_echo "$lt_cv_ld_force_load" >&6; }
7715 rhapsody* | darwin1.[012])
7716 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7718 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7719 darwin*) # darwin 5.x on
7720 # if running on 10.5 or later, the deployment target defaults
7721 # to the OS version, if on x86, and 10.4, the deployment
7722 # target defaults to 10.4. Don't you love it?
7723 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7724 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7725 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7727 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7729 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7733 if test yes = "$lt_cv_apple_cc_single_mod"; then
7734 _lt_dar_single_mod='$single_module'
7736 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7737 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7739 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7741 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7742 _lt_dsymutil='~$DSYMUTIL $lib || :'
7749 # func_munge_path_list VARIABLE PATH
7750 # -----------------------------------
7751 # VARIABLE is name of variable containing _space_ separated list of
7752 # directories to be munged by the contents of PATH, which is string
7755 # string "DIR[ DIR]" will be prepended to VARIABLE
7757 # string "DIR[ DIR]" will be appended to VARIABLE
7758 # "DIRP[:DIRP]::[DIRA:]DIRA"
7759 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7760 # "DIRA[ DIRA]" will be appended to VARIABLE
7762 # VARIABLE will be replaced by "DIR[ DIR]"
7763 func_munge_path_list ()
7769 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7772 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7775 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7776 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7779 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7785 ac_cpp='$CPP $CPPFLAGS'
7786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7790 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7791 # On Suns, sometimes $CPP names a directory.
7792 if test -n "$CPP" && test -d "$CPP"; then
7795 if test -z "$CPP"; then
7796 if ${ac_cv_prog_CPP+:} false; then :
7797 $as_echo_n "(cached) " >&6
7799 # Double quotes because CPP needs to be expanded
7800 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7803 for ac_c_preproc_warn_flag in '' yes
7805 # Use a header file that comes with gcc, so configuring glibc
7806 # with a fresh cross-compiler works.
7807 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7808 # <limits.h> exists even on freestanding compilers.
7809 # On the NeXT, cc -E runs the code through the compiler's parser,
7810 # not just through cpp. "Syntax error" is here to catch this case.
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7814 # include <limits.h>
7816 # include <assert.h>
7820 if ac_fn_c_try_cpp "$LINENO"; then :
7823 # Broken: fails on valid input.
7826 rm -f conftest.err conftest.i conftest.$ac_ext
7828 # OK, works on sane cases. Now check whether nonexistent headers
7829 # can be detected and how.
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7832 #include <ac_nonexistent.h>
7834 if ac_fn_c_try_cpp "$LINENO"; then :
7835 # Broken: success on invalid input.
7838 # Passes both tests.
7842 rm -f conftest.err conftest.i conftest.$ac_ext
7845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7846 rm -f conftest.i conftest.err conftest.$ac_ext
7847 if $ac_preproc_ok; then :
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7860 $as_echo "$CPP" >&6; }
7862 for ac_c_preproc_warn_flag in '' yes
7864 # Use a header file that comes with gcc, so configuring glibc
7865 # with a fresh cross-compiler works.
7866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7867 # <limits.h> exists even on freestanding compilers.
7868 # On the NeXT, cc -E runs the code through the compiler's parser,
7869 # not just through cpp. "Syntax error" is here to catch this case.
7870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7873 # include <limits.h>
7875 # include <assert.h>
7879 if ac_fn_c_try_cpp "$LINENO"; then :
7882 # Broken: fails on valid input.
7885 rm -f conftest.err conftest.i conftest.$ac_ext
7887 # OK, works on sane cases. Now check whether nonexistent headers
7888 # can be detected and how.
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7891 #include <ac_nonexistent.h>
7893 if ac_fn_c_try_cpp "$LINENO"; then :
7894 # Broken: success on invalid input.
7897 # Passes both tests.
7901 rm -f conftest.err conftest.i conftest.$ac_ext
7904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7905 rm -f conftest.i conftest.err conftest.$ac_ext
7906 if $ac_preproc_ok; then :
7909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7911 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7912 See \`config.log' for more details" "$LINENO" 5; }
7916 ac_cpp='$CPP $CPPFLAGS'
7917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7923 $as_echo_n "checking for ANSI C header files... " >&6; }
7924 if ${ac_cv_header_stdc+:} false; then :
7925 $as_echo_n "(cached) " >&6
7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7942 if ac_fn_c_try_compile "$LINENO"; then :
7943 ac_cv_header_stdc=yes
7945 ac_cv_header_stdc=no
7947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7949 if test $ac_cv_header_stdc = yes; then
7950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7952 /* end confdefs.h. */
7956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7957 $EGREP "memchr" >/dev/null 2>&1; then :
7960 ac_cv_header_stdc=no
7966 if test $ac_cv_header_stdc = yes; then
7967 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7974 $EGREP "free" >/dev/null 2>&1; then :
7977 ac_cv_header_stdc=no
7983 if test $ac_cv_header_stdc = yes; then
7984 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7985 if test "$cross_compiling" = yes; then :
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7992 #if ((' ' & 0x0FF) == 0x020)
7993 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7994 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7996 # define ISLOWER(c) \
7997 (('a' <= (c) && (c) <= 'i') \
7998 || ('j' <= (c) && (c) <= 'r') \
7999 || ('s' <= (c) && (c) <= 'z'))
8000 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8003 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8008 for (i = 0; i < 256; i++)
8009 if (XOR (islower (i), ISLOWER (i))
8010 || toupper (i) != TOUPPER (i))
8015 if ac_fn_c_try_run "$LINENO"; then :
8018 ac_cv_header_stdc=no
8020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8021 conftest.$ac_objext conftest.beam conftest.$ac_ext
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8027 $as_echo "$ac_cv_header_stdc" >&6; }
8028 if test $ac_cv_header_stdc = yes; then
8030 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8034 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8035 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8036 inttypes.h stdint.h unistd.h
8038 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8039 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8041 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8042 cat >>confdefs.h <<_ACEOF
8043 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8051 for ac_header in dlfcn.h
8053 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8055 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8056 cat >>confdefs.h <<_ACEOF
8057 #define HAVE_DLFCN_H 1
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8079 for pkg in $enableval; do
8081 if test "X$pkg" = "X$p"; then
8107 # Check whether --enable-shared was given.
8108 if test "${enable_shared+set}" = set; then :
8109 enableval=$enable_shared; p=${PACKAGE-default}
8111 yes) enable_shared=yes ;;
8112 no) enable_shared=no ;;
8115 # Look at the argument we got. We use all the common list separators.
8116 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8117 for pkg in $enableval; do
8119 if test "X$pkg" = "X$p"; then
8140 # Check whether --with-pic was given.
8141 if test "${with_pic+set}" = set; then :
8142 withval=$with_pic; lt_p=${PACKAGE-default}
8144 yes|no) pic_mode=$withval ;;
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8149 for lt_pkg in $withval; do
8151 if test "X$lt_pkg" = "X$lt_p"; then
8169 # Check whether --enable-fast-install was given.
8170 if test "${enable_fast_install+set}" = set; then :
8171 enableval=$enable_fast_install; p=${PACKAGE-default}
8173 yes) enable_fast_install=yes ;;
8174 no) enable_fast_install=no ;;
8176 enable_fast_install=no
8177 # Look at the argument we got. We use all the common list separators.
8178 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8179 for pkg in $enableval; do
8181 if test "X$pkg" = "X$p"; then
8182 enable_fast_install=yes
8189 enable_fast_install=yes
8199 shared_archive_member_spec=
8200 case $host,$enable_shared in
8201 power*-*-aix[5-9]*,yes)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8203 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8205 # Check whether --with-aix-soname was given.
8206 if test "${with_aix_soname+set}" = set; then :
8207 withval=$with_aix_soname; case $withval in
8211 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8214 lt_cv_with_aix_soname=$with_aix_soname
8216 if ${lt_cv_with_aix_soname+:} false; then :
8217 $as_echo_n "(cached) " >&6
8219 lt_cv_with_aix_soname=aix
8222 with_aix_soname=$lt_cv_with_aix_soname
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8226 $as_echo "$with_aix_soname" >&6; }
8227 if test aix != "$with_aix_soname"; then
8228 # For the AIX way of multilib, we name the shared archive member
8229 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8230 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8231 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8232 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8233 if test 64 = "${OBJECT_MODE-32}"; then
8234 shared_archive_member_spec=shr_64
8236 shared_archive_member_spec=shr
8254 # This can be used to rebuild libtool when needed
8255 LIBTOOL_DEPS=$ltmain
8257 # Always use our own libtool.
8258 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8289 test -z "$LN_S" && LN_S="ln -s"
8304 if test -n "${ZSH_VERSION+set}"; then
8305 setopt NO_GLOB_SUBST
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8309 $as_echo_n "checking for objdir... " >&6; }
8310 if ${lt_cv_objdir+:} false; then :
8311 $as_echo_n "(cached) " >&6
8313 rm -f .libs 2>/dev/null
8314 mkdir .libs 2>/dev/null
8315 if test -d .libs; then
8318 # MS-DOS does not allow filenames that begin with a dot.
8321 rmdir .libs 2>/dev/null
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8324 $as_echo "$lt_cv_objdir" >&6; }
8325 objdir=$lt_cv_objdir
8331 cat >>confdefs.h <<_ACEOF
8332 #define LT_OBJDIR "$lt_cv_objdir/"
8340 # AIX sometimes has problems with the GCC collect2 program. For some
8341 # reason, if we set the COLLECT_NAMES environment variable, the problems
8342 # vanish in a puff of smoke.
8343 if test set != "${COLLECT_NAMES+set}"; then
8345 export COLLECT_NAMES
8352 can_build_shared=yes
8354 # All known linkers require a '.a' archive for static linking (except MSVC,
8355 # which needs '.lib').
8358 with_gnu_ld=$lt_cv_prog_gnu_ld
8363 # Set sane defaults for various variables
8364 test -z "$CC" && CC=cc
8365 test -z "$LTCC" && LTCC=$CC
8366 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8367 test -z "$LD" && LD=ld
8368 test -z "$ac_objext" && ac_objext=o
8370 func_cc_basename $compiler
8371 cc_basename=$func_cc_basename_result
8374 # Only perform the check for file, if the check method requires it
8375 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8376 case $deplibs_check_method in
8378 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8380 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8381 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8382 $as_echo_n "(cached) " >&6
8386 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8389 lt_save_MAGIC_CMD=$MAGIC_CMD
8390 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8391 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8392 for ac_dir in $ac_dummy; do
8394 test -z "$ac_dir" && ac_dir=.
8395 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8396 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8397 if test -n "$file_magic_test_file"; then
8398 case $deplibs_check_method in
8400 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8401 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8402 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8403 $EGREP "$file_magic_regex" > /dev/null; then
8408 *** Warning: the command libtool uses to detect shared libraries,
8409 *** $file_magic_cmd, produces output that libtool cannot recognize.
8410 *** The result is that libtool may fail to recognize shared libraries
8411 *** as such. This will affect the creation of libtool libraries that
8412 *** depend on shared libraries, but programs linked with such libtool
8413 *** libraries will work regardless of this problem. Nevertheless, you
8414 *** may want to report the problem to your system manager and/or to
8415 *** bug-libtool@gnu.org
8425 MAGIC_CMD=$lt_save_MAGIC_CMD
8430 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8431 if test -n "$MAGIC_CMD"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8433 $as_echo "$MAGIC_CMD" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8443 if test -z "$lt_cv_path_MAGIC_CMD"; then
8444 if test -n "$ac_tool_prefix"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8446 $as_echo_n "checking for file... " >&6; }
8447 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8448 $as_echo_n "(cached) " >&6
8452 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8455 lt_save_MAGIC_CMD=$MAGIC_CMD
8456 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8457 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8458 for ac_dir in $ac_dummy; do
8460 test -z "$ac_dir" && ac_dir=.
8461 if test -f "$ac_dir/file"; then
8462 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8463 if test -n "$file_magic_test_file"; then
8464 case $deplibs_check_method in
8466 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8467 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8468 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8469 $EGREP "$file_magic_regex" > /dev/null; then
8474 *** Warning: the command libtool uses to detect shared libraries,
8475 *** $file_magic_cmd, produces output that libtool cannot recognize.
8476 *** The result is that libtool may fail to recognize shared libraries
8477 *** as such. This will affect the creation of libtool libraries that
8478 *** depend on shared libraries, but programs linked with such libtool
8479 *** libraries will work regardless of this problem. Nevertheless, you
8480 *** may want to report the problem to your system manager and/or to
8481 *** bug-libtool@gnu.org
8491 MAGIC_CMD=$lt_save_MAGIC_CMD
8496 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8497 if test -n "$MAGIC_CMD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8499 $as_echo "$MAGIC_CMD" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8515 # Use C for the default configuration in the libtool script
8519 ac_cpp='$CPP $CPPFLAGS'
8520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8525 # Source file extension for C test sources.
8528 # Object file extension for compiled C test sources.
8532 # Code to be used in simple compile tests
8533 lt_simple_compile_test_code="int some_variable = 0;"
8535 # Code to be used in simple link tests
8536 lt_simple_link_test_code='int main(){return(0);}'
8544 # If no C compiler was specified, use CC.
8547 # If no C compiler flags were specified, use CFLAGS.
8548 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8550 # Allow CC to be a program name with arguments.
8553 # Save the default compiler, since it gets overwritten when the other
8554 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8555 compiler_DEFAULT=$CC
8557 # save warnings/boilerplate of simple test code
8558 ac_outfile=conftest.$ac_objext
8559 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8560 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8561 _lt_compiler_boilerplate=`cat conftest.err`
8564 ac_outfile=conftest.$ac_objext
8565 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8566 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8567 _lt_linker_boilerplate=`cat conftest.err`
8572 ## There is no encapsulation within the following macros, do not change
8573 ## the running order or otherwise move them around unless you know exactly
8574 ## what you are doing...
8575 if test -n "$compiler"; then
8577 lt_prog_compiler_no_builtin_flag=
8579 if test yes = "$GCC"; then
8580 case $cc_basename in
8582 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8584 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8588 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8589 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8590 $as_echo_n "(cached) " >&6
8592 lt_cv_prog_compiler_rtti_exceptions=no
8593 ac_outfile=conftest.$ac_objext
8594 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8595 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8596 # Insert the option either (1) after the last *FLAGS variable, or
8597 # (2) before a word containing "conftest.", or (3) at the end.
8598 # Note that $ac_compile itself does not contain backslashes and begins
8599 # with a dollar sign (not a hyphen), so the echo should work correctly.
8600 # The option is referenced via a variable to avoid confusing sed.
8601 lt_compile=`echo "$ac_compile" | $SED \
8602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8604 -e 's:$: $lt_compiler_flag:'`
8605 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8606 (eval "$lt_compile" 2>conftest.err)
8608 cat conftest.err >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 if (exit $ac_status) && test -s "$ac_outfile"; then
8611 # The compiler can only warn and ignore the option if not recognized
8612 # So say no if there are warnings other than the usual output.
8613 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8614 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8615 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8616 lt_cv_prog_compiler_rtti_exceptions=yes
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8623 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8625 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8626 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8638 lt_prog_compiler_wl=
8639 lt_prog_compiler_pic=
8640 lt_prog_compiler_static=
8643 if test yes = "$GCC"; then
8644 lt_prog_compiler_wl='-Wl,'
8645 lt_prog_compiler_static='-static'
8649 # All AIX code is PIC.
8650 if test ia64 = "$host_cpu"; then
8651 # AIX 5 now supports IA64 processor
8652 lt_prog_compiler_static='-Bstatic'
8654 lt_prog_compiler_pic='-fPIC'
8660 # see comment about AmigaOS4 .so support
8661 lt_prog_compiler_pic='-fPIC'
8664 # FIXME: we need at least 68020 code to build shared libraries, but
8665 # adding the '-m68020' flag to GCC prevents building anything better,
8667 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8672 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8673 # PIC is the default for these OSes.
8676 mingw* | cygwin* | pw32* | os2* | cegcc*)
8677 # This hack is so that the source file can tell whether it is being
8678 # built for inclusion in a dll (and should export symbols for example).
8679 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8680 # (--disable-auto-import) libraries
8681 lt_prog_compiler_pic='-DDLL_EXPORT'
8684 lt_prog_compiler_static='$wl-static'
8689 darwin* | rhapsody*)
8690 # PIC is the default on this platform
8691 # Common symbols not allowed in MH_DYLIB files
8692 lt_prog_compiler_pic='-fno-common'
8696 # PIC is the default for Haiku.
8697 # The "-static" flag exists, but is broken.
8698 lt_prog_compiler_static=
8702 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8703 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8704 # sets the default TLS model and affects inlining.
8710 lt_prog_compiler_pic='-fPIC'
8716 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8717 # Instead, we relocate shared libraries at runtime.
8721 # Just because we use GCC doesn't mean we suddenly get shared libraries
8722 # on systems that don't support them.
8723 lt_prog_compiler_can_build_shared=no
8728 # QNX uses GNU C++, but need to define -shared option too, otherwise
8730 lt_prog_compiler_pic='-fPIC -shared'
8734 if test -d /usr/nec; then
8735 lt_prog_compiler_pic=-Kconform_pic
8740 lt_prog_compiler_pic='-fPIC'
8744 case $cc_basename in
8745 nvcc*) # Cuda Compiler Driver 2.2
8746 lt_prog_compiler_wl='-Xlinker '
8747 if test -n "$lt_prog_compiler_pic"; then
8748 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8753 # PORTME Check for flag to pass linker flags through the system compiler.
8756 lt_prog_compiler_wl='-Wl,'
8757 if test ia64 = "$host_cpu"; then
8758 # AIX 5 now supports IA64 processor
8759 lt_prog_compiler_static='-Bstatic'
8761 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8765 darwin* | rhapsody*)
8766 # PIC is the default on this platform
8767 # Common symbols not allowed in MH_DYLIB files
8768 lt_prog_compiler_pic='-fno-common'
8769 case $cc_basename in
8771 # NAG Fortran compiler
8772 lt_prog_compiler_wl='-Wl,-Wl,,'
8773 lt_prog_compiler_pic='-PIC'
8774 lt_prog_compiler_static='-Bstatic'
8779 mingw* | cygwin* | pw32* | os2* | cegcc*)
8780 # This hack is so that the source file can tell whether it is being
8781 # built for inclusion in a dll (and should export symbols for example).
8782 lt_prog_compiler_pic='-DDLL_EXPORT'
8785 lt_prog_compiler_static='$wl-static'
8790 hpux9* | hpux10* | hpux11*)
8791 lt_prog_compiler_wl='-Wl,'
8792 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8799 lt_prog_compiler_pic='+Z'
8802 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8803 lt_prog_compiler_static='$wl-a ${wl}archive'
8806 irix5* | irix6* | nonstopux*)
8807 lt_prog_compiler_wl='-Wl,'
8808 # PIC (with -KPIC) is the default.
8809 lt_prog_compiler_static='-non_shared'
8812 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8813 case $cc_basename in
8814 # old Intel for x86_64, which still supported -KPIC.
8816 lt_prog_compiler_wl='-Wl,'
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-static'
8820 # icc used to be incompatible with GCC.
8821 # ICC 10 doesn't accept -KPIC any more.
8823 lt_prog_compiler_wl='-Wl,'
8824 lt_prog_compiler_pic='-fPIC'
8825 lt_prog_compiler_static='-static'
8827 # Lahey Fortran 8.1.
8829 lt_prog_compiler_wl='-Wl,'
8830 lt_prog_compiler_pic='--shared'
8831 lt_prog_compiler_static='--static'
8834 # NAG Fortran compiler
8835 lt_prog_compiler_wl='-Wl,-Wl,,'
8836 lt_prog_compiler_pic='-PIC'
8837 lt_prog_compiler_static='-Bstatic'
8840 # Fabrice Bellard et al's Tiny C Compiler
8841 lt_prog_compiler_wl='-Wl,'
8842 lt_prog_compiler_pic='-fPIC'
8843 lt_prog_compiler_static='-static'
8845 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8846 # Portland Group compilers (*not* the Pentium gcc compiler,
8847 # which looks to be a dead project)
8848 lt_prog_compiler_wl='-Wl,'
8849 lt_prog_compiler_pic='-fpic'
8850 lt_prog_compiler_static='-Bstatic'
8853 lt_prog_compiler_wl='-Wl,'
8854 # All Alpha code is PIC.
8855 lt_prog_compiler_static='-non_shared'
8857 xl* | bgxl* | bgf* | mpixl*)
8858 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_pic='-qpic'
8861 lt_prog_compiler_static='-qstaticlink'
8864 case `$CC -V 2>&1 | sed 5q` in
8865 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8866 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8867 lt_prog_compiler_pic='-KPIC'
8868 lt_prog_compiler_static='-Bstatic'
8869 lt_prog_compiler_wl=''
8871 *Sun\ F* | *Sun*Fortran*)
8872 lt_prog_compiler_pic='-KPIC'
8873 lt_prog_compiler_static='-Bstatic'
8874 lt_prog_compiler_wl='-Qoption ld '
8878 lt_prog_compiler_pic='-KPIC'
8879 lt_prog_compiler_static='-Bstatic'
8880 lt_prog_compiler_wl='-Wl,'
8882 *Intel*\ [CF]*Compiler*)
8883 lt_prog_compiler_wl='-Wl,'
8884 lt_prog_compiler_pic='-fPIC'
8885 lt_prog_compiler_static='-static'
8888 lt_prog_compiler_wl='-Wl,'
8889 lt_prog_compiler_pic='-fpic'
8890 lt_prog_compiler_static='-Bstatic'
8898 lt_prog_compiler_pic='-KPIC'
8899 lt_prog_compiler_static='-Bstatic'
8903 # QNX uses GNU C++, but need to define -shared option too, otherwise
8905 lt_prog_compiler_pic='-fPIC -shared'
8908 osf3* | osf4* | osf5*)
8909 lt_prog_compiler_wl='-Wl,'
8910 # All OSF/1 code is PIC.
8911 lt_prog_compiler_static='-non_shared'
8915 lt_prog_compiler_static='-non_shared'
8919 lt_prog_compiler_pic='-KPIC'
8920 lt_prog_compiler_static='-Bstatic'
8921 case $cc_basename in
8922 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8923 lt_prog_compiler_wl='-Qoption ld ';;
8925 lt_prog_compiler_wl='-Wl,';;
8930 lt_prog_compiler_wl='-Qoption ld '
8931 lt_prog_compiler_pic='-PIC'
8932 lt_prog_compiler_static='-Bstatic'
8935 sysv4 | sysv4.2uw2* | sysv4.3*)
8936 lt_prog_compiler_wl='-Wl,'
8937 lt_prog_compiler_pic='-KPIC'
8938 lt_prog_compiler_static='-Bstatic'
8942 if test -d /usr/nec; then
8943 lt_prog_compiler_pic='-Kconform_pic'
8944 lt_prog_compiler_static='-Bstatic'
8948 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8949 lt_prog_compiler_wl='-Wl,'
8950 lt_prog_compiler_pic='-KPIC'
8951 lt_prog_compiler_static='-Bstatic'
8955 lt_prog_compiler_wl='-Wl,'
8956 lt_prog_compiler_can_build_shared=no
8960 lt_prog_compiler_pic='-pic'
8961 lt_prog_compiler_static='-Bstatic'
8965 lt_prog_compiler_can_build_shared=no
8971 # For platforms that do not support PIC, -DPIC is meaningless:
8973 lt_prog_compiler_pic=
8976 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8981 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8982 if ${lt_cv_prog_compiler_pic+:} false; then :
8983 $as_echo_n "(cached) " >&6
8985 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8988 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8989 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8992 # Check to make sure the PIC flag actually works.
8994 if test -n "$lt_prog_compiler_pic"; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8996 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8997 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8998 $as_echo_n "(cached) " >&6
9000 lt_cv_prog_compiler_pic_works=no
9001 ac_outfile=conftest.$ac_objext
9002 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9003 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9004 # Insert the option either (1) after the last *FLAGS variable, or
9005 # (2) before a word containing "conftest.", or (3) at the end.
9006 # Note that $ac_compile itself does not contain backslashes and begins
9007 # with a dollar sign (not a hyphen), so the echo should work correctly.
9008 # The option is referenced via a variable to avoid confusing sed.
9009 lt_compile=`echo "$ac_compile" | $SED \
9010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9012 -e 's:$: $lt_compiler_flag:'`
9013 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9014 (eval "$lt_compile" 2>conftest.err)
9016 cat conftest.err >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 if (exit $ac_status) && test -s "$ac_outfile"; then
9019 # The compiler can only warn and ignore the option if not recognized
9020 # So say no if there are warnings other than the usual output.
9021 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9022 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9023 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9024 lt_cv_prog_compiler_pic_works=yes
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9031 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9033 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9034 case $lt_prog_compiler_pic in
9036 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9039 lt_prog_compiler_pic=
9040 lt_prog_compiler_can_build_shared=no
9056 # Check to make sure the static flag actually works.
9058 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9060 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9061 if ${lt_cv_prog_compiler_static_works+:} false; then :
9062 $as_echo_n "(cached) " >&6
9064 lt_cv_prog_compiler_static_works=no
9065 save_LDFLAGS=$LDFLAGS
9066 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9067 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9068 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9069 # The linker can only warn and ignore the option if not recognized
9070 # So say no if there are warnings
9071 if test -s conftest.err; then
9072 # Append any errors to the config.log.
9073 cat conftest.err 1>&5
9074 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9075 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9076 if diff conftest.exp conftest.er2 >/dev/null; then
9077 lt_cv_prog_compiler_static_works=yes
9080 lt_cv_prog_compiler_static_works=yes
9084 LDFLAGS=$save_LDFLAGS
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9088 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9090 if test yes = "$lt_cv_prog_compiler_static_works"; then
9093 lt_prog_compiler_static=
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9103 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9104 if ${lt_cv_prog_compiler_c_o+:} false; then :
9105 $as_echo_n "(cached) " >&6
9107 lt_cv_prog_compiler_c_o=no
9108 $RM -r conftest 2>/dev/null
9112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9114 lt_compiler_flag="-o out/conftest2.$ac_objext"
9115 # Insert the option either (1) after the last *FLAGS variable, or
9116 # (2) before a word containing "conftest.", or (3) at the end.
9117 # Note that $ac_compile itself does not contain backslashes and begins
9118 # with a dollar sign (not a hyphen), so the echo should work correctly.
9119 lt_compile=`echo "$ac_compile" | $SED \
9120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9122 -e 's:$: $lt_compiler_flag:'`
9123 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9124 (eval "$lt_compile" 2>out/conftest.err)
9126 cat out/conftest.err >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9130 # The compiler can only warn and ignore the option if not recognized
9131 # So say no if there are warnings
9132 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9133 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9134 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9135 lt_cv_prog_compiler_c_o=yes
9140 # SGI C++ compiler will create directory out/ii_files/ for
9141 # template instantiation
9142 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9143 $RM out/* && rmdir out
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9150 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9158 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9159 if ${lt_cv_prog_compiler_c_o+:} false; then :
9160 $as_echo_n "(cached) " >&6
9162 lt_cv_prog_compiler_c_o=no
9163 $RM -r conftest 2>/dev/null
9167 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9169 lt_compiler_flag="-o out/conftest2.$ac_objext"
9170 # Insert the option either (1) after the last *FLAGS variable, or
9171 # (2) before a word containing "conftest.", or (3) at the end.
9172 # Note that $ac_compile itself does not contain backslashes and begins
9173 # with a dollar sign (not a hyphen), so the echo should work correctly.
9174 lt_compile=`echo "$ac_compile" | $SED \
9175 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9176 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9177 -e 's:$: $lt_compiler_flag:'`
9178 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9179 (eval "$lt_compile" 2>out/conftest.err)
9181 cat out/conftest.err >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9185 # The compiler can only warn and ignore the option if not recognized
9186 # So say no if there are warnings
9187 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9188 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9189 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9190 lt_cv_prog_compiler_c_o=yes
9195 # SGI C++ compiler will create directory out/ii_files/ for
9196 # template instantiation
9197 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9198 $RM out/* && rmdir out
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9205 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9210 hard_links=nottested
9211 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9212 # do not overwrite the value of need_locks provided by the user
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9214 $as_echo_n "checking if we can lock with hard links... " >&6; }
9217 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9219 ln conftest.a conftest.b 2>&5 || hard_links=no
9220 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9222 $as_echo "$hard_links" >&6; }
9223 if test no = "$hard_links"; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9225 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9238 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9241 allow_undefined_flag=
9242 always_export_symbols=no
9244 archive_expsym_cmds=
9245 compiler_needs_object=no
9246 enable_shared_with_static_runtimes=no
9247 export_dynamic_flag_spec=
9248 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9249 hardcode_automatic=no
9251 hardcode_direct_absolute=no
9252 hardcode_libdir_flag_spec=
9253 hardcode_libdir_separator=
9255 hardcode_shlibpath_var=unsupported
9257 link_all_deplibs=unknown
9260 old_archive_from_new_cmds=
9261 old_archive_from_expsyms_cmds=
9262 thread_safe_flag_spec=
9263 whole_archive_flag_spec=
9264 # include_expsyms should be a list of space-separated symbols to be *always*
9265 # included in the symbol list
9267 # exclude_expsyms can be an extended regexp of symbols to exclude
9268 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9269 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9270 # as well as any symbol that contains 'd'.
9271 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9272 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9273 # platforms (ab)use it in PIC code, but their linkers get confused if
9274 # the symbol is explicitly referenced. Since portable code cannot
9275 # rely on this symbol name, it's probably fine to never include it in
9276 # preloaded symbol tables.
9277 # Exclude shared library initialization/finalization symbols.
9278 extract_expsyms_cmds=
9281 cygwin* | mingw* | pw32* | cegcc*)
9282 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9283 # When not using gcc, we currently assume that we are using
9284 # Microsoft Visual C++.
9285 if test yes != "$GCC"; then
9290 # we just hope/assume this is gcc and not c89 (= MSVC++)
9300 # On some targets, GNU ld is compatible enough with the native linker
9301 # that we're better off using the native interface for both.
9302 lt_use_gnu_ld_interface=no
9303 if test yes = "$with_gnu_ld"; then
9306 # The AIX port of GNU ld has always aspired to compatibility
9307 # with the native linker. However, as the warning in the GNU ld
9308 # block says, versions before 2.19.5* couldn't really create working
9309 # shared libraries, regardless of the interface used.
9310 case `$LD -v 2>&1` in
9311 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9312 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9313 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9315 lt_use_gnu_ld_interface=yes
9320 lt_use_gnu_ld_interface=yes
9325 if test yes = "$lt_use_gnu_ld_interface"; then
9326 # If archive_cmds runs LD, not CC, wlarc should be empty
9329 # Set some defaults for GNU ld with shared library support. These
9330 # are reset later if shared libraries are not supported. Putting them
9331 # here allows them to be overridden if necessary.
9332 runpath_var=LD_RUN_PATH
9333 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9334 export_dynamic_flag_spec='$wl--export-dynamic'
9335 # ancient GNU ld didn't support --whole-archive et. al.
9336 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9337 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9339 whole_archive_flag_spec=
9341 supports_anon_versioning=no
9342 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9343 *GNU\ gold*) supports_anon_versioning=yes ;;
9344 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9345 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9346 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9347 *\ 2.11.*) ;; # other 2.11 versions
9348 *) supports_anon_versioning=yes ;;
9351 # See if GNU ld supports shared libraries.
9354 # On AIX/PPC, the GNU linker is very broken
9355 if test ia64 != "$host_cpu"; then
9359 *** Warning: the GNU linker, at least up to release 2.19, is reported
9360 *** to be unable to reliably create shared libraries on AIX.
9361 *** Therefore, libtool is disabling shared libraries support. If you
9362 *** really care for shared libraries, you may want to install binutils
9363 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9364 *** You will then need to restart the configuration process.
9373 # see comment about AmigaOS4 .so support
9374 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9375 archive_expsym_cmds=''
9378 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)'
9379 hardcode_libdir_flag_spec='-L$libdir'
9380 hardcode_minus_L=yes
9386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9387 allow_undefined_flag=unsupported
9388 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9389 # support --undefined. This deserves some investigation. FIXME
9390 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9396 cygwin* | mingw* | pw32* | cegcc*)
9397 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9398 # as there is no search path for DLLs.
9399 hardcode_libdir_flag_spec='-L$libdir'
9400 export_dynamic_flag_spec='$wl--export-all-symbols'
9401 allow_undefined_flag=unsupported
9402 always_export_symbols=no
9403 enable_shared_with_static_runtimes=yes
9404 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'
9405 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9407 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9408 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9409 # If the export-symbols file already is a .def file, use it as
9410 # is; otherwise, prepend EXPORTS...
9411 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9412 cp $export_symbols $output_objdir/$soname.def;
9414 echo EXPORTS > $output_objdir/$soname.def;
9415 cat $export_symbols >> $output_objdir/$soname.def;
9417 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9424 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9425 link_all_deplibs=yes
9429 hardcode_libdir_flag_spec='-L$libdir'
9430 hardcode_minus_L=yes
9431 allow_undefined_flag=unsupported
9433 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9434 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9435 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9436 $ECHO EXPORTS >> $output_objdir/$libname.def~
9437 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9438 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9439 emximp -o $lib $output_objdir/$libname.def'
9440 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9441 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9442 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9443 $ECHO EXPORTS >> $output_objdir/$libname.def~
9445 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9446 prefix_cmds="$prefix_cmds -e 1d";
9448 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9449 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9450 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9451 emximp -o $lib $output_objdir/$libname.def'
9452 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9453 enable_shared_with_static_runtimes=yes
9458 hardcode_shlibpath_var=no
9459 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9460 export_dynamic_flag_spec='$wl-E'
9461 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9462 # Instead, shared libraries are loaded at an image base (0x10000000 by
9463 # default) and relocated if they conflict, which is a slow very memory
9464 # consuming and fragmenting process. To avoid this, we pick a random,
9465 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9466 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9467 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9468 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'
9471 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9473 if test linux-dietlibc = "$host_os"; then
9474 case $cc_basename in
9475 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9478 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9479 && test no = "$tmp_diet"
9481 tmp_addflag=' $pic_flag'
9482 tmp_sharedflag='-shared'
9483 case $cc_basename,$host_cpu in
9484 pgcc*) # Portland Group C compiler
9485 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'
9486 tmp_addflag=' $pic_flag'
9488 pgf77* | pgf90* | pgf95* | pgfortran*)
9489 # Portland Group f77 and f90 compilers
9490 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'
9491 tmp_addflag=' $pic_flag -Mnomain' ;;
9492 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9493 tmp_addflag=' -i_dynamic' ;;
9494 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9495 tmp_addflag=' -i_dynamic -nofor_main' ;;
9496 ifc* | ifort*) # Intel Fortran compiler
9497 tmp_addflag=' -nofor_main' ;;
9498 lf95*) # Lahey Fortran 8.1
9499 whole_archive_flag_spec=
9500 tmp_sharedflag='--shared' ;;
9501 nagfor*) # NAGFOR 5.3
9502 tmp_sharedflag='-Wl,-shared' ;;
9503 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9504 tmp_sharedflag='-qmkshrobj'
9506 nvcc*) # Cuda Compiler Driver 2.2
9507 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'
9508 compiler_needs_object=yes
9511 case `$CC -V 2>&1 | sed 5q` in
9512 *Sun\ C*) # Sun C 5.9
9513 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'
9514 compiler_needs_object=yes
9515 tmp_sharedflag='-G' ;;
9516 *Sun\ F*) # Sun Fortran 8.3
9517 tmp_sharedflag='-G' ;;
9519 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9521 if test yes = "$supports_anon_versioning"; then
9522 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9523 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9524 echo "local: *; };" >> $output_objdir/$libname.ver~
9525 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9528 case $cc_basename in
9530 export_dynamic_flag_spec='-rdynamic'
9532 xlf* | bgf* | bgxlf* | mpixlf*)
9533 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9534 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9535 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9536 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9537 if test yes = "$supports_anon_versioning"; then
9538 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9539 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9540 echo "local: *; };" >> $output_objdir/$libname.ver~
9541 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9551 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9552 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9555 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9556 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9561 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9565 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9566 *** create shared libraries on Solaris systems. Therefore, libtool
9567 *** is disabling shared libraries support. We urge you to upgrade GNU
9568 *** binutils to release 2.9.1 or newer. Another option is to modify
9569 *** your PATH or compiler configuration so that the native linker is
9570 *** used, and then restart.
9573 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9574 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9575 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9581 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9582 case `$LD -v 2>&1` in
9583 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9587 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9588 *** reliably create shared libraries on SCO systems. Therefore, libtool
9589 *** is disabling shared libraries support. We urge you to upgrade GNU
9590 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9591 *** your PATH or compiler configuration so that the native linker is
9592 *** used, and then restart.
9597 # For security reasons, it is highly recommended that you always
9598 # use absolute paths for naming shared libraries, and exclude the
9599 # DT_RUNPATH tag from executables and libraries. But doing so
9600 # requires that you compile everything twice, which is a pain.
9601 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9602 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9603 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9604 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9613 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9616 hardcode_shlibpath_var=no
9620 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9621 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9622 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9629 if test no = "$ld_shlibs"; then
9631 hardcode_libdir_flag_spec=
9632 export_dynamic_flag_spec=
9633 whole_archive_flag_spec=
9636 # PORTME fill in a description of your system's linker (not GNU ld)
9639 allow_undefined_flag=unsupported
9640 always_export_symbols=yes
9641 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'
9642 # Note: this linker hardcodes the directories in LIBPATH if there
9643 # are no directories specified by -L.
9644 hardcode_minus_L=yes
9645 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9646 # Neither direct hardcoding nor static linking is supported with a
9648 hardcode_direct=unsupported
9653 if test ia64 = "$host_cpu"; then
9654 # On IA64, the linker does run time linking by default, so we don't
9655 # have to do anything special.
9656 aix_use_runtimelinking=no
9657 exp_sym_flag='-Bexport'
9660 # If we're using GNU nm, then we don't want the "-C" option.
9661 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9662 # Without the "-l" option, or with the "-B" option, AIX nm treats
9663 # weak defined symbols like other global defined symbols, whereas
9664 # GNU nm marks them as "W".
9665 # While the 'weak' keyword is ignored in the Export File, we need
9666 # it in the Import File for the 'aix-soname' feature, so we have
9667 # to replace the "-B" option with "-P" for AIX nm.
9668 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9669 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9671 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9673 aix_use_runtimelinking=no
9675 # Test if we are trying to use run time linking or normal
9676 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9677 # have runtime linking enabled, and use it for executables.
9678 # For shared libraries, we enable/disable runtime linking
9679 # depending on the kind of the shared library created -
9680 # when "with_aix_soname,aix_use_runtimelinking" is:
9681 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9682 # "aix,yes" lib.so shared, rtl:yes, for executables
9683 # lib.a static archive
9684 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9685 # lib.a(lib.so.V) shared, rtl:no, for executables
9686 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9687 # lib.a(lib.so.V) shared, rtl:no
9688 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9689 # lib.a static archive
9690 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9691 for ld_flag in $LDFLAGS; do
9692 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9693 aix_use_runtimelinking=yes
9697 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9698 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9699 # so we don't have lib.a shared libs to link our executables.
9700 # We have to force runtime linking in this case.
9701 aix_use_runtimelinking=yes
9702 LDFLAGS="$LDFLAGS -Wl,-brtl"
9707 exp_sym_flag='-bexport'
9708 no_entry_flag='-bnoentry'
9711 # When large executables or shared objects are built, AIX ld can
9712 # have problems creating the table of contents. If linking a library
9713 # or program results in "error TOC overflow" add -mminimal-toc to
9714 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9715 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9719 hardcode_direct_absolute=yes
9720 hardcode_libdir_separator=':'
9721 link_all_deplibs=yes
9722 file_list_spec='$wl-f,'
9723 case $with_aix_soname,$aix_use_runtimelinking in
9724 aix,*) ;; # traditional, no import file
9725 svr4,* | *,yes) # use import file
9726 # The Import File defines what to hardcode.
9728 hardcode_direct_absolute=no
9732 if test yes = "$GCC"; then
9733 case $host_os in aix4.[012]|aix4.[012].*)
9734 # We only want to do this on AIX 4.2 and lower, the check
9735 # below for broken collect2 doesn't work under 4.3+
9736 collect2name=`$CC -print-prog-name=collect2`
9737 if test -f "$collect2name" &&
9738 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9740 # We have reworked collect2
9743 # We have old collect2
9744 hardcode_direct=unsupported
9745 # It fails to find uninstalled libraries when the uninstalled
9746 # path is not listed in the libpath. Setting hardcode_minus_L
9747 # to unsupported forces relinking
9748 hardcode_minus_L=yes
9749 hardcode_libdir_flag_spec='-L$libdir'
9750 hardcode_libdir_separator=
9754 shared_flag='-shared'
9755 if test yes = "$aix_use_runtimelinking"; then
9756 shared_flag="$shared_flag "'$wl-G'
9758 # Need to ensure runtime linking is disabled for the traditional
9759 # shared library, or the linker may eventually find shared libraries
9760 # /with/ Import File - we do not want to mix them.
9761 shared_flag_aix='-shared'
9762 shared_flag_svr4='-shared $wl-G'
9765 if test ia64 = "$host_cpu"; then
9766 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9767 # chokes on -Wl,-G. The following line is correct:
9770 if test yes = "$aix_use_runtimelinking"; then
9773 shared_flag='$wl-bM:SRE'
9775 shared_flag_aix='$wl-bM:SRE'
9776 shared_flag_svr4='$wl-G'
9780 export_dynamic_flag_spec='$wl-bexpall'
9781 # It seems that -bexpall does not export symbols beginning with
9782 # underscore (_), so it is better to generate a list of symbols to export.
9783 always_export_symbols=yes
9784 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9785 # Warning - without using the other runtime loading flags (-brtl),
9786 # -berok will link without error, but may produce a broken library.
9787 allow_undefined_flag='-berok'
9788 # Determine the default libpath from the value encoded in an
9790 if test set = "${lt_cv_aix_libpath+set}"; then
9791 aix_libpath=$lt_cv_aix_libpath
9793 if ${lt_cv_aix_libpath_+:} false; then :
9794 $as_echo_n "(cached) " >&6
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9807 if ac_fn_c_try_link "$LINENO"; then :
9809 lt_aix_libpath_sed='
9810 /Import File Strings/,/^$/ {
9812 s/^0 *\([^ ]*\) *$/\1/
9816 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9817 # Check for a 64-bit object if we didn't find anything.
9818 if test -z "$lt_cv_aix_libpath_"; then
9819 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9822 rm -f core conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9824 if test -z "$lt_cv_aix_libpath_"; then
9825 lt_cv_aix_libpath_=/usr/lib:/lib
9830 aix_libpath=$lt_cv_aix_libpath_
9833 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9834 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9836 if test ia64 = "$host_cpu"; then
9837 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9838 allow_undefined_flag="-z nodefs"
9839 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"
9841 # Determine the default libpath from the value encoded in an
9843 if test set = "${lt_cv_aix_libpath+set}"; then
9844 aix_libpath=$lt_cv_aix_libpath
9846 if ${lt_cv_aix_libpath_+:} false; then :
9847 $as_echo_n "(cached) " >&6
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9860 if ac_fn_c_try_link "$LINENO"; then :
9862 lt_aix_libpath_sed='
9863 /Import File Strings/,/^$/ {
9865 s/^0 *\([^ ]*\) *$/\1/
9869 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9870 # Check for a 64-bit object if we didn't find anything.
9871 if test -z "$lt_cv_aix_libpath_"; then
9872 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 if test -z "$lt_cv_aix_libpath_"; then
9878 lt_cv_aix_libpath_=/usr/lib:/lib
9883 aix_libpath=$lt_cv_aix_libpath_
9886 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9887 # Warning - without using the other run time loading flags,
9888 # -berok will link without error, but may produce a broken library.
9889 no_undefined_flag=' $wl-bernotok'
9890 allow_undefined_flag=' $wl-berok'
9891 if test yes = "$with_gnu_ld"; then
9892 # We only use this code for GNU lds that support --whole-archive.
9893 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9895 # Exported symbols can be pulled into shared objects from archives
9896 whole_archive_flag_spec='$convenience'
9898 archive_cmds_need_lc=yes
9899 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9900 # -brtl affects multiple linker settings, -berok does not and is overridden later
9901 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9902 if test svr4 != "$with_aix_soname"; then
9903 # This is similar to how AIX traditionally builds its shared libraries.
9904 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9906 if test aix != "$with_aix_soname"; then
9907 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9909 # used by -dlpreopen to get the symbols
9910 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9912 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9920 # see comment about AmigaOS4 .so support
9921 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9922 archive_expsym_cmds=''
9925 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)'
9926 hardcode_libdir_flag_spec='-L$libdir'
9927 hardcode_minus_L=yes
9933 export_dynamic_flag_spec=-rdynamic
9936 cygwin* | mingw* | pw32* | cegcc*)
9937 # When not using gcc, we currently assume that we are using
9938 # Microsoft Visual C++.
9939 # hardcode_libdir_flag_spec is actually meaningless, as there is
9940 # no search path for DLLs.
9941 case $cc_basename in
9944 hardcode_libdir_flag_spec=' '
9945 allow_undefined_flag=unsupported
9946 always_export_symbols=yes
9948 # Tell ltmain to make .lib files, not .a files.
9950 # Tell ltmain to make .dll files, not .so files.
9952 # FIXME: Setting linknames here is a bad hack.
9953 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9954 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9955 cp "$export_symbols" "$output_objdir/$soname.def";
9956 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9958 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9960 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9962 # The linker will not automatically build a static lib if we build a DLL.
9963 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9964 enable_shared_with_static_runtimes=yes
9965 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9966 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9968 old_postinstall_cmds='chmod 644 $oldlib'
9969 postlink_cmds='lt_outputfile="@OUTPUT@"~
9970 lt_tool_outputfile="@TOOL_OUTPUT@"~
9971 case $lt_outputfile in
9974 lt_outputfile=$lt_outputfile.exe
9975 lt_tool_outputfile=$lt_tool_outputfile.exe
9978 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9979 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9980 $RM "$lt_outputfile.manifest";
9984 # Assume MSVC wrapper
9985 hardcode_libdir_flag_spec=' '
9986 allow_undefined_flag=unsupported
9987 # Tell ltmain to make .lib files, not .a files.
9989 # Tell ltmain to make .dll files, not .so files.
9991 # FIXME: Setting linknames here is a bad hack.
9992 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9993 # The linker will automatically build a .lib file if we build a DLL.
9994 old_archive_from_new_cmds='true'
9995 # FIXME: Should let the user specify the lib program.
9996 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9997 enable_shared_with_static_runtimes=yes
10002 darwin* | rhapsody*)
10005 archive_cmds_need_lc=no
10007 hardcode_automatic=yes
10008 hardcode_shlibpath_var=unsupported
10009 if test yes = "$lt_cv_ld_force_load"; then
10010 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\"`'
10013 whole_archive_flag_spec=''
10015 link_all_deplibs=yes
10016 allow_undefined_flag=$_lt_dar_allow_undefined
10017 case $cc_basename in
10018 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10019 *) _lt_dar_can_shared=$GCC ;;
10021 if test yes = "$_lt_dar_can_shared"; then
10022 output_verbose_link_cmd=func_echo_all
10023 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10024 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10025 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"
10026 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"
10035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_libdir_flag_spec='-L$libdir'
10037 hardcode_shlibpath_var=no
10040 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10041 # support. Future versions do this automatically, but an explicit c++rt0.o
10042 # does not break anything, and helps significantly (at the cost of a little
10045 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10046 hardcode_libdir_flag_spec='-R$libdir'
10047 hardcode_direct=yes
10048 hardcode_shlibpath_var=no
10051 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10053 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10054 hardcode_direct=yes
10055 hardcode_minus_L=yes
10056 hardcode_shlibpath_var=no
10059 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10060 freebsd* | dragonfly*)
10061 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10062 hardcode_libdir_flag_spec='-R$libdir'
10063 hardcode_direct=yes
10064 hardcode_shlibpath_var=no
10068 if test yes = "$GCC"; then
10069 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10071 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10073 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10074 hardcode_libdir_separator=:
10075 hardcode_direct=yes
10077 # hardcode_minus_L: Not really in the search PATH,
10078 # but as the default location of the library.
10079 hardcode_minus_L=yes
10080 export_dynamic_flag_spec='$wl-E'
10084 if test yes,no = "$GCC,$with_gnu_ld"; then
10085 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10089 if test no = "$with_gnu_ld"; then
10090 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10091 hardcode_libdir_separator=:
10092 hardcode_direct=yes
10093 hardcode_direct_absolute=yes
10094 export_dynamic_flag_spec='$wl-E'
10095 # hardcode_minus_L: Not really in the search PATH,
10096 # but as the default location of the library.
10097 hardcode_minus_L=yes
10102 if test yes,no = "$GCC,$with_gnu_ld"; then
10105 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10111 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10124 # Older versions of the 11.00 compiler do not understand -b yet
10125 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10127 $as_echo_n "checking if $CC understands -b... " >&6; }
10128 if ${lt_cv_prog_compiler__b+:} false; then :
10129 $as_echo_n "(cached) " >&6
10131 lt_cv_prog_compiler__b=no
10132 save_LDFLAGS=$LDFLAGS
10133 LDFLAGS="$LDFLAGS -b"
10134 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10135 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10136 # The linker can only warn and ignore the option if not recognized
10137 # So say no if there are warnings
10138 if test -s conftest.err; then
10139 # Append any errors to the config.log.
10140 cat conftest.err 1>&5
10141 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10142 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10143 if diff conftest.exp conftest.er2 >/dev/null; then
10144 lt_cv_prog_compiler__b=yes
10147 lt_cv_prog_compiler__b=yes
10151 LDFLAGS=$save_LDFLAGS
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10155 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10157 if test yes = "$lt_cv_prog_compiler__b"; then
10158 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10160 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10166 if test no = "$with_gnu_ld"; then
10167 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10168 hardcode_libdir_separator=:
10173 hardcode_shlibpath_var=no
10176 hardcode_direct=yes
10177 hardcode_direct_absolute=yes
10178 export_dynamic_flag_spec='$wl-E'
10180 # hardcode_minus_L: Not really in the search PATH,
10181 # but as the default location of the library.
10182 hardcode_minus_L=yes
10188 irix5* | irix6* | nonstopux*)
10189 if test yes = "$GCC"; then
10190 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'
10191 # Try to use the -exported_symbol ld option, if it does not
10192 # work, assume that -exports_file does not work either and
10193 # implicitly export all symbols.
10194 # This should be the same for all languages, so no per-tag cache variable.
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10196 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10197 if ${lt_cv_irix_exported_symbol+:} false; then :
10198 $as_echo_n "(cached) " >&6
10200 save_LDFLAGS=$LDFLAGS
10201 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int foo (void) { return 0; }
10206 if ac_fn_c_try_link "$LINENO"; then :
10207 lt_cv_irix_exported_symbol=yes
10209 lt_cv_irix_exported_symbol=no
10211 rm -f core conftest.err conftest.$ac_objext \
10212 conftest$ac_exeext conftest.$ac_ext
10213 LDFLAGS=$save_LDFLAGS
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10216 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10217 if test yes = "$lt_cv_irix_exported_symbol"; then
10218 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'
10221 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'
10222 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'
10224 archive_cmds_need_lc='no'
10225 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10226 hardcode_libdir_separator=:
10228 link_all_deplibs=yes
10232 case $cc_basename in
10234 # Fabrice Bellard et al's Tiny C Compiler
10236 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10242 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10243 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10245 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10247 hardcode_libdir_flag_spec='-R$libdir'
10248 hardcode_direct=yes
10249 hardcode_shlibpath_var=no
10253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10254 hardcode_direct=yes
10255 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10256 hardcode_libdir_separator=:
10257 hardcode_shlibpath_var=no
10263 openbsd* | bitrig*)
10264 if test -f /usr/libexec/ld.so; then
10265 hardcode_direct=yes
10266 hardcode_shlibpath_var=no
10267 hardcode_direct_absolute=yes
10268 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10269 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10270 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10271 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10272 export_dynamic_flag_spec='$wl-E'
10274 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10275 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10283 hardcode_libdir_flag_spec='-L$libdir'
10284 hardcode_minus_L=yes
10285 allow_undefined_flag=unsupported
10287 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10288 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10289 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10290 $ECHO EXPORTS >> $output_objdir/$libname.def~
10291 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10292 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10293 emximp -o $lib $output_objdir/$libname.def'
10294 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10295 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10296 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10297 $ECHO EXPORTS >> $output_objdir/$libname.def~
10298 prefix_cmds="$SED"~
10299 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10300 prefix_cmds="$prefix_cmds -e 1d";
10302 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10303 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10304 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10305 emximp -o $lib $output_objdir/$libname.def'
10306 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10307 enable_shared_with_static_runtimes=yes
10311 if test yes = "$GCC"; then
10312 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10313 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'
10315 allow_undefined_flag=' -expect_unresolved \*'
10316 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'
10318 archive_cmds_need_lc='no'
10319 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10320 hardcode_libdir_separator=:
10323 osf4* | osf5*) # as osf3* with the addition of -msym flag
10324 if test yes = "$GCC"; then
10325 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10326 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'
10327 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10329 allow_undefined_flag=' -expect_unresolved \*'
10330 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'
10331 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~
10332 $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'
10334 # Both c and cxx compiler support -rpath directly
10335 hardcode_libdir_flag_spec='-rpath $libdir'
10337 archive_cmds_need_lc='no'
10338 hardcode_libdir_separator=:
10342 no_undefined_flag=' -z defs'
10343 if test yes = "$GCC"; then
10345 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10347 $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'
10349 case `$CC -V 2>&1` in
10352 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10353 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10354 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10358 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10359 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10360 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10364 hardcode_libdir_flag_spec='-R$libdir'
10365 hardcode_shlibpath_var=no
10367 solaris2.[0-5] | solaris2.[0-5].*) ;;
10369 # The compiler driver will combine and reorder linker options,
10370 # but understands '-z linker_flag'. GCC discards it without '$wl',
10371 # but is careful enough not to reorder.
10372 # Supported since Solaris 2.6 (maybe 2.5.1?)
10373 if test yes = "$GCC"; then
10374 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10376 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10380 link_all_deplibs=yes
10384 if test sequent = "$host_vendor"; then
10385 # Use $CC to link under sequent, because it throws in some extra .o
10386 # files that make .init and .fini sections work.
10387 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10389 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10391 hardcode_libdir_flag_spec='-L$libdir'
10392 hardcode_direct=yes
10393 hardcode_minus_L=yes
10394 hardcode_shlibpath_var=no
10398 case $host_vendor in
10400 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10401 hardcode_direct=yes # is this really true???
10404 ## LD is ld it makes a PLAMLIB
10405 ## CC just makes a GrossModule.
10406 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10407 reload_cmds='$CC -r -o $output$reload_objs'
10411 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10415 runpath_var='LD_RUN_PATH'
10416 hardcode_shlibpath_var=no
10420 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10421 hardcode_shlibpath_var=no
10422 export_dynamic_flag_spec='-Bexport'
10426 if test -d /usr/nec; then
10427 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10428 hardcode_shlibpath_var=no
10429 runpath_var=LD_RUN_PATH
10430 hardcode_runpath_var=yes
10435 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10436 no_undefined_flag='$wl-z,text'
10437 archive_cmds_need_lc=no
10438 hardcode_shlibpath_var=no
10439 runpath_var='LD_RUN_PATH'
10441 if test yes = "$GCC"; then
10442 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10445 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10450 sysv5* | sco3.2v5* | sco5v6*)
10451 # Note: We CANNOT use -z defs as we might desire, because we do not
10452 # link with -lc, and that would cause any symbols used from libc to
10453 # always be unresolved, which means just about no library would
10454 # ever link correctly. If we're not using GNU ld we use -z text
10455 # though, which does catch some bad symbols but isn't as heavy-handed
10457 no_undefined_flag='$wl-z,text'
10458 allow_undefined_flag='$wl-z,nodefs'
10459 archive_cmds_need_lc=no
10460 hardcode_shlibpath_var=no
10461 hardcode_libdir_flag_spec='$wl-R,$libdir'
10462 hardcode_libdir_separator=':'
10463 link_all_deplibs=yes
10464 export_dynamic_flag_spec='$wl-Bexport'
10465 runpath_var='LD_RUN_PATH'
10467 if test yes = "$GCC"; then
10468 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10471 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10472 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10477 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10478 hardcode_libdir_flag_spec='-L$libdir'
10479 hardcode_shlibpath_var=no
10487 if test sni = "$host_vendor"; then
10489 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10490 export_dynamic_flag_spec='$wl-Blargedynsym'
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10497 $as_echo "$ld_shlibs" >&6; }
10498 test no = "$ld_shlibs" && can_build_shared=no
10500 with_gnu_ld=$with_gnu_ld
10517 # Do we need to explicitly link libc?
10519 case "x$archive_cmds_need_lc" in
10521 # Assume -lc should be added
10522 archive_cmds_need_lc=yes
10524 if test yes,yes = "$GCC,$enable_shared"; then
10525 case $archive_cmds in
10527 # FIXME: we may have to deal with multi-command sequences.
10530 # Test whether the compiler implicitly links with -lc since on some
10531 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10532 # to ld, don't add -lc before -lgcc.
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10534 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10535 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10536 $as_echo_n "(cached) " >&6
10539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10542 (eval $ac_compile) 2>&5
10544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10545 test $ac_status = 0; } 2>conftest.err; then
10548 libobjs=conftest.$ac_objext
10550 wl=$lt_prog_compiler_wl
10551 pic_flag=$lt_prog_compiler_pic
10557 lt_save_allow_undefined_flag=$allow_undefined_flag
10558 allow_undefined_flag=
10559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10560 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10563 test $ac_status = 0; }
10565 lt_cv_archive_cmds_need_lc=no
10567 lt_cv_archive_cmds_need_lc=yes
10569 allow_undefined_flag=$lt_save_allow_undefined_flag
10571 cat conftest.err 1>&5
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10577 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10578 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10737 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10739 if test yes = "$GCC"; then
10741 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10742 *) lt_awk_arg='/^libraries:/' ;;
10745 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10746 *) lt_sed_strip_eq='s|=/|/|g' ;;
10748 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10749 case $lt_search_path_spec in
10751 # if the path contains ";" then we assume it to be the separator
10752 # otherwise default to the standard path separator (i.e. ":") - it is
10753 # assumed that no part of a normal pathname contains ";" but that should
10754 # okay in the real world where ";" in dirpaths is itself problematic.
10755 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10758 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10761 # Ok, now we have the path, separated by spaces, we can step through it
10762 # and add multilib dir if necessary...
10763 lt_tmp_lt_search_path_spec=
10764 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10765 # ...but if some path component already ends with the multilib dir we assume
10766 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10767 case "$lt_multi_os_dir; $lt_search_path_spec " in
10768 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10772 for lt_sys_path in $lt_search_path_spec; do
10773 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10774 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10775 elif test -n "$lt_multi_os_dir"; then
10776 test -d "$lt_sys_path" && \
10777 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10780 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10781 BEGIN {RS = " "; FS = "/|\n";} {
10784 for (lt_i = NF; lt_i > 0; lt_i--) {
10785 if ($lt_i != "" && $lt_i != ".") {
10786 if ($lt_i == "..") {
10789 if (lt_count == 0) {
10790 lt_foo = "/" $lt_i lt_foo;
10797 if (lt_foo != "") { lt_freq[lt_foo]++; }
10798 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10800 # AWK program above erroneously prepends '/' to C:/dos/paths
10803 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10804 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10806 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10808 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10810 library_names_spec=
10811 libname_spec='lib$name'
10815 postuninstall_cmds=
10819 shlibpath_overrides_runpath=unknown
10821 dynamic_linker="$host_os ld.so"
10822 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10823 need_lib_prefix=unknown
10824 hardcode_into_libs=no
10826 # when you set need_version to no, make sure it does not cause -set_version
10827 # flags to be left without arguments
10828 need_version=unknown
10834 version_type=linux # correct to gnu/linux during the next big refactor
10835 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10836 shlibpath_var=LIBPATH
10838 # AIX 3 has no versioning support, so we append a major version to the name.
10839 soname_spec='$libname$release$shared_ext$major'
10843 version_type=linux # correct to gnu/linux during the next big refactor
10846 hardcode_into_libs=yes
10847 if test ia64 = "$host_cpu"; then
10848 # AIX 5 supports IA64
10849 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10850 shlibpath_var=LD_LIBRARY_PATH
10852 # With GCC up to 2.95.x, collect2 would create an import file
10853 # for dependence libraries. The import file would start with
10854 # the line '#! .'. This would cause the generated library to
10855 # depend on '.', always an invalid library. This was fixed in
10856 # development snapshots of GCC prior to 3.0.
10858 aix4 | aix4.[01] | aix4.[01].*)
10859 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10861 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10864 can_build_shared=no
10868 # Using Import Files as archive members, it is possible to support
10869 # filename-based versioning of shared library archives on AIX. While
10870 # this would work for both with and without runtime linking, it will
10871 # prevent static linking of such archives. So we do filename-based
10872 # shared library versioning with .so extension only, which is used
10873 # when both runtime linking and shared linking is enabled.
10874 # Unfortunately, runtime linking may impact performance, so we do
10875 # not want this to be the default eventually. Also, we use the
10876 # versioned .so libs for executables only if there is the -brtl
10877 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10878 # To allow for filename-based versioning support, we need to create
10879 # libNAME.so.V as an archive file, containing:
10880 # *) an Import File, referring to the versioned filename of the
10881 # archive as well as the shared archive member, telling the
10882 # bitwidth (32 or 64) of that shared object, and providing the
10883 # list of exported symbols of that shared object, eventually
10884 # decorated with the 'weak' keyword
10885 # *) the shared object with the F_LOADONLY flag set, to really avoid
10886 # it being seen by the linker.
10887 # At run time we better use the real file rather than another symlink,
10888 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10890 case $with_aix_soname,$aix_use_runtimelinking in
10891 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10892 # soname into executable. Probably we can add versioning support to
10893 # collect2, so additional links can be useful in future.
10894 aix,yes) # traditional libtool
10895 dynamic_linker='AIX unversionable lib.so'
10896 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10897 # instead of lib<name>.a to let people know that these are not
10898 # typical AIX shared libraries.
10899 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10901 aix,no) # traditional AIX only
10902 dynamic_linker='AIX lib.a(lib.so.V)'
10903 # We preserve .a as extension for shared libraries through AIX4.2
10904 # and later when we are not doing run time linking.
10905 library_names_spec='$libname$release.a $libname.a'
10906 soname_spec='$libname$release$shared_ext$major'
10908 svr4,*) # full svr4 only
10909 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10910 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10911 # We do not specify a path in Import Files, so LIBPATH fires.
10912 shlibpath_overrides_runpath=yes
10914 *,yes) # both, prefer svr4
10915 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10916 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10917 # unpreferred sharedlib libNAME.a needs extra handling
10918 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10919 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10920 # We do not specify a path in Import Files, so LIBPATH fires.
10921 shlibpath_overrides_runpath=yes
10923 *,no) # both, prefer aix
10924 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10925 library_names_spec='$libname$release.a $libname.a'
10926 soname_spec='$libname$release$shared_ext$major'
10927 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10928 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10929 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10932 shlibpath_var=LIBPATH
10939 # Since July 2007 AmigaOS4 officially supports .so libraries.
10940 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10941 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10944 library_names_spec='$libname.ixlibrary $libname.a'
10945 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10946 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10952 library_names_spec='$libname$shared_ext'
10953 dynamic_linker="$host_os ld.so"
10954 shlibpath_var=LIBRARY_PATH
10958 version_type=linux # correct to gnu/linux during the next big refactor
10960 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10961 soname_spec='$libname$release$shared_ext$major'
10962 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10965 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10966 # the default ld.so.conf also contains /usr/contrib/lib and
10967 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10968 # libtool to hard-code these into programs
10971 cygwin* | mingw* | pw32* | cegcc*)
10972 version_type=windows
10977 case $GCC,$cc_basename in
10980 library_names_spec='$libname.dll.a'
10981 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10982 postinstall_cmds='base_file=`basename \$file`~
10983 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10984 dldir=$destdir/`dirname \$dlpath`~
10985 test -d \$dldir || mkdir -p \$dldir~
10986 $install_prog $dir/$dlname \$dldir/$dlname~
10987 chmod a+x \$dldir/$dlname~
10988 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10989 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10991 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10992 dlpath=$dir/\$dldll~
10994 shlibpath_overrides_runpath=yes
10998 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10999 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11001 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11004 # MinGW DLLs use traditional 'lib' prefix
11005 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11008 # pw32 DLLs use 'pw' prefix rather than 'lib'
11009 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11012 dynamic_linker='Win32 ld.exe'
11017 libname_spec='$name'
11018 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11019 library_names_spec='$libname.dll.lib'
11023 sys_lib_search_path_spec=
11026 for lt_path in $LIB
11029 # Let DOS variable expansion print the short 8.3 style file name.
11030 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11031 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11034 # Convert to MSYS style.
11035 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11038 # Convert to unix form, then to dos form, then back to unix form
11039 # but this time dos style (no spaces!) so that the unix form looks
11040 # like /cygdrive/c/PROGRA~1:/cygdr...
11041 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11042 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11043 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11046 sys_lib_search_path_spec=$LIB
11047 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11048 # It is most probably a Windows format PATH.
11049 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11051 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11053 # FIXME: find the short name or the path components, as spaces are
11054 # common. (e.g. "Program Files" -> "PROGRA~1")
11058 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11059 postinstall_cmds='base_file=`basename \$file`~
11060 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11061 dldir=$destdir/`dirname \$dlpath`~
11062 test -d \$dldir || mkdir -p \$dldir~
11063 $install_prog $dir/$dlname \$dldir/$dlname'
11064 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11065 dlpath=$dir/\$dldll~
11067 shlibpath_overrides_runpath=yes
11068 dynamic_linker='Win32 link.exe'
11072 # Assume MSVC wrapper
11073 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11074 dynamic_linker='Win32 ld.exe'
11077 # FIXME: first we should search . and the directory the executable is in
11081 darwin* | rhapsody*)
11082 dynamic_linker="$host_os dyld"
11083 version_type=darwin
11086 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11087 soname_spec='$libname$release$major$shared_ext'
11088 shlibpath_overrides_runpath=yes
11089 shlibpath_var=DYLD_LIBRARY_PATH
11090 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11092 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11093 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11097 version_type=linux # correct to gnu/linux during the next big refactor
11100 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11101 soname_spec='$libname$release$shared_ext$major'
11102 shlibpath_var=LD_LIBRARY_PATH
11105 freebsd* | dragonfly*)
11106 # DragonFly does not have aout. When/if they implement a new
11107 # versioning mechanism, adjust this.
11108 if test -x /usr/bin/objformat; then
11109 objformat=`/usr/bin/objformat`
11112 freebsd[23].*) objformat=aout ;;
11113 *) objformat=elf ;;
11116 version_type=freebsd-$objformat
11117 case $version_type in
11119 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11120 soname_spec='$libname$release$shared_ext$major'
11125 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11129 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=yes
11134 freebsd3.[01]* | freebsdelf3.[01]*)
11135 shlibpath_overrides_runpath=yes
11136 hardcode_into_libs=yes
11138 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11139 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11140 shlibpath_overrides_runpath=no
11141 hardcode_into_libs=yes
11143 *) # from 4.6 on, and DragonFly
11144 shlibpath_overrides_runpath=yes
11145 hardcode_into_libs=yes
11151 version_type=linux # correct to gnu/linux during the next big refactor
11154 dynamic_linker="$host_os runtime_loader"
11155 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11156 soname_spec='$libname$release$shared_ext$major'
11157 shlibpath_var=LIBRARY_PATH
11158 shlibpath_overrides_runpath=no
11159 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11160 hardcode_into_libs=yes
11163 hpux9* | hpux10* | hpux11*)
11164 # Give a soname corresponding to the major version so that dld.sl refuses to
11165 # link against other versions.
11172 hardcode_into_libs=yes
11173 dynamic_linker="$host_os dld.so"
11174 shlibpath_var=LD_LIBRARY_PATH
11175 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11176 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11177 soname_spec='$libname$release$shared_ext$major'
11178 if test 32 = "$HPUX_IA64_MODE"; then
11179 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11180 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11182 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11183 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11188 hardcode_into_libs=yes
11189 dynamic_linker="$host_os dld.sl"
11190 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11191 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11192 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11193 soname_spec='$libname$release$shared_ext$major'
11194 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11195 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11199 dynamic_linker="$host_os dld.sl"
11200 shlibpath_var=SHLIB_PATH
11201 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11202 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11203 soname_spec='$libname$release$shared_ext$major'
11206 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11207 postinstall_cmds='chmod 555 $lib'
11208 # or fails outright, so override atomically:
11209 install_override_mode=555
11213 version_type=linux # correct to gnu/linux during the next big refactor
11216 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11217 soname_spec='$libname$release$shared_ext$major'
11218 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11219 shlibpath_var=LD_LIBRARY_PATH
11220 shlibpath_overrides_runpath=no
11221 hardcode_into_libs=yes
11224 irix5* | irix6* | nonstopux*)
11226 nonstopux*) version_type=nonstopux ;;
11228 if test yes = "$lt_cv_prog_gnu_ld"; then
11229 version_type=linux # correct to gnu/linux during the next big refactor
11236 soname_spec='$libname$release$shared_ext$major'
11237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11239 irix5* | nonstopux*)
11240 libsuff= shlibsuff=
11243 case $LD in # libtool.m4 will add one of these switches to LD
11244 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11245 libsuff= shlibsuff= libmagic=32-bit;;
11246 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11247 libsuff=32 shlibsuff=N32 libmagic=N32;;
11248 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11249 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11250 *) libsuff= shlibsuff= libmagic=never-match;;
11254 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11255 shlibpath_overrides_runpath=no
11256 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11257 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11258 hardcode_into_libs=yes
11261 # No shared lib support for Linux oldld, aout, or coff.
11262 linux*oldld* | linux*aout* | linux*coff*)
11267 version_type=none # Android doesn't support versioned libraries.
11270 library_names_spec='$libname$release$shared_ext'
11271 soname_spec='$libname$release$shared_ext'
11273 shlibpath_var=LD_LIBRARY_PATH
11274 shlibpath_overrides_runpath=yes
11276 # This implies no fast_install, which is unacceptable.
11277 # Some rework will be needed to allow for fast_install
11278 # before this can be enabled.
11279 hardcode_into_libs=yes
11281 dynamic_linker='Android linker'
11282 # Don't embed -rpath directories since the linker doesn't support them.
11283 hardcode_libdir_flag_spec='-L$libdir'
11286 # This must be glibc/ELF.
11287 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11288 version_type=linux # correct to gnu/linux during the next big refactor
11291 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11292 soname_spec='$libname$release$shared_ext$major'
11293 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11294 shlibpath_var=LD_LIBRARY_PATH
11295 shlibpath_overrides_runpath=no
11297 # Some binutils ld are patched to set DT_RUNPATH
11298 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11299 $as_echo_n "(cached) " >&6
11301 lt_cv_shlibpath_overrides_runpath=no
11302 save_LDFLAGS=$LDFLAGS
11303 save_libdir=$libdir
11304 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11305 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11319 lt_cv_shlibpath_overrides_runpath=yes
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LDFLAGS=$save_LDFLAGS
11325 libdir=$save_libdir
11329 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11331 # This implies no fast_install, which is unacceptable.
11332 # Some rework will be needed to allow for fast_install
11333 # before this can be enabled.
11334 hardcode_into_libs=yes
11336 # Add ABI-specific directories to the system library path.
11337 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11339 # Ideally, we could use ldconfig to report *all* directores which are
11340 # searched for libraries, however this is still not possible. Aside from not
11341 # being certain /sbin/ldconfig is available, command
11342 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11343 # even though it is searched at run-time. Try to do the best guess by
11344 # appending ld.so.conf contents (and includes) to the search path.
11345 if test -f /etc/ld.so.conf; then
11346 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' ' '`
11347 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11350 # We used to test for /lib/ld.so.1 and disable shared libraries on
11351 # powerpc, because MkLinux only supported shared libraries with the
11352 # GNU dynamic linker. Since this was broken with cross compilers,
11353 # most powerpc-linux boxes support dynamic linking these days and
11354 # people can always --disable-shared, the test was removed, and we
11355 # assume the GNU/Linux dynamic linker is in use.
11356 dynamic_linker='GNU/Linux ld.so'
11363 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11364 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11365 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11366 dynamic_linker='NetBSD (a.out) ld.so'
11368 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11369 soname_spec='$libname$release$shared_ext$major'
11370 dynamic_linker='NetBSD ld.elf_so'
11372 shlibpath_var=LD_LIBRARY_PATH
11373 shlibpath_overrides_runpath=yes
11374 hardcode_into_libs=yes
11378 version_type=linux # correct to gnu/linux during the next big refactor
11379 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11380 shlibpath_var=LD_LIBRARY_PATH
11381 shlibpath_overrides_runpath=yes
11388 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11389 soname_spec='$libname$release$shared_ext$major'
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=no
11392 hardcode_into_libs=yes
11393 dynamic_linker='ldqnx.so'
11396 openbsd* | bitrig*)
11398 sys_lib_dlsearch_path_spec=/usr/lib
11400 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11405 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11406 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11407 shlibpath_var=LD_LIBRARY_PATH
11408 shlibpath_overrides_runpath=yes
11412 libname_spec='$name'
11413 version_type=windows
11417 # OS/2 can only load a DLL with a base name of 8 characters or less.
11418 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11419 v=$($ECHO $release$versuffix | tr -d .-);
11420 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11421 $ECHO $n$v`$shared_ext'
11422 library_names_spec='${libname}_dll.$libext'
11423 dynamic_linker='OS/2 ld.exe'
11424 shlibpath_var=BEGINLIBPATH
11425 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11426 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11427 postinstall_cmds='base_file=`basename \$file`~
11428 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11429 dldir=$destdir/`dirname \$dlpath`~
11430 test -d \$dldir || mkdir -p \$dldir~
11431 $install_prog $dir/$dlname \$dldir/$dlname~
11432 chmod a+x \$dldir/$dlname~
11433 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11434 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11436 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11437 dlpath=$dir/\$dldll~
11441 osf3* | osf4* | osf5*)
11445 soname_spec='$libname$release$shared_ext$major'
11446 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11449 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11457 version_type=linux # correct to gnu/linux during the next big refactor
11460 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11461 soname_spec='$libname$release$shared_ext$major'
11462 shlibpath_var=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath=yes
11464 hardcode_into_libs=yes
11465 # ldd complains unless libraries are executable
11466 postinstall_cmds='chmod +x $lib'
11471 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11472 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11473 shlibpath_var=LD_LIBRARY_PATH
11474 shlibpath_overrides_runpath=yes
11475 if test yes = "$with_gnu_ld"; then
11482 version_type=linux # correct to gnu/linux during the next big refactor
11483 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11484 soname_spec='$libname$release$shared_ext$major'
11485 shlibpath_var=LD_LIBRARY_PATH
11486 case $host_vendor in
11488 shlibpath_overrides_runpath=no
11490 runpath_var=LD_RUN_PATH
11498 shlibpath_overrides_runpath=no
11499 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11505 if test -d /usr/nec; then
11506 version_type=linux # correct to gnu/linux during the next big refactor
11507 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11508 soname_spec='$libname$shared_ext.$major'
11509 shlibpath_var=LD_LIBRARY_PATH
11513 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11518 soname_spec='$libname$release$shared_ext$major'
11519 shlibpath_var=LD_LIBRARY_PATH
11520 shlibpath_overrides_runpath=yes
11521 hardcode_into_libs=yes
11522 if test yes = "$with_gnu_ld"; then
11523 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11525 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11528 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11532 sys_lib_dlsearch_path_spec='/usr/lib'
11536 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11537 version_type=linux # correct to gnu/linux during the next big refactor
11540 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 shlibpath_overrides_runpath=no
11543 hardcode_into_libs=yes
11547 version_type=linux # correct to gnu/linux during the next big refactor
11548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11549 soname_spec='$libname$release$shared_ext$major'
11550 shlibpath_var=LD_LIBRARY_PATH
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11558 $as_echo "$dynamic_linker" >&6; }
11559 test no = "$dynamic_linker" && can_build_shared=no
11561 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11562 if test yes = "$GCC"; then
11563 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11566 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11567 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11570 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11571 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11574 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11575 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11577 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11578 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11580 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11581 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11680 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11682 if test -n "$hardcode_libdir_flag_spec" ||
11683 test -n "$runpath_var" ||
11684 test yes = "$hardcode_automatic"; then
11686 # We can hardcode non-existent directories.
11687 if test no != "$hardcode_direct" &&
11688 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11689 # have to relink, otherwise we might link with an installed library
11690 # when we should be linking with a yet-to-be-installed one
11691 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11692 test no != "$hardcode_minus_L"; then
11693 # Linking always hardcodes the temporary library directory.
11694 hardcode_action=relink
11696 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11697 hardcode_action=immediate
11700 # We cannot hardcode anything, or else we can only hardcode existing
11702 hardcode_action=unsupported
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11705 $as_echo "$hardcode_action" >&6; }
11707 if test relink = "$hardcode_action" ||
11708 test yes = "$inherit_rpath"; then
11709 # Fast installation is not supported
11710 enable_fast_install=no
11711 elif test yes = "$shlibpath_overrides_runpath" ||
11712 test no = "$enable_shared"; then
11713 # Fast installation is not necessary
11714 enable_fast_install=needless
11722 if test yes != "$enable_dlopen"; then
11723 enable_dlopen=unknown
11724 enable_dlopen_self=unknown
11725 enable_dlopen_self_static=unknown
11732 lt_cv_dlopen=load_add_on
11734 lt_cv_dlopen_self=yes
11737 mingw* | pw32* | cegcc*)
11738 lt_cv_dlopen=LoadLibrary
11743 lt_cv_dlopen=dlopen
11748 # if libdl is installed we need to link against it
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11750 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11751 if ${ac_cv_lib_dl_dlopen+:} false; then :
11752 $as_echo_n "(cached) " >&6
11754 ac_check_lib_save_LIBS=$LIBS
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 ac_cv_lib_dl_dlopen=yes
11777 ac_cv_lib_dl_dlopen=no
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11784 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11785 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11786 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11791 lt_cv_dlopen_self=yes
11798 # Don't try to run any link tests for TPF. We know it's impossible
11799 # because TPF is a cross-compiler, and we know how we open DSOs.
11800 lt_cv_dlopen=dlopen
11802 lt_cv_dlopen_self=no
11806 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11807 if test "x$ac_cv_func_shl_load" = xyes; then :
11808 lt_cv_dlopen=shl_load
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11811 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11812 if ${ac_cv_lib_dld_shl_load+:} false; then :
11813 $as_echo_n "(cached) " >&6
11815 ac_check_lib_save_LIBS=$LIBS
11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11820 /* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11830 return shl_load ();
11835 if ac_fn_c_try_link "$LINENO"; then :
11836 ac_cv_lib_dld_shl_load=yes
11838 ac_cv_lib_dld_shl_load=no
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_lib_save_LIBS
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11845 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11846 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11847 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11849 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11850 if test "x$ac_cv_func_dlopen" = xyes; then :
11851 lt_cv_dlopen=dlopen
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11855 if ${ac_cv_lib_dl_dlopen+:} false; then :
11856 $as_echo_n "(cached) " >&6
11858 ac_check_lib_save_LIBS=$LIBS
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11863 /* Override any GCC internal prototype to avoid an error.
11864 Use char because int might match the return type of a GCC
11865 builtin and then its argument prototype would still apply. */
11878 if ac_fn_c_try_link "$LINENO"; then :
11879 ac_cv_lib_dl_dlopen=yes
11881 ac_cv_lib_dl_dlopen=no
11883 rm -f core conftest.err conftest.$ac_objext \
11884 conftest$ac_exeext conftest.$ac_ext
11885 LIBS=$ac_check_lib_save_LIBS
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11889 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11890 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11893 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11894 if ${ac_cv_lib_svld_dlopen+:} false; then :
11895 $as_echo_n "(cached) " >&6
11897 ac_check_lib_save_LIBS=$LIBS
11898 LIBS="-lsvld $LIBS"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11917 if ac_fn_c_try_link "$LINENO"; then :
11918 ac_cv_lib_svld_dlopen=yes
11920 ac_cv_lib_svld_dlopen=no
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_lib_save_LIBS
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11927 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11928 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11929 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11932 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11933 if ${ac_cv_lib_dld_dld_link+:} false; then :
11934 $as_echo_n "(cached) " >&6
11936 ac_check_lib_save_LIBS=$LIBS
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11951 return dld_link ();
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 ac_cv_lib_dld_dld_link=yes
11959 ac_cv_lib_dld_dld_link=no
11961 rm -f core conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_lib_save_LIBS
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11966 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11967 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11968 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11989 if test no = "$lt_cv_dlopen"; then
11995 case $lt_cv_dlopen in
11997 save_CPPFLAGS=$CPPFLAGS
11998 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12000 save_LDFLAGS=$LDFLAGS
12001 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12004 LIBS="$lt_cv_dlopen_libs $LIBS"
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12007 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12008 if ${lt_cv_dlopen_self+:} false; then :
12009 $as_echo_n "(cached) " >&6
12011 if test yes = "$cross_compiling"; then :
12012 lt_cv_dlopen_self=cross
12014 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12015 lt_status=$lt_dlunknown
12016 cat > conftest.$ac_ext <<_LT_EOF
12017 #line $LINENO "configure"
12018 #include "confdefs.h"
12027 # define LT_DLGLOBAL RTLD_GLOBAL
12030 # define LT_DLGLOBAL DL_GLOBAL
12032 # define LT_DLGLOBAL 0
12036 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12037 find out it does not work in some platform. */
12038 #ifndef LT_DLLAZY_OR_NOW
12040 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12043 # define LT_DLLAZY_OR_NOW DL_LAZY
12046 # define LT_DLLAZY_OR_NOW RTLD_NOW
12049 # define LT_DLLAZY_OR_NOW DL_NOW
12051 # define LT_DLLAZY_OR_NOW 0
12058 /* When -fvisibility=hidden is used, assume the code has been annotated
12059 correspondingly for the symbols needed. */
12060 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12061 int fnord () __attribute__((visibility("default")));
12064 int fnord () { return 42; }
12067 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12068 int status = $lt_dlunknown;
12072 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12075 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12076 else puts (dlerror ());
12078 /* dlclose (self); */
12086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12087 (eval $ac_link) 2>&5
12089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12090 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12091 (./conftest; exit; ) >&5 2>/dev/null
12093 case x$lt_status in
12094 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12095 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12096 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12099 # compilation failed
12100 lt_cv_dlopen_self=no
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12108 $as_echo "$lt_cv_dlopen_self" >&6; }
12110 if test yes = "$lt_cv_dlopen_self"; then
12111 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12113 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12114 if ${lt_cv_dlopen_self_static+:} false; then :
12115 $as_echo_n "(cached) " >&6
12117 if test yes = "$cross_compiling"; then :
12118 lt_cv_dlopen_self_static=cross
12120 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12121 lt_status=$lt_dlunknown
12122 cat > conftest.$ac_ext <<_LT_EOF
12123 #line $LINENO "configure"
12124 #include "confdefs.h"
12133 # define LT_DLGLOBAL RTLD_GLOBAL
12136 # define LT_DLGLOBAL DL_GLOBAL
12138 # define LT_DLGLOBAL 0
12142 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12143 find out it does not work in some platform. */
12144 #ifndef LT_DLLAZY_OR_NOW
12146 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12149 # define LT_DLLAZY_OR_NOW DL_LAZY
12152 # define LT_DLLAZY_OR_NOW RTLD_NOW
12155 # define LT_DLLAZY_OR_NOW DL_NOW
12157 # define LT_DLLAZY_OR_NOW 0
12164 /* When -fvisibility=hidden is used, assume the code has been annotated
12165 correspondingly for the symbols needed. */
12166 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12167 int fnord () __attribute__((visibility("default")));
12170 int fnord () { return 42; }
12173 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12174 int status = $lt_dlunknown;
12178 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12181 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12182 else puts (dlerror ());
12184 /* dlclose (self); */
12192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12193 (eval $ac_link) 2>&5
12195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12196 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12197 (./conftest; exit; ) >&5 2>/dev/null
12199 case x$lt_status in
12200 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12201 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12202 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12205 # compilation failed
12206 lt_cv_dlopen_self_static=no
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12214 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12217 CPPFLAGS=$save_CPPFLAGS
12218 LDFLAGS=$save_LDFLAGS
12223 case $lt_cv_dlopen_self in
12224 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12225 *) enable_dlopen_self=unknown ;;
12228 case $lt_cv_dlopen_self_static in
12229 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12230 *) enable_dlopen_self_static=unknown ;;
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12253 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12254 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12255 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12256 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12258 $as_echo "yes" >&6; }
12260 # FIXME - insert some real tests, host_os isn't really good enough
12263 if test -n "$STRIP"; then
12264 striplib="$STRIP -x"
12265 old_striplib="$STRIP -S"
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12267 $as_echo "yes" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 $as_echo "no" >&6; }
12291 # Report what library types will actually be built
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12293 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12295 $as_echo "$can_build_shared" >&6; }
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12298 $as_echo_n "checking whether to build shared libraries... " >&6; }
12299 test no = "$can_build_shared" && enable_shared=no
12301 # On AIX, shared libraries and static libraries use the same namespace, and
12302 # are all built from PIC.
12305 test yes = "$enable_shared" && enable_static=no
12306 if test -n "$RANLIB"; then
12307 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12308 postinstall_cmds='$RANLIB $lib'
12313 if test ia64 != "$host_cpu"; then
12314 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12315 yes,aix,yes) ;; # shared object as lib.so file only
12316 yes,svr4,*) ;; # shared object as lib.so archive member only
12317 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12323 $as_echo "$enable_shared" >&6; }
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12326 $as_echo_n "checking whether to build static libraries... " >&6; }
12327 # Make sure either enable_shared or enable_static is yes.
12328 test yes = "$enable_shared" || enable_static=yes
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12330 $as_echo "$enable_static" >&6; }
12337 ac_cpp='$CPP $CPPFLAGS'
12338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12358 ac_config_commands="$ac_config_commands libtool"
12363 # Only expand once:
12367 FRIBIDI_MAJOR_VERSION=1
12368 FRIBIDI_MINOR_VERSION=0
12369 FRIBIDI_MICRO_VERSION=10
12370 FRIBIDI_VERSION=1.0.10
12371 FRIBIDI_INTERFACE_VERSION=4
12372 FRIBIDI_INTERFACE_AGE=0
12373 FRIBIDI_BINARY_AGE=4
12383 FRIBIDI_MSVC_BUILD_PLACEHOLDER="#undef FRIBIDI_BUILT_WITH_MSVC"
12386 LT_VERSION_INFO=4:0:4
12387 LT_CURRENT_MINUS_AGE=0
12393 # Checks for programs.
12395 ac_cpp='$CPP $CPPFLAGS'
12396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12399 if test -n "$ac_tool_prefix"; then
12400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12403 $as_echo_n "checking for $ac_word... " >&6; }
12404 if ${ac_cv_prog_CC+:} false; then :
12405 $as_echo_n "(cached) " >&6
12407 if test -n "$CC"; then
12408 ac_cv_prog_CC="$CC" # Let the user override the test.
12410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12411 for as_dir in $PATH
12414 test -z "$as_dir" && as_dir=.
12415 for ac_exec_ext in '' $ac_executable_extensions; do
12416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12417 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12428 if test -n "$CC"; then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12430 $as_echo "$CC" >&6; }
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12433 $as_echo "no" >&6; }
12438 if test -z "$ac_cv_prog_CC"; then
12440 # Extract the first word of "gcc", so it can be a program name with args.
12441 set dummy gcc; ac_word=$2
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12443 $as_echo_n "checking for $ac_word... " >&6; }
12444 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12445 $as_echo_n "(cached) " >&6
12447 if test -n "$ac_ct_CC"; then
12448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12451 for as_dir in $PATH
12454 test -z "$as_dir" && as_dir=.
12455 for ac_exec_ext in '' $ac_executable_extensions; do
12456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12457 ac_cv_prog_ac_ct_CC="gcc"
12458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12468 if test -n "$ac_ct_CC"; then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12470 $as_echo "$ac_ct_CC" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473 $as_echo "no" >&6; }
12476 if test "x$ac_ct_CC" = x; then
12479 case $cross_compiling:$ac_tool_warned in
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12483 ac_tool_warned=yes ;;
12488 CC="$ac_cv_prog_CC"
12491 if test -z "$CC"; then
12492 if test -n "$ac_tool_prefix"; then
12493 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12494 set dummy ${ac_tool_prefix}cc; ac_word=$2
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12496 $as_echo_n "checking for $ac_word... " >&6; }
12497 if ${ac_cv_prog_CC+:} false; then :
12498 $as_echo_n "(cached) " >&6
12500 if test -n "$CC"; then
12501 ac_cv_prog_CC="$CC" # Let the user override the test.
12503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12504 for as_dir in $PATH
12507 test -z "$as_dir" && as_dir=.
12508 for ac_exec_ext in '' $ac_executable_extensions; do
12509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12510 ac_cv_prog_CC="${ac_tool_prefix}cc"
12511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12521 if test -n "$CC"; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12523 $as_echo "$CC" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12526 $as_echo "no" >&6; }
12532 if test -z "$CC"; then
12533 # Extract the first word of "cc", so it can be a program name with args.
12534 set dummy cc; ac_word=$2
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12536 $as_echo_n "checking for $ac_word... " >&6; }
12537 if ${ac_cv_prog_CC+:} false; then :
12538 $as_echo_n "(cached) " >&6
12540 if test -n "$CC"; then
12541 ac_cv_prog_CC="$CC" # Let the user override the test.
12543 ac_prog_rejected=no
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $PATH
12548 test -z "$as_dir" && as_dir=.
12549 for ac_exec_ext in '' $ac_executable_extensions; do
12550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12551 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12552 ac_prog_rejected=yes
12556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12563 if test $ac_prog_rejected = yes; then
12564 # We found a bogon in the path, so make sure we never use it.
12565 set dummy $ac_cv_prog_CC
12567 if test $# != 0; then
12568 # We chose a different compiler from the bogus one.
12569 # However, it has the same basename, so the bogon will be chosen
12570 # first if we set CC to just the basename; use the full file name.
12572 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12578 if test -n "$CC"; then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12580 $as_echo "$CC" >&6; }
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12588 if test -z "$CC"; then
12589 if test -n "$ac_tool_prefix"; then
12590 for ac_prog in cl.exe
12592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12595 $as_echo_n "checking for $ac_word... " >&6; }
12596 if ${ac_cv_prog_CC+:} false; then :
12597 $as_echo_n "(cached) " >&6
12599 if test -n "$CC"; then
12600 ac_cv_prog_CC="$CC" # Let the user override the test.
12602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12603 for as_dir in $PATH
12606 test -z "$as_dir" && as_dir=.
12607 for ac_exec_ext in '' $ac_executable_extensions; do
12608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12609 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12620 if test -n "$CC"; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12622 $as_echo "$CC" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 $as_echo "no" >&6; }
12629 test -n "$CC" && break
12632 if test -z "$CC"; then
12634 for ac_prog in cl.exe
12636 # Extract the first word of "$ac_prog", so it can be a program name with args.
12637 set dummy $ac_prog; ac_word=$2
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12639 $as_echo_n "checking for $ac_word... " >&6; }
12640 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12641 $as_echo_n "(cached) " >&6
12643 if test -n "$ac_ct_CC"; then
12644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12647 for as_dir in $PATH
12650 test -z "$as_dir" && as_dir=.
12651 for ac_exec_ext in '' $ac_executable_extensions; do
12652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12653 ac_cv_prog_ac_ct_CC="$ac_prog"
12654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12664 if test -n "$ac_ct_CC"; then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12666 $as_echo "$ac_ct_CC" >&6; }
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669 $as_echo "no" >&6; }
12673 test -n "$ac_ct_CC" && break
12676 if test "x$ac_ct_CC" = x; then
12679 case $cross_compiling:$ac_tool_warned in
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12683 ac_tool_warned=yes ;;
12692 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12694 as_fn_error $? "no acceptable C compiler found in \$PATH
12695 See \`config.log' for more details" "$LINENO" 5; }
12697 # Provide some information about the compiler.
12698 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12701 for ac_option in --version -v -V -qversion; do
12702 { { ac_try="$ac_compiler $ac_option >&5"
12703 case "(($ac_try" in
12704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12705 *) ac_try_echo=$ac_try;;
12707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12708 $as_echo "$ac_try_echo"; } >&5
12709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12711 if test -s conftest.err; then
12713 ... rest of stderr output deleted ...
12714 10q' conftest.err >conftest.er1
12715 cat conftest.er1 >&5
12717 rm -f conftest.er1 conftest.err
12718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12719 test $ac_status = 0; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12723 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12724 if ${ac_cv_c_compiler_gnu+:} false; then :
12725 $as_echo_n "(cached) " >&6
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12741 if ac_fn_c_try_compile "$LINENO"; then :
12742 ac_compiler_gnu=yes
12746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12751 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12752 if test $ac_compiler_gnu = yes; then
12757 ac_test_CFLAGS=${CFLAGS+set}
12758 ac_save_CFLAGS=$CFLAGS
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12760 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12761 if ${ac_cv_prog_cc_g+:} false; then :
12762 $as_echo_n "(cached) " >&6
12764 ac_save_c_werror_flag=$ac_c_werror_flag
12765 ac_c_werror_flag=yes
12768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12779 if ac_fn_c_try_compile "$LINENO"; then :
12780 ac_cv_prog_cc_g=yes
12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12794 if ac_fn_c_try_compile "$LINENO"; then :
12797 ac_c_werror_flag=$ac_save_c_werror_flag
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12810 if ac_fn_c_try_compile "$LINENO"; then :
12811 ac_cv_prog_cc_g=yes
12813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12818 ac_c_werror_flag=$ac_save_c_werror_flag
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12821 $as_echo "$ac_cv_prog_cc_g" >&6; }
12822 if test "$ac_test_CFLAGS" = set; then
12823 CFLAGS=$ac_save_CFLAGS
12824 elif test $ac_cv_prog_cc_g = yes; then
12825 if test "$GCC" = yes; then
12831 if test "$GCC" = yes; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12838 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12839 if ${ac_cv_prog_cc_c89+:} false; then :
12840 $as_echo_n "(cached) " >&6
12842 ac_cv_prog_cc_c89=no
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12846 #include <stdarg.h>
12849 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12850 struct buf { int x; };
12851 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12852 static char *e (p, i)
12858 static char *f (char * (*g) (char **, int), char **p, ...)
12863 s = g (p, va_arg (v,int));
12868 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12869 function prototypes and stuff, but not '\xHH' hex character constants.
12870 These don't provoke an error unfortunately, instead are silently treated
12871 as 'x'. The following induces an error, until -std is added to get
12872 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12873 array size at least. It's necessary to write '\x00'==0 to get something
12874 that's true only with -std. */
12875 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12877 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12878 inside strings and character constants. */
12880 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12882 int test (int i, double x);
12883 struct s1 {int (*f) (int a);};
12884 struct s2 {int (*f) (double a);};
12885 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12891 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12896 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12897 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12899 CC="$ac_save_CC $ac_arg"
12900 if ac_fn_c_try_compile "$LINENO"; then :
12901 ac_cv_prog_cc_c89=$ac_arg
12903 rm -f core conftest.err conftest.$ac_objext
12904 test "x$ac_cv_prog_cc_c89" != "xno" && break
12906 rm -f conftest.$ac_ext
12911 case "x$ac_cv_prog_cc_c89" in
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12914 $as_echo "none needed" >&6; } ;;
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12917 $as_echo "unsupported" >&6; } ;;
12919 CC="$CC $ac_cv_prog_cc_c89"
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12921 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12923 if test "x$ac_cv_prog_cc_c89" != xno; then :
12928 ac_cpp='$CPP $CPPFLAGS'
12929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12934 ac_cpp='$CPP $CPPFLAGS'
12935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12939 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12940 if ${am_cv_prog_cc_c_o+:} false; then :
12941 $as_echo_n "(cached) " >&6
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12954 # Make sure it works both with $CC and with simple cc.
12955 # Following AC_PROG_CC_C_O, we do the test twice because some
12956 # compilers refuse to overwrite an existing .o file with -o,
12957 # though they will create one.
12958 am_cv_prog_cc_c_o=yes
12959 for am_i in 1 2; do
12960 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12961 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } \
12965 && test -f conftest2.$ac_objext; then
12968 am_cv_prog_cc_c_o=no
12972 rm -f core conftest*
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12976 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12977 if test "$am_cv_prog_cc_c_o" != yes; then
12978 # Losing compiler, so override with the script.
12979 # FIXME: It is wrong to rewrite CC.
12980 # But if we don't then we get into trouble of one sort or another.
12981 # A longer-term fix would be to have automake use am__CC in this case,
12982 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12983 CC="$am_aux_dir/compile $CC"
12986 ac_cpp='$CPP $CPPFLAGS'
12987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12992 depcc="$CC" am_compiler_list=
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12995 $as_echo_n "checking dependency style of $depcc... " >&6; }
12996 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12997 $as_echo_n "(cached) " >&6
12999 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13000 # We make a subdir and do the tests there. Otherwise we can end up
13001 # making bogus files that we don't know about and never remove. For
13002 # instance it was reported that on HP-UX the gcc test will end up
13003 # making a dummy file named 'D' -- because '-MD' means "put the output
13005 rm -rf conftest.dir
13007 # Copy depcomp to subdir because otherwise we won't find it if we're
13008 # using a relative directory.
13009 cp "$am_depcomp" conftest.dir
13011 # We will build objects and dependencies in a subdirectory because
13012 # it helps to detect inapplicable dependency modes. For instance
13013 # both Tru64's cc and ICC support -MD to output dependencies as a
13014 # side effect of compilation, but ICC will put the dependencies in
13015 # the current directory while Tru64 will put them in the object
13019 am_cv_CC_dependencies_compiler_type=none
13020 if test "$am_compiler_list" = ""; then
13021 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13023 am__universal=false
13024 case " $depcc " in #(
13025 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13028 for depmode in $am_compiler_list; do
13029 # Setup a source with many dependencies, because some compilers
13030 # like to wrap large dependency lists on column 80 (with \), and
13031 # we should not choose a depcomp mode which is confused by this.
13033 # We need to recreate these files for each test, as the compiler may
13034 # overwrite some of them when testing with obscure command lines.
13035 # This happens at least with the AIX C compiler.
13037 for i in 1 2 3 4 5 6; do
13038 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13039 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13040 # Solaris 10 /bin/sh.
13041 echo '/* dummy */' > sub/conftst$i.h
13043 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13045 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13046 # mode. It turns out that the SunPro C++ compiler does not properly
13047 # handle '-M -o', and we need to detect this. Also, some Intel
13048 # versions had trouble with output in subdirs.
13049 am__obj=sub/conftest.${OBJEXT-o}
13050 am__minus_obj="-o $am__obj"
13053 # This depmode causes a compiler race in universal mode.
13054 test "$am__universal" = false || continue
13057 # After this tag, mechanisms are not by side-effect, so they'll
13058 # only be used when explicitly requested.
13059 if test "x$enable_dependency_tracking" = xyes; then
13065 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13066 # This compiler won't grok '-c -o', but also, the minuso test has
13067 # not run yet. These depmodes are late enough in the game, and
13068 # so weak that their functioning should not be impacted.
13069 am__obj=conftest.${OBJEXT-o}
13074 if depmode=$depmode \
13075 source=sub/conftest.c object=$am__obj \
13076 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13077 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13078 >/dev/null 2>conftest.err &&
13079 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13080 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13081 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13082 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13083 # icc doesn't choke on unknown options, it will just issue warnings
13084 # or remarks (even with -Werror). So we grep stderr for any message
13085 # that says an option was ignored or not supported.
13086 # When given -MP, icc 7.0 and 7.1 complain thusly:
13087 # icc: Command line warning: ignoring option '-M'; no argument required
13088 # The diagnosis changed in icc 8.0:
13089 # icc: Command line remark: option '-MP' not supported
13090 if (grep 'ignoring option' conftest.err ||
13091 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13092 am_cv_CC_dependencies_compiler_type=$depmode
13099 rm -rf conftest.dir
13101 am_cv_CC_dependencies_compiler_type=none
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13106 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13107 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13110 test "x$enable_dependency_tracking" != xno \
13111 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13112 am__fastdepCC_TRUE=
13113 am__fastdepCC_FALSE='#'
13115 am__fastdepCC_TRUE='#'
13116 am__fastdepCC_FALSE=
13128 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13129 if test -n "$ac_tool_prefix"; then
13130 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13131 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13133 $as_echo_n "checking for $ac_word... " >&6; }
13134 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13135 $as_echo_n "(cached) " >&6
13137 case $PKG_CONFIG in
13139 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13143 for as_dir in $PATH
13146 test -z "$as_dir" && as_dir=.
13147 for ac_exec_ext in '' $ac_executable_extensions; do
13148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13149 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13160 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13161 if test -n "$PKG_CONFIG"; then
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13163 $as_echo "$PKG_CONFIG" >&6; }
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13166 $as_echo "no" >&6; }
13171 if test -z "$ac_cv_path_PKG_CONFIG"; then
13172 ac_pt_PKG_CONFIG=$PKG_CONFIG
13173 # Extract the first word of "pkg-config", so it can be a program name with args.
13174 set dummy pkg-config; ac_word=$2
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176 $as_echo_n "checking for $ac_word... " >&6; }
13177 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13178 $as_echo_n "(cached) " >&6
13180 case $ac_pt_PKG_CONFIG in
13182 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13186 for as_dir in $PATH
13189 test -z "$as_dir" && as_dir=.
13190 for ac_exec_ext in '' $ac_executable_extensions; do
13191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13192 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13203 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13204 if test -n "$ac_pt_PKG_CONFIG"; then
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13206 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13209 $as_echo "no" >&6; }
13212 if test "x$ac_pt_PKG_CONFIG" = x; then
13215 case $cross_compiling:$ac_tool_warned in
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13219 ac_tool_warned=yes ;;
13221 PKG_CONFIG=$ac_pt_PKG_CONFIG
13224 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13228 if test -n "$PKG_CONFIG"; then
13229 _pkg_min_version=0.9.0
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13231 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13232 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13234 $as_echo "yes" >&6; }
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13237 $as_echo "no" >&6; }
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
13242 $as_echo_n "checking for native Win32... " >&6; }
13244 mingw*) os_win32=yes ;;
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
13248 $as_echo "$os_win32" >&6; }
13249 if test "$os_win32" = "yes"; then
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
13258 $as_echo_n "checking for some Win32 platform... " >&6; }
13260 mingw*|cygwin*) platform_win32=yes ;;
13261 *) platform_win32=no ;;
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
13264 $as_echo "$platform_win32" >&6; }
13265 if test "$platform_win32" = "yes"; then
13266 PLATFORM_WIN32_TRUE=
13267 PLATFORM_WIN32_FALSE='#'
13269 PLATFORM_WIN32_TRUE='#'
13270 PLATFORM_WIN32_FALSE=
13275 # Checks for header files.
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13277 $as_echo_n "checking for ANSI C header files... " >&6; }
13278 if ${ac_cv_header_stdc+:} false; then :
13279 $as_echo_n "(cached) " >&6
13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13283 #include <stdlib.h>
13284 #include <stdarg.h>
13285 #include <string.h>
13296 if ac_fn_c_try_compile "$LINENO"; then :
13297 ac_cv_header_stdc=yes
13299 ac_cv_header_stdc=no
13301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13303 if test $ac_cv_header_stdc = yes; then
13304 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13307 #include <string.h>
13310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13311 $EGREP "memchr" >/dev/null 2>&1; then :
13314 ac_cv_header_stdc=no
13320 if test $ac_cv_header_stdc = yes; then
13321 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13324 #include <stdlib.h>
13327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13328 $EGREP "free" >/dev/null 2>&1; then :
13331 ac_cv_header_stdc=no
13337 if test $ac_cv_header_stdc = yes; then
13338 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13339 if test "$cross_compiling" = yes; then :
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13345 #include <stdlib.h>
13346 #if ((' ' & 0x0FF) == 0x020)
13347 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13348 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13350 # define ISLOWER(c) \
13351 (('a' <= (c) && (c) <= 'i') \
13352 || ('j' <= (c) && (c) <= 'r') \
13353 || ('s' <= (c) && (c) <= 'z'))
13354 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13357 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13362 for (i = 0; i < 256; i++)
13363 if (XOR (islower (i), ISLOWER (i))
13364 || toupper (i) != TOUPPER (i))
13369 if ac_fn_c_try_run "$LINENO"; then :
13372 ac_cv_header_stdc=no
13374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13375 conftest.$ac_objext conftest.beam conftest.$ac_ext
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13381 $as_echo "$ac_cv_header_stdc" >&6; }
13382 if test $ac_cv_header_stdc = yes; then
13384 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13388 for ac_header in stdlib.h string.h strings.h wchar.h asm/page.h sys/times.h
13390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13391 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13402 # Checks for typedefs and structures.
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13404 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13405 if ${ac_cv_c_const+:} false; then :
13406 $as_echo_n "(cached) " >&6
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13415 #ifndef __cplusplus
13416 /* Ultrix mips cc rejects this sort of thing. */
13417 typedef int charset[2];
13418 const charset cs = { 0, 0 };
13419 /* SunOS 4.1.1 cc rejects this. */
13420 char const *const *pcpcc;
13422 /* NEC SVR4.0.2 mips cc rejects this. */
13423 struct point {int x, y;};
13424 static struct point const zero = {0,0};
13425 /* AIX XL C 1.02.0.0 rejects this.
13426 It does not let you subtract one const X* pointer from another in
13427 an arm of an if-expression whose if-part is not a constant
13429 const char *g = "string";
13430 pcpcc = &g + (g ? g-g : 0);
13431 /* HPUX 7.0 cc rejects these. */
13433 ppc = (char**) pcpcc;
13434 pcpcc = (char const *const *) ppc;
13435 { /* SCO 3.2v4 cc rejects this sort of thing. */
13438 char const *s = 0 ? (char *) 0 : (char const *) 0;
13443 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13444 int x[] = {25, 17};
13445 const int *foo = &x[0];
13448 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13449 typedef const int *iptr;
13453 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13454 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13455 struct s { int j; const int *ap[3]; } bx;
13456 struct s *b = &bx; b->j = 5;
13458 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13459 const int foo = 10;
13460 if (!foo) return 0;
13462 return !cs[0] && !zero.x;
13469 if ac_fn_c_try_compile "$LINENO"; then :
13474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13477 $as_echo "$ac_cv_c_const" >&6; }
13478 if test $ac_cv_c_const = no; then
13480 $as_echo "#define const /**/" >>confdefs.h
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5
13485 $as_echo_n "checking for preprocessor stringizing operator... " >&6; }
13486 if ${ac_cv_c_stringize+:} false; then :
13487 $as_echo_n "(cached) " >&6
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13493 char *s = x(teststring);
13495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13496 $EGREP "#teststring" >/dev/null 2>&1; then :
13497 ac_cv_c_stringize=no
13499 ac_cv_c_stringize=yes
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5
13505 $as_echo "$ac_cv_c_stringize" >&6; }
13506 if test $ac_cv_c_stringize = yes; then
13508 $as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h
13512 # The cast to long int works around a bug in the HP C Compiler
13513 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13514 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13515 # This bug is HP SR number 8606223364.
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13517 $as_echo_n "checking size of int... " >&6; }
13518 if ${ac_cv_sizeof_int+:} false; then :
13519 $as_echo_n "(cached) " >&6
13521 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13524 if test "$ac_cv_type_int" = yes; then
13525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13527 as_fn_error 77 "cannot compute sizeof (int)
13528 See \`config.log' for more details" "$LINENO" 5; }
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13536 $as_echo "$ac_cv_sizeof_int" >&6; }
13540 cat >>confdefs.h <<_ACEOF
13541 #define SIZEOF_INT $ac_cv_sizeof_int
13545 SIZEOF_INT=$ac_cv_sizeof_int
13547 # The cast to long int works around a bug in the HP C Compiler
13548 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13549 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13550 # This bug is HP SR number 8606223364.
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13552 $as_echo_n "checking size of short... " >&6; }
13553 if ${ac_cv_sizeof_short+:} false; then :
13554 $as_echo_n "(cached) " >&6
13556 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13559 if test "$ac_cv_type_short" = yes; then
13560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13562 as_fn_error 77 "cannot compute sizeof (short)
13563 See \`config.log' for more details" "$LINENO" 5; }
13565 ac_cv_sizeof_short=0
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13571 $as_echo "$ac_cv_sizeof_short" >&6; }
13575 cat >>confdefs.h <<_ACEOF
13576 #define SIZEOF_SHORT $ac_cv_sizeof_short
13580 # The cast to long int works around a bug in the HP C Compiler
13581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13583 # This bug is HP SR number 8606223364.
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13585 $as_echo_n "checking size of void *... " >&6; }
13586 if ${ac_cv_sizeof_void_p+:} false; then :
13587 $as_echo_n "(cached) " >&6
13589 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13592 if test "$ac_cv_type_void_p" = yes; then
13593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13595 as_fn_error 77 "cannot compute sizeof (void *)
13596 See \`config.log' for more details" "$LINENO" 5; }
13598 ac_cv_sizeof_void_p=0
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13604 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13608 cat >>confdefs.h <<_ACEOF
13609 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13613 # The cast to long int works around a bug in the HP C Compiler
13614 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13615 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13616 # This bug is HP SR number 8606223364.
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
13618 $as_echo_n "checking size of wchar_t... " >&6; }
13619 if ${ac_cv_sizeof_wchar_t+:} false; then :
13620 $as_echo_n "(cached) " >&6
13622 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
13625 if test "$ac_cv_type_wchar_t" = yes; then
13626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13628 as_fn_error 77 "cannot compute sizeof (wchar_t)
13629 See \`config.log' for more details" "$LINENO" 5; }
13631 ac_cv_sizeof_wchar_t=0
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
13637 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
13641 cat >>confdefs.h <<_ACEOF
13642 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
13649 save_cross_compiling=$cross_compiling
13650 save_ac_tool_prefix=$ac_tool_prefix
13655 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
13656 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
13657 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
13658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13659 if test -n "$ac_tool_prefix"; then
13660 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13661 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13663 $as_echo_n "checking for $ac_word... " >&6; }
13664 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13665 $as_echo_n "(cached) " >&6
13667 if test -n "$CC_FOR_BUILD"; then
13668 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13671 for as_dir in $PATH
13674 test -z "$as_dir" && as_dir=.
13675 for ac_exec_ext in '' $ac_executable_extensions; do
13676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13677 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc"
13678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13687 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13688 if test -n "$CC_FOR_BUILD"; then
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13690 $as_echo "$CC_FOR_BUILD" >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13693 $as_echo "no" >&6; }
13698 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
13699 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
13700 # Extract the first word of "gcc", so it can be a program name with args.
13701 set dummy gcc; ac_word=$2
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13703 $as_echo_n "checking for $ac_word... " >&6; }
13704 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
13705 $as_echo_n "(cached) " >&6
13707 if test -n "$ac_ct_CC_FOR_BUILD"; then
13708 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
13710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13711 for as_dir in $PATH
13714 test -z "$as_dir" && as_dir=.
13715 for ac_exec_ext in '' $ac_executable_extensions; do
13716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13717 ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
13718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13727 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
13728 if test -n "$ac_ct_CC_FOR_BUILD"; then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
13730 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13733 $as_echo "no" >&6; }
13736 if test "x$ac_ct_CC_FOR_BUILD" = x; then
13739 case $cross_compiling:$ac_tool_warned in
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
13742 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
13743 ac_tool_warned=yes ;;
13745 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
13748 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
13751 if test -z "$CC_FOR_BUILD"; then
13752 if test -n "$ac_tool_prefix"; then
13753 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13754 set dummy ${ac_tool_prefix}cc; ac_word=$2
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13756 $as_echo_n "checking for $ac_word... " >&6; }
13757 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13758 $as_echo_n "(cached) " >&6
13760 if test -n "$CC_FOR_BUILD"; then
13761 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13764 for as_dir in $PATH
13767 test -z "$as_dir" && as_dir=.
13768 for ac_exec_ext in '' $ac_executable_extensions; do
13769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13770 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc"
13771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13780 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13781 if test -n "$CC_FOR_BUILD"; then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13783 $as_echo "$CC_FOR_BUILD" >&6; }
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13786 $as_echo "no" >&6; }
13792 if test -z "$CC_FOR_BUILD"; then
13793 # Extract the first word of "cc", so it can be a program name with args.
13794 set dummy cc; ac_word=$2
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13796 $as_echo_n "checking for $ac_word... " >&6; }
13797 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13798 $as_echo_n "(cached) " >&6
13800 if test -n "$CC_FOR_BUILD"; then
13801 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13803 ac_prog_rejected=no
13804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13805 for as_dir in $PATH
13808 test -z "$as_dir" && as_dir=.
13809 for ac_exec_ext in '' $ac_executable_extensions; do
13810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13811 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13812 ac_prog_rejected=yes
13815 ac_cv_prog_CC_FOR_BUILD="cc"
13816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13823 if test $ac_prog_rejected = yes; then
13824 # We found a bogon in the path, so make sure we never use it.
13825 set dummy $ac_cv_prog_CC_FOR_BUILD
13827 if test $# != 0; then
13828 # We chose a different compiler from the bogus one.
13829 # However, it has the same basename, so the bogon will be chosen
13830 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
13832 ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
13837 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13838 if test -n "$CC_FOR_BUILD"; then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13840 $as_echo "$CC_FOR_BUILD" >&6; }
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13843 $as_echo "no" >&6; }
13848 if test -z "$CC_FOR_BUILD"; then
13849 if test -n "$ac_tool_prefix"; then
13850 for ac_prog in cl.exe
13852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13855 $as_echo_n "checking for $ac_word... " >&6; }
13856 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13857 $as_echo_n "(cached) " >&6
13859 if test -n "$CC_FOR_BUILD"; then
13860 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13863 for as_dir in $PATH
13866 test -z "$as_dir" && as_dir=.
13867 for ac_exec_ext in '' $ac_executable_extensions; do
13868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13869 ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog"
13870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13879 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13880 if test -n "$CC_FOR_BUILD"; then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13882 $as_echo "$CC_FOR_BUILD" >&6; }
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13885 $as_echo "no" >&6; }
13889 test -n "$CC_FOR_BUILD" && break
13892 if test -z "$CC_FOR_BUILD"; then
13893 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
13894 for ac_prog in cl.exe
13896 # Extract the first word of "$ac_prog", so it can be a program name with args.
13897 set dummy $ac_prog; ac_word=$2
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13899 $as_echo_n "checking for $ac_word... " >&6; }
13900 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
13901 $as_echo_n "(cached) " >&6
13903 if test -n "$ac_ct_CC_FOR_BUILD"; then
13904 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
13906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13907 for as_dir in $PATH
13910 test -z "$as_dir" && as_dir=.
13911 for ac_exec_ext in '' $ac_executable_extensions; do
13912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13913 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
13914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13923 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
13924 if test -n "$ac_ct_CC_FOR_BUILD"; then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
13926 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13929 $as_echo "no" >&6; }
13933 test -n "$ac_ct_CC_FOR_BUILD" && break
13936 if test "x$ac_ct_CC_FOR_BUILD" = x; then
13939 case $cross_compiling:$ac_tool_warned in
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
13942 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
13943 ac_tool_warned=yes ;;
13945 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
13952 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13954 as_fn_error $? "no acceptable C compiler found in \$PATH
13955 See \`config.log' for more details" "$LINENO" 5; }
13957 # Provide some information about the compiler.
13958 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13959 set X $ac_build_compile
13961 for ac_option in --version -v -V -qversion; do
13962 { { ac_try="$ac_compiler $ac_option >&5"
13963 case "(($ac_try" in
13964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13965 *) ac_try_echo=$ac_try;;
13967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13968 $as_echo "$ac_try_echo"; } >&5
13969 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13971 if test -s conftest.err; then
13973 ... rest of stderr output deleted ...
13974 10q' conftest.err >conftest.er1
13975 cat conftest.er1 >&5
13977 rm -f conftest.er1 conftest.err
13978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13979 test $ac_status = 0; }
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13984 if ${ac_cv_c_compiler_gnu+:} false; then :
13985 $as_echo_n "(cached) " >&6
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
14001 if ac_fn_c_try_compile "$LINENO"; then :
14002 ac_compiler_gnu=yes
14006 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14012 if test $ac_compiler_gnu = yes; then
14017 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
14018 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
14020 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
14021 if ${ac_cv_build_prog_cc_g+:} false; then :
14022 $as_echo_n "(cached) " >&6
14024 ac_save_c_werror_flag=$ac_c_werror_flag
14025 ac_c_werror_flag=yes
14026 ac_cv_build_prog_cc_g=no
14027 CFLAGS_FOR_BUILD="-g"
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14039 if ac_fn_c_try_compile "$LINENO"; then :
14040 ac_cv_build_prog_cc_g=yes
14042 CFLAGS_FOR_BUILD=""
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14054 if ac_fn_c_try_compile "$LINENO"; then :
14057 ac_c_werror_flag=$ac_save_c_werror_flag
14058 CFLAGS_FOR_BUILD="-g"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14070 if ac_fn_c_try_compile "$LINENO"; then :
14071 ac_cv_build_prog_cc_g=yes
14073 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14075 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14077 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14078 ac_c_werror_flag=$ac_save_c_werror_flag
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
14081 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
14082 if test "$ac_test_CFLAGS" = set; then
14083 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
14084 elif test $ac_cv_build_prog_cc_g = yes; then
14085 if test "$GCC" = yes; then
14086 CFLAGS_FOR_BUILD="-g -O2"
14088 CFLAGS_FOR_BUILD="-g"
14091 if test "$GCC" = yes; then
14092 CFLAGS_FOR_BUILD="-O2"
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
14098 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
14099 if ${ac_cv_prog_cc_c89+:} false; then :
14100 $as_echo_n "(cached) " >&6
14102 ac_cv_prog_cc_c89=no
14103 ac_save_CC=$CC_FOR_BUILD
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 #include <stdarg.h>
14109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14110 struct buf { int x; };
14111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14112 static char *e (p, i)
14118 static char *f (char * (*g) (char **, int), char **p, ...)
14123 s = g (p, va_arg (v,int));
14128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14129 function prototypes and stuff, but not '\xHH' hex character constants.
14130 These don't provoke an error unfortunately, instead are silently treated
14131 as 'x'. The following induces an error, until -std is added to get
14132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14133 array size at least. It's necessary to write '\x00'==0 to get something
14134 that's true only with -std. */
14135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14138 inside strings and character constants. */
14140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14142 int test (int i, double x);
14143 struct s1 {int (*f) (int a);};
14144 struct s2 {int (*f) (double a);};
14145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14159 CC_FOR_BUILD="$ac_save_CC $ac_arg"
14160 if ac_fn_c_try_compile "$LINENO"; then :
14161 ac_cv_prog_cc_c89=$ac_arg
14163 rm -f core conftest.err conftest.$ac_build_objext
14164 test "x$ac_cv_prog_cc_c89" != "xno" && break
14166 rm -f conftest.$ac_ext
14167 CC_FOR_BUILD=$ac_save_CC
14171 case "x$ac_cv_prog_cc_c89" in
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14174 $as_echo "none needed" >&6; } ;;
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14177 $as_echo "unsupported" >&6; } ;;
14179 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14183 if test "x$ac_cv_prog_cc_c89" != xno; then :
14188 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14189 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14190 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14194 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14195 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14196 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
14197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
14199 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
14200 if ${am_cv_prog_cc_c_o+:} false; then :
14201 $as_echo_n "(cached) " >&6
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14214 # Make sure it works both with $CC and with simple cc.
14215 # Following AC_PROG_CC_C_O, we do the test twice because some
14216 # compilers refuse to overwrite an existing .o file with -o,
14217 # though they will create one.
14218 am_cv_prog_cc_c_o=yes
14219 for am_i in 1 2; do
14220 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
14221 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); } \
14225 && test -f conftest2.$ac_build_objext; then
14228 am_cv_prog_cc_c_o=no
14232 rm -f core conftest*
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
14236 $as_echo "$am_cv_prog_cc_c_o" >&6; }
14237 if test "$am_cv_prog_cc_c_o" != yes; then
14238 # Losing compiler, so override with the script.
14239 # FIXME: It is wrong to rewrite CC.
14240 # But if we don't then we get into trouble of one sort or another.
14241 # A longer-term fix would be to have automake use am__CC in this case,
14242 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14243 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
14246 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14247 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14248 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
14249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14252 depcc="$CC_FOR_BUILD" am_compiler_list=
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14255 $as_echo_n "checking dependency style of $depcc... " >&6; }
14256 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14257 $as_echo_n "(cached) " >&6
14259 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14260 # We make a subdir and do the tests there. Otherwise we can end up
14261 # making bogus files that we don't know about and never remove. For
14262 # instance it was reported that on HP-UX the gcc test will end up
14263 # making a dummy file named 'D' -- because '-MD' means "put the output
14265 rm -rf conftest.dir
14267 # Copy depcomp to subdir because otherwise we won't find it if we're
14268 # using a relative directory.
14269 cp "$am_depcomp" conftest.dir
14271 # We will build objects and dependencies in a subdirectory because
14272 # it helps to detect inapplicable dependency modes. For instance
14273 # both Tru64's cc and ICC support -MD to output dependencies as a
14274 # side effect of compilation, but ICC will put the dependencies in
14275 # the current directory while Tru64 will put them in the object
14279 am_cv_CC_dependencies_compiler_type=none
14280 if test "$am_compiler_list" = ""; then
14281 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14283 am__universal=false
14284 case " $depcc " in #(
14285 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14288 for depmode in $am_compiler_list; do
14289 # Setup a source with many dependencies, because some compilers
14290 # like to wrap large dependency lists on column 80 (with \), and
14291 # we should not choose a depcomp mode which is confused by this.
14293 # We need to recreate these files for each test, as the compiler may
14294 # overwrite some of them when testing with obscure command lines.
14295 # This happens at least with the AIX C compiler.
14297 for i in 1 2 3 4 5 6; do
14298 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14299 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14300 # Solaris 10 /bin/sh.
14301 echo '/* dummy */' > sub/conftst$i.h
14303 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14305 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14306 # mode. It turns out that the SunPro C++ compiler does not properly
14307 # handle '-M -o', and we need to detect this. Also, some Intel
14308 # versions had trouble with output in subdirs.
14309 am__obj=sub/conftest.${OBJEXT-o}
14310 am__minus_obj="-o $am__obj"
14313 # This depmode causes a compiler race in universal mode.
14314 test "$am__universal" = false || continue
14317 # After this tag, mechanisms are not by side-effect, so they'll
14318 # only be used when explicitly requested.
14319 if test "x$enable_dependency_tracking" = xyes; then
14325 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14326 # This compiler won't grok '-c -o', but also, the minuso test has
14327 # not run yet. These depmodes are late enough in the game, and
14328 # so weak that their functioning should not be impacted.
14329 am__obj=conftest.${OBJEXT-o}
14334 if depmode=$depmode \
14335 source=sub/conftest.c object=$am__obj \
14336 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14337 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14338 >/dev/null 2>conftest.err &&
14339 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14340 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14341 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14342 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14343 # icc doesn't choke on unknown options, it will just issue warnings
14344 # or remarks (even with -Werror). So we grep stderr for any message
14345 # that says an option was ignored or not supported.
14346 # When given -MP, icc 7.0 and 7.1 complain thusly:
14347 # icc: Command line warning: ignoring option '-M'; no argument required
14348 # The diagnosis changed in icc 8.0:
14349 # icc: Command line remark: option '-MP' not supported
14350 if (grep 'ignoring option' conftest.err ||
14351 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14352 am_cv_CC_dependencies_compiler_type=$depmode
14359 rm -rf conftest.dir
14361 am_cv_CC_dependencies_compiler_type=none
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14366 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14367 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14370 test "x$enable_dependency_tracking" != xno \
14371 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14372 am__fastdepCC_TRUE=
14373 am__fastdepCC_FALSE='#'
14375 am__fastdepCC_TRUE='#'
14376 am__fastdepCC_FALSE=
14381 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14382 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14383 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
14384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
14386 $as_echo_n "checking how to run the C preprocessor... " >&6; }
14387 # On Suns, sometimes $CPP names a directory.
14388 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
14391 if test -z "$CPP_FOR_BUILD"; then
14392 if ${ac_cv_build_prog_CPP+:} false; then :
14393 $as_echo_n "(cached) " >&6
14395 # Double quotes because CPP needs to be expanded
14396 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
14398 ac_preproc_ok=false
14399 for ac_c_preproc_warn_flag in '' yes
14401 # Use a header file that comes with gcc, so configuring glibc
14402 # with a fresh cross-compiler works.
14403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14404 # <limits.h> exists even on freestanding compilers.
14405 # On the NeXT, cc -E runs the code through the compiler's parser,
14406 # not just through cpp. "Syntax error" is here to catch this case.
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 # include <limits.h>
14412 # include <assert.h>
14416 if ac_fn_c_try_cpp "$LINENO"; then :
14419 # Broken: fails on valid input.
14422 rm -f conftest.err conftest.i conftest.$ac_ext
14424 # OK, works on sane cases. Now check whether nonexistent headers
14425 # can be detected and how.
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 #include <ac_nonexistent.h>
14430 if ac_fn_c_try_cpp "$LINENO"; then :
14431 # Broken: success on invalid input.
14434 # Passes both tests.
14438 rm -f conftest.err conftest.i conftest.$ac_ext
14441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14442 rm -f conftest.i conftest.err conftest.$ac_ext
14443 if $ac_preproc_ok; then :
14448 ac_cv_build_prog_CPP=$CPP_FOR_BUILD
14451 CPP_FOR_BUILD=$ac_cv_build_prog_CPP
14453 ac_cv_build_prog_CPP=$CPP_FOR_BUILD
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
14456 $as_echo "$CPP_FOR_BUILD" >&6; }
14457 ac_preproc_ok=false
14458 for ac_c_preproc_warn_flag in '' yes
14460 # Use a header file that comes with gcc, so configuring glibc
14461 # with a fresh cross-compiler works.
14462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14463 # <limits.h> exists even on freestanding compilers.
14464 # On the NeXT, cc -E runs the code through the compiler's parser,
14465 # not just through cpp. "Syntax error" is here to catch this case.
14466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14469 # include <limits.h>
14471 # include <assert.h>
14475 if ac_fn_c_try_cpp "$LINENO"; then :
14478 # Broken: fails on valid input.
14481 rm -f conftest.err conftest.i conftest.$ac_ext
14483 # OK, works on sane cases. Now check whether nonexistent headers
14484 # can be detected and how.
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14487 #include <ac_nonexistent.h>
14489 if ac_fn_c_try_cpp "$LINENO"; then :
14490 # Broken: success on invalid input.
14493 # Passes both tests.
14497 rm -f conftest.err conftest.i conftest.$ac_ext
14500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14501 rm -f conftest.i conftest.err conftest.$ac_ext
14502 if $ac_preproc_ok; then :
14505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14507 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
14508 See \`config.log' for more details" "$LINENO" 5; }
14512 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14513 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14514 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
14515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14519 ac_tool_prefix=$save_ac_tool_prefix
14520 cross_compiling=$save_cross_compiling
14523 BUILD_EXEEXT=$ac_build_exeext
14524 BUILD_OBJEXT=$ac_build_objext
14527 # Checks for compiler characteristics.
14528 if test "x$GCC" = "xyes"; then
14529 CFLAGS="$CFLAGS -Wall -ansi "
14532 # Checks for library functions.
14533 for ac_func in memmove memset strdup
14535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14537 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14538 cat >>confdefs.h <<_ACEOF
14539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14546 $as_echo_n "checking return type of signal handlers... " >&6; }
14547 if ${ac_cv_type_signal+:} false; then :
14548 $as_echo_n "(cached) " >&6
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14552 #include <sys/types.h>
14553 #include <signal.h>
14558 return *(signal (0, 0)) (0) == 1;
14563 if ac_fn_c_try_compile "$LINENO"; then :
14564 ac_cv_type_signal=int
14566 ac_cv_type_signal=void
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14571 $as_echo "$ac_cv_type_signal" >&6; }
14573 cat >>confdefs.h <<_ACEOF
14574 #define RETSIGTYPE $ac_cv_type_signal
14579 # Checks for configure options
14583 # Check whether --enable-debug was given.
14584 if test "${enable_debug+set}" = set; then :
14585 enableval=$enable_debug;
14590 if test x$enable_debug = xyes; then
14592 $as_echo "#define DEBUG 1" >>confdefs.h
14596 # --disable-deprecated
14597 # Check whether --enable-deprecated was given.
14598 if test "${enable_deprecated+set}" = set; then :
14599 enableval=$enable_deprecated;
14602 if test x$enable_deprecated = xno; then
14604 $as_echo "#define FRIBIDI_NO_DEPRECATED 1" >>confdefs.h
14608 # define FRIBIDI_LIB_STATIC if in static mode
14609 if test "$enable_static" = "yes" ; then
14610 FRIBIDI_CPPFLAGS="-DFRIBIDI_LIB_STATIC"
14616 ac_config_files="$ac_config_files fribidi.pc lib/fribidi-config.h Makefile gen.tab/Makefile lib/Makefile bin/Makefile doc/Makefile test/Makefile test/unicode-conformance/Makefile"
14618 cat >confcache <<\_ACEOF
14619 # This file is a shell script that caches the results of configure
14620 # tests run on this system so they can be shared between configure
14621 # scripts and configure runs, see configure's option --config-cache.
14622 # It is not useful on other systems. If it contains results you don't
14623 # want to keep, you may remove or edit it.
14625 # config.status only pays attention to the cache file if you give it
14626 # the --recheck option to rerun configure.
14628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14630 # following values.
14634 # The following way of writing the cache mishandles newlines in values,
14635 # but we know of no workaround that is simple, portable, and efficient.
14636 # So, we kill variables containing newlines.
14637 # Ultrix sh set writes to stderr and can't be redirected directly,
14638 # and sets the high bit in the cache file unless we assign to the vars.
14640 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14641 eval ac_val=\$$ac_var
14645 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14649 _ | IFS | as_nl) ;; #(
14650 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14651 *) { eval $ac_var=; unset $ac_var;} ;;
14657 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14658 *${as_nl}ac_space=\ *)
14659 # `set' does not quote correctly, so add quotes: double-quote
14660 # substitution turns \\\\ into \\, and sed turns \\ into \.
14663 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14666 # `set' quotes correctly as required by POSIX, so do not add quotes.
14667 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14676 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14678 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14681 if test -w "$cache_file"; then
14682 if test "x$cache_file" != "x/dev/null"; then
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14684 $as_echo "$as_me: updating cache $cache_file" >&6;}
14685 if test ! -f "$cache_file" || test -h "$cache_file"; then
14686 cat confcache >"$cache_file"
14688 case $cache_file in #(
14690 mv -f confcache "$cache_file"$$ &&
14691 mv -f "$cache_file"$$ "$cache_file" ;; #(
14693 mv -f confcache "$cache_file" ;;
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14704 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14705 # Let make expand exec_prefix.
14706 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14708 DEFS=-DHAVE_CONFIG_H
14713 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14714 # 1. Remove the extension, and $U if already installed.
14715 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14716 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14717 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14718 # will be set to the directory where LIBOBJS objects are built.
14719 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14720 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14722 LIBOBJS=$ac_libobjs
14724 LTLIBOBJS=$ac_ltlibobjs
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14728 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14729 if test -n "$am_sleep_pid"; then
14730 # Hide warnings about reused PIDs.
14731 wait $am_sleep_pid 2>/dev/null
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14734 $as_echo "done" >&6; }
14735 if test -n "$EXEEXT"; then
14737 am__EXEEXT_FALSE='#'
14739 am__EXEEXT_TRUE='#'
14743 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14744 as_fn_error $? "conditional \"AMDEP\" was never defined.
14745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14747 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14748 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14751 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14752 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14755 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14756 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14759 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14760 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14763 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14764 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14768 : "${CONFIG_STATUS=./config.status}"
14770 ac_clean_files_save=$ac_clean_files
14771 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14773 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14775 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14777 # Generated by $as_me.
14778 # Run this file to recreate the current configuration.
14779 # Compiler output produced by configure, useful for debugging
14780 # configure, is in config.log if it exists.
14783 ac_cs_recheck=false
14786 SHELL=\${CONFIG_SHELL-$SHELL}
14789 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14790 ## -------------------- ##
14791 ## M4sh Initialization. ##
14792 ## -------------------- ##
14794 # Be more Bourne compatible
14795 DUALCASE=1; export DUALCASE # for MKS sh
14796 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14799 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14800 # is contrary to our usage. Disable this feature.
14801 alias -g '${1+"$@"}'='"$@"'
14802 setopt NO_GLOB_SUBST
14804 case `(set -o) 2>/dev/null` in #(
14816 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14817 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14818 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14819 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14820 # Prefer a ksh shell builtin over an external printf program on Solaris,
14821 # but without wasting forks for bash or zsh.
14822 if test -z "$BASH_VERSION$ZSH_VERSION" \
14823 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14824 as_echo='print -r --'
14825 as_echo_n='print -rn --'
14826 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14827 as_echo='printf %s\n'
14828 as_echo_n='printf %s'
14830 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14831 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14832 as_echo_n='/usr/ucb/echo -n'
14834 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14835 as_echo_n_body='eval
14839 expr "X$arg" : "X\\(.*\\)$as_nl";
14840 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14842 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14844 export as_echo_n_body
14845 as_echo_n='sh -c $as_echo_n_body as_echo'
14847 export as_echo_body
14848 as_echo='sh -c $as_echo_body as_echo'
14851 # The user is always right.
14852 if test "${PATH_SEPARATOR+set}" != set; then
14854 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14855 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14862 # We need space, tab and new line, in precisely that order. Quoting is
14863 # there to prevent editors from complaining about space-tab.
14864 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14865 # splitting by setting IFS to empty value.)
14868 # Find who we are. Look in the path if we contain no directory separator.
14871 *[\\/]* ) as_myself=$0 ;;
14872 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14873 for as_dir in $PATH
14876 test -z "$as_dir" && as_dir=.
14877 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14883 # We did not find ourselves, most probably we were run as `sh COMMAND'
14884 # in which case we are not to be found in the path.
14885 if test "x$as_myself" = x; then
14888 if test ! -f "$as_myself"; then
14889 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14893 # Unset variables that we do not need and which cause bugs (e.g. in
14894 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14895 # suppresses any "Segmentation fault" message there. '((' could
14896 # trigger a bug in pdksh 5.2.14.
14897 for as_var in BASH_ENV ENV MAIL MAILPATH
14898 do eval test x\${$as_var+set} = xset \
14899 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14912 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14915 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14916 # ----------------------------------------
14917 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14918 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14919 # script with STATUS, using 1 if that was 0.
14922 as_status=$1; test $as_status -eq 0 && as_status=1
14924 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14925 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14927 $as_echo "$as_me: error: $2" >&2
14928 as_fn_exit $as_status
14932 # as_fn_set_status STATUS
14933 # -----------------------
14934 # Set $? to STATUS, without forking.
14935 as_fn_set_status ()
14938 } # as_fn_set_status
14940 # as_fn_exit STATUS
14941 # -----------------
14942 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14946 as_fn_set_status $1
14952 # Portably unset VAR.
14955 { eval $1=; unset $1;}
14957 as_unset=as_fn_unset
14958 # as_fn_append VAR VALUE
14959 # ----------------------
14960 # Append the text in VALUE to the end of the definition contained in VAR. Take
14961 # advantage of any shell optimizations that allow amortized linear growth over
14962 # repeated appends, instead of the typical quadratic growth present in naive
14964 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14965 eval 'as_fn_append ()
14976 # as_fn_arith ARG...
14977 # ------------------
14978 # Perform arithmetic evaluation on the ARGs, and store the result in the
14979 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14980 # must be portable across $(()) and expr.
14981 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14982 eval 'as_fn_arith ()
14989 as_val=`expr "$@" || test $? -eq 1`
14994 if expr a : '\(a\)' >/dev/null 2>&1 &&
14995 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15001 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15002 as_basename=basename
15007 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15013 as_me=`$as_basename -- "$0" ||
15014 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15015 X"$0" : 'X\(//\)$' \| \
15016 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15018 sed '/^.*\/\([^/][^/]*\)\/*$/{
15032 # Avoid depending upon Character Ranges.
15033 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15035 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15036 as_cr_digits='0123456789'
15037 as_cr_alnum=$as_cr_Letters$as_cr_digits
15039 ECHO_C= ECHO_N= ECHO_T=
15040 case `echo -n x` in #(((((
15042 case `echo 'xy\c'` in
15043 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15045 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15052 rm -f conf$$ conf$$.exe conf$$.file
15053 if test -d conf$$.dir; then
15054 rm -f conf$$.dir/conf$$.file
15057 mkdir conf$$.dir 2>/dev/null
15059 if (echo >conf$$.file) 2>/dev/null; then
15060 if ln -s conf$$.file conf$$ 2>/dev/null; then
15062 # ... but there are two gotchas:
15063 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15064 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15065 # In both cases, we have to default to `cp -pR'.
15066 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15068 elif ln conf$$.file conf$$ 2>/dev/null; then
15076 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15077 rmdir conf$$.dir 2>/dev/null
15082 # Create "$as_dir" as a directory, including parents if necessary.
15087 -*) as_dir=./$as_dir;;
15089 test -d "$as_dir" || eval $as_mkdir_p || {
15093 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15094 *) as_qdir=$as_dir;;
15096 as_dirs="'$as_qdir' $as_dirs"
15097 as_dir=`$as_dirname -- "$as_dir" ||
15098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15099 X"$as_dir" : 'X\(//\)[^/]' \| \
15100 X"$as_dir" : 'X\(//\)$' \| \
15101 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15102 $as_echo X"$as_dir" |
15103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15107 /^X\(\/\/\)[^/].*/{
15120 test -d "$as_dir" && break
15122 test -z "$as_dirs" || eval "mkdir $as_dirs"
15123 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15127 if mkdir -p . 2>/dev/null; then
15128 as_mkdir_p='mkdir -p "$as_dir"'
15130 test -d ./-p && rmdir ./-p
15135 # as_fn_executable_p FILE
15136 # -----------------------
15137 # Test if FILE is an executable regular file.
15138 as_fn_executable_p ()
15140 test -f "$1" && test -x "$1"
15141 } # as_fn_executable_p
15142 as_test_x='test -x'
15143 as_executable_p=as_fn_executable_p
15145 # Sed expression to map a string onto a valid CPP name.
15146 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15148 # Sed expression to map a string onto a valid variable name.
15149 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15153 ## ----------------------------------- ##
15154 ## Main body of $CONFIG_STATUS script. ##
15155 ## ----------------------------------- ##
15157 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15160 # Save the log message, to keep $0 and so on meaningful, and to
15161 # report actual input values of CONFIG_FILES etc. instead of their
15162 # values after options handling.
15164 This file was extended by GNU FriBidi $as_me 1.0.10, which was
15165 generated by GNU Autoconf 2.69. Invocation command line was
15167 CONFIG_FILES = $CONFIG_FILES
15168 CONFIG_HEADERS = $CONFIG_HEADERS
15169 CONFIG_LINKS = $CONFIG_LINKS
15170 CONFIG_COMMANDS = $CONFIG_COMMANDS
15173 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15178 case $ac_config_files in *"
15179 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15182 case $ac_config_headers in *"
15183 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15188 # Files that config.status was made for.
15189 config_files="$ac_config_files"
15190 config_headers="$ac_config_headers"
15191 config_commands="$ac_config_commands"
15195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15197 \`$as_me' instantiates files and other configuration actions
15198 from templates according to the current configuration. Unless the files
15199 and actions are specified as TAGs, all are instantiated by default.
15201 Usage: $0 [OPTION]... [TAG]...
15203 -h, --help print this help, then exit
15204 -V, --version print version number and configuration settings, then exit
15205 --config print configuration, then exit
15206 -q, --quiet, --silent
15207 do not print progress messages
15208 -d, --debug don't remove temporary files
15209 --recheck update $as_me by reconfiguring in the same conditions
15210 --file=FILE[:TEMPLATE]
15211 instantiate the configuration file FILE
15212 --header=FILE[:TEMPLATE]
15213 instantiate the configuration header FILE
15215 Configuration files:
15218 Configuration headers:
15221 Configuration commands:
15224 Report bugs to <https://github.com/fribidi/fribidi/issues/new>.
15225 GNU FriBidi home page: <http://fribidi.org/>.
15226 General help using GNU software: <http://www.gnu.org/gethelp/>."
15229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15230 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15232 GNU FriBidi config.status 1.0.10
15233 configured by $0, generated by GNU Autoconf 2.69,
15234 with options \\"\$ac_cs_config\\"
15236 Copyright (C) 2012 Free Software Foundation, Inc.
15237 This config.status script is free software; the Free Software Foundation
15238 gives unlimited permission to copy, distribute and modify it."
15245 test -n "\$AWK" || AWK=awk
15248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15249 # The default lists apply if the user does not specify any file.
15255 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15256 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15260 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15272 # Handling of the options.
15273 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15275 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15276 $as_echo "$ac_cs_version"; exit ;;
15277 --config | --confi | --conf | --con | --co | --c )
15278 $as_echo "$ac_cs_config"; exit ;;
15279 --debug | --debu | --deb | --de | --d | -d )
15281 --file | --fil | --fi | --f )
15284 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15285 '') as_fn_error $? "missing file argument" ;;
15287 as_fn_append CONFIG_FILES " '$ac_optarg'"
15288 ac_need_defaults=false;;
15289 --header | --heade | --head | --hea )
15292 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15294 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15295 ac_need_defaults=false;;
15297 # Conflict between --help and --header
15298 as_fn_error $? "ambiguous option: \`$1'
15299 Try \`$0 --help' for more information.";;
15300 --help | --hel | -h )
15301 $as_echo "$ac_cs_usage"; exit ;;
15302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15303 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15306 # This is an error.
15307 -*) as_fn_error $? "unrecognized option: \`$1'
15308 Try \`$0 --help' for more information." ;;
15310 *) as_fn_append ac_config_targets " $1"
15311 ac_need_defaults=false ;;
15317 ac_configure_extra_args=
15319 if $ac_cs_silent; then
15321 ac_configure_extra_args="$ac_configure_extra_args --silent"
15325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15326 if \$ac_cs_recheck; then
15327 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15329 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15330 CONFIG_SHELL='$SHELL'
15331 export CONFIG_SHELL
15336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15341 ## Running $as_me. ##
15347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15351 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15354 # The HP-UX ksh and POSIX shell print the target directory to stdout
15355 # if CDPATH is set.
15356 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15358 sed_quote_subst='$sed_quote_subst'
15359 double_quote_subst='$double_quote_subst'
15360 delay_variable_subst='$delay_variable_subst'
15361 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15362 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15363 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15364 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15365 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15366 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15367 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15368 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15369 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15370 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15371 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15372 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15373 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15374 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15375 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15376 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15377 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15378 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15379 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15380 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15381 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15382 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15383 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15384 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15385 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15386 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15387 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15388 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15389 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15390 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15391 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15392 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15393 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15394 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15395 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15396 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15397 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15398 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15399 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15400 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15401 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15402 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15403 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15404 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15405 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15406 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15407 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15408 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15409 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15410 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15411 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15412 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15413 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15414 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15415 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15416 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15417 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15418 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15419 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"`'
15420 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15421 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15422 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15423 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15424 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15425 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15426 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15427 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15428 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15429 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15430 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15431 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15432 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15433 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15434 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15435 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15436 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15437 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15438 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15439 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15440 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15441 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15442 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15443 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15444 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15445 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15446 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15447 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15448 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15449 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15450 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15451 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15452 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15453 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15454 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15455 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15456 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15457 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15458 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15459 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15460 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15461 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15462 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15463 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15464 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15465 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15466 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15467 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15468 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15469 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15470 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15471 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15472 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15473 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15474 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15475 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15476 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15477 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15478 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15479 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15480 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15481 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15482 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15483 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15484 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15485 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15486 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15487 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15488 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15489 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15490 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15491 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15492 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15493 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15494 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15495 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15498 LTCFLAGS='$LTCFLAGS'
15499 compiler='$compiler_DEFAULT'
15501 # A function that is used when there is no print builtin or printf.
15502 func_fallback_echo ()
15504 eval 'cat <<_LTECHO_EOF
15509 # Quote evaled strings.
15524 deplibs_check_method \
15529 sharedlib_from_linklib_cmd \
15532 archiver_list_spec \
15538 lt_cv_sys_global_symbol_pipe \
15539 lt_cv_sys_global_symbol_to_cdecl \
15540 lt_cv_sys_global_symbol_to_import \
15541 lt_cv_sys_global_symbol_to_c_name_address \
15542 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15543 lt_cv_nm_interface \
15544 nm_file_list_spec \
15545 lt_cv_truncate_bin \
15546 lt_prog_compiler_no_builtin_flag \
15547 lt_prog_compiler_pic \
15548 lt_prog_compiler_wl \
15549 lt_prog_compiler_static \
15550 lt_cv_prog_compiler_c_o \
15559 export_dynamic_flag_spec \
15560 whole_archive_flag_spec \
15561 compiler_needs_object \
15563 allow_undefined_flag \
15564 no_undefined_flag \
15565 hardcode_libdir_flag_spec \
15566 hardcode_libdir_separator \
15570 variables_saved_for_relink \
15572 library_names_spec \
15574 install_override_mode \
15578 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15579 *[\\\\\\\`\\"\\\$]*)
15580 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15583 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15588 # Double-quote double-evaled strings.
15589 for var in reload_cmds \
15590 old_postinstall_cmds \
15591 old_postuninstall_cmds \
15593 extract_expsyms_cmds \
15594 old_archive_from_new_cmds \
15595 old_archive_from_expsyms_cmds \
15597 archive_expsym_cmds \
15599 module_expsym_cmds \
15600 export_symbols_cmds \
15604 postuninstall_cmds \
15606 sys_lib_search_path_spec \
15607 configure_time_dlsearch_path \
15608 configure_time_lt_sys_library_path; do
15609 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15610 *[\\\\\\\`\\"\\\$]*)
15611 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15614 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15619 ac_aux_dir='$ac_aux_dir'
15621 # See if we are running on zsh, and set the options that allow our
15622 # commands through without removal of \ escapes INIT.
15623 if test -n "\${ZSH_VERSION+set}"; then
15624 setopt NO_GLOB_SUBST
15638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15640 # Handling of arguments.
15641 for ac_config_target in $ac_config_targets
15643 case $ac_config_target in
15644 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15645 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15646 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15647 "fribidi.pc") CONFIG_FILES="$CONFIG_FILES fribidi.pc" ;;
15648 "lib/fribidi-config.h") CONFIG_FILES="$CONFIG_FILES lib/fribidi-config.h" ;;
15649 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15650 "gen.tab/Makefile") CONFIG_FILES="$CONFIG_FILES gen.tab/Makefile" ;;
15651 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
15652 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
15653 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15654 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15655 "test/unicode-conformance/Makefile") CONFIG_FILES="$CONFIG_FILES test/unicode-conformance/Makefile" ;;
15657 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15662 # If the user did not use the arguments to specify the items to instantiate,
15663 # then the envvar interface is used. Set only those that are not.
15664 # We use the long form for the default assignment because of an extremely
15665 # bizarre bug on SunOS 4.1.3.
15666 if $ac_need_defaults; then
15667 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15668 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15669 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15672 # Have a temporary directory for convenience. Make it in the build tree
15673 # simply because there is no reason against having it here, and in addition,
15674 # creating and moving files from /tmp can sometimes cause problems.
15675 # Hook for its removal unless debugging.
15676 # Note that there is a small window in which the directory will not be cleaned:
15677 # after its creation but before its name has been assigned to `$tmp'.
15681 trap 'exit_status=$?
15682 : "${ac_tmp:=$tmp}"
15683 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15685 trap 'as_fn_exit 1' 1 2 13 15
15687 # Create a (secure) tmp directory for tmp files.
15690 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15694 tmp=./conf$$-$RANDOM
15695 (umask 077 && mkdir "$tmp")
15696 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15699 # Set up the scripts for CONFIG_FILES section.
15700 # No need to generate them if there are no CONFIG_FILES.
15701 # This happens for instance with `./config.status config.h'.
15702 if test -n "$CONFIG_FILES"; then
15705 ac_cr=`echo X | tr X '\015'`
15706 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15707 # But we know of no other shell where ac_cr would be empty at this
15708 # point, so we can use a bashism as a fallback.
15709 if test "x$ac_cr" = x; then
15710 eval ac_cr=\$\'\\r\'
15712 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15713 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15716 ac_cs_awk_cr=$ac_cr
15719 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15724 echo "cat >conf$$subs.awk <<_ACEOF" &&
15725 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15727 } >conf$$subs.sh ||
15728 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15729 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15731 for ac_last_try in false false false false false :; do
15732 . ./conf$$subs.sh ||
15733 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15735 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15736 if test $ac_delim_n = $ac_delim_num; then
15738 elif $ac_last_try; then
15739 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15741 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15744 rm -f conf$$subs.sh
15746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15751 s/^/S["/; s/!.*/"]=/
15761 s/\(.\{148\}\)..*/\1/
15763 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15775 s/\(.\{148\}\)..*/\1/
15777 s/["\\]/\\&/g; s/^/"/; s/$/"/
15781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15786 ' <conf$$subs.awk | sed '
15791 ' >>$CONFIG_STATUS || ac_write_fail=1
15792 rm -f conf$$subs.awk
15793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15795 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15796 for (key in S) S_is_set[key] = 1
15802 nfields = split(line, field, "@")
15804 len = length(field[1])
15805 for (i = 2; i < nfields; i++) {
15807 keylen = length(key)
15808 if (S_is_set[key]) {
15810 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15811 len += length(value) + length(field[++i])
15822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15823 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15824 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15827 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15828 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15831 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15832 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15833 # trailing colons and then remove the whole line if VPATH becomes empty
15834 # (actually we leave an empty line to preserve line numbers).
15835 if test "x$srcdir" = x.; then
15836 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15855 fi # test -n "$CONFIG_FILES"
15857 # Set up the scripts for CONFIG_HEADERS section.
15858 # No need to generate them if there are no CONFIG_HEADERS.
15859 # This happens for instance with `./config.status Makefile'.
15860 if test -n "$CONFIG_HEADERS"; then
15861 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15865 # Transform confdefs.h into an awk script `defines.awk', embedded as
15866 # here-document in config.status, that substitutes the proper values into
15867 # config.h.in to produce config.h.
15869 # Create a delimiter string that does not exist in confdefs.h, to ease
15870 # handling of long lines.
15872 for ac_last_try in false false :; do
15873 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15874 if test -z "$ac_tt"; then
15876 elif $ac_last_try; then
15877 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15879 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15883 # For the awk script, D is an array of macro values keyed by name,
15884 # likewise P contains macro parameters if any. Preserve backslash
15885 # newline sequences.
15887 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15889 s/.\{148\}/&'"$ac_delim"'/g
15892 s/^[ ]*#[ ]*define[ ][ ]*/ /
15899 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15901 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15905 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15906 D["\1"]=" \3\\\\\\n"\\/p
15908 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15913 s/.\{148\}/&'"$ac_delim"'/g
15918 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15921 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15923 ' <confdefs.h | sed '
15924 s/'"$ac_delim"'/"\\\
15925 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15928 for (key in D) D_is_set[key] = 1
15931 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15933 split(line, arg, " ")
15934 if (arg[1] == "#") {
15938 defundef = substr(arg[1], 2)
15941 split(mac1, mac2, "(") #)
15943 prefix = substr(line, 1, index(line, defundef) - 1)
15944 if (D_is_set[macro]) {
15945 # Preserve the white space surrounding the "#".
15946 print prefix "define", macro P[macro] D[macro]
15949 # Replace #undef with comments. This is necessary, for example,
15950 # in the case of _POSIX_SOURCE, which is predefined and required
15951 # on some systems where configure will not decide to define it.
15952 if (defundef == "undef") {
15953 print "/*", prefix defundef, macro, "*/"
15961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15962 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15963 fi # test -n "$CONFIG_HEADERS"
15966 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15971 :[FHLC]) ac_mode=$ac_tag; continue;;
15973 case $ac_mode$ac_tag in
15975 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15976 :[FH]-) ac_tag=-:-;;
15977 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15994 -) ac_f="$ac_tmp/stdin";;
15995 *) # Look for the file first in the build tree, then in the source tree
15996 # (if the path is not absolute). The absolute path cannot be DOS-style,
15997 # because $ac_f cannot contain `:'.
16001 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16003 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16005 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16006 as_fn_append ac_file_inputs " '$ac_f'"
16009 # Let's still pretend it is `configure' which instantiates (i.e., don't
16010 # use $as_me), people would be surprised to read:
16011 # /* config.h. Generated by config.status. */
16012 configure_input='Generated from '`
16013 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16015 if test x"$ac_file" != x-; then
16016 configure_input="$ac_file. $configure_input"
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16018 $as_echo "$as_me: creating $ac_file" >&6;}
16020 # Neutralize special characters interpreted by sed in replacement strings.
16021 case $configure_input in #(
16022 *\&* | *\|* | *\\* )
16023 ac_sed_conf_input=`$as_echo "$configure_input" |
16024 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16025 *) ac_sed_conf_input=$configure_input;;
16029 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16030 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16035 ac_dir=`$as_dirname -- "$ac_file" ||
16036 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16037 X"$ac_file" : 'X\(//\)[^/]' \| \
16038 X"$ac_file" : 'X\(//\)$' \| \
16039 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16040 $as_echo X"$ac_file" |
16041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16045 /^X\(\/\/\)[^/].*/{
16058 as_dir="$ac_dir"; as_fn_mkdir_p
16062 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16064 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16065 # A ".." for each directory in $ac_dir_suffix.
16066 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16067 case $ac_top_builddir_sub in
16068 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16069 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16072 ac_abs_top_builddir=$ac_pwd
16073 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16074 # for backward compatibility:
16075 ac_top_builddir=$ac_top_build_prefix
16078 .) # We are building in place.
16080 ac_top_srcdir=$ac_top_builddir_sub
16081 ac_abs_top_srcdir=$ac_pwd ;;
16082 [\\/]* | ?:[\\/]* ) # Absolute name.
16083 ac_srcdir=$srcdir$ac_dir_suffix;
16084 ac_top_srcdir=$srcdir
16085 ac_abs_top_srcdir=$srcdir ;;
16086 *) # Relative name.
16087 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16088 ac_top_srcdir=$ac_top_build_prefix$srcdir
16089 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16091 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16101 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16102 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16104 ac_MKDIR_P=$MKDIR_P
16106 [\\/$]* | ?:[\\/]* ) ;;
16107 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16112 # If the template does not know about datarootdir, expand it.
16113 # FIXME: This hack should be removed a few years after 2.60.
16114 ac_datarootdir_hack=; ac_datarootdir_seen=
16125 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16126 *datarootdir*) ac_datarootdir_seen=yes;;
16127 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16129 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16132 ac_datarootdir_hack='
16133 s&@datadir@&$datadir&g
16134 s&@docdir@&$docdir&g
16135 s&@infodir@&$infodir&g
16136 s&@localedir@&$localedir&g
16137 s&@mandir@&$mandir&g
16138 s&\\\${datarootdir}&$datarootdir&g' ;;
16142 # Neutralize VPATH when `$srcdir' = `.'.
16143 # Shell code in configure.ac might set extrasub.
16144 # FIXME: do we really want to maintain this feature?
16145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16146 ac_sed_extra="$ac_vpsub
16149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16151 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16152 s|@configure_input@|$ac_sed_conf_input|;t t
16153 s&@top_builddir@&$ac_top_builddir_sub&;t t
16154 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16155 s&@srcdir@&$ac_srcdir&;t t
16156 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16157 s&@top_srcdir@&$ac_top_srcdir&;t t
16158 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16159 s&@builddir@&$ac_builddir&;t t
16160 s&@abs_builddir@&$ac_abs_builddir&;t t
16161 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16162 s&@INSTALL@&$ac_INSTALL&;t t
16163 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16164 $ac_datarootdir_hack
16166 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16167 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16169 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16170 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16171 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16172 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16174 which seems to be undefined. Please make sure it is defined" >&5
16175 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16176 which seems to be undefined. Please make sure it is defined" >&2;}
16178 rm -f "$ac_tmp/stdin"
16180 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16181 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16183 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16189 if test x"$ac_file" != x-; then
16191 $as_echo "/* $configure_input */" \
16192 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16193 } >"$ac_tmp/config.h" \
16194 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16195 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16197 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16200 mv "$ac_tmp/config.h" "$ac_file" \
16201 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16204 $as_echo "/* $configure_input */" \
16205 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16206 || as_fn_error $? "could not create -" "$LINENO" 5
16208 # Compute "$ac_file"'s index in $config_headers.
16211 for _am_header in $config_headers :; do
16212 case $_am_header in
16213 $_am_arg | $_am_arg:* )
16216 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16219 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16220 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16221 X"$_am_arg" : 'X\(//\)[^/]' \| \
16222 X"$_am_arg" : 'X\(//\)$' \| \
16223 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16224 $as_echo X"$_am_arg" |
16225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16229 /^X\(\/\/\)[^/].*/{
16241 s/.*/./; q'`/stamp-h$_am_stamp_count
16244 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16245 $as_echo "$as_me: executing $ac_file commands" >&6;}
16250 case $ac_file$ac_mode in
16251 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16252 # Older Autoconf quotes --file arguments for eval, but not when files
16253 # are listed without --file. Let's play safe and only enable the eval
16254 # if we detect the quoting.
16255 # TODO: see whether this extra hack can be removed once we start
16256 # requiring Autoconf 2.70 or later.
16257 case $CONFIG_FILES in #(
16259 eval set x "$CONFIG_FILES" ;; #(
16261 set x $CONFIG_FILES ;; #(
16266 # Used to flag and report bootstrapping failures.
16270 # Strip MF so we end up with the name of the file.
16271 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16272 # Check whether this is an Automake generated Makefile which includes
16273 # dependency-tracking related rules and includes.
16274 # Grep'ing the whole file directly is not great: AIX grep has a line
16275 # limit of 2048, but all sed's we know have understand at least 4000.
16276 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16278 am_dirpart=`$as_dirname -- "$am_mf" ||
16279 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16280 X"$am_mf" : 'X\(//\)[^/]' \| \
16281 X"$am_mf" : 'X\(//\)$' \| \
16282 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16283 $as_echo X"$am_mf" |
16284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16288 /^X\(\/\/\)[^/].*/{
16301 am_filepart=`$as_basename -- "$am_mf" ||
16302 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16303 X"$am_mf" : 'X\(//\)$' \| \
16304 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16305 $as_echo X/"$am_mf" |
16306 sed '/^.*\/\([^/][^/]*\)\/*$/{
16319 { echo "$as_me:$LINENO: cd "$am_dirpart" \
16320 && sed -e '/# am--include-marker/d' "$am_filepart" \
16321 | $MAKE -f - am--depfiles" >&5
16322 (cd "$am_dirpart" \
16323 && sed -e '/# am--include-marker/d' "$am_filepart" \
16324 | $MAKE -f - am--depfiles) >&5 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } || am_rc=$?
16329 if test $am_rc -ne 0; then
16330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16332 as_fn_error $? "Something went wrong bootstrapping makefile fragments
16333 for automatic dependency tracking. Try re-running configure with the
16334 '--disable-dependency-tracking' option to at least be able to build
16335 the package (albeit without support for automatic dependency tracking).
16336 See \`config.log' for more details" "$LINENO" 5; }
16338 { am_dirpart=; unset am_dirpart;}
16339 { am_filepart=; unset am_filepart;}
16340 { am_mf=; unset am_mf;}
16341 { am_rc=; unset am_rc;}
16342 rm -f conftest-deps.mk
16347 # See if we are running on zsh, and set the options that allow our
16348 # commands through without removal of \ escapes.
16349 if test -n "${ZSH_VERSION+set}"; then
16350 setopt NO_GLOB_SUBST
16354 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16357 cat <<_LT_EOF >> "$cfgfile"
16359 # Generated automatically by $as_me ($PACKAGE) $VERSION
16360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16361 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16363 # Provide generalized library-building support services.
16364 # Written by Gordon Matzigkeit, 1996
16366 # Copyright (C) 2014 Free Software Foundation, Inc.
16367 # This is free software; see the source for copying conditions. There is NO
16368 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16370 # GNU Libtool is free software; you can redistribute it and/or modify
16371 # it under the terms of the GNU General Public License as published by
16372 # the Free Software Foundation; either version 2 of of the License, or
16373 # (at your option) any later version.
16375 # As a special exception to the GNU General Public License, if you
16376 # distribute this file as part of a program or library that is built
16377 # using GNU Libtool, you may include this file under the same
16378 # distribution terms that you use for the rest of that program.
16380 # GNU Libtool is distributed in the hope that it will be useful, but
16381 # WITHOUT ANY WARRANTY; without even the implied warranty of
16382 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16383 # GNU General Public License for more details.
16385 # You should have received a copy of the GNU General Public License
16386 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16389 # The names of the tagged configurations supported by this script.
16392 # Configured defaults for sys_lib_dlsearch_path munging.
16393 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16395 # ### BEGIN LIBTOOL CONFIG
16397 # Which release of libtool.m4 was used?
16398 macro_version=$macro_version
16399 macro_revision=$macro_revision
16401 # Whether or not to build static libraries.
16402 build_old_libs=$enable_static
16404 # Whether or not to build shared libraries.
16405 build_libtool_libs=$enable_shared
16407 # What type of objects to build.
16410 # Whether or not to optimize for fast installation.
16411 fast_install=$enable_fast_install
16413 # Shared archive member basename,for filename based shared library versioning on AIX.
16414 shared_archive_member_spec=$shared_archive_member_spec
16416 # Shell to use when invoking shell scripts.
16419 # An echo program that protects backslashes.
16422 # The PATH separator for the build system.
16423 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16426 host_alias=$host_alias
16430 # The build system.
16431 build_alias=$build_alias
16435 # A sed program that does not truncate output.
16438 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16439 Xsed="\$SED -e 1s/^X//"
16441 # A grep program that handles long lines.
16447 # A literal string matcher.
16450 # A BSD- or MS-compatible name lister.
16453 # Whether we need soft or hard links.
16456 # What is the maximum length of a command?
16457 max_cmd_len=$max_cmd_len
16459 # Object file suffix (normally "o").
16462 # Executable file suffix (normally "").
16465 # whether the shell understands "unset".
16468 # turn spaces into newlines.
16471 # turn newlines into spaces.
16474 # convert \$build file names to \$host format.
16475 to_host_file_cmd=$lt_cv_to_host_file_cmd
16477 # convert \$build files to toolchain format.
16478 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16480 # An object symbol dumper.
16481 OBJDUMP=$lt_OBJDUMP
16483 # Method to check whether dependent libraries are shared objects.
16484 deplibs_check_method=$lt_deplibs_check_method
16486 # Command to use when deplibs_check_method = "file_magic".
16487 file_magic_cmd=$lt_file_magic_cmd
16489 # How to find potential files when deplibs_check_method = "file_magic".
16490 file_magic_glob=$lt_file_magic_glob
16492 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16493 want_nocaseglob=$lt_want_nocaseglob
16495 # DLL creation program.
16496 DLLTOOL=$lt_DLLTOOL
16498 # Command to associate shared and link libraries.
16499 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16504 # Flags to create an archive.
16505 AR_FLAGS=$lt_AR_FLAGS
16507 # How to feed a file listing to the archiver.
16508 archiver_list_spec=$lt_archiver_list_spec
16510 # A symbol stripping program.
16513 # Commands used to install an old-style archive.
16515 old_postinstall_cmds=$lt_old_postinstall_cmds
16516 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16518 # Whether to use a lock for old archive extraction.
16519 lock_old_archive_extraction=$lock_old_archive_extraction
16524 # LTCC compiler flags.
16525 LTCFLAGS=$lt_CFLAGS
16527 # Take the output of nm and produce a listing of raw symbols and C names.
16528 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16530 # Transform the output of nm in a proper C declaration.
16531 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16533 # Transform the output of nm into a list of symbols to manually relocate.
16534 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16536 # Transform the output of nm in a C name address pair.
16537 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16539 # Transform the output of nm in a C name address pair when lib prefix is needed.
16540 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16542 # The name lister interface.
16543 nm_interface=$lt_lt_cv_nm_interface
16545 # Specify filename containing input files for \$NM.
16546 nm_file_list_spec=$lt_nm_file_list_spec
16548 # The root where to search for dependent libraries,and where our libraries should be installed.
16549 lt_sysroot=$lt_sysroot
16551 # Command to truncate a binary pipe.
16552 lt_truncate_bin=$lt_lt_cv_truncate_bin
16554 # The name of the directory that contains temporary libtool files.
16557 # Used to examine libraries when file_magic_cmd begins with "file".
16558 MAGIC_CMD=$MAGIC_CMD
16560 # Must we lock files when doing compilation?
16561 need_locks=$lt_need_locks
16564 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16566 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16567 DSYMUTIL=$lt_DSYMUTIL
16569 # Tool to change global to local symbols on Mac OS X.
16572 # Tool to manipulate fat objects and archives on Mac OS X.
16575 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16578 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16579 OTOOL64=$lt_OTOOL64
16581 # Old archive suffix (normally "a").
16584 # Shared library suffix (normally ".so").
16585 shrext_cmds=$lt_shrext_cmds
16587 # The commands to extract the exported symbol list from a shared archive.
16588 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16590 # Variables whose values should be saved in libtool wrapper scripts and
16591 # restored at link time.
16592 variables_saved_for_relink=$lt_variables_saved_for_relink
16594 # Do we need the "lib" prefix for modules?
16595 need_lib_prefix=$need_lib_prefix
16597 # Do we need a version for libraries?
16598 need_version=$need_version
16600 # Library versioning type.
16601 version_type=$version_type
16603 # Shared library runtime path variable.
16604 runpath_var=$runpath_var
16606 # Shared library path variable.
16607 shlibpath_var=$shlibpath_var
16609 # Is shlibpath searched before the hard-coded library search path?
16610 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16612 # Format of library name prefix.
16613 libname_spec=$lt_libname_spec
16615 # List of archive names. First name is the real one, the rest are links.
16616 # The last name is the one that the linker finds with -lNAME
16617 library_names_spec=$lt_library_names_spec
16619 # The coded name of the library, if different from the real name.
16620 soname_spec=$lt_soname_spec
16622 # Permission mode override for installation of shared libraries.
16623 install_override_mode=$lt_install_override_mode
16625 # Command to use after installation of a shared archive.
16626 postinstall_cmds=$lt_postinstall_cmds
16628 # Command to use after uninstallation of a shared archive.
16629 postuninstall_cmds=$lt_postuninstall_cmds
16631 # Commands used to finish a libtool library installation in a directory.
16632 finish_cmds=$lt_finish_cmds
16634 # As "finish_cmds", except a single script fragment to be evaled but
16636 finish_eval=$lt_finish_eval
16638 # Whether we should hardcode library paths into libraries.
16639 hardcode_into_libs=$hardcode_into_libs
16641 # Compile-time system search path for libraries.
16642 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16644 # Detected run-time system search path for libraries.
16645 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16647 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16648 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16650 # Whether dlopen is supported.
16651 dlopen_support=$enable_dlopen
16653 # Whether dlopen of programs is supported.
16654 dlopen_self=$enable_dlopen_self
16656 # Whether dlopen of statically linked programs is supported.
16657 dlopen_self_static=$enable_dlopen_self_static
16659 # Commands to strip libraries.
16660 old_striplib=$lt_old_striplib
16661 striplib=$lt_striplib
16664 # The linker used to build libraries.
16667 # How to create reloadable object files.
16668 reload_flag=$lt_reload_flag
16669 reload_cmds=$lt_reload_cmds
16671 # Commands used to build an old-style archive.
16672 old_archive_cmds=$lt_old_archive_cmds
16674 # A language specific compiler.
16677 # Is the compiler the GNU compiler?
16680 # Compiler flag to turn off builtin functions.
16681 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16683 # Additional compiler flags for building library objects.
16684 pic_flag=$lt_lt_prog_compiler_pic
16686 # How to pass a linker flag through the compiler.
16687 wl=$lt_lt_prog_compiler_wl
16689 # Compiler flag to prevent dynamic linking.
16690 link_static_flag=$lt_lt_prog_compiler_static
16692 # Does compiler simultaneously support -c and -o options?
16693 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16695 # Whether or not to add -lc for building shared libraries.
16696 build_libtool_need_lc=$archive_cmds_need_lc
16698 # Whether or not to disallow shared libs when runtime libs are static.
16699 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16701 # Compiler flag to allow reflexive dlopens.
16702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16704 # Compiler flag to generate shared objects directly from archives.
16705 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16707 # Whether the compiler copes with passing no objects directly.
16708 compiler_needs_object=$lt_compiler_needs_object
16710 # Create an old-style archive from a shared archive.
16711 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16713 # Create a temporary old-style archive to link instead of a shared archive.
16714 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16716 # Commands used to build a shared archive.
16717 archive_cmds=$lt_archive_cmds
16718 archive_expsym_cmds=$lt_archive_expsym_cmds
16720 # Commands used to build a loadable module if different from building
16721 # a shared archive.
16722 module_cmds=$lt_module_cmds
16723 module_expsym_cmds=$lt_module_expsym_cmds
16725 # Whether we are building with GNU ld or not.
16726 with_gnu_ld=$lt_with_gnu_ld
16728 # Flag that allows shared libraries with undefined symbols to be built.
16729 allow_undefined_flag=$lt_allow_undefined_flag
16731 # Flag that enforces no undefined symbols.
16732 no_undefined_flag=$lt_no_undefined_flag
16734 # Flag to hardcode \$libdir into a binary during linking.
16735 # This must work even if \$libdir does not exist
16736 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16738 # Whether we need a single "-rpath" flag with a separated argument.
16739 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16741 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16742 # DIR into the resulting binary.
16743 hardcode_direct=$hardcode_direct
16745 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16746 # DIR into the resulting binary and the resulting library dependency is
16747 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16748 # library is relocated.
16749 hardcode_direct_absolute=$hardcode_direct_absolute
16751 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16752 # into the resulting binary.
16753 hardcode_minus_L=$hardcode_minus_L
16755 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16756 # into the resulting binary.
16757 hardcode_shlibpath_var=$hardcode_shlibpath_var
16759 # Set to "yes" if building a shared library automatically hardcodes DIR
16760 # into the library and all subsequent libraries and executables linked
16762 hardcode_automatic=$hardcode_automatic
16764 # Set to yes if linker adds runtime paths of dependent libraries
16765 # to runtime path list.
16766 inherit_rpath=$inherit_rpath
16768 # Whether libtool must link a program against all its dependency libraries.
16769 link_all_deplibs=$link_all_deplibs
16771 # Set to "yes" if exported symbols are required.
16772 always_export_symbols=$always_export_symbols
16774 # The commands to list exported symbols.
16775 export_symbols_cmds=$lt_export_symbols_cmds
16777 # Symbols that should not be listed in the preloaded symbols.
16778 exclude_expsyms=$lt_exclude_expsyms
16780 # Symbols that must always be exported.
16781 include_expsyms=$lt_include_expsyms
16783 # Commands necessary for linking programs (against libraries) with templates.
16784 prelink_cmds=$lt_prelink_cmds
16786 # Commands necessary for finishing linking programs.
16787 postlink_cmds=$lt_postlink_cmds
16789 # Specify filename containing input files.
16790 file_list_spec=$lt_file_list_spec
16792 # How to hardcode a shared library path into an executable.
16793 hardcode_action=$hardcode_action
16795 # ### END LIBTOOL CONFIG
16799 cat <<'_LT_EOF' >> "$cfgfile"
16801 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16803 # func_munge_path_list VARIABLE PATH
16804 # -----------------------------------
16805 # VARIABLE is name of variable containing _space_ separated list of
16806 # directories to be munged by the contents of PATH, which is string
16809 # string "DIR[ DIR]" will be prepended to VARIABLE
16811 # string "DIR[ DIR]" will be appended to VARIABLE
16812 # "DIRP[:DIRP]::[DIRA:]DIRA"
16813 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16814 # "DIRA[ DIRA]" will be appended to VARIABLE
16816 # VARIABLE will be replaced by "DIR[ DIR]"
16817 func_munge_path_list ()
16823 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16826 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16829 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16830 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16833 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16839 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16840 func_cc_basename ()
16842 for cc_temp in $*""; do
16844 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16845 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16850 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16854 # ### END FUNCTIONS SHARED WITH CONFIGURE
16860 cat <<\_LT_EOF >> "$cfgfile"
16861 # AIX sometimes has problems with the GCC collect2 program. For some
16862 # reason, if we set the COLLECT_NAMES environment variable, the problems
16863 # vanish in a puff of smoke.
16864 if test set != "${COLLECT_NAMES+set}"; then
16866 export COLLECT_NAMES
16873 ltmain=$ac_aux_dir/ltmain.sh
16876 # We use sed instead of cat because bash on DJGPP gets confused if
16877 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16878 # text mode, it properly converts lines to CR/LF. This bash problem
16879 # is reportedly fixed, but why not run on old versions too?
16880 sed '$q' "$ltmain" >> "$cfgfile" \
16881 || (rm -f "$cfgfile"; exit 1)
16883 mv -f "$cfgfile" "$ofile" ||
16884 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16895 ac_clean_files=$ac_clean_files_save
16897 test $ac_write_fail = 0 ||
16898 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16901 # configure is writing to config.log, and then calls config.status.
16902 # config.status does its own redirection, appending to config.log.
16903 # Unfortunately, on DOS this fails, as config.log is still kept open
16904 # by configure, so config.status won't be able to write to it; its
16905 # output is simply discarded. So we exec the FD to /dev/null,
16906 # effectively closing config.log, so it can be properly (re)opened and
16907 # appended to by config.status. When coming back to configure, we
16908 # need to make the FD available again.
16909 if test "$no_create" != yes; then
16911 ac_config_status_args=
16912 test "$silent" = yes &&
16913 ac_config_status_args="$ac_config_status_args --quiet"
16915 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16917 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16918 # would make configure fail if this is the last instruction.
16919 $ac_cs_success || as_fn_exit 1
16921 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16923 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}