2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU FriBidi 1.0.2.
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.2'
594 PACKAGE_STRING='GNU FriBidi 1.0.2'
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
639 FRIBIDI_ENABLE_DOC_FALSE
640 FRIBIDI_ENABLE_DOC_TRUE
660 FRIBIDI_MSVC_BUILD_PLACEHOLDER
662 FRIBIDI_INTERFACE_AGE
663 FRIBIDI_INTERFACE_VERSION
665 FRIBIDI_MICRO_VERSION
666 FRIBIDI_MINOR_VERSION
667 FRIBIDI_MAJOR_VERSION
728 INSTALL_STRIP_PROGRAM
770 program_transform_name
783 enable_option_checking
785 enable_dependency_tracking
798 ac_precious_vars='build_alias
813 # Initialize some variables set by options.
815 ac_init_version=false
816 ac_unrecognized_opts=
818 # The variables have the same names as the options, with
819 # dashes changed to underlines.
827 program_transform_name=s,x,x,
835 # Installation directory options.
836 # These are left unexpanded so users can "make install exec_prefix=/foo"
837 # and all the variables that are supposed to be based on exec_prefix
838 # by default will actually change.
839 # Use braces instead of parens because sh, perl, etc. also accept them.
840 # (The list follows the same order as the GNU Coding Standards.)
841 bindir='${exec_prefix}/bin'
842 sbindir='${exec_prefix}/sbin'
843 libexecdir='${exec_prefix}/libexec'
844 datarootdir='${prefix}/share'
845 datadir='${datarootdir}'
846 sysconfdir='${prefix}/etc'
847 sharedstatedir='${prefix}/com'
848 localstatedir='${prefix}/var'
849 includedir='${prefix}/include'
850 oldincludedir='/usr/include'
851 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
852 infodir='${datarootdir}/info'
857 libdir='${exec_prefix}/lib'
858 localedir='${datarootdir}/locale'
859 mandir='${datarootdir}/man'
865 # If the previous option needs an argument, assign it.
866 if test -n "$ac_prev"; then
867 eval $ac_prev=\$ac_option
873 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
878 # Accept the important Cygnus configure options, so we can diagnose typos.
880 case $ac_dashdash$ac_option in
884 -bindir | --bindir | --bindi | --bind | --bin | --bi)
886 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
889 -build | --build | --buil | --bui | --bu)
890 ac_prev=build_alias ;;
891 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
892 build_alias=$ac_optarg ;;
894 -cache-file | --cache-file | --cache-fil | --cache-fi \
895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
896 ac_prev=cache_file ;;
897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
899 cache_file=$ac_optarg ;;
902 cache_file=config.cache ;;
904 -datadir | --datadir | --datadi | --datad)
906 -datadir=* | --datadir=* | --datadi=* | --datad=*)
907 datadir=$ac_optarg ;;
909 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
910 | --dataroo | --dataro | --datar)
911 ac_prev=datarootdir ;;
912 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
913 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
914 datarootdir=$ac_optarg ;;
916 -disable-* | --disable-*)
917 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
920 as_fn_error $? "invalid feature name: $ac_useropt"
921 ac_useropt_orig=$ac_useropt
922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
928 ac_unrecognized_sep=', ';;
930 eval enable_$ac_useropt=no ;;
932 -docdir | --docdir | --docdi | --doc | --do)
934 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
937 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
939 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
942 -enable-* | --enable-*)
943 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946 as_fn_error $? "invalid feature name: $ac_useropt"
947 ac_useropt_orig=$ac_useropt
948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
954 ac_unrecognized_sep=', ';;
956 eval enable_$ac_useropt=\$ac_optarg ;;
958 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
959 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
960 | --exec | --exe | --ex)
961 ac_prev=exec_prefix ;;
962 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
963 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
964 | --exec=* | --exe=* | --ex=*)
965 exec_prefix=$ac_optarg ;;
967 -gas | --gas | --ga | --g)
968 # Obsolete; use --with-gas.
971 -help | --help | --hel | --he | -h)
973 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
974 ac_init_help=recursive ;;
975 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
976 ac_init_help=short ;;
978 -host | --host | --hos | --ho)
979 ac_prev=host_alias ;;
980 -host=* | --host=* | --hos=* | --ho=*)
981 host_alias=$ac_optarg ;;
983 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
985 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
987 htmldir=$ac_optarg ;;
989 -includedir | --includedir | --includedi | --included | --include \
990 | --includ | --inclu | --incl | --inc)
991 ac_prev=includedir ;;
992 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
993 | --includ=* | --inclu=* | --incl=* | --inc=*)
994 includedir=$ac_optarg ;;
996 -infodir | --infodir | --infodi | --infod | --info | --inf)
998 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
999 infodir=$ac_optarg ;;
1001 -libdir | --libdir | --libdi | --libd)
1003 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1004 libdir=$ac_optarg ;;
1006 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1007 | --libexe | --libex | --libe)
1008 ac_prev=libexecdir ;;
1009 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1010 | --libexe=* | --libex=* | --libe=*)
1011 libexecdir=$ac_optarg ;;
1013 -localedir | --localedir | --localedi | --localed | --locale)
1014 ac_prev=localedir ;;
1015 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1016 localedir=$ac_optarg ;;
1018 -localstatedir | --localstatedir | --localstatedi | --localstated \
1019 | --localstate | --localstat | --localsta | --localst | --locals)
1020 ac_prev=localstatedir ;;
1021 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1022 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1023 localstatedir=$ac_optarg ;;
1025 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1027 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1028 mandir=$ac_optarg ;;
1030 -nfp | --nfp | --nf)
1031 # Obsolete; use --without-fp.
1034 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1035 | --no-cr | --no-c | -n)
1038 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1039 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1042 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1043 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1044 | --oldin | --oldi | --old | --ol | --o)
1045 ac_prev=oldincludedir ;;
1046 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1047 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1048 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1049 oldincludedir=$ac_optarg ;;
1051 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1053 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1054 prefix=$ac_optarg ;;
1056 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1057 | --program-pre | --program-pr | --program-p)
1058 ac_prev=program_prefix ;;
1059 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1060 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1061 program_prefix=$ac_optarg ;;
1063 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1064 | --program-suf | --program-su | --program-s)
1065 ac_prev=program_suffix ;;
1066 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1067 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1068 program_suffix=$ac_optarg ;;
1070 -program-transform-name | --program-transform-name \
1071 | --program-transform-nam | --program-transform-na \
1072 | --program-transform-n | --program-transform- \
1073 | --program-transform | --program-transfor \
1074 | --program-transfo | --program-transf \
1075 | --program-trans | --program-tran \
1076 | --progr-tra | --program-tr | --program-t)
1077 ac_prev=program_transform_name ;;
1078 -program-transform-name=* | --program-transform-name=* \
1079 | --program-transform-nam=* | --program-transform-na=* \
1080 | --program-transform-n=* | --program-transform-=* \
1081 | --program-transform=* | --program-transfor=* \
1082 | --program-transfo=* | --program-transf=* \
1083 | --program-trans=* | --program-tran=* \
1084 | --progr-tra=* | --program-tr=* | --program-t=*)
1085 program_transform_name=$ac_optarg ;;
1087 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1089 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1090 pdfdir=$ac_optarg ;;
1092 -psdir | --psdir | --psdi | --psd | --ps)
1094 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1098 | -silent | --silent | --silen | --sile | --sil)
1101 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1103 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1105 sbindir=$ac_optarg ;;
1107 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1108 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1109 | --sharedst | --shareds | --shared | --share | --shar \
1111 ac_prev=sharedstatedir ;;
1112 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1113 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1114 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1116 sharedstatedir=$ac_optarg ;;
1118 -site | --site | --sit)
1120 -site=* | --site=* | --sit=*)
1123 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1125 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1126 srcdir=$ac_optarg ;;
1128 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1129 | --syscon | --sysco | --sysc | --sys | --sy)
1130 ac_prev=sysconfdir ;;
1131 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1132 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1133 sysconfdir=$ac_optarg ;;
1135 -target | --target | --targe | --targ | --tar | --ta | --t)
1136 ac_prev=target_alias ;;
1137 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1138 target_alias=$ac_optarg ;;
1140 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1143 -version | --version | --versio | --versi | --vers | -V)
1144 ac_init_version=: ;;
1147 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150 as_fn_error $? "invalid package name: $ac_useropt"
1151 ac_useropt_orig=$ac_useropt
1152 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1158 ac_unrecognized_sep=', ';;
1160 eval with_$ac_useropt=\$ac_optarg ;;
1162 -without-* | --without-*)
1163 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1166 as_fn_error $? "invalid package name: $ac_useropt"
1167 ac_useropt_orig=$ac_useropt
1168 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1174 ac_unrecognized_sep=', ';;
1176 eval with_$ac_useropt=no ;;
1179 # Obsolete; use --with-x.
1182 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1183 | --x-incl | --x-inc | --x-in | --x-i)
1184 ac_prev=x_includes ;;
1185 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1186 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1187 x_includes=$ac_optarg ;;
1189 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1190 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1191 ac_prev=x_libraries ;;
1192 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1193 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1194 x_libraries=$ac_optarg ;;
1196 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1197 Try \`$0 --help' for more information"
1201 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1202 # Reject names that are not valid shell variable names.
1203 case $ac_envvar in #(
1204 '' | [0-9]* | *[!_$as_cr_alnum]* )
1205 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1207 eval $ac_envvar=\$ac_optarg
1208 export $ac_envvar ;;
1211 # FIXME: should be removed in autoconf 3.0.
1212 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1213 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1214 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1215 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1221 if test -n "$ac_prev"; then
1222 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1223 as_fn_error $? "missing argument to $ac_option"
1226 if test -n "$ac_unrecognized_opts"; then
1227 case $enable_option_checking in
1229 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1230 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1234 # Check all directory arguments for consistency.
1235 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1236 datadir sysconfdir sharedstatedir localstatedir includedir \
1237 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1238 libdir localedir mandir
1240 eval ac_val=\$$ac_var
1241 # Remove trailing slashes.
1244 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1245 eval $ac_var=\$ac_val;;
1247 # Be sure to have absolute directory names.
1249 [\\/$]* | ?:[\\/]* ) continue;;
1250 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1252 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1255 # There might be people who depend on the old broken behavior: `$host'
1256 # used to hold the argument of --host etc.
1257 # FIXME: To remove some day.
1260 target=$target_alias
1262 # FIXME: To remove some day.
1263 if test "x$host_alias" != x; then
1264 if test "x$build_alias" = x; then
1265 cross_compiling=maybe
1266 elif test "x$build_alias" != "x$host_alias"; then
1272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1274 test "$silent" = yes && exec 6>/dev/null
1277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1278 ac_ls_di=`ls -di .` &&
1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1280 as_fn_error $? "working directory cannot be determined"
1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1282 as_fn_error $? "pwd does not report name of working directory"
1285 # Find the source files, if location was not specified.
1286 if test -z "$srcdir"; then
1287 ac_srcdir_defaulted=yes
1288 # Try the directory containing this script, then the parent directory.
1289 ac_confdir=`$as_dirname -- "$as_myself" ||
1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1291 X"$as_myself" : 'X\(//\)[^/]' \| \
1292 X"$as_myself" : 'X\(//\)$' \| \
1293 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1294 $as_echo X"$as_myself" |
1295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313 if test ! -r "$srcdir/$ac_unique_file"; then
1317 ac_srcdir_defaulted=no
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1320 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1321 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1323 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1325 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1327 # When building in place, set srcdir=.
1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
1331 # Remove unnecessary trailing slashes from srcdir.
1332 # Double slashes in file names in object file debugging info
1333 # mess up M-x gdb in Emacs.
1335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337 for ac_var in $ac_precious_vars; do
1338 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1339 eval ac_env_${ac_var}_value=\$${ac_var}
1340 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1341 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1345 # Report the --help message.
1347 if test "$ac_init_help" = "long"; then
1348 # Omit some internal or obsolete options to make the list less imposing.
1349 # This message is too long to be a string in the A/UX 3.1 sh.
1351 \`configure' configures GNU FriBidi 1.0.2 to adapt to many kinds of systems.
1353 Usage: $0 [OPTION]... [VAR=VALUE]...
1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1356 VAR=VALUE. See below for descriptions of some of the useful variables.
1358 Defaults for the options are specified in brackets.
1361 -h, --help display this help and exit
1362 --help=short display options specific to this package
1363 --help=recursive display the short help of all the included packages
1364 -V, --version display version information and exit
1365 -q, --quiet, --silent do not print \`checking ...' messages
1366 --cache-file=FILE cache test results in FILE [disabled]
1367 -C, --config-cache alias for \`--cache-file=config.cache'
1368 -n, --no-create do not create output files
1369 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1371 Installation directories:
1372 --prefix=PREFIX install architecture-independent files in PREFIX
1373 [$ac_default_prefix]
1374 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1377 By default, \`make install' will install all the files in
1378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1380 for instance \`--prefix=\$HOME'.
1382 For better control, use the options below.
1384 Fine tuning of the installation directories:
1385 --bindir=DIR user executables [EPREFIX/bin]
1386 --sbindir=DIR system admin executables [EPREFIX/sbin]
1387 --libexecdir=DIR program executables [EPREFIX/libexec]
1388 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1389 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1390 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1391 --libdir=DIR object code libraries [EPREFIX/lib]
1392 --includedir=DIR C header files [PREFIX/include]
1393 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1394 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1395 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1396 --infodir=DIR info documentation [DATAROOTDIR/info]
1397 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1398 --mandir=DIR man documentation [DATAROOTDIR/man]
1399 --docdir=DIR documentation root [DATAROOTDIR/doc/fribidi]
1400 --htmldir=DIR html documentation [DOCDIR]
1401 --dvidir=DIR dvi documentation [DOCDIR]
1402 --pdfdir=DIR pdf documentation [DOCDIR]
1403 --psdir=DIR ps documentation [DOCDIR]
1409 --program-prefix=PREFIX prepend PREFIX to installed program names
1410 --program-suffix=SUFFIX append SUFFIX to installed program names
1411 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1414 --build=BUILD configure for building on BUILD [guessed]
1415 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1419 if test -n "$ac_init_help"; then
1420 case $ac_init_help in
1421 short | recursive ) echo "Configuration of GNU FriBidi 1.0.2:";;
1426 --disable-option-checking ignore unrecognized --enable/--with options
1427 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1428 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1429 --enable-silent-rules less verbose build output (undo: "make V=1")
1430 --disable-silent-rules verbose build output (undo: "make V=0")
1431 --enable-dependency-tracking
1432 do not reject slow dependency extractors
1433 --disable-dependency-tracking
1434 speeds up one-time build
1435 --enable-static[=PKGS] build static libraries [default=no]
1436 --enable-shared[=PKGS] build shared libraries [default=yes]
1437 --enable-fast-install[=PKGS]
1438 optimize for fast installation [default=yes]
1439 --disable-libtool-lock avoid locking (might break parallel builds)
1440 --enable-debug turn on debugging [default=no]
1441 --disable-deprecated do not build deprecated functionality
1442 --disable-docs disable building documentation
1445 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1446 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1447 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1449 --with-aix-soname=aix|svr4|both
1450 shared library versioning (aka "SONAME") variant to
1451 provide on AIX, [default=aix].
1452 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1453 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1454 compiler's sysroot if not specified).
1456 Some influential environment variables:
1457 CC C compiler command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1460 nonstandard directory <lib dir>
1461 LIBS libraries to pass to the linker, e.g. -l<library>
1462 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463 you have headers in a nonstandard directory <include dir>
1465 User-defined run-time library search path.
1467 PKG_CONFIG path to pkg-config utility
1469 directories to add to pkg-config's search path
1471 path overriding pkg-config's built-in search path
1473 Use these variables to override the choices made by `configure' or to help
1474 it to find libraries and programs with nonstandard names/locations.
1476 Report bugs to <https://github.com/fribidi/fribidi/issues/new>.
1477 GNU FriBidi home page: <http://fribidi.org/>.
1478 General help using GNU software: <http://www.gnu.org/gethelp/>.
1483 if test "$ac_init_help" = "recursive"; then
1484 # If there are subdirs, report their specific --help.
1485 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1486 test -d "$ac_dir" ||
1487 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1495 # A ".." for each directory in $ac_dir_suffix.
1496 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1497 case $ac_top_builddir_sub in
1498 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1502 ac_abs_top_builddir=$ac_pwd
1503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1504 # for backward compatibility:
1505 ac_top_builddir=$ac_top_build_prefix
1508 .) # We are building in place.
1510 ac_top_srcdir=$ac_top_builddir_sub
1511 ac_abs_top_srcdir=$ac_pwd ;;
1512 [\\/]* | ?:[\\/]* ) # Absolute name.
1513 ac_srcdir=$srcdir$ac_dir_suffix;
1514 ac_top_srcdir=$srcdir
1515 ac_abs_top_srcdir=$srcdir ;;
1517 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1518 ac_top_srcdir=$ac_top_build_prefix$srcdir
1519 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1523 cd "$ac_dir" || { ac_status=$?; continue; }
1524 # Check for guested configure.
1525 if test -f "$ac_srcdir/configure.gnu"; then
1527 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1528 elif test -f "$ac_srcdir/configure"; then
1530 $SHELL "$ac_srcdir/configure" --help=recursive
1532 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1534 cd "$ac_pwd" || { ac_status=$?; break; }
1538 test -n "$ac_init_help" && exit $ac_status
1539 if $ac_init_version; then
1541 GNU FriBidi configure 1.0.2
1542 generated by GNU Autoconf 2.69
1544 Copyright (C) 2012 Free Software Foundation, Inc.
1545 This configure script is free software; the Free Software Foundation
1546 gives unlimited permission to copy, distribute and modify it.
1551 ## ------------------------ ##
1552 ## Autoconf initialization. ##
1553 ## ------------------------ ##
1555 # ac_fn_c_try_compile LINENO
1556 # --------------------------
1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_c_try_compile ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 rm -f conftest.$ac_objext
1562 if { { ac_try="$ac_compile"
1564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1565 *) ac_try_echo=$ac_try;;
1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_compile") 2>conftest.err
1571 if test -s conftest.err; then
1572 grep -v '^ *+' conftest.err >conftest.er1
1573 cat conftest.er1 >&5
1574 mv -f conftest.er1 conftest.err
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } && {
1578 test -z "$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1580 } && test -s conftest.$ac_objext; then :
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status $ac_retval
1591 } # ac_fn_c_try_compile
1593 # ac_fn_c_try_link LINENO
1594 # -----------------------
1595 # Try to link conftest.$ac_ext, and return whether this succeeded.
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext conftest$ac_exeext
1600 if { { ac_try="$ac_link"
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_link") 2>conftest.err
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest$ac_exeext && {
1619 test "$cross_compiling" = yes ||
1620 test -x conftest$ac_exeext
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1629 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1630 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1631 # interfere with the next link command; also delete a directory that is
1632 # left behind by Apple's compiler. We do this before executing the actions.
1633 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_link
1639 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists and can be compiled using the include files in
1642 # INCLUDES, setting the cache variable VAR accordingly.
1643 ac_fn_c_check_header_compile ()
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if eval \${$3+:} false; then :
1649 $as_echo_n "(cached) " >&6
1651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h. */
1656 if ac_fn_c_try_compile "$LINENO"; then :
1661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665 $as_echo "$ac_res" >&6; }
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 } # ac_fn_c_check_header_compile
1670 # ac_fn_c_try_cpp LINENO
1671 # ----------------------
1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if { { ac_try="$ac_cpp conftest.$ac_ext"
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } > conftest.i && {
1692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1707 # ac_fn_c_try_run LINENO
1708 # ----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710 # that executables *can* be run.
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>&5
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1725 { { case "(($ac_try" in
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_try") 2>&5
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; }; }; then :
1737 $as_echo "$as_me: program exited with status $ac_status" >&5
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741 ac_retval=$ac_status
1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1749 # ac_fn_c_check_func LINENO FUNC VAR
1750 # ----------------------------------
1751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1752 ac_fn_c_check_func ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1762 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1764 #define $2 innocuous_$2
1766 /* System header to define __stub macros and hopefully few prototypes,
1767 which can conflict with char $2 (); below.
1768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1769 <limits.h> exists even on freestanding compilers. */
1772 # include <limits.h>
1774 # include <assert.h>
1779 /* Override any GCC internal prototype to avoid an error.
1780 Use char because int might match the return type of a GCC
1781 builtin and then its argument prototype would still apply. */
1786 /* The GNU C library defines this for functions which it implements
1787 to always fail with ENOSYS. Some functions are actually named
1788 something starting with __ and the normal name is an alias. */
1789 #if defined __stub_$2 || defined __stub___$2
1801 if ac_fn_c_try_link "$LINENO"; then :
1806 rm -f core conftest.err conftest.$ac_objext \
1807 conftest$ac_exeext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_func
1816 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1817 # -------------------------------------------------------
1818 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1819 # the include files in INCLUDES and setting the cache variable VAR
1821 ac_fn_c_check_header_mongrel ()
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 if eval \${$3+:} false; then :
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828 $as_echo_n "(cached) " >&6
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1834 # Is the header compilable?
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1836 $as_echo_n "checking $2 usability... " >&6; }
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1842 if ac_fn_c_try_compile "$LINENO"; then :
1843 ac_header_compiler=yes
1845 ac_header_compiler=no
1847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1849 $as_echo "$ac_header_compiler" >&6; }
1851 # Is the header present?
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1853 $as_echo_n "checking $2 presence... " >&6; }
1854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1858 if ac_fn_c_try_cpp "$LINENO"; then :
1859 ac_header_preproc=yes
1861 ac_header_preproc=no
1863 rm -f conftest.err conftest.i conftest.$ac_ext
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1865 $as_echo "$ac_header_preproc" >&6; }
1867 # So? What about this header?
1868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1871 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1873 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1877 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1879 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1881 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1883 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1885 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1886 ( $as_echo "## ------------------------------------------------------------ ##
1887 ## Report this to https://github.com/fribidi/fribidi/issues/new ##
1888 ## ------------------------------------------------------------ ##"
1889 ) | sed "s/^/$as_me: WARNING: /" >&2
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 eval "$3=\$ac_header_compiler"
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 } # ac_fn_c_check_header_mongrel
1907 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1908 # --------------------------------------------
1909 # Tries to find the compile-time value of EXPR in a program that includes
1910 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1912 ac_fn_c_compute_int ()
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 if test "$cross_compiling" = yes; then
1916 # Depending upon the size, compute the lo and hi bounds.
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1923 static int test_array [1 - 2 * !(($2) >= 0)];
1925 return test_array [0];
1931 if ac_fn_c_try_compile "$LINENO"; then :
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1940 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1942 return test_array [0];
1948 if ac_fn_c_try_compile "$LINENO"; then :
1949 ac_hi=$ac_mid; break
1951 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1952 if test $ac_lo -le $ac_mid; then
1956 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1967 static int test_array [1 - 2 * !(($2) < 0)];
1969 return test_array [0];
1975 if ac_fn_c_try_compile "$LINENO"; then :
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979 /* end confdefs.h. */
1984 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1986 return test_array [0];
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 ac_lo=$ac_mid; break
1995 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1996 if test $ac_mid -le $ac_hi; then
2000 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 # Binary search between lo and hi bounds.
2011 while test "x$ac_lo" != "x$ac_hi"; do
2012 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2019 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2021 return test_array [0];
2027 if ac_fn_c_try_compile "$LINENO"; then :
2030 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2042 static long int longval () { return $2; }
2043 static unsigned long int ulongval () { return $2; }
2050 FILE *f = fopen ("conftest.val", "w");
2055 long int i = longval ();
2058 fprintf (f, "%ld", i);
2062 unsigned long int i = ulongval ();
2065 fprintf (f, "%lu", i);
2067 /* Do not output a trailing newline, as this causes \r\n confusion
2068 on some platforms. */
2069 return ferror (f) || fclose (f) != 0;
2075 if ac_fn_c_try_run "$LINENO"; then :
2076 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2081 conftest.$ac_objext conftest.beam conftest.$ac_ext
2085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 as_fn_set_status $ac_retval
2088 } # ac_fn_c_compute_int
2089 cat >config.log <<_ACEOF
2090 This file contains any messages produced by compilers while
2091 running configure, to aid debugging if configure makes a mistake.
2093 It was created by GNU FriBidi $as_me 1.0.2, which was
2094 generated by GNU Autoconf 2.69. Invocation command line was
2106 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2107 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2108 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2109 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2110 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2112 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2113 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2115 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2116 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2117 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2118 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2119 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2120 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2121 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir=.
2130 $as_echo "PATH: $as_dir"
2146 # Keep a trace of the command line.
2147 # Strip out --no-create and --no-recursion so they do not pile up.
2148 # Strip out --silent because we don't want to record it for future runs.
2149 # Also quote any args containing shell meta-characters.
2150 # Make two passes to allow for proper duplicate-argument suppression.
2154 ac_must_keep_next=false
2160 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2162 | -silent | --silent | --silen | --sile | --sil)
2165 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2168 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2170 as_fn_append ac_configure_args1 " '$ac_arg'"
2171 if test $ac_must_keep_next = true; then
2172 ac_must_keep_next=false # Got value, back to normal.
2175 *=* | --config-cache | -C | -disable-* | --disable-* \
2176 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2177 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2178 | -with-* | --with-* | -without-* | --without-* | --x)
2179 case "$ac_configure_args0 " in
2180 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2183 -* ) ac_must_keep_next=true ;;
2186 as_fn_append ac_configure_args " '$ac_arg'"
2191 { ac_configure_args0=; unset ac_configure_args0;}
2192 { ac_configure_args1=; unset ac_configure_args1;}
2194 # When interrupted or exit'd, cleanup temporary files, and complete
2195 # config.log. We remove comments because anyway the quotes in there
2196 # would cause problems or look ugly.
2197 # WARNING: Use '\'' to represent an apostrophe within the trap.
2198 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2199 trap 'exit_status=$?
2200 # Save into config.log some information that might help in debugging.
2204 $as_echo "## ---------------- ##
2205 ## Cache variables. ##
2206 ## ---------------- ##"
2208 # The following way of writing the cache mishandles newlines in values,
2210 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2211 eval ac_val=\$$ac_var
2215 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2216 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2219 _ | IFS | as_nl) ;; #(
2220 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2221 *) { eval $ac_var=; unset $ac_var;} ;;
2226 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2227 *${as_nl}ac_space=\ *)
2229 "s/'\''/'\''\\\\'\'''\''/g;
2230 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2240 $as_echo "## ----------------- ##
2241 ## Output variables. ##
2242 ## ----------------- ##"
2244 for ac_var in $ac_subst_vars
2246 eval ac_val=\$$ac_var
2248 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2250 $as_echo "$ac_var='\''$ac_val'\''"
2254 if test -n "$ac_subst_files"; then
2255 $as_echo "## ------------------- ##
2256 ## File substitutions. ##
2257 ## ------------------- ##"
2259 for ac_var in $ac_subst_files
2261 eval ac_val=\$$ac_var
2263 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 $as_echo "$ac_var='\''$ac_val'\''"
2270 if test -s confdefs.h; then
2271 $as_echo "## ----------- ##
2278 test "$ac_signal" != 0 &&
2279 $as_echo "$as_me: caught signal $ac_signal"
2280 $as_echo "$as_me: exit $exit_status"
2282 rm -f core *.core core.conftest.* &&
2283 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2286 for ac_signal in 1 2 13 15; do
2287 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2291 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2292 rm -f -r conftest* confdefs.h
2294 $as_echo "/* confdefs.h */" > confdefs.h
2296 # Predefined preprocessor variables.
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_NAME "$PACKAGE_NAME"
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_STRING "$PACKAGE_STRING"
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_URL "$PACKAGE_URL"
2323 # Let the site file select an alternate cache file if it wants to.
2324 # Prefer an explicitly selected file to automatically selected ones.
2327 if test -n "$CONFIG_SITE"; then
2328 # We do not want a PATH search for config.site.
2329 case $CONFIG_SITE in #((
2330 -*) ac_site_file1=./$CONFIG_SITE;;
2331 */*) ac_site_file1=$CONFIG_SITE;;
2332 *) ac_site_file1=./$CONFIG_SITE;;
2334 elif test "x$prefix" != xNONE; then
2335 ac_site_file1=$prefix/share/config.site
2336 ac_site_file2=$prefix/etc/config.site
2338 ac_site_file1=$ac_default_prefix/share/config.site
2339 ac_site_file2=$ac_default_prefix/etc/config.site
2341 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2343 test "x$ac_site_file" = xNONE && continue
2344 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2346 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2347 sed 's/^/| /' "$ac_site_file" >&5
2349 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 as_fn_error $? "failed to load site script $ac_site_file
2352 See \`config.log' for more details" "$LINENO" 5; }
2356 if test -r "$cache_file"; then
2357 # Some versions of bash will fail to source /dev/null (special files
2358 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2359 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2361 $as_echo "$as_me: loading cache $cache_file" >&6;}
2363 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2364 *) . "./$cache_file";;
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2369 $as_echo "$as_me: creating cache $cache_file" >&6;}
2373 # Check that the precious variables saved in the cache have kept the same
2375 ac_cache_corrupted=false
2376 for ac_var in $ac_precious_vars; do
2377 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2378 eval ac_new_set=\$ac_env_${ac_var}_set
2379 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2380 eval ac_new_val=\$ac_env_${ac_var}_value
2381 case $ac_old_set,$ac_new_set in
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2384 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2385 ac_cache_corrupted=: ;;
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2388 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2389 ac_cache_corrupted=: ;;
2392 if test "x$ac_old_val" != "x$ac_new_val"; then
2393 # differences in whitespace do not lead to failure.
2394 ac_old_val_w=`echo x $ac_old_val`
2395 ac_new_val_w=`echo x $ac_new_val`
2396 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2398 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2399 ac_cache_corrupted=:
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2402 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2403 eval $ac_var=\$ac_old_val
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2406 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2408 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2411 # Pass precious variables to config.status.
2412 if test "$ac_new_set" = set; then
2414 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2415 *) ac_arg=$ac_var=$ac_new_val ;;
2417 case " $ac_configure_args " in
2418 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2419 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2423 if $ac_cache_corrupted; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2427 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2428 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2430 ## -------------------- ##
2431 ## Main body of script. ##
2432 ## -------------------- ##
2435 ac_cpp='$CPP $CPPFLAGS'
2436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2443 ac_config_headers="$ac_config_headers config.h"
2447 am__api_version='1.15'
2450 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2451 if test -f "$ac_dir/install-sh"; then
2453 ac_install_sh="$ac_aux_dir/install-sh -c"
2455 elif test -f "$ac_dir/install.sh"; then
2457 ac_install_sh="$ac_aux_dir/install.sh -c"
2459 elif test -f "$ac_dir/shtool"; then
2461 ac_install_sh="$ac_aux_dir/shtool install -c"
2465 if test -z "$ac_aux_dir"; then
2466 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2469 # These three variables are undocumented and unsupported,
2470 # and are intended to be withdrawn in a future Autoconf release.
2471 # They can cause serious problems if a builder's source tree is in a directory
2472 # whose full name contains unusual characters.
2473 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2474 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2475 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2478 # Find a good install program. We prefer a C program (faster),
2479 # so one script is as good as another. But avoid the broken or
2480 # incompatible versions:
2481 # SysV /etc/install, /usr/sbin/install
2482 # SunOS /usr/etc/install
2483 # IRIX /sbin/install
2485 # AmigaOS /C/install, which installs bootblocks on floppy discs
2486 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2487 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2488 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2489 # OS/2's system install, which has a completely different semantic
2490 # ./install, which can be erroneously created by make from ./install.sh.
2491 # Reject install programs that cannot install multiple files.
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2493 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2494 if test -z "$INSTALL"; then
2495 if ${ac_cv_path_install+:} false; then :
2496 $as_echo_n "(cached) " >&6
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 # Account for people who put trailing slashes in PATH elements.
2504 case $as_dir/ in #((
2505 ./ | .// | /[cC]/* | \
2506 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2507 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2510 # OSF1 and SCO ODT 3.0 have their own names for install.
2511 # Don't use installbsd from OSF since it installs stuff as root
2513 for ac_prog in ginstall scoinst install; do
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2516 if test $ac_prog = install &&
2517 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2518 # AIX install. It has an incompatible calling convention.
2520 elif test $ac_prog = install &&
2521 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2522 # program-specific install script used by HP pwplus--don't use.
2525 rm -rf conftest.one conftest.two conftest.dir
2526 echo one > conftest.one
2527 echo two > conftest.two
2529 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2530 test -s conftest.one && test -s conftest.two &&
2531 test -s conftest.dir/conftest.one &&
2532 test -s conftest.dir/conftest.two
2534 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2547 rm -rf conftest.one conftest.two conftest.dir
2550 if test "${ac_cv_path_install+set}" = set; then
2551 INSTALL=$ac_cv_path_install
2553 # As a last resort, use the slow shell script. Don't cache a
2554 # value for INSTALL within a source directory, because that will
2555 # break other packages using the cache if that directory is
2556 # removed, or if the value is a relative name.
2557 INSTALL=$ac_install_sh
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2561 $as_echo "$INSTALL" >&6; }
2563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2564 # It thinks the first close brace ends the variable substitution.
2565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2572 $as_echo_n "checking whether build environment is sane... " >&6; }
2573 # Reject unsafe characters in $srcdir or the absolute working directory
2574 # name. Accept space and tab only in the latter.
2578 *[\\\"\#\$\&\'\`$am_lf]*)
2579 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2582 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2583 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2586 # Do 'set' in a subshell so we don't clobber the current shell's
2587 # arguments. Must try -L first in case configure is actually a
2588 # symlink; some systems play weird games with the mod time of symlinks
2589 # (eg FreeBSD returns the mod time of the symlink's containing
2593 for am_try in 1 2; do
2594 echo "timestamp, slept: $am_has_slept" > conftest.file
2595 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2596 if test "$*" = "X"; then
2598 set X `ls -t "$srcdir/configure" conftest.file`
2600 if test "$*" != "X $srcdir/configure conftest.file" \
2601 && test "$*" != "X conftest.file $srcdir/configure"; then
2603 # If neither matched, then we have a broken ls. This can happen
2604 # if, for instance, CONFIG_SHELL is bash and it inherits a
2605 # broken ls alias from the environment. This has actually
2606 # happened. Such a system could not be considered "sane".
2607 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2608 alias in your environment" "$LINENO" 5
2610 if test "$2" = conftest.file || test $am_try -eq 2; then
2617 test "$2" = conftest.file
2623 as_fn_error $? "newly created file is older than distributed files!
2624 Check your system clock" "$LINENO" 5
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627 $as_echo "yes" >&6; }
2628 # If we didn't sleep, we still need to ensure time stamps of config.status and
2629 # generated files are strictly newer.
2631 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2638 test "$program_prefix" != NONE &&
2639 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2640 # Use a double $ so make ignores it.
2641 test "$program_suffix" != NONE &&
2642 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2643 # Double any \ or $.
2644 # By default was `s,x,x', remove it if useless.
2645 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2646 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2648 # Expand $ac_aux_dir to an absolute path.
2649 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2651 if test x"${MISSING+set}" != xset; then
2654 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2656 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2659 # Use eval to expand $SHELL
2660 if eval "$MISSING --is-lightweight"; then
2661 am_missing_run="$MISSING "
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2665 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2668 if test x"${install_sh+set}" != xset; then
2671 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2673 install_sh="\${SHELL} $am_aux_dir/install-sh"
2677 # Installed binaries are usually stripped using 'strip' when the user
2678 # run "make install-strip". However 'strip' might not be the right
2679 # tool to use in cross-compilation environments, therefore Automake
2680 # will honor the 'STRIP' environment variable to overrule this program.
2681 if test "$cross_compiling" != no; then
2682 if test -n "$ac_tool_prefix"; then
2683 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2684 set dummy ${ac_tool_prefix}strip; ac_word=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if ${ac_cv_prog_STRIP+:} false; then :
2688 $as_echo_n "(cached) " >&6
2690 if test -n "$STRIP"; then
2691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 STRIP=$ac_cv_prog_STRIP
2711 if test -n "$STRIP"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2713 $as_echo "$STRIP" >&6; }
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2721 if test -z "$ac_cv_prog_STRIP"; then
2723 # Extract the first word of "strip", so it can be a program name with args.
2724 set dummy strip; ac_word=$2
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726 $as_echo_n "checking for $ac_word... " >&6; }
2727 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2728 $as_echo_n "(cached) " >&6
2730 if test -n "$ac_ct_STRIP"; then
2731 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir=.
2738 for ac_exec_ext in '' $ac_executable_extensions; do
2739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 ac_cv_prog_ac_ct_STRIP="strip"
2741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2751 if test -n "$ac_ct_STRIP"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2753 $as_echo "$ac_ct_STRIP" >&6; }
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756 $as_echo "no" >&6; }
2759 if test "x$ac_ct_STRIP" = x; then
2762 case $cross_compiling:$ac_tool_warned in
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2766 ac_tool_warned=yes ;;
2771 STRIP="$ac_cv_prog_STRIP"
2775 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2778 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2779 if test -z "$MKDIR_P"; then
2780 if ${ac_cv_path_mkdir+:} false; then :
2781 $as_echo_n "(cached) " >&6
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2787 test -z "$as_dir" && as_dir=.
2788 for ac_prog in mkdir gmkdir; do
2789 for ac_exec_ext in '' $ac_executable_extensions; do
2790 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2791 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2792 'mkdir (GNU coreutils) '* | \
2793 'mkdir (coreutils) '* | \
2794 'mkdir (fileutils) '4.1*)
2795 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2805 test -d ./--version && rmdir ./--version
2806 if test "${ac_cv_path_mkdir+set}" = set; then
2807 MKDIR_P="$ac_cv_path_mkdir -p"
2809 # As a last resort, use the slow shell script. Don't cache a
2810 # value for MKDIR_P within a source directory, because that will
2811 # break other packages using the cache if that directory is
2812 # removed, or if the value is a relative name.
2813 MKDIR_P="$ac_install_sh -d"
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2817 $as_echo "$MKDIR_P" >&6; }
2819 for ac_prog in gawk mawk nawk awk
2821 # Extract the first word of "$ac_prog", so it can be a program name with args.
2822 set dummy $ac_prog; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_AWK+:} false; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$AWK"; then
2829 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2838 ac_cv_prog_AWK="$ac_prog"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$AWK"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2851 $as_echo "$AWK" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2858 test -n "$AWK" && break
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2862 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2864 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2865 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 cat >conftest.make <<\_ACEOF
2871 @echo '@@@%%%=$(MAKE)=@@@%%%'
2873 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2874 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2876 eval ac_cv_prog_make_${ac_make}_set=yes;;
2878 eval ac_cv_prog_make_${ac_make}_set=no;;
2882 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2884 $as_echo "yes" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2889 SET_MAKE="MAKE=${MAKE-make}"
2892 rm -rf .tst 2>/dev/null
2893 mkdir .tst 2>/dev/null
2894 if test -d .tst; then
2899 rmdir .tst 2>/dev/null
2901 # Check whether --enable-silent-rules was given.
2902 if test "${enable_silent_rules+set}" = set; then :
2903 enableval=$enable_silent_rules;
2906 case $enable_silent_rules in # (((
2907 yes) AM_DEFAULT_VERBOSITY=0;;
2908 no) AM_DEFAULT_VERBOSITY=1;;
2909 *) AM_DEFAULT_VERBOSITY=1;;
2911 am_make=${MAKE-make}
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2913 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2914 if ${am_cv_make_support_nested_variables+:} false; then :
2915 $as_echo_n "(cached) " >&6
2917 if $as_echo 'TRUE=$(BAR$(V))
2923 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2924 am_cv_make_support_nested_variables=yes
2926 am_cv_make_support_nested_variables=no
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2930 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2931 if test $am_cv_make_support_nested_variables = yes; then
2933 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2935 AM_V=$AM_DEFAULT_VERBOSITY
2936 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2940 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2941 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2942 # is not polluted with repeated "-I."
2943 am__isrc=' -I$(srcdir)'
2944 # test to see if srcdir already configured
2945 if test -f $srcdir/config.status; then
2946 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2950 # test whether we have cygpath
2951 if test -z "$CYGPATH_W"; then
2952 if (cygpath --version) >/dev/null 2>/dev/null; then
2953 CYGPATH_W='cygpath -w'
2960 # Define the identity of the package.
2965 # Some tools Automake needs.
2967 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2970 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2973 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2976 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2979 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2981 # For better backward compatibility. To be removed once Automake 1.9.x
2982 # dies out for good. For more background, see:
2983 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2984 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2985 mkdir_p='$(MKDIR_P)'
2987 # We need awk for the "check" target (and possibly the TAP driver). The
2988 # system "awk" is bad on some platforms.
2989 # Always define AMTAR for backward compatibility. Yes, it's still used
2990 # in the wild :-( We should find a proper way to deprecate it ...
2994 # We'll loop over all known methods to create a tar archive until one works.
2995 _am_tools='gnutar pax cpio none'
2997 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3004 # POSIX will say in a future version that running "rm -f" with no argument
3005 # is OK; and we want to be able to make that assumption in our Makefile
3006 # recipes. So use an aggressive probe to check that the usage we want is
3007 # actually supported "in the wild" to an acceptable degree.
3008 # See automake bug#10828.
3009 # To make any issue more visible, cause the running configure to be aborted
3010 # by default if the 'rm' program in use doesn't match our expectations; the
3011 # user can still override this though.
3012 if rm -f && rm -fr && rm -rf; then : OK; else
3016 Your 'rm' program seems unable to run without file operands specified
3017 on the command line, even when the '-f' option is present. This is contrary
3018 to the behaviour of most rm programs out there, and not conforming with
3019 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3021 Please tell bug-automake@gnu.org about your system, including the value
3022 of your $PATH and any error possibly output before this message. This
3023 can help us improve future automake versions.
3026 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3027 echo 'Configuration will proceed anyway, since you have set the' >&2
3028 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3032 Aborting the configuration process, to ensure you take notice of the issue.
3034 You can download and install GNU coreutils to get an 'rm' implementation
3035 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3037 If you want to complete the configuration process using your problematic
3038 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3039 to "yes", and re-run configure.
3042 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3046 # Check whether --enable-silent-rules was given.
3047 if test "${enable_silent_rules+set}" = set; then :
3048 enableval=$enable_silent_rules;
3051 case $enable_silent_rules in # (((
3052 yes) AM_DEFAULT_VERBOSITY=0;;
3053 no) AM_DEFAULT_VERBOSITY=1;;
3054 *) AM_DEFAULT_VERBOSITY=0;;
3056 am_make=${MAKE-make}
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3058 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3059 if ${am_cv_make_support_nested_variables+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 if $as_echo 'TRUE=$(BAR$(V))
3068 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3069 am_cv_make_support_nested_variables=yes
3071 am_cv_make_support_nested_variables=no
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3075 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3076 if test $am_cv_make_support_nested_variables = yes; then
3078 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3080 AM_V=$AM_DEFAULT_VERBOSITY
3081 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3086 DEPDIR="${am__leading_dot}deps"
3088 ac_config_commands="$ac_config_commands depfiles"
3091 am_make=${MAKE-make}
3092 cat > confinc << 'END'
3094 @echo this is the am__doit target
3097 # If we don't find an include directive, just comment out the code.
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3099 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3103 # First try GNU make style include.
3104 echo "include confinc" > confmf
3105 # Ignore all kinds of additional output from 'make'.
3106 case `$am_make -s -f confmf 2> /dev/null` in #(
3107 *the\ am__doit\ target*)
3113 # Now try BSD make style include.
3114 if test "$am__include" = "#"; then
3115 echo '.include "confinc"' > confmf
3116 case `$am_make -s -f confmf 2> /dev/null` in #(
3117 *the\ am__doit\ target*)
3118 am__include=.include
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3127 $as_echo "$_am_result" >&6; }
3128 rm -f confinc confmf
3130 # Check whether --enable-dependency-tracking was given.
3131 if test "${enable_dependency_tracking+set}" = set; then :
3132 enableval=$enable_dependency_tracking;
3135 if test "x$enable_dependency_tracking" != xno; then
3136 am_depcomp="$ac_aux_dir/depcomp"
3140 if test "x$enable_dependency_tracking" != xno; then
3150 ac_cpp='$CPP $CPPFLAGS'
3151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3154 if test -n "$ac_tool_prefix"; then
3155 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3156 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC="$CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 if test -n "$CC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3185 $as_echo "$CC" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3193 if test -z "$ac_cv_prog_CC"; then
3195 # Extract the first word of "gcc", so it can be a program name with args.
3196 set dummy gcc; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$ac_ct_CC"; then
3203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_ac_ct_CC="gcc"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3223 if test -n "$ac_ct_CC"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3225 $as_echo "$ac_ct_CC" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3231 if test "x$ac_ct_CC" = x; then
3234 case $cross_compiling:$ac_tool_warned in
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3238 ac_tool_warned=yes ;;
3246 if test -z "$CC"; then
3247 if test -n "$ac_tool_prefix"; then
3248 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3249 set dummy ${ac_tool_prefix}cc; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if ${ac_cv_prog_CC+:} false; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$CC"; then
3256 ac_cv_prog_CC="$CC" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3265 ac_cv_prog_CC="${ac_tool_prefix}cc"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$CC"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278 $as_echo "$CC" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3287 if test -z "$CC"; then
3288 # Extract the first word of "cc", so it can be a program name with args.
3289 set dummy cc; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if ${ac_cv_prog_CC+:} false; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$CC"; then
3296 ac_cv_prog_CC="$CC" # Let the user override the test.
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3307 ac_prog_rejected=yes
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 if test $ac_prog_rejected = yes; then
3319 # We found a bogon in the path, so make sure we never use it.
3320 set dummy $ac_cv_prog_CC
3322 if test $# != 0; then
3323 # We chose a different compiler from the bogus one.
3324 # However, it has the same basename, so the bogon will be chosen
3325 # first if we set CC to just the basename; use the full file name.
3327 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3333 if test -n "$CC"; then
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3335 $as_echo "$CC" >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3343 if test -z "$CC"; then
3344 if test -n "$ac_tool_prefix"; then
3345 for ac_prog in cl.exe
3347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if ${ac_cv_prog_CC+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 if test -n "$CC"; then
3355 ac_cv_prog_CC="$CC" # Let the user override the test.
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 if test -n "$CC"; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3377 $as_echo "$CC" >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3384 test -n "$CC" && break
3387 if test -z "$CC"; then
3389 for ac_prog in cl.exe
3391 # Extract the first word of "$ac_prog", so it can be a program name with args.
3392 set dummy $ac_prog; ac_word=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$ac_ct_CC"; then
3399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir=.
3406 for ac_exec_ext in '' $ac_executable_extensions; do
3407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408 ac_cv_prog_ac_ct_CC="$ac_prog"
3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3419 if test -n "$ac_ct_CC"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3421 $as_echo "$ac_ct_CC" >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3428 test -n "$ac_ct_CC" && break
3431 if test "x$ac_ct_CC" = x; then
3434 case $cross_compiling:$ac_tool_warned in
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438 ac_tool_warned=yes ;;
3447 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "no acceptable C compiler found in \$PATH
3450 See \`config.log' for more details" "$LINENO" 5; }
3452 # Provide some information about the compiler.
3453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3456 for ac_option in --version -v -V -qversion; do
3457 { { ac_try="$ac_compiler $ac_option >&5"
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3466 if test -s conftest.err; then
3468 ... rest of stderr output deleted ...
3469 10q' conftest.err >conftest.er1
3470 cat conftest.er1 >&5
3472 rm -f conftest.er1 conftest.err
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 ac_clean_files_save=$ac_clean_files
3489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3490 # Try to create an executable without -o first, disregard a.out.
3491 # It will help us diagnose broken compilers, and finding out an intuition
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3494 $as_echo_n "checking whether the C compiler works... " >&6; }
3495 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3497 # The possible output files:
3498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3501 for ac_file in $ac_files
3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3505 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3510 if { { ac_try="$ac_link_default"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_link_default") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; then :
3521 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3523 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3524 # so that the user can short-circuit this test for compilers unknown to
3526 for ac_file in $ac_files ''
3528 test -f "$ac_file" || continue
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3533 # We found the default executable, but exeext='' is most
3537 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3539 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 # We set ac_cv_exeext here because the later test for it is not
3542 # safe: cross compilers may not add the suffix if given an `-o'
3543 # argument, so we may need to know it at that point already.
3544 # Even if this section looks crufty: it has the advantage of
3551 test "$ac_cv_exeext" = no && ac_cv_exeext=
3556 if test -z "$ac_file"; then :
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error 77 "C compiler cannot create executables
3565 See \`config.log' for more details" "$LINENO" 5; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3568 $as_echo "yes" >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3571 $as_echo_n "checking for C compiler default output file name... " >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573 $as_echo "$ac_file" >&6; }
3574 ac_exeext=$ac_cv_exeext
3576 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3579 $as_echo_n "checking for suffix of executables... " >&6; }
3580 if { { ac_try="$ac_link"
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_link") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }; then :
3591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe'), while it won't with
3595 for ac_file in conftest.exe conftest conftest.*; do
3596 test -f "$ac_file" || continue
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3608 See \`config.log' for more details" "$LINENO" 5; }
3610 rm -f conftest conftest$ac_cv_exeext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612 $as_echo "$ac_cv_exeext" >&6; }
3614 rm -f conftest.$ac_ext
3615 EXEEXT=$ac_cv_exeext
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3623 FILE *f = fopen ("conftest.out", "w");
3624 return ferror (f) || fclose (f) != 0;
3630 ac_clean_files="$ac_clean_files conftest.out"
3631 # Check that the compiler produces executables we can run. If not, either
3632 # the compiler is broken, or we cross compile.
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3634 $as_echo_n "checking whether we are cross compiling... " >&6; }
3635 if test "$cross_compiling" != yes; then
3636 { { ac_try="$ac_link"
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_link") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }
3647 if { ac_try='./conftest$ac_cv_exeext'
3648 { { case "(($ac_try" in
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653 $as_echo "$ac_try_echo"; } >&5
3654 (eval "$ac_try") 2>&5
3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657 test $ac_status = 0; }; }; then
3660 if test "$cross_compiling" = maybe; then
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "cannot run C compiled programs.
3666 If you meant to cross compile, use \`--host'.
3667 See \`config.log' for more details" "$LINENO" 5; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3672 $as_echo "$cross_compiling" >&6; }
3674 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3675 ac_clean_files=$ac_clean_files_save
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3677 $as_echo_n "checking for suffix of object files... " >&6; }
3678 if ${ac_cv_objext+:} false; then :
3679 $as_echo_n "(cached) " >&6
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3692 rm -f conftest.o conftest.obj
3693 if { { ac_try="$ac_compile"
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_compile") 2>&5
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; then :
3704 for ac_file in conftest.o conftest.obj conftest.*; do
3705 test -f "$ac_file" || continue;
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3708 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "cannot compute suffix of object files: cannot compile
3719 See \`config.log' for more details" "$LINENO" 5; }
3721 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3724 $as_echo "$ac_cv_objext" >&6; }
3725 OBJEXT=$ac_cv_objext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3729 if ${ac_cv_c_compiler_gnu+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3746 if ac_fn_c_try_compile "$LINENO"; then :
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3756 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3762 ac_test_CFLAGS=${CFLAGS+set}
3763 ac_save_CFLAGS=$CFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3765 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3766 if ${ac_cv_prog_cc_g+:} false; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_save_c_werror_flag=$ac_c_werror_flag
3770 ac_c_werror_flag=yes
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_c_try_compile "$LINENO"; then :
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_c_try_compile "$LINENO"; then :
3802 ac_c_werror_flag=$ac_save_c_werror_flag
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 ac_c_werror_flag=$ac_save_c_werror_flag
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3826 $as_echo "$ac_cv_prog_cc_g" >&6; }
3827 if test "$ac_test_CFLAGS" = set; then
3828 CFLAGS=$ac_save_CFLAGS
3829 elif test $ac_cv_prog_cc_g = yes; then
3830 if test "$GCC" = yes; then
3836 if test "$GCC" = yes; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3843 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3844 if ${ac_cv_prog_cc_c89+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 ac_cv_prog_cc_c89=no
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3855 struct buf { int x; };
3856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3857 static char *e (p, i)
3863 static char *f (char * (*g) (char **, int), char **p, ...)
3868 s = g (p, va_arg (v,int));
3873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3874 function prototypes and stuff, but not '\xHH' hex character constants.
3875 These don't provoke an error unfortunately, instead are silently treated
3876 as 'x'. The following induces an error, until -std is added to get
3877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3878 array size at least. It's necessary to write '\x00'==0 to get something
3879 that's true only with -std. */
3880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3883 inside strings and character constants. */
3885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3887 int test (int i, double x);
3888 struct s1 {int (*f) (int a);};
3889 struct s2 {int (*f) (double a);};
3890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3904 CC="$ac_save_CC $ac_arg"
3905 if ac_fn_c_try_compile "$LINENO"; then :
3906 ac_cv_prog_cc_c89=$ac_arg
3908 rm -f core conftest.err conftest.$ac_objext
3909 test "x$ac_cv_prog_cc_c89" != "xno" && break
3911 rm -f conftest.$ac_ext
3916 case "x$ac_cv_prog_cc_c89" in
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3919 $as_echo "none needed" >&6; } ;;
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3922 $as_echo "unsupported" >&6; } ;;
3924 CC="$CC $ac_cv_prog_cc_c89"
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3926 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3928 if test "x$ac_cv_prog_cc_c89" != xno; then :
3933 ac_cpp='$CPP $CPPFLAGS'
3934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3944 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3945 if ${am_cv_prog_cc_c_o+:} false; then :
3946 $as_echo_n "(cached) " >&6
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3959 # Make sure it works both with $CC and with simple cc.
3960 # Following AC_PROG_CC_C_O, we do the test twice because some
3961 # compilers refuse to overwrite an existing .o file with -o,
3962 # though they will create one.
3963 am_cv_prog_cc_c_o=yes
3965 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3966 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } \
3970 && test -f conftest2.$ac_objext; then
3973 am_cv_prog_cc_c_o=no
3977 rm -f core conftest*
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3981 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3982 if test "$am_cv_prog_cc_c_o" != yes; then
3983 # Losing compiler, so override with the script.
3984 # FIXME: It is wrong to rewrite CC.
3985 # But if we don't then we get into trouble of one sort or another.
3986 # A longer-term fix would be to have automake use am__CC in this case,
3987 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3988 CC="$am_aux_dir/compile $CC"
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 depcc="$CC" am_compiler_list=
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4000 $as_echo_n "checking dependency style of $depcc... " >&6; }
4001 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4005 # We make a subdir and do the tests there. Otherwise we can end up
4006 # making bogus files that we don't know about and never remove. For
4007 # instance it was reported that on HP-UX the gcc test will end up
4008 # making a dummy file named 'D' -- because '-MD' means "put the output
4012 # Copy depcomp to subdir because otherwise we won't find it if we're
4013 # using a relative directory.
4014 cp "$am_depcomp" conftest.dir
4016 # We will build objects and dependencies in a subdirectory because
4017 # it helps to detect inapplicable dependency modes. For instance
4018 # both Tru64's cc and ICC support -MD to output dependencies as a
4019 # side effect of compilation, but ICC will put the dependencies in
4020 # the current directory while Tru64 will put them in the object
4024 am_cv_CC_dependencies_compiler_type=none
4025 if test "$am_compiler_list" = ""; then
4026 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4029 case " $depcc " in #(
4030 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4033 for depmode in $am_compiler_list; do
4034 # Setup a source with many dependencies, because some compilers
4035 # like to wrap large dependency lists on column 80 (with \), and
4036 # we should not choose a depcomp mode which is confused by this.
4038 # We need to recreate these files for each test, as the compiler may
4039 # overwrite some of them when testing with obscure command lines.
4040 # This happens at least with the AIX C compiler.
4042 for i in 1 2 3 4 5 6; do
4043 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4044 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4045 # Solaris 10 /bin/sh.
4046 echo '/* dummy */' > sub/conftst$i.h
4048 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4050 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4051 # mode. It turns out that the SunPro C++ compiler does not properly
4052 # handle '-M -o', and we need to detect this. Also, some Intel
4053 # versions had trouble with output in subdirs.
4054 am__obj=sub/conftest.${OBJEXT-o}
4055 am__minus_obj="-o $am__obj"
4058 # This depmode causes a compiler race in universal mode.
4059 test "$am__universal" = false || continue
4062 # After this tag, mechanisms are not by side-effect, so they'll
4063 # only be used when explicitly requested.
4064 if test "x$enable_dependency_tracking" = xyes; then
4070 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4071 # This compiler won't grok '-c -o', but also, the minuso test has
4072 # not run yet. These depmodes are late enough in the game, and
4073 # so weak that their functioning should not be impacted.
4074 am__obj=conftest.${OBJEXT-o}
4079 if depmode=$depmode \
4080 source=sub/conftest.c object=$am__obj \
4081 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4082 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4083 >/dev/null 2>conftest.err &&
4084 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4085 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4086 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4087 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4088 # icc doesn't choke on unknown options, it will just issue warnings
4089 # or remarks (even with -Werror). So we grep stderr for any message
4090 # that says an option was ignored or not supported.
4091 # When given -MP, icc 7.0 and 7.1 complain thusly:
4092 # icc: Command line warning: ignoring option '-M'; no argument required
4093 # The diagnosis changed in icc 8.0:
4094 # icc: Command line remark: option '-MP' not supported
4095 if (grep 'ignoring option' conftest.err ||
4096 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4097 am_cv_CC_dependencies_compiler_type=$depmode
4106 am_cv_CC_dependencies_compiler_type=none
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4111 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4112 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4115 test "x$enable_dependency_tracking" != xno \
4116 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4118 am__fastdepCC_FALSE='#'
4120 am__fastdepCC_TRUE='#'
4121 am__fastdepCC_FALSE=
4126 if test -n "$ac_tool_prefix"; then
4127 for ac_prog in ar lib "link -lib"
4129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if ${ac_cv_prog_AR+:} false; then :
4134 $as_echo_n "(cached) " >&6
4136 if test -n "$AR"; then
4137 ac_cv_prog_AR="$AR" # Let the user override the test.
4139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir=.
4144 for ac_exec_ext in '' $ac_executable_extensions; do
4145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 if test -n "$AR"; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4159 $as_echo "$AR" >&6; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 $as_echo "no" >&6; }
4166 test -n "$AR" && break
4169 if test -z "$AR"; then
4171 for ac_prog in ar lib "link -lib"
4173 # Extract the first word of "$ac_prog", so it can be a program name with args.
4174 set dummy $ac_prog; ac_word=$2
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176 $as_echo_n "checking for $ac_word... " >&6; }
4177 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 if test -n "$ac_ct_AR"; then
4181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir=.
4188 for ac_exec_ext in '' $ac_executable_extensions; do
4189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4190 ac_cv_prog_ac_ct_AR="$ac_prog"
4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4201 if test -n "$ac_ct_AR"; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4203 $as_echo "$ac_ct_AR" >&6; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 $as_echo "no" >&6; }
4210 test -n "$ac_ct_AR" && break
4213 if test "x$ac_ct_AR" = x; then
4216 case $cross_compiling:$ac_tool_warned in
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4220 ac_tool_warned=yes ;;
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4229 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4230 if ${am_cv_ar_interface+:} false; then :
4231 $as_echo_n "(cached) " >&6
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4239 am_cv_ar_interface=ar
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4242 int some_variable = 0;
4244 if ac_fn_c_try_compile "$LINENO"; then :
4245 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4246 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4247 (eval $am_ar_try) 2>&5
4249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4250 test $ac_status = 0; }
4251 if test "$ac_status" -eq 0; then
4252 am_cv_ar_interface=ar
4254 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4255 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4256 (eval $am_ar_try) 2>&5
4258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259 test $ac_status = 0; }
4260 if test "$ac_status" -eq 0; then
4261 am_cv_ar_interface=lib
4263 am_cv_ar_interface=unknown
4266 rm -f conftest.lib libconftest.a
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 ac_cpp='$CPP $CPPFLAGS'
4272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4278 $as_echo "$am_cv_ar_interface" >&6; }
4280 case $am_cv_ar_interface in
4284 # Microsoft lib, so override with the ar-lib wrapper script.
4285 # FIXME: It is wrong to rewrite AR.
4286 # But if we don't then we get into trouble of one sort or another.
4287 # A longer-term fix would be to have automake use am__AR in this case,
4288 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4290 AR="$am_aux_dir/ar-lib $AR"
4293 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4298 # Initialize libtool
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4303 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4308 macro_version='2.4.6'
4309 macro_revision='2.4.6'
4323 ltmain=$ac_aux_dir/ltmain.sh
4325 # Make sure we can run config.sub.
4326 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4327 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4330 $as_echo_n "checking build system type... " >&6; }
4331 if ${ac_cv_build+:} false; then :
4332 $as_echo_n "(cached) " >&6
4334 ac_build_alias=$build_alias
4335 test "x$ac_build_alias" = x &&
4336 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4337 test "x$ac_build_alias" = x &&
4338 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4339 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4340 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4344 $as_echo "$ac_cv_build" >&6; }
4345 case $ac_cv_build in
4347 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4350 ac_save_IFS=$IFS; IFS='-'
4356 # Remember, the first character of IFS is used to create $*,
4357 # except with old shells:
4360 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4364 $as_echo_n "checking host system type... " >&6; }
4365 if ${ac_cv_host+:} false; then :
4366 $as_echo_n "(cached) " >&6
4368 if test "x$host_alias" = x; then
4369 ac_cv_host=$ac_cv_build
4371 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4372 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4377 $as_echo "$ac_cv_host" >&6; }
4380 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4383 ac_save_IFS=$IFS; IFS='-'
4389 # Remember, the first character of IFS is used to create $*,
4390 # except with old shells:
4393 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4396 # Backslashify metacharacters that are still active within
4397 # double-quoted strings.
4398 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4400 # Same as above, but do not quote variable references.
4401 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4403 # Sed substitution to delay expansion of an escaped shell variable in a
4404 # double_quote_subst'ed string.
4405 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4407 # Sed substitution to delay expansion of an escaped single quote.
4408 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4410 # Sed substitution to avoid accidental globbing in evaled expressions
4411 no_glob_subst='s/\*/\\\*/g'
4413 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4414 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4418 $as_echo_n "checking how to print strings... " >&6; }
4419 # Test print first, because it will be a builtin if present.
4420 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4421 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4423 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4426 # Use this function as a fallback that always works.
4427 func_fallback_echo ()
4429 eval 'cat <<_LTECHO_EOF
4433 ECHO='func_fallback_echo'
4436 # func_echo_all arg...
4437 # Invoke $ECHO with all args, space-separated.
4444 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4445 $as_echo "printf" >&6; } ;;
4446 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4447 $as_echo "print -r" >&6; } ;;
4448 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4449 $as_echo "cat" >&6; } ;;
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4466 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4467 if ${ac_cv_path_SED+:} false; then :
4468 $as_echo_n "(cached) " >&6
4470 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4471 for ac_i in 1 2 3 4 5 6 7; do
4472 ac_script="$ac_script$as_nl$ac_script"
4474 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4475 { ac_script=; unset ac_script;}
4476 if test -z "$SED"; then
4477 ac_path_SED_found=false
4478 # Loop through the user's path and test for each of PROGNAME-LIST
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir=.
4484 for ac_prog in sed gsed; do
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4487 as_fn_executable_p "$ac_path_SED" || continue
4488 # Check for GNU ac_path_SED and select it if it is found.
4489 # Check for GNU $ac_path_SED
4490 case `"$ac_path_SED" --version 2>&1` in
4492 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4495 $as_echo_n 0123456789 >"conftest.in"
4498 cat "conftest.in" "conftest.in" >"conftest.tmp"
4499 mv "conftest.tmp" "conftest.in"
4500 cp "conftest.in" "conftest.nl"
4501 $as_echo '' >> "conftest.nl"
4502 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4504 as_fn_arith $ac_count + 1 && ac_count=$as_val
4505 if test $ac_count -gt ${ac_path_SED_max-0}; then
4506 # Best one so far, save it but keep looking for a better one
4507 ac_cv_path_SED="$ac_path_SED"
4508 ac_path_SED_max=$ac_count
4510 # 10*(2^10) chars as input seems more than enough
4511 test $ac_count -gt 10 && break
4513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4516 $ac_path_SED_found && break 3
4521 if test -z "$ac_cv_path_SED"; then
4522 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4530 $as_echo "$ac_cv_path_SED" >&6; }
4531 SED="$ac_cv_path_SED"
4534 test -z "$SED" && SED=sed
4535 Xsed="$SED -e 1s/^X//"
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4548 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4549 if ${ac_cv_path_GREP+:} false; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -z "$GREP"; then
4553 ac_path_GREP_found=false
4554 # Loop through the user's path and test for each of PROGNAME-LIST
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4559 test -z "$as_dir" && as_dir=.
4560 for ac_prog in grep ggrep; do
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4563 as_fn_executable_p "$ac_path_GREP" || continue
4564 # Check for GNU ac_path_GREP and select it if it is found.
4565 # Check for GNU $ac_path_GREP
4566 case `"$ac_path_GREP" --version 2>&1` in
4568 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4571 $as_echo_n 0123456789 >"conftest.in"
4574 cat "conftest.in" "conftest.in" >"conftest.tmp"
4575 mv "conftest.tmp" "conftest.in"
4576 cp "conftest.in" "conftest.nl"
4577 $as_echo 'GREP' >> "conftest.nl"
4578 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4579 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4580 as_fn_arith $ac_count + 1 && ac_count=$as_val
4581 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4582 # Best one so far, save it but keep looking for a better one
4583 ac_cv_path_GREP="$ac_path_GREP"
4584 ac_path_GREP_max=$ac_count
4586 # 10*(2^10) chars as input seems more than enough
4587 test $ac_count -gt 10 && break
4589 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4592 $ac_path_GREP_found && break 3
4597 if test -z "$ac_cv_path_GREP"; then
4598 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4601 ac_cv_path_GREP=$GREP
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4606 $as_echo "$ac_cv_path_GREP" >&6; }
4607 GREP="$ac_cv_path_GREP"
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4611 $as_echo_n "checking for egrep... " >&6; }
4612 if ${ac_cv_path_EGREP+:} false; then :
4613 $as_echo_n "(cached) " >&6
4615 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4616 then ac_cv_path_EGREP="$GREP -E"
4618 if test -z "$EGREP"; then
4619 ac_path_EGREP_found=false
4620 # Loop through the user's path and test for each of PROGNAME-LIST
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4625 test -z "$as_dir" && as_dir=.
4626 for ac_prog in egrep; do
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4629 as_fn_executable_p "$ac_path_EGREP" || continue
4630 # Check for GNU ac_path_EGREP and select it if it is found.
4631 # Check for GNU $ac_path_EGREP
4632 case `"$ac_path_EGREP" --version 2>&1` in
4634 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4637 $as_echo_n 0123456789 >"conftest.in"
4640 cat "conftest.in" "conftest.in" >"conftest.tmp"
4641 mv "conftest.tmp" "conftest.in"
4642 cp "conftest.in" "conftest.nl"
4643 $as_echo 'EGREP' >> "conftest.nl"
4644 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4646 as_fn_arith $ac_count + 1 && ac_count=$as_val
4647 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4648 # Best one so far, save it but keep looking for a better one
4649 ac_cv_path_EGREP="$ac_path_EGREP"
4650 ac_path_EGREP_max=$ac_count
4652 # 10*(2^10) chars as input seems more than enough
4653 test $ac_count -gt 10 && break
4655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4658 $ac_path_EGREP_found && break 3
4663 if test -z "$ac_cv_path_EGREP"; then
4664 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4667 ac_cv_path_EGREP=$EGREP
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4673 $as_echo "$ac_cv_path_EGREP" >&6; }
4674 EGREP="$ac_cv_path_EGREP"
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4678 $as_echo_n "checking for fgrep... " >&6; }
4679 if ${ac_cv_path_FGREP+:} false; then :
4680 $as_echo_n "(cached) " >&6
4682 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4683 then ac_cv_path_FGREP="$GREP -F"
4685 if test -z "$FGREP"; then
4686 ac_path_FGREP_found=false
4687 # Loop through the user's path and test for each of PROGNAME-LIST
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4692 test -z "$as_dir" && as_dir=.
4693 for ac_prog in fgrep; do
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4696 as_fn_executable_p "$ac_path_FGREP" || continue
4697 # Check for GNU ac_path_FGREP and select it if it is found.
4698 # Check for GNU $ac_path_FGREP
4699 case `"$ac_path_FGREP" --version 2>&1` in
4701 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4704 $as_echo_n 0123456789 >"conftest.in"
4707 cat "conftest.in" "conftest.in" >"conftest.tmp"
4708 mv "conftest.tmp" "conftest.in"
4709 cp "conftest.in" "conftest.nl"
4710 $as_echo 'FGREP' >> "conftest.nl"
4711 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4712 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4713 as_fn_arith $ac_count + 1 && ac_count=$as_val
4714 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4715 # Best one so far, save it but keep looking for a better one
4716 ac_cv_path_FGREP="$ac_path_FGREP"
4717 ac_path_FGREP_max=$ac_count
4719 # 10*(2^10) chars as input seems more than enough
4720 test $ac_count -gt 10 && break
4722 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4725 $ac_path_FGREP_found && break 3
4730 if test -z "$ac_cv_path_FGREP"; then
4731 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4734 ac_cv_path_FGREP=$FGREP
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4740 $as_echo "$ac_cv_path_FGREP" >&6; }
4741 FGREP="$ac_cv_path_FGREP"
4744 test -z "$GREP" && GREP=grep
4764 # Check whether --with-gnu-ld was given.
4765 if test "${with_gnu_ld+set}" = set; then :
4766 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4772 if test yes = "$GCC"; then
4773 # Check if gcc -print-prog-name=ld gives a path.
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4775 $as_echo_n "checking for ld used by $CC... " >&6; }
4778 # gcc leaves a trailing carriage return, which upsets mingw
4779 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4781 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4784 # Accept absolute paths.
4786 re_direlt='/[^/][^/]*/\.\./'
4787 # Canonicalize the pathname of ld
4788 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4789 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4790 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4792 test -z "$LD" && LD=$ac_prog
4795 # If it fails, then pretend we aren't using GCC.
4799 # If it is relative, then search for the first ld in PATH.
4803 elif test yes = "$with_gnu_ld"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4805 $as_echo_n "checking for GNU ld... " >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4808 $as_echo_n "checking for non-GNU ld... " >&6; }
4810 if ${lt_cv_path_LD+:} false; then :
4811 $as_echo_n "(cached) " >&6
4813 if test -z "$LD"; then
4814 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4815 for ac_dir in $PATH; do
4817 test -z "$ac_dir" && ac_dir=.
4818 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4819 lt_cv_path_LD=$ac_dir/$ac_prog
4820 # Check to see if the program is GNU ld. I'd rather use --version,
4821 # but apparently some variants of GNU ld only accept -v.
4822 # Break only if it was the GNU/non-GNU ld that we prefer.
4823 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4824 *GNU* | *'with BFD'*)
4825 test no != "$with_gnu_ld" && break
4828 test yes != "$with_gnu_ld" && break
4835 lt_cv_path_LD=$LD # Let the user override the test with a path.
4840 if test -n "$LD"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4842 $as_echo "$LD" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4847 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4849 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4850 if ${lt_cv_prog_gnu_ld+:} false; then :
4851 $as_echo_n "(cached) " >&6
4853 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4854 case `$LD -v 2>&1 </dev/null` in
4855 *GNU* | *'with BFD'*)
4856 lt_cv_prog_gnu_ld=yes
4859 lt_cv_prog_gnu_ld=no
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4864 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4865 with_gnu_ld=$lt_cv_prog_gnu_ld
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4876 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4877 if ${lt_cv_path_NM+:} false; then :
4878 $as_echo_n "(cached) " >&6
4880 if test -n "$NM"; then
4881 # Let the user override the test.
4884 lt_nm_to_check=${ac_tool_prefix}nm
4885 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4886 lt_nm_to_check="$lt_nm_to_check nm"
4888 for lt_tmp_nm in $lt_nm_to_check; do
4889 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4890 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4892 test -z "$ac_dir" && ac_dir=.
4893 tmp_nm=$ac_dir/$lt_tmp_nm
4894 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4895 # Check to see if the nm accepts a BSD-compat flag.
4896 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4897 # nm: unknown option "B" ignored
4898 # Tru64's nm complains that /dev/null is an invalid object file
4899 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4901 mingw*) lt_bad_file=conftest.nm/nofile ;;
4902 *) lt_bad_file=/dev/null ;;
4904 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4905 *$lt_bad_file* | *'Invalid file or object type'*)
4906 lt_cv_path_NM="$tmp_nm -B"
4910 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4912 lt_cv_path_NM="$tmp_nm -p"
4916 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4917 continue # so that we can try to find one that supports BSD flags
4926 : ${lt_cv_path_NM=no}
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4930 $as_echo "$lt_cv_path_NM" >&6; }
4931 if test no != "$lt_cv_path_NM"; then
4934 # Didn't find any BSD compatible name lister, look for dumpbin.
4935 if test -n "$DUMPBIN"; then :
4936 # Let the user override the test.
4938 if test -n "$ac_tool_prefix"; then
4939 for ac_prog in dumpbin "link -dump"
4941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4942 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_DUMPBIN+:} false; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -n "$DUMPBIN"; then
4949 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 DUMPBIN=$ac_cv_prog_DUMPBIN
4969 if test -n "$DUMPBIN"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4971 $as_echo "$DUMPBIN" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4978 test -n "$DUMPBIN" && break
4981 if test -z "$DUMPBIN"; then
4982 ac_ct_DUMPBIN=$DUMPBIN
4983 for ac_prog in dumpbin "link -dump"
4985 # Extract the first word of "$ac_prog", so it can be a program name with args.
4986 set dummy $ac_prog; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$ac_ct_DUMPBIN"; then
4993 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5013 if test -n "$ac_ct_DUMPBIN"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5015 $as_echo "$ac_ct_DUMPBIN" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 test -n "$ac_ct_DUMPBIN" && break
5025 if test "x$ac_ct_DUMPBIN" = x; then
5028 case $cross_compiling:$ac_tool_warned in
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned=yes ;;
5034 DUMPBIN=$ac_ct_DUMPBIN
5038 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5040 DUMPBIN="$DUMPBIN -symbols -headers"
5048 if test : != "$DUMPBIN"; then
5052 test -z "$NM" && NM=nm
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5060 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5061 if ${lt_cv_nm_interface+:} false; then :
5062 $as_echo_n "(cached) " >&6
5064 lt_cv_nm_interface="BSD nm"
5065 echo "int some_variable = 0;" > conftest.$ac_ext
5066 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5067 (eval "$ac_compile" 2>conftest.err)
5068 cat conftest.err >&5
5069 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5070 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5071 cat conftest.err >&5
5072 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5073 cat conftest.out >&5
5074 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5075 lt_cv_nm_interface="MS dumpbin"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5080 $as_echo "$lt_cv_nm_interface" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5083 $as_echo_n "checking whether ln -s works... " >&6; }
5085 if test "$LN_S" = "ln -s"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5087 $as_echo "yes" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5090 $as_echo "no, using $LN_S" >&6; }
5093 # find the maximum length of command line arguments
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5095 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5096 if ${lt_cv_sys_max_cmd_len+:} false; then :
5097 $as_echo_n "(cached) " >&6
5104 # On DJGPP, this test can blow up pretty badly due to problems in libc
5105 # (any single argument exceeding 2000 bytes causes a buffer overrun
5106 # during glob expansion). Even if it were fixed, the result of this
5107 # check would be larger than it should be.
5108 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5112 # Under GNU Hurd, this test is not required because there is
5113 # no limit to the length of command line arguments.
5114 # Libtool will interpret -1 as no limit whatsoever
5115 lt_cv_sys_max_cmd_len=-1;
5118 cygwin* | mingw* | cegcc*)
5119 # On Win9x/ME, this test blows up -- it succeeds, but takes
5120 # about 5 minutes as the teststring grows exponentially.
5121 # Worse, since 9x/ME are not pre-emptively multitasking,
5122 # you end up with a "frozen" computer, even though with patience
5123 # the test eventually succeeds (with a max line length of 256k).
5124 # Instead, let's just punt: use the minimum linelength reported by
5125 # all of the supported platforms: 8192 (on NT/2K/XP).
5126 lt_cv_sys_max_cmd_len=8192;
5130 # On MiNT this can take a long time and run out of memory.
5131 lt_cv_sys_max_cmd_len=8192;
5135 # On AmigaOS with pdksh, this test takes hours, literally.
5136 # So we just punt and use a minimum line length of 8192.
5137 lt_cv_sys_max_cmd_len=8192;
5140 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5141 # This has been around since 386BSD, at least. Likely further.
5142 if test -x /sbin/sysctl; then
5143 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5144 elif test -x /usr/sbin/sysctl; then
5145 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5147 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5149 # And add a safety zone
5150 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5151 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5155 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5156 lt_cv_sys_max_cmd_len=196608
5160 # The test takes a long time on OS/2.
5161 lt_cv_sys_max_cmd_len=8192
5165 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5166 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5167 # nice to cause kernel panics so lets avoid the loop below.
5168 # First set a reasonable default.
5169 lt_cv_sys_max_cmd_len=16384
5171 if test -x /sbin/sysconfig; then
5172 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5173 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5178 lt_cv_sys_max_cmd_len=102400
5180 sysv5* | sco5v6* | sysv4.2uw2*)
5181 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5182 if test -n "$kargmax"; then
5183 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5185 lt_cv_sys_max_cmd_len=32768
5189 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5190 if test -n "$lt_cv_sys_max_cmd_len" && \
5191 test undefined != "$lt_cv_sys_max_cmd_len"; then
5192 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5193 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5195 # Make teststring a little bigger before we do anything with it.
5196 # a 1K string should be a reasonable start.
5197 for i in 1 2 3 4 5 6 7 8; do
5198 teststring=$teststring$teststring
5200 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5201 # If test is not a shell built-in, we'll probably end up computing a
5202 # maximum length that is only half of the actual maximum length, but
5204 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5205 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5206 test 17 != "$i" # 1/2 MB should be enough
5209 teststring=$teststring$teststring
5211 # Only check the string length outside the loop.
5212 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5214 # Add a significant safety factor because C++ compilers can tack on
5215 # massive amounts of additional arguments before passing them to the
5216 # linker. It appears as though 1/2 is a usable value.
5217 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5224 if test -n "$lt_cv_sys_max_cmd_len"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5226 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5229 $as_echo "none" >&6; }
5231 max_cmd_len=$lt_cv_sys_max_cmd_len
5242 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5252 # test EBCDIC or ASCII
5253 case `echo X|tr X '\101'` in
5254 A) # ASCII based system
5255 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5256 lt_SP2NL='tr \040 \012'
5257 lt_NL2SP='tr \015\012 \040\040'
5259 *) # EBCDIC based system
5260 lt_SP2NL='tr \100 \n'
5261 lt_NL2SP='tr \r\n \100\100'
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5274 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5275 if ${lt_cv_to_host_file_cmd+:} false; then :
5276 $as_echo_n "(cached) " >&6
5281 *-*-mingw* ) # actually msys
5282 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5285 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5287 * ) # otherwise, assume *nix
5288 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5294 *-*-mingw* ) # actually msys
5295 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5298 lt_cv_to_host_file_cmd=func_convert_file_noop
5300 * ) # otherwise, assume *nix
5301 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5305 * ) # unhandled hosts (and "normal" native builds)
5306 lt_cv_to_host_file_cmd=func_convert_file_noop
5312 to_host_file_cmd=$lt_cv_to_host_file_cmd
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5314 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5321 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5322 if ${lt_cv_to_tool_file_cmd+:} false; then :
5323 $as_echo_n "(cached) " >&6
5325 #assume ordinary cross tools, or native build.
5326 lt_cv_to_tool_file_cmd=func_convert_file_noop
5330 *-*-mingw* ) # actually msys
5331 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5339 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5341 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5348 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5349 if ${lt_cv_ld_reload_flag+:} false; then :
5350 $as_echo_n "(cached) " >&6
5352 lt_cv_ld_reload_flag='-r'
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5355 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5356 reload_flag=$lt_cv_ld_reload_flag
5357 case $reload_flag in
5359 *) reload_flag=" $reload_flag" ;;
5361 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5363 cygwin* | mingw* | pw32* | cegcc*)
5364 if test yes != "$GCC"; then
5369 if test yes = "$GCC"; then
5370 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5372 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5385 if test -n "$ac_tool_prefix"; then
5386 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5387 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_OBJDUMP+:} false; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$OBJDUMP"; then
5394 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 OBJDUMP=$ac_cv_prog_OBJDUMP
5414 if test -n "$OBJDUMP"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5416 $as_echo "$OBJDUMP" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test -z "$ac_cv_prog_OBJDUMP"; then
5425 ac_ct_OBJDUMP=$OBJDUMP
5426 # Extract the first word of "objdump", so it can be a program name with args.
5427 set dummy objdump; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$ac_ct_OBJDUMP"; then
5434 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5454 if test -n "$ac_ct_OBJDUMP"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5456 $as_echo "$ac_ct_OBJDUMP" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5462 if test "x$ac_ct_OBJDUMP" = x; then
5465 case $cross_compiling:$ac_tool_warned in
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned=yes ;;
5471 OBJDUMP=$ac_ct_OBJDUMP
5474 OBJDUMP="$ac_cv_prog_OBJDUMP"
5477 test -z "$OBJDUMP" && OBJDUMP=objdump
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5488 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5489 if ${lt_cv_deplibs_check_method+:} false; then :
5490 $as_echo_n "(cached) " >&6
5492 lt_cv_file_magic_cmd='$MAGIC_CMD'
5493 lt_cv_file_magic_test_file=
5494 lt_cv_deplibs_check_method='unknown'
5495 # Need to set the preceding variable on all platforms that support
5496 # interlibrary dependencies.
5497 # 'none' -- dependencies not supported.
5498 # 'unknown' -- same as none, but documents that we really don't know.
5499 # 'pass_all' -- all dependencies passed with no checks.
5500 # 'test_compile' -- check by making test program.
5501 # 'file_magic [[regex]]' -- check by looking for files in library path
5502 # that responds to the $file_magic_cmd with a given extended regex.
5503 # If you have 'file' or equivalent on your system and you're not sure
5504 # whether 'pass_all' will *always* work, you probably want this one.
5508 lt_cv_deplibs_check_method=pass_all
5512 lt_cv_deplibs_check_method=pass_all
5516 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5517 lt_cv_file_magic_cmd='/usr/bin/file -L'
5518 lt_cv_file_magic_test_file=/shlib/libc.so
5522 # func_win32_libid is a shell function defined in ltmain.sh
5523 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5524 lt_cv_file_magic_cmd='func_win32_libid'
5528 # Base MSYS/MinGW do not provide the 'file' command needed by
5529 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5530 # unless we find 'file', for example because we are cross-compiling.
5531 if ( file / ) >/dev/null 2>&1; then
5532 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5533 lt_cv_file_magic_cmd='func_win32_libid'
5535 # Keep this pattern in sync with the one in func_win32_libid.
5536 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5537 lt_cv_file_magic_cmd='$OBJDUMP -f'
5542 # use the weaker test based on 'objdump'. See mingw*.
5543 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5544 lt_cv_file_magic_cmd='$OBJDUMP -f'
5547 darwin* | rhapsody*)
5548 lt_cv_deplibs_check_method=pass_all
5551 freebsd* | dragonfly*)
5552 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5555 # Not sure whether the presence of OpenBSD here was a mistake.
5556 # Let's accept both of them until this is cleared up.
5557 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5558 lt_cv_file_magic_cmd=/usr/bin/file
5559 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5563 lt_cv_deplibs_check_method=pass_all
5568 lt_cv_deplibs_check_method=pass_all
5571 hpux10.20* | hpux11*)
5572 lt_cv_file_magic_cmd=/usr/bin/file
5575 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5576 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5579 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]'
5580 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5583 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5584 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5590 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5591 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5594 irix5* | irix6* | nonstopux*)
5596 *-32|*"-32 ") libmagic=32-bit;;
5597 *-n32|*"-n32 ") libmagic=N32;;
5598 *-64|*"-64 ") libmagic=64-bit;;
5599 *) libmagic=never-match;;
5601 lt_cv_deplibs_check_method=pass_all
5604 # This must be glibc/ELF.
5605 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5606 lt_cv_deplibs_check_method=pass_all
5610 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5611 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5613 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5618 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5619 lt_cv_file_magic_cmd=/usr/bin/file
5620 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5624 lt_cv_deplibs_check_method=pass_all
5628 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5629 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5631 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5635 osf3* | osf4* | osf5*)
5636 lt_cv_deplibs_check_method=pass_all
5640 lt_cv_deplibs_check_method=pass_all
5644 lt_cv_deplibs_check_method=pass_all
5647 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5648 lt_cv_deplibs_check_method=pass_all
5652 case $host_vendor in
5654 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]'
5655 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5658 lt_cv_deplibs_check_method=pass_all
5661 lt_cv_file_magic_cmd='/bin/file'
5662 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5665 lt_cv_file_magic_cmd='/bin/file'
5666 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5667 lt_cv_file_magic_test_file=/lib/libc.so
5670 lt_cv_deplibs_check_method=pass_all
5673 lt_cv_deplibs_check_method=pass_all
5679 lt_cv_deplibs_check_method=pass_all
5682 lt_cv_deplibs_check_method=pass_all
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5688 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5692 if test "$build" = "$host"; then
5695 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5698 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5704 file_magic_cmd=$lt_cv_file_magic_cmd
5705 deplibs_check_method=$lt_cv_deplibs_check_method
5706 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5729 if test -n "$ac_tool_prefix"; then
5730 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5731 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_DLLTOOL+:} false; then :
5735 $as_echo_n "(cached) " >&6
5737 if test -n "$DLLTOOL"; then
5738 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 DLLTOOL=$ac_cv_prog_DLLTOOL
5758 if test -n "$DLLTOOL"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5760 $as_echo "$DLLTOOL" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5768 if test -z "$ac_cv_prog_DLLTOOL"; then
5769 ac_ct_DLLTOOL=$DLLTOOL
5770 # Extract the first word of "dlltool", so it can be a program name with args.
5771 set dummy dlltool; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5775 $as_echo_n "(cached) " >&6
5777 if test -n "$ac_ct_DLLTOOL"; then
5778 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5798 if test -n "$ac_ct_DLLTOOL"; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5800 $as_echo "$ac_ct_DLLTOOL" >&6; }
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5806 if test "x$ac_ct_DLLTOOL" = x; then
5809 case $cross_compiling:$ac_tool_warned in
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5813 ac_tool_warned=yes ;;
5815 DLLTOOL=$ac_ct_DLLTOOL
5818 DLLTOOL="$ac_cv_prog_DLLTOOL"
5821 test -z "$DLLTOOL" && DLLTOOL=dlltool
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5833 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5834 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5835 $as_echo_n "(cached) " >&6
5837 lt_cv_sharedlib_from_linklib_cmd='unknown'
5840 cygwin* | mingw* | pw32* | cegcc*)
5841 # two different shell functions defined in ltmain.sh;
5842 # decide which one to use based on capabilities of $DLLTOOL
5843 case `$DLLTOOL --help 2>&1` in
5844 *--identify-strict*)
5845 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5848 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5853 # fallback: assume linklib IS sharedlib
5854 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5860 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5861 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5862 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5870 if test -n "$ac_tool_prefix"; then
5873 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5874 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_AR+:} false; then :
5878 $as_echo_n "(cached) " >&6
5880 if test -n "$AR"; then
5881 ac_cv_prog_AR="$AR" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 if test -n "$AR"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5903 $as_echo "$AR" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5910 test -n "$AR" && break
5913 if test -z "$AR"; then
5917 # Extract the first word of "$ac_prog", so it can be a program name with args.
5918 set dummy $ac_prog; ac_word=$2
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 $as_echo_n "checking for $ac_word... " >&6; }
5921 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5922 $as_echo_n "(cached) " >&6
5924 if test -n "$ac_ct_AR"; then
5925 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_ac_ct_AR="$ac_prog"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5945 if test -n "$ac_ct_AR"; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5947 $as_echo "$ac_ct_AR" >&6; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 $as_echo "no" >&6; }
5954 test -n "$ac_ct_AR" && break
5957 if test "x$ac_ct_AR" = x; then
5960 case $cross_compiling:$ac_tool_warned in
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5964 ac_tool_warned=yes ;;
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5984 $as_echo_n "checking for archiver @FILE support... " >&6; }
5985 if ${lt_cv_ar_at_file+:} false; then :
5986 $as_echo_n "(cached) " >&6
5989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
6000 if ac_fn_c_try_compile "$LINENO"; then :
6001 echo conftest.$ac_objext > conftest.lst
6002 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6003 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6004 (eval $lt_ar_try) 2>&5
6006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6007 test $ac_status = 0; }
6008 if test 0 -eq "$ac_status"; then
6009 # Ensure the archiver fails upon bogus file names.
6010 rm -f conftest.$ac_objext libconftest.a
6011 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6012 (eval $lt_ar_try) 2>&5
6014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6015 test $ac_status = 0; }
6016 if test 0 -ne "$ac_status"; then
6020 rm -f conftest.* libconftest.a
6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6027 $as_echo "$lt_cv_ar_at_file" >&6; }
6029 if test no = "$lt_cv_ar_at_file"; then
6032 archiver_list_spec=$lt_cv_ar_at_file
6041 if test -n "$ac_tool_prefix"; then
6042 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6043 set dummy ${ac_tool_prefix}strip; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 $as_echo_n "checking for $ac_word... " >&6; }
6046 if ${ac_cv_prog_STRIP+:} false; then :
6047 $as_echo_n "(cached) " >&6
6049 if test -n "$STRIP"; then
6050 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6059 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 STRIP=$ac_cv_prog_STRIP
6070 if test -n "$STRIP"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6072 $as_echo "$STRIP" >&6; }
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; }
6080 if test -z "$ac_cv_prog_STRIP"; then
6082 # Extract the first word of "strip", so it can be a program name with args.
6083 set dummy strip; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6087 $as_echo_n "(cached) " >&6
6089 if test -n "$ac_ct_STRIP"; then
6090 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_ac_ct_STRIP="strip"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6110 if test -n "$ac_ct_STRIP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6112 $as_echo "$ac_ct_STRIP" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6118 if test "x$ac_ct_STRIP" = x; then
6121 case $cross_compiling:$ac_tool_warned in
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6125 ac_tool_warned=yes ;;
6130 STRIP="$ac_cv_prog_STRIP"
6133 test -z "$STRIP" && STRIP=:
6140 if test -n "$ac_tool_prefix"; then
6141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 $as_echo_n "checking for $ac_word... " >&6; }
6145 if ${ac_cv_prog_RANLIB+:} false; then :
6146 $as_echo_n "(cached) " >&6
6148 if test -n "$RANLIB"; then
6149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 RANLIB=$ac_cv_prog_RANLIB
6169 if test -n "$RANLIB"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6171 $as_echo "$RANLIB" >&6; }
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 $as_echo "no" >&6; }
6179 if test -z "$ac_cv_prog_RANLIB"; then
6180 ac_ct_RANLIB=$RANLIB
6181 # Extract the first word of "ranlib", so it can be a program name with args.
6182 set dummy ranlib; ac_word=$2
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184 $as_echo_n "checking for $ac_word... " >&6; }
6185 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6186 $as_echo_n "(cached) " >&6
6188 if test -n "$ac_ct_RANLIB"; then
6189 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 test -z "$as_dir" && as_dir=.
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6198 ac_cv_prog_ac_ct_RANLIB="ranlib"
6199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6209 if test -n "$ac_ct_RANLIB"; then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6211 $as_echo "$ac_ct_RANLIB" >&6; }
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214 $as_echo "no" >&6; }
6217 if test "x$ac_ct_RANLIB" = x; then
6220 case $cross_compiling:$ac_tool_warned in
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6224 ac_tool_warned=yes ;;
6226 RANLIB=$ac_ct_RANLIB
6229 RANLIB="$ac_cv_prog_RANLIB"
6232 test -z "$RANLIB" && RANLIB=:
6239 # Determine commands to create old-style static archives.
6240 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6241 old_postinstall_cmds='chmod 644 $oldlib'
6242 old_postuninstall_cmds=
6244 if test -n "$RANLIB"; then
6247 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6250 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6253 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6258 lock_old_archive_extraction=yes ;;
6260 lock_old_archive_extraction=no ;;
6301 # If no C compiler was specified, use CC.
6304 # If no C compiler flags were specified, use CFLAGS.
6305 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6307 # Allow CC to be a program name with arguments.
6311 # Check for command to grab the raw symbol name followed by C symbol from nm.
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6313 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6314 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6315 $as_echo_n "(cached) " >&6
6318 # These are sane defaults that work on at least a few old systems.
6319 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6321 # Character class describing NM global symbol codes.
6322 symcode='[BCDEGRST]'
6324 # Regexp to match symbols that can be accessed directly from C.
6325 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6327 # Define system-specific variables.
6332 cygwin* | mingw* | pw32* | cegcc*)
6333 symcode='[ABCDGISTW]'
6336 if test ia64 = "$host_cpu"; then
6337 symcode='[ABCDEGRST]'
6341 symcode='[BCDEGRST]'
6344 symcode='[BCDEGQRST]'
6355 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6363 # If we're using GNU nm, then use its standard symbol codes.
6364 case `$NM -V 2>&1` in
6365 *GNU* | *'with BFD'*)
6366 symcode='[ABCDGIRSTW]' ;;
6369 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6370 # Gets list of data symbols to import.
6371 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6372 # Adjust the below global symbol transforms to fixup imported variables.
6373 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6374 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6375 lt_c_name_lib_hook="\
6376 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6377 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6379 # Disable hooks by default.
6380 lt_cv_sys_global_symbol_to_import=
6386 # Transform an extracted symbol line into a proper C declaration.
6387 # Some systems (esp. on ia64) link data and code symbols differently,
6388 # so use this general approach.
6389 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6391 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6392 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6394 # Transform an extracted symbol line into symbol name and symbol address
6395 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6397 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6398 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6400 # Transform an extracted symbol line into symbol name with lib prefix and
6402 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6403 $lt_c_name_lib_hook\
6404 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6405 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6406 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6408 # Handle CRLF in mingw tool chain
6412 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6416 # Try without a prefix underscore, then with it.
6417 for ac_symprfx in "" "_"; do
6419 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6420 symxfrm="\\1 $ac_symprfx\\2 \\2"
6422 # Write the raw and C identifiers.
6423 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6424 # Fake it for dumpbin and say T for any non-static function,
6425 # D for any global variable and I for any imported variable.
6426 # Also find C++ and __fastcall symbols from MSVC++,
6427 # which start with @ or ?.
6428 lt_cv_sys_global_symbol_pipe="$AWK '"\
6429 " {last_section=section; section=\$ 3};"\
6430 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6431 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6432 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6433 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6434 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6435 " \$ 0!~/External *\|/{next};"\
6436 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6437 " {if(hide[section]) next};"\
6438 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6439 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6440 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6441 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6442 " ' prfx=^$ac_symprfx"
6444 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6446 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6448 # Check to see that the pipe works correctly.
6452 cat > conftest.$ac_ext <<_LT_EOF
6457 void nm_test_func(void);
6458 void nm_test_func(void){}
6462 int main(){nm_test_var='a';nm_test_func();return(0);}
6465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6466 (eval $ac_compile) 2>&5
6468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6469 test $ac_status = 0; }; then
6470 # Now try to grab the symbols.
6472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6473 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6476 test $ac_status = 0; } && test -s "$nlist"; then
6477 # Try sorting and uniquifying the output.
6478 if sort "$nlist" | uniq > "$nlist"T; then
6479 mv -f "$nlist"T "$nlist"
6484 # Make sure that we snagged all the symbols we need.
6485 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6486 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6487 cat <<_LT_EOF > conftest.$ac_ext
6488 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6489 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6490 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6491 relocations are performed -- see ld's documentation on pseudo-relocs. */
6492 # define LT_DLSYM_CONST
6493 #elif defined __osf__
6494 /* This system does not cope well with relocations in const data. */
6495 # define LT_DLSYM_CONST
6497 # define LT_DLSYM_CONST const
6505 # Now generate the symbol file.
6506 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6508 cat <<_LT_EOF >> conftest.$ac_ext
6510 /* The mapping between symbol names and symbols. */
6511 LT_DLSYM_CONST struct {
6515 lt__PROGRAM__LTX_preloaded_symbols[] =
6517 { "@PROGRAM@", (void *) 0 },
6519 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6520 cat <<\_LT_EOF >> conftest.$ac_ext
6524 /* This works around a problem in FreeBSD linker */
6525 #ifdef FREEBSD_WORKAROUND
6526 static const void *lt_preloaded_setup() {
6527 return lt__PROGRAM__LTX_preloaded_symbols;
6535 # Now try linking the two files.
6536 mv conftest.$ac_objext conftstm.$ac_objext
6537 lt_globsym_save_LIBS=$LIBS
6538 lt_globsym_save_CFLAGS=$CFLAGS
6539 LIBS=conftstm.$ac_objext
6540 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6542 (eval $ac_link) 2>&5
6544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6545 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6548 LIBS=$lt_globsym_save_LIBS
6549 CFLAGS=$lt_globsym_save_CFLAGS
6551 echo "cannot find nm_test_func in $nlist" >&5
6554 echo "cannot find nm_test_var in $nlist" >&5
6557 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6560 echo "$progname: failed program was:" >&5
6561 cat conftest.$ac_ext >&5
6563 rm -rf conftest* conftst*
6565 # Do not use the global_symbol_pipe unless it works.
6566 if test yes = "$pipe_works"; then
6569 lt_cv_sys_global_symbol_pipe=
6575 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6576 lt_cv_sys_global_symbol_to_cdecl=
6578 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6580 $as_echo "failed" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6583 $as_echo "ok" >&6; }
6586 # Response file support.
6587 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6588 nm_file_list_spec='@'
6589 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6590 nm_file_list_spec='@'
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6630 $as_echo_n "checking for sysroot... " >&6; }
6632 # Check whether --with-sysroot was given.
6633 if test "${with_sysroot+set}" = set; then :
6634 withval=$with_sysroot;
6641 case $with_sysroot in #(
6643 if test yes = "$GCC"; then
6644 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6648 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6654 $as_echo "$with_sysroot" >&6; }
6655 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6660 $as_echo "${lt_sysroot:-no}" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6667 $as_echo_n "checking for a working dd... " >&6; }
6668 if ${ac_cv_path_lt_DD+:} false; then :
6669 $as_echo_n "(cached) " >&6
6671 printf 0123456789abcdef0123456789abcdef >conftest.i
6672 cat conftest.i conftest.i >conftest2.i
6674 if test -z "$lt_DD"; then
6675 ac_path_lt_DD_found=false
6676 # Loop through the user's path and test for each of PROGNAME-LIST
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_prog in dd; do
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6685 as_fn_executable_p "$ac_path_lt_DD" || continue
6686 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6687 cmp -s conftest.i conftest.out \
6688 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6690 $ac_path_lt_DD_found && break 3
6695 if test -z "$ac_cv_path_lt_DD"; then
6699 ac_cv_path_lt_DD=$lt_DD
6702 rm -f conftest.i conftest2.i conftest.out
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6705 $as_echo "$ac_cv_path_lt_DD" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6709 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6710 if ${lt_cv_truncate_bin+:} false; then :
6711 $as_echo_n "(cached) " >&6
6713 printf 0123456789abcdef0123456789abcdef >conftest.i
6714 cat conftest.i conftest.i >conftest2.i
6716 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6717 cmp -s conftest.i conftest.out \
6718 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6720 rm -f conftest.i conftest2.i conftest.out
6721 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6724 $as_echo "$lt_cv_truncate_bin" >&6; }
6732 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6735 for cc_temp in $*""; do
6737 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6738 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6743 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6746 # Check whether --enable-libtool-lock was given.
6747 if test "${enable_libtool_lock+set}" = set; then :
6748 enableval=$enable_libtool_lock;
6751 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6753 # Some flags need to be propagated to the compiler or linker for good
6757 # Find out what ABI is being produced by ac_compile, and set mode
6758 # options accordingly.
6759 echo 'int i;' > conftest.$ac_ext
6760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6761 (eval $ac_compile) 2>&5
6763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6764 test $ac_status = 0; }; then
6765 case `/usr/bin/file conftest.$ac_objext` in
6777 # Find out what ABI is being produced by ac_compile, and set linker
6778 # options accordingly.
6779 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6781 (eval $ac_compile) 2>&5
6783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6784 test $ac_status = 0; }; then
6785 if test yes = "$lt_cv_prog_gnu_ld"; then
6786 case `/usr/bin/file conftest.$ac_objext` in
6788 LD="${LD-ld} -melf32bsmip"
6791 LD="${LD-ld} -melf32bmipn32"
6794 LD="${LD-ld} -melf64bmip"
6798 case `/usr/bin/file conftest.$ac_objext` in
6815 # Find out what ABI is being produced by ac_compile, and set linker
6816 # options accordingly.
6817 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6819 (eval $ac_compile) 2>&5
6821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6822 test $ac_status = 0; }; then
6824 case `/usr/bin/file conftest.$ac_objext` in
6832 case `/usr/bin/file conftest.$ac_objext` in
6834 emul="${emul}btsmip"
6837 emul="${emul}ltsmip"
6840 case `/usr/bin/file conftest.$ac_objext` in
6845 LD="${LD-ld} -m $emul"
6850 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6851 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6852 # Find out what ABI is being produced by ac_compile, and set linker
6853 # options accordingly. Note that the listed cases only cover the
6854 # situations where additional linker options are needed (such as when
6855 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6856 # vice versa); the common cases where no linker options are needed do
6857 # not appear in the list.
6858 echo 'int i;' > conftest.$ac_ext
6859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6860 (eval $ac_compile) 2>&5
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6863 test $ac_status = 0; }; then
6864 case `/usr/bin/file conftest.o` in
6867 x86_64-*kfreebsd*-gnu)
6868 LD="${LD-ld} -m elf_i386_fbsd"
6871 case `/usr/bin/file conftest.o` in
6873 LD="${LD-ld} -m elf32_x86_64"
6876 LD="${LD-ld} -m elf_i386"
6880 powerpc64le-*linux*)
6881 LD="${LD-ld} -m elf32lppclinux"
6884 LD="${LD-ld} -m elf32ppclinux"
6887 LD="${LD-ld} -m elf_s390"
6890 LD="${LD-ld} -m elf32_sparc"
6896 x86_64-*kfreebsd*-gnu)
6897 LD="${LD-ld} -m elf_x86_64_fbsd"
6900 LD="${LD-ld} -m elf_x86_64"
6903 LD="${LD-ld} -m elf64lppc"
6906 LD="${LD-ld} -m elf64ppc"
6908 s390*-*linux*|s390*-*tpf*)
6909 LD="${LD-ld} -m elf64_s390"
6912 LD="${LD-ld} -m elf64_sparc"
6922 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6924 CFLAGS="$CFLAGS -belf"
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6926 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6927 if ${lt_cv_cc_needs_belf+:} false; then :
6928 $as_echo_n "(cached) " >&6
6931 ac_cpp='$CPP $CPPFLAGS'
6932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6947 if ac_fn_c_try_link "$LINENO"; then :
6948 lt_cv_cc_needs_belf=yes
6950 lt_cv_cc_needs_belf=no
6952 rm -f core conftest.err conftest.$ac_objext \
6953 conftest$ac_exeext conftest.$ac_ext
6955 ac_cpp='$CPP $CPPFLAGS'
6956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6962 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6963 if test yes != "$lt_cv_cc_needs_belf"; then
6964 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6969 # Find out what ABI is being produced by ac_compile, and set linker
6970 # options accordingly.
6971 echo 'int i;' > conftest.$ac_ext
6972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6973 (eval $ac_compile) 2>&5
6975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6976 test $ac_status = 0; }; then
6977 case `/usr/bin/file conftest.o` in
6979 case $lt_cv_prog_gnu_ld in
6982 i?86-*-solaris*|x86_64-*-solaris*)
6983 LD="${LD-ld} -m elf_x86_64"
6986 LD="${LD-ld} -m elf64_sparc"
6989 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6990 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6995 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7007 need_locks=$enable_libtool_lock
7009 if test -n "$ac_tool_prefix"; then
7010 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7011 set dummy ${ac_tool_prefix}mt; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7015 $as_echo_n "(cached) " >&6
7017 if test -n "$MANIFEST_TOOL"; then
7018 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7038 if test -n "$MANIFEST_TOOL"; then
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7040 $as_echo "$MANIFEST_TOOL" >&6; }
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7048 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7049 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7050 # Extract the first word of "mt", so it can be a program name with args.
7051 set dummy mt; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7055 $as_echo_n "(cached) " >&6
7057 if test -n "$ac_ct_MANIFEST_TOOL"; then
7058 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7067 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7078 if test -n "$ac_ct_MANIFEST_TOOL"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7080 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7086 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7089 case $cross_compiling:$ac_tool_warned in
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7093 ac_tool_warned=yes ;;
7095 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7098 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7101 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7103 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7104 if ${lt_cv_path_mainfest_tool+:} false; then :
7105 $as_echo_n "(cached) " >&6
7107 lt_cv_path_mainfest_tool=no
7108 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7109 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7110 cat conftest.err >&5
7111 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7112 lt_cv_path_mainfest_tool=yes
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7117 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7118 if test yes != "$lt_cv_path_mainfest_tool"; then
7128 rhapsody* | darwin*)
7129 if test -n "$ac_tool_prefix"; then
7130 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7131 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7135 $as_echo_n "(cached) " >&6
7137 if test -n "$DSYMUTIL"; then
7138 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 test -z "$as_dir" && as_dir=.
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7158 if test -n "$DSYMUTIL"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7160 $as_echo "$DSYMUTIL" >&6; }
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 $as_echo "no" >&6; }
7168 if test -z "$ac_cv_prog_DSYMUTIL"; then
7169 ac_ct_DSYMUTIL=$DSYMUTIL
7170 # Extract the first word of "dsymutil", so it can be a program name with args.
7171 set dummy dsymutil; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7175 $as_echo_n "(cached) " >&6
7177 if test -n "$ac_ct_DSYMUTIL"; then
7178 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7198 if test -n "$ac_ct_DSYMUTIL"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7200 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7206 if test "x$ac_ct_DSYMUTIL" = x; then
7209 case $cross_compiling:$ac_tool_warned in
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7213 ac_tool_warned=yes ;;
7215 DSYMUTIL=$ac_ct_DSYMUTIL
7218 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7221 if test -n "$ac_tool_prefix"; then
7222 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7223 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7225 $as_echo_n "checking for $ac_word... " >&6; }
7226 if ${ac_cv_prog_NMEDIT+:} false; then :
7227 $as_echo_n "(cached) " >&6
7229 if test -n "$NMEDIT"; then
7230 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 test -z "$as_dir" && as_dir=.
7237 for ac_exec_ext in '' $ac_executable_extensions; do
7238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7239 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 NMEDIT=$ac_cv_prog_NMEDIT
7250 if test -n "$NMEDIT"; then
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7252 $as_echo "$NMEDIT" >&6; }
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7255 $as_echo "no" >&6; }
7260 if test -z "$ac_cv_prog_NMEDIT"; then
7261 ac_ct_NMEDIT=$NMEDIT
7262 # Extract the first word of "nmedit", so it can be a program name with args.
7263 set dummy nmedit; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7267 $as_echo_n "(cached) " >&6
7269 if test -n "$ac_ct_NMEDIT"; then
7270 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7290 if test -n "$ac_ct_NMEDIT"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7292 $as_echo "$ac_ct_NMEDIT" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7298 if test "x$ac_ct_NMEDIT" = x; then
7301 case $cross_compiling:$ac_tool_warned in
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7305 ac_tool_warned=yes ;;
7307 NMEDIT=$ac_ct_NMEDIT
7310 NMEDIT="$ac_cv_prog_NMEDIT"
7313 if test -n "$ac_tool_prefix"; then
7314 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7315 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 $as_echo_n "checking for $ac_word... " >&6; }
7318 if ${ac_cv_prog_LIPO+:} false; then :
7319 $as_echo_n "(cached) " >&6
7321 if test -n "$LIPO"; then
7322 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 test -z "$as_dir" && as_dir=.
7329 for ac_exec_ext in '' $ac_executable_extensions; do
7330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7331 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 LIPO=$ac_cv_prog_LIPO
7342 if test -n "$LIPO"; then
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7344 $as_echo "$LIPO" >&6; }
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7347 $as_echo "no" >&6; }
7352 if test -z "$ac_cv_prog_LIPO"; then
7354 # Extract the first word of "lipo", so it can be a program name with args.
7355 set dummy lipo; ac_word=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 $as_echo_n "checking for $ac_word... " >&6; }
7358 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7359 $as_echo_n "(cached) " >&6
7361 if test -n "$ac_ct_LIPO"; then
7362 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 test -z "$as_dir" && as_dir=.
7369 for ac_exec_ext in '' $ac_executable_extensions; do
7370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7371 ac_cv_prog_ac_ct_LIPO="lipo"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7382 if test -n "$ac_ct_LIPO"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7384 $as_echo "$ac_ct_LIPO" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7390 if test "x$ac_ct_LIPO" = x; then
7393 case $cross_compiling:$ac_tool_warned in
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7397 ac_tool_warned=yes ;;
7402 LIPO="$ac_cv_prog_LIPO"
7405 if test -n "$ac_tool_prefix"; then
7406 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7407 set dummy ${ac_tool_prefix}otool; ac_word=$2
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7409 $as_echo_n "checking for $ac_word... " >&6; }
7410 if ${ac_cv_prog_OTOOL+:} false; then :
7411 $as_echo_n "(cached) " >&6
7413 if test -n "$OTOOL"; then
7414 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 test -z "$as_dir" && as_dir=.
7421 for ac_exec_ext in '' $ac_executable_extensions; do
7422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7423 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 OTOOL=$ac_cv_prog_OTOOL
7434 if test -n "$OTOOL"; then
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7436 $as_echo "$OTOOL" >&6; }
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7439 $as_echo "no" >&6; }
7444 if test -z "$ac_cv_prog_OTOOL"; then
7446 # Extract the first word of "otool", so it can be a program name with args.
7447 set dummy otool; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7451 $as_echo_n "(cached) " >&6
7453 if test -n "$ac_ct_OTOOL"; then
7454 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir=.
7461 for ac_exec_ext in '' $ac_executable_extensions; do
7462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7463 ac_cv_prog_ac_ct_OTOOL="otool"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7474 if test -n "$ac_ct_OTOOL"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7476 $as_echo "$ac_ct_OTOOL" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7482 if test "x$ac_ct_OTOOL" = x; then
7485 case $cross_compiling:$ac_tool_warned in
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7489 ac_tool_warned=yes ;;
7494 OTOOL="$ac_cv_prog_OTOOL"
7497 if test -n "$ac_tool_prefix"; then
7498 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7499 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if ${ac_cv_prog_OTOOL64+:} false; then :
7503 $as_echo_n "(cached) " >&6
7505 if test -n "$OTOOL64"; then
7506 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512 test -z "$as_dir" && as_dir=.
7513 for ac_exec_ext in '' $ac_executable_extensions; do
7514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7515 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 OTOOL64=$ac_cv_prog_OTOOL64
7526 if test -n "$OTOOL64"; then
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7528 $as_echo "$OTOOL64" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7536 if test -z "$ac_cv_prog_OTOOL64"; then
7537 ac_ct_OTOOL64=$OTOOL64
7538 # Extract the first word of "otool64", so it can be a program name with args.
7539 set dummy otool64; ac_word=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7543 $as_echo_n "(cached) " >&6
7545 if test -n "$ac_ct_OTOOL64"; then
7546 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7552 test -z "$as_dir" && as_dir=.
7553 for ac_exec_ext in '' $ac_executable_extensions; do
7554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7555 ac_cv_prog_ac_ct_OTOOL64="otool64"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7566 if test -n "$ac_ct_OTOOL64"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7568 $as_echo "$ac_ct_OTOOL64" >&6; }
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7574 if test "x$ac_ct_OTOOL64" = x; then
7577 case $cross_compiling:$ac_tool_warned in
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7581 ac_tool_warned=yes ;;
7583 OTOOL64=$ac_ct_OTOOL64
7586 OTOOL64="$ac_cv_prog_OTOOL64"
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7616 $as_echo_n "checking for -single_module linker flag... " >&6; }
7617 if ${lt_cv_apple_cc_single_mod+:} false; then :
7618 $as_echo_n "(cached) " >&6
7620 lt_cv_apple_cc_single_mod=no
7621 if test -z "$LT_MULTI_MODULE"; then
7622 # By default we will add the -single_module flag. You can override
7623 # by either setting the environment variable LT_MULTI_MODULE
7624 # non-empty at configure time, or by adding -multi_module to the
7626 rm -rf libconftest.dylib*
7627 echo "int foo(void){return 1;}" > conftest.c
7628 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7629 -dynamiclib -Wl,-single_module conftest.c" >&5
7630 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7631 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7633 # If there is a non-empty error log, and "single_module"
7634 # appears in it, assume the flag caused a linker warning
7635 if test -s conftest.err && $GREP single_module conftest.err; then
7636 cat conftest.err >&5
7637 # Otherwise, if the output was created with a 0 exit code from
7638 # the compiler, it worked.
7639 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7640 lt_cv_apple_cc_single_mod=yes
7642 cat conftest.err >&5
7644 rm -rf libconftest.dylib*
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7649 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7652 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7653 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7654 $as_echo_n "(cached) " >&6
7656 lt_cv_ld_exported_symbols_list=no
7657 save_LDFLAGS=$LDFLAGS
7658 echo "_main" > conftest.sym
7659 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7661 /* end confdefs.h. */
7671 if ac_fn_c_try_link "$LINENO"; then :
7672 lt_cv_ld_exported_symbols_list=yes
7674 lt_cv_ld_exported_symbols_list=no
7676 rm -f core conftest.err conftest.$ac_objext \
7677 conftest$ac_exeext conftest.$ac_ext
7678 LDFLAGS=$save_LDFLAGS
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7682 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7685 $as_echo_n "checking for -force_load linker flag... " >&6; }
7686 if ${lt_cv_ld_force_load+:} false; then :
7687 $as_echo_n "(cached) " >&6
7689 lt_cv_ld_force_load=no
7690 cat > conftest.c << _LT_EOF
7691 int forced_loaded() { return 2;}
7693 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7694 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7695 echo "$AR cru libconftest.a conftest.o" >&5
7696 $AR cru libconftest.a conftest.o 2>&5
7697 echo "$RANLIB libconftest.a" >&5
7698 $RANLIB libconftest.a 2>&5
7699 cat > conftest.c << _LT_EOF
7700 int main() { return 0;}
7702 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7703 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7705 if test -s conftest.err && $GREP force_load conftest.err; then
7706 cat conftest.err >&5
7707 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7708 lt_cv_ld_force_load=yes
7710 cat conftest.err >&5
7712 rm -f conftest.err libconftest.a conftest conftest.c
7713 rm -rf conftest.dSYM
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7717 $as_echo "$lt_cv_ld_force_load" >&6; }
7719 rhapsody* | darwin1.[012])
7720 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7722 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7723 darwin*) # darwin 5.x on
7724 # if running on 10.5 or later, the deployment target defaults
7725 # to the OS version, if on x86, and 10.4, the deployment
7726 # target defaults to 10.4. Don't you love it?
7727 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7728 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7729 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7731 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7733 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7737 if test yes = "$lt_cv_apple_cc_single_mod"; then
7738 _lt_dar_single_mod='$single_module'
7740 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7741 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7743 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7745 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7746 _lt_dsymutil='~$DSYMUTIL $lib || :'
7753 # func_munge_path_list VARIABLE PATH
7754 # -----------------------------------
7755 # VARIABLE is name of variable containing _space_ separated list of
7756 # directories to be munged by the contents of PATH, which is string
7759 # string "DIR[ DIR]" will be prepended to VARIABLE
7761 # string "DIR[ DIR]" will be appended to VARIABLE
7762 # "DIRP[:DIRP]::[DIRA:]DIRA"
7763 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7764 # "DIRA[ DIRA]" will be appended to VARIABLE
7766 # VARIABLE will be replaced by "DIR[ DIR]"
7767 func_munge_path_list ()
7773 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7776 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7779 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7780 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7783 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7789 ac_cpp='$CPP $CPPFLAGS'
7790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7794 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7795 # On Suns, sometimes $CPP names a directory.
7796 if test -n "$CPP" && test -d "$CPP"; then
7799 if test -z "$CPP"; then
7800 if ${ac_cv_prog_CPP+:} false; then :
7801 $as_echo_n "(cached) " >&6
7803 # Double quotes because CPP needs to be expanded
7804 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7807 for ac_c_preproc_warn_flag in '' yes
7809 # Use a header file that comes with gcc, so configuring glibc
7810 # with a fresh cross-compiler works.
7811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7812 # <limits.h> exists even on freestanding compilers.
7813 # On the NeXT, cc -E runs the code through the compiler's parser,
7814 # not just through cpp. "Syntax error" is here to catch this case.
7815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h. */
7818 # include <limits.h>
7820 # include <assert.h>
7824 if ac_fn_c_try_cpp "$LINENO"; then :
7827 # Broken: fails on valid input.
7830 rm -f conftest.err conftest.i conftest.$ac_ext
7832 # OK, works on sane cases. Now check whether nonexistent headers
7833 # can be detected and how.
7834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 #include <ac_nonexistent.h>
7838 if ac_fn_c_try_cpp "$LINENO"; then :
7839 # Broken: success on invalid input.
7842 # Passes both tests.
7846 rm -f conftest.err conftest.i conftest.$ac_ext
7849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7850 rm -f conftest.i conftest.err conftest.$ac_ext
7851 if $ac_preproc_ok; then :
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7864 $as_echo "$CPP" >&6; }
7866 for ac_c_preproc_warn_flag in '' yes
7868 # Use a header file that comes with gcc, so configuring glibc
7869 # with a fresh cross-compiler works.
7870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7871 # <limits.h> exists even on freestanding compilers.
7872 # On the NeXT, cc -E runs the code through the compiler's parser,
7873 # not just through cpp. "Syntax error" is here to catch this case.
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7877 # include <limits.h>
7879 # include <assert.h>
7883 if ac_fn_c_try_cpp "$LINENO"; then :
7886 # Broken: fails on valid input.
7889 rm -f conftest.err conftest.i conftest.$ac_ext
7891 # OK, works on sane cases. Now check whether nonexistent headers
7892 # can be detected and how.
7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7895 #include <ac_nonexistent.h>
7897 if ac_fn_c_try_cpp "$LINENO"; then :
7898 # Broken: success on invalid input.
7901 # Passes both tests.
7905 rm -f conftest.err conftest.i conftest.$ac_ext
7908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7909 rm -f conftest.i conftest.err conftest.$ac_ext
7910 if $ac_preproc_ok; then :
7913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7915 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7916 See \`config.log' for more details" "$LINENO" 5; }
7920 ac_cpp='$CPP $CPPFLAGS'
7921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7927 $as_echo_n "checking for ANSI C header files... " >&6; }
7928 if ${ac_cv_header_stdc+:} false; then :
7929 $as_echo_n "(cached) " >&6
7931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7946 if ac_fn_c_try_compile "$LINENO"; then :
7947 ac_cv_header_stdc=yes
7949 ac_cv_header_stdc=no
7951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7953 if test $ac_cv_header_stdc = yes; then
7954 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7961 $EGREP "memchr" >/dev/null 2>&1; then :
7964 ac_cv_header_stdc=no
7970 if test $ac_cv_header_stdc = yes; then
7971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7978 $EGREP "free" >/dev/null 2>&1; then :
7981 ac_cv_header_stdc=no
7987 if test $ac_cv_header_stdc = yes; then
7988 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7989 if test "$cross_compiling" = yes; then :
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7996 #if ((' ' & 0x0FF) == 0x020)
7997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8000 # define ISLOWER(c) \
8001 (('a' <= (c) && (c) <= 'i') \
8002 || ('j' <= (c) && (c) <= 'r') \
8003 || ('s' <= (c) && (c) <= 'z'))
8004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8012 for (i = 0; i < 256; i++)
8013 if (XOR (islower (i), ISLOWER (i))
8014 || toupper (i) != TOUPPER (i))
8019 if ac_fn_c_try_run "$LINENO"; then :
8022 ac_cv_header_stdc=no
8024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8025 conftest.$ac_objext conftest.beam conftest.$ac_ext
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8031 $as_echo "$ac_cv_header_stdc" >&6; }
8032 if test $ac_cv_header_stdc = yes; then
8034 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8038 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8039 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8040 inttypes.h stdint.h unistd.h
8042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8043 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8046 cat >>confdefs.h <<_ACEOF
8047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8055 for ac_header in dlfcn.h
8057 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8059 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8060 cat >>confdefs.h <<_ACEOF
8061 #define HAVE_DLFCN_H 1
8073 # Check whether --enable-static was given.
8074 if test "${enable_static+set}" = set; then :
8075 enableval=$enable_static; p=${PACKAGE-default}
8077 yes) enable_static=yes ;;
8078 no) enable_static=no ;;
8081 # Look at the argument we got. We use all the common list separators.
8082 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8083 for pkg in $enableval; do
8085 if test "X$pkg" = "X$p"; then
8111 # Check whether --enable-shared was given.
8112 if test "${enable_shared+set}" = set; then :
8113 enableval=$enable_shared; p=${PACKAGE-default}
8115 yes) enable_shared=yes ;;
8116 no) enable_shared=no ;;
8119 # Look at the argument we got. We use all the common list separators.
8120 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8121 for pkg in $enableval; do
8123 if test "X$pkg" = "X$p"; then
8144 # Check whether --with-pic was given.
8145 if test "${with_pic+set}" = set; then :
8146 withval=$with_pic; lt_p=${PACKAGE-default}
8148 yes|no) pic_mode=$withval ;;
8151 # Look at the argument we got. We use all the common list separators.
8152 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8153 for lt_pkg in $withval; do
8155 if test "X$lt_pkg" = "X$lt_p"; then
8173 # Check whether --enable-fast-install was given.
8174 if test "${enable_fast_install+set}" = set; then :
8175 enableval=$enable_fast_install; p=${PACKAGE-default}
8177 yes) enable_fast_install=yes ;;
8178 no) enable_fast_install=no ;;
8180 enable_fast_install=no
8181 # Look at the argument we got. We use all the common list separators.
8182 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8183 for pkg in $enableval; do
8185 if test "X$pkg" = "X$p"; then
8186 enable_fast_install=yes
8193 enable_fast_install=yes
8203 shared_archive_member_spec=
8204 case $host,$enable_shared in
8205 power*-*-aix[5-9]*,yes)
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8207 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8209 # Check whether --with-aix-soname was given.
8210 if test "${with_aix_soname+set}" = set; then :
8211 withval=$with_aix_soname; case $withval in
8215 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8218 lt_cv_with_aix_soname=$with_aix_soname
8220 if ${lt_cv_with_aix_soname+:} false; then :
8221 $as_echo_n "(cached) " >&6
8223 lt_cv_with_aix_soname=aix
8226 with_aix_soname=$lt_cv_with_aix_soname
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8230 $as_echo "$with_aix_soname" >&6; }
8231 if test aix != "$with_aix_soname"; then
8232 # For the AIX way of multilib, we name the shared archive member
8233 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8234 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8235 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8236 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8237 if test 64 = "${OBJECT_MODE-32}"; then
8238 shared_archive_member_spec=shr_64
8240 shared_archive_member_spec=shr
8258 # This can be used to rebuild libtool when needed
8259 LIBTOOL_DEPS=$ltmain
8261 # Always use our own libtool.
8262 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8293 test -z "$LN_S" && LN_S="ln -s"
8308 if test -n "${ZSH_VERSION+set}"; then
8309 setopt NO_GLOB_SUBST
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8313 $as_echo_n "checking for objdir... " >&6; }
8314 if ${lt_cv_objdir+:} false; then :
8315 $as_echo_n "(cached) " >&6
8317 rm -f .libs 2>/dev/null
8318 mkdir .libs 2>/dev/null
8319 if test -d .libs; then
8322 # MS-DOS does not allow filenames that begin with a dot.
8325 rmdir .libs 2>/dev/null
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8328 $as_echo "$lt_cv_objdir" >&6; }
8329 objdir=$lt_cv_objdir
8335 cat >>confdefs.h <<_ACEOF
8336 #define LT_OBJDIR "$lt_cv_objdir/"
8344 # AIX sometimes has problems with the GCC collect2 program. For some
8345 # reason, if we set the COLLECT_NAMES environment variable, the problems
8346 # vanish in a puff of smoke.
8347 if test set != "${COLLECT_NAMES+set}"; then
8349 export COLLECT_NAMES
8356 can_build_shared=yes
8358 # All known linkers require a '.a' archive for static linking (except MSVC,
8359 # which needs '.lib').
8362 with_gnu_ld=$lt_cv_prog_gnu_ld
8367 # Set sane defaults for various variables
8368 test -z "$CC" && CC=cc
8369 test -z "$LTCC" && LTCC=$CC
8370 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8371 test -z "$LD" && LD=ld
8372 test -z "$ac_objext" && ac_objext=o
8374 func_cc_basename $compiler
8375 cc_basename=$func_cc_basename_result
8378 # Only perform the check for file, if the check method requires it
8379 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8380 case $deplibs_check_method in
8382 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8384 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8385 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8386 $as_echo_n "(cached) " >&6
8390 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8393 lt_save_MAGIC_CMD=$MAGIC_CMD
8394 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8395 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8396 for ac_dir in $ac_dummy; do
8398 test -z "$ac_dir" && ac_dir=.
8399 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8400 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8401 if test -n "$file_magic_test_file"; then
8402 case $deplibs_check_method in
8404 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8405 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8406 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8407 $EGREP "$file_magic_regex" > /dev/null; then
8412 *** Warning: the command libtool uses to detect shared libraries,
8413 *** $file_magic_cmd, produces output that libtool cannot recognize.
8414 *** The result is that libtool may fail to recognize shared libraries
8415 *** as such. This will affect the creation of libtool libraries that
8416 *** depend on shared libraries, but programs linked with such libtool
8417 *** libraries will work regardless of this problem. Nevertheless, you
8418 *** may want to report the problem to your system manager and/or to
8419 *** bug-libtool@gnu.org
8429 MAGIC_CMD=$lt_save_MAGIC_CMD
8434 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8435 if test -n "$MAGIC_CMD"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8437 $as_echo "$MAGIC_CMD" >&6; }
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440 $as_echo "no" >&6; }
8447 if test -z "$lt_cv_path_MAGIC_CMD"; then
8448 if test -n "$ac_tool_prefix"; then
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8450 $as_echo_n "checking for file... " >&6; }
8451 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8452 $as_echo_n "(cached) " >&6
8456 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8459 lt_save_MAGIC_CMD=$MAGIC_CMD
8460 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8461 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8462 for ac_dir in $ac_dummy; do
8464 test -z "$ac_dir" && ac_dir=.
8465 if test -f "$ac_dir/file"; then
8466 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8467 if test -n "$file_magic_test_file"; then
8468 case $deplibs_check_method in
8470 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8471 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8472 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8473 $EGREP "$file_magic_regex" > /dev/null; then
8478 *** Warning: the command libtool uses to detect shared libraries,
8479 *** $file_magic_cmd, produces output that libtool cannot recognize.
8480 *** The result is that libtool may fail to recognize shared libraries
8481 *** as such. This will affect the creation of libtool libraries that
8482 *** depend on shared libraries, but programs linked with such libtool
8483 *** libraries will work regardless of this problem. Nevertheless, you
8484 *** may want to report the problem to your system manager and/or to
8485 *** bug-libtool@gnu.org
8495 MAGIC_CMD=$lt_save_MAGIC_CMD
8500 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8501 if test -n "$MAGIC_CMD"; then
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8503 $as_echo "$MAGIC_CMD" >&6; }
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8506 $as_echo "no" >&6; }
8519 # Use C for the default configuration in the libtool script
8523 ac_cpp='$CPP $CPPFLAGS'
8524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8529 # Source file extension for C test sources.
8532 # Object file extension for compiled C test sources.
8536 # Code to be used in simple compile tests
8537 lt_simple_compile_test_code="int some_variable = 0;"
8539 # Code to be used in simple link tests
8540 lt_simple_link_test_code='int main(){return(0);}'
8548 # If no C compiler was specified, use CC.
8551 # If no C compiler flags were specified, use CFLAGS.
8552 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8554 # Allow CC to be a program name with arguments.
8557 # Save the default compiler, since it gets overwritten when the other
8558 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8559 compiler_DEFAULT=$CC
8561 # save warnings/boilerplate of simple test code
8562 ac_outfile=conftest.$ac_objext
8563 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8564 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8565 _lt_compiler_boilerplate=`cat conftest.err`
8568 ac_outfile=conftest.$ac_objext
8569 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8570 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8571 _lt_linker_boilerplate=`cat conftest.err`
8576 ## There is no encapsulation within the following macros, do not change
8577 ## the running order or otherwise move them around unless you know exactly
8578 ## what you are doing...
8579 if test -n "$compiler"; then
8581 lt_prog_compiler_no_builtin_flag=
8583 if test yes = "$GCC"; then
8584 case $cc_basename in
8586 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8588 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8592 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8593 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8594 $as_echo_n "(cached) " >&6
8596 lt_cv_prog_compiler_rtti_exceptions=no
8597 ac_outfile=conftest.$ac_objext
8598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8599 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8600 # Insert the option either (1) after the last *FLAGS variable, or
8601 # (2) before a word containing "conftest.", or (3) at the end.
8602 # Note that $ac_compile itself does not contain backslashes and begins
8603 # with a dollar sign (not a hyphen), so the echo should work correctly.
8604 # The option is referenced via a variable to avoid confusing sed.
8605 lt_compile=`echo "$ac_compile" | $SED \
8606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8608 -e 's:$: $lt_compiler_flag:'`
8609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8610 (eval "$lt_compile" 2>conftest.err)
8612 cat conftest.err >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 if (exit $ac_status) && test -s "$ac_outfile"; then
8615 # The compiler can only warn and ignore the option if not recognized
8616 # So say no if there are warnings other than the usual output.
8617 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8618 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8619 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8620 lt_cv_prog_compiler_rtti_exceptions=yes
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8627 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8629 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8630 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8642 lt_prog_compiler_wl=
8643 lt_prog_compiler_pic=
8644 lt_prog_compiler_static=
8647 if test yes = "$GCC"; then
8648 lt_prog_compiler_wl='-Wl,'
8649 lt_prog_compiler_static='-static'
8653 # All AIX code is PIC.
8654 if test ia64 = "$host_cpu"; then
8655 # AIX 5 now supports IA64 processor
8656 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_pic='-fPIC'
8664 # see comment about AmigaOS4 .so support
8665 lt_prog_compiler_pic='-fPIC'
8668 # FIXME: we need at least 68020 code to build shared libraries, but
8669 # adding the '-m68020' flag to GCC prevents building anything better,
8671 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8676 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8677 # PIC is the default for these OSes.
8680 mingw* | cygwin* | pw32* | os2* | cegcc*)
8681 # This hack is so that the source file can tell whether it is being
8682 # built for inclusion in a dll (and should export symbols for example).
8683 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8684 # (--disable-auto-import) libraries
8685 lt_prog_compiler_pic='-DDLL_EXPORT'
8688 lt_prog_compiler_static='$wl-static'
8693 darwin* | rhapsody*)
8694 # PIC is the default on this platform
8695 # Common symbols not allowed in MH_DYLIB files
8696 lt_prog_compiler_pic='-fno-common'
8700 # PIC is the default for Haiku.
8701 # The "-static" flag exists, but is broken.
8702 lt_prog_compiler_static=
8706 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8707 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8708 # sets the default TLS model and affects inlining.
8714 lt_prog_compiler_pic='-fPIC'
8720 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8721 # Instead, we relocate shared libraries at runtime.
8725 # Just because we use GCC doesn't mean we suddenly get shared libraries
8726 # on systems that don't support them.
8727 lt_prog_compiler_can_build_shared=no
8732 # QNX uses GNU C++, but need to define -shared option too, otherwise
8734 lt_prog_compiler_pic='-fPIC -shared'
8738 if test -d /usr/nec; then
8739 lt_prog_compiler_pic=-Kconform_pic
8744 lt_prog_compiler_pic='-fPIC'
8748 case $cc_basename in
8749 nvcc*) # Cuda Compiler Driver 2.2
8750 lt_prog_compiler_wl='-Xlinker '
8751 if test -n "$lt_prog_compiler_pic"; then
8752 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8757 # PORTME Check for flag to pass linker flags through the system compiler.
8760 lt_prog_compiler_wl='-Wl,'
8761 if test ia64 = "$host_cpu"; then
8762 # AIX 5 now supports IA64 processor
8763 lt_prog_compiler_static='-Bstatic'
8765 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8769 darwin* | rhapsody*)
8770 # PIC is the default on this platform
8771 # Common symbols not allowed in MH_DYLIB files
8772 lt_prog_compiler_pic='-fno-common'
8773 case $cc_basename in
8775 # NAG Fortran compiler
8776 lt_prog_compiler_wl='-Wl,-Wl,,'
8777 lt_prog_compiler_pic='-PIC'
8778 lt_prog_compiler_static='-Bstatic'
8783 mingw* | cygwin* | pw32* | os2* | cegcc*)
8784 # This hack is so that the source file can tell whether it is being
8785 # built for inclusion in a dll (and should export symbols for example).
8786 lt_prog_compiler_pic='-DDLL_EXPORT'
8789 lt_prog_compiler_static='$wl-static'
8794 hpux9* | hpux10* | hpux11*)
8795 lt_prog_compiler_wl='-Wl,'
8796 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8803 lt_prog_compiler_pic='+Z'
8806 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8807 lt_prog_compiler_static='$wl-a ${wl}archive'
8810 irix5* | irix6* | nonstopux*)
8811 lt_prog_compiler_wl='-Wl,'
8812 # PIC (with -KPIC) is the default.
8813 lt_prog_compiler_static='-non_shared'
8816 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8817 case $cc_basename in
8818 # old Intel for x86_64, which still supported -KPIC.
8820 lt_prog_compiler_wl='-Wl,'
8821 lt_prog_compiler_pic='-KPIC'
8822 lt_prog_compiler_static='-static'
8824 # icc used to be incompatible with GCC.
8825 # ICC 10 doesn't accept -KPIC any more.
8827 lt_prog_compiler_wl='-Wl,'
8828 lt_prog_compiler_pic='-fPIC'
8829 lt_prog_compiler_static='-static'
8831 # Lahey Fortran 8.1.
8833 lt_prog_compiler_wl='-Wl,'
8834 lt_prog_compiler_pic='--shared'
8835 lt_prog_compiler_static='--static'
8838 # NAG Fortran compiler
8839 lt_prog_compiler_wl='-Wl,-Wl,,'
8840 lt_prog_compiler_pic='-PIC'
8841 lt_prog_compiler_static='-Bstatic'
8844 # Fabrice Bellard et al's Tiny C Compiler
8845 lt_prog_compiler_wl='-Wl,'
8846 lt_prog_compiler_pic='-fPIC'
8847 lt_prog_compiler_static='-static'
8849 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8850 # Portland Group compilers (*not* the Pentium gcc compiler,
8851 # which looks to be a dead project)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-fpic'
8854 lt_prog_compiler_static='-Bstatic'
8857 lt_prog_compiler_wl='-Wl,'
8858 # All Alpha code is PIC.
8859 lt_prog_compiler_static='-non_shared'
8861 xl* | bgxl* | bgf* | mpixl*)
8862 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8863 lt_prog_compiler_wl='-Wl,'
8864 lt_prog_compiler_pic='-qpic'
8865 lt_prog_compiler_static='-qstaticlink'
8868 case `$CC -V 2>&1 | sed 5q` in
8869 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8870 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8871 lt_prog_compiler_pic='-KPIC'
8872 lt_prog_compiler_static='-Bstatic'
8873 lt_prog_compiler_wl=''
8875 *Sun\ F* | *Sun*Fortran*)
8876 lt_prog_compiler_pic='-KPIC'
8877 lt_prog_compiler_static='-Bstatic'
8878 lt_prog_compiler_wl='-Qoption ld '
8882 lt_prog_compiler_pic='-KPIC'
8883 lt_prog_compiler_static='-Bstatic'
8884 lt_prog_compiler_wl='-Wl,'
8886 *Intel*\ [CF]*Compiler*)
8887 lt_prog_compiler_wl='-Wl,'
8888 lt_prog_compiler_pic='-fPIC'
8889 lt_prog_compiler_static='-static'
8892 lt_prog_compiler_wl='-Wl,'
8893 lt_prog_compiler_pic='-fpic'
8894 lt_prog_compiler_static='-Bstatic'
8902 lt_prog_compiler_pic='-KPIC'
8903 lt_prog_compiler_static='-Bstatic'
8907 # QNX uses GNU C++, but need to define -shared option too, otherwise
8909 lt_prog_compiler_pic='-fPIC -shared'
8912 osf3* | osf4* | osf5*)
8913 lt_prog_compiler_wl='-Wl,'
8914 # All OSF/1 code is PIC.
8915 lt_prog_compiler_static='-non_shared'
8919 lt_prog_compiler_static='-non_shared'
8923 lt_prog_compiler_pic='-KPIC'
8924 lt_prog_compiler_static='-Bstatic'
8925 case $cc_basename in
8926 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8927 lt_prog_compiler_wl='-Qoption ld ';;
8929 lt_prog_compiler_wl='-Wl,';;
8934 lt_prog_compiler_wl='-Qoption ld '
8935 lt_prog_compiler_pic='-PIC'
8936 lt_prog_compiler_static='-Bstatic'
8939 sysv4 | sysv4.2uw2* | sysv4.3*)
8940 lt_prog_compiler_wl='-Wl,'
8941 lt_prog_compiler_pic='-KPIC'
8942 lt_prog_compiler_static='-Bstatic'
8946 if test -d /usr/nec; then
8947 lt_prog_compiler_pic='-Kconform_pic'
8948 lt_prog_compiler_static='-Bstatic'
8952 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8953 lt_prog_compiler_wl='-Wl,'
8954 lt_prog_compiler_pic='-KPIC'
8955 lt_prog_compiler_static='-Bstatic'
8959 lt_prog_compiler_wl='-Wl,'
8960 lt_prog_compiler_can_build_shared=no
8964 lt_prog_compiler_pic='-pic'
8965 lt_prog_compiler_static='-Bstatic'
8969 lt_prog_compiler_can_build_shared=no
8975 # For platforms that do not support PIC, -DPIC is meaningless:
8977 lt_prog_compiler_pic=
8980 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8985 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8986 if ${lt_cv_prog_compiler_pic+:} false; then :
8987 $as_echo_n "(cached) " >&6
8989 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8992 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8993 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8996 # Check to make sure the PIC flag actually works.
8998 if test -n "$lt_prog_compiler_pic"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9000 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9001 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9002 $as_echo_n "(cached) " >&6
9004 lt_cv_prog_compiler_pic_works=no
9005 ac_outfile=conftest.$ac_objext
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9007 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9008 # Insert the option either (1) after the last *FLAGS variable, or
9009 # (2) before a word containing "conftest.", or (3) at the end.
9010 # Note that $ac_compile itself does not contain backslashes and begins
9011 # with a dollar sign (not a hyphen), so the echo should work correctly.
9012 # The option is referenced via a variable to avoid confusing sed.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>conftest.err)
9020 cat conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s "$ac_outfile"; then
9023 # The compiler can only warn and ignore the option if not recognized
9024 # So say no if there are warnings other than the usual output.
9025 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9026 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9027 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9028 lt_cv_prog_compiler_pic_works=yes
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9035 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9037 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9038 case $lt_prog_compiler_pic in
9040 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9043 lt_prog_compiler_pic=
9044 lt_prog_compiler_can_build_shared=no
9060 # Check to make sure the static flag actually works.
9062 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9064 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9065 if ${lt_cv_prog_compiler_static_works+:} false; then :
9066 $as_echo_n "(cached) " >&6
9068 lt_cv_prog_compiler_static_works=no
9069 save_LDFLAGS=$LDFLAGS
9070 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9071 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9072 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9073 # The linker can only warn and ignore the option if not recognized
9074 # So say no if there are warnings
9075 if test -s conftest.err; then
9076 # Append any errors to the config.log.
9077 cat conftest.err 1>&5
9078 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9079 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9080 if diff conftest.exp conftest.er2 >/dev/null; then
9081 lt_cv_prog_compiler_static_works=yes
9084 lt_cv_prog_compiler_static_works=yes
9088 LDFLAGS=$save_LDFLAGS
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9092 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9094 if test yes = "$lt_cv_prog_compiler_static_works"; then
9097 lt_prog_compiler_static=
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9107 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9108 if ${lt_cv_prog_compiler_c_o+:} false; then :
9109 $as_echo_n "(cached) " >&6
9111 lt_cv_prog_compiler_c_o=no
9112 $RM -r conftest 2>/dev/null
9116 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9118 lt_compiler_flag="-o out/conftest2.$ac_objext"
9119 # Insert the option either (1) after the last *FLAGS variable, or
9120 # (2) before a word containing "conftest.", or (3) at the end.
9121 # Note that $ac_compile itself does not contain backslashes and begins
9122 # with a dollar sign (not a hyphen), so the echo should work correctly.
9123 lt_compile=`echo "$ac_compile" | $SED \
9124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9126 -e 's:$: $lt_compiler_flag:'`
9127 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9128 (eval "$lt_compile" 2>out/conftest.err)
9130 cat out/conftest.err >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9134 # The compiler can only warn and ignore the option if not recognized
9135 # So say no if there are warnings
9136 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9137 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9138 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9139 lt_cv_prog_compiler_c_o=yes
9144 # SGI C++ compiler will create directory out/ii_files/ for
9145 # template instantiation
9146 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9147 $RM out/* && rmdir out
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9154 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9162 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9163 if ${lt_cv_prog_compiler_c_o+:} false; then :
9164 $as_echo_n "(cached) " >&6
9166 lt_cv_prog_compiler_c_o=no
9167 $RM -r conftest 2>/dev/null
9171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9173 lt_compiler_flag="-o out/conftest2.$ac_objext"
9174 # Insert the option either (1) after the last *FLAGS variable, or
9175 # (2) before a word containing "conftest.", or (3) at the end.
9176 # Note that $ac_compile itself does not contain backslashes and begins
9177 # with a dollar sign (not a hyphen), so the echo should work correctly.
9178 lt_compile=`echo "$ac_compile" | $SED \
9179 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9181 -e 's:$: $lt_compiler_flag:'`
9182 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9183 (eval "$lt_compile" 2>out/conftest.err)
9185 cat out/conftest.err >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9189 # The compiler can only warn and ignore the option if not recognized
9190 # So say no if there are warnings
9191 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9192 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9193 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9194 lt_cv_prog_compiler_c_o=yes
9199 # SGI C++ compiler will create directory out/ii_files/ for
9200 # template instantiation
9201 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9202 $RM out/* && rmdir out
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9209 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9214 hard_links=nottested
9215 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9216 # do not overwrite the value of need_locks provided by the user
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9218 $as_echo_n "checking if we can lock with hard links... " >&6; }
9221 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9223 ln conftest.a conftest.b 2>&5 || hard_links=no
9224 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9226 $as_echo "$hard_links" >&6; }
9227 if test no = "$hard_links"; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9229 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9242 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9245 allow_undefined_flag=
9246 always_export_symbols=no
9248 archive_expsym_cmds=
9249 compiler_needs_object=no
9250 enable_shared_with_static_runtimes=no
9251 export_dynamic_flag_spec=
9252 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9253 hardcode_automatic=no
9255 hardcode_direct_absolute=no
9256 hardcode_libdir_flag_spec=
9257 hardcode_libdir_separator=
9259 hardcode_shlibpath_var=unsupported
9261 link_all_deplibs=unknown
9264 old_archive_from_new_cmds=
9265 old_archive_from_expsyms_cmds=
9266 thread_safe_flag_spec=
9267 whole_archive_flag_spec=
9268 # include_expsyms should be a list of space-separated symbols to be *always*
9269 # included in the symbol list
9271 # exclude_expsyms can be an extended regexp of symbols to exclude
9272 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9273 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9274 # as well as any symbol that contains 'd'.
9275 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9276 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9277 # platforms (ab)use it in PIC code, but their linkers get confused if
9278 # the symbol is explicitly referenced. Since portable code cannot
9279 # rely on this symbol name, it's probably fine to never include it in
9280 # preloaded symbol tables.
9281 # Exclude shared library initialization/finalization symbols.
9282 extract_expsyms_cmds=
9285 cygwin* | mingw* | pw32* | cegcc*)
9286 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9287 # When not using gcc, we currently assume that we are using
9288 # Microsoft Visual C++.
9289 if test yes != "$GCC"; then
9294 # we just hope/assume this is gcc and not c89 (= MSVC++)
9304 # On some targets, GNU ld is compatible enough with the native linker
9305 # that we're better off using the native interface for both.
9306 lt_use_gnu_ld_interface=no
9307 if test yes = "$with_gnu_ld"; then
9310 # The AIX port of GNU ld has always aspired to compatibility
9311 # with the native linker. However, as the warning in the GNU ld
9312 # block says, versions before 2.19.5* couldn't really create working
9313 # shared libraries, regardless of the interface used.
9314 case `$LD -v 2>&1` in
9315 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9316 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9317 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9319 lt_use_gnu_ld_interface=yes
9324 lt_use_gnu_ld_interface=yes
9329 if test yes = "$lt_use_gnu_ld_interface"; then
9330 # If archive_cmds runs LD, not CC, wlarc should be empty
9333 # Set some defaults for GNU ld with shared library support. These
9334 # are reset later if shared libraries are not supported. Putting them
9335 # here allows them to be overridden if necessary.
9336 runpath_var=LD_RUN_PATH
9337 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9338 export_dynamic_flag_spec='$wl--export-dynamic'
9339 # ancient GNU ld didn't support --whole-archive et. al.
9340 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9341 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9343 whole_archive_flag_spec=
9345 supports_anon_versioning=no
9346 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9347 *GNU\ gold*) supports_anon_versioning=yes ;;
9348 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9349 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9350 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9351 *\ 2.11.*) ;; # other 2.11 versions
9352 *) supports_anon_versioning=yes ;;
9355 # See if GNU ld supports shared libraries.
9358 # On AIX/PPC, the GNU linker is very broken
9359 if test ia64 != "$host_cpu"; then
9363 *** Warning: the GNU linker, at least up to release 2.19, is reported
9364 *** to be unable to reliably create shared libraries on AIX.
9365 *** Therefore, libtool is disabling shared libraries support. If you
9366 *** really care for shared libraries, you may want to install binutils
9367 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9368 *** You will then need to restart the configuration process.
9377 # see comment about AmigaOS4 .so support
9378 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9379 archive_expsym_cmds=''
9382 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)'
9383 hardcode_libdir_flag_spec='-L$libdir'
9384 hardcode_minus_L=yes
9390 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9391 allow_undefined_flag=unsupported
9392 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9393 # support --undefined. This deserves some investigation. FIXME
9394 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9400 cygwin* | mingw* | pw32* | cegcc*)
9401 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9402 # as there is no search path for DLLs.
9403 hardcode_libdir_flag_spec='-L$libdir'
9404 export_dynamic_flag_spec='$wl--export-all-symbols'
9405 allow_undefined_flag=unsupported
9406 always_export_symbols=no
9407 enable_shared_with_static_runtimes=yes
9408 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'
9409 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9411 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9412 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9413 # If the export-symbols file already is a .def file, use it as
9414 # is; otherwise, prepend EXPORTS...
9415 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9416 cp $export_symbols $output_objdir/$soname.def;
9418 echo EXPORTS > $output_objdir/$soname.def;
9419 cat $export_symbols >> $output_objdir/$soname.def;
9421 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9429 link_all_deplibs=yes
9433 hardcode_libdir_flag_spec='-L$libdir'
9434 hardcode_minus_L=yes
9435 allow_undefined_flag=unsupported
9437 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9438 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9439 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9440 $ECHO EXPORTS >> $output_objdir/$libname.def~
9441 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9442 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9443 emximp -o $lib $output_objdir/$libname.def'
9444 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9445 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9446 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9447 $ECHO EXPORTS >> $output_objdir/$libname.def~
9449 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9450 prefix_cmds="$prefix_cmds -e 1d";
9452 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9453 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9454 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9455 emximp -o $lib $output_objdir/$libname.def'
9456 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9457 enable_shared_with_static_runtimes=yes
9462 hardcode_shlibpath_var=no
9463 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9464 export_dynamic_flag_spec='$wl-E'
9465 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9466 # Instead, shared libraries are loaded at an image base (0x10000000 by
9467 # default) and relocated if they conflict, which is a slow very memory
9468 # consuming and fragmenting process. To avoid this, we pick a random,
9469 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9470 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9471 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9472 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'
9475 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9477 if test linux-dietlibc = "$host_os"; then
9478 case $cc_basename in
9479 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9482 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9483 && test no = "$tmp_diet"
9485 tmp_addflag=' $pic_flag'
9486 tmp_sharedflag='-shared'
9487 case $cc_basename,$host_cpu in
9488 pgcc*) # Portland Group C compiler
9489 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'
9490 tmp_addflag=' $pic_flag'
9492 pgf77* | pgf90* | pgf95* | pgfortran*)
9493 # Portland Group f77 and f90 compilers
9494 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'
9495 tmp_addflag=' $pic_flag -Mnomain' ;;
9496 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9497 tmp_addflag=' -i_dynamic' ;;
9498 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9499 tmp_addflag=' -i_dynamic -nofor_main' ;;
9500 ifc* | ifort*) # Intel Fortran compiler
9501 tmp_addflag=' -nofor_main' ;;
9502 lf95*) # Lahey Fortran 8.1
9503 whole_archive_flag_spec=
9504 tmp_sharedflag='--shared' ;;
9505 nagfor*) # NAGFOR 5.3
9506 tmp_sharedflag='-Wl,-shared' ;;
9507 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9508 tmp_sharedflag='-qmkshrobj'
9510 nvcc*) # Cuda Compiler Driver 2.2
9511 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'
9512 compiler_needs_object=yes
9515 case `$CC -V 2>&1 | sed 5q` in
9516 *Sun\ C*) # Sun C 5.9
9517 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'
9518 compiler_needs_object=yes
9519 tmp_sharedflag='-G' ;;
9520 *Sun\ F*) # Sun Fortran 8.3
9521 tmp_sharedflag='-G' ;;
9523 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9525 if test yes = "$supports_anon_versioning"; then
9526 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9527 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9528 echo "local: *; };" >> $output_objdir/$libname.ver~
9529 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9532 case $cc_basename in
9534 export_dynamic_flag_spec='-rdynamic'
9536 xlf* | bgf* | bgxlf* | mpixlf*)
9537 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9538 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9539 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9540 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9541 if test yes = "$supports_anon_versioning"; then
9542 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9543 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9544 echo "local: *; };" >> $output_objdir/$libname.ver~
9545 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9555 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9556 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9559 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9560 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9565 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9569 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9570 *** create shared libraries on Solaris systems. Therefore, libtool
9571 *** is disabling shared libraries support. We urge you to upgrade GNU
9572 *** binutils to release 2.9.1 or newer. Another option is to modify
9573 *** your PATH or compiler configuration so that the native linker is
9574 *** used, and then restart.
9577 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9578 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9579 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9585 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9586 case `$LD -v 2>&1` in
9587 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9591 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9592 *** reliably create shared libraries on SCO systems. Therefore, libtool
9593 *** is disabling shared libraries support. We urge you to upgrade GNU
9594 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9595 *** your PATH or compiler configuration so that the native linker is
9596 *** used, and then restart.
9601 # For security reasons, it is highly recommended that you always
9602 # use absolute paths for naming shared libraries, and exclude the
9603 # DT_RUNPATH tag from executables and libraries. But doing so
9604 # requires that you compile everything twice, which is a pain.
9605 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9606 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9607 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9608 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9617 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9620 hardcode_shlibpath_var=no
9624 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9625 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9626 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9633 if test no = "$ld_shlibs"; then
9635 hardcode_libdir_flag_spec=
9636 export_dynamic_flag_spec=
9637 whole_archive_flag_spec=
9640 # PORTME fill in a description of your system's linker (not GNU ld)
9643 allow_undefined_flag=unsupported
9644 always_export_symbols=yes
9645 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'
9646 # Note: this linker hardcodes the directories in LIBPATH if there
9647 # are no directories specified by -L.
9648 hardcode_minus_L=yes
9649 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9650 # Neither direct hardcoding nor static linking is supported with a
9652 hardcode_direct=unsupported
9657 if test ia64 = "$host_cpu"; then
9658 # On IA64, the linker does run time linking by default, so we don't
9659 # have to do anything special.
9660 aix_use_runtimelinking=no
9661 exp_sym_flag='-Bexport'
9664 # If we're using GNU nm, then we don't want the "-C" option.
9665 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9666 # Without the "-l" option, or with the "-B" option, AIX nm treats
9667 # weak defined symbols like other global defined symbols, whereas
9668 # GNU nm marks them as "W".
9669 # While the 'weak' keyword is ignored in the Export File, we need
9670 # it in the Import File for the 'aix-soname' feature, so we have
9671 # to replace the "-B" option with "-P" for AIX nm.
9672 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9673 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'
9675 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'
9677 aix_use_runtimelinking=no
9679 # Test if we are trying to use run time linking or normal
9680 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9681 # have runtime linking enabled, and use it for executables.
9682 # For shared libraries, we enable/disable runtime linking
9683 # depending on the kind of the shared library created -
9684 # when "with_aix_soname,aix_use_runtimelinking" is:
9685 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9686 # "aix,yes" lib.so shared, rtl:yes, for executables
9687 # lib.a static archive
9688 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9689 # lib.a(lib.so.V) shared, rtl:no, for executables
9690 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9691 # lib.a(lib.so.V) shared, rtl:no
9692 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9693 # lib.a static archive
9694 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9695 for ld_flag in $LDFLAGS; do
9696 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9697 aix_use_runtimelinking=yes
9701 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9702 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9703 # so we don't have lib.a shared libs to link our executables.
9704 # We have to force runtime linking in this case.
9705 aix_use_runtimelinking=yes
9706 LDFLAGS="$LDFLAGS -Wl,-brtl"
9711 exp_sym_flag='-bexport'
9712 no_entry_flag='-bnoentry'
9715 # When large executables or shared objects are built, AIX ld can
9716 # have problems creating the table of contents. If linking a library
9717 # or program results in "error TOC overflow" add -mminimal-toc to
9718 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9719 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9723 hardcode_direct_absolute=yes
9724 hardcode_libdir_separator=':'
9725 link_all_deplibs=yes
9726 file_list_spec='$wl-f,'
9727 case $with_aix_soname,$aix_use_runtimelinking in
9728 aix,*) ;; # traditional, no import file
9729 svr4,* | *,yes) # use import file
9730 # The Import File defines what to hardcode.
9732 hardcode_direct_absolute=no
9736 if test yes = "$GCC"; then
9737 case $host_os in aix4.[012]|aix4.[012].*)
9738 # We only want to do this on AIX 4.2 and lower, the check
9739 # below for broken collect2 doesn't work under 4.3+
9740 collect2name=`$CC -print-prog-name=collect2`
9741 if test -f "$collect2name" &&
9742 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9744 # We have reworked collect2
9747 # We have old collect2
9748 hardcode_direct=unsupported
9749 # It fails to find uninstalled libraries when the uninstalled
9750 # path is not listed in the libpath. Setting hardcode_minus_L
9751 # to unsupported forces relinking
9752 hardcode_minus_L=yes
9753 hardcode_libdir_flag_spec='-L$libdir'
9754 hardcode_libdir_separator=
9758 shared_flag='-shared'
9759 if test yes = "$aix_use_runtimelinking"; then
9760 shared_flag="$shared_flag "'$wl-G'
9762 # Need to ensure runtime linking is disabled for the traditional
9763 # shared library, or the linker may eventually find shared libraries
9764 # /with/ Import File - we do not want to mix them.
9765 shared_flag_aix='-shared'
9766 shared_flag_svr4='-shared $wl-G'
9769 if test ia64 = "$host_cpu"; then
9770 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9771 # chokes on -Wl,-G. The following line is correct:
9774 if test yes = "$aix_use_runtimelinking"; then
9777 shared_flag='$wl-bM:SRE'
9779 shared_flag_aix='$wl-bM:SRE'
9780 shared_flag_svr4='$wl-G'
9784 export_dynamic_flag_spec='$wl-bexpall'
9785 # It seems that -bexpall does not export symbols beginning with
9786 # underscore (_), so it is better to generate a list of symbols to export.
9787 always_export_symbols=yes
9788 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9789 # Warning - without using the other runtime loading flags (-brtl),
9790 # -berok will link without error, but may produce a broken library.
9791 allow_undefined_flag='-berok'
9792 # Determine the default libpath from the value encoded in an
9794 if test set = "${lt_cv_aix_libpath+set}"; then
9795 aix_libpath=$lt_cv_aix_libpath
9797 if ${lt_cv_aix_libpath_+:} false; then :
9798 $as_echo_n "(cached) " >&6
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9811 if ac_fn_c_try_link "$LINENO"; then :
9813 lt_aix_libpath_sed='
9814 /Import File Strings/,/^$/ {
9816 s/^0 *\([^ ]*\) *$/\1/
9820 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9821 # Check for a 64-bit object if we didn't find anything.
9822 if test -z "$lt_cv_aix_libpath_"; then
9823 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 if test -z "$lt_cv_aix_libpath_"; then
9829 lt_cv_aix_libpath_=/usr/lib:/lib
9834 aix_libpath=$lt_cv_aix_libpath_
9837 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9838 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
9840 if test ia64 = "$host_cpu"; then
9841 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9842 allow_undefined_flag="-z nodefs"
9843 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"
9845 # Determine the default libpath from the value encoded in an
9847 if test set = "${lt_cv_aix_libpath+set}"; then
9848 aix_libpath=$lt_cv_aix_libpath
9850 if ${lt_cv_aix_libpath_+:} false; then :
9851 $as_echo_n "(cached) " >&6
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9864 if ac_fn_c_try_link "$LINENO"; then :
9866 lt_aix_libpath_sed='
9867 /Import File Strings/,/^$/ {
9869 s/^0 *\([^ ]*\) *$/\1/
9873 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9874 # Check for a 64-bit object if we didn't find anything.
9875 if test -z "$lt_cv_aix_libpath_"; then
9876 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9879 rm -f core conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9881 if test -z "$lt_cv_aix_libpath_"; then
9882 lt_cv_aix_libpath_=/usr/lib:/lib
9887 aix_libpath=$lt_cv_aix_libpath_
9890 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9891 # Warning - without using the other run time loading flags,
9892 # -berok will link without error, but may produce a broken library.
9893 no_undefined_flag=' $wl-bernotok'
9894 allow_undefined_flag=' $wl-berok'
9895 if test yes = "$with_gnu_ld"; then
9896 # We only use this code for GNU lds that support --whole-archive.
9897 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9899 # Exported symbols can be pulled into shared objects from archives
9900 whole_archive_flag_spec='$convenience'
9902 archive_cmds_need_lc=yes
9903 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9904 # -brtl affects multiple linker settings, -berok does not and is overridden later
9905 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9906 if test svr4 != "$with_aix_soname"; then
9907 # This is similar to how AIX traditionally builds its shared libraries.
9908 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'
9910 if test aix != "$with_aix_soname"; then
9911 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'
9913 # used by -dlpreopen to get the symbols
9914 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9916 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9924 # see comment about AmigaOS4 .so support
9925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9926 archive_expsym_cmds=''
9929 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)'
9930 hardcode_libdir_flag_spec='-L$libdir'
9931 hardcode_minus_L=yes
9937 export_dynamic_flag_spec=-rdynamic
9940 cygwin* | mingw* | pw32* | cegcc*)
9941 # When not using gcc, we currently assume that we are using
9942 # Microsoft Visual C++.
9943 # hardcode_libdir_flag_spec is actually meaningless, as there is
9944 # no search path for DLLs.
9945 case $cc_basename in
9948 hardcode_libdir_flag_spec=' '
9949 allow_undefined_flag=unsupported
9950 always_export_symbols=yes
9952 # Tell ltmain to make .lib files, not .a files.
9954 # Tell ltmain to make .dll files, not .so files.
9956 # FIXME: Setting linknames here is a bad hack.
9957 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9958 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9959 cp "$export_symbols" "$output_objdir/$soname.def";
9960 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9962 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9964 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9966 # The linker will not automatically build a static lib if we build a DLL.
9967 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9968 enable_shared_with_static_runtimes=yes
9969 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9970 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9972 old_postinstall_cmds='chmod 644 $oldlib'
9973 postlink_cmds='lt_outputfile="@OUTPUT@"~
9974 lt_tool_outputfile="@TOOL_OUTPUT@"~
9975 case $lt_outputfile in
9978 lt_outputfile=$lt_outputfile.exe
9979 lt_tool_outputfile=$lt_tool_outputfile.exe
9982 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9983 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9984 $RM "$lt_outputfile.manifest";
9988 # Assume MSVC wrapper
9989 hardcode_libdir_flag_spec=' '
9990 allow_undefined_flag=unsupported
9991 # Tell ltmain to make .lib files, not .a files.
9993 # Tell ltmain to make .dll files, not .so files.
9995 # FIXME: Setting linknames here is a bad hack.
9996 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9997 # The linker will automatically build a .lib file if we build a DLL.
9998 old_archive_from_new_cmds='true'
9999 # FIXME: Should let the user specify the lib program.
10000 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10001 enable_shared_with_static_runtimes=yes
10006 darwin* | rhapsody*)
10009 archive_cmds_need_lc=no
10011 hardcode_automatic=yes
10012 hardcode_shlibpath_var=unsupported
10013 if test yes = "$lt_cv_ld_force_load"; then
10014 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\"`'
10017 whole_archive_flag_spec=''
10019 link_all_deplibs=yes
10020 allow_undefined_flag=$_lt_dar_allow_undefined
10021 case $cc_basename in
10022 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10023 *) _lt_dar_can_shared=$GCC ;;
10025 if test yes = "$_lt_dar_can_shared"; then
10026 output_verbose_link_cmd=func_echo_all
10027 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10028 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10029 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"
10030 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"
10039 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10040 hardcode_libdir_flag_spec='-L$libdir'
10041 hardcode_shlibpath_var=no
10044 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10045 # support. Future versions do this automatically, but an explicit c++rt0.o
10046 # does not break anything, and helps significantly (at the cost of a little
10049 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10050 hardcode_libdir_flag_spec='-R$libdir'
10051 hardcode_direct=yes
10052 hardcode_shlibpath_var=no
10055 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10057 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10058 hardcode_direct=yes
10059 hardcode_minus_L=yes
10060 hardcode_shlibpath_var=no
10063 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10064 freebsd* | dragonfly*)
10065 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10066 hardcode_libdir_flag_spec='-R$libdir'
10067 hardcode_direct=yes
10068 hardcode_shlibpath_var=no
10072 if test yes = "$GCC"; then
10073 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'
10075 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'
10077 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10078 hardcode_libdir_separator=:
10079 hardcode_direct=yes
10081 # hardcode_minus_L: Not really in the search PATH,
10082 # but as the default location of the library.
10083 hardcode_minus_L=yes
10084 export_dynamic_flag_spec='$wl-E'
10088 if test yes,no = "$GCC,$with_gnu_ld"; then
10089 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10093 if test no = "$with_gnu_ld"; then
10094 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10095 hardcode_libdir_separator=:
10096 hardcode_direct=yes
10097 hardcode_direct_absolute=yes
10098 export_dynamic_flag_spec='$wl-E'
10099 # hardcode_minus_L: Not really in the search PATH,
10100 # but as the default location of the library.
10101 hardcode_minus_L=yes
10106 if test yes,no = "$GCC,$with_gnu_ld"; then
10109 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10115 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10128 # Older versions of the 11.00 compiler do not understand -b yet
10129 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10131 $as_echo_n "checking if $CC understands -b... " >&6; }
10132 if ${lt_cv_prog_compiler__b+:} false; then :
10133 $as_echo_n "(cached) " >&6
10135 lt_cv_prog_compiler__b=no
10136 save_LDFLAGS=$LDFLAGS
10137 LDFLAGS="$LDFLAGS -b"
10138 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10139 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10140 # The linker can only warn and ignore the option if not recognized
10141 # So say no if there are warnings
10142 if test -s conftest.err; then
10143 # Append any errors to the config.log.
10144 cat conftest.err 1>&5
10145 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10147 if diff conftest.exp conftest.er2 >/dev/null; then
10148 lt_cv_prog_compiler__b=yes
10151 lt_cv_prog_compiler__b=yes
10155 LDFLAGS=$save_LDFLAGS
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10159 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10161 if test yes = "$lt_cv_prog_compiler__b"; then
10162 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10164 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10170 if test no = "$with_gnu_ld"; then
10171 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10172 hardcode_libdir_separator=:
10177 hardcode_shlibpath_var=no
10180 hardcode_direct=yes
10181 hardcode_direct_absolute=yes
10182 export_dynamic_flag_spec='$wl-E'
10184 # hardcode_minus_L: Not really in the search PATH,
10185 # but as the default location of the library.
10186 hardcode_minus_L=yes
10192 irix5* | irix6* | nonstopux*)
10193 if test yes = "$GCC"; then
10194 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'
10195 # Try to use the -exported_symbol ld option, if it does not
10196 # work, assume that -exports_file does not work either and
10197 # implicitly export all symbols.
10198 # This should be the same for all languages, so no per-tag cache variable.
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10200 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10201 if ${lt_cv_irix_exported_symbol+:} false; then :
10202 $as_echo_n "(cached) " >&6
10204 save_LDFLAGS=$LDFLAGS
10205 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 int foo (void) { return 0; }
10210 if ac_fn_c_try_link "$LINENO"; then :
10211 lt_cv_irix_exported_symbol=yes
10213 lt_cv_irix_exported_symbol=no
10215 rm -f core conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 LDFLAGS=$save_LDFLAGS
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10220 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10221 if test yes = "$lt_cv_irix_exported_symbol"; then
10222 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'
10225 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'
10226 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'
10228 archive_cmds_need_lc='no'
10229 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10230 hardcode_libdir_separator=:
10232 link_all_deplibs=yes
10236 case $cc_basename in
10238 # Fabrice Bellard et al's Tiny C Compiler
10240 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10246 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10247 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10249 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10251 hardcode_libdir_flag_spec='-R$libdir'
10252 hardcode_direct=yes
10253 hardcode_shlibpath_var=no
10257 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10258 hardcode_direct=yes
10259 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10260 hardcode_libdir_separator=:
10261 hardcode_shlibpath_var=no
10267 openbsd* | bitrig*)
10268 if test -f /usr/libexec/ld.so; then
10269 hardcode_direct=yes
10270 hardcode_shlibpath_var=no
10271 hardcode_direct_absolute=yes
10272 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10273 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10274 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10275 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10276 export_dynamic_flag_spec='$wl-E'
10278 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10279 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10287 hardcode_libdir_flag_spec='-L$libdir'
10288 hardcode_minus_L=yes
10289 allow_undefined_flag=unsupported
10291 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10292 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10293 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10294 $ECHO EXPORTS >> $output_objdir/$libname.def~
10295 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10296 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10297 emximp -o $lib $output_objdir/$libname.def'
10298 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10299 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10300 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10301 $ECHO EXPORTS >> $output_objdir/$libname.def~
10302 prefix_cmds="$SED"~
10303 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10304 prefix_cmds="$prefix_cmds -e 1d";
10306 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10307 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10308 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10309 emximp -o $lib $output_objdir/$libname.def'
10310 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10311 enable_shared_with_static_runtimes=yes
10315 if test yes = "$GCC"; then
10316 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10317 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'
10319 allow_undefined_flag=' -expect_unresolved \*'
10320 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'
10322 archive_cmds_need_lc='no'
10323 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10324 hardcode_libdir_separator=:
10327 osf4* | osf5*) # as osf3* with the addition of -msym flag
10328 if test yes = "$GCC"; then
10329 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10330 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'
10331 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10333 allow_undefined_flag=' -expect_unresolved \*'
10334 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'
10335 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~
10336 $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'
10338 # Both c and cxx compiler support -rpath directly
10339 hardcode_libdir_flag_spec='-rpath $libdir'
10341 archive_cmds_need_lc='no'
10342 hardcode_libdir_separator=:
10346 no_undefined_flag=' -z defs'
10347 if test yes = "$GCC"; then
10349 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10350 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10351 $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'
10353 case `$CC -V 2>&1` in
10356 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10357 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10358 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10362 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10364 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10368 hardcode_libdir_flag_spec='-R$libdir'
10369 hardcode_shlibpath_var=no
10371 solaris2.[0-5] | solaris2.[0-5].*) ;;
10373 # The compiler driver will combine and reorder linker options,
10374 # but understands '-z linker_flag'. GCC discards it without '$wl',
10375 # but is careful enough not to reorder.
10376 # Supported since Solaris 2.6 (maybe 2.5.1?)
10377 if test yes = "$GCC"; then
10378 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10380 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10384 link_all_deplibs=yes
10388 if test sequent = "$host_vendor"; then
10389 # Use $CC to link under sequent, because it throws in some extra .o
10390 # files that make .init and .fini sections work.
10391 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10393 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10395 hardcode_libdir_flag_spec='-L$libdir'
10396 hardcode_direct=yes
10397 hardcode_minus_L=yes
10398 hardcode_shlibpath_var=no
10402 case $host_vendor in
10404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10405 hardcode_direct=yes # is this really true???
10408 ## LD is ld it makes a PLAMLIB
10409 ## CC just makes a GrossModule.
10410 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10411 reload_cmds='$CC -r -o $output$reload_objs'
10415 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10416 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10419 runpath_var='LD_RUN_PATH'
10420 hardcode_shlibpath_var=no
10424 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10425 hardcode_shlibpath_var=no
10426 export_dynamic_flag_spec='-Bexport'
10430 if test -d /usr/nec; then
10431 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10432 hardcode_shlibpath_var=no
10433 runpath_var=LD_RUN_PATH
10434 hardcode_runpath_var=yes
10439 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10440 no_undefined_flag='$wl-z,text'
10441 archive_cmds_need_lc=no
10442 hardcode_shlibpath_var=no
10443 runpath_var='LD_RUN_PATH'
10445 if test yes = "$GCC"; then
10446 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10449 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10454 sysv5* | sco3.2v5* | sco5v6*)
10455 # Note: We CANNOT use -z defs as we might desire, because we do not
10456 # link with -lc, and that would cause any symbols used from libc to
10457 # always be unresolved, which means just about no library would
10458 # ever link correctly. If we're not using GNU ld we use -z text
10459 # though, which does catch some bad symbols but isn't as heavy-handed
10461 no_undefined_flag='$wl-z,text'
10462 allow_undefined_flag='$wl-z,nodefs'
10463 archive_cmds_need_lc=no
10464 hardcode_shlibpath_var=no
10465 hardcode_libdir_flag_spec='$wl-R,$libdir'
10466 hardcode_libdir_separator=':'
10467 link_all_deplibs=yes
10468 export_dynamic_flag_spec='$wl-Bexport'
10469 runpath_var='LD_RUN_PATH'
10471 if test yes = "$GCC"; then
10472 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10473 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10482 hardcode_libdir_flag_spec='-L$libdir'
10483 hardcode_shlibpath_var=no
10491 if test sni = "$host_vendor"; then
10493 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10494 export_dynamic_flag_spec='$wl-Blargedynsym'
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10501 $as_echo "$ld_shlibs" >&6; }
10502 test no = "$ld_shlibs" && can_build_shared=no
10504 with_gnu_ld=$with_gnu_ld
10521 # Do we need to explicitly link libc?
10523 case "x$archive_cmds_need_lc" in
10525 # Assume -lc should be added
10526 archive_cmds_need_lc=yes
10528 if test yes,yes = "$GCC,$enable_shared"; then
10529 case $archive_cmds in
10531 # FIXME: we may have to deal with multi-command sequences.
10534 # Test whether the compiler implicitly links with -lc since on some
10535 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10536 # to ld, don't add -lc before -lgcc.
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10538 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10539 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10540 $as_echo_n "(cached) " >&6
10543 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10546 (eval $ac_compile) 2>&5
10548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10549 test $ac_status = 0; } 2>conftest.err; then
10552 libobjs=conftest.$ac_objext
10554 wl=$lt_prog_compiler_wl
10555 pic_flag=$lt_prog_compiler_pic
10561 lt_save_allow_undefined_flag=$allow_undefined_flag
10562 allow_undefined_flag=
10563 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10564 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10567 test $ac_status = 0; }
10569 lt_cv_archive_cmds_need_lc=no
10571 lt_cv_archive_cmds_need_lc=yes
10573 allow_undefined_flag=$lt_save_allow_undefined_flag
10575 cat conftest.err 1>&5
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10581 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10582 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10741 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10743 if test yes = "$GCC"; then
10745 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10746 *) lt_awk_arg='/^libraries:/' ;;
10749 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10750 *) lt_sed_strip_eq='s|=/|/|g' ;;
10752 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10753 case $lt_search_path_spec in
10755 # if the path contains ";" then we assume it to be the separator
10756 # otherwise default to the standard path separator (i.e. ":") - it is
10757 # assumed that no part of a normal pathname contains ";" but that should
10758 # okay in the real world where ";" in dirpaths is itself problematic.
10759 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10762 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10765 # Ok, now we have the path, separated by spaces, we can step through it
10766 # and add multilib dir if necessary...
10767 lt_tmp_lt_search_path_spec=
10768 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10769 # ...but if some path component already ends with the multilib dir we assume
10770 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10771 case "$lt_multi_os_dir; $lt_search_path_spec " in
10772 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10776 for lt_sys_path in $lt_search_path_spec; do
10777 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10778 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10779 elif test -n "$lt_multi_os_dir"; then
10780 test -d "$lt_sys_path" && \
10781 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10784 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10785 BEGIN {RS = " "; FS = "/|\n";} {
10788 for (lt_i = NF; lt_i > 0; lt_i--) {
10789 if ($lt_i != "" && $lt_i != ".") {
10790 if ($lt_i == "..") {
10793 if (lt_count == 0) {
10794 lt_foo = "/" $lt_i lt_foo;
10801 if (lt_foo != "") { lt_freq[lt_foo]++; }
10802 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10804 # AWK program above erroneously prepends '/' to C:/dos/paths
10807 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10808 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10810 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10812 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10814 library_names_spec=
10815 libname_spec='lib$name'
10819 postuninstall_cmds=
10823 shlibpath_overrides_runpath=unknown
10825 dynamic_linker="$host_os ld.so"
10826 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10827 need_lib_prefix=unknown
10828 hardcode_into_libs=no
10830 # when you set need_version to no, make sure it does not cause -set_version
10831 # flags to be left without arguments
10832 need_version=unknown
10838 version_type=linux # correct to gnu/linux during the next big refactor
10839 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10840 shlibpath_var=LIBPATH
10842 # AIX 3 has no versioning support, so we append a major version to the name.
10843 soname_spec='$libname$release$shared_ext$major'
10847 version_type=linux # correct to gnu/linux during the next big refactor
10850 hardcode_into_libs=yes
10851 if test ia64 = "$host_cpu"; then
10852 # AIX 5 supports IA64
10853 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10854 shlibpath_var=LD_LIBRARY_PATH
10856 # With GCC up to 2.95.x, collect2 would create an import file
10857 # for dependence libraries. The import file would start with
10858 # the line '#! .'. This would cause the generated library to
10859 # depend on '.', always an invalid library. This was fixed in
10860 # development snapshots of GCC prior to 3.0.
10862 aix4 | aix4.[01] | aix4.[01].*)
10863 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10865 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10868 can_build_shared=no
10872 # Using Import Files as archive members, it is possible to support
10873 # filename-based versioning of shared library archives on AIX. While
10874 # this would work for both with and without runtime linking, it will
10875 # prevent static linking of such archives. So we do filename-based
10876 # shared library versioning with .so extension only, which is used
10877 # when both runtime linking and shared linking is enabled.
10878 # Unfortunately, runtime linking may impact performance, so we do
10879 # not want this to be the default eventually. Also, we use the
10880 # versioned .so libs for executables only if there is the -brtl
10881 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10882 # To allow for filename-based versioning support, we need to create
10883 # libNAME.so.V as an archive file, containing:
10884 # *) an Import File, referring to the versioned filename of the
10885 # archive as well as the shared archive member, telling the
10886 # bitwidth (32 or 64) of that shared object, and providing the
10887 # list of exported symbols of that shared object, eventually
10888 # decorated with the 'weak' keyword
10889 # *) the shared object with the F_LOADONLY flag set, to really avoid
10890 # it being seen by the linker.
10891 # At run time we better use the real file rather than another symlink,
10892 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10894 case $with_aix_soname,$aix_use_runtimelinking in
10895 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10896 # soname into executable. Probably we can add versioning support to
10897 # collect2, so additional links can be useful in future.
10898 aix,yes) # traditional libtool
10899 dynamic_linker='AIX unversionable lib.so'
10900 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10901 # instead of lib<name>.a to let people know that these are not
10902 # typical AIX shared libraries.
10903 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10905 aix,no) # traditional AIX only
10906 dynamic_linker='AIX lib.a(lib.so.V)'
10907 # We preserve .a as extension for shared libraries through AIX4.2
10908 # and later when we are not doing run time linking.
10909 library_names_spec='$libname$release.a $libname.a'
10910 soname_spec='$libname$release$shared_ext$major'
10912 svr4,*) # full svr4 only
10913 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10914 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10915 # We do not specify a path in Import Files, so LIBPATH fires.
10916 shlibpath_overrides_runpath=yes
10918 *,yes) # both, prefer svr4
10919 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10920 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10921 # unpreferred sharedlib libNAME.a needs extra handling
10922 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"'
10923 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"'
10924 # We do not specify a path in Import Files, so LIBPATH fires.
10925 shlibpath_overrides_runpath=yes
10927 *,no) # both, prefer aix
10928 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10929 library_names_spec='$libname$release.a $libname.a'
10930 soname_spec='$libname$release$shared_ext$major'
10931 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10932 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)'
10933 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"'
10936 shlibpath_var=LIBPATH
10943 # Since July 2007 AmigaOS4 officially supports .so libraries.
10944 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10945 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10948 library_names_spec='$libname.ixlibrary $libname.a'
10949 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10950 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'
10956 library_names_spec='$libname$shared_ext'
10957 dynamic_linker="$host_os ld.so"
10958 shlibpath_var=LIBRARY_PATH
10962 version_type=linux # correct to gnu/linux during the next big refactor
10964 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10965 soname_spec='$libname$release$shared_ext$major'
10966 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10969 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10970 # the default ld.so.conf also contains /usr/contrib/lib and
10971 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10972 # libtool to hard-code these into programs
10975 cygwin* | mingw* | pw32* | cegcc*)
10976 version_type=windows
10981 case $GCC,$cc_basename in
10984 library_names_spec='$libname.dll.a'
10985 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10986 postinstall_cmds='base_file=`basename \$file`~
10987 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10988 dldir=$destdir/`dirname \$dlpath`~
10989 test -d \$dldir || mkdir -p \$dldir~
10990 $install_prog $dir/$dlname \$dldir/$dlname~
10991 chmod a+x \$dldir/$dlname~
10992 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10993 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10995 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10996 dlpath=$dir/\$dldll~
10998 shlibpath_overrides_runpath=yes
11002 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11003 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11005 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11008 # MinGW DLLs use traditional 'lib' prefix
11009 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11012 # pw32 DLLs use 'pw' prefix rather than 'lib'
11013 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11016 dynamic_linker='Win32 ld.exe'
11021 libname_spec='$name'
11022 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11023 library_names_spec='$libname.dll.lib'
11027 sys_lib_search_path_spec=
11030 for lt_path in $LIB
11033 # Let DOS variable expansion print the short 8.3 style file name.
11034 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11038 # Convert to MSYS style.
11039 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11042 # Convert to unix form, then to dos form, then back to unix form
11043 # but this time dos style (no spaces!) so that the unix form looks
11044 # like /cygdrive/c/PROGRA~1:/cygdr...
11045 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11046 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11047 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11050 sys_lib_search_path_spec=$LIB
11051 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11052 # It is most probably a Windows format PATH.
11053 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11055 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11057 # FIXME: find the short name or the path components, as spaces are
11058 # common. (e.g. "Program Files" -> "PROGRA~1")
11062 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11063 postinstall_cmds='base_file=`basename \$file`~
11064 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11065 dldir=$destdir/`dirname \$dlpath`~
11066 test -d \$dldir || mkdir -p \$dldir~
11067 $install_prog $dir/$dlname \$dldir/$dlname'
11068 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11069 dlpath=$dir/\$dldll~
11071 shlibpath_overrides_runpath=yes
11072 dynamic_linker='Win32 link.exe'
11076 # Assume MSVC wrapper
11077 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11078 dynamic_linker='Win32 ld.exe'
11081 # FIXME: first we should search . and the directory the executable is in
11085 darwin* | rhapsody*)
11086 dynamic_linker="$host_os dyld"
11087 version_type=darwin
11090 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11091 soname_spec='$libname$release$major$shared_ext'
11092 shlibpath_overrides_runpath=yes
11093 shlibpath_var=DYLD_LIBRARY_PATH
11094 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11096 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11097 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11101 version_type=linux # correct to gnu/linux during the next big refactor
11104 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11105 soname_spec='$libname$release$shared_ext$major'
11106 shlibpath_var=LD_LIBRARY_PATH
11109 freebsd* | dragonfly*)
11110 # DragonFly does not have aout. When/if they implement a new
11111 # versioning mechanism, adjust this.
11112 if test -x /usr/bin/objformat; then
11113 objformat=`/usr/bin/objformat`
11116 freebsd[23].*) objformat=aout ;;
11117 *) objformat=elf ;;
11120 version_type=freebsd-$objformat
11121 case $version_type in
11123 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11124 soname_spec='$libname$release$shared_ext$major'
11129 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11133 shlibpath_var=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath=yes
11138 freebsd3.[01]* | freebsdelf3.[01]*)
11139 shlibpath_overrides_runpath=yes
11140 hardcode_into_libs=yes
11142 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11143 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11144 shlibpath_overrides_runpath=no
11145 hardcode_into_libs=yes
11147 *) # from 4.6 on, and DragonFly
11148 shlibpath_overrides_runpath=yes
11149 hardcode_into_libs=yes
11155 version_type=linux # correct to gnu/linux during the next big refactor
11158 dynamic_linker="$host_os runtime_loader"
11159 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11160 soname_spec='$libname$release$shared_ext$major'
11161 shlibpath_var=LIBRARY_PATH
11162 shlibpath_overrides_runpath=no
11163 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11164 hardcode_into_libs=yes
11167 hpux9* | hpux10* | hpux11*)
11168 # Give a soname corresponding to the major version so that dld.sl refuses to
11169 # link against other versions.
11176 hardcode_into_libs=yes
11177 dynamic_linker="$host_os dld.so"
11178 shlibpath_var=LD_LIBRARY_PATH
11179 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11180 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11181 soname_spec='$libname$release$shared_ext$major'
11182 if test 32 = "$HPUX_IA64_MODE"; then
11183 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11184 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11186 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11187 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11192 hardcode_into_libs=yes
11193 dynamic_linker="$host_os dld.sl"
11194 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11195 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11196 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11197 soname_spec='$libname$release$shared_ext$major'
11198 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11199 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11203 dynamic_linker="$host_os dld.sl"
11204 shlibpath_var=SHLIB_PATH
11205 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11206 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11207 soname_spec='$libname$release$shared_ext$major'
11210 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11211 postinstall_cmds='chmod 555 $lib'
11212 # or fails outright, so override atomically:
11213 install_override_mode=555
11217 version_type=linux # correct to gnu/linux during the next big refactor
11220 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11221 soname_spec='$libname$release$shared_ext$major'
11222 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11223 shlibpath_var=LD_LIBRARY_PATH
11224 shlibpath_overrides_runpath=no
11225 hardcode_into_libs=yes
11228 irix5* | irix6* | nonstopux*)
11230 nonstopux*) version_type=nonstopux ;;
11232 if test yes = "$lt_cv_prog_gnu_ld"; then
11233 version_type=linux # correct to gnu/linux during the next big refactor
11240 soname_spec='$libname$release$shared_ext$major'
11241 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11243 irix5* | nonstopux*)
11244 libsuff= shlibsuff=
11247 case $LD in # libtool.m4 will add one of these switches to LD
11248 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11249 libsuff= shlibsuff= libmagic=32-bit;;
11250 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11251 libsuff=32 shlibsuff=N32 libmagic=N32;;
11252 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11253 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11254 *) libsuff= shlibsuff= libmagic=never-match;;
11258 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11259 shlibpath_overrides_runpath=no
11260 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11261 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11262 hardcode_into_libs=yes
11265 # No shared lib support for Linux oldld, aout, or coff.
11266 linux*oldld* | linux*aout* | linux*coff*)
11271 version_type=none # Android doesn't support versioned libraries.
11274 library_names_spec='$libname$release$shared_ext'
11275 soname_spec='$libname$release$shared_ext'
11277 shlibpath_var=LD_LIBRARY_PATH
11278 shlibpath_overrides_runpath=yes
11280 # This implies no fast_install, which is unacceptable.
11281 # Some rework will be needed to allow for fast_install
11282 # before this can be enabled.
11283 hardcode_into_libs=yes
11285 dynamic_linker='Android linker'
11286 # Don't embed -rpath directories since the linker doesn't support them.
11287 hardcode_libdir_flag_spec='-L$libdir'
11290 # This must be glibc/ELF.
11291 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11292 version_type=linux # correct to gnu/linux during the next big refactor
11295 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11296 soname_spec='$libname$release$shared_ext$major'
11297 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11298 shlibpath_var=LD_LIBRARY_PATH
11299 shlibpath_overrides_runpath=no
11301 # Some binutils ld are patched to set DT_RUNPATH
11302 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11303 $as_echo_n "(cached) " >&6
11305 lt_cv_shlibpath_overrides_runpath=no
11306 save_LDFLAGS=$LDFLAGS
11307 save_libdir=$libdir
11308 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11309 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11321 if ac_fn_c_try_link "$LINENO"; then :
11322 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11323 lt_cv_shlibpath_overrides_runpath=yes
11326 rm -f core conftest.err conftest.$ac_objext \
11327 conftest$ac_exeext conftest.$ac_ext
11328 LDFLAGS=$save_LDFLAGS
11329 libdir=$save_libdir
11333 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11335 # This implies no fast_install, which is unacceptable.
11336 # Some rework will be needed to allow for fast_install
11337 # before this can be enabled.
11338 hardcode_into_libs=yes
11340 # Add ABI-specific directories to the system library path.
11341 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11343 # Ideally, we could use ldconfig to report *all* directores which are
11344 # searched for libraries, however this is still not possible. Aside from not
11345 # being certain /sbin/ldconfig is available, command
11346 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11347 # even though it is searched at run-time. Try to do the best guess by
11348 # appending ld.so.conf contents (and includes) to the search path.
11349 if test -f /etc/ld.so.conf; then
11350 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' ' '`
11351 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11354 # We used to test for /lib/ld.so.1 and disable shared libraries on
11355 # powerpc, because MkLinux only supported shared libraries with the
11356 # GNU dynamic linker. Since this was broken with cross compilers,
11357 # most powerpc-linux boxes support dynamic linking these days and
11358 # people can always --disable-shared, the test was removed, and we
11359 # assume the GNU/Linux dynamic linker is in use.
11360 dynamic_linker='GNU/Linux ld.so'
11367 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11368 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11369 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11370 dynamic_linker='NetBSD (a.out) ld.so'
11372 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11373 soname_spec='$libname$release$shared_ext$major'
11374 dynamic_linker='NetBSD ld.elf_so'
11376 shlibpath_var=LD_LIBRARY_PATH
11377 shlibpath_overrides_runpath=yes
11378 hardcode_into_libs=yes
11382 version_type=linux # correct to gnu/linux during the next big refactor
11383 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11384 shlibpath_var=LD_LIBRARY_PATH
11385 shlibpath_overrides_runpath=yes
11392 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11393 soname_spec='$libname$release$shared_ext$major'
11394 shlibpath_var=LD_LIBRARY_PATH
11395 shlibpath_overrides_runpath=no
11396 hardcode_into_libs=yes
11397 dynamic_linker='ldqnx.so'
11400 openbsd* | bitrig*)
11402 sys_lib_dlsearch_path_spec=/usr/lib
11404 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11409 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11410 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=yes
11416 libname_spec='$name'
11417 version_type=windows
11421 # OS/2 can only load a DLL with a base name of 8 characters or less.
11422 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11423 v=$($ECHO $release$versuffix | tr -d .-);
11424 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11425 $ECHO $n$v`$shared_ext'
11426 library_names_spec='${libname}_dll.$libext'
11427 dynamic_linker='OS/2 ld.exe'
11428 shlibpath_var=BEGINLIBPATH
11429 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11430 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11431 postinstall_cmds='base_file=`basename \$file`~
11432 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11433 dldir=$destdir/`dirname \$dlpath`~
11434 test -d \$dldir || mkdir -p \$dldir~
11435 $install_prog $dir/$dlname \$dldir/$dlname~
11436 chmod a+x \$dldir/$dlname~
11437 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11438 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11440 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11441 dlpath=$dir/\$dldll~
11445 osf3* | osf4* | osf5*)
11449 soname_spec='$libname$release$shared_ext$major'
11450 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11451 shlibpath_var=LD_LIBRARY_PATH
11452 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11453 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11461 version_type=linux # correct to gnu/linux during the next big refactor
11464 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11465 soname_spec='$libname$release$shared_ext$major'
11466 shlibpath_var=LD_LIBRARY_PATH
11467 shlibpath_overrides_runpath=yes
11468 hardcode_into_libs=yes
11469 # ldd complains unless libraries are executable
11470 postinstall_cmds='chmod +x $lib'
11475 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11476 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11477 shlibpath_var=LD_LIBRARY_PATH
11478 shlibpath_overrides_runpath=yes
11479 if test yes = "$with_gnu_ld"; then
11486 version_type=linux # correct to gnu/linux during the next big refactor
11487 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11488 soname_spec='$libname$release$shared_ext$major'
11489 shlibpath_var=LD_LIBRARY_PATH
11490 case $host_vendor in
11492 shlibpath_overrides_runpath=no
11494 runpath_var=LD_RUN_PATH
11502 shlibpath_overrides_runpath=no
11503 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11509 if test -d /usr/nec; then
11510 version_type=linux # correct to gnu/linux during the next big refactor
11511 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11512 soname_spec='$libname$shared_ext.$major'
11513 shlibpath_var=LD_LIBRARY_PATH
11517 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11521 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11522 soname_spec='$libname$release$shared_ext$major'
11523 shlibpath_var=LD_LIBRARY_PATH
11524 shlibpath_overrides_runpath=yes
11525 hardcode_into_libs=yes
11526 if test yes = "$with_gnu_ld"; then
11527 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11529 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11532 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11536 sys_lib_dlsearch_path_spec='/usr/lib'
11540 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11541 version_type=linux # correct to gnu/linux during the next big refactor
11544 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11545 shlibpath_var=LD_LIBRARY_PATH
11546 shlibpath_overrides_runpath=no
11547 hardcode_into_libs=yes
11551 version_type=linux # correct to gnu/linux during the next big refactor
11552 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11553 soname_spec='$libname$release$shared_ext$major'
11554 shlibpath_var=LD_LIBRARY_PATH
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11562 $as_echo "$dynamic_linker" >&6; }
11563 test no = "$dynamic_linker" && can_build_shared=no
11565 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11566 if test yes = "$GCC"; then
11567 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11570 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11571 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11574 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11575 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11578 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11579 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11581 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11582 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11584 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11585 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11684 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11686 if test -n "$hardcode_libdir_flag_spec" ||
11687 test -n "$runpath_var" ||
11688 test yes = "$hardcode_automatic"; then
11690 # We can hardcode non-existent directories.
11691 if test no != "$hardcode_direct" &&
11692 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11693 # have to relink, otherwise we might link with an installed library
11694 # when we should be linking with a yet-to-be-installed one
11695 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11696 test no != "$hardcode_minus_L"; then
11697 # Linking always hardcodes the temporary library directory.
11698 hardcode_action=relink
11700 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11701 hardcode_action=immediate
11704 # We cannot hardcode anything, or else we can only hardcode existing
11706 hardcode_action=unsupported
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11709 $as_echo "$hardcode_action" >&6; }
11711 if test relink = "$hardcode_action" ||
11712 test yes = "$inherit_rpath"; then
11713 # Fast installation is not supported
11714 enable_fast_install=no
11715 elif test yes = "$shlibpath_overrides_runpath" ||
11716 test no = "$enable_shared"; then
11717 # Fast installation is not necessary
11718 enable_fast_install=needless
11726 if test yes != "$enable_dlopen"; then
11727 enable_dlopen=unknown
11728 enable_dlopen_self=unknown
11729 enable_dlopen_self_static=unknown
11736 lt_cv_dlopen=load_add_on
11738 lt_cv_dlopen_self=yes
11741 mingw* | pw32* | cegcc*)
11742 lt_cv_dlopen=LoadLibrary
11747 lt_cv_dlopen=dlopen
11752 # if libdl is installed we need to link against it
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11754 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11755 if ${ac_cv_lib_dl_dlopen+:} false; then :
11756 $as_echo_n "(cached) " >&6
11758 ac_check_lib_save_LIBS=$LIBS
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 ac_cv_lib_dl_dlopen=yes
11781 ac_cv_lib_dl_dlopen=no
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_lib_save_LIBS
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11788 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11789 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11790 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11795 lt_cv_dlopen_self=yes
11802 # Don't try to run any link tests for TPF. We know it's impossible
11803 # because TPF is a cross-compiler, and we know how we open DSOs.
11804 lt_cv_dlopen=dlopen
11806 lt_cv_dlopen_self=no
11810 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11811 if test "x$ac_cv_func_shl_load" = xyes; then :
11812 lt_cv_dlopen=shl_load
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11815 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11816 if ${ac_cv_lib_dld_shl_load+:} false; then :
11817 $as_echo_n "(cached) " >&6
11819 ac_check_lib_save_LIBS=$LIBS
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822 /* end confdefs.h. */
11824 /* Override any GCC internal prototype to avoid an error.
11825 Use char because int might match the return type of a GCC
11826 builtin and then its argument prototype would still apply. */
11834 return shl_load ();
11839 if ac_fn_c_try_link "$LINENO"; then :
11840 ac_cv_lib_dld_shl_load=yes
11842 ac_cv_lib_dld_shl_load=no
11844 rm -f core conftest.err conftest.$ac_objext \
11845 conftest$ac_exeext conftest.$ac_ext
11846 LIBS=$ac_check_lib_save_LIBS
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11849 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11850 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11851 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11853 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11854 if test "x$ac_cv_func_dlopen" = xyes; then :
11855 lt_cv_dlopen=dlopen
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11858 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11859 if ${ac_cv_lib_dl_dlopen+:} false; then :
11860 $as_echo_n "(cached) " >&6
11862 ac_check_lib_save_LIBS=$LIBS
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11882 if ac_fn_c_try_link "$LINENO"; then :
11883 ac_cv_lib_dl_dlopen=yes
11885 ac_cv_lib_dl_dlopen=no
11887 rm -f core conftest.err conftest.$ac_objext \
11888 conftest$ac_exeext conftest.$ac_ext
11889 LIBS=$ac_check_lib_save_LIBS
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11892 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11893 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11894 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11897 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11898 if ${ac_cv_lib_svld_dlopen+:} false; then :
11899 $as_echo_n "(cached) " >&6
11901 ac_check_lib_save_LIBS=$LIBS
11902 LIBS="-lsvld $LIBS"
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11921 if ac_fn_c_try_link "$LINENO"; then :
11922 ac_cv_lib_svld_dlopen=yes
11924 ac_cv_lib_svld_dlopen=no
11926 rm -f core conftest.err conftest.$ac_objext \
11927 conftest$ac_exeext conftest.$ac_ext
11928 LIBS=$ac_check_lib_save_LIBS
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11931 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11932 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11933 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11936 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11937 if ${ac_cv_lib_dld_dld_link+:} false; then :
11938 $as_echo_n "(cached) " >&6
11940 ac_check_lib_save_LIBS=$LIBS
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11955 return dld_link ();
11960 if ac_fn_c_try_link "$LINENO"; then :
11961 ac_cv_lib_dld_dld_link=yes
11963 ac_cv_lib_dld_dld_link=no
11965 rm -f core conftest.err conftest.$ac_objext \
11966 conftest$ac_exeext conftest.$ac_ext
11967 LIBS=$ac_check_lib_save_LIBS
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11970 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11971 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11972 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11993 if test no = "$lt_cv_dlopen"; then
11999 case $lt_cv_dlopen in
12001 save_CPPFLAGS=$CPPFLAGS
12002 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12004 save_LDFLAGS=$LDFLAGS
12005 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12008 LIBS="$lt_cv_dlopen_libs $LIBS"
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12011 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12012 if ${lt_cv_dlopen_self+:} false; then :
12013 $as_echo_n "(cached) " >&6
12015 if test yes = "$cross_compiling"; then :
12016 lt_cv_dlopen_self=cross
12018 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12019 lt_status=$lt_dlunknown
12020 cat > conftest.$ac_ext <<_LT_EOF
12021 #line $LINENO "configure"
12022 #include "confdefs.h"
12031 # define LT_DLGLOBAL RTLD_GLOBAL
12034 # define LT_DLGLOBAL DL_GLOBAL
12036 # define LT_DLGLOBAL 0
12040 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12041 find out it does not work in some platform. */
12042 #ifndef LT_DLLAZY_OR_NOW
12044 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12047 # define LT_DLLAZY_OR_NOW DL_LAZY
12050 # define LT_DLLAZY_OR_NOW RTLD_NOW
12053 # define LT_DLLAZY_OR_NOW DL_NOW
12055 # define LT_DLLAZY_OR_NOW 0
12062 /* When -fvisibility=hidden is used, assume the code has been annotated
12063 correspondingly for the symbols needed. */
12064 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12065 int fnord () __attribute__((visibility("default")));
12068 int fnord () { return 42; }
12071 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12072 int status = $lt_dlunknown;
12076 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12079 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12080 else puts (dlerror ());
12082 /* dlclose (self); */
12090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12091 (eval $ac_link) 2>&5
12093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12094 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12095 (./conftest; exit; ) >&5 2>/dev/null
12097 case x$lt_status in
12098 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12099 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12100 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12103 # compilation failed
12104 lt_cv_dlopen_self=no
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12112 $as_echo "$lt_cv_dlopen_self" >&6; }
12114 if test yes = "$lt_cv_dlopen_self"; then
12115 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12117 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12118 if ${lt_cv_dlopen_self_static+:} false; then :
12119 $as_echo_n "(cached) " >&6
12121 if test yes = "$cross_compiling"; then :
12122 lt_cv_dlopen_self_static=cross
12124 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12125 lt_status=$lt_dlunknown
12126 cat > conftest.$ac_ext <<_LT_EOF
12127 #line $LINENO "configure"
12128 #include "confdefs.h"
12137 # define LT_DLGLOBAL RTLD_GLOBAL
12140 # define LT_DLGLOBAL DL_GLOBAL
12142 # define LT_DLGLOBAL 0
12146 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12147 find out it does not work in some platform. */
12148 #ifndef LT_DLLAZY_OR_NOW
12150 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12153 # define LT_DLLAZY_OR_NOW DL_LAZY
12156 # define LT_DLLAZY_OR_NOW RTLD_NOW
12159 # define LT_DLLAZY_OR_NOW DL_NOW
12161 # define LT_DLLAZY_OR_NOW 0
12168 /* When -fvisibility=hidden is used, assume the code has been annotated
12169 correspondingly for the symbols needed. */
12170 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12171 int fnord () __attribute__((visibility("default")));
12174 int fnord () { return 42; }
12177 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12178 int status = $lt_dlunknown;
12182 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12185 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12186 else puts (dlerror ());
12188 /* dlclose (self); */
12196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12197 (eval $ac_link) 2>&5
12199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12200 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12201 (./conftest; exit; ) >&5 2>/dev/null
12203 case x$lt_status in
12204 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12205 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12206 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12209 # compilation failed
12210 lt_cv_dlopen_self_static=no
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12218 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12221 CPPFLAGS=$save_CPPFLAGS
12222 LDFLAGS=$save_LDFLAGS
12227 case $lt_cv_dlopen_self in
12228 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12229 *) enable_dlopen_self=unknown ;;
12232 case $lt_cv_dlopen_self_static in
12233 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12234 *) enable_dlopen_self_static=unknown ;;
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12257 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12258 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12259 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12260 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12262 $as_echo "yes" >&6; }
12264 # FIXME - insert some real tests, host_os isn't really good enough
12267 if test -n "$STRIP"; then
12268 striplib="$STRIP -x"
12269 old_striplib="$STRIP -S"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12271 $as_echo "yes" >&6; }
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274 $as_echo "no" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279 $as_echo "no" >&6; }
12295 # Report what library types will actually be built
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12297 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12299 $as_echo "$can_build_shared" >&6; }
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12302 $as_echo_n "checking whether to build shared libraries... " >&6; }
12303 test no = "$can_build_shared" && enable_shared=no
12305 # On AIX, shared libraries and static libraries use the same namespace, and
12306 # are all built from PIC.
12309 test yes = "$enable_shared" && enable_static=no
12310 if test -n "$RANLIB"; then
12311 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12312 postinstall_cmds='$RANLIB $lib'
12317 if test ia64 != "$host_cpu"; then
12318 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12319 yes,aix,yes) ;; # shared object as lib.so file only
12320 yes,svr4,*) ;; # shared object as lib.so archive member only
12321 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12327 $as_echo "$enable_shared" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12330 $as_echo_n "checking whether to build static libraries... " >&6; }
12331 # Make sure either enable_shared or enable_static is yes.
12332 test yes = "$enable_shared" || enable_static=yes
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12334 $as_echo "$enable_static" >&6; }
12341 ac_cpp='$CPP $CPPFLAGS'
12342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12362 ac_config_commands="$ac_config_commands libtool"
12367 # Only expand once:
12371 FRIBIDI_MAJOR_VERSION=1
12372 FRIBIDI_MINOR_VERSION=0
12373 FRIBIDI_MICRO_VERSION=2
12374 FRIBIDI_VERSION=1.0.2
12375 FRIBIDI_INTERFACE_VERSION=4
12376 FRIBIDI_INTERFACE_AGE=0
12377 FRIBIDI_BINARY_AGE=4
12387 FRIBIDI_MSVC_BUILD_PLACEHOLDER="#undef FRIBIDI_BUILT_WITH_MSVC"
12390 LT_VERSION_INFO=4:0:4
12391 LT_CURRENT_MINUS_AGE=0
12397 # Checks for programs.
12399 ac_cpp='$CPP $CPPFLAGS'
12400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12403 if test -n "$ac_tool_prefix"; then
12404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12405 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12407 $as_echo_n "checking for $ac_word... " >&6; }
12408 if ${ac_cv_prog_CC+:} false; then :
12409 $as_echo_n "(cached) " >&6
12411 if test -n "$CC"; then
12412 ac_cv_prog_CC="$CC" # Let the user override the test.
12414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12415 for as_dir in $PATH
12418 test -z "$as_dir" && as_dir=.
12419 for ac_exec_ext in '' $ac_executable_extensions; do
12420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12421 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12432 if test -n "$CC"; then
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12434 $as_echo "$CC" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12442 if test -z "$ac_cv_prog_CC"; then
12444 # Extract the first word of "gcc", so it can be a program name with args.
12445 set dummy gcc; ac_word=$2
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12447 $as_echo_n "checking for $ac_word... " >&6; }
12448 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12449 $as_echo_n "(cached) " >&6
12451 if test -n "$ac_ct_CC"; then
12452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455 for as_dir in $PATH
12458 test -z "$as_dir" && as_dir=.
12459 for ac_exec_ext in '' $ac_executable_extensions; do
12460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12461 ac_cv_prog_ac_ct_CC="gcc"
12462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12472 if test -n "$ac_ct_CC"; then
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12474 $as_echo "$ac_ct_CC" >&6; }
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12477 $as_echo "no" >&6; }
12480 if test "x$ac_ct_CC" = x; then
12483 case $cross_compiling:$ac_tool_warned in
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12487 ac_tool_warned=yes ;;
12492 CC="$ac_cv_prog_CC"
12495 if test -z "$CC"; then
12496 if test -n "$ac_tool_prefix"; then
12497 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12498 set dummy ${ac_tool_prefix}cc; ac_word=$2
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12500 $as_echo_n "checking for $ac_word... " >&6; }
12501 if ${ac_cv_prog_CC+:} false; then :
12502 $as_echo_n "(cached) " >&6
12504 if test -n "$CC"; then
12505 ac_cv_prog_CC="$CC" # Let the user override the test.
12507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12508 for as_dir in $PATH
12511 test -z "$as_dir" && as_dir=.
12512 for ac_exec_ext in '' $ac_executable_extensions; do
12513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12514 ac_cv_prog_CC="${ac_tool_prefix}cc"
12515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12525 if test -n "$CC"; then
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12527 $as_echo "$CC" >&6; }
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12530 $as_echo "no" >&6; }
12536 if test -z "$CC"; then
12537 # Extract the first word of "cc", so it can be a program name with args.
12538 set dummy cc; ac_word=$2
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12540 $as_echo_n "checking for $ac_word... " >&6; }
12541 if ${ac_cv_prog_CC+:} false; then :
12542 $as_echo_n "(cached) " >&6
12544 if test -n "$CC"; then
12545 ac_cv_prog_CC="$CC" # Let the user override the test.
12547 ac_prog_rejected=no
12548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12549 for as_dir in $PATH
12552 test -z "$as_dir" && as_dir=.
12553 for ac_exec_ext in '' $ac_executable_extensions; do
12554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12555 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12556 ac_prog_rejected=yes
12560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12567 if test $ac_prog_rejected = yes; then
12568 # We found a bogon in the path, so make sure we never use it.
12569 set dummy $ac_cv_prog_CC
12571 if test $# != 0; then
12572 # We chose a different compiler from the bogus one.
12573 # However, it has the same basename, so the bogon will be chosen
12574 # first if we set CC to just the basename; use the full file name.
12576 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12582 if test -n "$CC"; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12584 $as_echo "$CC" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12587 $as_echo "no" >&6; }
12592 if test -z "$CC"; then
12593 if test -n "$ac_tool_prefix"; then
12594 for ac_prog in cl.exe
12596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12599 $as_echo_n "checking for $ac_word... " >&6; }
12600 if ${ac_cv_prog_CC+:} false; then :
12601 $as_echo_n "(cached) " >&6
12603 if test -n "$CC"; then
12604 ac_cv_prog_CC="$CC" # Let the user override the test.
12606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12607 for as_dir in $PATH
12610 test -z "$as_dir" && as_dir=.
12611 for ac_exec_ext in '' $ac_executable_extensions; do
12612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12613 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12624 if test -n "$CC"; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12626 $as_echo "$CC" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12629 $as_echo "no" >&6; }
12633 test -n "$CC" && break
12636 if test -z "$CC"; then
12638 for ac_prog in cl.exe
12640 # Extract the first word of "$ac_prog", so it can be a program name with args.
12641 set dummy $ac_prog; ac_word=$2
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12643 $as_echo_n "checking for $ac_word... " >&6; }
12644 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12645 $as_echo_n "(cached) " >&6
12647 if test -n "$ac_ct_CC"; then
12648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12651 for as_dir in $PATH
12654 test -z "$as_dir" && as_dir=.
12655 for ac_exec_ext in '' $ac_executable_extensions; do
12656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12657 ac_cv_prog_ac_ct_CC="$ac_prog"
12658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12667 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12668 if test -n "$ac_ct_CC"; then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12670 $as_echo "$ac_ct_CC" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12677 test -n "$ac_ct_CC" && break
12680 if test "x$ac_ct_CC" = x; then
12683 case $cross_compiling:$ac_tool_warned in
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12687 ac_tool_warned=yes ;;
12696 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12698 as_fn_error $? "no acceptable C compiler found in \$PATH
12699 See \`config.log' for more details" "$LINENO" 5; }
12701 # Provide some information about the compiler.
12702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12705 for ac_option in --version -v -V -qversion; do
12706 { { ac_try="$ac_compiler $ac_option >&5"
12707 case "(($ac_try" in
12708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12709 *) ac_try_echo=$ac_try;;
12711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12712 $as_echo "$ac_try_echo"; } >&5
12713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12715 if test -s conftest.err; then
12717 ... rest of stderr output deleted ...
12718 10q' conftest.err >conftest.er1
12719 cat conftest.er1 >&5
12721 rm -f conftest.er1 conftest.err
12722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12723 test $ac_status = 0; }
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12727 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12728 if ${ac_cv_c_compiler_gnu+:} false; then :
12729 $as_echo_n "(cached) " >&6
12731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12732 /* end confdefs.h. */
12745 if ac_fn_c_try_compile "$LINENO"; then :
12746 ac_compiler_gnu=yes
12750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12751 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12755 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12756 if test $ac_compiler_gnu = yes; then
12761 ac_test_CFLAGS=${CFLAGS+set}
12762 ac_save_CFLAGS=$CFLAGS
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12764 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12765 if ${ac_cv_prog_cc_g+:} false; then :
12766 $as_echo_n "(cached) " >&6
12768 ac_save_c_werror_flag=$ac_c_werror_flag
12769 ac_c_werror_flag=yes
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12783 if ac_fn_c_try_compile "$LINENO"; then :
12784 ac_cv_prog_cc_g=yes
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12798 if ac_fn_c_try_compile "$LINENO"; then :
12801 ac_c_werror_flag=$ac_save_c_werror_flag
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12814 if ac_fn_c_try_compile "$LINENO"; then :
12815 ac_cv_prog_cc_g=yes
12817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12822 ac_c_werror_flag=$ac_save_c_werror_flag
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12825 $as_echo "$ac_cv_prog_cc_g" >&6; }
12826 if test "$ac_test_CFLAGS" = set; then
12827 CFLAGS=$ac_save_CFLAGS
12828 elif test $ac_cv_prog_cc_g = yes; then
12829 if test "$GCC" = yes; then
12835 if test "$GCC" = yes; then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12842 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12843 if ${ac_cv_prog_cc_c89+:} false; then :
12844 $as_echo_n "(cached) " >&6
12846 ac_cv_prog_cc_c89=no
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12850 #include <stdarg.h>
12853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12854 struct buf { int x; };
12855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12856 static char *e (p, i)
12862 static char *f (char * (*g) (char **, int), char **p, ...)
12867 s = g (p, va_arg (v,int));
12872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12873 function prototypes and stuff, but not '\xHH' hex character constants.
12874 These don't provoke an error unfortunately, instead are silently treated
12875 as 'x'. The following induces an error, until -std is added to get
12876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12877 array size at least. It's necessary to write '\x00'==0 to get something
12878 that's true only with -std. */
12879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12882 inside strings and character constants. */
12884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12886 int test (int i, double x);
12887 struct s1 {int (*f) (int a);};
12888 struct s2 {int (*f) (double a);};
12889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12903 CC="$ac_save_CC $ac_arg"
12904 if ac_fn_c_try_compile "$LINENO"; then :
12905 ac_cv_prog_cc_c89=$ac_arg
12907 rm -f core conftest.err conftest.$ac_objext
12908 test "x$ac_cv_prog_cc_c89" != "xno" && break
12910 rm -f conftest.$ac_ext
12915 case "x$ac_cv_prog_cc_c89" in
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12918 $as_echo "none needed" >&6; } ;;
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12921 $as_echo "unsupported" >&6; } ;;
12923 CC="$CC $ac_cv_prog_cc_c89"
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12925 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12927 if test "x$ac_cv_prog_cc_c89" != xno; then :
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12938 ac_cpp='$CPP $CPPFLAGS'
12939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12943 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12944 if ${am_cv_prog_cc_c_o+:} false; then :
12945 $as_echo_n "(cached) " >&6
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12958 # Make sure it works both with $CC and with simple cc.
12959 # Following AC_PROG_CC_C_O, we do the test twice because some
12960 # compilers refuse to overwrite an existing .o file with -o,
12961 # though they will create one.
12962 am_cv_prog_cc_c_o=yes
12963 for am_i in 1 2; do
12964 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12965 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } \
12969 && test -f conftest2.$ac_objext; then
12972 am_cv_prog_cc_c_o=no
12976 rm -f core conftest*
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12980 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12981 if test "$am_cv_prog_cc_c_o" != yes; then
12982 # Losing compiler, so override with the script.
12983 # FIXME: It is wrong to rewrite CC.
12984 # But if we don't then we get into trouble of one sort or another.
12985 # A longer-term fix would be to have automake use am__CC in this case,
12986 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12987 CC="$am_aux_dir/compile $CC"
12990 ac_cpp='$CPP $CPPFLAGS'
12991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12996 depcc="$CC" am_compiler_list=
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12999 $as_echo_n "checking dependency style of $depcc... " >&6; }
13000 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13001 $as_echo_n "(cached) " >&6
13003 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13004 # We make a subdir and do the tests there. Otherwise we can end up
13005 # making bogus files that we don't know about and never remove. For
13006 # instance it was reported that on HP-UX the gcc test will end up
13007 # making a dummy file named 'D' -- because '-MD' means "put the output
13009 rm -rf conftest.dir
13011 # Copy depcomp to subdir because otherwise we won't find it if we're
13012 # using a relative directory.
13013 cp "$am_depcomp" conftest.dir
13015 # We will build objects and dependencies in a subdirectory because
13016 # it helps to detect inapplicable dependency modes. For instance
13017 # both Tru64's cc and ICC support -MD to output dependencies as a
13018 # side effect of compilation, but ICC will put the dependencies in
13019 # the current directory while Tru64 will put them in the object
13023 am_cv_CC_dependencies_compiler_type=none
13024 if test "$am_compiler_list" = ""; then
13025 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13027 am__universal=false
13028 case " $depcc " in #(
13029 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13032 for depmode in $am_compiler_list; do
13033 # Setup a source with many dependencies, because some compilers
13034 # like to wrap large dependency lists on column 80 (with \), and
13035 # we should not choose a depcomp mode which is confused by this.
13037 # We need to recreate these files for each test, as the compiler may
13038 # overwrite some of them when testing with obscure command lines.
13039 # This happens at least with the AIX C compiler.
13041 for i in 1 2 3 4 5 6; do
13042 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13043 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13044 # Solaris 10 /bin/sh.
13045 echo '/* dummy */' > sub/conftst$i.h
13047 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13049 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13050 # mode. It turns out that the SunPro C++ compiler does not properly
13051 # handle '-M -o', and we need to detect this. Also, some Intel
13052 # versions had trouble with output in subdirs.
13053 am__obj=sub/conftest.${OBJEXT-o}
13054 am__minus_obj="-o $am__obj"
13057 # This depmode causes a compiler race in universal mode.
13058 test "$am__universal" = false || continue
13061 # After this tag, mechanisms are not by side-effect, so they'll
13062 # only be used when explicitly requested.
13063 if test "x$enable_dependency_tracking" = xyes; then
13069 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13070 # This compiler won't grok '-c -o', but also, the minuso test has
13071 # not run yet. These depmodes are late enough in the game, and
13072 # so weak that their functioning should not be impacted.
13073 am__obj=conftest.${OBJEXT-o}
13078 if depmode=$depmode \
13079 source=sub/conftest.c object=$am__obj \
13080 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13081 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13082 >/dev/null 2>conftest.err &&
13083 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13084 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13085 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13086 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13087 # icc doesn't choke on unknown options, it will just issue warnings
13088 # or remarks (even with -Werror). So we grep stderr for any message
13089 # that says an option was ignored or not supported.
13090 # When given -MP, icc 7.0 and 7.1 complain thusly:
13091 # icc: Command line warning: ignoring option '-M'; no argument required
13092 # The diagnosis changed in icc 8.0:
13093 # icc: Command line remark: option '-MP' not supported
13094 if (grep 'ignoring option' conftest.err ||
13095 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13096 am_cv_CC_dependencies_compiler_type=$depmode
13103 rm -rf conftest.dir
13105 am_cv_CC_dependencies_compiler_type=none
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13110 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13111 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13114 test "x$enable_dependency_tracking" != xno \
13115 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13116 am__fastdepCC_TRUE=
13117 am__fastdepCC_FALSE='#'
13119 am__fastdepCC_TRUE='#'
13120 am__fastdepCC_FALSE=
13132 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13133 if test -n "$ac_tool_prefix"; then
13134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13137 $as_echo_n "checking for $ac_word... " >&6; }
13138 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13139 $as_echo_n "(cached) " >&6
13141 case $PKG_CONFIG in
13143 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13147 for as_dir in $PATH
13150 test -z "$as_dir" && as_dir=.
13151 for ac_exec_ext in '' $ac_executable_extensions; do
13152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13153 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13164 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13165 if test -n "$PKG_CONFIG"; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13167 $as_echo "$PKG_CONFIG" >&6; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13175 if test -z "$ac_cv_path_PKG_CONFIG"; then
13176 ac_pt_PKG_CONFIG=$PKG_CONFIG
13177 # Extract the first word of "pkg-config", so it can be a program name with args.
13178 set dummy pkg-config; ac_word=$2
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13180 $as_echo_n "checking for $ac_word... " >&6; }
13181 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13182 $as_echo_n "(cached) " >&6
13184 case $ac_pt_PKG_CONFIG in
13186 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13190 for as_dir in $PATH
13193 test -z "$as_dir" && as_dir=.
13194 for ac_exec_ext in '' $ac_executable_extensions; do
13195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13196 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13208 if test -n "$ac_pt_PKG_CONFIG"; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13210 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13213 $as_echo "no" >&6; }
13216 if test "x$ac_pt_PKG_CONFIG" = x; then
13219 case $cross_compiling:$ac_tool_warned in
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13223 ac_tool_warned=yes ;;
13225 PKG_CONFIG=$ac_pt_PKG_CONFIG
13228 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13232 if test -n "$PKG_CONFIG"; then
13233 _pkg_min_version=0.9.0
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13235 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13236 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13238 $as_echo "yes" >&6; }
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13241 $as_echo "no" >&6; }
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
13246 $as_echo_n "checking for native Win32... " >&6; }
13248 mingw*) os_win32=yes ;;
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
13252 $as_echo "$os_win32" >&6; }
13253 if test "$os_win32" = "yes"; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
13262 $as_echo_n "checking for some Win32 platform... " >&6; }
13264 mingw*|cygwin*) platform_win32=yes ;;
13265 *) platform_win32=no ;;
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
13268 $as_echo "$platform_win32" >&6; }
13269 if test "$platform_win32" = "yes"; then
13270 PLATFORM_WIN32_TRUE=
13271 PLATFORM_WIN32_FALSE='#'
13273 PLATFORM_WIN32_TRUE='#'
13274 PLATFORM_WIN32_FALSE=
13279 # Checks for header files.
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13281 $as_echo_n "checking for ANSI C header files... " >&6; }
13282 if ${ac_cv_header_stdc+:} false; then :
13283 $as_echo_n "(cached) " >&6
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13287 #include <stdlib.h>
13288 #include <stdarg.h>
13289 #include <string.h>
13300 if ac_fn_c_try_compile "$LINENO"; then :
13301 ac_cv_header_stdc=yes
13303 ac_cv_header_stdc=no
13305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13307 if test $ac_cv_header_stdc = yes; then
13308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13311 #include <string.h>
13314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13315 $EGREP "memchr" >/dev/null 2>&1; then :
13318 ac_cv_header_stdc=no
13324 if test $ac_cv_header_stdc = yes; then
13325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13328 #include <stdlib.h>
13331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13332 $EGREP "free" >/dev/null 2>&1; then :
13335 ac_cv_header_stdc=no
13341 if test $ac_cv_header_stdc = yes; then
13342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13343 if test "$cross_compiling" = yes; then :
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 #include <stdlib.h>
13350 #if ((' ' & 0x0FF) == 0x020)
13351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13354 # define ISLOWER(c) \
13355 (('a' <= (c) && (c) <= 'i') \
13356 || ('j' <= (c) && (c) <= 'r') \
13357 || ('s' <= (c) && (c) <= 'z'))
13358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13366 for (i = 0; i < 256; i++)
13367 if (XOR (islower (i), ISLOWER (i))
13368 || toupper (i) != TOUPPER (i))
13373 if ac_fn_c_try_run "$LINENO"; then :
13376 ac_cv_header_stdc=no
13378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13379 conftest.$ac_objext conftest.beam conftest.$ac_ext
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13385 $as_echo "$ac_cv_header_stdc" >&6; }
13386 if test $ac_cv_header_stdc = yes; then
13388 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13392 for ac_header in stdlib.h string.h strings.h wchar.h asm/page.h sys/times.h
13394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13395 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13397 cat >>confdefs.h <<_ACEOF
13398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13406 # Checks for typedefs and structures.
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13408 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13409 if ${ac_cv_c_const+:} false; then :
13410 $as_echo_n "(cached) " >&6
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13419 #ifndef __cplusplus
13420 /* Ultrix mips cc rejects this sort of thing. */
13421 typedef int charset[2];
13422 const charset cs = { 0, 0 };
13423 /* SunOS 4.1.1 cc rejects this. */
13424 char const *const *pcpcc;
13426 /* NEC SVR4.0.2 mips cc rejects this. */
13427 struct point {int x, y;};
13428 static struct point const zero = {0,0};
13429 /* AIX XL C 1.02.0.0 rejects this.
13430 It does not let you subtract one const X* pointer from another in
13431 an arm of an if-expression whose if-part is not a constant
13433 const char *g = "string";
13434 pcpcc = &g + (g ? g-g : 0);
13435 /* HPUX 7.0 cc rejects these. */
13437 ppc = (char**) pcpcc;
13438 pcpcc = (char const *const *) ppc;
13439 { /* SCO 3.2v4 cc rejects this sort of thing. */
13442 char const *s = 0 ? (char *) 0 : (char const *) 0;
13447 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13448 int x[] = {25, 17};
13449 const int *foo = &x[0];
13452 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13453 typedef const int *iptr;
13457 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13458 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13459 struct s { int j; const int *ap[3]; } bx;
13460 struct s *b = &bx; b->j = 5;
13462 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13463 const int foo = 10;
13464 if (!foo) return 0;
13466 return !cs[0] && !zero.x;
13473 if ac_fn_c_try_compile "$LINENO"; then :
13478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13481 $as_echo "$ac_cv_c_const" >&6; }
13482 if test $ac_cv_c_const = no; then
13484 $as_echo "#define const /**/" >>confdefs.h
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5
13489 $as_echo_n "checking for preprocessor stringizing operator... " >&6; }
13490 if ${ac_cv_c_stringize+:} false; then :
13491 $as_echo_n "(cached) " >&6
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13497 char *s = x(teststring);
13499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13500 $EGREP "#teststring" >/dev/null 2>&1; then :
13501 ac_cv_c_stringize=no
13503 ac_cv_c_stringize=yes
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5
13509 $as_echo "$ac_cv_c_stringize" >&6; }
13510 if test $ac_cv_c_stringize = yes; then
13512 $as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h
13516 # The cast to long int works around a bug in the HP C Compiler
13517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13519 # This bug is HP SR number 8606223364.
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13521 $as_echo_n "checking size of int... " >&6; }
13522 if ${ac_cv_sizeof_int+:} false; then :
13523 $as_echo_n "(cached) " >&6
13525 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13528 if test "$ac_cv_type_int" = yes; then
13529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13531 as_fn_error 77 "cannot compute sizeof (int)
13532 See \`config.log' for more details" "$LINENO" 5; }
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13540 $as_echo "$ac_cv_sizeof_int" >&6; }
13544 cat >>confdefs.h <<_ACEOF
13545 #define SIZEOF_INT $ac_cv_sizeof_int
13549 SIZEOF_INT=$ac_cv_sizeof_int
13551 # The cast to long int works around a bug in the HP C Compiler
13552 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13553 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13554 # This bug is HP SR number 8606223364.
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13556 $as_echo_n "checking size of short... " >&6; }
13557 if ${ac_cv_sizeof_short+:} false; then :
13558 $as_echo_n "(cached) " >&6
13560 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13563 if test "$ac_cv_type_short" = yes; then
13564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13566 as_fn_error 77 "cannot compute sizeof (short)
13567 See \`config.log' for more details" "$LINENO" 5; }
13569 ac_cv_sizeof_short=0
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13575 $as_echo "$ac_cv_sizeof_short" >&6; }
13579 cat >>confdefs.h <<_ACEOF
13580 #define SIZEOF_SHORT $ac_cv_sizeof_short
13584 # The cast to long int works around a bug in the HP C Compiler
13585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13587 # This bug is HP SR number 8606223364.
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13589 $as_echo_n "checking size of void *... " >&6; }
13590 if ${ac_cv_sizeof_void_p+:} false; then :
13591 $as_echo_n "(cached) " >&6
13593 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13596 if test "$ac_cv_type_void_p" = yes; then
13597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13599 as_fn_error 77 "cannot compute sizeof (void *)
13600 See \`config.log' for more details" "$LINENO" 5; }
13602 ac_cv_sizeof_void_p=0
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13608 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13612 cat >>confdefs.h <<_ACEOF
13613 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13617 # The cast to long int works around a bug in the HP C Compiler
13618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13620 # This bug is HP SR number 8606223364.
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
13622 $as_echo_n "checking size of wchar_t... " >&6; }
13623 if ${ac_cv_sizeof_wchar_t+:} false; then :
13624 $as_echo_n "(cached) " >&6
13626 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
13629 if test "$ac_cv_type_wchar_t" = yes; then
13630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13632 as_fn_error 77 "cannot compute sizeof (wchar_t)
13633 See \`config.log' for more details" "$LINENO" 5; }
13635 ac_cv_sizeof_wchar_t=0
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
13641 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
13645 cat >>confdefs.h <<_ACEOF
13646 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
13653 save_cross_compiling=$cross_compiling
13654 save_ac_tool_prefix=$ac_tool_prefix
13659 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
13660 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
13661 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'
13662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13663 if test -n "$ac_tool_prefix"; then
13664 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13665 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13667 $as_echo_n "checking for $ac_word... " >&6; }
13668 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13669 $as_echo_n "(cached) " >&6
13671 if test -n "$CC_FOR_BUILD"; then
13672 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13675 for as_dir in $PATH
13678 test -z "$as_dir" && as_dir=.
13679 for ac_exec_ext in '' $ac_executable_extensions; do
13680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13681 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc"
13682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13691 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13692 if test -n "$CC_FOR_BUILD"; then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13694 $as_echo "$CC_FOR_BUILD" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13702 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
13703 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
13704 # Extract the first word of "gcc", so it can be a program name with args.
13705 set dummy gcc; ac_word=$2
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13707 $as_echo_n "checking for $ac_word... " >&6; }
13708 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
13709 $as_echo_n "(cached) " >&6
13711 if test -n "$ac_ct_CC_FOR_BUILD"; then
13712 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
13714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13715 for as_dir in $PATH
13718 test -z "$as_dir" && as_dir=.
13719 for ac_exec_ext in '' $ac_executable_extensions; do
13720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13721 ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
13722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13731 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
13732 if test -n "$ac_ct_CC_FOR_BUILD"; then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
13734 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13737 $as_echo "no" >&6; }
13740 if test "x$ac_ct_CC_FOR_BUILD" = x; then
13743 case $cross_compiling:$ac_tool_warned in
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
13746 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
13747 ac_tool_warned=yes ;;
13749 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
13752 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
13755 if test -z "$CC_FOR_BUILD"; then
13756 if test -n "$ac_tool_prefix"; then
13757 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13758 set dummy ${ac_tool_prefix}cc; ac_word=$2
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13760 $as_echo_n "checking for $ac_word... " >&6; }
13761 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13762 $as_echo_n "(cached) " >&6
13764 if test -n "$CC_FOR_BUILD"; then
13765 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13768 for as_dir in $PATH
13771 test -z "$as_dir" && as_dir=.
13772 for ac_exec_ext in '' $ac_executable_extensions; do
13773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13774 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc"
13775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13784 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13785 if test -n "$CC_FOR_BUILD"; then
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13787 $as_echo "$CC_FOR_BUILD" >&6; }
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13790 $as_echo "no" >&6; }
13796 if test -z "$CC_FOR_BUILD"; then
13797 # Extract the first word of "cc", so it can be a program name with args.
13798 set dummy cc; ac_word=$2
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13800 $as_echo_n "checking for $ac_word... " >&6; }
13801 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13802 $as_echo_n "(cached) " >&6
13804 if test -n "$CC_FOR_BUILD"; then
13805 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13807 ac_prog_rejected=no
13808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13809 for as_dir in $PATH
13812 test -z "$as_dir" && as_dir=.
13813 for ac_exec_ext in '' $ac_executable_extensions; do
13814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13815 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13816 ac_prog_rejected=yes
13819 ac_cv_prog_CC_FOR_BUILD="cc"
13820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13827 if test $ac_prog_rejected = yes; then
13828 # We found a bogon in the path, so make sure we never use it.
13829 set dummy $ac_cv_prog_CC_FOR_BUILD
13831 if test $# != 0; then
13832 # We chose a different compiler from the bogus one.
13833 # However, it has the same basename, so the bogon will be chosen
13834 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
13836 ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
13841 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13842 if test -n "$CC_FOR_BUILD"; then
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13844 $as_echo "$CC_FOR_BUILD" >&6; }
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13847 $as_echo "no" >&6; }
13852 if test -z "$CC_FOR_BUILD"; then
13853 if test -n "$ac_tool_prefix"; then
13854 for ac_prog in cl.exe
13856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13859 $as_echo_n "checking for $ac_word... " >&6; }
13860 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
13861 $as_echo_n "(cached) " >&6
13863 if test -n "$CC_FOR_BUILD"; then
13864 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
13866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13867 for as_dir in $PATH
13870 test -z "$as_dir" && as_dir=.
13871 for ac_exec_ext in '' $ac_executable_extensions; do
13872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13873 ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog"
13874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13883 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
13884 if test -n "$CC_FOR_BUILD"; then
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
13886 $as_echo "$CC_FOR_BUILD" >&6; }
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13889 $as_echo "no" >&6; }
13893 test -n "$CC_FOR_BUILD" && break
13896 if test -z "$CC_FOR_BUILD"; then
13897 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
13898 for ac_prog in cl.exe
13900 # Extract the first word of "$ac_prog", so it can be a program name with args.
13901 set dummy $ac_prog; ac_word=$2
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13903 $as_echo_n "checking for $ac_word... " >&6; }
13904 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
13905 $as_echo_n "(cached) " >&6
13907 if test -n "$ac_ct_CC_FOR_BUILD"; then
13908 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
13910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13911 for as_dir in $PATH
13914 test -z "$as_dir" && as_dir=.
13915 for ac_exec_ext in '' $ac_executable_extensions; do
13916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13917 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
13918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13927 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
13928 if test -n "$ac_ct_CC_FOR_BUILD"; then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
13930 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13933 $as_echo "no" >&6; }
13937 test -n "$ac_ct_CC_FOR_BUILD" && break
13940 if test "x$ac_ct_CC_FOR_BUILD" = x; then
13943 case $cross_compiling:$ac_tool_warned in
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
13946 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
13947 ac_tool_warned=yes ;;
13949 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
13956 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13958 as_fn_error $? "no acceptable C compiler found in \$PATH
13959 See \`config.log' for more details" "$LINENO" 5; }
13961 # Provide some information about the compiler.
13962 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13963 set X $ac_build_compile
13965 for ac_option in --version -v -V -qversion; do
13966 { { ac_try="$ac_compiler $ac_option >&5"
13967 case "(($ac_try" in
13968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13969 *) ac_try_echo=$ac_try;;
13971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13972 $as_echo "$ac_try_echo"; } >&5
13973 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13975 if test -s conftest.err; then
13977 ... rest of stderr output deleted ...
13978 10q' conftest.err >conftest.er1
13979 cat conftest.er1 >&5
13981 rm -f conftest.er1 conftest.err
13982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13983 test $ac_status = 0; }
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13987 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13988 if ${ac_cv_c_compiler_gnu+:} false; then :
13989 $as_echo_n "(cached) " >&6
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
14005 if ac_fn_c_try_compile "$LINENO"; then :
14006 ac_compiler_gnu=yes
14010 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14015 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14016 if test $ac_compiler_gnu = yes; then
14021 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
14022 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
14024 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
14025 if ${ac_cv_build_prog_cc_g+:} false; then :
14026 $as_echo_n "(cached) " >&6
14028 ac_save_c_werror_flag=$ac_c_werror_flag
14029 ac_c_werror_flag=yes
14030 ac_cv_build_prog_cc_g=no
14031 CFLAGS_FOR_BUILD="-g"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14043 if ac_fn_c_try_compile "$LINENO"; then :
14044 ac_cv_build_prog_cc_g=yes
14046 CFLAGS_FOR_BUILD=""
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14058 if ac_fn_c_try_compile "$LINENO"; then :
14061 ac_c_werror_flag=$ac_save_c_werror_flag
14062 CFLAGS_FOR_BUILD="-g"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14074 if ac_fn_c_try_compile "$LINENO"; then :
14075 ac_cv_build_prog_cc_g=yes
14077 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14079 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14081 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
14082 ac_c_werror_flag=$ac_save_c_werror_flag
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
14085 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
14086 if test "$ac_test_CFLAGS" = set; then
14087 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
14088 elif test $ac_cv_build_prog_cc_g = yes; then
14089 if test "$GCC" = yes; then
14090 CFLAGS_FOR_BUILD="-g -O2"
14092 CFLAGS_FOR_BUILD="-g"
14095 if test "$GCC" = yes; then
14096 CFLAGS_FOR_BUILD="-O2"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
14102 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
14103 if ${ac_cv_prog_cc_c89+:} false; then :
14104 $as_echo_n "(cached) " >&6
14106 ac_cv_prog_cc_c89=no
14107 ac_save_CC=$CC_FOR_BUILD
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 #include <stdarg.h>
14113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14114 struct buf { int x; };
14115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14116 static char *e (p, i)
14122 static char *f (char * (*g) (char **, int), char **p, ...)
14127 s = g (p, va_arg (v,int));
14132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14133 function prototypes and stuff, but not '\xHH' hex character constants.
14134 These don't provoke an error unfortunately, instead are silently treated
14135 as 'x'. The following induces an error, until -std is added to get
14136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14137 array size at least. It's necessary to write '\x00'==0 to get something
14138 that's true only with -std. */
14139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14141 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14142 inside strings and character constants. */
14144 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14146 int test (int i, double x);
14147 struct s1 {int (*f) (int a);};
14148 struct s2 {int (*f) (double a);};
14149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14163 CC_FOR_BUILD="$ac_save_CC $ac_arg"
14164 if ac_fn_c_try_compile "$LINENO"; then :
14165 ac_cv_prog_cc_c89=$ac_arg
14167 rm -f core conftest.err conftest.$ac_build_objext
14168 test "x$ac_cv_prog_cc_c89" != "xno" && break
14170 rm -f conftest.$ac_ext
14171 CC_FOR_BUILD=$ac_save_CC
14175 case "x$ac_cv_prog_cc_c89" in
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14178 $as_echo "none needed" >&6; } ;;
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14181 $as_echo "unsupported" >&6; } ;;
14183 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14185 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14187 if test "x$ac_cv_prog_cc_c89" != xno; then :
14192 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14193 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14194 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'
14195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14198 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14199 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14200 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'
14201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
14203 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
14204 if ${am_cv_prog_cc_c_o+:} false; then :
14205 $as_echo_n "(cached) " >&6
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14218 # Make sure it works both with $CC and with simple cc.
14219 # Following AC_PROG_CC_C_O, we do the test twice because some
14220 # compilers refuse to overwrite an existing .o file with -o,
14221 # though they will create one.
14222 am_cv_prog_cc_c_o=yes
14223 for am_i in 1 2; do
14224 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
14225 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } \
14229 && test -f conftest2.$ac_build_objext; then
14232 am_cv_prog_cc_c_o=no
14236 rm -f core conftest*
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
14240 $as_echo "$am_cv_prog_cc_c_o" >&6; }
14241 if test "$am_cv_prog_cc_c_o" != yes; then
14242 # Losing compiler, so override with the script.
14243 # FIXME: It is wrong to rewrite CC.
14244 # But if we don't then we get into trouble of one sort or another.
14245 # A longer-term fix would be to have automake use am__CC in this case,
14246 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14247 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
14250 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14251 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14252 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'
14253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14256 depcc="$CC_FOR_BUILD" am_compiler_list=
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14259 $as_echo_n "checking dependency style of $depcc... " >&6; }
14260 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14261 $as_echo_n "(cached) " >&6
14263 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14264 # We make a subdir and do the tests there. Otherwise we can end up
14265 # making bogus files that we don't know about and never remove. For
14266 # instance it was reported that on HP-UX the gcc test will end up
14267 # making a dummy file named 'D' -- because '-MD' means "put the output
14269 rm -rf conftest.dir
14271 # Copy depcomp to subdir because otherwise we won't find it if we're
14272 # using a relative directory.
14273 cp "$am_depcomp" conftest.dir
14275 # We will build objects and dependencies in a subdirectory because
14276 # it helps to detect inapplicable dependency modes. For instance
14277 # both Tru64's cc and ICC support -MD to output dependencies as a
14278 # side effect of compilation, but ICC will put the dependencies in
14279 # the current directory while Tru64 will put them in the object
14283 am_cv_CC_dependencies_compiler_type=none
14284 if test "$am_compiler_list" = ""; then
14285 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14287 am__universal=false
14288 case " $depcc " in #(
14289 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14292 for depmode in $am_compiler_list; do
14293 # Setup a source with many dependencies, because some compilers
14294 # like to wrap large dependency lists on column 80 (with \), and
14295 # we should not choose a depcomp mode which is confused by this.
14297 # We need to recreate these files for each test, as the compiler may
14298 # overwrite some of them when testing with obscure command lines.
14299 # This happens at least with the AIX C compiler.
14301 for i in 1 2 3 4 5 6; do
14302 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14303 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14304 # Solaris 10 /bin/sh.
14305 echo '/* dummy */' > sub/conftst$i.h
14307 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14309 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14310 # mode. It turns out that the SunPro C++ compiler does not properly
14311 # handle '-M -o', and we need to detect this. Also, some Intel
14312 # versions had trouble with output in subdirs.
14313 am__obj=sub/conftest.${OBJEXT-o}
14314 am__minus_obj="-o $am__obj"
14317 # This depmode causes a compiler race in universal mode.
14318 test "$am__universal" = false || continue
14321 # After this tag, mechanisms are not by side-effect, so they'll
14322 # only be used when explicitly requested.
14323 if test "x$enable_dependency_tracking" = xyes; then
14329 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14330 # This compiler won't grok '-c -o', but also, the minuso test has
14331 # not run yet. These depmodes are late enough in the game, and
14332 # so weak that their functioning should not be impacted.
14333 am__obj=conftest.${OBJEXT-o}
14338 if depmode=$depmode \
14339 source=sub/conftest.c object=$am__obj \
14340 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14341 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14342 >/dev/null 2>conftest.err &&
14343 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14344 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14345 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14346 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14347 # icc doesn't choke on unknown options, it will just issue warnings
14348 # or remarks (even with -Werror). So we grep stderr for any message
14349 # that says an option was ignored or not supported.
14350 # When given -MP, icc 7.0 and 7.1 complain thusly:
14351 # icc: Command line warning: ignoring option '-M'; no argument required
14352 # The diagnosis changed in icc 8.0:
14353 # icc: Command line remark: option '-MP' not supported
14354 if (grep 'ignoring option' conftest.err ||
14355 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14356 am_cv_CC_dependencies_compiler_type=$depmode
14363 rm -rf conftest.dir
14365 am_cv_CC_dependencies_compiler_type=none
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14370 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14371 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14374 test "x$enable_dependency_tracking" != xno \
14375 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14376 am__fastdepCC_TRUE=
14377 am__fastdepCC_FALSE='#'
14379 am__fastdepCC_TRUE='#'
14380 am__fastdepCC_FALSE=
14385 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14386 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14387 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'
14388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
14390 $as_echo_n "checking how to run the C preprocessor... " >&6; }
14391 # On Suns, sometimes $CPP names a directory.
14392 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
14395 if test -z "$CPP_FOR_BUILD"; then
14396 if ${ac_cv_build_prog_CPP+:} false; then :
14397 $as_echo_n "(cached) " >&6
14399 # Double quotes because CPP needs to be expanded
14400 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
14402 ac_preproc_ok=false
14403 for ac_c_preproc_warn_flag in '' yes
14405 # Use a header file that comes with gcc, so configuring glibc
14406 # with a fresh cross-compiler works.
14407 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14408 # <limits.h> exists even on freestanding compilers.
14409 # On the NeXT, cc -E runs the code through the compiler's parser,
14410 # not just through cpp. "Syntax error" is here to catch this case.
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14414 # include <limits.h>
14416 # include <assert.h>
14420 if ac_fn_c_try_cpp "$LINENO"; then :
14423 # Broken: fails on valid input.
14426 rm -f conftest.err conftest.i conftest.$ac_ext
14428 # OK, works on sane cases. Now check whether nonexistent headers
14429 # can be detected and how.
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14432 #include <ac_nonexistent.h>
14434 if ac_fn_c_try_cpp "$LINENO"; then :
14435 # Broken: success on invalid input.
14438 # Passes both tests.
14442 rm -f conftest.err conftest.i conftest.$ac_ext
14445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14446 rm -f conftest.i conftest.err conftest.$ac_ext
14447 if $ac_preproc_ok; then :
14452 ac_cv_build_prog_CPP=$CPP_FOR_BUILD
14455 CPP_FOR_BUILD=$ac_cv_build_prog_CPP
14457 ac_cv_build_prog_CPP=$CPP_FOR_BUILD
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
14460 $as_echo "$CPP_FOR_BUILD" >&6; }
14461 ac_preproc_ok=false
14462 for ac_c_preproc_warn_flag in '' yes
14464 # Use a header file that comes with gcc, so configuring glibc
14465 # with a fresh cross-compiler works.
14466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14467 # <limits.h> exists even on freestanding compilers.
14468 # On the NeXT, cc -E runs the code through the compiler's parser,
14469 # not just through cpp. "Syntax error" is here to catch this case.
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14473 # include <limits.h>
14475 # include <assert.h>
14479 if ac_fn_c_try_cpp "$LINENO"; then :
14482 # Broken: fails on valid input.
14485 rm -f conftest.err conftest.i conftest.$ac_ext
14487 # OK, works on sane cases. Now check whether nonexistent headers
14488 # can be detected and how.
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491 #include <ac_nonexistent.h>
14493 if ac_fn_c_try_cpp "$LINENO"; then :
14494 # Broken: success on invalid input.
14497 # Passes both tests.
14501 rm -f conftest.err conftest.i conftest.$ac_ext
14504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14505 rm -f conftest.i conftest.err conftest.$ac_ext
14506 if $ac_preproc_ok; then :
14509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14511 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
14512 See \`config.log' for more details" "$LINENO" 5; }
14516 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
14517 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
14518 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'
14519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14523 ac_tool_prefix=$save_ac_tool_prefix
14524 cross_compiling=$save_cross_compiling
14527 BUILD_EXEEXT=$ac_build_exeext
14528 BUILD_OBJEXT=$ac_build_objext
14531 # Checks for compiler characteristics.
14532 if test "x$GCC" = "xyes"; then
14533 CFLAGS="$CFLAGS -Wall -ansi "
14536 # Checks for library functions.
14537 for ac_func in memmove memset strdup
14539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14542 cat >>confdefs.h <<_ACEOF
14543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14550 $as_echo_n "checking return type of signal handlers... " >&6; }
14551 if ${ac_cv_type_signal+:} false; then :
14552 $as_echo_n "(cached) " >&6
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 #include <sys/types.h>
14557 #include <signal.h>
14562 return *(signal (0, 0)) (0) == 1;
14567 if ac_fn_c_try_compile "$LINENO"; then :
14568 ac_cv_type_signal=int
14570 ac_cv_type_signal=void
14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14575 $as_echo "$ac_cv_type_signal" >&6; }
14577 cat >>confdefs.h <<_ACEOF
14578 #define RETSIGTYPE $ac_cv_type_signal
14583 # Checks for configure options
14587 # Check whether --enable-debug was given.
14588 if test "${enable_debug+set}" = set; then :
14589 enableval=$enable_debug;
14594 if test x$enable_debug = xyes; then
14596 $as_echo "#define DEBUG 1" >>confdefs.h
14600 # --disable-deprecated
14601 # Check whether --enable-deprecated was given.
14602 if test "${enable_deprecated+set}" = set; then :
14603 enableval=$enable_deprecated;
14606 if test x$enable_deprecated = xno; then
14608 $as_echo "#define FRIBIDI_NO_DEPRECATED 1" >>confdefs.h
14613 # Check whether --enable-docs was given.
14614 if test "${enable_docs+set}" = set; then :
14615 enableval=$enable_docs;
14620 if test x$enable_docs = xyes; then
14621 for ac_prog in c2man
14623 # Extract the first word of "$ac_prog", so it can be a program name with args.
14624 set dummy $ac_prog; ac_word=$2
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14626 $as_echo_n "checking for $ac_word... " >&6; }
14627 if ${ac_cv_prog_C2MAN+:} false; then :
14628 $as_echo_n "(cached) " >&6
14630 if test -n "$C2MAN"; then
14631 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
14633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14634 for as_dir in $PATH
14637 test -z "$as_dir" && as_dir=.
14638 for ac_exec_ext in '' $ac_executable_extensions; do
14639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14640 ac_cv_prog_C2MAN="$ac_prog"
14641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14650 C2MAN=$ac_cv_prog_C2MAN
14651 if test -n "$C2MAN"; then
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $C2MAN" >&5
14653 $as_echo "$C2MAN" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14656 $as_echo "no" >&6; }
14660 test -n "$C2MAN" && break
14663 if test -z "$C2MAN"; then
14664 as_fn_error $? "c2man is required to build documentation" "$LINENO" 5
14667 if test -n "$C2MAN"; then
14668 FRIBIDI_ENABLE_DOC_TRUE=
14669 FRIBIDI_ENABLE_DOC_FALSE='#'
14671 FRIBIDI_ENABLE_DOC_TRUE='#'
14672 FRIBIDI_ENABLE_DOC_FALSE=
14677 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"
14679 cat >confcache <<\_ACEOF
14680 # This file is a shell script that caches the results of configure
14681 # tests run on this system so they can be shared between configure
14682 # scripts and configure runs, see configure's option --config-cache.
14683 # It is not useful on other systems. If it contains results you don't
14684 # want to keep, you may remove or edit it.
14686 # config.status only pays attention to the cache file if you give it
14687 # the --recheck option to rerun configure.
14689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14691 # following values.
14695 # The following way of writing the cache mishandles newlines in values,
14696 # but we know of no workaround that is simple, portable, and efficient.
14697 # So, we kill variables containing newlines.
14698 # Ultrix sh set writes to stderr and can't be redirected directly,
14699 # and sets the high bit in the cache file unless we assign to the vars.
14701 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14702 eval ac_val=\$$ac_var
14706 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14707 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14710 _ | IFS | as_nl) ;; #(
14711 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14712 *) { eval $ac_var=; unset $ac_var;} ;;
14718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14719 *${as_nl}ac_space=\ *)
14720 # `set' does not quote correctly, so add quotes: double-quote
14721 # substitution turns \\\\ into \\, and sed turns \\ into \.
14724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14727 # `set' quotes correctly as required by POSIX, so do not add quotes.
14728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14742 if test -w "$cache_file"; then
14743 if test "x$cache_file" != "x/dev/null"; then
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14745 $as_echo "$as_me: updating cache $cache_file" >&6;}
14746 if test ! -f "$cache_file" || test -h "$cache_file"; then
14747 cat confcache >"$cache_file"
14749 case $cache_file in #(
14751 mv -f confcache "$cache_file"$$ &&
14752 mv -f "$cache_file"$$ "$cache_file" ;; #(
14754 mv -f confcache "$cache_file" ;;
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14760 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14765 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14766 # Let make expand exec_prefix.
14767 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14769 DEFS=-DHAVE_CONFIG_H
14774 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14775 # 1. Remove the extension, and $U if already installed.
14776 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14777 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14778 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14779 # will be set to the directory where LIBOBJS objects are built.
14780 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14781 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14783 LIBOBJS=$ac_libobjs
14785 LTLIBOBJS=$ac_ltlibobjs
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14789 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14790 if test -n "$am_sleep_pid"; then
14791 # Hide warnings about reused PIDs.
14792 wait $am_sleep_pid 2>/dev/null
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14795 $as_echo "done" >&6; }
14796 if test -n "$EXEEXT"; then
14798 am__EXEEXT_FALSE='#'
14800 am__EXEEXT_TRUE='#'
14804 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14805 as_fn_error $? "conditional \"AMDEP\" was never defined.
14806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14808 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14809 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14812 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14813 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14816 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14817 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14820 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14821 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14824 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14825 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14828 if test -z "${FRIBIDI_ENABLE_DOC_TRUE}" && test -z "${FRIBIDI_ENABLE_DOC_FALSE}"; then
14829 as_fn_error $? "conditional \"FRIBIDI_ENABLE_DOC\" was never defined.
14830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14833 : "${CONFIG_STATUS=./config.status}"
14835 ac_clean_files_save=$ac_clean_files
14836 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14838 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14840 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14842 # Generated by $as_me.
14843 # Run this file to recreate the current configuration.
14844 # Compiler output produced by configure, useful for debugging
14845 # configure, is in config.log if it exists.
14848 ac_cs_recheck=false
14851 SHELL=\${CONFIG_SHELL-$SHELL}
14854 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14855 ## -------------------- ##
14856 ## M4sh Initialization. ##
14857 ## -------------------- ##
14859 # Be more Bourne compatible
14860 DUALCASE=1; export DUALCASE # for MKS sh
14861 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14864 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14865 # is contrary to our usage. Disable this feature.
14866 alias -g '${1+"$@"}'='"$@"'
14867 setopt NO_GLOB_SUBST
14869 case `(set -o) 2>/dev/null` in #(
14881 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14882 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14884 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14885 # Prefer a ksh shell builtin over an external printf program on Solaris,
14886 # but without wasting forks for bash or zsh.
14887 if test -z "$BASH_VERSION$ZSH_VERSION" \
14888 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14889 as_echo='print -r --'
14890 as_echo_n='print -rn --'
14891 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14892 as_echo='printf %s\n'
14893 as_echo_n='printf %s'
14895 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14896 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14897 as_echo_n='/usr/ucb/echo -n'
14899 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14900 as_echo_n_body='eval
14904 expr "X$arg" : "X\\(.*\\)$as_nl";
14905 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14907 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14909 export as_echo_n_body
14910 as_echo_n='sh -c $as_echo_n_body as_echo'
14912 export as_echo_body
14913 as_echo='sh -c $as_echo_body as_echo'
14916 # The user is always right.
14917 if test "${PATH_SEPARATOR+set}" != set; then
14919 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14920 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14927 # We need space, tab and new line, in precisely that order. Quoting is
14928 # there to prevent editors from complaining about space-tab.
14929 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14930 # splitting by setting IFS to empty value.)
14933 # Find who we are. Look in the path if we contain no directory separator.
14936 *[\\/]* ) as_myself=$0 ;;
14937 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14938 for as_dir in $PATH
14941 test -z "$as_dir" && as_dir=.
14942 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14948 # We did not find ourselves, most probably we were run as `sh COMMAND'
14949 # in which case we are not to be found in the path.
14950 if test "x$as_myself" = x; then
14953 if test ! -f "$as_myself"; then
14954 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14958 # Unset variables that we do not need and which cause bugs (e.g. in
14959 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14960 # suppresses any "Segmentation fault" message there. '((' could
14961 # trigger a bug in pdksh 5.2.14.
14962 for as_var in BASH_ENV ENV MAIL MAILPATH
14963 do eval test x\${$as_var+set} = xset \
14964 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14980 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14981 # ----------------------------------------
14982 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14983 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14984 # script with STATUS, using 1 if that was 0.
14987 as_status=$1; test $as_status -eq 0 && as_status=1
14989 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14990 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14992 $as_echo "$as_me: error: $2" >&2
14993 as_fn_exit $as_status
14997 # as_fn_set_status STATUS
14998 # -----------------------
14999 # Set $? to STATUS, without forking.
15000 as_fn_set_status ()
15003 } # as_fn_set_status
15005 # as_fn_exit STATUS
15006 # -----------------
15007 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15011 as_fn_set_status $1
15017 # Portably unset VAR.
15020 { eval $1=; unset $1;}
15022 as_unset=as_fn_unset
15023 # as_fn_append VAR VALUE
15024 # ----------------------
15025 # Append the text in VALUE to the end of the definition contained in VAR. Take
15026 # advantage of any shell optimizations that allow amortized linear growth over
15027 # repeated appends, instead of the typical quadratic growth present in naive
15029 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15030 eval 'as_fn_append ()
15041 # as_fn_arith ARG...
15042 # ------------------
15043 # Perform arithmetic evaluation on the ARGs, and store the result in the
15044 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15045 # must be portable across $(()) and expr.
15046 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15047 eval 'as_fn_arith ()
15054 as_val=`expr "$@" || test $? -eq 1`
15059 if expr a : '\(a\)' >/dev/null 2>&1 &&
15060 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15066 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15067 as_basename=basename
15072 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15078 as_me=`$as_basename -- "$0" ||
15079 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15080 X"$0" : 'X\(//\)$' \| \
15081 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15083 sed '/^.*\/\([^/][^/]*\)\/*$/{
15097 # Avoid depending upon Character Ranges.
15098 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15099 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15100 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15101 as_cr_digits='0123456789'
15102 as_cr_alnum=$as_cr_Letters$as_cr_digits
15104 ECHO_C= ECHO_N= ECHO_T=
15105 case `echo -n x` in #(((((
15107 case `echo 'xy\c'` in
15108 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15110 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15117 rm -f conf$$ conf$$.exe conf$$.file
15118 if test -d conf$$.dir; then
15119 rm -f conf$$.dir/conf$$.file
15122 mkdir conf$$.dir 2>/dev/null
15124 if (echo >conf$$.file) 2>/dev/null; then
15125 if ln -s conf$$.file conf$$ 2>/dev/null; then
15127 # ... but there are two gotchas:
15128 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15129 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15130 # In both cases, we have to default to `cp -pR'.
15131 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15133 elif ln conf$$.file conf$$ 2>/dev/null; then
15141 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15142 rmdir conf$$.dir 2>/dev/null
15147 # Create "$as_dir" as a directory, including parents if necessary.
15152 -*) as_dir=./$as_dir;;
15154 test -d "$as_dir" || eval $as_mkdir_p || {
15158 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15159 *) as_qdir=$as_dir;;
15161 as_dirs="'$as_qdir' $as_dirs"
15162 as_dir=`$as_dirname -- "$as_dir" ||
15163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15164 X"$as_dir" : 'X\(//\)[^/]' \| \
15165 X"$as_dir" : 'X\(//\)$' \| \
15166 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15167 $as_echo X"$as_dir" |
15168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15172 /^X\(\/\/\)[^/].*/{
15185 test -d "$as_dir" && break
15187 test -z "$as_dirs" || eval "mkdir $as_dirs"
15188 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15192 if mkdir -p . 2>/dev/null; then
15193 as_mkdir_p='mkdir -p "$as_dir"'
15195 test -d ./-p && rmdir ./-p
15200 # as_fn_executable_p FILE
15201 # -----------------------
15202 # Test if FILE is an executable regular file.
15203 as_fn_executable_p ()
15205 test -f "$1" && test -x "$1"
15206 } # as_fn_executable_p
15207 as_test_x='test -x'
15208 as_executable_p=as_fn_executable_p
15210 # Sed expression to map a string onto a valid CPP name.
15211 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15213 # Sed expression to map a string onto a valid variable name.
15214 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15218 ## ----------------------------------- ##
15219 ## Main body of $CONFIG_STATUS script. ##
15220 ## ----------------------------------- ##
15222 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15225 # Save the log message, to keep $0 and so on meaningful, and to
15226 # report actual input values of CONFIG_FILES etc. instead of their
15227 # values after options handling.
15229 This file was extended by GNU FriBidi $as_me 1.0.2, which was
15230 generated by GNU Autoconf 2.69. Invocation command line was
15232 CONFIG_FILES = $CONFIG_FILES
15233 CONFIG_HEADERS = $CONFIG_HEADERS
15234 CONFIG_LINKS = $CONFIG_LINKS
15235 CONFIG_COMMANDS = $CONFIG_COMMANDS
15238 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15243 case $ac_config_files in *"
15244 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15247 case $ac_config_headers in *"
15248 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15253 # Files that config.status was made for.
15254 config_files="$ac_config_files"
15255 config_headers="$ac_config_headers"
15256 config_commands="$ac_config_commands"
15260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15262 \`$as_me' instantiates files and other configuration actions
15263 from templates according to the current configuration. Unless the files
15264 and actions are specified as TAGs, all are instantiated by default.
15266 Usage: $0 [OPTION]... [TAG]...
15268 -h, --help print this help, then exit
15269 -V, --version print version number and configuration settings, then exit
15270 --config print configuration, then exit
15271 -q, --quiet, --silent
15272 do not print progress messages
15273 -d, --debug don't remove temporary files
15274 --recheck update $as_me by reconfiguring in the same conditions
15275 --file=FILE[:TEMPLATE]
15276 instantiate the configuration file FILE
15277 --header=FILE[:TEMPLATE]
15278 instantiate the configuration header FILE
15280 Configuration files:
15283 Configuration headers:
15286 Configuration commands:
15289 Report bugs to <https://github.com/fribidi/fribidi/issues/new>.
15290 GNU FriBidi home page: <http://fribidi.org/>.
15291 General help using GNU software: <http://www.gnu.org/gethelp/>."
15294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15297 GNU FriBidi config.status 1.0.2
15298 configured by $0, generated by GNU Autoconf 2.69,
15299 with options \\"\$ac_cs_config\\"
15301 Copyright (C) 2012 Free Software Foundation, Inc.
15302 This config.status script is free software; the Free Software Foundation
15303 gives unlimited permission to copy, distribute and modify it."
15310 test -n "\$AWK" || AWK=awk
15313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15314 # The default lists apply if the user does not specify any file.
15320 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15321 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15325 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15337 # Handling of the options.
15338 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15340 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15341 $as_echo "$ac_cs_version"; exit ;;
15342 --config | --confi | --conf | --con | --co | --c )
15343 $as_echo "$ac_cs_config"; exit ;;
15344 --debug | --debu | --deb | --de | --d | -d )
15346 --file | --fil | --fi | --f )
15349 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15350 '') as_fn_error $? "missing file argument" ;;
15352 as_fn_append CONFIG_FILES " '$ac_optarg'"
15353 ac_need_defaults=false;;
15354 --header | --heade | --head | --hea )
15357 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15359 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15360 ac_need_defaults=false;;
15362 # Conflict between --help and --header
15363 as_fn_error $? "ambiguous option: \`$1'
15364 Try \`$0 --help' for more information.";;
15365 --help | --hel | -h )
15366 $as_echo "$ac_cs_usage"; exit ;;
15367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15368 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15371 # This is an error.
15372 -*) as_fn_error $? "unrecognized option: \`$1'
15373 Try \`$0 --help' for more information." ;;
15375 *) as_fn_append ac_config_targets " $1"
15376 ac_need_defaults=false ;;
15382 ac_configure_extra_args=
15384 if $ac_cs_silent; then
15386 ac_configure_extra_args="$ac_configure_extra_args --silent"
15390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15391 if \$ac_cs_recheck; then
15392 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15394 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15395 CONFIG_SHELL='$SHELL'
15396 export CONFIG_SHELL
15401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15405 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15406 ## Running $as_me. ##
15412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15416 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15419 # The HP-UX ksh and POSIX shell print the target directory to stdout
15420 # if CDPATH is set.
15421 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15423 sed_quote_subst='$sed_quote_subst'
15424 double_quote_subst='$double_quote_subst'
15425 delay_variable_subst='$delay_variable_subst'
15426 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15427 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15428 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15429 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15430 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15431 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15432 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15433 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15434 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15435 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15436 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15437 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15438 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15439 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15440 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15441 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15442 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15443 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15444 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15445 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15446 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15447 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15448 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15449 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15450 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15451 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15452 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15453 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15454 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15455 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15456 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15457 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15458 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15459 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15460 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15461 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15462 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15463 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15464 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15465 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15466 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15467 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15468 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15469 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15470 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15471 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15472 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15473 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15474 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15475 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15476 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15477 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15478 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15479 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15480 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15481 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15482 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15483 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15484 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"`'
15485 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15486 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15487 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15488 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15489 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15490 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15491 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15492 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15493 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15494 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15495 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15496 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15497 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15498 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15499 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15500 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15501 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15502 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15503 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15504 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15505 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15506 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15507 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15508 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15509 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15510 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15511 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15512 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15513 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15514 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15515 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15516 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15517 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15518 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15519 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15520 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15521 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15522 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15523 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15524 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15525 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15526 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15527 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15528 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15529 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15530 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15531 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15532 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15533 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15534 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15535 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15536 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15537 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15538 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15539 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15540 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15541 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15542 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15543 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15544 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15545 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15546 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15547 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15548 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15549 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15550 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15551 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15552 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15553 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15554 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15555 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15556 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15557 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15558 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15559 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15560 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15563 LTCFLAGS='$LTCFLAGS'
15564 compiler='$compiler_DEFAULT'
15566 # A function that is used when there is no print builtin or printf.
15567 func_fallback_echo ()
15569 eval 'cat <<_LTECHO_EOF
15574 # Quote evaled strings.
15589 deplibs_check_method \
15594 sharedlib_from_linklib_cmd \
15597 archiver_list_spec \
15603 lt_cv_sys_global_symbol_pipe \
15604 lt_cv_sys_global_symbol_to_cdecl \
15605 lt_cv_sys_global_symbol_to_import \
15606 lt_cv_sys_global_symbol_to_c_name_address \
15607 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15608 lt_cv_nm_interface \
15609 nm_file_list_spec \
15610 lt_cv_truncate_bin \
15611 lt_prog_compiler_no_builtin_flag \
15612 lt_prog_compiler_pic \
15613 lt_prog_compiler_wl \
15614 lt_prog_compiler_static \
15615 lt_cv_prog_compiler_c_o \
15624 export_dynamic_flag_spec \
15625 whole_archive_flag_spec \
15626 compiler_needs_object \
15628 allow_undefined_flag \
15629 no_undefined_flag \
15630 hardcode_libdir_flag_spec \
15631 hardcode_libdir_separator \
15635 variables_saved_for_relink \
15637 library_names_spec \
15639 install_override_mode \
15643 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15644 *[\\\\\\\`\\"\\\$]*)
15645 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15648 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15653 # Double-quote double-evaled strings.
15654 for var in reload_cmds \
15655 old_postinstall_cmds \
15656 old_postuninstall_cmds \
15658 extract_expsyms_cmds \
15659 old_archive_from_new_cmds \
15660 old_archive_from_expsyms_cmds \
15662 archive_expsym_cmds \
15664 module_expsym_cmds \
15665 export_symbols_cmds \
15669 postuninstall_cmds \
15671 sys_lib_search_path_spec \
15672 configure_time_dlsearch_path \
15673 configure_time_lt_sys_library_path; do
15674 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15675 *[\\\\\\\`\\"\\\$]*)
15676 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15679 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15684 ac_aux_dir='$ac_aux_dir'
15686 # See if we are running on zsh, and set the options that allow our
15687 # commands through without removal of \ escapes INIT.
15688 if test -n "\${ZSH_VERSION+set}"; then
15689 setopt NO_GLOB_SUBST
15703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15705 # Handling of arguments.
15706 for ac_config_target in $ac_config_targets
15708 case $ac_config_target in
15709 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15710 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15711 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15712 "fribidi.pc") CONFIG_FILES="$CONFIG_FILES fribidi.pc" ;;
15713 "lib/fribidi-config.h") CONFIG_FILES="$CONFIG_FILES lib/fribidi-config.h" ;;
15714 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15715 "gen.tab/Makefile") CONFIG_FILES="$CONFIG_FILES gen.tab/Makefile" ;;
15716 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
15717 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
15718 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15719 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15720 "test/unicode-conformance/Makefile") CONFIG_FILES="$CONFIG_FILES test/unicode-conformance/Makefile" ;;
15722 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15727 # If the user did not use the arguments to specify the items to instantiate,
15728 # then the envvar interface is used. Set only those that are not.
15729 # We use the long form for the default assignment because of an extremely
15730 # bizarre bug on SunOS 4.1.3.
15731 if $ac_need_defaults; then
15732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15733 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15734 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15737 # Have a temporary directory for convenience. Make it in the build tree
15738 # simply because there is no reason against having it here, and in addition,
15739 # creating and moving files from /tmp can sometimes cause problems.
15740 # Hook for its removal unless debugging.
15741 # Note that there is a small window in which the directory will not be cleaned:
15742 # after its creation but before its name has been assigned to `$tmp'.
15746 trap 'exit_status=$?
15747 : "${ac_tmp:=$tmp}"
15748 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15750 trap 'as_fn_exit 1' 1 2 13 15
15752 # Create a (secure) tmp directory for tmp files.
15755 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15759 tmp=./conf$$-$RANDOM
15760 (umask 077 && mkdir "$tmp")
15761 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15764 # Set up the scripts for CONFIG_FILES section.
15765 # No need to generate them if there are no CONFIG_FILES.
15766 # This happens for instance with `./config.status config.h'.
15767 if test -n "$CONFIG_FILES"; then
15770 ac_cr=`echo X | tr X '\015'`
15771 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15772 # But we know of no other shell where ac_cr would be empty at this
15773 # point, so we can use a bashism as a fallback.
15774 if test "x$ac_cr" = x; then
15775 eval ac_cr=\$\'\\r\'
15777 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15778 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15781 ac_cs_awk_cr=$ac_cr
15784 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15789 echo "cat >conf$$subs.awk <<_ACEOF" &&
15790 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15792 } >conf$$subs.sh ||
15793 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15794 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15796 for ac_last_try in false false false false false :; do
15797 . ./conf$$subs.sh ||
15798 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15800 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15801 if test $ac_delim_n = $ac_delim_num; then
15803 elif $ac_last_try; then
15804 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15806 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15809 rm -f conf$$subs.sh
15811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15812 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15816 s/^/S["/; s/!.*/"]=/
15826 s/\(.\{148\}\)..*/\1/
15828 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15833 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15840 s/\(.\{148\}\)..*/\1/
15842 s/["\\]/\\&/g; s/^/"/; s/$/"/
15846 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15851 ' <conf$$subs.awk | sed '
15856 ' >>$CONFIG_STATUS || ac_write_fail=1
15857 rm -f conf$$subs.awk
15858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15860 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15861 for (key in S) S_is_set[key] = 1
15867 nfields = split(line, field, "@")
15869 len = length(field[1])
15870 for (i = 2; i < nfields; i++) {
15872 keylen = length(key)
15873 if (S_is_set[key]) {
15875 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15876 len += length(value) + length(field[++i])
15887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15888 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15889 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15892 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15893 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15896 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15897 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15898 # trailing colons and then remove the whole line if VPATH becomes empty
15899 # (actually we leave an empty line to preserve line numbers).
15900 if test "x$srcdir" = x.; then
15901 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15920 fi # test -n "$CONFIG_FILES"
15922 # Set up the scripts for CONFIG_HEADERS section.
15923 # No need to generate them if there are no CONFIG_HEADERS.
15924 # This happens for instance with `./config.status Makefile'.
15925 if test -n "$CONFIG_HEADERS"; then
15926 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15930 # Transform confdefs.h into an awk script `defines.awk', embedded as
15931 # here-document in config.status, that substitutes the proper values into
15932 # config.h.in to produce config.h.
15934 # Create a delimiter string that does not exist in confdefs.h, to ease
15935 # handling of long lines.
15937 for ac_last_try in false false :; do
15938 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15939 if test -z "$ac_tt"; then
15941 elif $ac_last_try; then
15942 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15944 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15948 # For the awk script, D is an array of macro values keyed by name,
15949 # likewise P contains macro parameters if any. Preserve backslash
15950 # newline sequences.
15952 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15954 s/.\{148\}/&'"$ac_delim"'/g
15957 s/^[ ]*#[ ]*define[ ][ ]*/ /
15964 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15966 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15970 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15971 D["\1"]=" \3\\\\\\n"\\/p
15973 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15978 s/.\{148\}/&'"$ac_delim"'/g
15983 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15986 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15988 ' <confdefs.h | sed '
15989 s/'"$ac_delim"'/"\\\
15990 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15993 for (key in D) D_is_set[key] = 1
15996 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15998 split(line, arg, " ")
15999 if (arg[1] == "#") {
16003 defundef = substr(arg[1], 2)
16006 split(mac1, mac2, "(") #)
16008 prefix = substr(line, 1, index(line, defundef) - 1)
16009 if (D_is_set[macro]) {
16010 # Preserve the white space surrounding the "#".
16011 print prefix "define", macro P[macro] D[macro]
16014 # Replace #undef with comments. This is necessary, for example,
16015 # in the case of _POSIX_SOURCE, which is predefined and required
16016 # on some systems where configure will not decide to define it.
16017 if (defundef == "undef") {
16018 print "/*", prefix defundef, macro, "*/"
16026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16027 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16028 fi # test -n "$CONFIG_HEADERS"
16031 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16036 :[FHLC]) ac_mode=$ac_tag; continue;;
16038 case $ac_mode$ac_tag in
16040 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16041 :[FH]-) ac_tag=-:-;;
16042 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16059 -) ac_f="$ac_tmp/stdin";;
16060 *) # Look for the file first in the build tree, then in the source tree
16061 # (if the path is not absolute). The absolute path cannot be DOS-style,
16062 # because $ac_f cannot contain `:'.
16066 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16068 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16070 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16071 as_fn_append ac_file_inputs " '$ac_f'"
16074 # Let's still pretend it is `configure' which instantiates (i.e., don't
16075 # use $as_me), people would be surprised to read:
16076 # /* config.h. Generated by config.status. */
16077 configure_input='Generated from '`
16078 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16080 if test x"$ac_file" != x-; then
16081 configure_input="$ac_file. $configure_input"
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16083 $as_echo "$as_me: creating $ac_file" >&6;}
16085 # Neutralize special characters interpreted by sed in replacement strings.
16086 case $configure_input in #(
16087 *\&* | *\|* | *\\* )
16088 ac_sed_conf_input=`$as_echo "$configure_input" |
16089 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16090 *) ac_sed_conf_input=$configure_input;;
16094 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16095 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16100 ac_dir=`$as_dirname -- "$ac_file" ||
16101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16102 X"$ac_file" : 'X\(//\)[^/]' \| \
16103 X"$ac_file" : 'X\(//\)$' \| \
16104 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16105 $as_echo X"$ac_file" |
16106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16110 /^X\(\/\/\)[^/].*/{
16123 as_dir="$ac_dir"; as_fn_mkdir_p
16127 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16129 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16130 # A ".." for each directory in $ac_dir_suffix.
16131 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16132 case $ac_top_builddir_sub in
16133 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16134 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16137 ac_abs_top_builddir=$ac_pwd
16138 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16139 # for backward compatibility:
16140 ac_top_builddir=$ac_top_build_prefix
16143 .) # We are building in place.
16145 ac_top_srcdir=$ac_top_builddir_sub
16146 ac_abs_top_srcdir=$ac_pwd ;;
16147 [\\/]* | ?:[\\/]* ) # Absolute name.
16148 ac_srcdir=$srcdir$ac_dir_suffix;
16149 ac_top_srcdir=$srcdir
16150 ac_abs_top_srcdir=$srcdir ;;
16151 *) # Relative name.
16152 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16153 ac_top_srcdir=$ac_top_build_prefix$srcdir
16154 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16156 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16166 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16167 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16169 ac_MKDIR_P=$MKDIR_P
16171 [\\/$]* | ?:[\\/]* ) ;;
16172 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16177 # If the template does not know about datarootdir, expand it.
16178 # FIXME: This hack should be removed a few years after 2.60.
16179 ac_datarootdir_hack=; ac_datarootdir_seen=
16190 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16191 *datarootdir*) ac_datarootdir_seen=yes;;
16192 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16194 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16197 ac_datarootdir_hack='
16198 s&@datadir@&$datadir&g
16199 s&@docdir@&$docdir&g
16200 s&@infodir@&$infodir&g
16201 s&@localedir@&$localedir&g
16202 s&@mandir@&$mandir&g
16203 s&\\\${datarootdir}&$datarootdir&g' ;;
16207 # Neutralize VPATH when `$srcdir' = `.'.
16208 # Shell code in configure.ac might set extrasub.
16209 # FIXME: do we really want to maintain this feature?
16210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16211 ac_sed_extra="$ac_vpsub
16214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16216 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16217 s|@configure_input@|$ac_sed_conf_input|;t t
16218 s&@top_builddir@&$ac_top_builddir_sub&;t t
16219 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16220 s&@srcdir@&$ac_srcdir&;t t
16221 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16222 s&@top_srcdir@&$ac_top_srcdir&;t t
16223 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16224 s&@builddir@&$ac_builddir&;t t
16225 s&@abs_builddir@&$ac_abs_builddir&;t t
16226 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16227 s&@INSTALL@&$ac_INSTALL&;t t
16228 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16229 $ac_datarootdir_hack
16231 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16232 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16234 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16235 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16236 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16237 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16239 which seems to be undefined. Please make sure it is defined" >&5
16240 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16241 which seems to be undefined. Please make sure it is defined" >&2;}
16243 rm -f "$ac_tmp/stdin"
16245 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16246 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16254 if test x"$ac_file" != x-; then
16256 $as_echo "/* $configure_input */" \
16257 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16258 } >"$ac_tmp/config.h" \
16259 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16260 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16262 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16265 mv "$ac_tmp/config.h" "$ac_file" \
16266 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16269 $as_echo "/* $configure_input */" \
16270 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16271 || as_fn_error $? "could not create -" "$LINENO" 5
16273 # Compute "$ac_file"'s index in $config_headers.
16276 for _am_header in $config_headers :; do
16277 case $_am_header in
16278 $_am_arg | $_am_arg:* )
16281 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16284 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16285 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16286 X"$_am_arg" : 'X\(//\)[^/]' \| \
16287 X"$_am_arg" : 'X\(//\)$' \| \
16288 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16289 $as_echo X"$_am_arg" |
16290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16294 /^X\(\/\/\)[^/].*/{
16306 s/.*/./; q'`/stamp-h$_am_stamp_count
16309 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16310 $as_echo "$as_me: executing $ac_file commands" >&6;}
16315 case $ac_file$ac_mode in
16316 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16317 # Older Autoconf quotes --file arguments for eval, but not when files
16318 # are listed without --file. Let's play safe and only enable the eval
16319 # if we detect the quoting.
16320 case $CONFIG_FILES in
16321 *\'*) eval set x "$CONFIG_FILES" ;;
16322 *) set x $CONFIG_FILES ;;
16327 # Strip MF so we end up with the name of the file.
16328 mf=`echo "$mf" | sed -e 's/:.*$//'`
16329 # Check whether this is an Automake generated Makefile or not.
16330 # We used to match only the files named 'Makefile.in', but
16331 # some people rename them; so instead we look at the file content.
16332 # Grep'ing the first line is not enough: some people post-process
16333 # each Makefile.in and add a new line on top of each file to say so.
16334 # Grep'ing the whole file is not good either: AIX grep has a line
16335 # limit of 2048, but all sed's we know have understand at least 4000.
16336 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16337 dirpart=`$as_dirname -- "$mf" ||
16338 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16339 X"$mf" : 'X\(//\)[^/]' \| \
16340 X"$mf" : 'X\(//\)$' \| \
16341 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16347 /^X\(\/\/\)[^/].*/{
16363 # Extract the definition of DEPDIR, am__include, and am__quote
16364 # from the Makefile without running 'make'.
16365 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16366 test -z "$DEPDIR" && continue
16367 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16368 test -z "$am__include" && continue
16369 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16370 # Find all dependency output files, they are included files with
16371 # $(DEPDIR) in their names. We invoke sed twice because it is the
16372 # simplest approach to changing $(DEPDIR) to its actual value in the
16374 for file in `sed -n "
16375 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16376 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16377 # Make sure the directory exists.
16378 test -f "$dirpart/$file" && continue
16379 fdir=`$as_dirname -- "$file" ||
16380 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16381 X"$file" : 'X\(//\)[^/]' \| \
16382 X"$file" : 'X\(//\)$' \| \
16383 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16384 $as_echo X"$file" |
16385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16389 /^X\(\/\/\)[^/].*/{
16402 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16403 # echo "creating $dirpart/$file"
16404 echo '# dummy' > "$dirpart/$file"
16411 # See if we are running on zsh, and set the options that allow our
16412 # commands through without removal of \ escapes.
16413 if test -n "${ZSH_VERSION+set}"; then
16414 setopt NO_GLOB_SUBST
16418 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16421 cat <<_LT_EOF >> "$cfgfile"
16423 # Generated automatically by $as_me ($PACKAGE) $VERSION
16424 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16425 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16427 # Provide generalized library-building support services.
16428 # Written by Gordon Matzigkeit, 1996
16430 # Copyright (C) 2014 Free Software Foundation, Inc.
16431 # This is free software; see the source for copying conditions. There is NO
16432 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16434 # GNU Libtool is free software; you can redistribute it and/or modify
16435 # it under the terms of the GNU General Public License as published by
16436 # the Free Software Foundation; either version 2 of of the License, or
16437 # (at your option) any later version.
16439 # As a special exception to the GNU General Public License, if you
16440 # distribute this file as part of a program or library that is built
16441 # using GNU Libtool, you may include this file under the same
16442 # distribution terms that you use for the rest of that program.
16444 # GNU Libtool is distributed in the hope that it will be useful, but
16445 # WITHOUT ANY WARRANTY; without even the implied warranty of
16446 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16447 # GNU General Public License for more details.
16449 # You should have received a copy of the GNU General Public License
16450 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16453 # The names of the tagged configurations supported by this script.
16456 # Configured defaults for sys_lib_dlsearch_path munging.
16457 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16459 # ### BEGIN LIBTOOL CONFIG
16461 # Which release of libtool.m4 was used?
16462 macro_version=$macro_version
16463 macro_revision=$macro_revision
16465 # Whether or not to build static libraries.
16466 build_old_libs=$enable_static
16468 # Whether or not to build shared libraries.
16469 build_libtool_libs=$enable_shared
16471 # What type of objects to build.
16474 # Whether or not to optimize for fast installation.
16475 fast_install=$enable_fast_install
16477 # Shared archive member basename,for filename based shared library versioning on AIX.
16478 shared_archive_member_spec=$shared_archive_member_spec
16480 # Shell to use when invoking shell scripts.
16483 # An echo program that protects backslashes.
16486 # The PATH separator for the build system.
16487 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16490 host_alias=$host_alias
16494 # The build system.
16495 build_alias=$build_alias
16499 # A sed program that does not truncate output.
16502 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16503 Xsed="\$SED -e 1s/^X//"
16505 # A grep program that handles long lines.
16511 # A literal string matcher.
16514 # A BSD- or MS-compatible name lister.
16517 # Whether we need soft or hard links.
16520 # What is the maximum length of a command?
16521 max_cmd_len=$max_cmd_len
16523 # Object file suffix (normally "o").
16526 # Executable file suffix (normally "").
16529 # whether the shell understands "unset".
16532 # turn spaces into newlines.
16535 # turn newlines into spaces.
16538 # convert \$build file names to \$host format.
16539 to_host_file_cmd=$lt_cv_to_host_file_cmd
16541 # convert \$build files to toolchain format.
16542 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16544 # An object symbol dumper.
16545 OBJDUMP=$lt_OBJDUMP
16547 # Method to check whether dependent libraries are shared objects.
16548 deplibs_check_method=$lt_deplibs_check_method
16550 # Command to use when deplibs_check_method = "file_magic".
16551 file_magic_cmd=$lt_file_magic_cmd
16553 # How to find potential files when deplibs_check_method = "file_magic".
16554 file_magic_glob=$lt_file_magic_glob
16556 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16557 want_nocaseglob=$lt_want_nocaseglob
16559 # DLL creation program.
16560 DLLTOOL=$lt_DLLTOOL
16562 # Command to associate shared and link libraries.
16563 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16568 # Flags to create an archive.
16569 AR_FLAGS=$lt_AR_FLAGS
16571 # How to feed a file listing to the archiver.
16572 archiver_list_spec=$lt_archiver_list_spec
16574 # A symbol stripping program.
16577 # Commands used to install an old-style archive.
16579 old_postinstall_cmds=$lt_old_postinstall_cmds
16580 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16582 # Whether to use a lock for old archive extraction.
16583 lock_old_archive_extraction=$lock_old_archive_extraction
16588 # LTCC compiler flags.
16589 LTCFLAGS=$lt_CFLAGS
16591 # Take the output of nm and produce a listing of raw symbols and C names.
16592 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16594 # Transform the output of nm in a proper C declaration.
16595 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16597 # Transform the output of nm into a list of symbols to manually relocate.
16598 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16600 # Transform the output of nm in a C name address pair.
16601 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16603 # Transform the output of nm in a C name address pair when lib prefix is needed.
16604 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16606 # The name lister interface.
16607 nm_interface=$lt_lt_cv_nm_interface
16609 # Specify filename containing input files for \$NM.
16610 nm_file_list_spec=$lt_nm_file_list_spec
16612 # The root where to search for dependent libraries,and where our libraries should be installed.
16613 lt_sysroot=$lt_sysroot
16615 # Command to truncate a binary pipe.
16616 lt_truncate_bin=$lt_lt_cv_truncate_bin
16618 # The name of the directory that contains temporary libtool files.
16621 # Used to examine libraries when file_magic_cmd begins with "file".
16622 MAGIC_CMD=$MAGIC_CMD
16624 # Must we lock files when doing compilation?
16625 need_locks=$lt_need_locks
16628 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16630 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16631 DSYMUTIL=$lt_DSYMUTIL
16633 # Tool to change global to local symbols on Mac OS X.
16636 # Tool to manipulate fat objects and archives on Mac OS X.
16639 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16642 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16643 OTOOL64=$lt_OTOOL64
16645 # Old archive suffix (normally "a").
16648 # Shared library suffix (normally ".so").
16649 shrext_cmds=$lt_shrext_cmds
16651 # The commands to extract the exported symbol list from a shared archive.
16652 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16654 # Variables whose values should be saved in libtool wrapper scripts and
16655 # restored at link time.
16656 variables_saved_for_relink=$lt_variables_saved_for_relink
16658 # Do we need the "lib" prefix for modules?
16659 need_lib_prefix=$need_lib_prefix
16661 # Do we need a version for libraries?
16662 need_version=$need_version
16664 # Library versioning type.
16665 version_type=$version_type
16667 # Shared library runtime path variable.
16668 runpath_var=$runpath_var
16670 # Shared library path variable.
16671 shlibpath_var=$shlibpath_var
16673 # Is shlibpath searched before the hard-coded library search path?
16674 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16676 # Format of library name prefix.
16677 libname_spec=$lt_libname_spec
16679 # List of archive names. First name is the real one, the rest are links.
16680 # The last name is the one that the linker finds with -lNAME
16681 library_names_spec=$lt_library_names_spec
16683 # The coded name of the library, if different from the real name.
16684 soname_spec=$lt_soname_spec
16686 # Permission mode override for installation of shared libraries.
16687 install_override_mode=$lt_install_override_mode
16689 # Command to use after installation of a shared archive.
16690 postinstall_cmds=$lt_postinstall_cmds
16692 # Command to use after uninstallation of a shared archive.
16693 postuninstall_cmds=$lt_postuninstall_cmds
16695 # Commands used to finish a libtool library installation in a directory.
16696 finish_cmds=$lt_finish_cmds
16698 # As "finish_cmds", except a single script fragment to be evaled but
16700 finish_eval=$lt_finish_eval
16702 # Whether we should hardcode library paths into libraries.
16703 hardcode_into_libs=$hardcode_into_libs
16705 # Compile-time system search path for libraries.
16706 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16708 # Detected run-time system search path for libraries.
16709 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16711 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16712 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16714 # Whether dlopen is supported.
16715 dlopen_support=$enable_dlopen
16717 # Whether dlopen of programs is supported.
16718 dlopen_self=$enable_dlopen_self
16720 # Whether dlopen of statically linked programs is supported.
16721 dlopen_self_static=$enable_dlopen_self_static
16723 # Commands to strip libraries.
16724 old_striplib=$lt_old_striplib
16725 striplib=$lt_striplib
16728 # The linker used to build libraries.
16731 # How to create reloadable object files.
16732 reload_flag=$lt_reload_flag
16733 reload_cmds=$lt_reload_cmds
16735 # Commands used to build an old-style archive.
16736 old_archive_cmds=$lt_old_archive_cmds
16738 # A language specific compiler.
16741 # Is the compiler the GNU compiler?
16744 # Compiler flag to turn off builtin functions.
16745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16747 # Additional compiler flags for building library objects.
16748 pic_flag=$lt_lt_prog_compiler_pic
16750 # How to pass a linker flag through the compiler.
16751 wl=$lt_lt_prog_compiler_wl
16753 # Compiler flag to prevent dynamic linking.
16754 link_static_flag=$lt_lt_prog_compiler_static
16756 # Does compiler simultaneously support -c and -o options?
16757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16759 # Whether or not to add -lc for building shared libraries.
16760 build_libtool_need_lc=$archive_cmds_need_lc
16762 # Whether or not to disallow shared libs when runtime libs are static.
16763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16765 # Compiler flag to allow reflexive dlopens.
16766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16768 # Compiler flag to generate shared objects directly from archives.
16769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16771 # Whether the compiler copes with passing no objects directly.
16772 compiler_needs_object=$lt_compiler_needs_object
16774 # Create an old-style archive from a shared archive.
16775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16777 # Create a temporary old-style archive to link instead of a shared archive.
16778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16780 # Commands used to build a shared archive.
16781 archive_cmds=$lt_archive_cmds
16782 archive_expsym_cmds=$lt_archive_expsym_cmds
16784 # Commands used to build a loadable module if different from building
16785 # a shared archive.
16786 module_cmds=$lt_module_cmds
16787 module_expsym_cmds=$lt_module_expsym_cmds
16789 # Whether we are building with GNU ld or not.
16790 with_gnu_ld=$lt_with_gnu_ld
16792 # Flag that allows shared libraries with undefined symbols to be built.
16793 allow_undefined_flag=$lt_allow_undefined_flag
16795 # Flag that enforces no undefined symbols.
16796 no_undefined_flag=$lt_no_undefined_flag
16798 # Flag to hardcode \$libdir into a binary during linking.
16799 # This must work even if \$libdir does not exist
16800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16802 # Whether we need a single "-rpath" flag with a separated argument.
16803 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16805 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16806 # DIR into the resulting binary.
16807 hardcode_direct=$hardcode_direct
16809 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16810 # DIR into the resulting binary and the resulting library dependency is
16811 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16812 # library is relocated.
16813 hardcode_direct_absolute=$hardcode_direct_absolute
16815 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16816 # into the resulting binary.
16817 hardcode_minus_L=$hardcode_minus_L
16819 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16820 # into the resulting binary.
16821 hardcode_shlibpath_var=$hardcode_shlibpath_var
16823 # Set to "yes" if building a shared library automatically hardcodes DIR
16824 # into the library and all subsequent libraries and executables linked
16826 hardcode_automatic=$hardcode_automatic
16828 # Set to yes if linker adds runtime paths of dependent libraries
16829 # to runtime path list.
16830 inherit_rpath=$inherit_rpath
16832 # Whether libtool must link a program against all its dependency libraries.
16833 link_all_deplibs=$link_all_deplibs
16835 # Set to "yes" if exported symbols are required.
16836 always_export_symbols=$always_export_symbols
16838 # The commands to list exported symbols.
16839 export_symbols_cmds=$lt_export_symbols_cmds
16841 # Symbols that should not be listed in the preloaded symbols.
16842 exclude_expsyms=$lt_exclude_expsyms
16844 # Symbols that must always be exported.
16845 include_expsyms=$lt_include_expsyms
16847 # Commands necessary for linking programs (against libraries) with templates.
16848 prelink_cmds=$lt_prelink_cmds
16850 # Commands necessary for finishing linking programs.
16851 postlink_cmds=$lt_postlink_cmds
16853 # Specify filename containing input files.
16854 file_list_spec=$lt_file_list_spec
16856 # How to hardcode a shared library path into an executable.
16857 hardcode_action=$hardcode_action
16859 # ### END LIBTOOL CONFIG
16863 cat <<'_LT_EOF' >> "$cfgfile"
16865 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16867 # func_munge_path_list VARIABLE PATH
16868 # -----------------------------------
16869 # VARIABLE is name of variable containing _space_ separated list of
16870 # directories to be munged by the contents of PATH, which is string
16873 # string "DIR[ DIR]" will be prepended to VARIABLE
16875 # string "DIR[ DIR]" will be appended to VARIABLE
16876 # "DIRP[:DIRP]::[DIRA:]DIRA"
16877 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16878 # "DIRA[ DIRA]" will be appended to VARIABLE
16880 # VARIABLE will be replaced by "DIR[ DIR]"
16881 func_munge_path_list ()
16887 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16890 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16893 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16894 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16897 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16903 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16904 func_cc_basename ()
16906 for cc_temp in $*""; do
16908 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16909 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16914 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16918 # ### END FUNCTIONS SHARED WITH CONFIGURE
16924 cat <<\_LT_EOF >> "$cfgfile"
16925 # AIX sometimes has problems with the GCC collect2 program. For some
16926 # reason, if we set the COLLECT_NAMES environment variable, the problems
16927 # vanish in a puff of smoke.
16928 if test set != "${COLLECT_NAMES+set}"; then
16930 export COLLECT_NAMES
16937 ltmain=$ac_aux_dir/ltmain.sh
16940 # We use sed instead of cat because bash on DJGPP gets confused if
16941 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16942 # text mode, it properly converts lines to CR/LF. This bash problem
16943 # is reportedly fixed, but why not run on old versions too?
16944 sed '$q' "$ltmain" >> "$cfgfile" \
16945 || (rm -f "$cfgfile"; exit 1)
16947 mv -f "$cfgfile" "$ofile" ||
16948 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16959 ac_clean_files=$ac_clean_files_save
16961 test $ac_write_fail = 0 ||
16962 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16965 # configure is writing to config.log, and then calls config.status.
16966 # config.status does its own redirection, appending to config.log.
16967 # Unfortunately, on DOS this fails, as config.log is still kept open
16968 # by configure, so config.status won't be able to write to it; its
16969 # output is simply discarded. So we exec the FD to /dev/null,
16970 # effectively closing config.log, so it can be properly (re)opened and
16971 # appended to by config.status. When coming back to configure, we
16972 # need to make the FD available again.
16973 if test "$no_create" != yes; then
16975 ac_config_status_args=
16976 test "$silent" = yes &&
16977 ac_config_status_args="$ac_config_status_args --quiet"
16979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16982 # would make configure fail if this is the last instruction.
16983 $ac_cs_success || as_fn_exit 1
16985 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16987 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}