2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU FriBidi 0.19.7.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
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: http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='GNU FriBidi'
593 PACKAGE_TARNAME='fribidi'
594 PACKAGE_VERSION='0.19.7'
595 PACKAGE_STRING='GNU FriBidi 0.19.7'
596 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi'
597 PACKAGE_URL='http://fribidi.org/'
599 ac_unique_file="fribidi.pc.in"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
643 FRIBIDI_USE_GLIB_FALSE
644 FRIBIDI_USE_GLIB_TRUE
648 FRIBIDI_CHARSETS_FALSE
649 FRIBIDI_CHARSETS_TRUE
651 FRIBIDI_NO_DEPRECATED
663 FRIBIDI_INTERFACE_AGE
664 FRIBIDI_INTERFACE_VERSION
666 FRIBIDI_MICRO_VERSION
667 FRIBIDI_MINOR_VERSION
668 FRIBIDI_MAJOR_VERSION
729 INSTALL_STRIP_PROGRAM
771 program_transform_name
784 enable_option_checking
786 enable_dependency_tracking
800 ac_precious_vars='build_alias
817 # Initialize some variables set by options.
819 ac_init_version=false
820 ac_unrecognized_opts=
822 # The variables have the same names as the options, with
823 # dashes changed to underlines.
831 program_transform_name=s,x,x,
839 # Installation directory options.
840 # These are left unexpanded so users can "make install exec_prefix=/foo"
841 # and all the variables that are supposed to be based on exec_prefix
842 # by default will actually change.
843 # Use braces instead of parens because sh, perl, etc. also accept them.
844 # (The list follows the same order as the GNU Coding Standards.)
845 bindir='${exec_prefix}/bin'
846 sbindir='${exec_prefix}/sbin'
847 libexecdir='${exec_prefix}/libexec'
848 datarootdir='${prefix}/share'
849 datadir='${datarootdir}'
850 sysconfdir='${prefix}/etc'
851 sharedstatedir='${prefix}/com'
852 localstatedir='${prefix}/var'
853 includedir='${prefix}/include'
854 oldincludedir='/usr/include'
855 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
856 infodir='${datarootdir}/info'
861 libdir='${exec_prefix}/lib'
862 localedir='${datarootdir}/locale'
863 mandir='${datarootdir}/man'
869 # If the previous option needs an argument, assign it.
870 if test -n "$ac_prev"; then
871 eval $ac_prev=\$ac_option
877 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 # Accept the important Cygnus configure options, so we can diagnose typos.
884 case $ac_dashdash$ac_option in
888 -bindir | --bindir | --bindi | --bind | --bin | --bi)
890 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
893 -build | --build | --buil | --bui | --bu)
894 ac_prev=build_alias ;;
895 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
896 build_alias=$ac_optarg ;;
898 -cache-file | --cache-file | --cache-fil | --cache-fi \
899 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
900 ac_prev=cache_file ;;
901 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
902 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
903 cache_file=$ac_optarg ;;
906 cache_file=config.cache ;;
908 -datadir | --datadir | --datadi | --datad)
910 -datadir=* | --datadir=* | --datadi=* | --datad=*)
911 datadir=$ac_optarg ;;
913 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
914 | --dataroo | --dataro | --datar)
915 ac_prev=datarootdir ;;
916 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
917 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
918 datarootdir=$ac_optarg ;;
920 -disable-* | --disable-*)
921 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924 as_fn_error $? "invalid feature name: $ac_useropt"
925 ac_useropt_orig=$ac_useropt
926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
932 ac_unrecognized_sep=', ';;
934 eval enable_$ac_useropt=no ;;
936 -docdir | --docdir | --docdi | --doc | --do)
938 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
941 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
943 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
946 -enable-* | --enable-*)
947 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950 as_fn_error $? "invalid feature name: $ac_useropt"
951 ac_useropt_orig=$ac_useropt
952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
958 ac_unrecognized_sep=', ';;
960 eval enable_$ac_useropt=\$ac_optarg ;;
962 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
963 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
964 | --exec | --exe | --ex)
965 ac_prev=exec_prefix ;;
966 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
967 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
968 | --exec=* | --exe=* | --ex=*)
969 exec_prefix=$ac_optarg ;;
971 -gas | --gas | --ga | --g)
972 # Obsolete; use --with-gas.
975 -help | --help | --hel | --he | -h)
977 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
978 ac_init_help=recursive ;;
979 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
980 ac_init_help=short ;;
982 -host | --host | --hos | --ho)
983 ac_prev=host_alias ;;
984 -host=* | --host=* | --hos=* | --ho=*)
985 host_alias=$ac_optarg ;;
987 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
989 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
991 htmldir=$ac_optarg ;;
993 -includedir | --includedir | --includedi | --included | --include \
994 | --includ | --inclu | --incl | --inc)
995 ac_prev=includedir ;;
996 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
997 | --includ=* | --inclu=* | --incl=* | --inc=*)
998 includedir=$ac_optarg ;;
1000 -infodir | --infodir | --infodi | --infod | --info | --inf)
1002 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1003 infodir=$ac_optarg ;;
1005 -libdir | --libdir | --libdi | --libd)
1007 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1008 libdir=$ac_optarg ;;
1010 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1011 | --libexe | --libex | --libe)
1012 ac_prev=libexecdir ;;
1013 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1014 | --libexe=* | --libex=* | --libe=*)
1015 libexecdir=$ac_optarg ;;
1017 -localedir | --localedir | --localedi | --localed | --locale)
1018 ac_prev=localedir ;;
1019 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1020 localedir=$ac_optarg ;;
1022 -localstatedir | --localstatedir | --localstatedi | --localstated \
1023 | --localstate | --localstat | --localsta | --localst | --locals)
1024 ac_prev=localstatedir ;;
1025 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1026 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1027 localstatedir=$ac_optarg ;;
1029 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1031 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1032 mandir=$ac_optarg ;;
1034 -nfp | --nfp | --nf)
1035 # Obsolete; use --without-fp.
1038 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1039 | --no-cr | --no-c | -n)
1042 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1043 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1046 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1047 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1048 | --oldin | --oldi | --old | --ol | --o)
1049 ac_prev=oldincludedir ;;
1050 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1051 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1052 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1053 oldincludedir=$ac_optarg ;;
1055 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1057 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1058 prefix=$ac_optarg ;;
1060 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1061 | --program-pre | --program-pr | --program-p)
1062 ac_prev=program_prefix ;;
1063 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1064 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1065 program_prefix=$ac_optarg ;;
1067 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1068 | --program-suf | --program-su | --program-s)
1069 ac_prev=program_suffix ;;
1070 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1071 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1072 program_suffix=$ac_optarg ;;
1074 -program-transform-name | --program-transform-name \
1075 | --program-transform-nam | --program-transform-na \
1076 | --program-transform-n | --program-transform- \
1077 | --program-transform | --program-transfor \
1078 | --program-transfo | --program-transf \
1079 | --program-trans | --program-tran \
1080 | --progr-tra | --program-tr | --program-t)
1081 ac_prev=program_transform_name ;;
1082 -program-transform-name=* | --program-transform-name=* \
1083 | --program-transform-nam=* | --program-transform-na=* \
1084 | --program-transform-n=* | --program-transform-=* \
1085 | --program-transform=* | --program-transfor=* \
1086 | --program-transfo=* | --program-transf=* \
1087 | --program-trans=* | --program-tran=* \
1088 | --progr-tra=* | --program-tr=* | --program-t=*)
1089 program_transform_name=$ac_optarg ;;
1091 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1093 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1094 pdfdir=$ac_optarg ;;
1096 -psdir | --psdir | --psdi | --psd | --ps)
1098 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1105 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1107 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1109 sbindir=$ac_optarg ;;
1111 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1112 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1113 | --sharedst | --shareds | --shared | --share | --shar \
1115 ac_prev=sharedstatedir ;;
1116 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1117 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1118 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1120 sharedstatedir=$ac_optarg ;;
1122 -site | --site | --sit)
1124 -site=* | --site=* | --sit=*)
1127 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1129 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1130 srcdir=$ac_optarg ;;
1132 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1133 | --syscon | --sysco | --sysc | --sys | --sy)
1134 ac_prev=sysconfdir ;;
1135 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1136 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1137 sysconfdir=$ac_optarg ;;
1139 -target | --target | --targe | --targ | --tar | --ta | --t)
1140 ac_prev=target_alias ;;
1141 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1142 target_alias=$ac_optarg ;;
1144 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1147 -version | --version | --versio | --versi | --vers | -V)
1148 ac_init_version=: ;;
1151 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154 as_fn_error $? "invalid package name: $ac_useropt"
1155 ac_useropt_orig=$ac_useropt
1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1162 ac_unrecognized_sep=', ';;
1164 eval with_$ac_useropt=\$ac_optarg ;;
1166 -without-* | --without-*)
1167 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 as_fn_error $? "invalid package name: $ac_useropt"
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1180 eval with_$ac_useropt=no ;;
1183 # Obsolete; use --with-x.
1186 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1187 | --x-incl | --x-inc | --x-in | --x-i)
1188 ac_prev=x_includes ;;
1189 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1190 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1191 x_includes=$ac_optarg ;;
1193 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1194 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1195 ac_prev=x_libraries ;;
1196 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1197 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1198 x_libraries=$ac_optarg ;;
1200 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1201 Try \`$0 --help' for more information"
1205 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1206 # Reject names that are not valid shell variable names.
1207 case $ac_envvar in #(
1208 '' | [0-9]* | *[!_$as_cr_alnum]* )
1209 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1211 eval $ac_envvar=\$ac_optarg
1212 export $ac_envvar ;;
1215 # FIXME: should be removed in autoconf 3.0.
1216 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1218 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1219 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1225 if test -n "$ac_prev"; then
1226 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1227 as_fn_error $? "missing argument to $ac_option"
1230 if test -n "$ac_unrecognized_opts"; then
1231 case $enable_option_checking in
1233 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1234 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1238 # Check all directory arguments for consistency.
1239 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1240 datadir sysconfdir sharedstatedir localstatedir includedir \
1241 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1242 libdir localedir mandir
1244 eval ac_val=\$$ac_var
1245 # Remove trailing slashes.
1248 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1249 eval $ac_var=\$ac_val;;
1251 # Be sure to have absolute directory names.
1253 [\\/$]* | ?:[\\/]* ) continue;;
1254 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1256 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1259 # There might be people who depend on the old broken behavior: `$host'
1260 # used to hold the argument of --host etc.
1261 # FIXME: To remove some day.
1264 target=$target_alias
1266 # FIXME: To remove some day.
1267 if test "x$host_alias" != x; then
1268 if test "x$build_alias" = x; then
1269 cross_compiling=maybe
1270 elif test "x$build_alias" != "x$host_alias"; then
1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1278 test "$silent" = yes && exec 6>/dev/null
1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1282 ac_ls_di=`ls -di .` &&
1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1284 as_fn_error $? "working directory cannot be determined"
1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1286 as_fn_error $? "pwd does not report name of working directory"
1289 # Find the source files, if location was not specified.
1290 if test -z "$srcdir"; then
1291 ac_srcdir_defaulted=yes
1292 # Try the directory containing this script, then the parent directory.
1293 ac_confdir=`$as_dirname -- "$as_myself" ||
1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1295 X"$as_myself" : 'X\(//\)[^/]' \| \
1296 X"$as_myself" : 'X\(//\)$' \| \
1297 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1298 $as_echo X"$as_myself" |
1299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1317 if test ! -r "$srcdir/$ac_unique_file"; then
1321 ac_srcdir_defaulted=no
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1324 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1325 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1329 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1331 # When building in place, set srcdir=.
1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
1335 # Remove unnecessary trailing slashes from srcdir.
1336 # Double slashes in file names in object file debugging info
1337 # mess up M-x gdb in Emacs.
1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1341 for ac_var in $ac_precious_vars; do
1342 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1343 eval ac_env_${ac_var}_value=\$${ac_var}
1344 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1345 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1349 # Report the --help message.
1351 if test "$ac_init_help" = "long"; then
1352 # Omit some internal or obsolete options to make the list less imposing.
1353 # This message is too long to be a string in the A/UX 3.1 sh.
1355 \`configure' configures GNU FriBidi 0.19.7 to adapt to many kinds of systems.
1357 Usage: $0 [OPTION]... [VAR=VALUE]...
1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1360 VAR=VALUE. See below for descriptions of some of the useful variables.
1362 Defaults for the options are specified in brackets.
1365 -h, --help display this help and exit
1366 --help=short display options specific to this package
1367 --help=recursive display the short help of all the included packages
1368 -V, --version display version information and exit
1369 -q, --quiet, --silent do not print \`checking ...' messages
1370 --cache-file=FILE cache test results in FILE [disabled]
1371 -C, --config-cache alias for \`--cache-file=config.cache'
1372 -n, --no-create do not create output files
1373 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1375 Installation directories:
1376 --prefix=PREFIX install architecture-independent files in PREFIX
1377 [$ac_default_prefix]
1378 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1381 By default, \`make install' will install all the files in
1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1384 for instance \`--prefix=\$HOME'.
1386 For better control, use the options below.
1388 Fine tuning of the installation directories:
1389 --bindir=DIR user executables [EPREFIX/bin]
1390 --sbindir=DIR system admin executables [EPREFIX/sbin]
1391 --libexecdir=DIR program executables [EPREFIX/libexec]
1392 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1393 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1394 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1395 --libdir=DIR object code libraries [EPREFIX/lib]
1396 --includedir=DIR C header files [PREFIX/include]
1397 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1398 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1399 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1400 --infodir=DIR info documentation [DATAROOTDIR/info]
1401 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1402 --mandir=DIR man documentation [DATAROOTDIR/man]
1403 --docdir=DIR documentation root [DATAROOTDIR/doc/fribidi]
1404 --htmldir=DIR html documentation [DOCDIR]
1405 --dvidir=DIR dvi documentation [DOCDIR]
1406 --pdfdir=DIR pdf documentation [DOCDIR]
1407 --psdir=DIR ps documentation [DOCDIR]
1413 --program-prefix=PREFIX prepend PREFIX to installed program names
1414 --program-suffix=SUFFIX append SUFFIX to installed program names
1415 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1418 --build=BUILD configure for building on BUILD [guessed]
1419 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1423 if test -n "$ac_init_help"; then
1424 case $ac_init_help in
1425 short | recursive ) echo "Configuration of GNU FriBidi 0.19.7:";;
1430 --disable-option-checking ignore unrecognized --enable/--with options
1431 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1432 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1433 --enable-silent-rules less verbose build output (undo: "make V=1")
1434 --disable-silent-rules verbose build output (undo: "make V=0")
1435 --enable-dependency-tracking
1436 do not reject slow dependency extractors
1437 --disable-dependency-tracking
1438 speeds up one-time build
1439 --enable-static[=PKGS] build static libraries [default=no]
1440 --enable-shared[=PKGS] build shared libraries [default=yes]
1441 --enable-fast-install[=PKGS]
1442 optimize for fast installation [default=yes]
1443 --disable-libtool-lock avoid locking (might break parallel builds)
1444 --enable-debug turn on debugging [default=yes]
1445 --disable-deprecated do not build deprecated functionality
1446 --disable-charsets exclude charset conversion routines from library
1449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1451 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1453 --with-aix-soname=aix|svr4|both
1454 shared library versioning (aka "SONAME") variant to
1455 provide on AIX, [default=aix].
1456 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1457 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1458 compiler's sysroot if not specified).
1459 --with-glib=[no/auto/yes]
1460 use Glib [default=auto]
1462 Some influential environment variables:
1463 CC C compiler command
1464 CFLAGS C compiler flags
1465 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1466 nonstandard directory <lib dir>
1467 LIBS libraries to pass to the linker, e.g. -l<library>
1468 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1469 you have headers in a nonstandard directory <include dir>
1471 User-defined run-time library search path.
1473 PKG_CONFIG path to pkg-config utility
1475 directories to add to pkg-config's search path
1477 path overriding pkg-config's built-in search path
1478 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1479 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1481 Use these variables to override the choices made by `configure' or to help
1482 it to find libraries and programs with nonstandard names/locations.
1484 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
1485 GNU FriBidi home page: <http://fribidi.org/>.
1486 General help using GNU software: <http://www.gnu.org/gethelp/>.
1491 if test "$ac_init_help" = "recursive"; then
1492 # If there are subdirs, report their specific --help.
1493 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1494 test -d "$ac_dir" ||
1495 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1503 # A ".." for each directory in $ac_dir_suffix.
1504 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1505 case $ac_top_builddir_sub in
1506 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1510 ac_abs_top_builddir=$ac_pwd
1511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1512 # for backward compatibility:
1513 ac_top_builddir=$ac_top_build_prefix
1516 .) # We are building in place.
1518 ac_top_srcdir=$ac_top_builddir_sub
1519 ac_abs_top_srcdir=$ac_pwd ;;
1520 [\\/]* | ?:[\\/]* ) # Absolute name.
1521 ac_srcdir=$srcdir$ac_dir_suffix;
1522 ac_top_srcdir=$srcdir
1523 ac_abs_top_srcdir=$srcdir ;;
1525 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1526 ac_top_srcdir=$ac_top_build_prefix$srcdir
1527 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1531 cd "$ac_dir" || { ac_status=$?; continue; }
1532 # Check for guested configure.
1533 if test -f "$ac_srcdir/configure.gnu"; then
1535 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1536 elif test -f "$ac_srcdir/configure"; then
1538 $SHELL "$ac_srcdir/configure" --help=recursive
1540 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1542 cd "$ac_pwd" || { ac_status=$?; break; }
1546 test -n "$ac_init_help" && exit $ac_status
1547 if $ac_init_version; then
1549 GNU FriBidi configure 0.19.7
1550 generated by GNU Autoconf 2.69
1552 Copyright (C) 2012 Free Software Foundation, Inc.
1553 This configure script is free software; the Free Software Foundation
1554 gives unlimited permission to copy, distribute and modify it.
1559 ## ------------------------ ##
1560 ## Autoconf initialization. ##
1561 ## ------------------------ ##
1563 # ac_fn_c_try_compile LINENO
1564 # --------------------------
1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_compile ()
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 rm -f conftest.$ac_objext
1570 if { { ac_try="$ac_compile"
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_compile") 2>conftest.err
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest.$ac_objext; then :
1591 $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.$ac_ext >&5
1596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597 as_fn_set_status $ac_retval
1599 } # ac_fn_c_try_compile
1601 # ac_fn_c_try_link LINENO
1602 # -----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext conftest$ac_exeext
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest$ac_exeext && {
1627 test "$cross_compiling" = yes ||
1628 test -x conftest$ac_exeext
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1638 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1639 # interfere with the next link command; also delete a directory that is
1640 # left behind by Apple's compiler. We do this before executing the actions.
1641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1645 } # ac_fn_c_try_link
1647 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1648 # -------------------------------------------------------
1649 # Tests whether HEADER exists and can be compiled using the include files in
1650 # INCLUDES, setting the cache variable VAR accordingly.
1651 ac_fn_c_check_header_compile ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1655 $as_echo_n "checking for $2... " >&6; }
1656 if eval \${$3+:} false; then :
1657 $as_echo_n "(cached) " >&6
1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660 /* end confdefs.h. */
1664 if ac_fn_c_try_compile "$LINENO"; then :
1669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673 $as_echo "$ac_res" >&6; }
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 } # ac_fn_c_check_header_compile
1678 # ac_fn_c_try_cpp LINENO
1679 # ----------------------
1680 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_cpp conftest.$ac_ext"
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } > conftest.i && {
1700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1715 # ac_fn_c_try_run LINENO
1716 # ----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1718 # that executables *can* be run.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1733 { { case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_try") 2>&5
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; }; }; then :
1745 $as_echo "$as_me: program exited with status $ac_status" >&5
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1749 ac_retval=$ac_status
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1757 # ac_fn_c_check_func LINENO FUNC VAR
1758 # ----------------------------------
1759 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1760 ac_fn_c_check_func ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h. */
1770 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1772 #define $2 innocuous_$2
1774 /* System header to define __stub macros and hopefully few prototypes,
1775 which can conflict with char $2 (); below.
1776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1777 <limits.h> exists even on freestanding compilers. */
1780 # include <limits.h>
1782 # include <assert.h>
1787 /* Override any GCC internal prototype to avoid an error.
1788 Use char because int might match the return type of a GCC
1789 builtin and then its argument prototype would still apply. */
1794 /* The GNU C library defines this for functions which it implements
1795 to always fail with ENOSYS. Some functions are actually named
1796 something starting with __ and the normal name is an alias. */
1797 #if defined __stub_$2 || defined __stub___$2
1809 if ac_fn_c_try_link "$LINENO"; then :
1814 rm -f core conftest.err conftest.$ac_objext \
1815 conftest$ac_exeext conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 } # ac_fn_c_check_func
1824 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1825 # -------------------------------------------------------
1826 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1827 # the include files in INCLUDES and setting the cache variable VAR
1829 ac_fn_c_check_header_mongrel ()
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 if eval \${$3+:} false; then :
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1842 # Is the header compilable?
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1844 $as_echo_n "checking $2 usability... " >&6; }
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 ac_header_compiler=yes
1853 ac_header_compiler=no
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1857 $as_echo "$ac_header_compiler" >&6; }
1859 # Is the header present?
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1861 $as_echo_n "checking $2 presence... " >&6; }
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1866 if ac_fn_c_try_cpp "$LINENO"; then :
1867 ac_header_preproc=yes
1869 ac_header_preproc=no
1871 rm -f conftest.err conftest.i conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1873 $as_echo "$ac_header_preproc" >&6; }
1875 # So? What about this header?
1876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1879 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1881 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1885 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1887 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1889 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1891 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1893 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1894 ( $as_echo "## ------------------------------------------------------------------------ ##
1895 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi ##
1896 ## ------------------------------------------------------------------------ ##"
1897 ) | sed "s/^/$as_me: WARNING: /" >&2
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if eval \${$3+:} false; then :
1903 $as_echo_n "(cached) " >&6
1905 eval "$3=\$ac_header_compiler"
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 } # ac_fn_c_check_header_mongrel
1915 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1916 # --------------------------------------------
1917 # Tries to find the compile-time value of EXPR in a program that includes
1918 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1920 ac_fn_c_compute_int ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 if test "$cross_compiling" = yes; then
1924 # Depending upon the size, compute the lo and hi bounds.
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1931 static int test_array [1 - 2 * !(($2) >= 0)];
1933 return test_array [0];
1939 if ac_fn_c_try_compile "$LINENO"; then :
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1948 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1950 return test_array [0];
1956 if ac_fn_c_try_compile "$LINENO"; then :
1957 ac_hi=$ac_mid; break
1959 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1960 if test $ac_lo -le $ac_mid; then
1964 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1975 static int test_array [1 - 2 * !(($2) < 0)];
1977 return test_array [0];
1983 if ac_fn_c_try_compile "$LINENO"; then :
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1992 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1994 return test_array [0];
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001 ac_lo=$ac_mid; break
2003 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2004 if test $ac_mid -le $ac_hi; then
2008 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2018 # Binary search between lo and hi bounds.
2019 while test "x$ac_lo" != "x$ac_hi"; do
2020 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2027 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2029 return test_array [0];
2035 if ac_fn_c_try_compile "$LINENO"; then :
2038 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2050 static long int longval () { return $2; }
2051 static unsigned long int ulongval () { return $2; }
2058 FILE *f = fopen ("conftest.val", "w");
2063 long int i = longval ();
2066 fprintf (f, "%ld", i);
2070 unsigned long int i = ulongval ();
2073 fprintf (f, "%lu", i);
2075 /* Do not output a trailing newline, as this causes \r\n confusion
2076 on some platforms. */
2077 return ferror (f) || fclose (f) != 0;
2083 if ac_fn_c_try_run "$LINENO"; then :
2084 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2089 conftest.$ac_objext conftest.beam conftest.$ac_ext
2093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2094 as_fn_set_status $ac_retval
2096 } # ac_fn_c_compute_int
2097 cat >config.log <<_ACEOF
2098 This file contains any messages produced by compilers while
2099 running configure, to aid debugging if configure makes a mistake.
2101 It was created by GNU FriBidi $as_me 0.19.7, which was
2102 generated by GNU Autoconf 2.69. Invocation command line was
2114 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2115 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2116 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2117 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2118 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2120 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2121 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2123 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2124 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2125 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2126 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2127 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2128 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2129 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir=.
2138 $as_echo "PATH: $as_dir"
2154 # Keep a trace of the command line.
2155 # Strip out --no-create and --no-recursion so they do not pile up.
2156 # Strip out --silent because we don't want to record it for future runs.
2157 # Also quote any args containing shell meta-characters.
2158 # Make two passes to allow for proper duplicate-argument suppression.
2162 ac_must_keep_next=false
2168 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2170 | -silent | --silent | --silen | --sile | --sil)
2173 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2176 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2178 as_fn_append ac_configure_args1 " '$ac_arg'"
2179 if test $ac_must_keep_next = true; then
2180 ac_must_keep_next=false # Got value, back to normal.
2183 *=* | --config-cache | -C | -disable-* | --disable-* \
2184 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2185 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2186 | -with-* | --with-* | -without-* | --without-* | --x)
2187 case "$ac_configure_args0 " in
2188 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2191 -* ) ac_must_keep_next=true ;;
2194 as_fn_append ac_configure_args " '$ac_arg'"
2199 { ac_configure_args0=; unset ac_configure_args0;}
2200 { ac_configure_args1=; unset ac_configure_args1;}
2202 # When interrupted or exit'd, cleanup temporary files, and complete
2203 # config.log. We remove comments because anyway the quotes in there
2204 # would cause problems or look ugly.
2205 # WARNING: Use '\'' to represent an apostrophe within the trap.
2206 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2207 trap 'exit_status=$?
2208 # Save into config.log some information that might help in debugging.
2212 $as_echo "## ---------------- ##
2213 ## Cache variables. ##
2214 ## ---------------- ##"
2216 # The following way of writing the cache mishandles newlines in values,
2218 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2219 eval ac_val=\$$ac_var
2223 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2224 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2227 _ | IFS | as_nl) ;; #(
2228 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2229 *) { eval $ac_var=; unset $ac_var;} ;;
2234 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2235 *${as_nl}ac_space=\ *)
2237 "s/'\''/'\''\\\\'\'''\''/g;
2238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2248 $as_echo "## ----------------- ##
2249 ## Output variables. ##
2250 ## ----------------- ##"
2252 for ac_var in $ac_subst_vars
2254 eval ac_val=\$$ac_var
2256 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 $as_echo "$ac_var='\''$ac_val'\''"
2262 if test -n "$ac_subst_files"; then
2263 $as_echo "## ------------------- ##
2264 ## File substitutions. ##
2265 ## ------------------- ##"
2267 for ac_var in $ac_subst_files
2269 eval ac_val=\$$ac_var
2271 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 $as_echo "$ac_var='\''$ac_val'\''"
2278 if test -s confdefs.h; then
2279 $as_echo "## ----------- ##
2286 test "$ac_signal" != 0 &&
2287 $as_echo "$as_me: caught signal $ac_signal"
2288 $as_echo "$as_me: exit $exit_status"
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 for ac_signal in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest* confdefs.h
2302 $as_echo "/* confdefs.h */" > confdefs.h
2304 # Predefined preprocessor variables.
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_NAME "$PACKAGE_NAME"
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_STRING "$PACKAGE_STRING"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_URL "$PACKAGE_URL"
2331 # Let the site file select an alternate cache file if it wants to.
2332 # Prefer an explicitly selected file to automatically selected ones.
2335 if test -n "$CONFIG_SITE"; then
2336 # We do not want a PATH search for config.site.
2337 case $CONFIG_SITE in #((
2338 -*) ac_site_file1=./$CONFIG_SITE;;
2339 */*) ac_site_file1=$CONFIG_SITE;;
2340 *) ac_site_file1=./$CONFIG_SITE;;
2342 elif test "x$prefix" != xNONE; then
2343 ac_site_file1=$prefix/share/config.site
2344 ac_site_file2=$prefix/etc/config.site
2346 ac_site_file1=$ac_default_prefix/share/config.site
2347 ac_site_file2=$ac_default_prefix/etc/config.site
2349 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2351 test "x$ac_site_file" = xNONE && continue
2352 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2354 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2355 sed 's/^/| /' "$ac_site_file" >&5
2357 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 as_fn_error $? "failed to load site script $ac_site_file
2360 See \`config.log' for more details" "$LINENO" 5; }
2364 if test -r "$cache_file"; then
2365 # Some versions of bash will fail to source /dev/null (special files
2366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2367 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2369 $as_echo "$as_me: loading cache $cache_file" >&6;}
2371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2372 *) . "./$cache_file";;
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2377 $as_echo "$as_me: creating cache $cache_file" >&6;}
2381 # Check that the precious variables saved in the cache have kept the same
2383 ac_cache_corrupted=false
2384 for ac_var in $ac_precious_vars; do
2385 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2386 eval ac_new_set=\$ac_env_${ac_var}_set
2387 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2388 eval ac_new_val=\$ac_env_${ac_var}_value
2389 case $ac_old_set,$ac_new_set in
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2392 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2393 ac_cache_corrupted=: ;;
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2396 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2397 ac_cache_corrupted=: ;;
2400 if test "x$ac_old_val" != "x$ac_new_val"; then
2401 # differences in whitespace do not lead to failure.
2402 ac_old_val_w=`echo x $ac_old_val`
2403 ac_new_val_w=`echo x $ac_new_val`
2404 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2406 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2407 ac_cache_corrupted=:
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2410 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2411 eval $ac_var=\$ac_old_val
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2414 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2416 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2419 # Pass precious variables to config.status.
2420 if test "$ac_new_set" = set; then
2422 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2423 *) ac_arg=$ac_var=$ac_new_val ;;
2425 case " $ac_configure_args " in
2426 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2427 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2431 if $ac_cache_corrupted; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2435 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2436 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2438 ## -------------------- ##
2439 ## Main body of script. ##
2440 ## -------------------- ##
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451 ac_config_headers="$ac_config_headers config.h"
2455 am__api_version='1.15'
2458 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2459 if test -f "$ac_dir/install-sh"; then
2461 ac_install_sh="$ac_aux_dir/install-sh -c"
2463 elif test -f "$ac_dir/install.sh"; then
2465 ac_install_sh="$ac_aux_dir/install.sh -c"
2467 elif test -f "$ac_dir/shtool"; then
2469 ac_install_sh="$ac_aux_dir/shtool install -c"
2473 if test -z "$ac_aux_dir"; then
2474 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2477 # These three variables are undocumented and unsupported,
2478 # and are intended to be withdrawn in a future Autoconf release.
2479 # They can cause serious problems if a builder's source tree is in a directory
2480 # whose full name contains unusual characters.
2481 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2482 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2483 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2486 # Find a good install program. We prefer a C program (faster),
2487 # so one script is as good as another. But avoid the broken or
2488 # incompatible versions:
2489 # SysV /etc/install, /usr/sbin/install
2490 # SunOS /usr/etc/install
2491 # IRIX /sbin/install
2493 # AmigaOS /C/install, which installs bootblocks on floppy discs
2494 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2495 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2496 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2497 # OS/2's system install, which has a completely different semantic
2498 # ./install, which can be erroneously created by make from ./install.sh.
2499 # Reject install programs that cannot install multiple files.
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2501 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2502 if test -z "$INSTALL"; then
2503 if ${ac_cv_path_install+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 # Account for people who put trailing slashes in PATH elements.
2512 case $as_dir/ in #((
2513 ./ | .// | /[cC]/* | \
2514 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2515 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2518 # OSF1 and SCO ODT 3.0 have their own names for install.
2519 # Don't use installbsd from OSF since it installs stuff as root
2521 for ac_prog in ginstall scoinst install; do
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2524 if test $ac_prog = install &&
2525 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2526 # AIX install. It has an incompatible calling convention.
2528 elif test $ac_prog = install &&
2529 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2530 # program-specific install script used by HP pwplus--don't use.
2533 rm -rf conftest.one conftest.two conftest.dir
2534 echo one > conftest.one
2535 echo two > conftest.two
2537 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2538 test -s conftest.one && test -s conftest.two &&
2539 test -s conftest.dir/conftest.one &&
2540 test -s conftest.dir/conftest.two
2542 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2555 rm -rf conftest.one conftest.two conftest.dir
2558 if test "${ac_cv_path_install+set}" = set; then
2559 INSTALL=$ac_cv_path_install
2561 # As a last resort, use the slow shell script. Don't cache a
2562 # value for INSTALL within a source directory, because that will
2563 # break other packages using the cache if that directory is
2564 # removed, or if the value is a relative name.
2565 INSTALL=$ac_install_sh
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2569 $as_echo "$INSTALL" >&6; }
2571 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2572 # It thinks the first close brace ends the variable substitution.
2573 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2575 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2577 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2580 $as_echo_n "checking whether build environment is sane... " >&6; }
2581 # Reject unsafe characters in $srcdir or the absolute working directory
2582 # name. Accept space and tab only in the latter.
2586 *[\\\"\#\$\&\'\`$am_lf]*)
2587 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2590 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2591 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594 # Do 'set' in a subshell so we don't clobber the current shell's
2595 # arguments. Must try -L first in case configure is actually a
2596 # symlink; some systems play weird games with the mod time of symlinks
2597 # (eg FreeBSD returns the mod time of the symlink's containing
2601 for am_try in 1 2; do
2602 echo "timestamp, slept: $am_has_slept" > conftest.file
2603 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2604 if test "$*" = "X"; then
2606 set X `ls -t "$srcdir/configure" conftest.file`
2608 if test "$*" != "X $srcdir/configure conftest.file" \
2609 && test "$*" != "X conftest.file $srcdir/configure"; then
2611 # If neither matched, then we have a broken ls. This can happen
2612 # if, for instance, CONFIG_SHELL is bash and it inherits a
2613 # broken ls alias from the environment. This has actually
2614 # happened. Such a system could not be considered "sane".
2615 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2616 alias in your environment" "$LINENO" 5
2618 if test "$2" = conftest.file || test $am_try -eq 2; then
2625 test "$2" = conftest.file
2631 as_fn_error $? "newly created file is older than distributed files!
2632 Check your system clock" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2635 $as_echo "yes" >&6; }
2636 # If we didn't sleep, we still need to ensure time stamps of config.status and
2637 # generated files are strictly newer.
2639 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2646 test "$program_prefix" != NONE &&
2647 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2648 # Use a double $ so make ignores it.
2649 test "$program_suffix" != NONE &&
2650 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2651 # Double any \ or $.
2652 # By default was `s,x,x', remove it if useless.
2653 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2654 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2656 # Expand $ac_aux_dir to an absolute path.
2657 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2659 if test x"${MISSING+set}" != xset; then
2662 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2664 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2667 # Use eval to expand $SHELL
2668 if eval "$MISSING --is-lightweight"; then
2669 am_missing_run="$MISSING "
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2673 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676 if test x"${install_sh+set}" != xset; then
2679 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2681 install_sh="\${SHELL} $am_aux_dir/install-sh"
2685 # Installed binaries are usually stripped using 'strip' when the user
2686 # run "make install-strip". However 'strip' might not be the right
2687 # tool to use in cross-compilation environments, therefore Automake
2688 # will honor the 'STRIP' environment variable to overrule this program.
2689 if test "$cross_compiling" != no; then
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2692 set dummy ${ac_tool_prefix}strip; ac_word=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_STRIP+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$STRIP"; then
2699 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 STRIP=$ac_cv_prog_STRIP
2719 if test -n "$STRIP"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2721 $as_echo "$STRIP" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2729 if test -z "$ac_cv_prog_STRIP"; then
2731 # Extract the first word of "strip", so it can be a program name with args.
2732 set dummy strip; ac_word=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$ac_ct_STRIP"; then
2739 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir=.
2746 for ac_exec_ext in '' $ac_executable_extensions; do
2747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2748 ac_cv_prog_ac_ct_STRIP="strip"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2759 if test -n "$ac_ct_STRIP"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2761 $as_echo "$ac_ct_STRIP" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2767 if test "x$ac_ct_STRIP" = x; then
2770 case $cross_compiling:$ac_tool_warned in
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2774 ac_tool_warned=yes ;;
2779 STRIP="$ac_cv_prog_STRIP"
2783 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2786 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2787 if test -z "$MKDIR_P"; then
2788 if ${ac_cv_path_mkdir+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2795 test -z "$as_dir" && as_dir=.
2796 for ac_prog in mkdir gmkdir; do
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2799 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2800 'mkdir (GNU coreutils) '* | \
2801 'mkdir (coreutils) '* | \
2802 'mkdir (fileutils) '4.1*)
2803 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2813 test -d ./--version && rmdir ./--version
2814 if test "${ac_cv_path_mkdir+set}" = set; then
2815 MKDIR_P="$ac_cv_path_mkdir -p"
2817 # As a last resort, use the slow shell script. Don't cache a
2818 # value for MKDIR_P within a source directory, because that will
2819 # break other packages using the cache if that directory is
2820 # removed, or if the value is a relative name.
2821 MKDIR_P="$ac_install_sh -d"
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2825 $as_echo "$MKDIR_P" >&6; }
2827 for ac_prog in gawk mawk nawk awk
2829 # Extract the first word of "$ac_prog", so it can be a program name with args.
2830 set dummy $ac_prog; ac_word=$2
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832 $as_echo_n "checking for $ac_word... " >&6; }
2833 if ${ac_cv_prog_AWK+:} false; then :
2834 $as_echo_n "(cached) " >&6
2836 if test -n "$AWK"; then
2837 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir=.
2844 for ac_exec_ext in '' $ac_executable_extensions; do
2845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2846 ac_cv_prog_AWK="$ac_prog"
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$AWK"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2859 $as_echo "$AWK" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2866 test -n "$AWK" && break
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2870 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2872 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2873 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2874 $as_echo_n "(cached) " >&6
2876 cat >conftest.make <<\_ACEOF
2879 @echo '@@@%%%=$(MAKE)=@@@%%%'
2881 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2882 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2884 eval ac_cv_prog_make_${ac_make}_set=yes;;
2886 eval ac_cv_prog_make_${ac_make}_set=no;;
2890 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2892 $as_echo "yes" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2897 SET_MAKE="MAKE=${MAKE-make}"
2900 rm -rf .tst 2>/dev/null
2901 mkdir .tst 2>/dev/null
2902 if test -d .tst; then
2907 rmdir .tst 2>/dev/null
2909 # Check whether --enable-silent-rules was given.
2910 if test "${enable_silent_rules+set}" = set; then :
2911 enableval=$enable_silent_rules;
2914 case $enable_silent_rules in # (((
2915 yes) AM_DEFAULT_VERBOSITY=0;;
2916 no) AM_DEFAULT_VERBOSITY=1;;
2917 *) AM_DEFAULT_VERBOSITY=1;;
2919 am_make=${MAKE-make}
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2921 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2922 if ${am_cv_make_support_nested_variables+:} false; then :
2923 $as_echo_n "(cached) " >&6
2925 if $as_echo 'TRUE=$(BAR$(V))
2931 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2932 am_cv_make_support_nested_variables=yes
2934 am_cv_make_support_nested_variables=no
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2938 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2939 if test $am_cv_make_support_nested_variables = yes; then
2941 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2943 AM_V=$AM_DEFAULT_VERBOSITY
2944 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2948 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2949 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2950 # is not polluted with repeated "-I."
2951 am__isrc=' -I$(srcdir)'
2952 # test to see if srcdir already configured
2953 if test -f $srcdir/config.status; then
2954 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2958 # test whether we have cygpath
2959 if test -z "$CYGPATH_W"; then
2960 if (cygpath --version) >/dev/null 2>/dev/null; then
2961 CYGPATH_W='cygpath -w'
2968 # Define the identity of the package.
2973 # Some tools Automake needs.
2975 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2978 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2981 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2984 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2987 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2989 # For better backward compatibility. To be removed once Automake 1.9.x
2990 # dies out for good. For more background, see:
2991 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2992 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2993 mkdir_p='$(MKDIR_P)'
2995 # We need awk for the "check" target (and possibly the TAP driver). The
2996 # system "awk" is bad on some platforms.
2997 # Always define AMTAR for backward compatibility. Yes, it's still used
2998 # in the wild :-( We should find a proper way to deprecate it ...
3002 # We'll loop over all known methods to create a tar archive until one works.
3003 _am_tools='gnutar pax cpio none'
3005 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012 # POSIX will say in a future version that running "rm -f" with no argument
3013 # is OK; and we want to be able to make that assumption in our Makefile
3014 # recipes. So use an aggressive probe to check that the usage we want is
3015 # actually supported "in the wild" to an acceptable degree.
3016 # See automake bug#10828.
3017 # To make any issue more visible, cause the running configure to be aborted
3018 # by default if the 'rm' program in use doesn't match our expectations; the
3019 # user can still override this though.
3020 if rm -f && rm -fr && rm -rf; then : OK; else
3024 Your 'rm' program seems unable to run without file operands specified
3025 on the command line, even when the '-f' option is present. This is contrary
3026 to the behaviour of most rm programs out there, and not conforming with
3027 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3029 Please tell bug-automake@gnu.org about your system, including the value
3030 of your $PATH and any error possibly output before this message. This
3031 can help us improve future automake versions.
3034 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3035 echo 'Configuration will proceed anyway, since you have set the' >&2
3036 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3040 Aborting the configuration process, to ensure you take notice of the issue.
3042 You can download and install GNU coreutils to get an 'rm' implementation
3043 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3045 If you want to complete the configuration process using your problematic
3046 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3047 to "yes", and re-run configure.
3050 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3054 # Check whether --enable-silent-rules was given.
3055 if test "${enable_silent_rules+set}" = set; then :
3056 enableval=$enable_silent_rules;
3059 case $enable_silent_rules in # (((
3060 yes) AM_DEFAULT_VERBOSITY=0;;
3061 no) AM_DEFAULT_VERBOSITY=1;;
3062 *) AM_DEFAULT_VERBOSITY=0;;
3064 am_make=${MAKE-make}
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3066 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3067 if ${am_cv_make_support_nested_variables+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 if $as_echo 'TRUE=$(BAR$(V))
3076 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3077 am_cv_make_support_nested_variables=yes
3079 am_cv_make_support_nested_variables=no
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3083 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3084 if test $am_cv_make_support_nested_variables = yes; then
3086 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3088 AM_V=$AM_DEFAULT_VERBOSITY
3089 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3094 DEPDIR="${am__leading_dot}deps"
3096 ac_config_commands="$ac_config_commands depfiles"
3099 am_make=${MAKE-make}
3100 cat > confinc << 'END'
3102 @echo this is the am__doit target
3105 # If we don't find an include directive, just comment out the code.
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3107 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3111 # First try GNU make style include.
3112 echo "include confinc" > confmf
3113 # Ignore all kinds of additional output from 'make'.
3114 case `$am_make -s -f confmf 2> /dev/null` in #(
3115 *the\ am__doit\ target*)
3121 # Now try BSD make style include.
3122 if test "$am__include" = "#"; then
3123 echo '.include "confinc"' > confmf
3124 case `$am_make -s -f confmf 2> /dev/null` in #(
3125 *the\ am__doit\ target*)
3126 am__include=.include
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3135 $as_echo "$_am_result" >&6; }
3136 rm -f confinc confmf
3138 # Check whether --enable-dependency-tracking was given.
3139 if test "${enable_dependency_tracking+set}" = set; then :
3140 enableval=$enable_dependency_tracking;
3143 if test "x$enable_dependency_tracking" != xno; then
3144 am_depcomp="$ac_aux_dir/depcomp"
3148 if test "x$enable_dependency_tracking" != xno; then
3158 ac_cpp='$CPP $CPPFLAGS'
3159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3162 if test -n "$ac_tool_prefix"; then
3163 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3164 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166 $as_echo_n "checking for $ac_word... " >&6; }
3167 if ${ac_cv_prog_CC+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 if test -n "$CC"; then
3171 ac_cv_prog_CC="$CC" # Let the user override the test.
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3177 test -z "$as_dir" && as_dir=.
3178 for ac_exec_ext in '' $ac_executable_extensions; do
3179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 if test -n "$CC"; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3193 $as_echo "$CC" >&6; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3201 if test -z "$ac_cv_prog_CC"; then
3203 # Extract the first word of "gcc", so it can be a program name with args.
3204 set dummy gcc; ac_word=$2
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206 $as_echo_n "checking for $ac_word... " >&6; }
3207 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3208 $as_echo_n "(cached) " >&6
3210 if test -n "$ac_ct_CC"; then
3211 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220 ac_cv_prog_ac_ct_CC="gcc"
3221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3231 if test -n "$ac_ct_CC"; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3233 $as_echo "$ac_ct_CC" >&6; }
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3239 if test "x$ac_ct_CC" = x; then
3242 case $cross_compiling:$ac_tool_warned in
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3246 ac_tool_warned=yes ;;
3254 if test -z "$CC"; then
3255 if test -n "$ac_tool_prefix"; then
3256 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3257 set dummy ${ac_tool_prefix}cc; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_CC+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 if test -n "$CC"; then
3264 ac_cv_prog_CC="$CC" # Let the user override the test.
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_CC="${ac_tool_prefix}cc"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 if test -n "$CC"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3286 $as_echo "$CC" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3295 if test -z "$CC"; then
3296 # Extract the first word of "cc", so it can be a program name with args.
3297 set dummy cc; ac_word=$2
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299 $as_echo_n "checking for $ac_word... " >&6; }
3300 if ${ac_cv_prog_CC+:} false; then :
3301 $as_echo_n "(cached) " >&6
3303 if test -n "$CC"; then
3304 ac_cv_prog_CC="$CC" # Let the user override the test.
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 test -z "$as_dir" && as_dir=.
3312 for ac_exec_ext in '' $ac_executable_extensions; do
3313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3314 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3315 ac_prog_rejected=yes
3319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 if test $ac_prog_rejected = yes; then
3327 # We found a bogon in the path, so make sure we never use it.
3328 set dummy $ac_cv_prog_CC
3330 if test $# != 0; then
3331 # We chose a different compiler from the bogus one.
3332 # However, it has the same basename, so the bogon will be chosen
3333 # first if we set CC to just the basename; use the full file name.
3335 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3341 if test -n "$CC"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3343 $as_echo "$CC" >&6; }
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3351 if test -z "$CC"; then
3352 if test -n "$ac_tool_prefix"; then
3353 for ac_prog in cl.exe
3355 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if ${ac_cv_prog_CC+:} false; then :
3360 $as_echo_n "(cached) " >&6
3362 if test -n "$CC"; then
3363 ac_cv_prog_CC="$CC" # Let the user override the test.
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir=.
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 if test -n "$CC"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3385 $as_echo "$CC" >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3392 test -n "$CC" && break
3395 if test -z "$CC"; then
3397 for ac_prog in cl.exe
3399 # Extract the first word of "$ac_prog", so it can be a program name with args.
3400 set dummy $ac_prog; ac_word=$2
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402 $as_echo_n "checking for $ac_word... " >&6; }
3403 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3404 $as_echo_n "(cached) " >&6
3406 if test -n "$ac_ct_CC"; then
3407 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 test -z "$as_dir" && as_dir=.
3414 for ac_exec_ext in '' $ac_executable_extensions; do
3415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3416 ac_cv_prog_ac_ct_CC="$ac_prog"
3417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3427 if test -n "$ac_ct_CC"; then
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3429 $as_echo "$ac_ct_CC" >&6; }
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 $as_echo "no" >&6; }
3436 test -n "$ac_ct_CC" && break
3439 if test "x$ac_ct_CC" = x; then
3442 case $cross_compiling:$ac_tool_warned in
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3446 ac_tool_warned=yes ;;
3455 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457 as_fn_error $? "no acceptable C compiler found in \$PATH
3458 See \`config.log' for more details" "$LINENO" 5; }
3460 # Provide some information about the compiler.
3461 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3464 for ac_option in --version -v -V -qversion; do
3465 { { ac_try="$ac_compiler $ac_option >&5"
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3471 $as_echo "$ac_try_echo"; } >&5
3472 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3474 if test -s conftest.err; then
3476 ... rest of stderr output deleted ...
3477 10q' conftest.err >conftest.er1
3478 cat conftest.er1 >&5
3480 rm -f conftest.er1 conftest.err
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3496 ac_clean_files_save=$ac_clean_files
3497 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3498 # Try to create an executable without -o first, disregard a.out.
3499 # It will help us diagnose broken compilers, and finding out an intuition
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3502 $as_echo_n "checking whether the C compiler works... " >&6; }
3503 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3505 # The possible output files:
3506 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3509 for ac_file in $ac_files
3512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3513 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3518 if { { ac_try="$ac_link_default"
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 $as_echo "$ac_try_echo"; } >&5
3525 (eval "$ac_link_default") 2>&5
3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528 test $ac_status = 0; }; then :
3529 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3530 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3531 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3532 # so that the user can short-circuit this test for compilers unknown to
3534 for ac_file in $ac_files ''
3536 test -f "$ac_file" || continue
3538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3541 # We found the default executable, but exeext='' is most
3545 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3547 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3549 # We set ac_cv_exeext here because the later test for it is not
3550 # safe: cross compilers may not add the suffix if given an `-o'
3551 # argument, so we may need to know it at that point already.
3552 # Even if this section looks crufty: it has the advantage of
3559 test "$ac_cv_exeext" = no && ac_cv_exeext=
3564 if test -z "$ac_file"; then :
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 $as_echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572 as_fn_error 77 "C compiler cannot create executables
3573 See \`config.log' for more details" "$LINENO" 5; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3576 $as_echo "yes" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3579 $as_echo_n "checking for C compiler default output file name... " >&6; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3581 $as_echo "$ac_file" >&6; }
3582 ac_exeext=$ac_cv_exeext
3584 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3585 ac_clean_files=$ac_clean_files_save
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3587 $as_echo_n "checking for suffix of executables... " >&6; }
3588 if { { ac_try="$ac_link"
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595 (eval "$ac_link") 2>&5
3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598 test $ac_status = 0; }; then :
3599 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3600 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3601 # work properly (i.e., refer to `conftest.exe'), while it won't with
3603 for ac_file in conftest.exe conftest conftest.*; do
3604 test -f "$ac_file" || continue
3606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3607 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3616 See \`config.log' for more details" "$LINENO" 5; }
3618 rm -f conftest conftest$ac_cv_exeext
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3620 $as_echo "$ac_cv_exeext" >&6; }
3622 rm -f conftest.$ac_ext
3623 EXEEXT=$ac_cv_exeext
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3631 FILE *f = fopen ("conftest.out", "w");
3632 return ferror (f) || fclose (f) != 0;
3638 ac_clean_files="$ac_clean_files conftest.out"
3639 # Check that the compiler produces executables we can run. If not, either
3640 # the compiler is broken, or we cross compile.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3642 $as_echo_n "checking whether we are cross compiling... " >&6; }
3643 if test "$cross_compiling" != yes; then
3644 { { ac_try="$ac_link"
3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647 *) ac_try_echo=$ac_try;;
3649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3650 $as_echo "$ac_try_echo"; } >&5
3651 (eval "$ac_link") 2>&5
3653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3654 test $ac_status = 0; }
3655 if { ac_try='./conftest$ac_cv_exeext'
3656 { { case "(($ac_try" in
3657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661 $as_echo "$ac_try_echo"; } >&5
3662 (eval "$ac_try") 2>&5
3664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3665 test $ac_status = 0; }; }; then
3668 if test "$cross_compiling" = maybe; then
3671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3673 as_fn_error $? "cannot run C compiled programs.
3674 If you meant to cross compile, use \`--host'.
3675 See \`config.log' for more details" "$LINENO" 5; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3680 $as_echo "$cross_compiling" >&6; }
3682 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3683 ac_clean_files=$ac_clean_files_save
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3685 $as_echo_n "checking for suffix of object files... " >&6; }
3686 if ${ac_cv_objext+:} false; then :
3687 $as_echo_n "(cached) " >&6
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3700 rm -f conftest.o conftest.obj
3701 if { { ac_try="$ac_compile"
3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704 *) ac_try_echo=$ac_try;;
3706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3707 $as_echo "$ac_try_echo"; } >&5
3708 (eval "$ac_compile") 2>&5
3710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3711 test $ac_status = 0; }; then :
3712 for ac_file in conftest.o conftest.obj conftest.*; do
3713 test -f "$ac_file" || continue;
3715 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3716 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3721 $as_echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.$ac_ext >&5
3724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "cannot compute suffix of object files: cannot compile
3727 See \`config.log' for more details" "$LINENO" 5; }
3729 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3732 $as_echo "$ac_cv_objext" >&6; }
3733 OBJEXT=$ac_cv_objext
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3736 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3737 if ${ac_cv_c_compiler_gnu+:} false; then :
3738 $as_echo_n "(cached) " >&6
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3754 if ac_fn_c_try_compile "$LINENO"; then :
3759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3764 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3765 if test $ac_compiler_gnu = yes; then
3770 ac_test_CFLAGS=${CFLAGS+set}
3771 ac_save_CFLAGS=$CFLAGS
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3773 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3774 if ${ac_cv_prog_cc_g+:} false; then :
3775 $as_echo_n "(cached) " >&6
3777 ac_save_c_werror_flag=$ac_c_werror_flag
3778 ac_c_werror_flag=yes
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3792 if ac_fn_c_try_compile "$LINENO"; then :
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3807 if ac_fn_c_try_compile "$LINENO"; then :
3810 ac_c_werror_flag=$ac_save_c_werror_flag
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3823 if ac_fn_c_try_compile "$LINENO"; then :
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831 ac_c_werror_flag=$ac_save_c_werror_flag
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3834 $as_echo "$ac_cv_prog_cc_g" >&6; }
3835 if test "$ac_test_CFLAGS" = set; then
3836 CFLAGS=$ac_save_CFLAGS
3837 elif test $ac_cv_prog_cc_g = yes; then
3838 if test "$GCC" = yes; then
3844 if test "$GCC" = yes; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3851 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3852 if ${ac_cv_prog_cc_c89+:} false; then :
3853 $as_echo_n "(cached) " >&6
3855 ac_cv_prog_cc_c89=no
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3862 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3863 struct buf { int x; };
3864 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3865 static char *e (p, i)
3871 static char *f (char * (*g) (char **, int), char **p, ...)
3876 s = g (p, va_arg (v,int));
3881 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3882 function prototypes and stuff, but not '\xHH' hex character constants.
3883 These don't provoke an error unfortunately, instead are silently treated
3884 as 'x'. The following induces an error, until -std is added to get
3885 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3886 array size at least. It's necessary to write '\x00'==0 to get something
3887 that's true only with -std. */
3888 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3890 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3891 inside strings and character constants. */
3893 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3895 int test (int i, double x);
3896 struct s1 {int (*f) (int a);};
3897 struct s2 {int (*f) (double a);};
3898 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3904 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3909 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3910 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3912 CC="$ac_save_CC $ac_arg"
3913 if ac_fn_c_try_compile "$LINENO"; then :
3914 ac_cv_prog_cc_c89=$ac_arg
3916 rm -f core conftest.err conftest.$ac_objext
3917 test "x$ac_cv_prog_cc_c89" != "xno" && break
3919 rm -f conftest.$ac_ext
3924 case "x$ac_cv_prog_cc_c89" in
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3927 $as_echo "none needed" >&6; } ;;
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3930 $as_echo "unsupported" >&6; } ;;
3932 CC="$CC $ac_cv_prog_cc_c89"
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3934 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3936 if test "x$ac_cv_prog_cc_c89" != xno; then :
3941 ac_cpp='$CPP $CPPFLAGS'
3942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3952 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3953 if ${am_cv_prog_cc_c_o+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3967 # Make sure it works both with $CC and with simple cc.
3968 # Following AC_PROG_CC_C_O, we do the test twice because some
3969 # compilers refuse to overwrite an existing .o file with -o,
3970 # though they will create one.
3971 am_cv_prog_cc_c_o=yes
3973 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3974 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); } \
3978 && test -f conftest2.$ac_objext; then
3981 am_cv_prog_cc_c_o=no
3985 rm -f core conftest*
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3989 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3990 if test "$am_cv_prog_cc_c_o" != yes; then
3991 # Losing compiler, so override with the script.
3992 # FIXME: It is wrong to rewrite CC.
3993 # But if we don't then we get into trouble of one sort or another.
3994 # A longer-term fix would be to have automake use am__CC in this case,
3995 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3996 CC="$am_aux_dir/compile $CC"
3999 ac_cpp='$CPP $CPPFLAGS'
4000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4005 depcc="$CC" am_compiler_list=
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4008 $as_echo_n "checking dependency style of $depcc... " >&6; }
4009 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4010 $as_echo_n "(cached) " >&6
4012 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4013 # We make a subdir and do the tests there. Otherwise we can end up
4014 # making bogus files that we don't know about and never remove. For
4015 # instance it was reported that on HP-UX the gcc test will end up
4016 # making a dummy file named 'D' -- because '-MD' means "put the output
4020 # Copy depcomp to subdir because otherwise we won't find it if we're
4021 # using a relative directory.
4022 cp "$am_depcomp" conftest.dir
4024 # We will build objects and dependencies in a subdirectory because
4025 # it helps to detect inapplicable dependency modes. For instance
4026 # both Tru64's cc and ICC support -MD to output dependencies as a
4027 # side effect of compilation, but ICC will put the dependencies in
4028 # the current directory while Tru64 will put them in the object
4032 am_cv_CC_dependencies_compiler_type=none
4033 if test "$am_compiler_list" = ""; then
4034 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4037 case " $depcc " in #(
4038 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4041 for depmode in $am_compiler_list; do
4042 # Setup a source with many dependencies, because some compilers
4043 # like to wrap large dependency lists on column 80 (with \), and
4044 # we should not choose a depcomp mode which is confused by this.
4046 # We need to recreate these files for each test, as the compiler may
4047 # overwrite some of them when testing with obscure command lines.
4048 # This happens at least with the AIX C compiler.
4050 for i in 1 2 3 4 5 6; do
4051 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4052 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4053 # Solaris 10 /bin/sh.
4054 echo '/* dummy */' > sub/conftst$i.h
4056 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4058 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4059 # mode. It turns out that the SunPro C++ compiler does not properly
4060 # handle '-M -o', and we need to detect this. Also, some Intel
4061 # versions had trouble with output in subdirs.
4062 am__obj=sub/conftest.${OBJEXT-o}
4063 am__minus_obj="-o $am__obj"
4066 # This depmode causes a compiler race in universal mode.
4067 test "$am__universal" = false || continue
4070 # After this tag, mechanisms are not by side-effect, so they'll
4071 # only be used when explicitly requested.
4072 if test "x$enable_dependency_tracking" = xyes; then
4078 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4079 # This compiler won't grok '-c -o', but also, the minuso test has
4080 # not run yet. These depmodes are late enough in the game, and
4081 # so weak that their functioning should not be impacted.
4082 am__obj=conftest.${OBJEXT-o}
4087 if depmode=$depmode \
4088 source=sub/conftest.c object=$am__obj \
4089 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4090 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4091 >/dev/null 2>conftest.err &&
4092 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4093 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4094 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4095 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4096 # icc doesn't choke on unknown options, it will just issue warnings
4097 # or remarks (even with -Werror). So we grep stderr for any message
4098 # that says an option was ignored or not supported.
4099 # When given -MP, icc 7.0 and 7.1 complain thusly:
4100 # icc: Command line warning: ignoring option '-M'; no argument required
4101 # The diagnosis changed in icc 8.0:
4102 # icc: Command line remark: option '-MP' not supported
4103 if (grep 'ignoring option' conftest.err ||
4104 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4105 am_cv_CC_dependencies_compiler_type=$depmode
4114 am_cv_CC_dependencies_compiler_type=none
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4119 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4120 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4123 test "x$enable_dependency_tracking" != xno \
4124 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4126 am__fastdepCC_FALSE='#'
4128 am__fastdepCC_TRUE='#'
4129 am__fastdepCC_FALSE=
4134 if test -n "$ac_tool_prefix"; then
4135 for ac_prog in ar lib "link -lib"
4137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if ${ac_cv_prog_AR+:} false; then :
4142 $as_echo_n "(cached) " >&6
4144 if test -n "$AR"; then
4145 ac_cv_prog_AR="$AR" # Let the user override the test.
4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 test -z "$as_dir" && as_dir=.
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165 if test -n "$AR"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4167 $as_echo "$AR" >&6; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4174 test -n "$AR" && break
4177 if test -z "$AR"; then
4179 for ac_prog in ar lib "link -lib"
4181 # Extract the first word of "$ac_prog", so it can be a program name with args.
4182 set dummy $ac_prog; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4186 $as_echo_n "(cached) " >&6
4188 if test -n "$ac_ct_AR"; then
4189 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir=.
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4198 ac_cv_prog_ac_ct_AR="$ac_prog"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4209 if test -n "$ac_ct_AR"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4211 $as_echo "$ac_ct_AR" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4218 test -n "$ac_ct_AR" && break
4221 if test "x$ac_ct_AR" = x; then
4224 case $cross_compiling:$ac_tool_warned in
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4228 ac_tool_warned=yes ;;
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4237 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4238 if ${am_cv_ar_interface+:} false; then :
4239 $as_echo_n "(cached) " >&6
4242 ac_cpp='$CPP $CPPFLAGS'
4243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4247 am_cv_ar_interface=ar
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250 int some_variable = 0;
4252 if ac_fn_c_try_compile "$LINENO"; then :
4253 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4254 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4255 (eval $am_ar_try) 2>&5
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }
4259 if test "$ac_status" -eq 0; then
4260 am_cv_ar_interface=ar
4262 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4263 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4264 (eval $am_ar_try) 2>&5
4266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4267 test $ac_status = 0; }
4268 if test "$ac_status" -eq 0; then
4269 am_cv_ar_interface=lib
4271 am_cv_ar_interface=unknown
4274 rm -f conftest.lib libconftest.a
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 ac_cpp='$CPP $CPPFLAGS'
4280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4286 $as_echo "$am_cv_ar_interface" >&6; }
4288 case $am_cv_ar_interface in
4292 # Microsoft lib, so override with the ar-lib wrapper script.
4293 # FIXME: It is wrong to rewrite AR.
4294 # But if we don't then we get into trouble of one sort or another.
4295 # A longer-term fix would be to have automake use am__AR in this case,
4296 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4298 AR="$am_aux_dir/ar-lib $AR"
4301 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4306 # Initialize libtool
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4311 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4316 macro_version='2.4.6'
4317 macro_revision='2.4.6'
4331 ltmain=$ac_aux_dir/ltmain.sh
4333 # Make sure we can run config.sub.
4334 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4335 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4338 $as_echo_n "checking build system type... " >&6; }
4339 if ${ac_cv_build+:} false; then :
4340 $as_echo_n "(cached) " >&6
4342 ac_build_alias=$build_alias
4343 test "x$ac_build_alias" = x &&
4344 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4345 test "x$ac_build_alias" = x &&
4346 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4347 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4348 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4352 $as_echo "$ac_cv_build" >&6; }
4353 case $ac_cv_build in
4355 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4358 ac_save_IFS=$IFS; IFS='-'
4364 # Remember, the first character of IFS is used to create $*,
4365 # except with old shells:
4368 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4372 $as_echo_n "checking host system type... " >&6; }
4373 if ${ac_cv_host+:} false; then :
4374 $as_echo_n "(cached) " >&6
4376 if test "x$host_alias" = x; then
4377 ac_cv_host=$ac_cv_build
4379 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4380 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4385 $as_echo "$ac_cv_host" >&6; }
4388 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4391 ac_save_IFS=$IFS; IFS='-'
4397 # Remember, the first character of IFS is used to create $*,
4398 # except with old shells:
4401 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4404 # Backslashify metacharacters that are still active within
4405 # double-quoted strings.
4406 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4408 # Same as above, but do not quote variable references.
4409 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4411 # Sed substitution to delay expansion of an escaped shell variable in a
4412 # double_quote_subst'ed string.
4413 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4415 # Sed substitution to delay expansion of an escaped single quote.
4416 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4418 # Sed substitution to avoid accidental globbing in evaled expressions
4419 no_glob_subst='s/\*/\\\*/g'
4421 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4422 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4423 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4426 $as_echo_n "checking how to print strings... " >&6; }
4427 # Test print first, because it will be a builtin if present.
4428 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4429 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4431 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4434 # Use this function as a fallback that always works.
4435 func_fallback_echo ()
4437 eval 'cat <<_LTECHO_EOF
4441 ECHO='func_fallback_echo'
4444 # func_echo_all arg...
4445 # Invoke $ECHO with all args, space-separated.
4452 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4453 $as_echo "printf" >&6; } ;;
4454 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4455 $as_echo "print -r" >&6; } ;;
4456 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4457 $as_echo "cat" >&6; } ;;
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4474 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4475 if ${ac_cv_path_SED+:} false; then :
4476 $as_echo_n "(cached) " >&6
4478 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4479 for ac_i in 1 2 3 4 5 6 7; do
4480 ac_script="$ac_script$as_nl$ac_script"
4482 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4483 { ac_script=; unset ac_script;}
4484 if test -z "$SED"; then
4485 ac_path_SED_found=false
4486 # Loop through the user's path and test for each of PROGNAME-LIST
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 test -z "$as_dir" && as_dir=.
4492 for ac_prog in sed gsed; do
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4495 as_fn_executable_p "$ac_path_SED" || continue
4496 # Check for GNU ac_path_SED and select it if it is found.
4497 # Check for GNU $ac_path_SED
4498 case `"$ac_path_SED" --version 2>&1` in
4500 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4503 $as_echo_n 0123456789 >"conftest.in"
4506 cat "conftest.in" "conftest.in" >"conftest.tmp"
4507 mv "conftest.tmp" "conftest.in"
4508 cp "conftest.in" "conftest.nl"
4509 $as_echo '' >> "conftest.nl"
4510 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4511 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4512 as_fn_arith $ac_count + 1 && ac_count=$as_val
4513 if test $ac_count -gt ${ac_path_SED_max-0}; then
4514 # Best one so far, save it but keep looking for a better one
4515 ac_cv_path_SED="$ac_path_SED"
4516 ac_path_SED_max=$ac_count
4518 # 10*(2^10) chars as input seems more than enough
4519 test $ac_count -gt 10 && break
4521 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4524 $ac_path_SED_found && break 3
4529 if test -z "$ac_cv_path_SED"; then
4530 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4538 $as_echo "$ac_cv_path_SED" >&6; }
4539 SED="$ac_cv_path_SED"
4542 test -z "$SED" && SED=sed
4543 Xsed="$SED -e 1s/^X//"
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4556 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4557 if ${ac_cv_path_GREP+:} false; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -z "$GREP"; then
4561 ac_path_GREP_found=false
4562 # Loop through the user's path and test for each of PROGNAME-LIST
4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4567 test -z "$as_dir" && as_dir=.
4568 for ac_prog in grep ggrep; do
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4571 as_fn_executable_p "$ac_path_GREP" || continue
4572 # Check for GNU ac_path_GREP and select it if it is found.
4573 # Check for GNU $ac_path_GREP
4574 case `"$ac_path_GREP" --version 2>&1` in
4576 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4579 $as_echo_n 0123456789 >"conftest.in"
4582 cat "conftest.in" "conftest.in" >"conftest.tmp"
4583 mv "conftest.tmp" "conftest.in"
4584 cp "conftest.in" "conftest.nl"
4585 $as_echo 'GREP' >> "conftest.nl"
4586 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4587 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4588 as_fn_arith $ac_count + 1 && ac_count=$as_val
4589 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4590 # Best one so far, save it but keep looking for a better one
4591 ac_cv_path_GREP="$ac_path_GREP"
4592 ac_path_GREP_max=$ac_count
4594 # 10*(2^10) chars as input seems more than enough
4595 test $ac_count -gt 10 && break
4597 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4600 $ac_path_GREP_found && break 3
4605 if test -z "$ac_cv_path_GREP"; then
4606 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4609 ac_cv_path_GREP=$GREP
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4614 $as_echo "$ac_cv_path_GREP" >&6; }
4615 GREP="$ac_cv_path_GREP"
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4619 $as_echo_n "checking for egrep... " >&6; }
4620 if ${ac_cv_path_EGREP+:} false; then :
4621 $as_echo_n "(cached) " >&6
4623 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4624 then ac_cv_path_EGREP="$GREP -E"
4626 if test -z "$EGREP"; then
4627 ac_path_EGREP_found=false
4628 # Loop through the user's path and test for each of PROGNAME-LIST
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4633 test -z "$as_dir" && as_dir=.
4634 for ac_prog in egrep; do
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4637 as_fn_executable_p "$ac_path_EGREP" || continue
4638 # Check for GNU ac_path_EGREP and select it if it is found.
4639 # Check for GNU $ac_path_EGREP
4640 case `"$ac_path_EGREP" --version 2>&1` in
4642 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4645 $as_echo_n 0123456789 >"conftest.in"
4648 cat "conftest.in" "conftest.in" >"conftest.tmp"
4649 mv "conftest.tmp" "conftest.in"
4650 cp "conftest.in" "conftest.nl"
4651 $as_echo 'EGREP' >> "conftest.nl"
4652 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4654 as_fn_arith $ac_count + 1 && ac_count=$as_val
4655 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4656 # Best one so far, save it but keep looking for a better one
4657 ac_cv_path_EGREP="$ac_path_EGREP"
4658 ac_path_EGREP_max=$ac_count
4660 # 10*(2^10) chars as input seems more than enough
4661 test $ac_count -gt 10 && break
4663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4666 $ac_path_EGREP_found && break 3
4671 if test -z "$ac_cv_path_EGREP"; then
4672 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4675 ac_cv_path_EGREP=$EGREP
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4681 $as_echo "$ac_cv_path_EGREP" >&6; }
4682 EGREP="$ac_cv_path_EGREP"
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4686 $as_echo_n "checking for fgrep... " >&6; }
4687 if ${ac_cv_path_FGREP+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4691 then ac_cv_path_FGREP="$GREP -F"
4693 if test -z "$FGREP"; then
4694 ac_path_FGREP_found=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4700 test -z "$as_dir" && as_dir=.
4701 for ac_prog in fgrep; do
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4704 as_fn_executable_p "$ac_path_FGREP" || continue
4705 # Check for GNU ac_path_FGREP and select it if it is found.
4706 # Check for GNU $ac_path_FGREP
4707 case `"$ac_path_FGREP" --version 2>&1` in
4709 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4712 $as_echo_n 0123456789 >"conftest.in"
4715 cat "conftest.in" "conftest.in" >"conftest.tmp"
4716 mv "conftest.tmp" "conftest.in"
4717 cp "conftest.in" "conftest.nl"
4718 $as_echo 'FGREP' >> "conftest.nl"
4719 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
4722 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4723 # Best one so far, save it but keep looking for a better one
4724 ac_cv_path_FGREP="$ac_path_FGREP"
4725 ac_path_FGREP_max=$ac_count
4727 # 10*(2^10) chars as input seems more than enough
4728 test $ac_count -gt 10 && break
4730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4733 $ac_path_FGREP_found && break 3
4738 if test -z "$ac_cv_path_FGREP"; then
4739 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742 ac_cv_path_FGREP=$FGREP
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4748 $as_echo "$ac_cv_path_FGREP" >&6; }
4749 FGREP="$ac_cv_path_FGREP"
4752 test -z "$GREP" && GREP=grep
4772 # Check whether --with-gnu-ld was given.
4773 if test "${with_gnu_ld+set}" = set; then :
4774 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4780 if test yes = "$GCC"; then
4781 # Check if gcc -print-prog-name=ld gives a path.
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4783 $as_echo_n "checking for ld used by $CC... " >&6; }
4786 # gcc leaves a trailing carriage return, which upsets mingw
4787 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4789 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4792 # Accept absolute paths.
4794 re_direlt='/[^/][^/]*/\.\./'
4795 # Canonicalize the pathname of ld
4796 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4797 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4798 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4800 test -z "$LD" && LD=$ac_prog
4803 # If it fails, then pretend we aren't using GCC.
4807 # If it is relative, then search for the first ld in PATH.
4811 elif test yes = "$with_gnu_ld"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4813 $as_echo_n "checking for GNU ld... " >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4816 $as_echo_n "checking for non-GNU ld... " >&6; }
4818 if ${lt_cv_path_LD+:} false; then :
4819 $as_echo_n "(cached) " >&6
4821 if test -z "$LD"; then
4822 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4823 for ac_dir in $PATH; do
4825 test -z "$ac_dir" && ac_dir=.
4826 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4827 lt_cv_path_LD=$ac_dir/$ac_prog
4828 # Check to see if the program is GNU ld. I'd rather use --version,
4829 # but apparently some variants of GNU ld only accept -v.
4830 # Break only if it was the GNU/non-GNU ld that we prefer.
4831 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4832 *GNU* | *'with BFD'*)
4833 test no != "$with_gnu_ld" && break
4836 test yes != "$with_gnu_ld" && break
4843 lt_cv_path_LD=$LD # Let the user override the test with a path.
4848 if test -n "$LD"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4850 $as_echo "$LD" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4855 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4857 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4858 if ${lt_cv_prog_gnu_ld+:} false; then :
4859 $as_echo_n "(cached) " >&6
4861 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4862 case `$LD -v 2>&1 </dev/null` in
4863 *GNU* | *'with BFD'*)
4864 lt_cv_prog_gnu_ld=yes
4867 lt_cv_prog_gnu_ld=no
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4872 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4873 with_gnu_ld=$lt_cv_prog_gnu_ld
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4884 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4885 if ${lt_cv_path_NM+:} false; then :
4886 $as_echo_n "(cached) " >&6
4888 if test -n "$NM"; then
4889 # Let the user override the test.
4892 lt_nm_to_check=${ac_tool_prefix}nm
4893 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4894 lt_nm_to_check="$lt_nm_to_check nm"
4896 for lt_tmp_nm in $lt_nm_to_check; do
4897 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4898 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4900 test -z "$ac_dir" && ac_dir=.
4901 tmp_nm=$ac_dir/$lt_tmp_nm
4902 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4903 # Check to see if the nm accepts a BSD-compat flag.
4904 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4905 # nm: unknown option "B" ignored
4906 # Tru64's nm complains that /dev/null is an invalid object file
4907 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4909 mingw*) lt_bad_file=conftest.nm/nofile ;;
4910 *) lt_bad_file=/dev/null ;;
4912 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4913 *$lt_bad_file* | *'Invalid file or object type'*)
4914 lt_cv_path_NM="$tmp_nm -B"
4918 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4920 lt_cv_path_NM="$tmp_nm -p"
4924 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4925 continue # so that we can try to find one that supports BSD flags
4934 : ${lt_cv_path_NM=no}
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4938 $as_echo "$lt_cv_path_NM" >&6; }
4939 if test no != "$lt_cv_path_NM"; then
4942 # Didn't find any BSD compatible name lister, look for dumpbin.
4943 if test -n "$DUMPBIN"; then :
4944 # Let the user override the test.
4946 if test -n "$ac_tool_prefix"; then
4947 for ac_prog in dumpbin "link -dump"
4949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_prog_DUMPBIN+:} false; then :
4954 $as_echo_n "(cached) " >&6
4956 if test -n "$DUMPBIN"; then
4957 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 test -z "$as_dir" && as_dir=.
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 DUMPBIN=$ac_cv_prog_DUMPBIN
4977 if test -n "$DUMPBIN"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4979 $as_echo "$DUMPBIN" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4986 test -n "$DUMPBIN" && break
4989 if test -z "$DUMPBIN"; then
4990 ac_ct_DUMPBIN=$DUMPBIN
4991 for ac_prog in dumpbin "link -dump"
4993 # Extract the first word of "$ac_prog", so it can be a program name with args.
4994 set dummy $ac_prog; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4998 $as_echo_n "(cached) " >&6
5000 if test -n "$ac_ct_DUMPBIN"; then
5001 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5021 if test -n "$ac_ct_DUMPBIN"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5023 $as_echo "$ac_ct_DUMPBIN" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5030 test -n "$ac_ct_DUMPBIN" && break
5033 if test "x$ac_ct_DUMPBIN" = x; then
5036 case $cross_compiling:$ac_tool_warned in
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5040 ac_tool_warned=yes ;;
5042 DUMPBIN=$ac_ct_DUMPBIN
5046 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5048 DUMPBIN="$DUMPBIN -symbols -headers"
5056 if test : != "$DUMPBIN"; then
5060 test -z "$NM" && NM=nm
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5068 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5069 if ${lt_cv_nm_interface+:} false; then :
5070 $as_echo_n "(cached) " >&6
5072 lt_cv_nm_interface="BSD nm"
5073 echo "int some_variable = 0;" > conftest.$ac_ext
5074 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5075 (eval "$ac_compile" 2>conftest.err)
5076 cat conftest.err >&5
5077 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5078 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5079 cat conftest.err >&5
5080 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5081 cat conftest.out >&5
5082 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5083 lt_cv_nm_interface="MS dumpbin"
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5088 $as_echo "$lt_cv_nm_interface" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5091 $as_echo_n "checking whether ln -s works... " >&6; }
5093 if test "$LN_S" = "ln -s"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5095 $as_echo "yes" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5098 $as_echo "no, using $LN_S" >&6; }
5101 # find the maximum length of command line arguments
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5103 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5104 if ${lt_cv_sys_max_cmd_len+:} false; then :
5105 $as_echo_n "(cached) " >&6
5112 # On DJGPP, this test can blow up pretty badly due to problems in libc
5113 # (any single argument exceeding 2000 bytes causes a buffer overrun
5114 # during glob expansion). Even if it were fixed, the result of this
5115 # check would be larger than it should be.
5116 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5120 # Under GNU Hurd, this test is not required because there is
5121 # no limit to the length of command line arguments.
5122 # Libtool will interpret -1 as no limit whatsoever
5123 lt_cv_sys_max_cmd_len=-1;
5126 cygwin* | mingw* | cegcc*)
5127 # On Win9x/ME, this test blows up -- it succeeds, but takes
5128 # about 5 minutes as the teststring grows exponentially.
5129 # Worse, since 9x/ME are not pre-emptively multitasking,
5130 # you end up with a "frozen" computer, even though with patience
5131 # the test eventually succeeds (with a max line length of 256k).
5132 # Instead, let's just punt: use the minimum linelength reported by
5133 # all of the supported platforms: 8192 (on NT/2K/XP).
5134 lt_cv_sys_max_cmd_len=8192;
5138 # On MiNT this can take a long time and run out of memory.
5139 lt_cv_sys_max_cmd_len=8192;
5143 # On AmigaOS with pdksh, this test takes hours, literally.
5144 # So we just punt and use a minimum line length of 8192.
5145 lt_cv_sys_max_cmd_len=8192;
5148 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5149 # This has been around since 386BSD, at least. Likely further.
5150 if test -x /sbin/sysctl; then
5151 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5152 elif test -x /usr/sbin/sysctl; then
5153 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5155 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5157 # And add a safety zone
5158 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5159 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5163 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5164 lt_cv_sys_max_cmd_len=196608
5168 # The test takes a long time on OS/2.
5169 lt_cv_sys_max_cmd_len=8192
5173 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5174 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5175 # nice to cause kernel panics so lets avoid the loop below.
5176 # First set a reasonable default.
5177 lt_cv_sys_max_cmd_len=16384
5179 if test -x /sbin/sysconfig; then
5180 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5181 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5186 lt_cv_sys_max_cmd_len=102400
5188 sysv5* | sco5v6* | sysv4.2uw2*)
5189 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5190 if test -n "$kargmax"; then
5191 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5193 lt_cv_sys_max_cmd_len=32768
5197 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5198 if test -n "$lt_cv_sys_max_cmd_len" && \
5199 test undefined != "$lt_cv_sys_max_cmd_len"; then
5200 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5201 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5203 # Make teststring a little bigger before we do anything with it.
5204 # a 1K string should be a reasonable start.
5205 for i in 1 2 3 4 5 6 7 8; do
5206 teststring=$teststring$teststring
5208 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5209 # If test is not a shell built-in, we'll probably end up computing a
5210 # maximum length that is only half of the actual maximum length, but
5212 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5213 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5214 test 17 != "$i" # 1/2 MB should be enough
5217 teststring=$teststring$teststring
5219 # Only check the string length outside the loop.
5220 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5222 # Add a significant safety factor because C++ compilers can tack on
5223 # massive amounts of additional arguments before passing them to the
5224 # linker. It appears as though 1/2 is a usable value.
5225 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5232 if test -n "$lt_cv_sys_max_cmd_len"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5234 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5237 $as_echo "none" >&6; }
5239 max_cmd_len=$lt_cv_sys_max_cmd_len
5250 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5260 # test EBCDIC or ASCII
5261 case `echo X|tr X '\101'` in
5262 A) # ASCII based system
5263 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5264 lt_SP2NL='tr \040 \012'
5265 lt_NL2SP='tr \015\012 \040\040'
5267 *) # EBCDIC based system
5268 lt_SP2NL='tr \100 \n'
5269 lt_NL2SP='tr \r\n \100\100'
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5282 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5283 if ${lt_cv_to_host_file_cmd+:} false; then :
5284 $as_echo_n "(cached) " >&6
5289 *-*-mingw* ) # actually msys
5290 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5293 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5295 * ) # otherwise, assume *nix
5296 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5302 *-*-mingw* ) # actually msys
5303 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5306 lt_cv_to_host_file_cmd=func_convert_file_noop
5308 * ) # otherwise, assume *nix
5309 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5313 * ) # unhandled hosts (and "normal" native builds)
5314 lt_cv_to_host_file_cmd=func_convert_file_noop
5320 to_host_file_cmd=$lt_cv_to_host_file_cmd
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5322 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5329 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5330 if ${lt_cv_to_tool_file_cmd+:} false; then :
5331 $as_echo_n "(cached) " >&6
5333 #assume ordinary cross tools, or native build.
5334 lt_cv_to_tool_file_cmd=func_convert_file_noop
5338 *-*-mingw* ) # actually msys
5339 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5347 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5349 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5356 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5357 if ${lt_cv_ld_reload_flag+:} false; then :
5358 $as_echo_n "(cached) " >&6
5360 lt_cv_ld_reload_flag='-r'
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5363 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5364 reload_flag=$lt_cv_ld_reload_flag
5365 case $reload_flag in
5367 *) reload_flag=" $reload_flag" ;;
5369 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5371 cygwin* | mingw* | pw32* | cegcc*)
5372 if test yes != "$GCC"; then
5377 if test yes = "$GCC"; then
5378 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5380 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397 $as_echo_n "checking for $ac_word... " >&6; }
5398 if ${ac_cv_prog_OBJDUMP+:} false; then :
5399 $as_echo_n "(cached) " >&6
5401 if test -n "$OBJDUMP"; then
5402 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 OBJDUMP=$ac_cv_prog_OBJDUMP
5422 if test -n "$OBJDUMP"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5424 $as_echo "$OBJDUMP" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5432 if test -z "$ac_cv_prog_OBJDUMP"; then
5433 ac_ct_OBJDUMP=$OBJDUMP
5434 # Extract the first word of "objdump", so it can be a program name with args.
5435 set dummy objdump; ac_word=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$ac_ct_OBJDUMP"; then
5442 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5462 if test -n "$ac_ct_OBJDUMP"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5464 $as_echo "$ac_ct_OBJDUMP" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5470 if test "x$ac_ct_OBJDUMP" = x; then
5473 case $cross_compiling:$ac_tool_warned in
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5477 ac_tool_warned=yes ;;
5479 OBJDUMP=$ac_ct_OBJDUMP
5482 OBJDUMP="$ac_cv_prog_OBJDUMP"
5485 test -z "$OBJDUMP" && OBJDUMP=objdump
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5496 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5497 if ${lt_cv_deplibs_check_method+:} false; then :
5498 $as_echo_n "(cached) " >&6
5500 lt_cv_file_magic_cmd='$MAGIC_CMD'
5501 lt_cv_file_magic_test_file=
5502 lt_cv_deplibs_check_method='unknown'
5503 # Need to set the preceding variable on all platforms that support
5504 # interlibrary dependencies.
5505 # 'none' -- dependencies not supported.
5506 # 'unknown' -- same as none, but documents that we really don't know.
5507 # 'pass_all' -- all dependencies passed with no checks.
5508 # 'test_compile' -- check by making test program.
5509 # 'file_magic [[regex]]' -- check by looking for files in library path
5510 # that responds to the $file_magic_cmd with a given extended regex.
5511 # If you have 'file' or equivalent on your system and you're not sure
5512 # whether 'pass_all' will *always* work, you probably want this one.
5516 lt_cv_deplibs_check_method=pass_all
5520 lt_cv_deplibs_check_method=pass_all
5524 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5525 lt_cv_file_magic_cmd='/usr/bin/file -L'
5526 lt_cv_file_magic_test_file=/shlib/libc.so
5530 # func_win32_libid is a shell function defined in ltmain.sh
5531 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5532 lt_cv_file_magic_cmd='func_win32_libid'
5536 # Base MSYS/MinGW do not provide the 'file' command needed by
5537 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5538 # unless we find 'file', for example because we are cross-compiling.
5539 if ( file / ) >/dev/null 2>&1; then
5540 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5541 lt_cv_file_magic_cmd='func_win32_libid'
5543 # Keep this pattern in sync with the one in func_win32_libid.
5544 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5545 lt_cv_file_magic_cmd='$OBJDUMP -f'
5550 # use the weaker test based on 'objdump'. See mingw*.
5551 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5552 lt_cv_file_magic_cmd='$OBJDUMP -f'
5555 darwin* | rhapsody*)
5556 lt_cv_deplibs_check_method=pass_all
5559 freebsd* | dragonfly*)
5560 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5563 # Not sure whether the presence of OpenBSD here was a mistake.
5564 # Let's accept both of them until this is cleared up.
5565 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5566 lt_cv_file_magic_cmd=/usr/bin/file
5567 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5571 lt_cv_deplibs_check_method=pass_all
5576 lt_cv_deplibs_check_method=pass_all
5579 hpux10.20* | hpux11*)
5580 lt_cv_file_magic_cmd=/usr/bin/file
5583 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5584 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5587 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]'
5588 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5591 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5592 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5598 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5599 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5602 irix5* | irix6* | nonstopux*)
5604 *-32|*"-32 ") libmagic=32-bit;;
5605 *-n32|*"-n32 ") libmagic=N32;;
5606 *-64|*"-64 ") libmagic=64-bit;;
5607 *) libmagic=never-match;;
5609 lt_cv_deplibs_check_method=pass_all
5612 # This must be glibc/ELF.
5613 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5614 lt_cv_deplibs_check_method=pass_all
5618 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5619 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5621 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5626 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5627 lt_cv_file_magic_cmd=/usr/bin/file
5628 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5632 lt_cv_deplibs_check_method=pass_all
5636 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5637 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5639 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5643 osf3* | osf4* | osf5*)
5644 lt_cv_deplibs_check_method=pass_all
5648 lt_cv_deplibs_check_method=pass_all
5652 lt_cv_deplibs_check_method=pass_all
5655 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5656 lt_cv_deplibs_check_method=pass_all
5660 case $host_vendor in
5662 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]'
5663 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5666 lt_cv_deplibs_check_method=pass_all
5669 lt_cv_file_magic_cmd='/bin/file'
5670 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5673 lt_cv_file_magic_cmd='/bin/file'
5674 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5675 lt_cv_file_magic_test_file=/lib/libc.so
5678 lt_cv_deplibs_check_method=pass_all
5681 lt_cv_deplibs_check_method=pass_all
5687 lt_cv_deplibs_check_method=pass_all
5690 lt_cv_deplibs_check_method=pass_all
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5696 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5700 if test "$build" = "$host"; then
5703 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5706 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5712 file_magic_cmd=$lt_cv_file_magic_cmd
5713 deplibs_check_method=$lt_cv_deplibs_check_method
5714 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5737 if test -n "$ac_tool_prefix"; then
5738 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5739 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_DLLTOOL+:} false; then :
5743 $as_echo_n "(cached) " >&6
5745 if test -n "$DLLTOOL"; then
5746 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 DLLTOOL=$ac_cv_prog_DLLTOOL
5766 if test -n "$DLLTOOL"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5768 $as_echo "$DLLTOOL" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5776 if test -z "$ac_cv_prog_DLLTOOL"; then
5777 ac_ct_DLLTOOL=$DLLTOOL
5778 # Extract the first word of "dlltool", so it can be a program name with args.
5779 set dummy dlltool; ac_word=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5783 $as_echo_n "(cached) " >&6
5785 if test -n "$ac_ct_DLLTOOL"; then
5786 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5806 if test -n "$ac_ct_DLLTOOL"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5808 $as_echo "$ac_ct_DLLTOOL" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811 $as_echo "no" >&6; }
5814 if test "x$ac_ct_DLLTOOL" = x; then
5817 case $cross_compiling:$ac_tool_warned in
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5821 ac_tool_warned=yes ;;
5823 DLLTOOL=$ac_ct_DLLTOOL
5826 DLLTOOL="$ac_cv_prog_DLLTOOL"
5829 test -z "$DLLTOOL" && DLLTOOL=dlltool
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5841 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5842 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5843 $as_echo_n "(cached) " >&6
5845 lt_cv_sharedlib_from_linklib_cmd='unknown'
5848 cygwin* | mingw* | pw32* | cegcc*)
5849 # two different shell functions defined in ltmain.sh;
5850 # decide which one to use based on capabilities of $DLLTOOL
5851 case `$DLLTOOL --help 2>&1` in
5852 *--identify-strict*)
5853 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5856 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5861 # fallback: assume linklib IS sharedlib
5862 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5868 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5869 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5870 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5878 if test -n "$ac_tool_prefix"; then
5881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5882 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_AR+:} false; then :
5886 $as_echo_n "(cached) " >&6
5888 if test -n "$AR"; then
5889 ac_cv_prog_AR="$AR" # Let the user override the test.
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 if test -n "$AR"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5911 $as_echo "$AR" >&6; }
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5918 test -n "$AR" && break
5921 if test -z "$AR"; then
5925 # Extract the first word of "$ac_prog", so it can be a program name with args.
5926 set dummy $ac_prog; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5930 $as_echo_n "(cached) " >&6
5932 if test -n "$ac_ct_AR"; then
5933 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942 ac_cv_prog_ac_ct_AR="$ac_prog"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5953 if test -n "$ac_ct_AR"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5955 $as_echo "$ac_ct_AR" >&6; }
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5962 test -n "$ac_ct_AR" && break
5965 if test "x$ac_ct_AR" = x; then
5968 case $cross_compiling:$ac_tool_warned in
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5972 ac_tool_warned=yes ;;
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5992 $as_echo_n "checking for archiver @FILE support... " >&6; }
5993 if ${lt_cv_ar_at_file+:} false; then :
5994 $as_echo_n "(cached) " >&6
5997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
6008 if ac_fn_c_try_compile "$LINENO"; then :
6009 echo conftest.$ac_objext > conftest.lst
6010 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
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 -eq "$ac_status"; then
6017 # Ensure the archiver fails upon bogus file names.
6018 rm -f conftest.$ac_objext libconftest.a
6019 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6020 (eval $lt_ar_try) 2>&5
6022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023 test $ac_status = 0; }
6024 if test 0 -ne "$ac_status"; then
6028 rm -f conftest.* libconftest.a
6031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6035 $as_echo "$lt_cv_ar_at_file" >&6; }
6037 if test no = "$lt_cv_ar_at_file"; then
6040 archiver_list_spec=$lt_cv_ar_at_file
6049 if test -n "$ac_tool_prefix"; then
6050 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6051 set dummy ${ac_tool_prefix}strip; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_prog_STRIP+:} false; then :
6055 $as_echo_n "(cached) " >&6
6057 if test -n "$STRIP"; then
6058 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 STRIP=$ac_cv_prog_STRIP
6078 if test -n "$STRIP"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6080 $as_echo "$STRIP" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6088 if test -z "$ac_cv_prog_STRIP"; then
6090 # Extract the first word of "strip", so it can be a program name with args.
6091 set dummy strip; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$ac_ct_STRIP"; then
6098 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_ac_ct_STRIP="strip"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6118 if test -n "$ac_ct_STRIP"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6120 $as_echo "$ac_ct_STRIP" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6126 if test "x$ac_ct_STRIP" = x; then
6129 case $cross_compiling:$ac_tool_warned in
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6133 ac_tool_warned=yes ;;
6138 STRIP="$ac_cv_prog_STRIP"
6141 test -z "$STRIP" && STRIP=:
6148 if test -n "$ac_tool_prefix"; then
6149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_RANLIB+:} false; then :
6154 $as_echo_n "(cached) " >&6
6156 if test -n "$RANLIB"; then
6157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 RANLIB=$ac_cv_prog_RANLIB
6177 if test -n "$RANLIB"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6179 $as_echo "$RANLIB" >&6; }
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6187 if test -z "$ac_cv_prog_RANLIB"; then
6188 ac_ct_RANLIB=$RANLIB
6189 # Extract the first word of "ranlib", so it can be a program name with args.
6190 set dummy ranlib; ac_word=$2
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192 $as_echo_n "checking for $ac_word... " >&6; }
6193 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6194 $as_echo_n "(cached) " >&6
6196 if test -n "$ac_ct_RANLIB"; then
6197 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 test -z "$as_dir" && as_dir=.
6204 for ac_exec_ext in '' $ac_executable_extensions; do
6205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6206 ac_cv_prog_ac_ct_RANLIB="ranlib"
6207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6216 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6217 if test -n "$ac_ct_RANLIB"; then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6219 $as_echo "$ac_ct_RANLIB" >&6; }
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222 $as_echo "no" >&6; }
6225 if test "x$ac_ct_RANLIB" = x; then
6228 case $cross_compiling:$ac_tool_warned in
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6232 ac_tool_warned=yes ;;
6234 RANLIB=$ac_ct_RANLIB
6237 RANLIB="$ac_cv_prog_RANLIB"
6240 test -z "$RANLIB" && RANLIB=:
6247 # Determine commands to create old-style static archives.
6248 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6249 old_postinstall_cmds='chmod 644 $oldlib'
6250 old_postuninstall_cmds=
6252 if test -n "$RANLIB"; then
6255 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6258 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6261 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6266 lock_old_archive_extraction=yes ;;
6268 lock_old_archive_extraction=no ;;
6309 # If no C compiler was specified, use CC.
6312 # If no C compiler flags were specified, use CFLAGS.
6313 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6315 # Allow CC to be a program name with arguments.
6319 # Check for command to grab the raw symbol name followed by C symbol from nm.
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6321 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6322 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6323 $as_echo_n "(cached) " >&6
6326 # These are sane defaults that work on at least a few old systems.
6327 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6329 # Character class describing NM global symbol codes.
6330 symcode='[BCDEGRST]'
6332 # Regexp to match symbols that can be accessed directly from C.
6333 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6335 # Define system-specific variables.
6340 cygwin* | mingw* | pw32* | cegcc*)
6341 symcode='[ABCDGISTW]'
6344 if test ia64 = "$host_cpu"; then
6345 symcode='[ABCDEGRST]'
6349 symcode='[BCDEGRST]'
6352 symcode='[BCDEGQRST]'
6363 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6371 # If we're using GNU nm, then use its standard symbol codes.
6372 case `$NM -V 2>&1` in
6373 *GNU* | *'with BFD'*)
6374 symcode='[ABCDGIRSTW]' ;;
6377 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6378 # Gets list of data symbols to import.
6379 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6380 # Adjust the below global symbol transforms to fixup imported variables.
6381 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6382 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6383 lt_c_name_lib_hook="\
6384 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6385 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6387 # Disable hooks by default.
6388 lt_cv_sys_global_symbol_to_import=
6394 # Transform an extracted symbol line into a proper C declaration.
6395 # Some systems (esp. on ia64) link data and code symbols differently,
6396 # so use this general approach.
6397 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6399 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6400 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6402 # Transform an extracted symbol line into symbol name and symbol address
6403 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6405 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6406 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6408 # Transform an extracted symbol line into symbol name with lib prefix and
6410 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6411 $lt_c_name_lib_hook\
6412 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6413 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6414 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6416 # Handle CRLF in mingw tool chain
6420 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6424 # Try without a prefix underscore, then with it.
6425 for ac_symprfx in "" "_"; do
6427 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6428 symxfrm="\\1 $ac_symprfx\\2 \\2"
6430 # Write the raw and C identifiers.
6431 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6432 # Fake it for dumpbin and say T for any non-static function,
6433 # D for any global variable and I for any imported variable.
6434 # Also find C++ and __fastcall symbols from MSVC++,
6435 # which start with @ or ?.
6436 lt_cv_sys_global_symbol_pipe="$AWK '"\
6437 " {last_section=section; section=\$ 3};"\
6438 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6439 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6440 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6441 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6442 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6443 " \$ 0!~/External *\|/{next};"\
6444 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6445 " {if(hide[section]) next};"\
6446 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6447 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6448 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6449 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6450 " ' prfx=^$ac_symprfx"
6452 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6454 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6456 # Check to see that the pipe works correctly.
6460 cat > conftest.$ac_ext <<_LT_EOF
6465 void nm_test_func(void);
6466 void nm_test_func(void){}
6470 int main(){nm_test_var='a';nm_test_func();return(0);}
6473 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6474 (eval $ac_compile) 2>&5
6476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6477 test $ac_status = 0; }; then
6478 # Now try to grab the symbols.
6480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6481 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6484 test $ac_status = 0; } && test -s "$nlist"; then
6485 # Try sorting and uniquifying the output.
6486 if sort "$nlist" | uniq > "$nlist"T; then
6487 mv -f "$nlist"T "$nlist"
6492 # Make sure that we snagged all the symbols we need.
6493 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6494 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6495 cat <<_LT_EOF > conftest.$ac_ext
6496 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6497 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6498 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6499 relocations are performed -- see ld's documentation on pseudo-relocs. */
6500 # define LT_DLSYM_CONST
6501 #elif defined __osf__
6502 /* This system does not cope well with relocations in const data. */
6503 # define LT_DLSYM_CONST
6505 # define LT_DLSYM_CONST const
6513 # Now generate the symbol file.
6514 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6516 cat <<_LT_EOF >> conftest.$ac_ext
6518 /* The mapping between symbol names and symbols. */
6519 LT_DLSYM_CONST struct {
6523 lt__PROGRAM__LTX_preloaded_symbols[] =
6525 { "@PROGRAM@", (void *) 0 },
6527 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6528 cat <<\_LT_EOF >> conftest.$ac_ext
6532 /* This works around a problem in FreeBSD linker */
6533 #ifdef FREEBSD_WORKAROUND
6534 static const void *lt_preloaded_setup() {
6535 return lt__PROGRAM__LTX_preloaded_symbols;
6543 # Now try linking the two files.
6544 mv conftest.$ac_objext conftstm.$ac_objext
6545 lt_globsym_save_LIBS=$LIBS
6546 lt_globsym_save_CFLAGS=$CFLAGS
6547 LIBS=conftstm.$ac_objext
6548 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6549 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6550 (eval $ac_link) 2>&5
6552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6553 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6556 LIBS=$lt_globsym_save_LIBS
6557 CFLAGS=$lt_globsym_save_CFLAGS
6559 echo "cannot find nm_test_func in $nlist" >&5
6562 echo "cannot find nm_test_var in $nlist" >&5
6565 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6568 echo "$progname: failed program was:" >&5
6569 cat conftest.$ac_ext >&5
6571 rm -rf conftest* conftst*
6573 # Do not use the global_symbol_pipe unless it works.
6574 if test yes = "$pipe_works"; then
6577 lt_cv_sys_global_symbol_pipe=
6583 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6584 lt_cv_sys_global_symbol_to_cdecl=
6586 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6588 $as_echo "failed" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6591 $as_echo "ok" >&6; }
6594 # Response file support.
6595 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6596 nm_file_list_spec='@'
6597 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6598 nm_file_list_spec='@'
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6638 $as_echo_n "checking for sysroot... " >&6; }
6640 # Check whether --with-sysroot was given.
6641 if test "${with_sysroot+set}" = set; then :
6642 withval=$with_sysroot;
6649 case $with_sysroot in #(
6651 if test yes = "$GCC"; then
6652 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6656 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6662 $as_echo "$with_sysroot" >&6; }
6663 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6668 $as_echo "${lt_sysroot:-no}" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6675 $as_echo_n "checking for a working dd... " >&6; }
6676 if ${ac_cv_path_lt_DD+:} false; then :
6677 $as_echo_n "(cached) " >&6
6679 printf 0123456789abcdef0123456789abcdef >conftest.i
6680 cat conftest.i conftest.i >conftest2.i
6682 if test -z "$lt_DD"; then
6683 ac_path_lt_DD_found=false
6684 # Loop through the user's path and test for each of PROGNAME-LIST
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir=.
6690 for ac_prog in dd; do
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6693 as_fn_executable_p "$ac_path_lt_DD" || continue
6694 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6695 cmp -s conftest.i conftest.out \
6696 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6698 $ac_path_lt_DD_found && break 3
6703 if test -z "$ac_cv_path_lt_DD"; then
6707 ac_cv_path_lt_DD=$lt_DD
6710 rm -f conftest.i conftest2.i conftest.out
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6713 $as_echo "$ac_cv_path_lt_DD" >&6; }
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6717 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6718 if ${lt_cv_truncate_bin+:} false; then :
6719 $as_echo_n "(cached) " >&6
6721 printf 0123456789abcdef0123456789abcdef >conftest.i
6722 cat conftest.i conftest.i >conftest2.i
6724 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6725 cmp -s conftest.i conftest.out \
6726 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6728 rm -f conftest.i conftest2.i conftest.out
6729 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6732 $as_echo "$lt_cv_truncate_bin" >&6; }
6740 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6743 for cc_temp in $*""; do
6745 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6746 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6751 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6754 # Check whether --enable-libtool-lock was given.
6755 if test "${enable_libtool_lock+set}" = set; then :
6756 enableval=$enable_libtool_lock;
6759 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6761 # Some flags need to be propagated to the compiler or linker for good
6765 # Find out what ABI is being produced by ac_compile, and set mode
6766 # options accordingly.
6767 echo 'int i;' > conftest.$ac_ext
6768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6769 (eval $ac_compile) 2>&5
6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772 test $ac_status = 0; }; then
6773 case `/usr/bin/file conftest.$ac_objext` in
6785 # Find out what ABI is being produced by ac_compile, and set linker
6786 # options accordingly.
6787 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789 (eval $ac_compile) 2>&5
6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792 test $ac_status = 0; }; then
6793 if test yes = "$lt_cv_prog_gnu_ld"; then
6794 case `/usr/bin/file conftest.$ac_objext` in
6796 LD="${LD-ld} -melf32bsmip"
6799 LD="${LD-ld} -melf32bmipn32"
6802 LD="${LD-ld} -melf64bmip"
6806 case `/usr/bin/file conftest.$ac_objext` in
6823 # Find out what ABI is being produced by ac_compile, and set linker
6824 # options accordingly.
6825 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6827 (eval $ac_compile) 2>&5
6829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6830 test $ac_status = 0; }; then
6832 case `/usr/bin/file conftest.$ac_objext` in
6840 case `/usr/bin/file conftest.$ac_objext` in
6842 emul="${emul}btsmip"
6845 emul="${emul}ltsmip"
6848 case `/usr/bin/file conftest.$ac_objext` in
6853 LD="${LD-ld} -m $emul"
6858 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6859 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6860 # Find out what ABI is being produced by ac_compile, and set linker
6861 # options accordingly. Note that the listed cases only cover the
6862 # situations where additional linker options are needed (such as when
6863 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6864 # vice versa); the common cases where no linker options are needed do
6865 # not appear in the list.
6866 echo 'int i;' > conftest.$ac_ext
6867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868 (eval $ac_compile) 2>&5
6870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6871 test $ac_status = 0; }; then
6872 case `/usr/bin/file conftest.o` in
6875 x86_64-*kfreebsd*-gnu)
6876 LD="${LD-ld} -m elf_i386_fbsd"
6879 case `/usr/bin/file conftest.o` in
6881 LD="${LD-ld} -m elf32_x86_64"
6884 LD="${LD-ld} -m elf_i386"
6888 powerpc64le-*linux*)
6889 LD="${LD-ld} -m elf32lppclinux"
6892 LD="${LD-ld} -m elf32ppclinux"
6895 LD="${LD-ld} -m elf_s390"
6898 LD="${LD-ld} -m elf32_sparc"
6904 x86_64-*kfreebsd*-gnu)
6905 LD="${LD-ld} -m elf_x86_64_fbsd"
6908 LD="${LD-ld} -m elf_x86_64"
6911 LD="${LD-ld} -m elf64lppc"
6914 LD="${LD-ld} -m elf64ppc"
6916 s390*-*linux*|s390*-*tpf*)
6917 LD="${LD-ld} -m elf64_s390"
6920 LD="${LD-ld} -m elf64_sparc"
6930 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6932 CFLAGS="$CFLAGS -belf"
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6934 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6935 if ${lt_cv_cc_needs_belf+:} false; then :
6936 $as_echo_n "(cached) " >&6
6939 ac_cpp='$CPP $CPPFLAGS'
6940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6945 /* end confdefs.h. */
6955 if ac_fn_c_try_link "$LINENO"; then :
6956 lt_cv_cc_needs_belf=yes
6958 lt_cv_cc_needs_belf=no
6960 rm -f core conftest.err conftest.$ac_objext \
6961 conftest$ac_exeext conftest.$ac_ext
6963 ac_cpp='$CPP $CPPFLAGS'
6964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6970 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6971 if test yes != "$lt_cv_cc_needs_belf"; then
6972 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6977 # Find out what ABI is being produced by ac_compile, and set linker
6978 # options accordingly.
6979 echo 'int i;' > conftest.$ac_ext
6980 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6981 (eval $ac_compile) 2>&5
6983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6984 test $ac_status = 0; }; then
6985 case `/usr/bin/file conftest.o` in
6987 case $lt_cv_prog_gnu_ld in
6990 i?86-*-solaris*|x86_64-*-solaris*)
6991 LD="${LD-ld} -m elf_x86_64"
6994 LD="${LD-ld} -m elf64_sparc"
6997 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6998 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7003 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7015 need_locks=$enable_libtool_lock
7017 if test -n "$ac_tool_prefix"; then
7018 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7019 set dummy ${ac_tool_prefix}mt; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7023 $as_echo_n "(cached) " >&6
7025 if test -n "$MANIFEST_TOOL"; then
7026 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7046 if test -n "$MANIFEST_TOOL"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7048 $as_echo "$MANIFEST_TOOL" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7056 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7057 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7058 # Extract the first word of "mt", so it can be a program name with args.
7059 set dummy mt; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7063 $as_echo_n "(cached) " >&6
7065 if test -n "$ac_ct_MANIFEST_TOOL"; then
7066 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7086 if test -n "$ac_ct_MANIFEST_TOOL"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7088 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 $as_echo "no" >&6; }
7094 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7097 case $cross_compiling:$ac_tool_warned in
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7101 ac_tool_warned=yes ;;
7103 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7106 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7109 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7111 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7112 if ${lt_cv_path_mainfest_tool+:} false; then :
7113 $as_echo_n "(cached) " >&6
7115 lt_cv_path_mainfest_tool=no
7116 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7117 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7118 cat conftest.err >&5
7119 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7120 lt_cv_path_mainfest_tool=yes
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7125 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7126 if test yes != "$lt_cv_path_mainfest_tool"; then
7136 rhapsody* | darwin*)
7137 if test -n "$ac_tool_prefix"; then
7138 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7139 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7143 $as_echo_n "(cached) " >&6
7145 if test -n "$DSYMUTIL"; then
7146 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir=.
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7166 if test -n "$DSYMUTIL"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7168 $as_echo "$DSYMUTIL" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7176 if test -z "$ac_cv_prog_DSYMUTIL"; then
7177 ac_ct_DSYMUTIL=$DSYMUTIL
7178 # Extract the first word of "dsymutil", so it can be a program name with args.
7179 set dummy dsymutil; ac_word=$2
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181 $as_echo_n "checking for $ac_word... " >&6; }
7182 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7183 $as_echo_n "(cached) " >&6
7185 if test -n "$ac_ct_DSYMUTIL"; then
7186 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir=.
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7206 if test -n "$ac_ct_DSYMUTIL"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7208 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 $as_echo "no" >&6; }
7214 if test "x$ac_ct_DSYMUTIL" = x; then
7217 case $cross_compiling:$ac_tool_warned in
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7221 ac_tool_warned=yes ;;
7223 DSYMUTIL=$ac_ct_DSYMUTIL
7226 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7229 if test -n "$ac_tool_prefix"; then
7230 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7231 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if ${ac_cv_prog_NMEDIT+:} false; then :
7235 $as_echo_n "(cached) " >&6
7237 if test -n "$NMEDIT"; then
7238 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257 NMEDIT=$ac_cv_prog_NMEDIT
7258 if test -n "$NMEDIT"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7260 $as_echo "$NMEDIT" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7268 if test -z "$ac_cv_prog_NMEDIT"; then
7269 ac_ct_NMEDIT=$NMEDIT
7270 # Extract the first word of "nmedit", so it can be a program name with args.
7271 set dummy nmedit; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7275 $as_echo_n "(cached) " >&6
7277 if test -n "$ac_ct_NMEDIT"; then
7278 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7298 if test -n "$ac_ct_NMEDIT"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7300 $as_echo "$ac_ct_NMEDIT" >&6; }
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7306 if test "x$ac_ct_NMEDIT" = x; then
7309 case $cross_compiling:$ac_tool_warned in
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned=yes ;;
7315 NMEDIT=$ac_ct_NMEDIT
7318 NMEDIT="$ac_cv_prog_NMEDIT"
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_LIPO+:} false; then :
7327 $as_echo_n "(cached) " >&6
7329 if test -n "$LIPO"; then
7330 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349 LIPO=$ac_cv_prog_LIPO
7350 if test -n "$LIPO"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7352 $as_echo "$LIPO" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_LIPO"; then
7362 # Extract the first word of "lipo", so it can be a program name with args.
7363 set dummy lipo; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7367 $as_echo_n "(cached) " >&6
7369 if test -n "$ac_ct_LIPO"; then
7370 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 test -z "$as_dir" && as_dir=.
7377 for ac_exec_ext in '' $ac_executable_extensions; do
7378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_LIPO="lipo"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7390 if test -n "$ac_ct_LIPO"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7392 $as_echo "$ac_ct_LIPO" >&6; }
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_LIPO" = x; then
7401 case $cross_compiling:$ac_tool_warned in
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7410 LIPO="$ac_cv_prog_LIPO"
7413 if test -n "$ac_tool_prefix"; then
7414 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7415 set dummy ${ac_tool_prefix}otool; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_OTOOL+:} false; then :
7419 $as_echo_n "(cached) " >&6
7421 if test -n "$OTOOL"; then
7422 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 OTOOL=$ac_cv_prog_OTOOL
7442 if test -n "$OTOOL"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7444 $as_echo "$OTOOL" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7452 if test -z "$ac_cv_prog_OTOOL"; then
7454 # Extract the first word of "otool", so it can be a program name with args.
7455 set dummy otool; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7459 $as_echo_n "(cached) " >&6
7461 if test -n "$ac_ct_OTOOL"; then
7462 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 test -z "$as_dir" && as_dir=.
7469 for ac_exec_ext in '' $ac_executable_extensions; do
7470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7471 ac_cv_prog_ac_ct_OTOOL="otool"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7482 if test -n "$ac_ct_OTOOL"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7484 $as_echo "$ac_ct_OTOOL" >&6; }
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7490 if test "x$ac_ct_OTOOL" = x; then
7493 case $cross_compiling:$ac_tool_warned in
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497 ac_tool_warned=yes ;;
7502 OTOOL="$ac_cv_prog_OTOOL"
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_OTOOL64+:} false; then :
7511 $as_echo_n "(cached) " >&6
7513 if test -n "$OTOOL64"; then
7514 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533 OTOOL64=$ac_cv_prog_OTOOL64
7534 if test -n "$OTOOL64"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7536 $as_echo "$OTOOL64" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7544 if test -z "$ac_cv_prog_OTOOL64"; then
7545 ac_ct_OTOOL64=$OTOOL64
7546 # Extract the first word of "otool64", so it can be a program name with args.
7547 set dummy otool64; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7551 $as_echo_n "(cached) " >&6
7553 if test -n "$ac_ct_OTOOL64"; then
7554 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_ac_ct_OTOOL64="otool64"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7574 if test -n "$ac_ct_OTOOL64"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7576 $as_echo "$ac_ct_OTOOL64" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7582 if test "x$ac_ct_OTOOL64" = x; then
7585 case $cross_compiling:$ac_tool_warned in
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7591 OTOOL64=$ac_ct_OTOOL64
7594 OTOOL64="$ac_cv_prog_OTOOL64"
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7624 $as_echo_n "checking for -single_module linker flag... " >&6; }
7625 if ${lt_cv_apple_cc_single_mod+:} false; then :
7626 $as_echo_n "(cached) " >&6
7628 lt_cv_apple_cc_single_mod=no
7629 if test -z "$LT_MULTI_MODULE"; then
7630 # By default we will add the -single_module flag. You can override
7631 # by either setting the environment variable LT_MULTI_MODULE
7632 # non-empty at configure time, or by adding -multi_module to the
7634 rm -rf libconftest.dylib*
7635 echo "int foo(void){return 1;}" > conftest.c
7636 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7637 -dynamiclib -Wl,-single_module conftest.c" >&5
7638 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7639 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7641 # If there is a non-empty error log, and "single_module"
7642 # appears in it, assume the flag caused a linker warning
7643 if test -s conftest.err && $GREP single_module conftest.err; then
7644 cat conftest.err >&5
7645 # Otherwise, if the output was created with a 0 exit code from
7646 # the compiler, it worked.
7647 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7648 lt_cv_apple_cc_single_mod=yes
7650 cat conftest.err >&5
7652 rm -rf libconftest.dylib*
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7657 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7660 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7661 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7662 $as_echo_n "(cached) " >&6
7664 lt_cv_ld_exported_symbols_list=no
7665 save_LDFLAGS=$LDFLAGS
7666 echo "_main" > conftest.sym
7667 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h. */
7679 if ac_fn_c_try_link "$LINENO"; then :
7680 lt_cv_ld_exported_symbols_list=yes
7682 lt_cv_ld_exported_symbols_list=no
7684 rm -f core conftest.err conftest.$ac_objext \
7685 conftest$ac_exeext conftest.$ac_ext
7686 LDFLAGS=$save_LDFLAGS
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7690 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7693 $as_echo_n "checking for -force_load linker flag... " >&6; }
7694 if ${lt_cv_ld_force_load+:} false; then :
7695 $as_echo_n "(cached) " >&6
7697 lt_cv_ld_force_load=no
7698 cat > conftest.c << _LT_EOF
7699 int forced_loaded() { return 2;}
7701 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7702 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7703 echo "$AR cru libconftest.a conftest.o" >&5
7704 $AR cru libconftest.a conftest.o 2>&5
7705 echo "$RANLIB libconftest.a" >&5
7706 $RANLIB libconftest.a 2>&5
7707 cat > conftest.c << _LT_EOF
7708 int main() { return 0;}
7710 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7711 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7713 if test -s conftest.err && $GREP force_load conftest.err; then
7714 cat conftest.err >&5
7715 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7716 lt_cv_ld_force_load=yes
7718 cat conftest.err >&5
7720 rm -f conftest.err libconftest.a conftest conftest.c
7721 rm -rf conftest.dSYM
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7725 $as_echo "$lt_cv_ld_force_load" >&6; }
7727 rhapsody* | darwin1.[012])
7728 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7730 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7731 darwin*) # darwin 5.x on
7732 # if running on 10.5 or later, the deployment target defaults
7733 # to the OS version, if on x86, and 10.4, the deployment
7734 # target defaults to 10.4. Don't you love it?
7735 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7736 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7737 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7739 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7741 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7745 if test yes = "$lt_cv_apple_cc_single_mod"; then
7746 _lt_dar_single_mod='$single_module'
7748 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7749 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7751 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7753 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7754 _lt_dsymutil='~$DSYMUTIL $lib || :'
7761 # func_munge_path_list VARIABLE PATH
7762 # -----------------------------------
7763 # VARIABLE is name of variable containing _space_ separated list of
7764 # directories to be munged by the contents of PATH, which is string
7767 # string "DIR[ DIR]" will be prepended to VARIABLE
7769 # string "DIR[ DIR]" will be appended to VARIABLE
7770 # "DIRP[:DIRP]::[DIRA:]DIRA"
7771 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7772 # "DIRA[ DIRA]" will be appended to VARIABLE
7774 # VARIABLE will be replaced by "DIR[ DIR]"
7775 func_munge_path_list ()
7781 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7784 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7787 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7788 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7791 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7797 ac_cpp='$CPP $CPPFLAGS'
7798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7802 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7803 # On Suns, sometimes $CPP names a directory.
7804 if test -n "$CPP" && test -d "$CPP"; then
7807 if test -z "$CPP"; then
7808 if ${ac_cv_prog_CPP+:} false; then :
7809 $as_echo_n "(cached) " >&6
7811 # Double quotes because CPP needs to be expanded
7812 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7815 for ac_c_preproc_warn_flag in '' yes
7817 # Use a header file that comes with gcc, so configuring glibc
7818 # with a fresh cross-compiler works.
7819 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7820 # <limits.h> exists even on freestanding compilers.
7821 # On the NeXT, cc -E runs the code through the compiler's parser,
7822 # not just through cpp. "Syntax error" is here to catch this case.
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7826 # include <limits.h>
7828 # include <assert.h>
7832 if ac_fn_c_try_cpp "$LINENO"; then :
7835 # Broken: fails on valid input.
7838 rm -f conftest.err conftest.i conftest.$ac_ext
7840 # OK, works on sane cases. Now check whether nonexistent headers
7841 # can be detected and how.
7842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7843 /* end confdefs.h. */
7844 #include <ac_nonexistent.h>
7846 if ac_fn_c_try_cpp "$LINENO"; then :
7847 # Broken: success on invalid input.
7850 # Passes both tests.
7854 rm -f conftest.err conftest.i conftest.$ac_ext
7857 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7858 rm -f conftest.i conftest.err conftest.$ac_ext
7859 if $ac_preproc_ok; then :
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7872 $as_echo "$CPP" >&6; }
7874 for ac_c_preproc_warn_flag in '' yes
7876 # Use a header file that comes with gcc, so configuring glibc
7877 # with a fresh cross-compiler works.
7878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7879 # <limits.h> exists even on freestanding compilers.
7880 # On the NeXT, cc -E runs the code through the compiler's parser,
7881 # not just through cpp. "Syntax error" is here to catch this case.
7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7883 /* end confdefs.h. */
7885 # include <limits.h>
7887 # include <assert.h>
7891 if ac_fn_c_try_cpp "$LINENO"; then :
7894 # Broken: fails on valid input.
7897 rm -f conftest.err conftest.i conftest.$ac_ext
7899 # OK, works on sane cases. Now check whether nonexistent headers
7900 # can be detected and how.
7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7903 #include <ac_nonexistent.h>
7905 if ac_fn_c_try_cpp "$LINENO"; then :
7906 # Broken: success on invalid input.
7909 # Passes both tests.
7913 rm -f conftest.err conftest.i conftest.$ac_ext
7916 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7917 rm -f conftest.i conftest.err conftest.$ac_ext
7918 if $ac_preproc_ok; then :
7921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7923 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7924 See \`config.log' for more details" "$LINENO" 5; }
7928 ac_cpp='$CPP $CPPFLAGS'
7929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7935 $as_echo_n "checking for ANSI C header files... " >&6; }
7936 if ${ac_cv_header_stdc+:} false; then :
7937 $as_echo_n "(cached) " >&6
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7954 if ac_fn_c_try_compile "$LINENO"; then :
7955 ac_cv_header_stdc=yes
7957 ac_cv_header_stdc=no
7959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7961 if test $ac_cv_header_stdc = yes; then
7962 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7969 $EGREP "memchr" >/dev/null 2>&1; then :
7972 ac_cv_header_stdc=no
7978 if test $ac_cv_header_stdc = yes; then
7979 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7981 /* end confdefs.h. */
7985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7986 $EGREP "free" >/dev/null 2>&1; then :
7989 ac_cv_header_stdc=no
7995 if test $ac_cv_header_stdc = yes; then
7996 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7997 if test "$cross_compiling" = yes; then :
8000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8004 #if ((' ' & 0x0FF) == 0x020)
8005 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8006 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8008 # define ISLOWER(c) \
8009 (('a' <= (c) && (c) <= 'i') \
8010 || ('j' <= (c) && (c) <= 'r') \
8011 || ('s' <= (c) && (c) <= 'z'))
8012 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8015 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8020 for (i = 0; i < 256; i++)
8021 if (XOR (islower (i), ISLOWER (i))
8022 || toupper (i) != TOUPPER (i))
8027 if ac_fn_c_try_run "$LINENO"; then :
8030 ac_cv_header_stdc=no
8032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8033 conftest.$ac_objext conftest.beam conftest.$ac_ext
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8039 $as_echo "$ac_cv_header_stdc" >&6; }
8040 if test $ac_cv_header_stdc = yes; then
8042 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8046 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8047 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8048 inttypes.h stdint.h unistd.h
8050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8051 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8053 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8054 cat >>confdefs.h <<_ACEOF
8055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8063 for ac_header in dlfcn.h
8065 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8067 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_DLFCN_H 1
8081 # Check whether --enable-static was given.
8082 if test "${enable_static+set}" = set; then :
8083 enableval=$enable_static; p=${PACKAGE-default}
8085 yes) enable_static=yes ;;
8086 no) enable_static=no ;;
8089 # Look at the argument we got. We use all the common list separators.
8090 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8091 for pkg in $enableval; do
8093 if test "X$pkg" = "X$p"; then
8119 # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121 enableval=$enable_shared; p=${PACKAGE-default}
8123 yes) enable_shared=yes ;;
8124 no) enable_shared=no ;;
8127 # Look at the argument we got. We use all the common list separators.
8128 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8129 for pkg in $enableval; do
8131 if test "X$pkg" = "X$p"; then
8152 # Check whether --with-pic was given.
8153 if test "${with_pic+set}" = set; then :
8154 withval=$with_pic; lt_p=${PACKAGE-default}
8156 yes|no) pic_mode=$withval ;;
8159 # Look at the argument we got. We use all the common list separators.
8160 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8161 for lt_pkg in $withval; do
8163 if test "X$lt_pkg" = "X$lt_p"; then
8181 # Check whether --enable-fast-install was given.
8182 if test "${enable_fast_install+set}" = set; then :
8183 enableval=$enable_fast_install; p=${PACKAGE-default}
8185 yes) enable_fast_install=yes ;;
8186 no) enable_fast_install=no ;;
8188 enable_fast_install=no
8189 # Look at the argument we got. We use all the common list separators.
8190 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8191 for pkg in $enableval; do
8193 if test "X$pkg" = "X$p"; then
8194 enable_fast_install=yes
8201 enable_fast_install=yes
8211 shared_archive_member_spec=
8212 case $host,$enable_shared in
8213 power*-*-aix[5-9]*,yes)
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8215 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8217 # Check whether --with-aix-soname was given.
8218 if test "${with_aix_soname+set}" = set; then :
8219 withval=$with_aix_soname; case $withval in
8223 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8226 lt_cv_with_aix_soname=$with_aix_soname
8228 if ${lt_cv_with_aix_soname+:} false; then :
8229 $as_echo_n "(cached) " >&6
8231 lt_cv_with_aix_soname=aix
8234 with_aix_soname=$lt_cv_with_aix_soname
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8238 $as_echo "$with_aix_soname" >&6; }
8239 if test aix != "$with_aix_soname"; then
8240 # For the AIX way of multilib, we name the shared archive member
8241 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8242 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8243 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8244 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8245 if test 64 = "${OBJECT_MODE-32}"; then
8246 shared_archive_member_spec=shr_64
8248 shared_archive_member_spec=shr
8266 # This can be used to rebuild libtool when needed
8267 LIBTOOL_DEPS=$ltmain
8269 # Always use our own libtool.
8270 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8301 test -z "$LN_S" && LN_S="ln -s"
8316 if test -n "${ZSH_VERSION+set}"; then
8317 setopt NO_GLOB_SUBST
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8321 $as_echo_n "checking for objdir... " >&6; }
8322 if ${lt_cv_objdir+:} false; then :
8323 $as_echo_n "(cached) " >&6
8325 rm -f .libs 2>/dev/null
8326 mkdir .libs 2>/dev/null
8327 if test -d .libs; then
8330 # MS-DOS does not allow filenames that begin with a dot.
8333 rmdir .libs 2>/dev/null
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8336 $as_echo "$lt_cv_objdir" >&6; }
8337 objdir=$lt_cv_objdir
8343 cat >>confdefs.h <<_ACEOF
8344 #define LT_OBJDIR "$lt_cv_objdir/"
8352 # AIX sometimes has problems with the GCC collect2 program. For some
8353 # reason, if we set the COLLECT_NAMES environment variable, the problems
8354 # vanish in a puff of smoke.
8355 if test set != "${COLLECT_NAMES+set}"; then
8357 export COLLECT_NAMES
8364 can_build_shared=yes
8366 # All known linkers require a '.a' archive for static linking (except MSVC,
8367 # which needs '.lib').
8370 with_gnu_ld=$lt_cv_prog_gnu_ld
8375 # Set sane defaults for various variables
8376 test -z "$CC" && CC=cc
8377 test -z "$LTCC" && LTCC=$CC
8378 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8379 test -z "$LD" && LD=ld
8380 test -z "$ac_objext" && ac_objext=o
8382 func_cc_basename $compiler
8383 cc_basename=$func_cc_basename_result
8386 # Only perform the check for file, if the check method requires it
8387 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8388 case $deplibs_check_method in
8390 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8392 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8393 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8394 $as_echo_n "(cached) " >&6
8398 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8401 lt_save_MAGIC_CMD=$MAGIC_CMD
8402 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8403 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8404 for ac_dir in $ac_dummy; do
8406 test -z "$ac_dir" && ac_dir=.
8407 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8408 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8409 if test -n "$file_magic_test_file"; then
8410 case $deplibs_check_method in
8412 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8413 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8414 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8415 $EGREP "$file_magic_regex" > /dev/null; then
8420 *** Warning: the command libtool uses to detect shared libraries,
8421 *** $file_magic_cmd, produces output that libtool cannot recognize.
8422 *** The result is that libtool may fail to recognize shared libraries
8423 *** as such. This will affect the creation of libtool libraries that
8424 *** depend on shared libraries, but programs linked with such libtool
8425 *** libraries will work regardless of this problem. Nevertheless, you
8426 *** may want to report the problem to your system manager and/or to
8427 *** bug-libtool@gnu.org
8437 MAGIC_CMD=$lt_save_MAGIC_CMD
8442 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8443 if test -n "$MAGIC_CMD"; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8445 $as_echo "$MAGIC_CMD" >&6; }
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8448 $as_echo "no" >&6; }
8455 if test -z "$lt_cv_path_MAGIC_CMD"; then
8456 if test -n "$ac_tool_prefix"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8458 $as_echo_n "checking for file... " >&6; }
8459 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8460 $as_echo_n "(cached) " >&6
8464 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8467 lt_save_MAGIC_CMD=$MAGIC_CMD
8468 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8469 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8470 for ac_dir in $ac_dummy; do
8472 test -z "$ac_dir" && ac_dir=.
8473 if test -f "$ac_dir/file"; then
8474 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8475 if test -n "$file_magic_test_file"; then
8476 case $deplibs_check_method in
8478 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8479 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8480 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8481 $EGREP "$file_magic_regex" > /dev/null; then
8486 *** Warning: the command libtool uses to detect shared libraries,
8487 *** $file_magic_cmd, produces output that libtool cannot recognize.
8488 *** The result is that libtool may fail to recognize shared libraries
8489 *** as such. This will affect the creation of libtool libraries that
8490 *** depend on shared libraries, but programs linked with such libtool
8491 *** libraries will work regardless of this problem. Nevertheless, you
8492 *** may want to report the problem to your system manager and/or to
8493 *** bug-libtool@gnu.org
8503 MAGIC_CMD=$lt_save_MAGIC_CMD
8508 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8509 if test -n "$MAGIC_CMD"; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8511 $as_echo "$MAGIC_CMD" >&6; }
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8514 $as_echo "no" >&6; }
8527 # Use C for the default configuration in the libtool script
8531 ac_cpp='$CPP $CPPFLAGS'
8532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8537 # Source file extension for C test sources.
8540 # Object file extension for compiled C test sources.
8544 # Code to be used in simple compile tests
8545 lt_simple_compile_test_code="int some_variable = 0;"
8547 # Code to be used in simple link tests
8548 lt_simple_link_test_code='int main(){return(0);}'
8556 # If no C compiler was specified, use CC.
8559 # If no C compiler flags were specified, use CFLAGS.
8560 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8562 # Allow CC to be a program name with arguments.
8565 # Save the default compiler, since it gets overwritten when the other
8566 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8567 compiler_DEFAULT=$CC
8569 # save warnings/boilerplate of simple test code
8570 ac_outfile=conftest.$ac_objext
8571 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8572 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8573 _lt_compiler_boilerplate=`cat conftest.err`
8576 ac_outfile=conftest.$ac_objext
8577 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8578 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8579 _lt_linker_boilerplate=`cat conftest.err`
8584 ## There is no encapsulation within the following macros, do not change
8585 ## the running order or otherwise move them around unless you know exactly
8586 ## what you are doing...
8587 if test -n "$compiler"; then
8589 lt_prog_compiler_no_builtin_flag=
8591 if test yes = "$GCC"; then
8592 case $cc_basename in
8594 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8596 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8600 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8601 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8602 $as_echo_n "(cached) " >&6
8604 lt_cv_prog_compiler_rtti_exceptions=no
8605 ac_outfile=conftest.$ac_objext
8606 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8607 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8608 # Insert the option either (1) after the last *FLAGS variable, or
8609 # (2) before a word containing "conftest.", or (3) at the end.
8610 # Note that $ac_compile itself does not contain backslashes and begins
8611 # with a dollar sign (not a hyphen), so the echo should work correctly.
8612 # The option is referenced via a variable to avoid confusing sed.
8613 lt_compile=`echo "$ac_compile" | $SED \
8614 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8616 -e 's:$: $lt_compiler_flag:'`
8617 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8618 (eval "$lt_compile" 2>conftest.err)
8620 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 if (exit $ac_status) && test -s "$ac_outfile"; then
8623 # The compiler can only warn and ignore the option if not recognized
8624 # So say no if there are warnings other than the usual output.
8625 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8626 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8627 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8628 lt_cv_prog_compiler_rtti_exceptions=yes
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8635 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8637 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8638 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8650 lt_prog_compiler_wl=
8651 lt_prog_compiler_pic=
8652 lt_prog_compiler_static=
8655 if test yes = "$GCC"; then
8656 lt_prog_compiler_wl='-Wl,'
8657 lt_prog_compiler_static='-static'
8661 # All AIX code is PIC.
8662 if test ia64 = "$host_cpu"; then
8663 # AIX 5 now supports IA64 processor
8664 lt_prog_compiler_static='-Bstatic'
8666 lt_prog_compiler_pic='-fPIC'
8672 # see comment about AmigaOS4 .so support
8673 lt_prog_compiler_pic='-fPIC'
8676 # FIXME: we need at least 68020 code to build shared libraries, but
8677 # adding the '-m68020' flag to GCC prevents building anything better,
8679 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8684 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8685 # PIC is the default for these OSes.
8688 mingw* | cygwin* | pw32* | os2* | cegcc*)
8689 # This hack is so that the source file can tell whether it is being
8690 # built for inclusion in a dll (and should export symbols for example).
8691 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8692 # (--disable-auto-import) libraries
8693 lt_prog_compiler_pic='-DDLL_EXPORT'
8696 lt_prog_compiler_static='$wl-static'
8701 darwin* | rhapsody*)
8702 # PIC is the default on this platform
8703 # Common symbols not allowed in MH_DYLIB files
8704 lt_prog_compiler_pic='-fno-common'
8708 # PIC is the default for Haiku.
8709 # The "-static" flag exists, but is broken.
8710 lt_prog_compiler_static=
8714 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8715 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8716 # sets the default TLS model and affects inlining.
8722 lt_prog_compiler_pic='-fPIC'
8728 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8729 # Instead, we relocate shared libraries at runtime.
8733 # Just because we use GCC doesn't mean we suddenly get shared libraries
8734 # on systems that don't support them.
8735 lt_prog_compiler_can_build_shared=no
8740 # QNX uses GNU C++, but need to define -shared option too, otherwise
8742 lt_prog_compiler_pic='-fPIC -shared'
8746 if test -d /usr/nec; then
8747 lt_prog_compiler_pic=-Kconform_pic
8752 lt_prog_compiler_pic='-fPIC'
8756 case $cc_basename in
8757 nvcc*) # Cuda Compiler Driver 2.2
8758 lt_prog_compiler_wl='-Xlinker '
8759 if test -n "$lt_prog_compiler_pic"; then
8760 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8765 # PORTME Check for flag to pass linker flags through the system compiler.
8768 lt_prog_compiler_wl='-Wl,'
8769 if test ia64 = "$host_cpu"; then
8770 # AIX 5 now supports IA64 processor
8771 lt_prog_compiler_static='-Bstatic'
8773 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8777 darwin* | rhapsody*)
8778 # PIC is the default on this platform
8779 # Common symbols not allowed in MH_DYLIB files
8780 lt_prog_compiler_pic='-fno-common'
8781 case $cc_basename in
8783 # NAG Fortran compiler
8784 lt_prog_compiler_wl='-Wl,-Wl,,'
8785 lt_prog_compiler_pic='-PIC'
8786 lt_prog_compiler_static='-Bstatic'
8791 mingw* | cygwin* | pw32* | os2* | cegcc*)
8792 # This hack is so that the source file can tell whether it is being
8793 # built for inclusion in a dll (and should export symbols for example).
8794 lt_prog_compiler_pic='-DDLL_EXPORT'
8797 lt_prog_compiler_static='$wl-static'
8802 hpux9* | hpux10* | hpux11*)
8803 lt_prog_compiler_wl='-Wl,'
8804 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8811 lt_prog_compiler_pic='+Z'
8814 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8815 lt_prog_compiler_static='$wl-a ${wl}archive'
8818 irix5* | irix6* | nonstopux*)
8819 lt_prog_compiler_wl='-Wl,'
8820 # PIC (with -KPIC) is the default.
8821 lt_prog_compiler_static='-non_shared'
8824 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8825 case $cc_basename in
8826 # old Intel for x86_64, which still supported -KPIC.
8828 lt_prog_compiler_wl='-Wl,'
8829 lt_prog_compiler_pic='-KPIC'
8830 lt_prog_compiler_static='-static'
8832 # icc used to be incompatible with GCC.
8833 # ICC 10 doesn't accept -KPIC any more.
8835 lt_prog_compiler_wl='-Wl,'
8836 lt_prog_compiler_pic='-fPIC'
8837 lt_prog_compiler_static='-static'
8839 # Lahey Fortran 8.1.
8841 lt_prog_compiler_wl='-Wl,'
8842 lt_prog_compiler_pic='--shared'
8843 lt_prog_compiler_static='--static'
8846 # NAG Fortran compiler
8847 lt_prog_compiler_wl='-Wl,-Wl,,'
8848 lt_prog_compiler_pic='-PIC'
8849 lt_prog_compiler_static='-Bstatic'
8852 # Fabrice Bellard et al's Tiny C Compiler
8853 lt_prog_compiler_wl='-Wl,'
8854 lt_prog_compiler_pic='-fPIC'
8855 lt_prog_compiler_static='-static'
8857 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8858 # Portland Group compilers (*not* the Pentium gcc compiler,
8859 # which looks to be a dead project)
8860 lt_prog_compiler_wl='-Wl,'
8861 lt_prog_compiler_pic='-fpic'
8862 lt_prog_compiler_static='-Bstatic'
8865 lt_prog_compiler_wl='-Wl,'
8866 # All Alpha code is PIC.
8867 lt_prog_compiler_static='-non_shared'
8869 xl* | bgxl* | bgf* | mpixl*)
8870 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_pic='-qpic'
8873 lt_prog_compiler_static='-qstaticlink'
8876 case `$CC -V 2>&1 | sed 5q` in
8877 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8878 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8879 lt_prog_compiler_pic='-KPIC'
8880 lt_prog_compiler_static='-Bstatic'
8881 lt_prog_compiler_wl=''
8883 *Sun\ F* | *Sun*Fortran*)
8884 lt_prog_compiler_pic='-KPIC'
8885 lt_prog_compiler_static='-Bstatic'
8886 lt_prog_compiler_wl='-Qoption ld '
8890 lt_prog_compiler_pic='-KPIC'
8891 lt_prog_compiler_static='-Bstatic'
8892 lt_prog_compiler_wl='-Wl,'
8894 *Intel*\ [CF]*Compiler*)
8895 lt_prog_compiler_wl='-Wl,'
8896 lt_prog_compiler_pic='-fPIC'
8897 lt_prog_compiler_static='-static'
8900 lt_prog_compiler_wl='-Wl,'
8901 lt_prog_compiler_pic='-fpic'
8902 lt_prog_compiler_static='-Bstatic'
8910 lt_prog_compiler_pic='-KPIC'
8911 lt_prog_compiler_static='-Bstatic'
8915 # QNX uses GNU C++, but need to define -shared option too, otherwise
8917 lt_prog_compiler_pic='-fPIC -shared'
8920 osf3* | osf4* | osf5*)
8921 lt_prog_compiler_wl='-Wl,'
8922 # All OSF/1 code is PIC.
8923 lt_prog_compiler_static='-non_shared'
8927 lt_prog_compiler_static='-non_shared'
8931 lt_prog_compiler_pic='-KPIC'
8932 lt_prog_compiler_static='-Bstatic'
8933 case $cc_basename in
8934 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8935 lt_prog_compiler_wl='-Qoption ld ';;
8937 lt_prog_compiler_wl='-Wl,';;
8942 lt_prog_compiler_wl='-Qoption ld '
8943 lt_prog_compiler_pic='-PIC'
8944 lt_prog_compiler_static='-Bstatic'
8947 sysv4 | sysv4.2uw2* | sysv4.3*)
8948 lt_prog_compiler_wl='-Wl,'
8949 lt_prog_compiler_pic='-KPIC'
8950 lt_prog_compiler_static='-Bstatic'
8954 if test -d /usr/nec; then
8955 lt_prog_compiler_pic='-Kconform_pic'
8956 lt_prog_compiler_static='-Bstatic'
8960 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8961 lt_prog_compiler_wl='-Wl,'
8962 lt_prog_compiler_pic='-KPIC'
8963 lt_prog_compiler_static='-Bstatic'
8967 lt_prog_compiler_wl='-Wl,'
8968 lt_prog_compiler_can_build_shared=no
8972 lt_prog_compiler_pic='-pic'
8973 lt_prog_compiler_static='-Bstatic'
8977 lt_prog_compiler_can_build_shared=no
8983 # For platforms that do not support PIC, -DPIC is meaningless:
8985 lt_prog_compiler_pic=
8988 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8993 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8994 if ${lt_cv_prog_compiler_pic+:} false; then :
8995 $as_echo_n "(cached) " >&6
8997 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9000 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9001 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9004 # Check to make sure the PIC flag actually works.
9006 if test -n "$lt_prog_compiler_pic"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9008 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9009 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9010 $as_echo_n "(cached) " >&6
9012 lt_cv_prog_compiler_pic_works=no
9013 ac_outfile=conftest.$ac_objext
9014 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9015 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9016 # Insert the option either (1) after the last *FLAGS variable, or
9017 # (2) before a word containing "conftest.", or (3) at the end.
9018 # Note that $ac_compile itself does not contain backslashes and begins
9019 # with a dollar sign (not a hyphen), so the echo should work correctly.
9020 # The option is referenced via a variable to avoid confusing sed.
9021 lt_compile=`echo "$ac_compile" | $SED \
9022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9024 -e 's:$: $lt_compiler_flag:'`
9025 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9026 (eval "$lt_compile" 2>conftest.err)
9028 cat conftest.err >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 if (exit $ac_status) && test -s "$ac_outfile"; then
9031 # The compiler can only warn and ignore the option if not recognized
9032 # So say no if there are warnings other than the usual output.
9033 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9034 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9035 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9036 lt_cv_prog_compiler_pic_works=yes
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9043 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9045 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9046 case $lt_prog_compiler_pic in
9048 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9051 lt_prog_compiler_pic=
9052 lt_prog_compiler_can_build_shared=no
9068 # Check to make sure the static flag actually works.
9070 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9072 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9073 if ${lt_cv_prog_compiler_static_works+:} false; then :
9074 $as_echo_n "(cached) " >&6
9076 lt_cv_prog_compiler_static_works=no
9077 save_LDFLAGS=$LDFLAGS
9078 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9079 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9080 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9081 # The linker can only warn and ignore the option if not recognized
9082 # So say no if there are warnings
9083 if test -s conftest.err; then
9084 # Append any errors to the config.log.
9085 cat conftest.err 1>&5
9086 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9087 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9088 if diff conftest.exp conftest.er2 >/dev/null; then
9089 lt_cv_prog_compiler_static_works=yes
9092 lt_cv_prog_compiler_static_works=yes
9096 LDFLAGS=$save_LDFLAGS
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9100 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9102 if test yes = "$lt_cv_prog_compiler_static_works"; then
9105 lt_prog_compiler_static=
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9115 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9116 if ${lt_cv_prog_compiler_c_o+:} false; then :
9117 $as_echo_n "(cached) " >&6
9119 lt_cv_prog_compiler_c_o=no
9120 $RM -r conftest 2>/dev/null
9124 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9126 lt_compiler_flag="-o out/conftest2.$ac_objext"
9127 # Insert the option either (1) after the last *FLAGS variable, or
9128 # (2) before a word containing "conftest.", or (3) at the end.
9129 # Note that $ac_compile itself does not contain backslashes and begins
9130 # with a dollar sign (not a hyphen), so the echo should work correctly.
9131 lt_compile=`echo "$ac_compile" | $SED \
9132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9134 -e 's:$: $lt_compiler_flag:'`
9135 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9136 (eval "$lt_compile" 2>out/conftest.err)
9138 cat out/conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9142 # The compiler can only warn and ignore the option if not recognized
9143 # So say no if there are warnings
9144 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9145 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9146 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9147 lt_cv_prog_compiler_c_o=yes
9152 # SGI C++ compiler will create directory out/ii_files/ for
9153 # template instantiation
9154 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9155 $RM out/* && rmdir out
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9162 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9170 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9171 if ${lt_cv_prog_compiler_c_o+:} false; then :
9172 $as_echo_n "(cached) " >&6
9174 lt_cv_prog_compiler_c_o=no
9175 $RM -r conftest 2>/dev/null
9179 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9181 lt_compiler_flag="-o out/conftest2.$ac_objext"
9182 # Insert the option either (1) after the last *FLAGS variable, or
9183 # (2) before a word containing "conftest.", or (3) at the end.
9184 # Note that $ac_compile itself does not contain backslashes and begins
9185 # with a dollar sign (not a hyphen), so the echo should work correctly.
9186 lt_compile=`echo "$ac_compile" | $SED \
9187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9189 -e 's:$: $lt_compiler_flag:'`
9190 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9191 (eval "$lt_compile" 2>out/conftest.err)
9193 cat out/conftest.err >&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9197 # The compiler can only warn and ignore the option if not recognized
9198 # So say no if there are warnings
9199 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9200 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9201 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9202 lt_cv_prog_compiler_c_o=yes
9207 # SGI C++ compiler will create directory out/ii_files/ for
9208 # template instantiation
9209 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9210 $RM out/* && rmdir out
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9217 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9222 hard_links=nottested
9223 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9224 # do not overwrite the value of need_locks provided by the user
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9226 $as_echo_n "checking if we can lock with hard links... " >&6; }
9229 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9231 ln conftest.a conftest.b 2>&5 || hard_links=no
9232 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9234 $as_echo "$hard_links" >&6; }
9235 if test no = "$hard_links"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9237 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9250 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9253 allow_undefined_flag=
9254 always_export_symbols=no
9256 archive_expsym_cmds=
9257 compiler_needs_object=no
9258 enable_shared_with_static_runtimes=no
9259 export_dynamic_flag_spec=
9260 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9261 hardcode_automatic=no
9263 hardcode_direct_absolute=no
9264 hardcode_libdir_flag_spec=
9265 hardcode_libdir_separator=
9267 hardcode_shlibpath_var=unsupported
9269 link_all_deplibs=unknown
9272 old_archive_from_new_cmds=
9273 old_archive_from_expsyms_cmds=
9274 thread_safe_flag_spec=
9275 whole_archive_flag_spec=
9276 # include_expsyms should be a list of space-separated symbols to be *always*
9277 # included in the symbol list
9279 # exclude_expsyms can be an extended regexp of symbols to exclude
9280 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9281 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9282 # as well as any symbol that contains 'd'.
9283 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9284 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9285 # platforms (ab)use it in PIC code, but their linkers get confused if
9286 # the symbol is explicitly referenced. Since portable code cannot
9287 # rely on this symbol name, it's probably fine to never include it in
9288 # preloaded symbol tables.
9289 # Exclude shared library initialization/finalization symbols.
9290 extract_expsyms_cmds=
9293 cygwin* | mingw* | pw32* | cegcc*)
9294 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9295 # When not using gcc, we currently assume that we are using
9296 # Microsoft Visual C++.
9297 if test yes != "$GCC"; then
9302 # we just hope/assume this is gcc and not c89 (= MSVC++)
9312 # On some targets, GNU ld is compatible enough with the native linker
9313 # that we're better off using the native interface for both.
9314 lt_use_gnu_ld_interface=no
9315 if test yes = "$with_gnu_ld"; then
9318 # The AIX port of GNU ld has always aspired to compatibility
9319 # with the native linker. However, as the warning in the GNU ld
9320 # block says, versions before 2.19.5* couldn't really create working
9321 # shared libraries, regardless of the interface used.
9322 case `$LD -v 2>&1` in
9323 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9324 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9325 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9327 lt_use_gnu_ld_interface=yes
9332 lt_use_gnu_ld_interface=yes
9337 if test yes = "$lt_use_gnu_ld_interface"; then
9338 # If archive_cmds runs LD, not CC, wlarc should be empty
9341 # Set some defaults for GNU ld with shared library support. These
9342 # are reset later if shared libraries are not supported. Putting them
9343 # here allows them to be overridden if necessary.
9344 runpath_var=LD_RUN_PATH
9345 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9346 export_dynamic_flag_spec='$wl--export-dynamic'
9347 # ancient GNU ld didn't support --whole-archive et. al.
9348 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9349 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9351 whole_archive_flag_spec=
9353 supports_anon_versioning=no
9354 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9355 *GNU\ gold*) supports_anon_versioning=yes ;;
9356 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9357 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9358 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9359 *\ 2.11.*) ;; # other 2.11 versions
9360 *) supports_anon_versioning=yes ;;
9363 # See if GNU ld supports shared libraries.
9366 # On AIX/PPC, the GNU linker is very broken
9367 if test ia64 != "$host_cpu"; then
9371 *** Warning: the GNU linker, at least up to release 2.19, is reported
9372 *** to be unable to reliably create shared libraries on AIX.
9373 *** Therefore, libtool is disabling shared libraries support. If you
9374 *** really care for shared libraries, you may want to install binutils
9375 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9376 *** You will then need to restart the configuration process.
9385 # see comment about AmigaOS4 .so support
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9387 archive_expsym_cmds=''
9390 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)'
9391 hardcode_libdir_flag_spec='-L$libdir'
9392 hardcode_minus_L=yes
9398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399 allow_undefined_flag=unsupported
9400 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9401 # support --undefined. This deserves some investigation. FIXME
9402 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9408 cygwin* | mingw* | pw32* | cegcc*)
9409 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9410 # as there is no search path for DLLs.
9411 hardcode_libdir_flag_spec='-L$libdir'
9412 export_dynamic_flag_spec='$wl--export-all-symbols'
9413 allow_undefined_flag=unsupported
9414 always_export_symbols=no
9415 enable_shared_with_static_runtimes=yes
9416 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'
9417 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9419 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9420 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9421 # If the export-symbols file already is a .def file, use it as
9422 # is; otherwise, prepend EXPORTS...
9423 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9424 cp $export_symbols $output_objdir/$soname.def;
9426 echo EXPORTS > $output_objdir/$soname.def;
9427 cat $export_symbols >> $output_objdir/$soname.def;
9429 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9436 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9437 link_all_deplibs=yes
9441 hardcode_libdir_flag_spec='-L$libdir'
9442 hardcode_minus_L=yes
9443 allow_undefined_flag=unsupported
9445 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9446 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9447 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9448 $ECHO EXPORTS >> $output_objdir/$libname.def~
9449 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9450 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9451 emximp -o $lib $output_objdir/$libname.def'
9452 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9453 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9454 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9455 $ECHO EXPORTS >> $output_objdir/$libname.def~
9457 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9458 prefix_cmds="$prefix_cmds -e 1d";
9460 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9461 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9462 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9463 emximp -o $lib $output_objdir/$libname.def'
9464 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9465 enable_shared_with_static_runtimes=yes
9470 hardcode_shlibpath_var=no
9471 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9472 export_dynamic_flag_spec='$wl-E'
9473 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9474 # Instead, shared libraries are loaded at an image base (0x10000000 by
9475 # default) and relocated if they conflict, which is a slow very memory
9476 # consuming and fragmenting process. To avoid this, we pick a random,
9477 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9478 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9479 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9480 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'
9483 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9485 if test linux-dietlibc = "$host_os"; then
9486 case $cc_basename in
9487 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9490 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9491 && test no = "$tmp_diet"
9493 tmp_addflag=' $pic_flag'
9494 tmp_sharedflag='-shared'
9495 case $cc_basename,$host_cpu in
9496 pgcc*) # Portland Group C compiler
9497 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'
9498 tmp_addflag=' $pic_flag'
9500 pgf77* | pgf90* | pgf95* | pgfortran*)
9501 # Portland Group f77 and f90 compilers
9502 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'
9503 tmp_addflag=' $pic_flag -Mnomain' ;;
9504 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9505 tmp_addflag=' -i_dynamic' ;;
9506 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9507 tmp_addflag=' -i_dynamic -nofor_main' ;;
9508 ifc* | ifort*) # Intel Fortran compiler
9509 tmp_addflag=' -nofor_main' ;;
9510 lf95*) # Lahey Fortran 8.1
9511 whole_archive_flag_spec=
9512 tmp_sharedflag='--shared' ;;
9513 nagfor*) # NAGFOR 5.3
9514 tmp_sharedflag='-Wl,-shared' ;;
9515 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9516 tmp_sharedflag='-qmkshrobj'
9518 nvcc*) # Cuda Compiler Driver 2.2
9519 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'
9520 compiler_needs_object=yes
9523 case `$CC -V 2>&1 | sed 5q` in
9524 *Sun\ C*) # Sun C 5.9
9525 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'
9526 compiler_needs_object=yes
9527 tmp_sharedflag='-G' ;;
9528 *Sun\ F*) # Sun Fortran 8.3
9529 tmp_sharedflag='-G' ;;
9531 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9533 if test yes = "$supports_anon_versioning"; then
9534 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9535 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9536 echo "local: *; };" >> $output_objdir/$libname.ver~
9537 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9540 case $cc_basename in
9542 export_dynamic_flag_spec='-rdynamic'
9544 xlf* | bgf* | bgxlf* | mpixlf*)
9545 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9546 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9547 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9548 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9549 if test yes = "$supports_anon_versioning"; then
9550 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9551 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9552 echo "local: *; };" >> $output_objdir/$libname.ver~
9553 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9563 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9564 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9567 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9568 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9573 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9577 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9578 *** create shared libraries on Solaris systems. Therefore, libtool
9579 *** is disabling shared libraries support. We urge you to upgrade GNU
9580 *** binutils to release 2.9.1 or newer. Another option is to modify
9581 *** your PATH or compiler configuration so that the native linker is
9582 *** used, and then restart.
9585 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9586 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9587 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9594 case `$LD -v 2>&1` in
9595 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9599 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9600 *** reliably create shared libraries on SCO systems. Therefore, libtool
9601 *** is disabling shared libraries support. We urge you to upgrade GNU
9602 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9603 *** your PATH or compiler configuration so that the native linker is
9604 *** used, and then restart.
9609 # For security reasons, it is highly recommended that you always
9610 # use absolute paths for naming shared libraries, and exclude the
9611 # DT_RUNPATH tag from executables and libraries. But doing so
9612 # requires that you compile everything twice, which is a pain.
9613 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9614 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9615 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9616 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9625 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_shlibpath_var=no
9632 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9633 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9634 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9641 if test no = "$ld_shlibs"; then
9643 hardcode_libdir_flag_spec=
9644 export_dynamic_flag_spec=
9645 whole_archive_flag_spec=
9648 # PORTME fill in a description of your system's linker (not GNU ld)
9651 allow_undefined_flag=unsupported
9652 always_export_symbols=yes
9653 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'
9654 # Note: this linker hardcodes the directories in LIBPATH if there
9655 # are no directories specified by -L.
9656 hardcode_minus_L=yes
9657 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9658 # Neither direct hardcoding nor static linking is supported with a
9660 hardcode_direct=unsupported
9665 if test ia64 = "$host_cpu"; then
9666 # On IA64, the linker does run time linking by default, so we don't
9667 # have to do anything special.
9668 aix_use_runtimelinking=no
9669 exp_sym_flag='-Bexport'
9672 # If we're using GNU nm, then we don't want the "-C" option.
9673 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9674 # Without the "-l" option, or with the "-B" option, AIX nm treats
9675 # weak defined symbols like other global defined symbols, whereas
9676 # GNU nm marks them as "W".
9677 # While the 'weak' keyword is ignored in the Export File, we need
9678 # it in the Import File for the 'aix-soname' feature, so we have
9679 # to replace the "-B" option with "-P" for AIX nm.
9680 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9681 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'
9683 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'
9685 aix_use_runtimelinking=no
9687 # Test if we are trying to use run time linking or normal
9688 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9689 # have runtime linking enabled, and use it for executables.
9690 # For shared libraries, we enable/disable runtime linking
9691 # depending on the kind of the shared library created -
9692 # when "with_aix_soname,aix_use_runtimelinking" is:
9693 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9694 # "aix,yes" lib.so shared, rtl:yes, for executables
9695 # lib.a static archive
9696 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9697 # lib.a(lib.so.V) shared, rtl:no, for executables
9698 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9699 # lib.a(lib.so.V) shared, rtl:no
9700 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9701 # lib.a static archive
9702 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9703 for ld_flag in $LDFLAGS; do
9704 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9705 aix_use_runtimelinking=yes
9709 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9710 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9711 # so we don't have lib.a shared libs to link our executables.
9712 # We have to force runtime linking in this case.
9713 aix_use_runtimelinking=yes
9714 LDFLAGS="$LDFLAGS -Wl,-brtl"
9719 exp_sym_flag='-bexport'
9720 no_entry_flag='-bnoentry'
9723 # When large executables or shared objects are built, AIX ld can
9724 # have problems creating the table of contents. If linking a library
9725 # or program results in "error TOC overflow" add -mminimal-toc to
9726 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9727 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9731 hardcode_direct_absolute=yes
9732 hardcode_libdir_separator=':'
9733 link_all_deplibs=yes
9734 file_list_spec='$wl-f,'
9735 case $with_aix_soname,$aix_use_runtimelinking in
9736 aix,*) ;; # traditional, no import file
9737 svr4,* | *,yes) # use import file
9738 # The Import File defines what to hardcode.
9740 hardcode_direct_absolute=no
9744 if test yes = "$GCC"; then
9745 case $host_os in aix4.[012]|aix4.[012].*)
9746 # We only want to do this on AIX 4.2 and lower, the check
9747 # below for broken collect2 doesn't work under 4.3+
9748 collect2name=`$CC -print-prog-name=collect2`
9749 if test -f "$collect2name" &&
9750 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9752 # We have reworked collect2
9755 # We have old collect2
9756 hardcode_direct=unsupported
9757 # It fails to find uninstalled libraries when the uninstalled
9758 # path is not listed in the libpath. Setting hardcode_minus_L
9759 # to unsupported forces relinking
9760 hardcode_minus_L=yes
9761 hardcode_libdir_flag_spec='-L$libdir'
9762 hardcode_libdir_separator=
9766 shared_flag='-shared'
9767 if test yes = "$aix_use_runtimelinking"; then
9768 shared_flag="$shared_flag "'$wl-G'
9770 # Need to ensure runtime linking is disabled for the traditional
9771 # shared library, or the linker may eventually find shared libraries
9772 # /with/ Import File - we do not want to mix them.
9773 shared_flag_aix='-shared'
9774 shared_flag_svr4='-shared $wl-G'
9777 if test ia64 = "$host_cpu"; then
9778 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9779 # chokes on -Wl,-G. The following line is correct:
9782 if test yes = "$aix_use_runtimelinking"; then
9785 shared_flag='$wl-bM:SRE'
9787 shared_flag_aix='$wl-bM:SRE'
9788 shared_flag_svr4='$wl-G'
9792 export_dynamic_flag_spec='$wl-bexpall'
9793 # It seems that -bexpall does not export symbols beginning with
9794 # underscore (_), so it is better to generate a list of symbols to export.
9795 always_export_symbols=yes
9796 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9797 # Warning - without using the other runtime loading flags (-brtl),
9798 # -berok will link without error, but may produce a broken library.
9799 allow_undefined_flag='-berok'
9800 # Determine the default libpath from the value encoded in an
9802 if test set = "${lt_cv_aix_libpath+set}"; then
9803 aix_libpath=$lt_cv_aix_libpath
9805 if ${lt_cv_aix_libpath_+:} false; then :
9806 $as_echo_n "(cached) " >&6
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9819 if ac_fn_c_try_link "$LINENO"; then :
9821 lt_aix_libpath_sed='
9822 /Import File Strings/,/^$/ {
9824 s/^0 *\([^ ]*\) *$/\1/
9828 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9829 # Check for a 64-bit object if we didn't find anything.
9830 if test -z "$lt_cv_aix_libpath_"; then
9831 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 if test -z "$lt_cv_aix_libpath_"; then
9837 lt_cv_aix_libpath_=/usr/lib:/lib
9842 aix_libpath=$lt_cv_aix_libpath_
9845 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9846 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
9848 if test ia64 = "$host_cpu"; then
9849 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9850 allow_undefined_flag="-z nodefs"
9851 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"
9853 # Determine the default libpath from the value encoded in an
9855 if test set = "${lt_cv_aix_libpath+set}"; then
9856 aix_libpath=$lt_cv_aix_libpath
9858 if ${lt_cv_aix_libpath_+:} false; then :
9859 $as_echo_n "(cached) " >&6
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9872 if ac_fn_c_try_link "$LINENO"; then :
9874 lt_aix_libpath_sed='
9875 /Import File Strings/,/^$/ {
9877 s/^0 *\([^ ]*\) *$/\1/
9881 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9882 # Check for a 64-bit object if we didn't find anything.
9883 if test -z "$lt_cv_aix_libpath_"; then
9884 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 if test -z "$lt_cv_aix_libpath_"; then
9890 lt_cv_aix_libpath_=/usr/lib:/lib
9895 aix_libpath=$lt_cv_aix_libpath_
9898 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9899 # Warning - without using the other run time loading flags,
9900 # -berok will link without error, but may produce a broken library.
9901 no_undefined_flag=' $wl-bernotok'
9902 allow_undefined_flag=' $wl-berok'
9903 if test yes = "$with_gnu_ld"; then
9904 # We only use this code for GNU lds that support --whole-archive.
9905 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9907 # Exported symbols can be pulled into shared objects from archives
9908 whole_archive_flag_spec='$convenience'
9910 archive_cmds_need_lc=yes
9911 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9912 # -brtl affects multiple linker settings, -berok does not and is overridden later
9913 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9914 if test svr4 != "$with_aix_soname"; then
9915 # This is similar to how AIX traditionally builds its shared libraries.
9916 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'
9918 if test aix != "$with_aix_soname"; then
9919 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'
9921 # used by -dlpreopen to get the symbols
9922 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9924 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9932 # see comment about AmigaOS4 .so support
9933 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9934 archive_expsym_cmds=''
9937 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)'
9938 hardcode_libdir_flag_spec='-L$libdir'
9939 hardcode_minus_L=yes
9945 export_dynamic_flag_spec=-rdynamic
9948 cygwin* | mingw* | pw32* | cegcc*)
9949 # When not using gcc, we currently assume that we are using
9950 # Microsoft Visual C++.
9951 # hardcode_libdir_flag_spec is actually meaningless, as there is
9952 # no search path for DLLs.
9953 case $cc_basename in
9956 hardcode_libdir_flag_spec=' '
9957 allow_undefined_flag=unsupported
9958 always_export_symbols=yes
9960 # Tell ltmain to make .lib files, not .a files.
9962 # Tell ltmain to make .dll files, not .so files.
9964 # FIXME: Setting linknames here is a bad hack.
9965 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9966 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9967 cp "$export_symbols" "$output_objdir/$soname.def";
9968 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9970 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9972 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9974 # The linker will not automatically build a static lib if we build a DLL.
9975 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9976 enable_shared_with_static_runtimes=yes
9977 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9978 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9980 old_postinstall_cmds='chmod 644 $oldlib'
9981 postlink_cmds='lt_outputfile="@OUTPUT@"~
9982 lt_tool_outputfile="@TOOL_OUTPUT@"~
9983 case $lt_outputfile in
9986 lt_outputfile=$lt_outputfile.exe
9987 lt_tool_outputfile=$lt_tool_outputfile.exe
9990 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9991 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9992 $RM "$lt_outputfile.manifest";
9996 # Assume MSVC wrapper
9997 hardcode_libdir_flag_spec=' '
9998 allow_undefined_flag=unsupported
9999 # Tell ltmain to make .lib files, not .a files.
10001 # Tell ltmain to make .dll files, not .so files.
10003 # FIXME: Setting linknames here is a bad hack.
10004 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10005 # The linker will automatically build a .lib file if we build a DLL.
10006 old_archive_from_new_cmds='true'
10007 # FIXME: Should let the user specify the lib program.
10008 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10009 enable_shared_with_static_runtimes=yes
10014 darwin* | rhapsody*)
10017 archive_cmds_need_lc=no
10019 hardcode_automatic=yes
10020 hardcode_shlibpath_var=unsupported
10021 if test yes = "$lt_cv_ld_force_load"; then
10022 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\"`'
10025 whole_archive_flag_spec=''
10027 link_all_deplibs=yes
10028 allow_undefined_flag=$_lt_dar_allow_undefined
10029 case $cc_basename in
10030 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10031 *) _lt_dar_can_shared=$GCC ;;
10033 if test yes = "$_lt_dar_can_shared"; then
10034 output_verbose_link_cmd=func_echo_all
10035 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10036 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10037 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"
10038 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"
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_libdir_flag_spec='-L$libdir'
10049 hardcode_shlibpath_var=no
10052 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10053 # support. Future versions do this automatically, but an explicit c++rt0.o
10054 # does not break anything, and helps significantly (at the cost of a little
10057 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10058 hardcode_libdir_flag_spec='-R$libdir'
10059 hardcode_direct=yes
10060 hardcode_shlibpath_var=no
10063 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10065 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=yes
10067 hardcode_minus_L=yes
10068 hardcode_shlibpath_var=no
10071 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10072 freebsd* | dragonfly*)
10073 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10074 hardcode_libdir_flag_spec='-R$libdir'
10075 hardcode_direct=yes
10076 hardcode_shlibpath_var=no
10080 if test yes = "$GCC"; then
10081 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'
10083 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'
10085 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10086 hardcode_libdir_separator=:
10087 hardcode_direct=yes
10089 # hardcode_minus_L: Not really in the search PATH,
10090 # but as the default location of the library.
10091 hardcode_minus_L=yes
10092 export_dynamic_flag_spec='$wl-E'
10096 if test yes,no = "$GCC,$with_gnu_ld"; then
10097 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10101 if test no = "$with_gnu_ld"; then
10102 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10103 hardcode_libdir_separator=:
10104 hardcode_direct=yes
10105 hardcode_direct_absolute=yes
10106 export_dynamic_flag_spec='$wl-E'
10107 # hardcode_minus_L: Not really in the search PATH,
10108 # but as the default location of the library.
10109 hardcode_minus_L=yes
10114 if test yes,no = "$GCC,$with_gnu_ld"; then
10117 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10123 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10136 # Older versions of the 11.00 compiler do not understand -b yet
10137 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10139 $as_echo_n "checking if $CC understands -b... " >&6; }
10140 if ${lt_cv_prog_compiler__b+:} false; then :
10141 $as_echo_n "(cached) " >&6
10143 lt_cv_prog_compiler__b=no
10144 save_LDFLAGS=$LDFLAGS
10145 LDFLAGS="$LDFLAGS -b"
10146 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10147 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10148 # The linker can only warn and ignore the option if not recognized
10149 # So say no if there are warnings
10150 if test -s conftest.err; then
10151 # Append any errors to the config.log.
10152 cat conftest.err 1>&5
10153 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10154 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10155 if diff conftest.exp conftest.er2 >/dev/null; then
10156 lt_cv_prog_compiler__b=yes
10159 lt_cv_prog_compiler__b=yes
10163 LDFLAGS=$save_LDFLAGS
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10167 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10169 if test yes = "$lt_cv_prog_compiler__b"; then
10170 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10172 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10178 if test no = "$with_gnu_ld"; then
10179 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10180 hardcode_libdir_separator=:
10185 hardcode_shlibpath_var=no
10188 hardcode_direct=yes
10189 hardcode_direct_absolute=yes
10190 export_dynamic_flag_spec='$wl-E'
10192 # hardcode_minus_L: Not really in the search PATH,
10193 # but as the default location of the library.
10194 hardcode_minus_L=yes
10200 irix5* | irix6* | nonstopux*)
10201 if test yes = "$GCC"; then
10202 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'
10203 # Try to use the -exported_symbol ld option, if it does not
10204 # work, assume that -exports_file does not work either and
10205 # implicitly export all symbols.
10206 # This should be the same for all languages, so no per-tag cache variable.
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10208 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10209 if ${lt_cv_irix_exported_symbol+:} false; then :
10210 $as_echo_n "(cached) " >&6
10212 save_LDFLAGS=$LDFLAGS
10213 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int foo (void) { return 0; }
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 lt_cv_irix_exported_symbol=yes
10221 lt_cv_irix_exported_symbol=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LDFLAGS=$save_LDFLAGS
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10228 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10229 if test yes = "$lt_cv_irix_exported_symbol"; then
10230 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'
10233 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'
10234 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'
10236 archive_cmds_need_lc='no'
10237 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10238 hardcode_libdir_separator=:
10240 link_all_deplibs=yes
10244 case $cc_basename in
10246 # Fabrice Bellard et al's Tiny C Compiler
10248 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10254 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10255 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10257 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10259 hardcode_libdir_flag_spec='-R$libdir'
10260 hardcode_direct=yes
10261 hardcode_shlibpath_var=no
10265 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10266 hardcode_direct=yes
10267 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10268 hardcode_libdir_separator=:
10269 hardcode_shlibpath_var=no
10275 openbsd* | bitrig*)
10276 if test -f /usr/libexec/ld.so; then
10277 hardcode_direct=yes
10278 hardcode_shlibpath_var=no
10279 hardcode_direct_absolute=yes
10280 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10281 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10282 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10283 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10284 export_dynamic_flag_spec='$wl-E'
10286 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10287 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10295 hardcode_libdir_flag_spec='-L$libdir'
10296 hardcode_minus_L=yes
10297 allow_undefined_flag=unsupported
10299 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10300 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10301 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10302 $ECHO EXPORTS >> $output_objdir/$libname.def~
10303 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10304 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10305 emximp -o $lib $output_objdir/$libname.def'
10306 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10307 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10308 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10309 $ECHO EXPORTS >> $output_objdir/$libname.def~
10310 prefix_cmds="$SED"~
10311 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10312 prefix_cmds="$prefix_cmds -e 1d";
10314 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10315 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10316 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10317 emximp -o $lib $output_objdir/$libname.def'
10318 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10319 enable_shared_with_static_runtimes=yes
10323 if test yes = "$GCC"; then
10324 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10325 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'
10327 allow_undefined_flag=' -expect_unresolved \*'
10328 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'
10330 archive_cmds_need_lc='no'
10331 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10332 hardcode_libdir_separator=:
10335 osf4* | osf5*) # as osf3* with the addition of -msym flag
10336 if test yes = "$GCC"; then
10337 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10338 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'
10339 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10341 allow_undefined_flag=' -expect_unresolved \*'
10342 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'
10343 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~
10344 $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'
10346 # Both c and cxx compiler support -rpath directly
10347 hardcode_libdir_flag_spec='-rpath $libdir'
10349 archive_cmds_need_lc='no'
10350 hardcode_libdir_separator=:
10354 no_undefined_flag=' -z defs'
10355 if test yes = "$GCC"; then
10357 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10358 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10359 $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'
10361 case `$CC -V 2>&1` in
10364 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10365 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10366 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10370 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10371 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10372 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10376 hardcode_libdir_flag_spec='-R$libdir'
10377 hardcode_shlibpath_var=no
10379 solaris2.[0-5] | solaris2.[0-5].*) ;;
10381 # The compiler driver will combine and reorder linker options,
10382 # but understands '-z linker_flag'. GCC discards it without '$wl',
10383 # but is careful enough not to reorder.
10384 # Supported since Solaris 2.6 (maybe 2.5.1?)
10385 if test yes = "$GCC"; then
10386 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10388 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10392 link_all_deplibs=yes
10396 if test sequent = "$host_vendor"; then
10397 # Use $CC to link under sequent, because it throws in some extra .o
10398 # files that make .init and .fini sections work.
10399 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10401 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10403 hardcode_libdir_flag_spec='-L$libdir'
10404 hardcode_direct=yes
10405 hardcode_minus_L=yes
10406 hardcode_shlibpath_var=no
10410 case $host_vendor in
10412 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10413 hardcode_direct=yes # is this really true???
10416 ## LD is ld it makes a PLAMLIB
10417 ## CC just makes a GrossModule.
10418 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10419 reload_cmds='$CC -r -o $output$reload_objs'
10423 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10424 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10427 runpath_var='LD_RUN_PATH'
10428 hardcode_shlibpath_var=no
10432 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10433 hardcode_shlibpath_var=no
10434 export_dynamic_flag_spec='-Bexport'
10438 if test -d /usr/nec; then
10439 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10440 hardcode_shlibpath_var=no
10441 runpath_var=LD_RUN_PATH
10442 hardcode_runpath_var=yes
10447 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10448 no_undefined_flag='$wl-z,text'
10449 archive_cmds_need_lc=no
10450 hardcode_shlibpath_var=no
10451 runpath_var='LD_RUN_PATH'
10453 if test yes = "$GCC"; then
10454 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10455 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10457 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10458 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10462 sysv5* | sco3.2v5* | sco5v6*)
10463 # Note: We CANNOT use -z defs as we might desire, because we do not
10464 # link with -lc, and that would cause any symbols used from libc to
10465 # always be unresolved, which means just about no library would
10466 # ever link correctly. If we're not using GNU ld we use -z text
10467 # though, which does catch some bad symbols but isn't as heavy-handed
10469 no_undefined_flag='$wl-z,text'
10470 allow_undefined_flag='$wl-z,nodefs'
10471 archive_cmds_need_lc=no
10472 hardcode_shlibpath_var=no
10473 hardcode_libdir_flag_spec='$wl-R,$libdir'
10474 hardcode_libdir_separator=':'
10475 link_all_deplibs=yes
10476 export_dynamic_flag_spec='$wl-Bexport'
10477 runpath_var='LD_RUN_PATH'
10479 if test yes = "$GCC"; then
10480 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10483 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10489 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10490 hardcode_libdir_flag_spec='-L$libdir'
10491 hardcode_shlibpath_var=no
10499 if test sni = "$host_vendor"; then
10501 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10502 export_dynamic_flag_spec='$wl-Blargedynsym'
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10509 $as_echo "$ld_shlibs" >&6; }
10510 test no = "$ld_shlibs" && can_build_shared=no
10512 with_gnu_ld=$with_gnu_ld
10529 # Do we need to explicitly link libc?
10531 case "x$archive_cmds_need_lc" in
10533 # Assume -lc should be added
10534 archive_cmds_need_lc=yes
10536 if test yes,yes = "$GCC,$enable_shared"; then
10537 case $archive_cmds in
10539 # FIXME: we may have to deal with multi-command sequences.
10542 # Test whether the compiler implicitly links with -lc since on some
10543 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10544 # to ld, don't add -lc before -lgcc.
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10546 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10547 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10548 $as_echo_n "(cached) " >&6
10551 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10554 (eval $ac_compile) 2>&5
10556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10557 test $ac_status = 0; } 2>conftest.err; then
10560 libobjs=conftest.$ac_objext
10562 wl=$lt_prog_compiler_wl
10563 pic_flag=$lt_prog_compiler_pic
10569 lt_save_allow_undefined_flag=$allow_undefined_flag
10570 allow_undefined_flag=
10571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10572 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10575 test $ac_status = 0; }
10577 lt_cv_archive_cmds_need_lc=no
10579 lt_cv_archive_cmds_need_lc=yes
10581 allow_undefined_flag=$lt_save_allow_undefined_flag
10583 cat conftest.err 1>&5
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10589 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10590 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10749 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10751 if test yes = "$GCC"; then
10753 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10754 *) lt_awk_arg='/^libraries:/' ;;
10757 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10758 *) lt_sed_strip_eq='s|=/|/|g' ;;
10760 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10761 case $lt_search_path_spec in
10763 # if the path contains ";" then we assume it to be the separator
10764 # otherwise default to the standard path separator (i.e. ":") - it is
10765 # assumed that no part of a normal pathname contains ";" but that should
10766 # okay in the real world where ";" in dirpaths is itself problematic.
10767 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10770 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10773 # Ok, now we have the path, separated by spaces, we can step through it
10774 # and add multilib dir if necessary...
10775 lt_tmp_lt_search_path_spec=
10776 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10777 # ...but if some path component already ends with the multilib dir we assume
10778 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10779 case "$lt_multi_os_dir; $lt_search_path_spec " in
10780 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10784 for lt_sys_path in $lt_search_path_spec; do
10785 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10786 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10787 elif test -n "$lt_multi_os_dir"; then
10788 test -d "$lt_sys_path" && \
10789 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10792 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10793 BEGIN {RS = " "; FS = "/|\n";} {
10796 for (lt_i = NF; lt_i > 0; lt_i--) {
10797 if ($lt_i != "" && $lt_i != ".") {
10798 if ($lt_i == "..") {
10801 if (lt_count == 0) {
10802 lt_foo = "/" $lt_i lt_foo;
10809 if (lt_foo != "") { lt_freq[lt_foo]++; }
10810 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10812 # AWK program above erroneously prepends '/' to C:/dos/paths
10815 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10816 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10818 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10820 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10822 library_names_spec=
10823 libname_spec='lib$name'
10827 postuninstall_cmds=
10831 shlibpath_overrides_runpath=unknown
10833 dynamic_linker="$host_os ld.so"
10834 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10835 need_lib_prefix=unknown
10836 hardcode_into_libs=no
10838 # when you set need_version to no, make sure it does not cause -set_version
10839 # flags to be left without arguments
10840 need_version=unknown
10846 version_type=linux # correct to gnu/linux during the next big refactor
10847 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10848 shlibpath_var=LIBPATH
10850 # AIX 3 has no versioning support, so we append a major version to the name.
10851 soname_spec='$libname$release$shared_ext$major'
10855 version_type=linux # correct to gnu/linux during the next big refactor
10858 hardcode_into_libs=yes
10859 if test ia64 = "$host_cpu"; then
10860 # AIX 5 supports IA64
10861 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10862 shlibpath_var=LD_LIBRARY_PATH
10864 # With GCC up to 2.95.x, collect2 would create an import file
10865 # for dependence libraries. The import file would start with
10866 # the line '#! .'. This would cause the generated library to
10867 # depend on '.', always an invalid library. This was fixed in
10868 # development snapshots of GCC prior to 3.0.
10870 aix4 | aix4.[01] | aix4.[01].*)
10871 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10873 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10876 can_build_shared=no
10880 # Using Import Files as archive members, it is possible to support
10881 # filename-based versioning of shared library archives on AIX. While
10882 # this would work for both with and without runtime linking, it will
10883 # prevent static linking of such archives. So we do filename-based
10884 # shared library versioning with .so extension only, which is used
10885 # when both runtime linking and shared linking is enabled.
10886 # Unfortunately, runtime linking may impact performance, so we do
10887 # not want this to be the default eventually. Also, we use the
10888 # versioned .so libs for executables only if there is the -brtl
10889 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10890 # To allow for filename-based versioning support, we need to create
10891 # libNAME.so.V as an archive file, containing:
10892 # *) an Import File, referring to the versioned filename of the
10893 # archive as well as the shared archive member, telling the
10894 # bitwidth (32 or 64) of that shared object, and providing the
10895 # list of exported symbols of that shared object, eventually
10896 # decorated with the 'weak' keyword
10897 # *) the shared object with the F_LOADONLY flag set, to really avoid
10898 # it being seen by the linker.
10899 # At run time we better use the real file rather than another symlink,
10900 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10902 case $with_aix_soname,$aix_use_runtimelinking in
10903 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10904 # soname into executable. Probably we can add versioning support to
10905 # collect2, so additional links can be useful in future.
10906 aix,yes) # traditional libtool
10907 dynamic_linker='AIX unversionable lib.so'
10908 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10909 # instead of lib<name>.a to let people know that these are not
10910 # typical AIX shared libraries.
10911 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10913 aix,no) # traditional AIX only
10914 dynamic_linker='AIX lib.a(lib.so.V)'
10915 # We preserve .a as extension for shared libraries through AIX4.2
10916 # and later when we are not doing run time linking.
10917 library_names_spec='$libname$release.a $libname.a'
10918 soname_spec='$libname$release$shared_ext$major'
10920 svr4,*) # full svr4 only
10921 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10922 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10923 # We do not specify a path in Import Files, so LIBPATH fires.
10924 shlibpath_overrides_runpath=yes
10926 *,yes) # both, prefer svr4
10927 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10928 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10929 # unpreferred sharedlib libNAME.a needs extra handling
10930 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"'
10931 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"'
10932 # We do not specify a path in Import Files, so LIBPATH fires.
10933 shlibpath_overrides_runpath=yes
10935 *,no) # both, prefer aix
10936 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10937 library_names_spec='$libname$release.a $libname.a'
10938 soname_spec='$libname$release$shared_ext$major'
10939 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10940 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)'
10941 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"'
10944 shlibpath_var=LIBPATH
10951 # Since July 2007 AmigaOS4 officially supports .so libraries.
10952 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10953 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10956 library_names_spec='$libname.ixlibrary $libname.a'
10957 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10958 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'
10964 library_names_spec='$libname$shared_ext'
10965 dynamic_linker="$host_os ld.so"
10966 shlibpath_var=LIBRARY_PATH
10970 version_type=linux # correct to gnu/linux during the next big refactor
10972 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10973 soname_spec='$libname$release$shared_ext$major'
10974 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10975 shlibpath_var=LD_LIBRARY_PATH
10976 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10977 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10978 # the default ld.so.conf also contains /usr/contrib/lib and
10979 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10980 # libtool to hard-code these into programs
10983 cygwin* | mingw* | pw32* | cegcc*)
10984 version_type=windows
10989 case $GCC,$cc_basename in
10992 library_names_spec='$libname.dll.a'
10993 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10994 postinstall_cmds='base_file=`basename \$file`~
10995 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10996 dldir=$destdir/`dirname \$dlpath`~
10997 test -d \$dldir || mkdir -p \$dldir~
10998 $install_prog $dir/$dlname \$dldir/$dlname~
10999 chmod a+x \$dldir/$dlname~
11000 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11001 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11003 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11004 dlpath=$dir/\$dldll~
11006 shlibpath_overrides_runpath=yes
11010 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11011 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11013 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11016 # MinGW DLLs use traditional 'lib' prefix
11017 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11020 # pw32 DLLs use 'pw' prefix rather than 'lib'
11021 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11024 dynamic_linker='Win32 ld.exe'
11029 libname_spec='$name'
11030 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11031 library_names_spec='$libname.dll.lib'
11035 sys_lib_search_path_spec=
11038 for lt_path in $LIB
11041 # Let DOS variable expansion print the short 8.3 style file name.
11042 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11043 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11046 # Convert to MSYS style.
11047 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11050 # Convert to unix form, then to dos form, then back to unix form
11051 # but this time dos style (no spaces!) so that the unix form looks
11052 # like /cygdrive/c/PROGRA~1:/cygdr...
11053 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11054 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11055 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11058 sys_lib_search_path_spec=$LIB
11059 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11060 # It is most probably a Windows format PATH.
11061 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11063 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11065 # FIXME: find the short name or the path components, as spaces are
11066 # common. (e.g. "Program Files" -> "PROGRA~1")
11070 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11071 postinstall_cmds='base_file=`basename \$file`~
11072 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11073 dldir=$destdir/`dirname \$dlpath`~
11074 test -d \$dldir || mkdir -p \$dldir~
11075 $install_prog $dir/$dlname \$dldir/$dlname'
11076 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11077 dlpath=$dir/\$dldll~
11079 shlibpath_overrides_runpath=yes
11080 dynamic_linker='Win32 link.exe'
11084 # Assume MSVC wrapper
11085 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11086 dynamic_linker='Win32 ld.exe'
11089 # FIXME: first we should search . and the directory the executable is in
11093 darwin* | rhapsody*)
11094 dynamic_linker="$host_os dyld"
11095 version_type=darwin
11098 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11099 soname_spec='$libname$release$major$shared_ext'
11100 shlibpath_overrides_runpath=yes
11101 shlibpath_var=DYLD_LIBRARY_PATH
11102 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11104 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11105 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11109 version_type=linux # correct to gnu/linux during the next big refactor
11112 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11113 soname_spec='$libname$release$shared_ext$major'
11114 shlibpath_var=LD_LIBRARY_PATH
11117 freebsd* | dragonfly*)
11118 # DragonFly does not have aout. When/if they implement a new
11119 # versioning mechanism, adjust this.
11120 if test -x /usr/bin/objformat; then
11121 objformat=`/usr/bin/objformat`
11124 freebsd[23].*) objformat=aout ;;
11125 *) objformat=elf ;;
11128 version_type=freebsd-$objformat
11129 case $version_type in
11131 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11132 soname_spec='$libname$release$shared_ext$major'
11137 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11141 shlibpath_var=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath=yes
11146 freebsd3.[01]* | freebsdelf3.[01]*)
11147 shlibpath_overrides_runpath=yes
11148 hardcode_into_libs=yes
11150 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11151 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11152 shlibpath_overrides_runpath=no
11153 hardcode_into_libs=yes
11155 *) # from 4.6 on, and DragonFly
11156 shlibpath_overrides_runpath=yes
11157 hardcode_into_libs=yes
11163 version_type=linux # correct to gnu/linux during the next big refactor
11166 dynamic_linker="$host_os runtime_loader"
11167 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11168 soname_spec='$libname$release$shared_ext$major'
11169 shlibpath_var=LIBRARY_PATH
11170 shlibpath_overrides_runpath=no
11171 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11172 hardcode_into_libs=yes
11175 hpux9* | hpux10* | hpux11*)
11176 # Give a soname corresponding to the major version so that dld.sl refuses to
11177 # link against other versions.
11184 hardcode_into_libs=yes
11185 dynamic_linker="$host_os dld.so"
11186 shlibpath_var=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11188 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11189 soname_spec='$libname$release$shared_ext$major'
11190 if test 32 = "$HPUX_IA64_MODE"; then
11191 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11192 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11194 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11195 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11200 hardcode_into_libs=yes
11201 dynamic_linker="$host_os dld.sl"
11202 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11203 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11204 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11205 soname_spec='$libname$release$shared_ext$major'
11206 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11207 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11211 dynamic_linker="$host_os dld.sl"
11212 shlibpath_var=SHLIB_PATH
11213 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11214 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11215 soname_spec='$libname$release$shared_ext$major'
11218 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11219 postinstall_cmds='chmod 555 $lib'
11220 # or fails outright, so override atomically:
11221 install_override_mode=555
11225 version_type=linux # correct to gnu/linux during the next big refactor
11228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11229 soname_spec='$libname$release$shared_ext$major'
11230 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11231 shlibpath_var=LD_LIBRARY_PATH
11232 shlibpath_overrides_runpath=no
11233 hardcode_into_libs=yes
11236 irix5* | irix6* | nonstopux*)
11238 nonstopux*) version_type=nonstopux ;;
11240 if test yes = "$lt_cv_prog_gnu_ld"; then
11241 version_type=linux # correct to gnu/linux during the next big refactor
11248 soname_spec='$libname$release$shared_ext$major'
11249 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11251 irix5* | nonstopux*)
11252 libsuff= shlibsuff=
11255 case $LD in # libtool.m4 will add one of these switches to LD
11256 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11257 libsuff= shlibsuff= libmagic=32-bit;;
11258 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11259 libsuff=32 shlibsuff=N32 libmagic=N32;;
11260 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11261 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11262 *) libsuff= shlibsuff= libmagic=never-match;;
11266 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11267 shlibpath_overrides_runpath=no
11268 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11269 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11270 hardcode_into_libs=yes
11273 # No shared lib support for Linux oldld, aout, or coff.
11274 linux*oldld* | linux*aout* | linux*coff*)
11279 version_type=none # Android doesn't support versioned libraries.
11282 library_names_spec='$libname$release$shared_ext'
11283 soname_spec='$libname$release$shared_ext'
11285 shlibpath_var=LD_LIBRARY_PATH
11286 shlibpath_overrides_runpath=yes
11288 # This implies no fast_install, which is unacceptable.
11289 # Some rework will be needed to allow for fast_install
11290 # before this can be enabled.
11291 hardcode_into_libs=yes
11293 dynamic_linker='Android linker'
11294 # Don't embed -rpath directories since the linker doesn't support them.
11295 hardcode_libdir_flag_spec='-L$libdir'
11298 # This must be glibc/ELF.
11299 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11300 version_type=linux # correct to gnu/linux during the next big refactor
11303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11304 soname_spec='$libname$release$shared_ext$major'
11305 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11306 shlibpath_var=LD_LIBRARY_PATH
11307 shlibpath_overrides_runpath=no
11309 # Some binutils ld are patched to set DT_RUNPATH
11310 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11311 $as_echo_n "(cached) " >&6
11313 lt_cv_shlibpath_overrides_runpath=no
11314 save_LDFLAGS=$LDFLAGS
11315 save_libdir=$libdir
11316 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11317 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11329 if ac_fn_c_try_link "$LINENO"; then :
11330 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11331 lt_cv_shlibpath_overrides_runpath=yes
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LDFLAGS=$save_LDFLAGS
11337 libdir=$save_libdir
11341 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11343 # This implies no fast_install, which is unacceptable.
11344 # Some rework will be needed to allow for fast_install
11345 # before this can be enabled.
11346 hardcode_into_libs=yes
11348 # Ideally, we could use ldconfig to report *all* directores which are
11349 # searched for libraries, however this is still not possible. Aside from not
11350 # being certain /sbin/ldconfig is available, command
11351 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11352 # even though it is searched at run-time. Try to do the best guess by
11353 # appending ld.so.conf contents (and includes) to the search path.
11354 if test -f /etc/ld.so.conf; then
11355 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' ' '`
11356 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11359 # We used to test for /lib/ld.so.1 and disable shared libraries on
11360 # powerpc, because MkLinux only supported shared libraries with the
11361 # GNU dynamic linker. Since this was broken with cross compilers,
11362 # most powerpc-linux boxes support dynamic linking these days and
11363 # people can always --disable-shared, the test was removed, and we
11364 # assume the GNU/Linux dynamic linker is in use.
11365 dynamic_linker='GNU/Linux ld.so'
11372 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11373 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11374 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11375 dynamic_linker='NetBSD (a.out) ld.so'
11377 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11378 soname_spec='$libname$release$shared_ext$major'
11379 dynamic_linker='NetBSD ld.elf_so'
11381 shlibpath_var=LD_LIBRARY_PATH
11382 shlibpath_overrides_runpath=yes
11383 hardcode_into_libs=yes
11387 version_type=linux # correct to gnu/linux during the next big refactor
11388 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11389 shlibpath_var=LD_LIBRARY_PATH
11390 shlibpath_overrides_runpath=yes
11397 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11398 soname_spec='$libname$release$shared_ext$major'
11399 shlibpath_var=LD_LIBRARY_PATH
11400 shlibpath_overrides_runpath=no
11401 hardcode_into_libs=yes
11402 dynamic_linker='ldqnx.so'
11405 openbsd* | bitrig*)
11407 sys_lib_dlsearch_path_spec=/usr/lib
11409 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11414 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11415 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11416 shlibpath_var=LD_LIBRARY_PATH
11417 shlibpath_overrides_runpath=yes
11421 libname_spec='$name'
11422 version_type=windows
11426 # OS/2 can only load a DLL with a base name of 8 characters or less.
11427 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11428 v=$($ECHO $release$versuffix | tr -d .-);
11429 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11430 $ECHO $n$v`$shared_ext'
11431 library_names_spec='${libname}_dll.$libext'
11432 dynamic_linker='OS/2 ld.exe'
11433 shlibpath_var=BEGINLIBPATH
11434 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11435 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11436 postinstall_cmds='base_file=`basename \$file`~
11437 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11438 dldir=$destdir/`dirname \$dlpath`~
11439 test -d \$dldir || mkdir -p \$dldir~
11440 $install_prog $dir/$dlname \$dldir/$dlname~
11441 chmod a+x \$dldir/$dlname~
11442 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11443 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11445 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11446 dlpath=$dir/\$dldll~
11450 osf3* | osf4* | osf5*)
11454 soname_spec='$libname$release$shared_ext$major'
11455 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11456 shlibpath_var=LD_LIBRARY_PATH
11457 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11458 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11466 version_type=linux # correct to gnu/linux during the next big refactor
11469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11470 soname_spec='$libname$release$shared_ext$major'
11471 shlibpath_var=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath=yes
11473 hardcode_into_libs=yes
11474 # ldd complains unless libraries are executable
11475 postinstall_cmds='chmod +x $lib'
11480 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11481 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11482 shlibpath_var=LD_LIBRARY_PATH
11483 shlibpath_overrides_runpath=yes
11484 if test yes = "$with_gnu_ld"; then
11491 version_type=linux # correct to gnu/linux during the next big refactor
11492 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11493 soname_spec='$libname$release$shared_ext$major'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 case $host_vendor in
11497 shlibpath_overrides_runpath=no
11499 runpath_var=LD_RUN_PATH
11507 shlibpath_overrides_runpath=no
11508 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11514 if test -d /usr/nec; then
11515 version_type=linux # correct to gnu/linux during the next big refactor
11516 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11517 soname_spec='$libname$shared_ext.$major'
11518 shlibpath_var=LD_LIBRARY_PATH
11522 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11526 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11527 soname_spec='$libname$release$shared_ext$major'
11528 shlibpath_var=LD_LIBRARY_PATH
11529 shlibpath_overrides_runpath=yes
11530 hardcode_into_libs=yes
11531 if test yes = "$with_gnu_ld"; then
11532 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11534 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11537 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11541 sys_lib_dlsearch_path_spec='/usr/lib'
11545 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11546 version_type=linux # correct to gnu/linux during the next big refactor
11549 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11550 shlibpath_var=LD_LIBRARY_PATH
11551 shlibpath_overrides_runpath=no
11552 hardcode_into_libs=yes
11556 version_type=linux # correct to gnu/linux during the next big refactor
11557 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11558 soname_spec='$libname$release$shared_ext$major'
11559 shlibpath_var=LD_LIBRARY_PATH
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11567 $as_echo "$dynamic_linker" >&6; }
11568 test no = "$dynamic_linker" && can_build_shared=no
11570 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11571 if test yes = "$GCC"; then
11572 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11575 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11576 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11579 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11580 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11583 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11584 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11586 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11587 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11589 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11590 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11689 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11691 if test -n "$hardcode_libdir_flag_spec" ||
11692 test -n "$runpath_var" ||
11693 test yes = "$hardcode_automatic"; then
11695 # We can hardcode non-existent directories.
11696 if test no != "$hardcode_direct" &&
11697 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11698 # have to relink, otherwise we might link with an installed library
11699 # when we should be linking with a yet-to-be-installed one
11700 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11701 test no != "$hardcode_minus_L"; then
11702 # Linking always hardcodes the temporary library directory.
11703 hardcode_action=relink
11705 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11706 hardcode_action=immediate
11709 # We cannot hardcode anything, or else we can only hardcode existing
11711 hardcode_action=unsupported
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11714 $as_echo "$hardcode_action" >&6; }
11716 if test relink = "$hardcode_action" ||
11717 test yes = "$inherit_rpath"; then
11718 # Fast installation is not supported
11719 enable_fast_install=no
11720 elif test yes = "$shlibpath_overrides_runpath" ||
11721 test no = "$enable_shared"; then
11722 # Fast installation is not necessary
11723 enable_fast_install=needless
11731 if test yes != "$enable_dlopen"; then
11732 enable_dlopen=unknown
11733 enable_dlopen_self=unknown
11734 enable_dlopen_self_static=unknown
11741 lt_cv_dlopen=load_add_on
11743 lt_cv_dlopen_self=yes
11746 mingw* | pw32* | cegcc*)
11747 lt_cv_dlopen=LoadLibrary
11752 lt_cv_dlopen=dlopen
11757 # if libdl is installed we need to link against it
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11759 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11760 if ${ac_cv_lib_dl_dlopen+:} false; then :
11761 $as_echo_n "(cached) " >&6
11763 ac_check_lib_save_LIBS=$LIBS
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11768 /* Override any GCC internal prototype to avoid an error.
11769 Use char because int might match the return type of a GCC
11770 builtin and then its argument prototype would still apply. */
11783 if ac_fn_c_try_link "$LINENO"; then :
11784 ac_cv_lib_dl_dlopen=yes
11786 ac_cv_lib_dl_dlopen=no
11788 rm -f core conftest.err conftest.$ac_objext \
11789 conftest$ac_exeext conftest.$ac_ext
11790 LIBS=$ac_check_lib_save_LIBS
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11793 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11794 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11795 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11800 lt_cv_dlopen_self=yes
11807 # Don't try to run any link tests for TPF. We know it's impossible
11808 # because TPF is a cross-compiler, and we know how we open DSOs.
11809 lt_cv_dlopen=dlopen
11811 lt_cv_dlopen_self=no
11815 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11816 if test "x$ac_cv_func_shl_load" = xyes; then :
11817 lt_cv_dlopen=shl_load
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11820 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11821 if ${ac_cv_lib_dld_shl_load+:} false; then :
11822 $as_echo_n "(cached) " >&6
11824 ac_check_lib_save_LIBS=$LIBS
11826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h. */
11829 /* Override any GCC internal prototype to avoid an error.
11830 Use char because int might match the return type of a GCC
11831 builtin and then its argument prototype would still apply. */
11839 return shl_load ();
11844 if ac_fn_c_try_link "$LINENO"; then :
11845 ac_cv_lib_dld_shl_load=yes
11847 ac_cv_lib_dld_shl_load=no
11849 rm -f core conftest.err conftest.$ac_objext \
11850 conftest$ac_exeext conftest.$ac_ext
11851 LIBS=$ac_check_lib_save_LIBS
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11854 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11855 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11856 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11858 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11859 if test "x$ac_cv_func_dlopen" = xyes; then :
11860 lt_cv_dlopen=dlopen
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11864 if ${ac_cv_lib_dl_dlopen+:} false; then :
11865 $as_echo_n "(cached) " >&6
11867 ac_check_lib_save_LIBS=$LIBS
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 ac_cv_lib_dl_dlopen=yes
11890 ac_cv_lib_dl_dlopen=no
11892 rm -f core conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11894 LIBS=$ac_check_lib_save_LIBS
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11897 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11898 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11899 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11902 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11903 if ${ac_cv_lib_svld_dlopen+:} false; then :
11904 $as_echo_n "(cached) " >&6
11906 ac_check_lib_save_LIBS=$LIBS
11907 LIBS="-lsvld $LIBS"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11911 /* Override any GCC internal prototype to avoid an error.
11912 Use char because int might match the return type of a GCC
11913 builtin and then its argument prototype would still apply. */
11926 if ac_fn_c_try_link "$LINENO"; then :
11927 ac_cv_lib_svld_dlopen=yes
11929 ac_cv_lib_svld_dlopen=no
11931 rm -f core conftest.err conftest.$ac_objext \
11932 conftest$ac_exeext conftest.$ac_ext
11933 LIBS=$ac_check_lib_save_LIBS
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11936 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11937 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11938 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11941 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11942 if ${ac_cv_lib_dld_dld_link+:} false; then :
11943 $as_echo_n "(cached) " >&6
11945 ac_check_lib_save_LIBS=$LIBS
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11960 return dld_link ();
11965 if ac_fn_c_try_link "$LINENO"; then :
11966 ac_cv_lib_dld_dld_link=yes
11968 ac_cv_lib_dld_dld_link=no
11970 rm -f core conftest.err conftest.$ac_objext \
11971 conftest$ac_exeext conftest.$ac_ext
11972 LIBS=$ac_check_lib_save_LIBS
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11975 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11976 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11977 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11998 if test no = "$lt_cv_dlopen"; then
12004 case $lt_cv_dlopen in
12006 save_CPPFLAGS=$CPPFLAGS
12007 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12009 save_LDFLAGS=$LDFLAGS
12010 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12013 LIBS="$lt_cv_dlopen_libs $LIBS"
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12016 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12017 if ${lt_cv_dlopen_self+:} false; then :
12018 $as_echo_n "(cached) " >&6
12020 if test yes = "$cross_compiling"; then :
12021 lt_cv_dlopen_self=cross
12023 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12024 lt_status=$lt_dlunknown
12025 cat > conftest.$ac_ext <<_LT_EOF
12026 #line $LINENO "configure"
12027 #include "confdefs.h"
12036 # define LT_DLGLOBAL RTLD_GLOBAL
12039 # define LT_DLGLOBAL DL_GLOBAL
12041 # define LT_DLGLOBAL 0
12045 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12046 find out it does not work in some platform. */
12047 #ifndef LT_DLLAZY_OR_NOW
12049 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12052 # define LT_DLLAZY_OR_NOW DL_LAZY
12055 # define LT_DLLAZY_OR_NOW RTLD_NOW
12058 # define LT_DLLAZY_OR_NOW DL_NOW
12060 # define LT_DLLAZY_OR_NOW 0
12067 /* When -fvisibility=hidden is used, assume the code has been annotated
12068 correspondingly for the symbols needed. */
12069 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12070 int fnord () __attribute__((visibility("default")));
12073 int fnord () { return 42; }
12076 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12077 int status = $lt_dlunknown;
12081 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12084 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12085 else puts (dlerror ());
12087 /* dlclose (self); */
12095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12096 (eval $ac_link) 2>&5
12098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12099 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12100 (./conftest; exit; ) >&5 2>/dev/null
12102 case x$lt_status in
12103 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12104 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12105 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12108 # compilation failed
12109 lt_cv_dlopen_self=no
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12117 $as_echo "$lt_cv_dlopen_self" >&6; }
12119 if test yes = "$lt_cv_dlopen_self"; then
12120 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12122 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12123 if ${lt_cv_dlopen_self_static+:} false; then :
12124 $as_echo_n "(cached) " >&6
12126 if test yes = "$cross_compiling"; then :
12127 lt_cv_dlopen_self_static=cross
12129 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12130 lt_status=$lt_dlunknown
12131 cat > conftest.$ac_ext <<_LT_EOF
12132 #line $LINENO "configure"
12133 #include "confdefs.h"
12142 # define LT_DLGLOBAL RTLD_GLOBAL
12145 # define LT_DLGLOBAL DL_GLOBAL
12147 # define LT_DLGLOBAL 0
12151 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12152 find out it does not work in some platform. */
12153 #ifndef LT_DLLAZY_OR_NOW
12155 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12158 # define LT_DLLAZY_OR_NOW DL_LAZY
12161 # define LT_DLLAZY_OR_NOW RTLD_NOW
12164 # define LT_DLLAZY_OR_NOW DL_NOW
12166 # define LT_DLLAZY_OR_NOW 0
12173 /* When -fvisibility=hidden is used, assume the code has been annotated
12174 correspondingly for the symbols needed. */
12175 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12176 int fnord () __attribute__((visibility("default")));
12179 int fnord () { return 42; }
12182 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12183 int status = $lt_dlunknown;
12187 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12190 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12191 else puts (dlerror ());
12193 /* dlclose (self); */
12201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12202 (eval $ac_link) 2>&5
12204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12205 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12206 (./conftest; exit; ) >&5 2>/dev/null
12208 case x$lt_status in
12209 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12210 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12211 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12214 # compilation failed
12215 lt_cv_dlopen_self_static=no
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12223 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12226 CPPFLAGS=$save_CPPFLAGS
12227 LDFLAGS=$save_LDFLAGS
12232 case $lt_cv_dlopen_self in
12233 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12234 *) enable_dlopen_self=unknown ;;
12237 case $lt_cv_dlopen_self_static in
12238 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12239 *) enable_dlopen_self_static=unknown ;;
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12262 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12263 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12264 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12265 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12267 $as_echo "yes" >&6; }
12269 # FIXME - insert some real tests, host_os isn't really good enough
12272 if test -n "$STRIP"; then
12273 striplib="$STRIP -x"
12274 old_striplib="$STRIP -S"
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12276 $as_echo "yes" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279 $as_echo "no" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12300 # Report what library types will actually be built
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12302 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12304 $as_echo "$can_build_shared" >&6; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12307 $as_echo_n "checking whether to build shared libraries... " >&6; }
12308 test no = "$can_build_shared" && enable_shared=no
12310 # On AIX, shared libraries and static libraries use the same namespace, and
12311 # are all built from PIC.
12314 test yes = "$enable_shared" && enable_static=no
12315 if test -n "$RANLIB"; then
12316 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12317 postinstall_cmds='$RANLIB $lib'
12322 if test ia64 != "$host_cpu"; then
12323 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12324 yes,aix,yes) ;; # shared object as lib.so file only
12325 yes,svr4,*) ;; # shared object as lib.so archive member only
12326 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12332 $as_echo "$enable_shared" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12335 $as_echo_n "checking whether to build static libraries... " >&6; }
12336 # Make sure either enable_shared or enable_static is yes.
12337 test yes = "$enable_shared" || enable_static=yes
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12339 $as_echo "$enable_static" >&6; }
12346 ac_cpp='$CPP $CPPFLAGS'
12347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12367 ac_config_commands="$ac_config_commands libtool"
12372 # Only expand once:
12376 FRIBIDI_MAJOR_VERSION=0
12377 FRIBIDI_MINOR_VERSION=19
12378 FRIBIDI_MICRO_VERSION=7
12379 FRIBIDI_VERSION=0.19.7
12380 FRIBIDI_INTERFACE_VERSION=3
12381 FRIBIDI_INTERFACE_AGE=6
12382 FRIBIDI_BINARY_AGE=3
12392 LT_VERSION_INFO=3:6:3
12393 LT_CURRENT_MINUS_AGE=0
12399 # Checks for programs.
12401 ac_cpp='$CPP $CPPFLAGS'
12402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12405 if test -n "$ac_tool_prefix"; then
12406 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12407 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12409 $as_echo_n "checking for $ac_word... " >&6; }
12410 if ${ac_cv_prog_CC+:} false; then :
12411 $as_echo_n "(cached) " >&6
12413 if test -n "$CC"; then
12414 ac_cv_prog_CC="$CC" # Let the user override the test.
12416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12417 for as_dir in $PATH
12420 test -z "$as_dir" && as_dir=.
12421 for ac_exec_ext in '' $ac_executable_extensions; do
12422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12423 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12434 if test -n "$CC"; then
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12436 $as_echo "$CC" >&6; }
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12439 $as_echo "no" >&6; }
12444 if test -z "$ac_cv_prog_CC"; then
12446 # Extract the first word of "gcc", so it can be a program name with args.
12447 set dummy gcc; ac_word=$2
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12449 $as_echo_n "checking for $ac_word... " >&6; }
12450 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12451 $as_echo_n "(cached) " >&6
12453 if test -n "$ac_ct_CC"; then
12454 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12457 for as_dir in $PATH
12460 test -z "$as_dir" && as_dir=.
12461 for ac_exec_ext in '' $ac_executable_extensions; do
12462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12463 ac_cv_prog_ac_ct_CC="gcc"
12464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12473 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12474 if test -n "$ac_ct_CC"; then
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12476 $as_echo "$ac_ct_CC" >&6; }
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12479 $as_echo "no" >&6; }
12482 if test "x$ac_ct_CC" = x; then
12485 case $cross_compiling:$ac_tool_warned in
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12489 ac_tool_warned=yes ;;
12494 CC="$ac_cv_prog_CC"
12497 if test -z "$CC"; then
12498 if test -n "$ac_tool_prefix"; then
12499 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12500 set dummy ${ac_tool_prefix}cc; ac_word=$2
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12502 $as_echo_n "checking for $ac_word... " >&6; }
12503 if ${ac_cv_prog_CC+:} false; then :
12504 $as_echo_n "(cached) " >&6
12506 if test -n "$CC"; then
12507 ac_cv_prog_CC="$CC" # Let the user override the test.
12509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12510 for as_dir in $PATH
12513 test -z "$as_dir" && as_dir=.
12514 for ac_exec_ext in '' $ac_executable_extensions; do
12515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12516 ac_cv_prog_CC="${ac_tool_prefix}cc"
12517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12527 if test -n "$CC"; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12529 $as_echo "$CC" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12538 if test -z "$CC"; then
12539 # Extract the first word of "cc", so it can be a program name with args.
12540 set dummy cc; ac_word=$2
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12542 $as_echo_n "checking for $ac_word... " >&6; }
12543 if ${ac_cv_prog_CC+:} false; then :
12544 $as_echo_n "(cached) " >&6
12546 if test -n "$CC"; then
12547 ac_cv_prog_CC="$CC" # Let the user override the test.
12549 ac_prog_rejected=no
12550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12551 for as_dir in $PATH
12554 test -z "$as_dir" && as_dir=.
12555 for ac_exec_ext in '' $ac_executable_extensions; do
12556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12557 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12558 ac_prog_rejected=yes
12562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12569 if test $ac_prog_rejected = yes; then
12570 # We found a bogon in the path, so make sure we never use it.
12571 set dummy $ac_cv_prog_CC
12573 if test $# != 0; then
12574 # We chose a different compiler from the bogus one.
12575 # However, it has the same basename, so the bogon will be chosen
12576 # first if we set CC to just the basename; use the full file name.
12578 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12584 if test -n "$CC"; then
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12586 $as_echo "$CC" >&6; }
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12589 $as_echo "no" >&6; }
12594 if test -z "$CC"; then
12595 if test -n "$ac_tool_prefix"; then
12596 for ac_prog in cl.exe
12598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12601 $as_echo_n "checking for $ac_word... " >&6; }
12602 if ${ac_cv_prog_CC+:} false; then :
12603 $as_echo_n "(cached) " >&6
12605 if test -n "$CC"; then
12606 ac_cv_prog_CC="$CC" # Let the user override the test.
12608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12609 for as_dir in $PATH
12612 test -z "$as_dir" && as_dir=.
12613 for ac_exec_ext in '' $ac_executable_extensions; do
12614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12615 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12626 if test -n "$CC"; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12628 $as_echo "$CC" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631 $as_echo "no" >&6; }
12635 test -n "$CC" && break
12638 if test -z "$CC"; then
12640 for ac_prog in cl.exe
12642 # Extract the first word of "$ac_prog", so it can be a program name with args.
12643 set dummy $ac_prog; ac_word=$2
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12645 $as_echo_n "checking for $ac_word... " >&6; }
12646 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12647 $as_echo_n "(cached) " >&6
12649 if test -n "$ac_ct_CC"; then
12650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12653 for as_dir in $PATH
12656 test -z "$as_dir" && as_dir=.
12657 for ac_exec_ext in '' $ac_executable_extensions; do
12658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12659 ac_cv_prog_ac_ct_CC="$ac_prog"
12660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12670 if test -n "$ac_ct_CC"; then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12672 $as_echo "$ac_ct_CC" >&6; }
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12675 $as_echo "no" >&6; }
12679 test -n "$ac_ct_CC" && break
12682 if test "x$ac_ct_CC" = x; then
12685 case $cross_compiling:$ac_tool_warned in
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12689 ac_tool_warned=yes ;;
12698 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12700 as_fn_error $? "no acceptable C compiler found in \$PATH
12701 See \`config.log' for more details" "$LINENO" 5; }
12703 # Provide some information about the compiler.
12704 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12707 for ac_option in --version -v -V -qversion; do
12708 { { ac_try="$ac_compiler $ac_option >&5"
12709 case "(($ac_try" in
12710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12711 *) ac_try_echo=$ac_try;;
12713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12714 $as_echo "$ac_try_echo"; } >&5
12715 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12717 if test -s conftest.err; then
12719 ... rest of stderr output deleted ...
12720 10q' conftest.err >conftest.er1
12721 cat conftest.er1 >&5
12723 rm -f conftest.er1 conftest.err
12724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12725 test $ac_status = 0; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12729 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12730 if ${ac_cv_c_compiler_gnu+:} false; then :
12731 $as_echo_n "(cached) " >&6
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12747 if ac_fn_c_try_compile "$LINENO"; then :
12748 ac_compiler_gnu=yes
12752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12753 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12757 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12758 if test $ac_compiler_gnu = yes; then
12763 ac_test_CFLAGS=${CFLAGS+set}
12764 ac_save_CFLAGS=$CFLAGS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12766 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12767 if ${ac_cv_prog_cc_g+:} false; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_save_c_werror_flag=$ac_c_werror_flag
12771 ac_c_werror_flag=yes
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12785 if ac_fn_c_try_compile "$LINENO"; then :
12786 ac_cv_prog_cc_g=yes
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12800 if ac_fn_c_try_compile "$LINENO"; then :
12803 ac_c_werror_flag=$ac_save_c_werror_flag
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12816 if ac_fn_c_try_compile "$LINENO"; then :
12817 ac_cv_prog_cc_g=yes
12819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12824 ac_c_werror_flag=$ac_save_c_werror_flag
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12827 $as_echo "$ac_cv_prog_cc_g" >&6; }
12828 if test "$ac_test_CFLAGS" = set; then
12829 CFLAGS=$ac_save_CFLAGS
12830 elif test $ac_cv_prog_cc_g = yes; then
12831 if test "$GCC" = yes; then
12837 if test "$GCC" = yes; then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12844 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12845 if ${ac_cv_prog_cc_c89+:} false; then :
12846 $as_echo_n "(cached) " >&6
12848 ac_cv_prog_cc_c89=no
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12852 #include <stdarg.h>
12855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12856 struct buf { int x; };
12857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12858 static char *e (p, i)
12864 static char *f (char * (*g) (char **, int), char **p, ...)
12869 s = g (p, va_arg (v,int));
12874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12875 function prototypes and stuff, but not '\xHH' hex character constants.
12876 These don't provoke an error unfortunately, instead are silently treated
12877 as 'x'. The following induces an error, until -std is added to get
12878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12879 array size at least. It's necessary to write '\x00'==0 to get something
12880 that's true only with -std. */
12881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12884 inside strings and character constants. */
12886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12888 int test (int i, double x);
12889 struct s1 {int (*f) (int a);};
12890 struct s2 {int (*f) (double a);};
12891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12905 CC="$ac_save_CC $ac_arg"
12906 if ac_fn_c_try_compile "$LINENO"; then :
12907 ac_cv_prog_cc_c89=$ac_arg
12909 rm -f core conftest.err conftest.$ac_objext
12910 test "x$ac_cv_prog_cc_c89" != "xno" && break
12912 rm -f conftest.$ac_ext
12917 case "x$ac_cv_prog_cc_c89" in
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12920 $as_echo "none needed" >&6; } ;;
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12923 $as_echo "unsupported" >&6; } ;;
12925 CC="$CC $ac_cv_prog_cc_c89"
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12927 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12929 if test "x$ac_cv_prog_cc_c89" != xno; then :
12934 ac_cpp='$CPP $CPPFLAGS'
12935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12945 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12946 if ${am_cv_prog_cc_c_o+:} false; then :
12947 $as_echo_n "(cached) " >&6
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12960 # Make sure it works both with $CC and with simple cc.
12961 # Following AC_PROG_CC_C_O, we do the test twice because some
12962 # compilers refuse to overwrite an existing .o file with -o,
12963 # though they will create one.
12964 am_cv_prog_cc_c_o=yes
12965 for am_i in 1 2; do
12966 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12967 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); } \
12971 && test -f conftest2.$ac_objext; then
12974 am_cv_prog_cc_c_o=no
12978 rm -f core conftest*
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12982 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12983 if test "$am_cv_prog_cc_c_o" != yes; then
12984 # Losing compiler, so override with the script.
12985 # FIXME: It is wrong to rewrite CC.
12986 # But if we don't then we get into trouble of one sort or another.
12987 # A longer-term fix would be to have automake use am__CC in this case,
12988 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12989 CC="$am_aux_dir/compile $CC"
12992 ac_cpp='$CPP $CPPFLAGS'
12993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12998 depcc="$CC" am_compiler_list=
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13001 $as_echo_n "checking dependency style of $depcc... " >&6; }
13002 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13003 $as_echo_n "(cached) " >&6
13005 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13006 # We make a subdir and do the tests there. Otherwise we can end up
13007 # making bogus files that we don't know about and never remove. For
13008 # instance it was reported that on HP-UX the gcc test will end up
13009 # making a dummy file named 'D' -- because '-MD' means "put the output
13011 rm -rf conftest.dir
13013 # Copy depcomp to subdir because otherwise we won't find it if we're
13014 # using a relative directory.
13015 cp "$am_depcomp" conftest.dir
13017 # We will build objects and dependencies in a subdirectory because
13018 # it helps to detect inapplicable dependency modes. For instance
13019 # both Tru64's cc and ICC support -MD to output dependencies as a
13020 # side effect of compilation, but ICC will put the dependencies in
13021 # the current directory while Tru64 will put them in the object
13025 am_cv_CC_dependencies_compiler_type=none
13026 if test "$am_compiler_list" = ""; then
13027 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13029 am__universal=false
13030 case " $depcc " in #(
13031 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13034 for depmode in $am_compiler_list; do
13035 # Setup a source with many dependencies, because some compilers
13036 # like to wrap large dependency lists on column 80 (with \), and
13037 # we should not choose a depcomp mode which is confused by this.
13039 # We need to recreate these files for each test, as the compiler may
13040 # overwrite some of them when testing with obscure command lines.
13041 # This happens at least with the AIX C compiler.
13043 for i in 1 2 3 4 5 6; do
13044 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13045 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13046 # Solaris 10 /bin/sh.
13047 echo '/* dummy */' > sub/conftst$i.h
13049 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13051 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13052 # mode. It turns out that the SunPro C++ compiler does not properly
13053 # handle '-M -o', and we need to detect this. Also, some Intel
13054 # versions had trouble with output in subdirs.
13055 am__obj=sub/conftest.${OBJEXT-o}
13056 am__minus_obj="-o $am__obj"
13059 # This depmode causes a compiler race in universal mode.
13060 test "$am__universal" = false || continue
13063 # After this tag, mechanisms are not by side-effect, so they'll
13064 # only be used when explicitly requested.
13065 if test "x$enable_dependency_tracking" = xyes; then
13071 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13072 # This compiler won't grok '-c -o', but also, the minuso test has
13073 # not run yet. These depmodes are late enough in the game, and
13074 # so weak that their functioning should not be impacted.
13075 am__obj=conftest.${OBJEXT-o}
13080 if depmode=$depmode \
13081 source=sub/conftest.c object=$am__obj \
13082 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13083 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13084 >/dev/null 2>conftest.err &&
13085 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13086 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13087 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13088 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13089 # icc doesn't choke on unknown options, it will just issue warnings
13090 # or remarks (even with -Werror). So we grep stderr for any message
13091 # that says an option was ignored or not supported.
13092 # When given -MP, icc 7.0 and 7.1 complain thusly:
13093 # icc: Command line warning: ignoring option '-M'; no argument required
13094 # The diagnosis changed in icc 8.0:
13095 # icc: Command line remark: option '-MP' not supported
13096 if (grep 'ignoring option' conftest.err ||
13097 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13098 am_cv_CC_dependencies_compiler_type=$depmode
13105 rm -rf conftest.dir
13107 am_cv_CC_dependencies_compiler_type=none
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13112 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13113 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13116 test "x$enable_dependency_tracking" != xno \
13117 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13118 am__fastdepCC_TRUE=
13119 am__fastdepCC_FALSE='#'
13121 am__fastdepCC_TRUE='#'
13122 am__fastdepCC_FALSE=
13134 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13135 if test -n "$ac_tool_prefix"; then
13136 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13137 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13139 $as_echo_n "checking for $ac_word... " >&6; }
13140 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13141 $as_echo_n "(cached) " >&6
13143 case $PKG_CONFIG in
13145 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13149 for as_dir in $PATH
13152 test -z "$as_dir" && as_dir=.
13153 for ac_exec_ext in '' $ac_executable_extensions; do
13154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13155 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13166 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13167 if test -n "$PKG_CONFIG"; then
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13169 $as_echo "$PKG_CONFIG" >&6; }
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13172 $as_echo "no" >&6; }
13177 if test -z "$ac_cv_path_PKG_CONFIG"; then
13178 ac_pt_PKG_CONFIG=$PKG_CONFIG
13179 # Extract the first word of "pkg-config", so it can be a program name with args.
13180 set dummy pkg-config; ac_word=$2
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13182 $as_echo_n "checking for $ac_word... " >&6; }
13183 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13184 $as_echo_n "(cached) " >&6
13186 case $ac_pt_PKG_CONFIG in
13188 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13192 for as_dir in $PATH
13195 test -z "$as_dir" && as_dir=.
13196 for ac_exec_ext in '' $ac_executable_extensions; do
13197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13198 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13209 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13210 if test -n "$ac_pt_PKG_CONFIG"; then
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13212 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13215 $as_echo "no" >&6; }
13218 if test "x$ac_pt_PKG_CONFIG" = x; then
13221 case $cross_compiling:$ac_tool_warned in
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13225 ac_tool_warned=yes ;;
13227 PKG_CONFIG=$ac_pt_PKG_CONFIG
13230 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13234 if test -n "$PKG_CONFIG"; then
13235 _pkg_min_version=0.9.0
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13237 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13238 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13240 $as_echo "yes" >&6; }
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13243 $as_echo "no" >&6; }
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
13248 $as_echo_n "checking for native Win32... " >&6; }
13250 mingw*) os_win32=yes ;;
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
13254 $as_echo "$os_win32" >&6; }
13255 if test "$os_win32" = "yes"; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
13264 $as_echo_n "checking for some Win32 platform... " >&6; }
13266 mingw*|cygwin*) platform_win32=yes ;;
13267 *) platform_win32=no ;;
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
13270 $as_echo "$platform_win32" >&6; }
13271 if test "$platform_win32" = "yes"; then
13272 PLATFORM_WIN32_TRUE=
13273 PLATFORM_WIN32_FALSE='#'
13275 PLATFORM_WIN32_TRUE='#'
13276 PLATFORM_WIN32_FALSE=
13281 # Checks for header files.
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13283 $as_echo_n "checking for ANSI C header files... " >&6; }
13284 if ${ac_cv_header_stdc+:} false; then :
13285 $as_echo_n "(cached) " >&6
13287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13289 #include <stdlib.h>
13290 #include <stdarg.h>
13291 #include <string.h>
13302 if ac_fn_c_try_compile "$LINENO"; then :
13303 ac_cv_header_stdc=yes
13305 ac_cv_header_stdc=no
13307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13309 if test $ac_cv_header_stdc = yes; then
13310 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13313 #include <string.h>
13316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13317 $EGREP "memchr" >/dev/null 2>&1; then :
13320 ac_cv_header_stdc=no
13326 if test $ac_cv_header_stdc = yes; then
13327 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13330 #include <stdlib.h>
13333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13334 $EGREP "free" >/dev/null 2>&1; then :
13337 ac_cv_header_stdc=no
13343 if test $ac_cv_header_stdc = yes; then
13344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13345 if test "$cross_compiling" = yes; then :
13348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13351 #include <stdlib.h>
13352 #if ((' ' & 0x0FF) == 0x020)
13353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13356 # define ISLOWER(c) \
13357 (('a' <= (c) && (c) <= 'i') \
13358 || ('j' <= (c) && (c) <= 'r') \
13359 || ('s' <= (c) && (c) <= 'z'))
13360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13368 for (i = 0; i < 256; i++)
13369 if (XOR (islower (i), ISLOWER (i))
13370 || toupper (i) != TOUPPER (i))
13375 if ac_fn_c_try_run "$LINENO"; then :
13378 ac_cv_header_stdc=no
13380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13381 conftest.$ac_objext conftest.beam conftest.$ac_ext
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13387 $as_echo "$ac_cv_header_stdc" >&6; }
13388 if test $ac_cv_header_stdc = yes; then
13390 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13394 for ac_header in stdlib.h string.h strings.h inttypes.h wchar.h asm/page.h sys/times.h
13396 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13397 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13398 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13399 cat >>confdefs.h <<_ACEOF
13400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13408 # Checks for typedefs and structures.
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13410 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13411 if ${ac_cv_c_const+:} false; then :
13412 $as_echo_n "(cached) " >&6
13414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13421 #ifndef __cplusplus
13422 /* Ultrix mips cc rejects this sort of thing. */
13423 typedef int charset[2];
13424 const charset cs = { 0, 0 };
13425 /* SunOS 4.1.1 cc rejects this. */
13426 char const *const *pcpcc;
13428 /* NEC SVR4.0.2 mips cc rejects this. */
13429 struct point {int x, y;};
13430 static struct point const zero = {0,0};
13431 /* AIX XL C 1.02.0.0 rejects this.
13432 It does not let you subtract one const X* pointer from another in
13433 an arm of an if-expression whose if-part is not a constant
13435 const char *g = "string";
13436 pcpcc = &g + (g ? g-g : 0);
13437 /* HPUX 7.0 cc rejects these. */
13439 ppc = (char**) pcpcc;
13440 pcpcc = (char const *const *) ppc;
13441 { /* SCO 3.2v4 cc rejects this sort of thing. */
13444 char const *s = 0 ? (char *) 0 : (char const *) 0;
13449 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13450 int x[] = {25, 17};
13451 const int *foo = &x[0];
13454 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13455 typedef const int *iptr;
13459 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13460 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13461 struct s { int j; const int *ap[3]; } bx;
13462 struct s *b = &bx; b->j = 5;
13464 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13465 const int foo = 10;
13466 if (!foo) return 0;
13468 return !cs[0] && !zero.x;
13475 if ac_fn_c_try_compile "$LINENO"; then :
13480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13483 $as_echo "$ac_cv_c_const" >&6; }
13484 if test $ac_cv_c_const = no; then
13486 $as_echo "#define const /**/" >>confdefs.h
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5
13491 $as_echo_n "checking for preprocessor stringizing operator... " >&6; }
13492 if ${ac_cv_c_stringize+:} false; then :
13493 $as_echo_n "(cached) " >&6
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13499 char *s = x(teststring);
13501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13502 $EGREP "#teststring" >/dev/null 2>&1; then :
13503 ac_cv_c_stringize=no
13505 ac_cv_c_stringize=yes
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5
13511 $as_echo "$ac_cv_c_stringize" >&6; }
13512 if test $ac_cv_c_stringize = yes; then
13514 $as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h
13518 # The cast to long int works around a bug in the HP C Compiler
13519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13521 # This bug is HP SR number 8606223364.
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13523 $as_echo_n "checking size of int... " >&6; }
13524 if ${ac_cv_sizeof_int+:} false; then :
13525 $as_echo_n "(cached) " >&6
13527 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13530 if test "$ac_cv_type_int" = yes; then
13531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13533 as_fn_error 77 "cannot compute sizeof (int)
13534 See \`config.log' for more details" "$LINENO" 5; }
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13542 $as_echo "$ac_cv_sizeof_int" >&6; }
13546 cat >>confdefs.h <<_ACEOF
13547 #define SIZEOF_INT $ac_cv_sizeof_int
13551 SIZEOF_INT=$ac_cv_sizeof_int
13553 # The cast to long int works around a bug in the HP C Compiler
13554 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13555 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13556 # This bug is HP SR number 8606223364.
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13558 $as_echo_n "checking size of short... " >&6; }
13559 if ${ac_cv_sizeof_short+:} false; then :
13560 $as_echo_n "(cached) " >&6
13562 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13565 if test "$ac_cv_type_short" = yes; then
13566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13568 as_fn_error 77 "cannot compute sizeof (short)
13569 See \`config.log' for more details" "$LINENO" 5; }
13571 ac_cv_sizeof_short=0
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13577 $as_echo "$ac_cv_sizeof_short" >&6; }
13581 cat >>confdefs.h <<_ACEOF
13582 #define SIZEOF_SHORT $ac_cv_sizeof_short
13586 # The cast to long int works around a bug in the HP C Compiler
13587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13589 # This bug is HP SR number 8606223364.
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13591 $as_echo_n "checking size of void *... " >&6; }
13592 if ${ac_cv_sizeof_void_p+:} false; then :
13593 $as_echo_n "(cached) " >&6
13595 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13598 if test "$ac_cv_type_void_p" = yes; then
13599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13601 as_fn_error 77 "cannot compute sizeof (void *)
13602 See \`config.log' for more details" "$LINENO" 5; }
13604 ac_cv_sizeof_void_p=0
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13610 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13614 cat >>confdefs.h <<_ACEOF
13615 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13619 # The cast to long int works around a bug in the HP C Compiler
13620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13622 # This bug is HP SR number 8606223364.
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
13624 $as_echo_n "checking size of wchar_t... " >&6; }
13625 if ${ac_cv_sizeof_wchar_t+:} false; then :
13626 $as_echo_n "(cached) " >&6
13628 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
13631 if test "$ac_cv_type_wchar_t" = yes; then
13632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13634 as_fn_error 77 "cannot compute sizeof (wchar_t)
13635 See \`config.log' for more details" "$LINENO" 5; }
13637 ac_cv_sizeof_wchar_t=0
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
13643 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
13647 cat >>confdefs.h <<_ACEOF
13648 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
13653 # Checks for compiler characteristics.
13654 if test "x$GCC" = "xyes"; then
13655 CFLAGS="$CFLAGS -Wall -ansi "
13658 # Checks for library functions.
13659 for ac_func in memmove memset strdup
13661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13663 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13664 cat >>confdefs.h <<_ACEOF
13665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13672 $as_echo_n "checking return type of signal handlers... " >&6; }
13673 if ${ac_cv_type_signal+:} false; then :
13674 $as_echo_n "(cached) " >&6
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13678 #include <sys/types.h>
13679 #include <signal.h>
13684 return *(signal (0, 0)) (0) == 1;
13689 if ac_fn_c_try_compile "$LINENO"; then :
13690 ac_cv_type_signal=int
13692 ac_cv_type_signal=void
13694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13697 $as_echo "$ac_cv_type_signal" >&6; }
13699 cat >>confdefs.h <<_ACEOF
13700 #define RETSIGTYPE $ac_cv_type_signal
13705 # Checks for configure options
13709 # Check whether --enable-debug was given.
13710 if test "${enable_debug+set}" = set; then :
13711 enableval=$enable_debug;
13716 if test x$enable_debug = xyes; then
13718 $as_echo "#define DEBUG 1" >>confdefs.h
13722 # --disable-deprecated
13723 # Check whether --enable-deprecated was given.
13724 if test "${enable_deprecated+set}" = set; then :
13725 enableval=$enable_deprecated;
13728 if test x$enable_deprecated = xno; then
13729 FRIBIDI_NO_DEPRECATED=1
13731 FRIBIDI_NO_DEPRECATED=0
13736 $as_echo "#define USE_SIMPLE_MALLOC 1" >>confdefs.h
13739 # --disable-charsets
13740 # Check whether --enable-charsets was given.
13741 if test "${enable_charsets+set}" = set; then :
13742 enableval=$enable_charsets;
13745 if test x$enable_charsets = xno; then
13751 if test x$FRIBIDI_CHARSETS = x1; then
13752 FRIBIDI_CHARSETS_TRUE=
13753 FRIBIDI_CHARSETS_FALSE='#'
13755 FRIBIDI_CHARSETS_TRUE='#'
13756 FRIBIDI_CHARSETS_FALSE=
13762 # Check whether --with-glib was given.
13763 if test "${with_glib+set}" = set; then :
13764 withval=$with_glib;
13767 GLIB_PACKAGE=glib-2.0
13768 GLIB_MINVERSION=2.4
13771 if test x$with_glib = xyes; then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
13775 $as_echo_n "checking for GLIB... " >&6; }
13777 if test -n "$GLIB_CFLAGS"; then
13778 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
13779 elif test -n "$PKG_CONFIG"; then
13780 if test -n "$PKG_CONFIG" && \
13781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
13782 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
13784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13785 test $ac_status = 0; }; then
13786 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
13787 test "x$?" != "x0" && pkg_failed=yes
13794 if test -n "$GLIB_LIBS"; then
13795 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
13796 elif test -n "$PKG_CONFIG"; then
13797 if test -n "$PKG_CONFIG" && \
13798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
13799 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
13801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13802 test $ac_status = 0; }; then
13803 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
13804 test "x$?" != "x0" && pkg_failed=yes
13814 if test $pkg_failed = yes; then
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13816 $as_echo "no" >&6; }
13818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13819 _pkg_short_errors_supported=yes
13821 _pkg_short_errors_supported=no
13823 if test $_pkg_short_errors_supported = yes; then
13824 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
13826 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
13828 # Put the nasty error message in config.log where it belongs
13829 echo "$GLIB_PKG_ERRORS" >&5
13831 as_fn_error $? "Package requirements ($GLIB_PACKAGE >= $GLIB_MINVERSION) were not met:
13835 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13836 installed software in a non-standard prefix.
13838 Alternatively, you may set the environment variables GLIB_CFLAGS
13839 and GLIB_LIBS to avoid the need to call pkg-config.
13840 See the pkg-config man page for more details." "$LINENO" 5
13841 elif test $pkg_failed = untried; then
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13843 $as_echo "no" >&6; }
13844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13846 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13847 is in your PATH or set the PKG_CONFIG environment variable to the full
13848 path to pkg-config.
13850 Alternatively, you may set the environment variables GLIB_CFLAGS
13851 and GLIB_LIBS to avoid the need to call pkg-config.
13852 See the pkg-config man page for more details.
13854 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13855 See \`config.log' for more details" "$LINENO" 5; }
13857 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13858 GLIB_LIBS=$pkg_cv_GLIB_LIBS
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13860 $as_echo "yes" >&6; }
13865 if test x$with_glib = xno; then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
13871 $as_echo_n "checking for GLIB... " >&6; }
13873 if test -n "$GLIB_CFLAGS"; then
13874 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
13875 elif test -n "$PKG_CONFIG"; then
13876 if test -n "$PKG_CONFIG" && \
13877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
13878 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
13880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13881 test $ac_status = 0; }; then
13882 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
13883 test "x$?" != "x0" && pkg_failed=yes
13890 if test -n "$GLIB_LIBS"; then
13891 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
13892 elif test -n "$PKG_CONFIG"; then
13893 if test -n "$PKG_CONFIG" && \
13894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
13895 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
13897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13898 test $ac_status = 0; }; then
13899 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
13900 test "x$?" != "x0" && pkg_failed=yes
13910 if test $pkg_failed = yes; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13912 $as_echo "no" >&6; }
13914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13915 _pkg_short_errors_supported=yes
13917 _pkg_short_errors_supported=no
13919 if test $_pkg_short_errors_supported = yes; then
13920 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
13922 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
13924 # Put the nasty error message in config.log where it belongs
13925 echo "$GLIB_PKG_ERRORS" >&5
13928 elif test $pkg_failed = untried; then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13930 $as_echo "no" >&6; }
13933 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13934 GLIB_LIBS=$pkg_cv_GLIB_LIBS
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13936 $as_echo "yes" >&6; }
13941 if test x$FRIBIDI_USE_GLIB = x0; then
13945 if test x$FRIBIDI_USE_GLIB = x1; then
13946 FRIBIDI_USE_GLIB_TRUE=
13947 FRIBIDI_USE_GLIB_FALSE='#'
13949 FRIBIDI_USE_GLIB_TRUE='#'
13950 FRIBIDI_USE_GLIB_FALSE=
13955 MISC_CFLAGS="$GLIB_CFLAGS"
13956 MISC_LIBS="$GLIB_LIBS"
13957 MISC_PACKAGES="$GLIB_PACKAGE"
13963 ac_config_files="$ac_config_files fribidi.pc lib/fribidi-config.h Makefile charset/Makefile gen.tab/Makefile lib/Makefile bin/Makefile doc/Makefile test/Makefile"
13965 cat >confcache <<\_ACEOF
13966 # This file is a shell script that caches the results of configure
13967 # tests run on this system so they can be shared between configure
13968 # scripts and configure runs, see configure's option --config-cache.
13969 # It is not useful on other systems. If it contains results you don't
13970 # want to keep, you may remove or edit it.
13972 # config.status only pays attention to the cache file if you give it
13973 # the --recheck option to rerun configure.
13975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13977 # following values.
13981 # The following way of writing the cache mishandles newlines in values,
13982 # but we know of no workaround that is simple, portable, and efficient.
13983 # So, we kill variables containing newlines.
13984 # Ultrix sh set writes to stderr and can't be redirected directly,
13985 # and sets the high bit in the cache file unless we assign to the vars.
13987 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13988 eval ac_val=\$$ac_var
13992 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13996 _ | IFS | as_nl) ;; #(
13997 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13998 *) { eval $ac_var=; unset $ac_var;} ;;
14004 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14005 *${as_nl}ac_space=\ *)
14006 # `set' does not quote correctly, so add quotes: double-quote
14007 # substitution turns \\\\ into \\, and sed turns \\ into \.
14010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14013 # `set' quotes correctly as required by POSIX, so do not add quotes.
14014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14027 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14028 if test -w "$cache_file"; then
14029 if test "x$cache_file" != "x/dev/null"; then
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14031 $as_echo "$as_me: updating cache $cache_file" >&6;}
14032 if test ! -f "$cache_file" || test -h "$cache_file"; then
14033 cat confcache >"$cache_file"
14035 case $cache_file in #(
14037 mv -f confcache "$cache_file"$$ &&
14038 mv -f "$cache_file"$$ "$cache_file" ;; #(
14040 mv -f confcache "$cache_file" ;;
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14046 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14051 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14052 # Let make expand exec_prefix.
14053 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14055 DEFS=-DHAVE_CONFIG_H
14060 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14061 # 1. Remove the extension, and $U if already installed.
14062 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14063 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14064 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14065 # will be set to the directory where LIBOBJS objects are built.
14066 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14067 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14069 LIBOBJS=$ac_libobjs
14071 LTLIBOBJS=$ac_ltlibobjs
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14075 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14076 if test -n "$am_sleep_pid"; then
14077 # Hide warnings about reused PIDs.
14078 wait $am_sleep_pid 2>/dev/null
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14081 $as_echo "done" >&6; }
14082 if test -n "$EXEEXT"; then
14084 am__EXEEXT_FALSE='#'
14086 am__EXEEXT_TRUE='#'
14090 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14091 as_fn_error $? "conditional \"AMDEP\" was never defined.
14092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14094 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14095 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14098 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14099 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14102 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14103 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14106 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14107 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14110 if test -z "${FRIBIDI_CHARSETS_TRUE}" && test -z "${FRIBIDI_CHARSETS_FALSE}"; then
14111 as_fn_error $? "conditional \"FRIBIDI_CHARSETS\" was never defined.
14112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14114 if test -z "${FRIBIDI_USE_GLIB_TRUE}" && test -z "${FRIBIDI_USE_GLIB_FALSE}"; then
14115 as_fn_error $? "conditional \"FRIBIDI_USE_GLIB\" was never defined.
14116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14119 : "${CONFIG_STATUS=./config.status}"
14121 ac_clean_files_save=$ac_clean_files
14122 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14128 # Generated by $as_me.
14129 # Run this file to recreate the current configuration.
14130 # Compiler output produced by configure, useful for debugging
14131 # configure, is in config.log if it exists.
14134 ac_cs_recheck=false
14137 SHELL=\${CONFIG_SHELL-$SHELL}
14140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14141 ## -------------------- ##
14142 ## M4sh Initialization. ##
14143 ## -------------------- ##
14145 # Be more Bourne compatible
14146 DUALCASE=1; export DUALCASE # for MKS sh
14147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14151 # is contrary to our usage. Disable this feature.
14152 alias -g '${1+"$@"}'='"$@"'
14153 setopt NO_GLOB_SUBST
14155 case `(set -o) 2>/dev/null` in #(
14167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14168 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14171 # Prefer a ksh shell builtin over an external printf program on Solaris,
14172 # but without wasting forks for bash or zsh.
14173 if test -z "$BASH_VERSION$ZSH_VERSION" \
14174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14175 as_echo='print -r --'
14176 as_echo_n='print -rn --'
14177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14178 as_echo='printf %s\n'
14179 as_echo_n='printf %s'
14181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14182 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14183 as_echo_n='/usr/ucb/echo -n'
14185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14186 as_echo_n_body='eval
14190 expr "X$arg" : "X\\(.*\\)$as_nl";
14191 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14193 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14195 export as_echo_n_body
14196 as_echo_n='sh -c $as_echo_n_body as_echo'
14198 export as_echo_body
14199 as_echo='sh -c $as_echo_body as_echo'
14202 # The user is always right.
14203 if test "${PATH_SEPARATOR+set}" != set; then
14205 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14206 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14213 # We need space, tab and new line, in precisely that order. Quoting is
14214 # there to prevent editors from complaining about space-tab.
14215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14216 # splitting by setting IFS to empty value.)
14219 # Find who we are. Look in the path if we contain no directory separator.
14222 *[\\/]* ) as_myself=$0 ;;
14223 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14224 for as_dir in $PATH
14227 test -z "$as_dir" && as_dir=.
14228 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14234 # We did not find ourselves, most probably we were run as `sh COMMAND'
14235 # in which case we are not to be found in the path.
14236 if test "x$as_myself" = x; then
14239 if test ! -f "$as_myself"; then
14240 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14244 # Unset variables that we do not need and which cause bugs (e.g. in
14245 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14246 # suppresses any "Segmentation fault" message there. '((' could
14247 # trigger a bug in pdksh 5.2.14.
14248 for as_var in BASH_ENV ENV MAIL MAILPATH
14249 do eval test x\${$as_var+set} = xset \
14250 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14263 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14266 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14267 # ----------------------------------------
14268 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14269 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14270 # script with STATUS, using 1 if that was 0.
14273 as_status=$1; test $as_status -eq 0 && as_status=1
14275 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14276 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14278 $as_echo "$as_me: error: $2" >&2
14279 as_fn_exit $as_status
14283 # as_fn_set_status STATUS
14284 # -----------------------
14285 # Set $? to STATUS, without forking.
14286 as_fn_set_status ()
14289 } # as_fn_set_status
14291 # as_fn_exit STATUS
14292 # -----------------
14293 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14297 as_fn_set_status $1
14303 # Portably unset VAR.
14306 { eval $1=; unset $1;}
14308 as_unset=as_fn_unset
14309 # as_fn_append VAR VALUE
14310 # ----------------------
14311 # Append the text in VALUE to the end of the definition contained in VAR. Take
14312 # advantage of any shell optimizations that allow amortized linear growth over
14313 # repeated appends, instead of the typical quadratic growth present in naive
14315 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14316 eval 'as_fn_append ()
14327 # as_fn_arith ARG...
14328 # ------------------
14329 # Perform arithmetic evaluation on the ARGs, and store the result in the
14330 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14331 # must be portable across $(()) and expr.
14332 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14333 eval 'as_fn_arith ()
14340 as_val=`expr "$@" || test $? -eq 1`
14345 if expr a : '\(a\)' >/dev/null 2>&1 &&
14346 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14352 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14353 as_basename=basename
14358 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14364 as_me=`$as_basename -- "$0" ||
14365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14366 X"$0" : 'X\(//\)$' \| \
14367 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14369 sed '/^.*\/\([^/][^/]*\)\/*$/{
14383 # Avoid depending upon Character Ranges.
14384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14387 as_cr_digits='0123456789'
14388 as_cr_alnum=$as_cr_Letters$as_cr_digits
14390 ECHO_C= ECHO_N= ECHO_T=
14391 case `echo -n x` in #(((((
14393 case `echo 'xy\c'` in
14394 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14396 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14403 rm -f conf$$ conf$$.exe conf$$.file
14404 if test -d conf$$.dir; then
14405 rm -f conf$$.dir/conf$$.file
14408 mkdir conf$$.dir 2>/dev/null
14410 if (echo >conf$$.file) 2>/dev/null; then
14411 if ln -s conf$$.file conf$$ 2>/dev/null; then
14413 # ... but there are two gotchas:
14414 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14415 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14416 # In both cases, we have to default to `cp -pR'.
14417 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14419 elif ln conf$$.file conf$$ 2>/dev/null; then
14427 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14428 rmdir conf$$.dir 2>/dev/null
14433 # Create "$as_dir" as a directory, including parents if necessary.
14438 -*) as_dir=./$as_dir;;
14440 test -d "$as_dir" || eval $as_mkdir_p || {
14444 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14445 *) as_qdir=$as_dir;;
14447 as_dirs="'$as_qdir' $as_dirs"
14448 as_dir=`$as_dirname -- "$as_dir" ||
14449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14450 X"$as_dir" : 'X\(//\)[^/]' \| \
14451 X"$as_dir" : 'X\(//\)$' \| \
14452 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14453 $as_echo X"$as_dir" |
14454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14458 /^X\(\/\/\)[^/].*/{
14471 test -d "$as_dir" && break
14473 test -z "$as_dirs" || eval "mkdir $as_dirs"
14474 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14478 if mkdir -p . 2>/dev/null; then
14479 as_mkdir_p='mkdir -p "$as_dir"'
14481 test -d ./-p && rmdir ./-p
14486 # as_fn_executable_p FILE
14487 # -----------------------
14488 # Test if FILE is an executable regular file.
14489 as_fn_executable_p ()
14491 test -f "$1" && test -x "$1"
14492 } # as_fn_executable_p
14493 as_test_x='test -x'
14494 as_executable_p=as_fn_executable_p
14496 # Sed expression to map a string onto a valid CPP name.
14497 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14499 # Sed expression to map a string onto a valid variable name.
14500 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14504 ## ----------------------------------- ##
14505 ## Main body of $CONFIG_STATUS script. ##
14506 ## ----------------------------------- ##
14508 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14511 # Save the log message, to keep $0 and so on meaningful, and to
14512 # report actual input values of CONFIG_FILES etc. instead of their
14513 # values after options handling.
14515 This file was extended by GNU FriBidi $as_me 0.19.7, which was
14516 generated by GNU Autoconf 2.69. Invocation command line was
14518 CONFIG_FILES = $CONFIG_FILES
14519 CONFIG_HEADERS = $CONFIG_HEADERS
14520 CONFIG_LINKS = $CONFIG_LINKS
14521 CONFIG_COMMANDS = $CONFIG_COMMANDS
14524 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14529 case $ac_config_files in *"
14530 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14533 case $ac_config_headers in *"
14534 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14539 # Files that config.status was made for.
14540 config_files="$ac_config_files"
14541 config_headers="$ac_config_headers"
14542 config_commands="$ac_config_commands"
14546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14548 \`$as_me' instantiates files and other configuration actions
14549 from templates according to the current configuration. Unless the files
14550 and actions are specified as TAGs, all are instantiated by default.
14552 Usage: $0 [OPTION]... [TAG]...
14554 -h, --help print this help, then exit
14555 -V, --version print version number and configuration settings, then exit
14556 --config print configuration, then exit
14557 -q, --quiet, --silent
14558 do not print progress messages
14559 -d, --debug don't remove temporary files
14560 --recheck update $as_me by reconfiguring in the same conditions
14561 --file=FILE[:TEMPLATE]
14562 instantiate the configuration file FILE
14563 --header=FILE[:TEMPLATE]
14564 instantiate the configuration header FILE
14566 Configuration files:
14569 Configuration headers:
14572 Configuration commands:
14575 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
14576 GNU FriBidi home page: <http://fribidi.org/>.
14577 General help using GNU software: <http://www.gnu.org/gethelp/>."
14580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14581 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14583 GNU FriBidi config.status 0.19.7
14584 configured by $0, generated by GNU Autoconf 2.69,
14585 with options \\"\$ac_cs_config\\"
14587 Copyright (C) 2012 Free Software Foundation, Inc.
14588 This config.status script is free software; the Free Software Foundation
14589 gives unlimited permission to copy, distribute and modify it."
14596 test -n "\$AWK" || AWK=awk
14599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14600 # The default lists apply if the user does not specify any file.
14606 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14607 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14623 # Handling of the options.
14624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14627 $as_echo "$ac_cs_version"; exit ;;
14628 --config | --confi | --conf | --con | --co | --c )
14629 $as_echo "$ac_cs_config"; exit ;;
14630 --debug | --debu | --deb | --de | --d | -d )
14632 --file | --fil | --fi | --f )
14635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14636 '') as_fn_error $? "missing file argument" ;;
14638 as_fn_append CONFIG_FILES " '$ac_optarg'"
14639 ac_need_defaults=false;;
14640 --header | --heade | --head | --hea )
14643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14645 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14646 ac_need_defaults=false;;
14648 # Conflict between --help and --header
14649 as_fn_error $? "ambiguous option: \`$1'
14650 Try \`$0 --help' for more information.";;
14651 --help | --hel | -h )
14652 $as_echo "$ac_cs_usage"; exit ;;
14653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14654 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14657 # This is an error.
14658 -*) as_fn_error $? "unrecognized option: \`$1'
14659 Try \`$0 --help' for more information." ;;
14661 *) as_fn_append ac_config_targets " $1"
14662 ac_need_defaults=false ;;
14668 ac_configure_extra_args=
14670 if $ac_cs_silent; then
14672 ac_configure_extra_args="$ac_configure_extra_args --silent"
14676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14677 if \$ac_cs_recheck; then
14678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14681 CONFIG_SHELL='$SHELL'
14682 export CONFIG_SHELL
14687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14692 ## Running $as_me. ##
14698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14702 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14705 # The HP-UX ksh and POSIX shell print the target directory to stdout
14706 # if CDPATH is set.
14707 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14709 sed_quote_subst='$sed_quote_subst'
14710 double_quote_subst='$double_quote_subst'
14711 delay_variable_subst='$delay_variable_subst'
14712 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14713 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14714 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14715 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14716 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14717 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14718 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14719 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14720 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14721 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14722 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14723 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14724 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14725 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14726 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14727 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14728 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14729 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14730 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14731 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14732 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14733 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14734 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14735 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14736 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14737 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14738 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14739 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14740 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14741 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14742 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14743 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14744 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14745 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14746 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14747 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14748 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14749 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14750 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14751 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14752 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14753 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14754 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14755 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14756 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14757 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14758 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14759 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14760 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14761 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14762 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14763 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14764 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14765 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14766 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14767 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14768 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14770 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"`'
14771 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14772 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14773 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14774 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14775 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14776 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14777 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14778 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14779 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14780 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14781 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14782 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14783 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14784 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14785 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14786 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14787 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14788 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14789 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14790 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14791 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14792 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14793 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14794 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14795 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14796 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14797 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14798 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14799 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14800 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14801 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14802 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14803 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14804 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14805 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14806 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14807 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14808 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14809 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14810 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14811 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14812 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14813 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14814 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14815 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14816 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14817 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14818 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14819 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14820 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14821 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14822 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14823 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14824 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14825 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14826 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14827 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14828 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14829 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14830 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14831 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14832 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14833 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14834 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14835 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14836 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14837 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14838 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14839 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14840 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14841 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14842 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14843 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14844 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14845 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14846 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14849 LTCFLAGS='$LTCFLAGS'
14850 compiler='$compiler_DEFAULT'
14852 # A function that is used when there is no print builtin or printf.
14853 func_fallback_echo ()
14855 eval 'cat <<_LTECHO_EOF
14860 # Quote evaled strings.
14875 deplibs_check_method \
14880 sharedlib_from_linklib_cmd \
14883 archiver_list_spec \
14889 lt_cv_sys_global_symbol_pipe \
14890 lt_cv_sys_global_symbol_to_cdecl \
14891 lt_cv_sys_global_symbol_to_import \
14892 lt_cv_sys_global_symbol_to_c_name_address \
14893 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14894 lt_cv_nm_interface \
14895 nm_file_list_spec \
14896 lt_cv_truncate_bin \
14897 lt_prog_compiler_no_builtin_flag \
14898 lt_prog_compiler_pic \
14899 lt_prog_compiler_wl \
14900 lt_prog_compiler_static \
14901 lt_cv_prog_compiler_c_o \
14910 export_dynamic_flag_spec \
14911 whole_archive_flag_spec \
14912 compiler_needs_object \
14914 allow_undefined_flag \
14915 no_undefined_flag \
14916 hardcode_libdir_flag_spec \
14917 hardcode_libdir_separator \
14921 variables_saved_for_relink \
14923 library_names_spec \
14925 install_override_mode \
14929 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14930 *[\\\\\\\`\\"\\\$]*)
14931 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14934 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14939 # Double-quote double-evaled strings.
14940 for var in reload_cmds \
14941 old_postinstall_cmds \
14942 old_postuninstall_cmds \
14944 extract_expsyms_cmds \
14945 old_archive_from_new_cmds \
14946 old_archive_from_expsyms_cmds \
14948 archive_expsym_cmds \
14950 module_expsym_cmds \
14951 export_symbols_cmds \
14955 postuninstall_cmds \
14957 sys_lib_search_path_spec \
14958 configure_time_dlsearch_path \
14959 configure_time_lt_sys_library_path; do
14960 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14961 *[\\\\\\\`\\"\\\$]*)
14962 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14965 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14970 ac_aux_dir='$ac_aux_dir'
14972 # See if we are running on zsh, and set the options that allow our
14973 # commands through without removal of \ escapes INIT.
14974 if test -n "\${ZSH_VERSION+set}"; then
14975 setopt NO_GLOB_SUBST
14989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14991 # Handling of arguments.
14992 for ac_config_target in $ac_config_targets
14994 case $ac_config_target in
14995 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14996 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14997 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14998 "fribidi.pc") CONFIG_FILES="$CONFIG_FILES fribidi.pc" ;;
14999 "lib/fribidi-config.h") CONFIG_FILES="$CONFIG_FILES lib/fribidi-config.h" ;;
15000 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15001 "charset/Makefile") CONFIG_FILES="$CONFIG_FILES charset/Makefile" ;;
15002 "gen.tab/Makefile") CONFIG_FILES="$CONFIG_FILES gen.tab/Makefile" ;;
15003 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
15004 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
15005 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15006 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15008 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15013 # If the user did not use the arguments to specify the items to instantiate,
15014 # then the envvar interface is used. Set only those that are not.
15015 # We use the long form for the default assignment because of an extremely
15016 # bizarre bug on SunOS 4.1.3.
15017 if $ac_need_defaults; then
15018 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15019 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15020 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15023 # Have a temporary directory for convenience. Make it in the build tree
15024 # simply because there is no reason against having it here, and in addition,
15025 # creating and moving files from /tmp can sometimes cause problems.
15026 # Hook for its removal unless debugging.
15027 # Note that there is a small window in which the directory will not be cleaned:
15028 # after its creation but before its name has been assigned to `$tmp'.
15032 trap 'exit_status=$?
15033 : "${ac_tmp:=$tmp}"
15034 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15036 trap 'as_fn_exit 1' 1 2 13 15
15038 # Create a (secure) tmp directory for tmp files.
15041 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15045 tmp=./conf$$-$RANDOM
15046 (umask 077 && mkdir "$tmp")
15047 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15050 # Set up the scripts for CONFIG_FILES section.
15051 # No need to generate them if there are no CONFIG_FILES.
15052 # This happens for instance with `./config.status config.h'.
15053 if test -n "$CONFIG_FILES"; then
15056 ac_cr=`echo X | tr X '\015'`
15057 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15058 # But we know of no other shell where ac_cr would be empty at this
15059 # point, so we can use a bashism as a fallback.
15060 if test "x$ac_cr" = x; then
15061 eval ac_cr=\$\'\\r\'
15063 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15064 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15067 ac_cs_awk_cr=$ac_cr
15070 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15075 echo "cat >conf$$subs.awk <<_ACEOF" &&
15076 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15078 } >conf$$subs.sh ||
15079 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15080 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15082 for ac_last_try in false false false false false :; do
15083 . ./conf$$subs.sh ||
15084 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15086 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15087 if test $ac_delim_n = $ac_delim_num; then
15089 elif $ac_last_try; then
15090 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15092 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15095 rm -f conf$$subs.sh
15097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15098 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15102 s/^/S["/; s/!.*/"]=/
15112 s/\(.\{148\}\)..*/\1/
15114 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15126 s/\(.\{148\}\)..*/\1/
15128 s/["\\]/\\&/g; s/^/"/; s/$/"/
15132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15137 ' <conf$$subs.awk | sed '
15142 ' >>$CONFIG_STATUS || ac_write_fail=1
15143 rm -f conf$$subs.awk
15144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15146 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15147 for (key in S) S_is_set[key] = 1
15153 nfields = split(line, field, "@")
15155 len = length(field[1])
15156 for (i = 2; i < nfields; i++) {
15158 keylen = length(key)
15159 if (S_is_set[key]) {
15161 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15162 len += length(value) + length(field[++i])
15173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15174 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15175 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15178 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15179 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15182 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15183 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15184 # trailing colons and then remove the whole line if VPATH becomes empty
15185 # (actually we leave an empty line to preserve line numbers).
15186 if test "x$srcdir" = x.; then
15187 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15206 fi # test -n "$CONFIG_FILES"
15208 # Set up the scripts for CONFIG_HEADERS section.
15209 # No need to generate them if there are no CONFIG_HEADERS.
15210 # This happens for instance with `./config.status Makefile'.
15211 if test -n "$CONFIG_HEADERS"; then
15212 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15216 # Transform confdefs.h into an awk script `defines.awk', embedded as
15217 # here-document in config.status, that substitutes the proper values into
15218 # config.h.in to produce config.h.
15220 # Create a delimiter string that does not exist in confdefs.h, to ease
15221 # handling of long lines.
15223 for ac_last_try in false false :; do
15224 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15225 if test -z "$ac_tt"; then
15227 elif $ac_last_try; then
15228 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15230 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15234 # For the awk script, D is an array of macro values keyed by name,
15235 # likewise P contains macro parameters if any. Preserve backslash
15236 # newline sequences.
15238 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15240 s/.\{148\}/&'"$ac_delim"'/g
15243 s/^[ ]*#[ ]*define[ ][ ]*/ /
15250 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15252 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15256 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15257 D["\1"]=" \3\\\\\\n"\\/p
15259 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15264 s/.\{148\}/&'"$ac_delim"'/g
15269 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15272 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15274 ' <confdefs.h | sed '
15275 s/'"$ac_delim"'/"\\\
15276 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15279 for (key in D) D_is_set[key] = 1
15282 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15284 split(line, arg, " ")
15285 if (arg[1] == "#") {
15289 defundef = substr(arg[1], 2)
15292 split(mac1, mac2, "(") #)
15294 prefix = substr(line, 1, index(line, defundef) - 1)
15295 if (D_is_set[macro]) {
15296 # Preserve the white space surrounding the "#".
15297 print prefix "define", macro P[macro] D[macro]
15300 # Replace #undef with comments. This is necessary, for example,
15301 # in the case of _POSIX_SOURCE, which is predefined and required
15302 # on some systems where configure will not decide to define it.
15303 if (defundef == "undef") {
15304 print "/*", prefix defundef, macro, "*/"
15312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15313 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15314 fi # test -n "$CONFIG_HEADERS"
15317 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15322 :[FHLC]) ac_mode=$ac_tag; continue;;
15324 case $ac_mode$ac_tag in
15326 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15327 :[FH]-) ac_tag=-:-;;
15328 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15345 -) ac_f="$ac_tmp/stdin";;
15346 *) # Look for the file first in the build tree, then in the source tree
15347 # (if the path is not absolute). The absolute path cannot be DOS-style,
15348 # because $ac_f cannot contain `:'.
15352 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15354 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15356 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15357 as_fn_append ac_file_inputs " '$ac_f'"
15360 # Let's still pretend it is `configure' which instantiates (i.e., don't
15361 # use $as_me), people would be surprised to read:
15362 # /* config.h. Generated by config.status. */
15363 configure_input='Generated from '`
15364 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15366 if test x"$ac_file" != x-; then
15367 configure_input="$ac_file. $configure_input"
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15369 $as_echo "$as_me: creating $ac_file" >&6;}
15371 # Neutralize special characters interpreted by sed in replacement strings.
15372 case $configure_input in #(
15373 *\&* | *\|* | *\\* )
15374 ac_sed_conf_input=`$as_echo "$configure_input" |
15375 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15376 *) ac_sed_conf_input=$configure_input;;
15380 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15386 ac_dir=`$as_dirname -- "$ac_file" ||
15387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15388 X"$ac_file" : 'X\(//\)[^/]' \| \
15389 X"$ac_file" : 'X\(//\)$' \| \
15390 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15391 $as_echo X"$ac_file" |
15392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15396 /^X\(\/\/\)[^/].*/{
15409 as_dir="$ac_dir"; as_fn_mkdir_p
15413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15415 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15416 # A ".." for each directory in $ac_dir_suffix.
15417 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15418 case $ac_top_builddir_sub in
15419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15423 ac_abs_top_builddir=$ac_pwd
15424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15425 # for backward compatibility:
15426 ac_top_builddir=$ac_top_build_prefix
15429 .) # We are building in place.
15431 ac_top_srcdir=$ac_top_builddir_sub
15432 ac_abs_top_srcdir=$ac_pwd ;;
15433 [\\/]* | ?:[\\/]* ) # Absolute name.
15434 ac_srcdir=$srcdir$ac_dir_suffix;
15435 ac_top_srcdir=$srcdir
15436 ac_abs_top_srcdir=$srcdir ;;
15437 *) # Relative name.
15438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15439 ac_top_srcdir=$ac_top_build_prefix$srcdir
15440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15452 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15453 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15455 ac_MKDIR_P=$MKDIR_P
15457 [\\/$]* | ?:[\\/]* ) ;;
15458 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15463 # If the template does not know about datarootdir, expand it.
15464 # FIXME: This hack should be removed a few years after 2.60.
15465 ac_datarootdir_hack=; ac_datarootdir_seen=
15476 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15477 *datarootdir*) ac_datarootdir_seen=yes;;
15478 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15480 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15483 ac_datarootdir_hack='
15484 s&@datadir@&$datadir&g
15485 s&@docdir@&$docdir&g
15486 s&@infodir@&$infodir&g
15487 s&@localedir@&$localedir&g
15488 s&@mandir@&$mandir&g
15489 s&\\\${datarootdir}&$datarootdir&g' ;;
15493 # Neutralize VPATH when `$srcdir' = `.'.
15494 # Shell code in configure.ac might set extrasub.
15495 # FIXME: do we really want to maintain this feature?
15496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15497 ac_sed_extra="$ac_vpsub
15500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15502 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15503 s|@configure_input@|$ac_sed_conf_input|;t t
15504 s&@top_builddir@&$ac_top_builddir_sub&;t t
15505 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15506 s&@srcdir@&$ac_srcdir&;t t
15507 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15508 s&@top_srcdir@&$ac_top_srcdir&;t t
15509 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15510 s&@builddir@&$ac_builddir&;t t
15511 s&@abs_builddir@&$ac_abs_builddir&;t t
15512 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15513 s&@INSTALL@&$ac_INSTALL&;t t
15514 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15515 $ac_datarootdir_hack
15517 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15518 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15521 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15523 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15525 which seems to be undefined. Please make sure it is defined" >&5
15526 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15527 which seems to be undefined. Please make sure it is defined" >&2;}
15529 rm -f "$ac_tmp/stdin"
15531 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15532 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15540 if test x"$ac_file" != x-; then
15542 $as_echo "/* $configure_input */" \
15543 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15544 } >"$ac_tmp/config.h" \
15545 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15546 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15548 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15551 mv "$ac_tmp/config.h" "$ac_file" \
15552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15555 $as_echo "/* $configure_input */" \
15556 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15557 || as_fn_error $? "could not create -" "$LINENO" 5
15559 # Compute "$ac_file"'s index in $config_headers.
15562 for _am_header in $config_headers :; do
15563 case $_am_header in
15564 $_am_arg | $_am_arg:* )
15567 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15570 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15571 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15572 X"$_am_arg" : 'X\(//\)[^/]' \| \
15573 X"$_am_arg" : 'X\(//\)$' \| \
15574 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15575 $as_echo X"$_am_arg" |
15576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15580 /^X\(\/\/\)[^/].*/{
15592 s/.*/./; q'`/stamp-h$_am_stamp_count
15595 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15596 $as_echo "$as_me: executing $ac_file commands" >&6;}
15601 case $ac_file$ac_mode in
15602 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15603 # Older Autoconf quotes --file arguments for eval, but not when files
15604 # are listed without --file. Let's play safe and only enable the eval
15605 # if we detect the quoting.
15606 case $CONFIG_FILES in
15607 *\'*) eval set x "$CONFIG_FILES" ;;
15608 *) set x $CONFIG_FILES ;;
15613 # Strip MF so we end up with the name of the file.
15614 mf=`echo "$mf" | sed -e 's/:.*$//'`
15615 # Check whether this is an Automake generated Makefile or not.
15616 # We used to match only the files named 'Makefile.in', but
15617 # some people rename them; so instead we look at the file content.
15618 # Grep'ing the first line is not enough: some people post-process
15619 # each Makefile.in and add a new line on top of each file to say so.
15620 # Grep'ing the whole file is not good either: AIX grep has a line
15621 # limit of 2048, but all sed's we know have understand at least 4000.
15622 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15623 dirpart=`$as_dirname -- "$mf" ||
15624 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15625 X"$mf" : 'X\(//\)[^/]' \| \
15626 X"$mf" : 'X\(//\)$' \| \
15627 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15633 /^X\(\/\/\)[^/].*/{
15649 # Extract the definition of DEPDIR, am__include, and am__quote
15650 # from the Makefile without running 'make'.
15651 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15652 test -z "$DEPDIR" && continue
15653 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15654 test -z "$am__include" && continue
15655 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15656 # Find all dependency output files, they are included files with
15657 # $(DEPDIR) in their names. We invoke sed twice because it is the
15658 # simplest approach to changing $(DEPDIR) to its actual value in the
15660 for file in `sed -n "
15661 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15662 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15663 # Make sure the directory exists.
15664 test -f "$dirpart/$file" && continue
15665 fdir=`$as_dirname -- "$file" ||
15666 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15667 X"$file" : 'X\(//\)[^/]' \| \
15668 X"$file" : 'X\(//\)$' \| \
15669 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15670 $as_echo X"$file" |
15671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15675 /^X\(\/\/\)[^/].*/{
15688 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15689 # echo "creating $dirpart/$file"
15690 echo '# dummy' > "$dirpart/$file"
15697 # See if we are running on zsh, and set the options that allow our
15698 # commands through without removal of \ escapes.
15699 if test -n "${ZSH_VERSION+set}"; then
15700 setopt NO_GLOB_SUBST
15704 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15707 cat <<_LT_EOF >> "$cfgfile"
15709 # Generated automatically by $as_me ($PACKAGE) $VERSION
15710 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15711 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15713 # Provide generalized library-building support services.
15714 # Written by Gordon Matzigkeit, 1996
15716 # Copyright (C) 2014 Free Software Foundation, Inc.
15717 # This is free software; see the source for copying conditions. There is NO
15718 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15720 # GNU Libtool is free software; you can redistribute it and/or modify
15721 # it under the terms of the GNU General Public License as published by
15722 # the Free Software Foundation; either version 2 of of the License, or
15723 # (at your option) any later version.
15725 # As a special exception to the GNU General Public License, if you
15726 # distribute this file as part of a program or library that is built
15727 # using GNU Libtool, you may include this file under the same
15728 # distribution terms that you use for the rest of that program.
15730 # GNU Libtool is distributed in the hope that it will be useful, but
15731 # WITHOUT ANY WARRANTY; without even the implied warranty of
15732 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15733 # GNU General Public License for more details.
15735 # You should have received a copy of the GNU General Public License
15736 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15739 # The names of the tagged configurations supported by this script.
15742 # Configured defaults for sys_lib_dlsearch_path munging.
15743 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15745 # ### BEGIN LIBTOOL CONFIG
15747 # Which release of libtool.m4 was used?
15748 macro_version=$macro_version
15749 macro_revision=$macro_revision
15751 # Whether or not to build static libraries.
15752 build_old_libs=$enable_static
15754 # Whether or not to build shared libraries.
15755 build_libtool_libs=$enable_shared
15757 # What type of objects to build.
15760 # Whether or not to optimize for fast installation.
15761 fast_install=$enable_fast_install
15763 # Shared archive member basename,for filename based shared library versioning on AIX.
15764 shared_archive_member_spec=$shared_archive_member_spec
15766 # Shell to use when invoking shell scripts.
15769 # An echo program that protects backslashes.
15772 # The PATH separator for the build system.
15773 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15776 host_alias=$host_alias
15780 # The build system.
15781 build_alias=$build_alias
15785 # A sed program that does not truncate output.
15788 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15789 Xsed="\$SED -e 1s/^X//"
15791 # A grep program that handles long lines.
15797 # A literal string matcher.
15800 # A BSD- or MS-compatible name lister.
15803 # Whether we need soft or hard links.
15806 # What is the maximum length of a command?
15807 max_cmd_len=$max_cmd_len
15809 # Object file suffix (normally "o").
15812 # Executable file suffix (normally "").
15815 # whether the shell understands "unset".
15818 # turn spaces into newlines.
15821 # turn newlines into spaces.
15824 # convert \$build file names to \$host format.
15825 to_host_file_cmd=$lt_cv_to_host_file_cmd
15827 # convert \$build files to toolchain format.
15828 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15830 # An object symbol dumper.
15831 OBJDUMP=$lt_OBJDUMP
15833 # Method to check whether dependent libraries are shared objects.
15834 deplibs_check_method=$lt_deplibs_check_method
15836 # Command to use when deplibs_check_method = "file_magic".
15837 file_magic_cmd=$lt_file_magic_cmd
15839 # How to find potential files when deplibs_check_method = "file_magic".
15840 file_magic_glob=$lt_file_magic_glob
15842 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15843 want_nocaseglob=$lt_want_nocaseglob
15845 # DLL creation program.
15846 DLLTOOL=$lt_DLLTOOL
15848 # Command to associate shared and link libraries.
15849 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15854 # Flags to create an archive.
15855 AR_FLAGS=$lt_AR_FLAGS
15857 # How to feed a file listing to the archiver.
15858 archiver_list_spec=$lt_archiver_list_spec
15860 # A symbol stripping program.
15863 # Commands used to install an old-style archive.
15865 old_postinstall_cmds=$lt_old_postinstall_cmds
15866 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15868 # Whether to use a lock for old archive extraction.
15869 lock_old_archive_extraction=$lock_old_archive_extraction
15874 # LTCC compiler flags.
15875 LTCFLAGS=$lt_CFLAGS
15877 # Take the output of nm and produce a listing of raw symbols and C names.
15878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15880 # Transform the output of nm in a proper C declaration.
15881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15883 # Transform the output of nm into a list of symbols to manually relocate.
15884 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15886 # Transform the output of nm in a C name address pair.
15887 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15889 # Transform the output of nm in a C name address pair when lib prefix is needed.
15890 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15892 # The name lister interface.
15893 nm_interface=$lt_lt_cv_nm_interface
15895 # Specify filename containing input files for \$NM.
15896 nm_file_list_spec=$lt_nm_file_list_spec
15898 # The root where to search for dependent libraries,and where our libraries should be installed.
15899 lt_sysroot=$lt_sysroot
15901 # Command to truncate a binary pipe.
15902 lt_truncate_bin=$lt_lt_cv_truncate_bin
15904 # The name of the directory that contains temporary libtool files.
15907 # Used to examine libraries when file_magic_cmd begins with "file".
15908 MAGIC_CMD=$MAGIC_CMD
15910 # Must we lock files when doing compilation?
15911 need_locks=$lt_need_locks
15914 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15916 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15917 DSYMUTIL=$lt_DSYMUTIL
15919 # Tool to change global to local symbols on Mac OS X.
15922 # Tool to manipulate fat objects and archives on Mac OS X.
15925 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15928 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15929 OTOOL64=$lt_OTOOL64
15931 # Old archive suffix (normally "a").
15934 # Shared library suffix (normally ".so").
15935 shrext_cmds=$lt_shrext_cmds
15937 # The commands to extract the exported symbol list from a shared archive.
15938 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15940 # Variables whose values should be saved in libtool wrapper scripts and
15941 # restored at link time.
15942 variables_saved_for_relink=$lt_variables_saved_for_relink
15944 # Do we need the "lib" prefix for modules?
15945 need_lib_prefix=$need_lib_prefix
15947 # Do we need a version for libraries?
15948 need_version=$need_version
15950 # Library versioning type.
15951 version_type=$version_type
15953 # Shared library runtime path variable.
15954 runpath_var=$runpath_var
15956 # Shared library path variable.
15957 shlibpath_var=$shlibpath_var
15959 # Is shlibpath searched before the hard-coded library search path?
15960 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15962 # Format of library name prefix.
15963 libname_spec=$lt_libname_spec
15965 # List of archive names. First name is the real one, the rest are links.
15966 # The last name is the one that the linker finds with -lNAME
15967 library_names_spec=$lt_library_names_spec
15969 # The coded name of the library, if different from the real name.
15970 soname_spec=$lt_soname_spec
15972 # Permission mode override for installation of shared libraries.
15973 install_override_mode=$lt_install_override_mode
15975 # Command to use after installation of a shared archive.
15976 postinstall_cmds=$lt_postinstall_cmds
15978 # Command to use after uninstallation of a shared archive.
15979 postuninstall_cmds=$lt_postuninstall_cmds
15981 # Commands used to finish a libtool library installation in a directory.
15982 finish_cmds=$lt_finish_cmds
15984 # As "finish_cmds", except a single script fragment to be evaled but
15986 finish_eval=$lt_finish_eval
15988 # Whether we should hardcode library paths into libraries.
15989 hardcode_into_libs=$hardcode_into_libs
15991 # Compile-time system search path for libraries.
15992 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15994 # Detected run-time system search path for libraries.
15995 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15997 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15998 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16000 # Whether dlopen is supported.
16001 dlopen_support=$enable_dlopen
16003 # Whether dlopen of programs is supported.
16004 dlopen_self=$enable_dlopen_self
16006 # Whether dlopen of statically linked programs is supported.
16007 dlopen_self_static=$enable_dlopen_self_static
16009 # Commands to strip libraries.
16010 old_striplib=$lt_old_striplib
16011 striplib=$lt_striplib
16014 # The linker used to build libraries.
16017 # How to create reloadable object files.
16018 reload_flag=$lt_reload_flag
16019 reload_cmds=$lt_reload_cmds
16021 # Commands used to build an old-style archive.
16022 old_archive_cmds=$lt_old_archive_cmds
16024 # A language specific compiler.
16027 # Is the compiler the GNU compiler?
16030 # Compiler flag to turn off builtin functions.
16031 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16033 # Additional compiler flags for building library objects.
16034 pic_flag=$lt_lt_prog_compiler_pic
16036 # How to pass a linker flag through the compiler.
16037 wl=$lt_lt_prog_compiler_wl
16039 # Compiler flag to prevent dynamic linking.
16040 link_static_flag=$lt_lt_prog_compiler_static
16042 # Does compiler simultaneously support -c and -o options?
16043 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16045 # Whether or not to add -lc for building shared libraries.
16046 build_libtool_need_lc=$archive_cmds_need_lc
16048 # Whether or not to disallow shared libs when runtime libs are static.
16049 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16051 # Compiler flag to allow reflexive dlopens.
16052 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16054 # Compiler flag to generate shared objects directly from archives.
16055 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16057 # Whether the compiler copes with passing no objects directly.
16058 compiler_needs_object=$lt_compiler_needs_object
16060 # Create an old-style archive from a shared archive.
16061 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16063 # Create a temporary old-style archive to link instead of a shared archive.
16064 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16066 # Commands used to build a shared archive.
16067 archive_cmds=$lt_archive_cmds
16068 archive_expsym_cmds=$lt_archive_expsym_cmds
16070 # Commands used to build a loadable module if different from building
16071 # a shared archive.
16072 module_cmds=$lt_module_cmds
16073 module_expsym_cmds=$lt_module_expsym_cmds
16075 # Whether we are building with GNU ld or not.
16076 with_gnu_ld=$lt_with_gnu_ld
16078 # Flag that allows shared libraries with undefined symbols to be built.
16079 allow_undefined_flag=$lt_allow_undefined_flag
16081 # Flag that enforces no undefined symbols.
16082 no_undefined_flag=$lt_no_undefined_flag
16084 # Flag to hardcode \$libdir into a binary during linking.
16085 # This must work even if \$libdir does not exist
16086 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16088 # Whether we need a single "-rpath" flag with a separated argument.
16089 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16091 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16092 # DIR into the resulting binary.
16093 hardcode_direct=$hardcode_direct
16095 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16096 # DIR into the resulting binary and the resulting library dependency is
16097 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16098 # library is relocated.
16099 hardcode_direct_absolute=$hardcode_direct_absolute
16101 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16102 # into the resulting binary.
16103 hardcode_minus_L=$hardcode_minus_L
16105 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16106 # into the resulting binary.
16107 hardcode_shlibpath_var=$hardcode_shlibpath_var
16109 # Set to "yes" if building a shared library automatically hardcodes DIR
16110 # into the library and all subsequent libraries and executables linked
16112 hardcode_automatic=$hardcode_automatic
16114 # Set to yes if linker adds runtime paths of dependent libraries
16115 # to runtime path list.
16116 inherit_rpath=$inherit_rpath
16118 # Whether libtool must link a program against all its dependency libraries.
16119 link_all_deplibs=$link_all_deplibs
16121 # Set to "yes" if exported symbols are required.
16122 always_export_symbols=$always_export_symbols
16124 # The commands to list exported symbols.
16125 export_symbols_cmds=$lt_export_symbols_cmds
16127 # Symbols that should not be listed in the preloaded symbols.
16128 exclude_expsyms=$lt_exclude_expsyms
16130 # Symbols that must always be exported.
16131 include_expsyms=$lt_include_expsyms
16133 # Commands necessary for linking programs (against libraries) with templates.
16134 prelink_cmds=$lt_prelink_cmds
16136 # Commands necessary for finishing linking programs.
16137 postlink_cmds=$lt_postlink_cmds
16139 # Specify filename containing input files.
16140 file_list_spec=$lt_file_list_spec
16142 # How to hardcode a shared library path into an executable.
16143 hardcode_action=$hardcode_action
16145 # ### END LIBTOOL CONFIG
16149 cat <<'_LT_EOF' >> "$cfgfile"
16151 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16153 # func_munge_path_list VARIABLE PATH
16154 # -----------------------------------
16155 # VARIABLE is name of variable containing _space_ separated list of
16156 # directories to be munged by the contents of PATH, which is string
16159 # string "DIR[ DIR]" will be prepended to VARIABLE
16161 # string "DIR[ DIR]" will be appended to VARIABLE
16162 # "DIRP[:DIRP]::[DIRA:]DIRA"
16163 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16164 # "DIRA[ DIRA]" will be appended to VARIABLE
16166 # VARIABLE will be replaced by "DIR[ DIR]"
16167 func_munge_path_list ()
16173 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16176 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16179 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16180 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16183 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16189 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16190 func_cc_basename ()
16192 for cc_temp in $*""; do
16194 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16195 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16200 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16204 # ### END FUNCTIONS SHARED WITH CONFIGURE
16210 cat <<\_LT_EOF >> "$cfgfile"
16211 # AIX sometimes has problems with the GCC collect2 program. For some
16212 # reason, if we set the COLLECT_NAMES environment variable, the problems
16213 # vanish in a puff of smoke.
16214 if test set != "${COLLECT_NAMES+set}"; then
16216 export COLLECT_NAMES
16223 ltmain=$ac_aux_dir/ltmain.sh
16226 # We use sed instead of cat because bash on DJGPP gets confused if
16227 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16228 # text mode, it properly converts lines to CR/LF. This bash problem
16229 # is reportedly fixed, but why not run on old versions too?
16230 sed '$q' "$ltmain" >> "$cfgfile" \
16231 || (rm -f "$cfgfile"; exit 1)
16233 mv -f "$cfgfile" "$ofile" ||
16234 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16245 ac_clean_files=$ac_clean_files_save
16247 test $ac_write_fail = 0 ||
16248 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16251 # configure is writing to config.log, and then calls config.status.
16252 # config.status does its own redirection, appending to config.log.
16253 # Unfortunately, on DOS this fails, as config.log is still kept open
16254 # by configure, so config.status won't be able to write to it; its
16255 # output is simply discarded. So we exec the FD to /dev/null,
16256 # effectively closing config.log, so it can be properly (re)opened and
16257 # appended to by config.status. When coming back to configure, we
16258 # need to make the FD available again.
16259 if test "$no_create" != yes; then
16261 ac_config_status_args=
16262 test "$silent" = yes &&
16263 ac_config_status_args="$ac_config_status_args --quiet"
16265 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16267 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16268 # would make configure fail if this is the last instruction.
16269 $ac_cs_success || as_fn_exit 1
16271 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16273 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}