2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GNU FriBidi 0.19.5.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='GNU FriBidi'
573 PACKAGE_TARNAME='fribidi'
574 PACKAGE_VERSION='0.19.5'
575 PACKAGE_STRING='GNU FriBidi 0.19.5'
576 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi'
577 PACKAGE_URL='http://fribidi.org/'
579 ac_unique_file="fribidi.pc.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
623 FRIBIDI_USE_GLIB_FALSE
624 FRIBIDI_USE_GLIB_TRUE
631 FRIBIDI_CHARSETS_FALSE
632 FRIBIDI_CHARSETS_TRUE
634 FRIBIDI_NO_DEPRECATED
643 FRIBIDI_INTERFACE_AGE
644 FRIBIDI_INTERFACE_VERSION
646 FRIBIDI_MICRO_VERSION
647 FRIBIDI_MINOR_VERSION
648 FRIBIDI_MAJOR_VERSION
708 INSTALL_STRIP_PROGRAM
750 program_transform_name
763 enable_option_checking
769 enable_dependency_tracking
779 ac_precious_vars='build_alias
795 # Initialize some variables set by options.
797 ac_init_version=false
798 ac_unrecognized_opts=
800 # The variables have the same names as the options, with
801 # dashes changed to underlines.
809 program_transform_name=s,x,x,
817 # Installation directory options.
818 # These are left unexpanded so users can "make install exec_prefix=/foo"
819 # and all the variables that are supposed to be based on exec_prefix
820 # by default will actually change.
821 # Use braces instead of parens because sh, perl, etc. also accept them.
822 # (The list follows the same order as the GNU Coding Standards.)
823 bindir='${exec_prefix}/bin'
824 sbindir='${exec_prefix}/sbin'
825 libexecdir='${exec_prefix}/libexec'
826 datarootdir='${prefix}/share'
827 datadir='${datarootdir}'
828 sysconfdir='${prefix}/etc'
829 sharedstatedir='${prefix}/com'
830 localstatedir='${prefix}/var'
831 includedir='${prefix}/include'
832 oldincludedir='/usr/include'
833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
834 infodir='${datarootdir}/info'
839 libdir='${exec_prefix}/lib'
840 localedir='${datarootdir}/locale'
841 mandir='${datarootdir}/man'
847 # If the previous option needs an argument, assign it.
848 if test -n "$ac_prev"; then
849 eval $ac_prev=\$ac_option
855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902 as_fn_error $? "invalid feature name: $ac_useropt"
903 ac_useropt_orig=$ac_useropt
904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
910 ac_unrecognized_sep=', ';;
912 eval enable_$ac_useropt=no ;;
914 -docdir | --docdir | --docdi | --doc | --do)
916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 -enable-* | --enable-*)
925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 as_fn_error $? "invalid feature name: $ac_useropt"
929 ac_useropt_orig=$ac_useropt
930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
936 ac_unrecognized_sep=', ';;
938 eval enable_$ac_useropt=\$ac_optarg ;;
940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
942 | --exec | --exe | --ex)
943 ac_prev=exec_prefix ;;
944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
946 | --exec=* | --exe=* | --ex=*)
947 exec_prefix=$ac_optarg ;;
949 -gas | --gas | --ga | --g)
950 # Obsolete; use --with-gas.
953 -help | --help | --hel | --he | -h)
955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
956 ac_init_help=recursive ;;
957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
958 ac_init_help=short ;;
960 -host | --host | --hos | --ho)
961 ac_prev=host_alias ;;
962 -host=* | --host=* | --hos=* | --ho=*)
963 host_alias=$ac_optarg ;;
965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
969 htmldir=$ac_optarg ;;
971 -includedir | --includedir | --includedi | --included | --include \
972 | --includ | --inclu | --incl | --inc)
973 ac_prev=includedir ;;
974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
975 | --includ=* | --inclu=* | --incl=* | --inc=*)
976 includedir=$ac_optarg ;;
978 -infodir | --infodir | --infodi | --infod | --info | --inf)
980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
981 infodir=$ac_optarg ;;
983 -libdir | --libdir | --libdi | --libd)
985 -libdir=* | --libdir=* | --libdi=* | --libd=*)
988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
989 | --libexe | --libex | --libe)
990 ac_prev=libexecdir ;;
991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
992 | --libexe=* | --libex=* | --libe=*)
993 libexecdir=$ac_optarg ;;
995 -localedir | --localedir | --localedi | --localed | --locale)
997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
998 localedir=$ac_optarg ;;
1000 -localstatedir | --localstatedir | --localstatedi | --localstated \
1001 | --localstate | --localstat | --localsta | --localst | --locals)
1002 ac_prev=localstatedir ;;
1003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1005 localstatedir=$ac_optarg ;;
1007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1010 mandir=$ac_optarg ;;
1012 -nfp | --nfp | --nf)
1013 # Obsolete; use --without-fp.
1016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1017 | --no-cr | --no-c | -n)
1020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1026 | --oldin | --oldi | --old | --ol | --o)
1027 ac_prev=oldincludedir ;;
1028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1031 oldincludedir=$ac_optarg ;;
1033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1036 prefix=$ac_optarg ;;
1038 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1039 | --program-pre | --program-pr | --program-p)
1040 ac_prev=program_prefix ;;
1041 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1043 program_prefix=$ac_optarg ;;
1045 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1046 | --program-suf | --program-su | --program-s)
1047 ac_prev=program_suffix ;;
1048 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1050 program_suffix=$ac_optarg ;;
1052 -program-transform-name | --program-transform-name \
1053 | --program-transform-nam | --program-transform-na \
1054 | --program-transform-n | --program-transform- \
1055 | --program-transform | --program-transfor \
1056 | --program-transfo | --program-transf \
1057 | --program-trans | --program-tran \
1058 | --progr-tra | --program-tr | --program-t)
1059 ac_prev=program_transform_name ;;
1060 -program-transform-name=* | --program-transform-name=* \
1061 | --program-transform-nam=* | --program-transform-na=* \
1062 | --program-transform-n=* | --program-transform-=* \
1063 | --program-transform=* | --program-transfor=* \
1064 | --program-transfo=* | --program-transf=* \
1065 | --program-trans=* | --program-tran=* \
1066 | --progr-tra=* | --program-tr=* | --program-t=*)
1067 program_transform_name=$ac_optarg ;;
1069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1072 pdfdir=$ac_optarg ;;
1074 -psdir | --psdir | --psdi | --psd | --ps)
1076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1080 | -silent | --silent | --silen | --sile | --sil)
1083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087 sbindir=$ac_optarg ;;
1089 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1091 | --sharedst | --shareds | --shared | --share | --shar \
1093 ac_prev=sharedstatedir ;;
1094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1098 sharedstatedir=$ac_optarg ;;
1100 -site | --site | --sit)
1102 -site=* | --site=* | --sit=*)
1105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1108 srcdir=$ac_optarg ;;
1110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1111 | --syscon | --sysco | --sysc | --sys | --sy)
1112 ac_prev=sysconfdir ;;
1113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1115 sysconfdir=$ac_optarg ;;
1117 -target | --target | --targe | --targ | --tar | --ta | --t)
1118 ac_prev=target_alias ;;
1119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1120 target_alias=$ac_optarg ;;
1122 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1125 -version | --version | --versio | --versi | --vers | -V)
1126 ac_init_version=: ;;
1129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1132 as_fn_error $? "invalid package name: $ac_useropt"
1133 ac_useropt_orig=$ac_useropt
1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1140 ac_unrecognized_sep=', ';;
1142 eval with_$ac_useropt=\$ac_optarg ;;
1144 -without-* | --without-*)
1145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1148 as_fn_error $? "invalid package name: $ac_useropt"
1149 ac_useropt_orig=$ac_useropt
1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1151 case $ac_user_opts in
1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1156 ac_unrecognized_sep=', ';;
1158 eval with_$ac_useropt=no ;;
1161 # Obsolete; use --with-x.
1164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1165 | --x-incl | --x-inc | --x-in | --x-i)
1166 ac_prev=x_includes ;;
1167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1169 x_includes=$ac_optarg ;;
1171 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1173 ac_prev=x_libraries ;;
1174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1176 x_libraries=$ac_optarg ;;
1178 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1179 Try \`$0 --help' for more information"
1183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1184 # Reject names that are not valid shell variable names.
1185 case $ac_envvar in #(
1186 '' | [0-9]* | *[!_$as_cr_alnum]* )
1187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1189 eval $ac_envvar=\$ac_optarg
1190 export $ac_envvar ;;
1193 # FIXME: should be removed in autoconf 3.0.
1194 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1196 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1203 if test -n "$ac_prev"; then
1204 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1205 as_fn_error $? "missing argument to $ac_option"
1208 if test -n "$ac_unrecognized_opts"; then
1209 case $enable_option_checking in
1211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1212 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1216 # Check all directory arguments for consistency.
1217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1218 datadir sysconfdir sharedstatedir localstatedir includedir \
1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1220 libdir localedir mandir
1222 eval ac_val=\$$ac_var
1223 # Remove trailing slashes.
1226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1227 eval $ac_var=\$ac_val;;
1229 # Be sure to have absolute directory names.
1231 [\\/$]* | ?:[\\/]* ) continue;;
1232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1237 # There might be people who depend on the old broken behavior: `$host'
1238 # used to hold the argument of --host etc.
1239 # FIXME: To remove some day.
1242 target=$target_alias
1244 # FIXME: To remove some day.
1245 if test "x$host_alias" != x; then
1246 if test "x$build_alias" = x; then
1247 cross_compiling=maybe
1248 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1249 If a cross compiler is detected then cross compile mode will be used" >&2
1250 elif test "x$build_alias" != "x$host_alias"; then
1256 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1258 test "$silent" = yes && exec 6>/dev/null
1261 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1262 ac_ls_di=`ls -di .` &&
1263 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1264 as_fn_error $? "working directory cannot be determined"
1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1266 as_fn_error $? "pwd does not report name of working directory"
1269 # Find the source files, if location was not specified.
1270 if test -z "$srcdir"; then
1271 ac_srcdir_defaulted=yes
1272 # Try the directory containing this script, then the parent directory.
1273 ac_confdir=`$as_dirname -- "$as_myself" ||
1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1275 X"$as_myself" : 'X\(//\)[^/]' \| \
1276 X"$as_myself" : 'X\(//\)$' \| \
1277 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1278 $as_echo X"$as_myself" |
1279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1301 ac_srcdir_defaulted=no
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1304 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1305 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1307 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1309 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1311 # When building in place, set srcdir=.
1312 if test "$ac_abs_confdir" = "$ac_pwd"; then
1315 # Remove unnecessary trailing slashes from srcdir.
1316 # Double slashes in file names in object file debugging info
1317 # mess up M-x gdb in Emacs.
1319 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1321 for ac_var in $ac_precious_vars; do
1322 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1323 eval ac_env_${ac_var}_value=\$${ac_var}
1324 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1325 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1329 # Report the --help message.
1331 if test "$ac_init_help" = "long"; then
1332 # Omit some internal or obsolete options to make the list less imposing.
1333 # This message is too long to be a string in the A/UX 3.1 sh.
1335 \`configure' configures GNU FriBidi 0.19.5 to adapt to many kinds of systems.
1337 Usage: $0 [OPTION]... [VAR=VALUE]...
1339 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1340 VAR=VALUE. See below for descriptions of some of the useful variables.
1342 Defaults for the options are specified in brackets.
1345 -h, --help display this help and exit
1346 --help=short display options specific to this package
1347 --help=recursive display the short help of all the included packages
1348 -V, --version display version information and exit
1349 -q, --quiet, --silent do not print \`checking ...' messages
1350 --cache-file=FILE cache test results in FILE [disabled]
1351 -C, --config-cache alias for \`--cache-file=config.cache'
1352 -n, --no-create do not create output files
1353 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1355 Installation directories:
1356 --prefix=PREFIX install architecture-independent files in PREFIX
1357 [$ac_default_prefix]
1358 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1361 By default, \`make install' will install all the files in
1362 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1363 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1364 for instance \`--prefix=\$HOME'.
1366 For better control, use the options below.
1368 Fine tuning of the installation directories:
1369 --bindir=DIR user executables [EPREFIX/bin]
1370 --sbindir=DIR system admin executables [EPREFIX/sbin]
1371 --libexecdir=DIR program executables [EPREFIX/libexec]
1372 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1373 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1374 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1375 --libdir=DIR object code libraries [EPREFIX/lib]
1376 --includedir=DIR C header files [PREFIX/include]
1377 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1380 --infodir=DIR info documentation [DATAROOTDIR/info]
1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1382 --mandir=DIR man documentation [DATAROOTDIR/man]
1383 --docdir=DIR documentation root [DATAROOTDIR/doc/fribidi]
1384 --htmldir=DIR html documentation [DOCDIR]
1385 --dvidir=DIR dvi documentation [DOCDIR]
1386 --pdfdir=DIR pdf documentation [DOCDIR]
1387 --psdir=DIR ps documentation [DOCDIR]
1393 --program-prefix=PREFIX prepend PREFIX to installed program names
1394 --program-suffix=SUFFIX append SUFFIX to installed program names
1395 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1398 --build=BUILD configure for building on BUILD [guessed]
1399 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1403 if test -n "$ac_init_help"; then
1404 case $ac_init_help in
1405 short | recursive ) echo "Configuration of GNU FriBidi 0.19.5:";;
1410 --disable-option-checking ignore unrecognized --enable/--with options
1411 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1412 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1413 --enable-silent-rules less verbose build output (undo: `make V=1')
1414 --disable-silent-rules verbose build output (undo: `make V=0')
1415 --enable-static[=PKGS] build static libraries [default=no]
1416 --enable-shared[=PKGS] build shared libraries [default=yes]
1417 --enable-fast-install[=PKGS]
1418 optimize for fast installation [default=yes]
1419 --disable-dependency-tracking speeds up one-time build
1420 --enable-dependency-tracking do not reject slow dependency extractors
1421 --disable-libtool-lock avoid locking (might break parallel builds)
1422 --enable-debug turn on debugging [default=yes]
1423 --disable-deprecated do not build deprecated functionality
1424 --enable-malloc use simple malloc instead of memory chunks
1425 --disable-charsets exclude charset conversion routines from library
1428 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1429 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1430 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1432 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1433 --with-sysroot=DIR Search for dependent libraries within DIR
1434 (or the compiler's sysroot if not specified).
1435 --with-glib=[no/auto/yes]
1436 use Glib [default=auto]
1438 Some influential environment variables:
1439 CC C compiler command
1440 CFLAGS C compiler flags
1441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1442 nonstandard directory <lib dir>
1443 LIBS libraries to pass to the linker, e.g. -l<library>
1444 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1445 you have headers in a nonstandard directory <include dir>
1447 PKG_CONFIG path to pkg-config utility
1449 directories to add to pkg-config's search path
1451 path overriding pkg-config's built-in search path
1452 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1453 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1455 Use these variables to override the choices made by `configure' or to help
1456 it to find libraries and programs with nonstandard names/locations.
1458 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
1459 GNU FriBidi home page: <http://fribidi.org/>.
1460 General help using GNU software: <http://www.gnu.org/gethelp/>.
1465 if test "$ac_init_help" = "recursive"; then
1466 # If there are subdirs, report their specific --help.
1467 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1468 test -d "$ac_dir" ||
1469 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1477 # A ".." for each directory in $ac_dir_suffix.
1478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1479 case $ac_top_builddir_sub in
1480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1484 ac_abs_top_builddir=$ac_pwd
1485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1486 # for backward compatibility:
1487 ac_top_builddir=$ac_top_build_prefix
1490 .) # We are building in place.
1492 ac_top_srcdir=$ac_top_builddir_sub
1493 ac_abs_top_srcdir=$ac_pwd ;;
1494 [\\/]* | ?:[\\/]* ) # Absolute name.
1495 ac_srcdir=$srcdir$ac_dir_suffix;
1496 ac_top_srcdir=$srcdir
1497 ac_abs_top_srcdir=$srcdir ;;
1499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1500 ac_top_srcdir=$ac_top_build_prefix$srcdir
1501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1505 cd "$ac_dir" || { ac_status=$?; continue; }
1506 # Check for guested configure.
1507 if test -f "$ac_srcdir/configure.gnu"; then
1509 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1510 elif test -f "$ac_srcdir/configure"; then
1512 $SHELL "$ac_srcdir/configure" --help=recursive
1514 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1516 cd "$ac_pwd" || { ac_status=$?; break; }
1520 test -n "$ac_init_help" && exit $ac_status
1521 if $ac_init_version; then
1523 GNU FriBidi configure 0.19.5
1524 generated by GNU Autoconf 2.68
1526 Copyright (C) 2010 Free Software Foundation, Inc.
1527 This configure script is free software; the Free Software Foundation
1528 gives unlimited permission to copy, distribute and modify it.
1533 ## ------------------------ ##
1534 ## Autoconf initialization. ##
1535 ## ------------------------ ##
1537 # ac_fn_c_try_compile LINENO
1538 # --------------------------
1539 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1540 ac_fn_c_try_compile ()
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 rm -f conftest.$ac_objext
1544 if { { ac_try="$ac_compile"
1546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1547 *) ac_try_echo=$ac_try;;
1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_compile") 2>conftest.err
1553 if test -s conftest.err; then
1554 grep -v '^ *+' conftest.err >conftest.er1
1555 cat conftest.er1 >&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && {
1560 test -z "$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1562 } && test -s conftest.$ac_objext; then :
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status $ac_retval
1573 } # ac_fn_c_try_compile
1575 # ac_fn_c_try_link LINENO
1576 # -----------------------
1577 # Try to link conftest.$ac_ext, and return whether this succeeded.
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 rm -f conftest.$ac_objext conftest$ac_exeext
1582 if { { ac_try="$ac_link"
1584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_link") 2>conftest.err
1591 if test -s conftest.err; then
1592 grep -v '^ *+' conftest.err >conftest.er1
1593 cat conftest.er1 >&5
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && {
1598 test -z "$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1600 } && test -s conftest$ac_exeext && {
1601 test "$cross_compiling" = yes ||
1602 $as_test_x conftest$ac_exeext
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1611 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1612 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1613 # interfere with the next link command; also delete a directory that is
1614 # left behind by Apple's compiler. We do this before executing the actions.
1615 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1619 } # ac_fn_c_try_link
1621 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1622 # -------------------------------------------------------
1623 # Tests whether HEADER exists and can be compiled using the include files in
1624 # INCLUDES, setting the cache variable VAR accordingly.
1625 ac_fn_c_check_header_compile ()
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if eval \${$3+:} false; then :
1631 $as_echo_n "(cached) " >&6
1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h. */
1638 if ac_fn_c_try_compile "$LINENO"; then :
1643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647 $as_echo "$ac_res" >&6; }
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 } # ac_fn_c_check_header_compile
1652 # ac_fn_c_try_cpp LINENO
1653 # ----------------------
1654 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if { { ac_try="$ac_cpp conftest.$ac_ext"
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } > conftest.i && {
1674 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status $ac_retval
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1731 # ac_fn_c_check_func LINENO FUNC VAR
1732 # ----------------------------------
1733 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1734 ac_fn_c_check_func ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \${$3+:} false; then :
1740 $as_echo_n "(cached) " >&6
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1744 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1746 #define $2 innocuous_$2
1748 /* System header to define __stub macros and hopefully few prototypes,
1749 which can conflict with char $2 (); below.
1750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1751 <limits.h> exists even on freestanding compilers. */
1754 # include <limits.h>
1756 # include <assert.h>
1761 /* Override any GCC internal prototype to avoid an error.
1762 Use char because int might match the return type of a GCC
1763 builtin and then its argument prototype would still apply. */
1768 /* The GNU C library defines this for functions which it implements
1769 to always fail with ENOSYS. Some functions are actually named
1770 something starting with __ and the normal name is an alias. */
1771 #if defined __stub_$2 || defined __stub___$2
1783 if ac_fn_c_try_link "$LINENO"; then :
1788 rm -f core conftest.err conftest.$ac_objext \
1789 conftest$ac_exeext conftest.$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 } # ac_fn_c_check_func
1798 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1799 # -------------------------------------------------------
1800 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1801 # the include files in INCLUDES and setting the cache variable VAR
1803 ac_fn_c_check_header_mongrel ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if eval \${$3+:} false; then :
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval \${$3+:} false; then :
1810 $as_echo_n "(cached) " >&6
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1816 # Is the header compilable?
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1818 $as_echo_n "checking $2 usability... " >&6; }
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1824 if ac_fn_c_try_compile "$LINENO"; then :
1825 ac_header_compiler=yes
1827 ac_header_compiler=no
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1831 $as_echo "$ac_header_compiler" >&6; }
1833 # Is the header present?
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1835 $as_echo_n "checking $2 presence... " >&6; }
1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1840 if ac_fn_c_try_cpp "$LINENO"; then :
1841 ac_header_preproc=yes
1843 ac_header_preproc=no
1845 rm -f conftest.err conftest.i conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1847 $as_echo "$ac_header_preproc" >&6; }
1849 # So? What about this header?
1850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1853 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1855 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1859 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1861 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1863 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1865 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1867 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1868 ( $as_echo "## ------------------------------------------------------------------------ ##
1869 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi ##
1870 ## ------------------------------------------------------------------------ ##"
1871 ) | sed "s/^/$as_me: WARNING: /" >&2
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1879 eval "$3=\$ac_header_compiler"
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 } # ac_fn_c_check_header_mongrel
1889 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1890 # --------------------------------------------
1891 # Tries to find the compile-time value of EXPR in a program that includes
1892 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1894 ac_fn_c_compute_int ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if test "$cross_compiling" = yes; then
1898 # Depending upon the size, compute the lo and hi bounds.
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1905 static int test_array [1 - 2 * !(($2) >= 0)];
1912 if ac_fn_c_try_compile "$LINENO"; then :
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1921 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1928 if ac_fn_c_try_compile "$LINENO"; then :
1929 ac_hi=$ac_mid; break
1931 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1932 if test $ac_lo -le $ac_mid; then
1936 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1947 static int test_array [1 - 2 * !(($2) < 0)];
1954 if ac_fn_c_try_compile "$LINENO"; then :
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1963 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1970 if ac_fn_c_try_compile "$LINENO"; then :
1971 ac_lo=$ac_mid; break
1973 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1974 if test $ac_mid -le $ac_hi; then
1978 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988 # Binary search between lo and hi bounds.
1989 while test "x$ac_lo" != "x$ac_hi"; do
1990 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
1997 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2004 if ac_fn_c_try_compile "$LINENO"; then :
2007 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2019 static long int longval () { return $2; }
2020 static unsigned long int ulongval () { return $2; }
2027 FILE *f = fopen ("conftest.val", "w");
2032 long int i = longval ();
2035 fprintf (f, "%ld", i);
2039 unsigned long int i = ulongval ();
2042 fprintf (f, "%lu", i);
2044 /* Do not output a trailing newline, as this causes \r\n confusion
2045 on some platforms. */
2046 return ferror (f) || fclose (f) != 0;
2052 if ac_fn_c_try_run "$LINENO"; then :
2053 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2058 conftest.$ac_objext conftest.beam conftest.$ac_ext
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063 as_fn_set_status $ac_retval
2065 } # ac_fn_c_compute_int
2066 cat >config.log <<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2070 It was created by GNU FriBidi $as_me 0.19.5, which was
2071 generated by GNU Autoconf 2.68. Invocation command line was
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 $as_echo "PATH: $as_dir"
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2131 ac_must_keep_next=false
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2142 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2145 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2147 as_fn_append ac_configure_args1 " '$ac_arg'"
2148 if test $ac_must_keep_next = true; then
2149 ac_must_keep_next=false # Got value, back to normal.
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2160 -* ) ac_must_keep_next=true ;;
2163 as_fn_append ac_configure_args " '$ac_arg'"
2168 { ac_configure_args0=; unset ac_configure_args0;}
2169 { ac_configure_args1=; unset ac_configure_args1;}
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2181 $as_echo "## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##"
2185 # The following way of writing the cache mishandles newlines in values,
2187 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2188 eval ac_val=\$$ac_var
2192 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2196 _ | IFS | as_nl) ;; #(
2197 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2198 *) { eval $ac_var=; unset $ac_var;} ;;
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2217 $as_echo "## ----------------- ##
2218 ## Output variables. ##
2219 ## ----------------- ##"
2221 for ac_var in $ac_subst_vars
2223 eval ac_val=\$$ac_var
2225 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 $as_echo "$ac_var='\''$ac_val'\''"
2231 if test -n "$ac_subst_files"; then
2232 $as_echo "## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##"
2236 for ac_var in $ac_subst_files
2238 eval ac_val=\$$ac_var
2240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242 $as_echo "$ac_var='\''$ac_val'\''"
2247 if test -s confdefs.h; then
2248 $as_echo "## ----------- ##
2255 test "$ac_signal" != 0 &&
2256 $as_echo "$as_me: caught signal $ac_signal"
2257 $as_echo "$as_me: exit $exit_status"
2259 rm -f core *.core core.conftest.* &&
2260 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2263 for ac_signal in 1 2 13 15; do
2264 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2268 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2269 rm -f -r conftest* confdefs.h
2271 $as_echo "/* confdefs.h */" > confdefs.h
2273 # Predefined preprocessor variables.
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_NAME "$PACKAGE_NAME"
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_STRING "$PACKAGE_STRING"
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_URL "$PACKAGE_URL"
2300 # Let the site file select an alternate cache file if it wants to.
2301 # Prefer an explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 # We do not want a PATH search for config.site.
2306 case $CONFIG_SITE in #((
2307 -*) ac_site_file1=./$CONFIG_SITE;;
2308 */*) ac_site_file1=$CONFIG_SITE;;
2309 *) ac_site_file1=./$CONFIG_SITE;;
2311 elif test "x$prefix" != xNONE; then
2312 ac_site_file1=$prefix/share/config.site
2313 ac_site_file2=$prefix/etc/config.site
2315 ac_site_file1=$ac_default_prefix/share/config.site
2316 ac_site_file2=$ac_default_prefix/etc/config.site
2318 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2320 test "x$ac_site_file" = xNONE && continue
2321 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2323 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2324 sed 's/^/| /' "$ac_site_file" >&5
2326 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328 as_fn_error $? "failed to load site script $ac_site_file
2329 See \`config.log' for more details" "$LINENO" 5; }
2333 if test -r "$cache_file"; then
2334 # Some versions of bash will fail to source /dev/null (special files
2335 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2336 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2338 $as_echo "$as_me: loading cache $cache_file" >&6;}
2340 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2341 *) . "./$cache_file";;
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2346 $as_echo "$as_me: creating cache $cache_file" >&6;}
2350 # Check that the precious variables saved in the cache have kept the same
2352 ac_cache_corrupted=false
2353 for ac_var in $ac_precious_vars; do
2354 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2355 eval ac_new_set=\$ac_env_${ac_var}_set
2356 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2357 eval ac_new_val=\$ac_env_${ac_var}_value
2358 case $ac_old_set,$ac_new_set in
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2361 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2362 ac_cache_corrupted=: ;;
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2365 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2366 ac_cache_corrupted=: ;;
2369 if test "x$ac_old_val" != "x$ac_new_val"; then
2370 # differences in whitespace do not lead to failure.
2371 ac_old_val_w=`echo x $ac_old_val`
2372 ac_new_val_w=`echo x $ac_new_val`
2373 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2375 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2376 ac_cache_corrupted=:
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2379 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2380 eval $ac_var=\$ac_old_val
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2383 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2385 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2388 # Pass precious variables to config.status.
2389 if test "$ac_new_set" = set; then
2391 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 *) ac_arg=$ac_var=$ac_new_val ;;
2394 case " $ac_configure_args " in
2395 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2396 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2400 if $ac_cache_corrupted; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2404 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2407 ## -------------------- ##
2408 ## Main body of script. ##
2409 ## -------------------- ##
2412 ac_cpp='$CPP $CPPFLAGS'
2413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420 ac_config_headers="$ac_config_headers config.h"
2423 am__api_version='1.11'
2426 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2429 ac_install_sh="$ac_aux_dir/install-sh -c"
2431 elif test -f "$ac_dir/install.sh"; then
2433 ac_install_sh="$ac_aux_dir/install.sh -c"
2435 elif test -f "$ac_dir/shtool"; then
2437 ac_install_sh="$ac_aux_dir/shtool install -c"
2441 if test -z "$ac_aux_dir"; then
2442 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454 # Find a good install program. We prefer a C program (faster),
2455 # so one script is as good as another. But avoid the broken or
2456 # incompatible versions:
2457 # SysV /etc/install, /usr/sbin/install
2458 # SunOS /usr/etc/install
2459 # IRIX /sbin/install
2461 # AmigaOS /C/install, which installs bootblocks on floppy discs
2462 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2465 # OS/2's system install, which has a completely different semantic
2466 # ./install, which can be erroneously created by make from ./install.sh.
2467 # Reject install programs that cannot install multiple files.
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2469 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2470 if test -z "$INSTALL"; then
2471 if ${ac_cv_path_install+:} false; then :
2472 $as_echo_n "(cached) " >&6
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir=.
2479 # Account for people who put trailing slashes in PATH elements.
2480 case $as_dir/ in #((
2481 ./ | .// | /[cC]/* | \
2482 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2483 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2486 # OSF1 and SCO ODT 3.0 have their own names for install.
2487 # Don't use installbsd from OSF since it installs stuff as root
2489 for ac_prog in ginstall scoinst install; do
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2492 if test $ac_prog = install &&
2493 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2494 # AIX install. It has an incompatible calling convention.
2496 elif test $ac_prog = install &&
2497 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2498 # program-specific install script used by HP pwplus--don't use.
2501 rm -rf conftest.one conftest.two conftest.dir
2502 echo one > conftest.one
2503 echo two > conftest.two
2505 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2506 test -s conftest.one && test -s conftest.two &&
2507 test -s conftest.dir/conftest.one &&
2508 test -s conftest.dir/conftest.two
2510 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2523 rm -rf conftest.one conftest.two conftest.dir
2526 if test "${ac_cv_path_install+set}" = set; then
2527 INSTALL=$ac_cv_path_install
2529 # As a last resort, use the slow shell script. Don't cache a
2530 # value for INSTALL within a source directory, because that will
2531 # break other packages using the cache if that directory is
2532 # removed, or if the value is a relative name.
2533 INSTALL=$ac_install_sh
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2537 $as_echo "$INSTALL" >&6; }
2539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2540 # It thinks the first close brace ends the variable substitution.
2541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2545 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2548 $as_echo_n "checking whether build environment is sane... " >&6; }
2551 echo timestamp > conftest.file
2552 # Reject unsafe characters in $srcdir or the absolute working directory
2553 # name. Accept space and tab only in the latter.
2557 *[\\\"\#\$\&\'\`$am_lf]*)
2558 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2561 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2562 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2565 # Do `set' in a subshell so we don't clobber the current shell's
2566 # arguments. Must try -L first in case configure is actually a
2567 # symlink; some systems play weird games with the mod time of symlinks
2568 # (eg FreeBSD returns the mod time of the symlink's containing
2571 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2572 if test "$*" = "X"; then
2574 set X `ls -t "$srcdir/configure" conftest.file`
2577 if test "$*" != "X $srcdir/configure conftest.file" \
2578 && test "$*" != "X conftest.file $srcdir/configure"; then
2580 # If neither matched, then we have a broken ls. This can happen
2581 # if, for instance, CONFIG_SHELL is bash and it inherits a
2582 # broken ls alias from the environment. This has actually
2583 # happened. Such a system could not be considered "sane".
2584 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2585 alias in your environment" "$LINENO" 5
2588 test "$2" = conftest.file
2594 as_fn_error $? "newly created file is older than distributed files!
2595 Check your system clock" "$LINENO" 5
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598 $as_echo "yes" >&6; }
2599 test "$program_prefix" != NONE &&
2600 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2601 # Use a double $ so make ignores it.
2602 test "$program_suffix" != NONE &&
2603 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2604 # Double any \ or $.
2605 # By default was `s,x,x', remove it if useless.
2606 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2607 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2609 # expand $ac_aux_dir to an absolute path
2610 am_aux_dir=`cd $ac_aux_dir && pwd`
2612 if test x"${MISSING+set}" != xset; then
2615 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2617 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2620 # Use eval to expand $SHELL
2621 if eval "$MISSING --run true"; then
2622 am_missing_run="$MISSING --run "
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2626 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2629 if test x"${install_sh}" != xset; then
2632 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2634 install_sh="\${SHELL} $am_aux_dir/install-sh"
2638 # Installed binaries are usually stripped using `strip' when the user
2639 # run `make install-strip'. However `strip' might not be the right
2640 # tool to use in cross-compilation environments, therefore Automake
2641 # will honor the `STRIP' environment variable to overrule this program.
2642 if test "$cross_compiling" != no; then
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2645 set dummy ${ac_tool_prefix}strip; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_STRIP+:} false; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$STRIP"; then
2652 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 STRIP=$ac_cv_prog_STRIP
2672 if test -n "$STRIP"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2674 $as_echo "$STRIP" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2682 if test -z "$ac_cv_prog_STRIP"; then
2684 # Extract the first word of "strip", so it can be a program name with args.
2685 set dummy strip; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$ac_ct_STRIP"; then
2692 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_ac_ct_STRIP="strip"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2712 if test -n "$ac_ct_STRIP"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2714 $as_echo "$ac_ct_STRIP" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2720 if test "x$ac_ct_STRIP" = x; then
2723 case $cross_compiling:$ac_tool_warned in
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727 ac_tool_warned=yes ;;
2732 STRIP="$ac_cv_prog_STRIP"
2736 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2739 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2740 if test -z "$MKDIR_P"; then
2741 if ${ac_cv_path_mkdir+:} false; then :
2742 $as_echo_n "(cached) " >&6
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2748 test -z "$as_dir" && as_dir=.
2749 for ac_prog in mkdir gmkdir; do
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2752 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2753 'mkdir (GNU coreutils) '* | \
2754 'mkdir (coreutils) '* | \
2755 'mkdir (fileutils) '4.1*)
2756 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2766 test -d ./--version && rmdir ./--version
2767 if test "${ac_cv_path_mkdir+set}" = set; then
2768 MKDIR_P="$ac_cv_path_mkdir -p"
2770 # As a last resort, use the slow shell script. Don't cache a
2771 # value for MKDIR_P within a source directory, because that will
2772 # break other packages using the cache if that directory is
2773 # removed, or if the value is a relative name.
2774 MKDIR_P="$ac_install_sh -d"
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2778 $as_echo "$MKDIR_P" >&6; }
2782 [\\/$]* | ?:[\\/]*) ;;
2783 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2786 for ac_prog in gawk mawk nawk awk
2788 # Extract the first word of "$ac_prog", so it can be a program name with args.
2789 set dummy $ac_prog; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_AWK+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$AWK"; then
2796 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_AWK="$ac_prog"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 if test -n "$AWK"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2818 $as_echo "$AWK" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2825 test -n "$AWK" && break
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2829 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2831 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2832 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 cat >conftest.make <<\_ACEOF
2838 @echo '@@@%%%=$(MAKE)=@@@%%%'
2840 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2841 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2843 eval ac_cv_prog_make_${ac_make}_set=yes;;
2845 eval ac_cv_prog_make_${ac_make}_set=no;;
2849 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2851 $as_echo "yes" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2856 SET_MAKE="MAKE=${MAKE-make}"
2859 rm -rf .tst 2>/dev/null
2860 mkdir .tst 2>/dev/null
2861 if test -d .tst; then
2866 rmdir .tst 2>/dev/null
2868 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2869 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2870 # is not polluted with repeated "-I."
2871 am__isrc=' -I$(srcdir)'
2872 # test to see if srcdir already configured
2873 if test -f $srcdir/config.status; then
2874 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2878 # test whether we have cygpath
2879 if test -z "$CYGPATH_W"; then
2880 if (cygpath --version) >/dev/null 2>/dev/null; then
2881 CYGPATH_W='cygpath -w'
2888 # Define the identity of the package.
2893 # Some tools Automake needs.
2895 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2898 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2901 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2904 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2907 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2909 # We need awk for the "check" target. The system "awk" is bad on
2911 # Always define AMTAR for backward compatibility. Yes, it's still used
2912 # in the wild :-( We should find a proper way to deprecate it ...
2915 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2921 # Check whether --enable-silent-rules was given.
2922 if test "${enable_silent_rules+set}" = set; then :
2923 enableval=$enable_silent_rules;
2926 case $enable_silent_rules in
2927 yes) AM_DEFAULT_VERBOSITY=0;;
2928 no) AM_DEFAULT_VERBOSITY=1;;
2929 *) AM_DEFAULT_VERBOSITY=0;;
2931 am_make=${MAKE-make}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2933 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2934 if ${am_cv_make_support_nested_variables+:} false; then :
2935 $as_echo_n "(cached) " >&6
2937 if $as_echo 'TRUE=$(BAR$(V))
2943 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2944 am_cv_make_support_nested_variables=yes
2946 am_cv_make_support_nested_variables=no
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2950 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2951 if test $am_cv_make_support_nested_variables = yes; then
2953 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2955 AM_V=$AM_DEFAULT_VERBOSITY
2956 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2961 # Initialize libtool
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2966 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2971 macro_version='2.4.2'
2972 macro_revision='1.3337'
2986 ltmain="$ac_aux_dir/ltmain.sh"
2988 # Make sure we can run config.sub.
2989 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2990 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2993 $as_echo_n "checking build system type... " >&6; }
2994 if ${ac_cv_build+:} false; then :
2995 $as_echo_n "(cached) " >&6
2997 ac_build_alias=$build_alias
2998 test "x$ac_build_alias" = x &&
2999 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3000 test "x$ac_build_alias" = x &&
3001 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3002 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3003 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3007 $as_echo "$ac_cv_build" >&6; }
3008 case $ac_cv_build in
3010 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3013 ac_save_IFS=$IFS; IFS='-'
3019 # Remember, the first character of IFS is used to create $*,
3020 # except with old shells:
3023 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3027 $as_echo_n "checking host system type... " >&6; }
3028 if ${ac_cv_host+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 if test "x$host_alias" = x; then
3032 ac_cv_host=$ac_cv_build
3034 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3035 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3040 $as_echo "$ac_cv_host" >&6; }
3043 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3046 ac_save_IFS=$IFS; IFS='-'
3052 # Remember, the first character of IFS is used to create $*,
3053 # except with old shells:
3056 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3059 # Backslashify metacharacters that are still active within
3060 # double-quoted strings.
3061 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3063 # Same as above, but do not quote variable references.
3064 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3066 # Sed substitution to delay expansion of an escaped shell variable in a
3067 # double_quote_subst'ed string.
3068 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3070 # Sed substitution to delay expansion of an escaped single quote.
3071 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3073 # Sed substitution to avoid accidental globbing in evaled expressions
3074 no_glob_subst='s/\*/\\\*/g'
3076 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3077 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3078 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3081 $as_echo_n "checking how to print strings... " >&6; }
3082 # Test print first, because it will be a builtin if present.
3083 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3084 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3086 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3089 # Use this function as a fallback that always works.
3090 func_fallback_echo ()
3092 eval 'cat <<_LTECHO_EOF
3096 ECHO='func_fallback_echo'
3099 # func_echo_all arg...
3100 # Invoke $ECHO with all args, space-separated.
3107 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3108 $as_echo "printf" >&6; } ;;
3109 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3110 $as_echo "print -r" >&6; } ;;
3111 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3112 $as_echo "cat" >&6; } ;;
3128 DEPDIR="${am__leading_dot}deps"
3130 ac_config_commands="$ac_config_commands depfiles"
3133 am_make=${MAKE-make}
3134 cat > confinc << 'END'
3136 @echo this is the am__doit target
3139 # If we don't find an include directive, just comment out the code.
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3141 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3145 # First try GNU make style include.
3146 echo "include confinc" > confmf
3147 # Ignore all kinds of additional output from `make'.
3148 case `$am_make -s -f confmf 2> /dev/null` in #(
3149 *the\ am__doit\ target*)
3155 # Now try BSD make style include.
3156 if test "$am__include" = "#"; then
3157 echo '.include "confinc"' > confmf
3158 case `$am_make -s -f confmf 2> /dev/null` in #(
3159 *the\ am__doit\ target*)
3160 am__include=.include
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3169 $as_echo "$_am_result" >&6; }
3170 rm -f confinc confmf
3172 # Check whether --enable-dependency-tracking was given.
3173 if test "${enable_dependency_tracking+set}" = set; then :
3174 enableval=$enable_dependency_tracking;
3177 if test "x$enable_dependency_tracking" != xno; then
3178 am_depcomp="$ac_aux_dir/depcomp"
3182 if test "x$enable_dependency_tracking" != xno; then
3192 ac_cpp='$CPP $CPPFLAGS'
3193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196 if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3198 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_CC+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -n "$CC"; then
3205 ac_cv_prog_CC="$CC" # Let the user override the test.
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3214 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 if test -n "$CC"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3227 $as_echo "$CC" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3235 if test -z "$ac_cv_prog_CC"; then
3237 # Extract the first word of "gcc", so it can be a program name with args.
3238 set dummy gcc; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$ac_ct_CC"; then
3245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254 ac_cv_prog_ac_ct_CC="gcc"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3265 if test -n "$ac_ct_CC"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3267 $as_echo "$ac_ct_CC" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3273 if test "x$ac_ct_CC" = x; then
3276 case $cross_compiling:$ac_tool_warned in
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3280 ac_tool_warned=yes ;;
3288 if test -z "$CC"; then
3289 if test -n "$ac_tool_prefix"; then
3290 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3291 set dummy ${ac_tool_prefix}cc; ac_word=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if ${ac_cv_prog_CC+:} false; then :
3295 $as_echo_n "(cached) " >&6
3297 if test -n "$CC"; then
3298 ac_cv_prog_CC="$CC" # Let the user override the test.
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 ac_cv_prog_CC="${ac_tool_prefix}cc"
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 if test -n "$CC"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3320 $as_echo "$CC" >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3329 if test -z "$CC"; then
3330 # Extract the first word of "cc", so it can be a program name with args.
3331 set dummy cc; ac_word=$2
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3333 $as_echo_n "checking for $ac_word... " >&6; }
3334 if ${ac_cv_prog_CC+:} false; then :
3335 $as_echo_n "(cached) " >&6
3337 if test -n "$CC"; then
3338 ac_cv_prog_CC="$CC" # Let the user override the test.
3341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345 test -z "$as_dir" && as_dir=.
3346 for ac_exec_ext in '' $ac_executable_extensions; do
3347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3348 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3349 ac_prog_rejected=yes
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 if test $ac_prog_rejected = yes; then
3361 # We found a bogon in the path, so make sure we never use it.
3362 set dummy $ac_cv_prog_CC
3364 if test $# != 0; then
3365 # We chose a different compiler from the bogus one.
3366 # However, it has the same basename, so the bogon will be chosen
3367 # first if we set CC to just the basename; use the full file name.
3369 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3375 if test -n "$CC"; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3377 $as_echo "$CC" >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3385 if test -z "$CC"; then
3386 if test -n "$ac_tool_prefix"; then
3387 for ac_prog in cl.exe
3389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3390 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if ${ac_cv_prog_CC+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 if test -n "$CC"; then
3397 ac_cv_prog_CC="$CC" # Let the user override the test.
3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 test -z "$as_dir" && as_dir=.
3404 for ac_exec_ext in '' $ac_executable_extensions; do
3405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3406 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 if test -n "$CC"; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3419 $as_echo "$CC" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3426 test -n "$CC" && break
3429 if test -z "$CC"; then
3431 for ac_prog in cl.exe
3433 # Extract the first word of "$ac_prog", so it can be a program name with args.
3434 set dummy $ac_prog; ac_word=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3438 $as_echo_n "(cached) " >&6
3440 if test -n "$ac_ct_CC"; then
3441 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3450 ac_cv_prog_ac_ct_CC="$ac_prog"
3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3461 if test -n "$ac_ct_CC"; then
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3463 $as_echo "$ac_ct_CC" >&6; }
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
3470 test -n "$ac_ct_CC" && break
3473 if test "x$ac_ct_CC" = x; then
3476 case $cross_compiling:$ac_tool_warned in
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3480 ac_tool_warned=yes ;;
3489 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error $? "no acceptable C compiler found in \$PATH
3492 See \`config.log' for more details" "$LINENO" 5; }
3494 # Provide some information about the compiler.
3495 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3498 for ac_option in --version -v -V -qversion; do
3499 { { ac_try="$ac_compiler $ac_option >&5"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3505 $as_echo "$ac_try_echo"; } >&5
3506 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3508 if test -s conftest.err; then
3510 ... rest of stderr output deleted ...
3511 10q' conftest.err >conftest.er1
3512 cat conftest.er1 >&5
3514 rm -f conftest.er1 conftest.err
3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3516 test $ac_status = 0; }
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 ac_clean_files_save=$ac_clean_files
3531 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3532 # Try to create an executable without -o first, disregard a.out.
3533 # It will help us diagnose broken compilers, and finding out an intuition
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3536 $as_echo_n "checking whether the C compiler works... " >&6; }
3537 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3539 # The possible output files:
3540 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3543 for ac_file in $ac_files
3546 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3547 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3552 if { { ac_try="$ac_link_default"
3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555 *) ac_try_echo=$ac_try;;
3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3558 $as_echo "$ac_try_echo"; } >&5
3559 (eval "$ac_link_default") 2>&5
3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3562 test $ac_status = 0; }; then :
3563 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3564 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3565 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3566 # so that the user can short-circuit this test for compilers unknown to
3568 for ac_file in $ac_files ''
3570 test -f "$ac_file" || continue
3572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3575 # We found the default executable, but exeext='' is most
3579 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3581 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3583 # We set ac_cv_exeext here because the later test for it is not
3584 # safe: cross compilers may not add the suffix if given an `-o'
3585 # argument, so we may need to know it at that point already.
3586 # Even if this section looks crufty: it has the advantage of
3593 test "$ac_cv_exeext" = no && ac_cv_exeext=
3598 if test -z "$ac_file"; then :
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3601 $as_echo "$as_me: failed program was:" >&5
3602 sed 's/^/| /' conftest.$ac_ext >&5
3604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3606 as_fn_error 77 "C compiler cannot create executables
3607 See \`config.log' for more details" "$LINENO" 5; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3610 $as_echo "yes" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3613 $as_echo_n "checking for C compiler default output file name... " >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3615 $as_echo "$ac_file" >&6; }
3616 ac_exeext=$ac_cv_exeext
3618 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3619 ac_clean_files=$ac_clean_files_save
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3621 $as_echo_n "checking for suffix of executables... " >&6; }
3622 if { { ac_try="$ac_link"
3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628 $as_echo "$ac_try_echo"; } >&5
3629 (eval "$ac_link") 2>&5
3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3632 test $ac_status = 0; }; then :
3633 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3634 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3635 # work properly (i.e., refer to `conftest.exe'), while it won't with
3637 for ac_file in conftest.exe conftest conftest.*; do
3638 test -f "$ac_file" || continue
3640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3641 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3649 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3650 See \`config.log' for more details" "$LINENO" 5; }
3652 rm -f conftest conftest$ac_cv_exeext
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3654 $as_echo "$ac_cv_exeext" >&6; }
3656 rm -f conftest.$ac_ext
3657 EXEEXT=$ac_cv_exeext
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3665 FILE *f = fopen ("conftest.out", "w");
3666 return ferror (f) || fclose (f) != 0;
3672 ac_clean_files="$ac_clean_files conftest.out"
3673 # Check that the compiler produces executables we can run. If not, either
3674 # the compiler is broken, or we cross compile.
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3676 $as_echo_n "checking whether we are cross compiling... " >&6; }
3677 if test "$cross_compiling" != yes; then
3678 { { ac_try="$ac_link"
3680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3684 $as_echo "$ac_try_echo"; } >&5
3685 (eval "$ac_link") 2>&5
3687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3688 test $ac_status = 0; }
3689 if { ac_try='./conftest$ac_cv_exeext'
3690 { { case "(($ac_try" in
3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3695 $as_echo "$ac_try_echo"; } >&5
3696 (eval "$ac_try") 2>&5
3698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3699 test $ac_status = 0; }; }; then
3702 if test "$cross_compiling" = maybe; then
3705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 as_fn_error $? "cannot run C compiled programs.
3708 If you meant to cross compile, use \`--host'.
3709 See \`config.log' for more details" "$LINENO" 5; }
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3714 $as_echo "$cross_compiling" >&6; }
3716 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3717 ac_clean_files=$ac_clean_files_save
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3719 $as_echo_n "checking for suffix of object files... " >&6; }
3720 if ${ac_cv_objext+:} false; then :
3721 $as_echo_n "(cached) " >&6
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3734 rm -f conftest.o conftest.obj
3735 if { { ac_try="$ac_compile"
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741 $as_echo "$ac_try_echo"; } >&5
3742 (eval "$ac_compile") 2>&5
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }; then :
3746 for ac_file in conftest.o conftest.obj conftest.*; do
3747 test -f "$ac_file" || continue;
3749 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3750 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3755 $as_echo "$as_me: failed program was:" >&5
3756 sed 's/^/| /' conftest.$ac_ext >&5
3758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760 as_fn_error $? "cannot compute suffix of object files: cannot compile
3761 See \`config.log' for more details" "$LINENO" 5; }
3763 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3766 $as_echo "$ac_cv_objext" >&6; }
3767 OBJEXT=$ac_cv_objext
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3770 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3771 if ${ac_cv_c_compiler_gnu+:} false; then :
3772 $as_echo_n "(cached) " >&6
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3794 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3798 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3799 if test $ac_compiler_gnu = yes; then
3804 ac_test_CFLAGS=${CFLAGS+set}
3805 ac_save_CFLAGS=$CFLAGS
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3807 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3808 if ${ac_cv_prog_cc_g+:} false; then :
3809 $as_echo_n "(cached) " >&6
3811 ac_save_c_werror_flag=$ac_c_werror_flag
3812 ac_c_werror_flag=yes
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_c_try_compile "$LINENO"; then :
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 if ac_fn_c_try_compile "$LINENO"; then :
3844 ac_c_werror_flag=$ac_save_c_werror_flag
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3857 if ac_fn_c_try_compile "$LINENO"; then :
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865 ac_c_werror_flag=$ac_save_c_werror_flag
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3868 $as_echo "$ac_cv_prog_cc_g" >&6; }
3869 if test "$ac_test_CFLAGS" = set; then
3870 CFLAGS=$ac_save_CFLAGS
3871 elif test $ac_cv_prog_cc_g = yes; then
3872 if test "$GCC" = yes; then
3878 if test "$GCC" = yes; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3885 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3886 if ${ac_cv_prog_cc_c89+:} false; then :
3887 $as_echo_n "(cached) " >&6
3889 ac_cv_prog_cc_c89=no
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3895 #include <sys/types.h>
3896 #include <sys/stat.h>
3897 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3898 struct buf { int x; };
3899 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3900 static char *e (p, i)
3906 static char *f (char * (*g) (char **, int), char **p, ...)
3911 s = g (p, va_arg (v,int));
3916 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3917 function prototypes and stuff, but not '\xHH' hex character constants.
3918 These don't provoke an error unfortunately, instead are silently treated
3919 as 'x'. The following induces an error, until -std is added to get
3920 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3921 array size at least. It's necessary to write '\x00'==0 to get something
3922 that's true only with -std. */
3923 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3925 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3926 inside strings and character constants. */
3928 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3930 int test (int i, double x);
3931 struct s1 {int (*f) (int a);};
3932 struct s2 {int (*f) (double a);};
3933 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3939 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3944 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3945 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3947 CC="$ac_save_CC $ac_arg"
3948 if ac_fn_c_try_compile "$LINENO"; then :
3949 ac_cv_prog_cc_c89=$ac_arg
3951 rm -f core conftest.err conftest.$ac_objext
3952 test "x$ac_cv_prog_cc_c89" != "xno" && break
3954 rm -f conftest.$ac_ext
3959 case "x$ac_cv_prog_cc_c89" in
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3962 $as_echo "none needed" >&6; } ;;
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3965 $as_echo "unsupported" >&6; } ;;
3967 CC="$CC $ac_cv_prog_cc_c89"
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3969 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3971 if test "x$ac_cv_prog_cc_c89" != xno; then :
3976 ac_cpp='$CPP $CPPFLAGS'
3977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3981 depcc="$CC" am_compiler_list=
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3984 $as_echo_n "checking dependency style of $depcc... " >&6; }
3985 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3986 $as_echo_n "(cached) " >&6
3988 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3989 # We make a subdir and do the tests there. Otherwise we can end up
3990 # making bogus files that we don't know about and never remove. For
3991 # instance it was reported that on HP-UX the gcc test will end up
3992 # making a dummy file named `D' -- because `-MD' means `put the output
3996 # Copy depcomp to subdir because otherwise we won't find it if we're
3997 # using a relative directory.
3998 cp "$am_depcomp" conftest.dir
4000 # We will build objects and dependencies in a subdirectory because
4001 # it helps to detect inapplicable dependency modes. For instance
4002 # both Tru64's cc and ICC support -MD to output dependencies as a
4003 # side effect of compilation, but ICC will put the dependencies in
4004 # the current directory while Tru64 will put them in the object
4008 am_cv_CC_dependencies_compiler_type=none
4009 if test "$am_compiler_list" = ""; then
4010 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4013 case " $depcc " in #(
4014 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4017 for depmode in $am_compiler_list; do
4018 # Setup a source with many dependencies, because some compilers
4019 # like to wrap large dependency lists on column 80 (with \), and
4020 # we should not choose a depcomp mode which is confused by this.
4022 # We need to recreate these files for each test, as the compiler may
4023 # overwrite some of them when testing with obscure command lines.
4024 # This happens at least with the AIX C compiler.
4026 for i in 1 2 3 4 5 6; do
4027 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4028 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4029 # Solaris 8's {/usr,}/bin/sh.
4030 touch sub/conftst$i.h
4032 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4034 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4035 # mode. It turns out that the SunPro C++ compiler does not properly
4036 # handle `-M -o', and we need to detect this. Also, some Intel
4037 # versions had trouble with output in subdirs
4038 am__obj=sub/conftest.${OBJEXT-o}
4039 am__minus_obj="-o $am__obj"
4042 # This depmode causes a compiler race in universal mode.
4043 test "$am__universal" = false || continue
4046 # after this tag, mechanisms are not by side-effect, so they'll
4047 # only be used when explicitly requested
4048 if test "x$enable_dependency_tracking" = xyes; then
4054 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4055 # This compiler won't grok `-c -o', but also, the minuso test has
4056 # not run yet. These depmodes are late enough in the game, and
4057 # so weak that their functioning should not be impacted.
4058 am__obj=conftest.${OBJEXT-o}
4063 if depmode=$depmode \
4064 source=sub/conftest.c object=$am__obj \
4065 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4066 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4067 >/dev/null 2>conftest.err &&
4068 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4069 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4070 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4071 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4072 # icc doesn't choke on unknown options, it will just issue warnings
4073 # or remarks (even with -Werror). So we grep stderr for any message
4074 # that says an option was ignored or not supported.
4075 # When given -MP, icc 7.0 and 7.1 complain thusly:
4076 # icc: Command line warning: ignoring option '-M'; no argument required
4077 # The diagnosis changed in icc 8.0:
4078 # icc: Command line remark: option '-MP' not supported
4079 if (grep 'ignoring option' conftest.err ||
4080 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4081 am_cv_CC_dependencies_compiler_type=$depmode
4090 am_cv_CC_dependencies_compiler_type=none
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4095 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4096 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4099 test "x$enable_dependency_tracking" != xno \
4100 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4102 am__fastdepCC_FALSE='#'
4104 am__fastdepCC_TRUE='#'
4105 am__fastdepCC_FALSE=
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4110 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4111 if ${ac_cv_path_SED+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4115 for ac_i in 1 2 3 4 5 6 7; do
4116 ac_script="$ac_script$as_nl$ac_script"
4118 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4119 { ac_script=; unset ac_script;}
4120 if test -z "$SED"; then
4121 ac_path_SED_found=false
4122 # Loop through the user's path and test for each of PROGNAME-LIST
4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir=.
4128 for ac_prog in sed gsed; do
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4131 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4132 # Check for GNU ac_path_SED and select it if it is found.
4133 # Check for GNU $ac_path_SED
4134 case `"$ac_path_SED" --version 2>&1` in
4136 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4139 $as_echo_n 0123456789 >"conftest.in"
4142 cat "conftest.in" "conftest.in" >"conftest.tmp"
4143 mv "conftest.tmp" "conftest.in"
4144 cp "conftest.in" "conftest.nl"
4145 $as_echo '' >> "conftest.nl"
4146 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4148 as_fn_arith $ac_count + 1 && ac_count=$as_val
4149 if test $ac_count -gt ${ac_path_SED_max-0}; then
4150 # Best one so far, save it but keep looking for a better one
4151 ac_cv_path_SED="$ac_path_SED"
4152 ac_path_SED_max=$ac_count
4154 # 10*(2^10) chars as input seems more than enough
4155 test $ac_count -gt 10 && break
4157 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4160 $ac_path_SED_found && break 3
4165 if test -z "$ac_cv_path_SED"; then
4166 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4174 $as_echo "$ac_cv_path_SED" >&6; }
4175 SED="$ac_cv_path_SED"
4178 test -z "$SED" && SED=sed
4179 Xsed="$SED -e 1s/^X//"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4192 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4193 if ${ac_cv_path_GREP+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -z "$GREP"; then
4197 ac_path_GREP_found=false
4198 # Loop through the user's path and test for each of PROGNAME-LIST
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4203 test -z "$as_dir" && as_dir=.
4204 for ac_prog in grep ggrep; do
4205 for ac_exec_ext in '' $ac_executable_extensions; do
4206 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4207 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4208 # Check for GNU ac_path_GREP and select it if it is found.
4209 # Check for GNU $ac_path_GREP
4210 case `"$ac_path_GREP" --version 2>&1` in
4212 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4215 $as_echo_n 0123456789 >"conftest.in"
4218 cat "conftest.in" "conftest.in" >"conftest.tmp"
4219 mv "conftest.tmp" "conftest.in"
4220 cp "conftest.in" "conftest.nl"
4221 $as_echo 'GREP' >> "conftest.nl"
4222 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4223 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4224 as_fn_arith $ac_count + 1 && ac_count=$as_val
4225 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4226 # Best one so far, save it but keep looking for a better one
4227 ac_cv_path_GREP="$ac_path_GREP"
4228 ac_path_GREP_max=$ac_count
4230 # 10*(2^10) chars as input seems more than enough
4231 test $ac_count -gt 10 && break
4233 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4236 $ac_path_GREP_found && break 3
4241 if test -z "$ac_cv_path_GREP"; then
4242 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4245 ac_cv_path_GREP=$GREP
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4250 $as_echo "$ac_cv_path_GREP" >&6; }
4251 GREP="$ac_cv_path_GREP"
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4255 $as_echo_n "checking for egrep... " >&6; }
4256 if ${ac_cv_path_EGREP+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4260 then ac_cv_path_EGREP="$GREP -E"
4262 if test -z "$EGREP"; then
4263 ac_path_EGREP_found=false
4264 # Loop through the user's path and test for each of PROGNAME-LIST
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4269 test -z "$as_dir" && as_dir=.
4270 for ac_prog in egrep; do
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4273 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4274 # Check for GNU ac_path_EGREP and select it if it is found.
4275 # Check for GNU $ac_path_EGREP
4276 case `"$ac_path_EGREP" --version 2>&1` in
4278 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4281 $as_echo_n 0123456789 >"conftest.in"
4284 cat "conftest.in" "conftest.in" >"conftest.tmp"
4285 mv "conftest.tmp" "conftest.in"
4286 cp "conftest.in" "conftest.nl"
4287 $as_echo 'EGREP' >> "conftest.nl"
4288 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4289 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4290 as_fn_arith $ac_count + 1 && ac_count=$as_val
4291 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4292 # Best one so far, save it but keep looking for a better one
4293 ac_cv_path_EGREP="$ac_path_EGREP"
4294 ac_path_EGREP_max=$ac_count
4296 # 10*(2^10) chars as input seems more than enough
4297 test $ac_count -gt 10 && break
4299 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4302 $ac_path_EGREP_found && break 3
4307 if test -z "$ac_cv_path_EGREP"; then
4308 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4311 ac_cv_path_EGREP=$EGREP
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4317 $as_echo "$ac_cv_path_EGREP" >&6; }
4318 EGREP="$ac_cv_path_EGREP"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4322 $as_echo_n "checking for fgrep... " >&6; }
4323 if ${ac_cv_path_FGREP+:} false; then :
4324 $as_echo_n "(cached) " >&6
4326 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4327 then ac_cv_path_FGREP="$GREP -F"
4329 if test -z "$FGREP"; then
4330 ac_path_FGREP_found=false
4331 # Loop through the user's path and test for each of PROGNAME-LIST
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4336 test -z "$as_dir" && as_dir=.
4337 for ac_prog in fgrep; do
4338 for ac_exec_ext in '' $ac_executable_extensions; do
4339 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4340 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4341 # Check for GNU ac_path_FGREP and select it if it is found.
4342 # Check for GNU $ac_path_FGREP
4343 case `"$ac_path_FGREP" --version 2>&1` in
4345 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4348 $as_echo_n 0123456789 >"conftest.in"
4351 cat "conftest.in" "conftest.in" >"conftest.tmp"
4352 mv "conftest.tmp" "conftest.in"
4353 cp "conftest.in" "conftest.nl"
4354 $as_echo 'FGREP' >> "conftest.nl"
4355 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4356 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4357 as_fn_arith $ac_count + 1 && ac_count=$as_val
4358 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4359 # Best one so far, save it but keep looking for a better one
4360 ac_cv_path_FGREP="$ac_path_FGREP"
4361 ac_path_FGREP_max=$ac_count
4363 # 10*(2^10) chars as input seems more than enough
4364 test $ac_count -gt 10 && break
4366 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4369 $ac_path_FGREP_found && break 3
4374 if test -z "$ac_cv_path_FGREP"; then
4375 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4378 ac_cv_path_FGREP=$FGREP
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4384 $as_echo "$ac_cv_path_FGREP" >&6; }
4385 FGREP="$ac_cv_path_FGREP"
4388 test -z "$GREP" && GREP=grep
4408 # Check whether --with-gnu-ld was given.
4409 if test "${with_gnu_ld+set}" = set; then :
4410 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4416 if test "$GCC" = yes; then
4417 # Check if gcc -print-prog-name=ld gives a path.
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4419 $as_echo_n "checking for ld used by $CC... " >&6; }
4422 # gcc leaves a trailing carriage return which upsets mingw
4423 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4425 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4428 # Accept absolute paths.
4430 re_direlt='/[^/][^/]*/\.\./'
4431 # Canonicalize the pathname of ld
4432 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4433 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4434 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4436 test -z "$LD" && LD="$ac_prog"
4439 # If it fails, then pretend we aren't using GCC.
4443 # If it is relative, then search for the first ld in PATH.
4447 elif test "$with_gnu_ld" = yes; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4449 $as_echo_n "checking for GNU ld... " >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4452 $as_echo_n "checking for non-GNU ld... " >&6; }
4454 if ${lt_cv_path_LD+:} false; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -z "$LD"; then
4458 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4459 for ac_dir in $PATH; do
4461 test -z "$ac_dir" && ac_dir=.
4462 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4463 lt_cv_path_LD="$ac_dir/$ac_prog"
4464 # Check to see if the program is GNU ld. I'd rather use --version,
4465 # but apparently some variants of GNU ld only accept -v.
4466 # Break only if it was the GNU/non-GNU ld that we prefer.
4467 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4468 *GNU* | *'with BFD'*)
4469 test "$with_gnu_ld" != no && break
4472 test "$with_gnu_ld" != yes && break
4479 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4484 if test -n "$LD"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4486 $as_echo "$LD" >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4491 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4493 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4494 if ${lt_cv_prog_gnu_ld+:} false; then :
4495 $as_echo_n "(cached) " >&6
4497 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4498 case `$LD -v 2>&1 </dev/null` in
4499 *GNU* | *'with BFD'*)
4500 lt_cv_prog_gnu_ld=yes
4503 lt_cv_prog_gnu_ld=no
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4508 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4509 with_gnu_ld=$lt_cv_prog_gnu_ld
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4520 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4521 if ${lt_cv_path_NM+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -n "$NM"; then
4525 # Let the user override the test.
4528 lt_nm_to_check="${ac_tool_prefix}nm"
4529 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4530 lt_nm_to_check="$lt_nm_to_check nm"
4532 for lt_tmp_nm in $lt_nm_to_check; do
4533 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4534 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4536 test -z "$ac_dir" && ac_dir=.
4537 tmp_nm="$ac_dir/$lt_tmp_nm"
4538 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4539 # Check to see if the nm accepts a BSD-compat flag.
4540 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4541 # nm: unknown option "B" ignored
4542 # Tru64's nm complains that /dev/null is an invalid object file
4543 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4544 */dev/null* | *'Invalid file or object type'*)
4545 lt_cv_path_NM="$tmp_nm -B"
4549 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4551 lt_cv_path_NM="$tmp_nm -p"
4555 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4556 continue # so that we can try to find one that supports BSD flags
4565 : ${lt_cv_path_NM=no}
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4569 $as_echo "$lt_cv_path_NM" >&6; }
4570 if test "$lt_cv_path_NM" != "no"; then
4573 # Didn't find any BSD compatible name lister, look for dumpbin.
4574 if test -n "$DUMPBIN"; then :
4575 # Let the user override the test.
4577 if test -n "$ac_tool_prefix"; then
4578 for ac_prog in dumpbin "link -dump"
4580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4581 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if ${ac_cv_prog_DUMPBIN+:} false; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$DUMPBIN"; then
4588 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 DUMPBIN=$ac_cv_prog_DUMPBIN
4608 if test -n "$DUMPBIN"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4610 $as_echo "$DUMPBIN" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$DUMPBIN" && break
4620 if test -z "$DUMPBIN"; then
4621 ac_ct_DUMPBIN=$DUMPBIN
4622 for ac_prog in dumpbin "link -dump"
4624 # Extract the first word of "$ac_prog", so it can be a program name with args.
4625 set dummy $ac_prog; ac_word=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$ac_ct_DUMPBIN"; then
4632 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir=.
4639 for ac_exec_ext in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4652 if test -n "$ac_ct_DUMPBIN"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4654 $as_echo "$ac_ct_DUMPBIN" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 test -n "$ac_ct_DUMPBIN" && break
4664 if test "x$ac_ct_DUMPBIN" = x; then
4667 case $cross_compiling:$ac_tool_warned in
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4671 ac_tool_warned=yes ;;
4673 DUMPBIN=$ac_ct_DUMPBIN
4677 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4679 DUMPBIN="$DUMPBIN -symbols"
4687 if test "$DUMPBIN" != ":"; then
4691 test -z "$NM" && NM=nm
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4699 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4700 if ${lt_cv_nm_interface+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 lt_cv_nm_interface="BSD nm"
4704 echo "int some_variable = 0;" > conftest.$ac_ext
4705 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4706 (eval "$ac_compile" 2>conftest.err)
4707 cat conftest.err >&5
4708 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4709 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4710 cat conftest.err >&5
4711 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4712 cat conftest.out >&5
4713 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4714 lt_cv_nm_interface="MS dumpbin"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4719 $as_echo "$lt_cv_nm_interface" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4722 $as_echo_n "checking whether ln -s works... " >&6; }
4724 if test "$LN_S" = "ln -s"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4726 $as_echo "yes" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4729 $as_echo "no, using $LN_S" >&6; }
4732 # find the maximum length of command line arguments
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4734 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4735 if ${lt_cv_sys_max_cmd_len+:} false; then :
4736 $as_echo_n "(cached) " >&6
4743 # On DJGPP, this test can blow up pretty badly due to problems in libc
4744 # (any single argument exceeding 2000 bytes causes a buffer overrun
4745 # during glob expansion). Even if it were fixed, the result of this
4746 # check would be larger than it should be.
4747 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4751 # Under GNU Hurd, this test is not required because there is
4752 # no limit to the length of command line arguments.
4753 # Libtool will interpret -1 as no limit whatsoever
4754 lt_cv_sys_max_cmd_len=-1;
4757 cygwin* | mingw* | cegcc*)
4758 # On Win9x/ME, this test blows up -- it succeeds, but takes
4759 # about 5 minutes as the teststring grows exponentially.
4760 # Worse, since 9x/ME are not pre-emptively multitasking,
4761 # you end up with a "frozen" computer, even though with patience
4762 # the test eventually succeeds (with a max line length of 256k).
4763 # Instead, let's just punt: use the minimum linelength reported by
4764 # all of the supported platforms: 8192 (on NT/2K/XP).
4765 lt_cv_sys_max_cmd_len=8192;
4769 # On MiNT this can take a long time and run out of memory.
4770 lt_cv_sys_max_cmd_len=8192;
4774 # On AmigaOS with pdksh, this test takes hours, literally.
4775 # So we just punt and use a minimum line length of 8192.
4776 lt_cv_sys_max_cmd_len=8192;
4779 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4780 # This has been around since 386BSD, at least. Likely further.
4781 if test -x /sbin/sysctl; then
4782 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4783 elif test -x /usr/sbin/sysctl; then
4784 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4786 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4788 # And add a safety zone
4789 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4790 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4794 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4795 lt_cv_sys_max_cmd_len=196608
4799 # The test takes a long time on OS/2.
4800 lt_cv_sys_max_cmd_len=8192
4804 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4805 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4806 # nice to cause kernel panics so lets avoid the loop below.
4807 # First set a reasonable default.
4808 lt_cv_sys_max_cmd_len=16384
4810 if test -x /sbin/sysconfig; then
4811 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4812 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4817 lt_cv_sys_max_cmd_len=102400
4819 sysv5* | sco5v6* | sysv4.2uw2*)
4820 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4821 if test -n "$kargmax"; then
4822 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4824 lt_cv_sys_max_cmd_len=32768
4828 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4829 if test -n "$lt_cv_sys_max_cmd_len"; then
4830 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4831 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4833 # Make teststring a little bigger before we do anything with it.
4834 # a 1K string should be a reasonable start.
4835 for i in 1 2 3 4 5 6 7 8 ; do
4836 teststring=$teststring$teststring
4838 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4839 # If test is not a shell built-in, we'll probably end up computing a
4840 # maximum length that is only half of the actual maximum length, but
4842 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4843 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4844 test $i != 17 # 1/2 MB should be enough
4847 teststring=$teststring$teststring
4849 # Only check the string length outside the loop.
4850 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4852 # Add a significant safety factor because C++ compilers can tack on
4853 # massive amounts of additional arguments before passing them to the
4854 # linker. It appears as though 1/2 is a usable value.
4855 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4862 if test -n $lt_cv_sys_max_cmd_len ; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4864 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4867 $as_echo "none" >&6; }
4869 max_cmd_len=$lt_cv_sys_max_cmd_len
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4881 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4882 # Try some XSI features
4885 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4887 && eval 'test $(( 1 + 1 )) -eq 2 \
4888 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4891 $as_echo "$xsi_shell" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4895 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4897 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4899 && lt_shell_append=yes
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4901 $as_echo "$lt_shell_append" >&6; }
4904 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4914 # test EBCDIC or ASCII
4915 case `echo X|tr X '\101'` in
4916 A) # ASCII based system
4917 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4918 lt_SP2NL='tr \040 \012'
4919 lt_NL2SP='tr \015\012 \040\040'
4921 *) # EBCDIC based system
4922 lt_SP2NL='tr \100 \n'
4923 lt_NL2SP='tr \r\n \100\100'
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4936 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4937 if ${lt_cv_to_host_file_cmd+:} false; then :
4938 $as_echo_n "(cached) " >&6
4943 *-*-mingw* ) # actually msys
4944 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4947 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4949 * ) # otherwise, assume *nix
4950 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4956 *-*-mingw* ) # actually msys
4957 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4960 lt_cv_to_host_file_cmd=func_convert_file_noop
4962 * ) # otherwise, assume *nix
4963 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4967 * ) # unhandled hosts (and "normal" native builds)
4968 lt_cv_to_host_file_cmd=func_convert_file_noop
4974 to_host_file_cmd=$lt_cv_to_host_file_cmd
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4976 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4983 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4984 if ${lt_cv_to_tool_file_cmd+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 #assume ordinary cross tools, or native build.
4988 lt_cv_to_tool_file_cmd=func_convert_file_noop
4992 *-*-mingw* ) # actually msys
4993 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5001 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5003 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5010 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5011 if ${lt_cv_ld_reload_flag+:} false; then :
5012 $as_echo_n "(cached) " >&6
5014 lt_cv_ld_reload_flag='-r'
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5017 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5018 reload_flag=$lt_cv_ld_reload_flag
5019 case $reload_flag in
5021 *) reload_flag=" $reload_flag" ;;
5023 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5025 cygwin* | mingw* | pw32* | cegcc*)
5026 if test "$GCC" != yes; then
5031 if test "$GCC" = yes; then
5032 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5034 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5047 if test -n "$ac_tool_prefix"; then
5048 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5049 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_OBJDUMP+:} false; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$OBJDUMP"; then
5056 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 OBJDUMP=$ac_cv_prog_OBJDUMP
5076 if test -n "$OBJDUMP"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5078 $as_echo "$OBJDUMP" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5086 if test -z "$ac_cv_prog_OBJDUMP"; then
5087 ac_ct_OBJDUMP=$OBJDUMP
5088 # Extract the first word of "objdump", so it can be a program name with args.
5089 set dummy objdump; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 if test -n "$ac_ct_OBJDUMP"; then
5096 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5116 if test -n "$ac_ct_OBJDUMP"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5118 $as_echo "$ac_ct_OBJDUMP" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5124 if test "x$ac_ct_OBJDUMP" = x; then
5127 case $cross_compiling:$ac_tool_warned in
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5131 ac_tool_warned=yes ;;
5133 OBJDUMP=$ac_ct_OBJDUMP
5136 OBJDUMP="$ac_cv_prog_OBJDUMP"
5139 test -z "$OBJDUMP" && OBJDUMP=objdump
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5150 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5151 if ${lt_cv_deplibs_check_method+:} false; then :
5152 $as_echo_n "(cached) " >&6
5154 lt_cv_file_magic_cmd='$MAGIC_CMD'
5155 lt_cv_file_magic_test_file=
5156 lt_cv_deplibs_check_method='unknown'
5157 # Need to set the preceding variable on all platforms that support
5158 # interlibrary dependencies.
5159 # 'none' -- dependencies not supported.
5160 # `unknown' -- same as none, but documents that we really don't know.
5161 # 'pass_all' -- all dependencies passed with no checks.
5162 # 'test_compile' -- check by making test program.
5163 # 'file_magic [[regex]]' -- check by looking for files in library path
5164 # which responds to the $file_magic_cmd with a given extended regex.
5165 # If you have `file' or equivalent on your system and you're not sure
5166 # whether `pass_all' will *always* work, you probably want this one.
5170 lt_cv_deplibs_check_method=pass_all
5174 lt_cv_deplibs_check_method=pass_all
5178 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5179 lt_cv_file_magic_cmd='/usr/bin/file -L'
5180 lt_cv_file_magic_test_file=/shlib/libc.so
5184 # func_win32_libid is a shell function defined in ltmain.sh
5185 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5186 lt_cv_file_magic_cmd='func_win32_libid'
5190 # Base MSYS/MinGW do not provide the 'file' command needed by
5191 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5192 # unless we find 'file', for example because we are cross-compiling.
5193 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5194 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5195 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5196 lt_cv_file_magic_cmd='func_win32_libid'
5198 # Keep this pattern in sync with the one in func_win32_libid.
5199 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5200 lt_cv_file_magic_cmd='$OBJDUMP -f'
5205 # use the weaker test based on 'objdump'. See mingw*.
5206 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5207 lt_cv_file_magic_cmd='$OBJDUMP -f'
5210 darwin* | rhapsody*)
5211 lt_cv_deplibs_check_method=pass_all
5214 freebsd* | dragonfly*)
5215 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5218 # Not sure whether the presence of OpenBSD here was a mistake.
5219 # Let's accept both of them until this is cleared up.
5220 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5221 lt_cv_file_magic_cmd=/usr/bin/file
5222 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5226 lt_cv_deplibs_check_method=pass_all
5231 lt_cv_deplibs_check_method=pass_all
5235 lt_cv_deplibs_check_method=pass_all
5238 hpux10.20* | hpux11*)
5239 lt_cv_file_magic_cmd=/usr/bin/file
5242 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5243 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5246 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]'
5247 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5250 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5251 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5257 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5258 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5261 irix5* | irix6* | nonstopux*)
5263 *-32|*"-32 ") libmagic=32-bit;;
5264 *-n32|*"-n32 ") libmagic=N32;;
5265 *-64|*"-64 ") libmagic=64-bit;;
5266 *) libmagic=never-match;;
5268 lt_cv_deplibs_check_method=pass_all
5271 # This must be glibc/ELF.
5272 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5273 lt_cv_deplibs_check_method=pass_all
5276 netbsd* | netbsdelf*-gnu)
5277 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5280 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5285 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5286 lt_cv_file_magic_cmd=/usr/bin/file
5287 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5291 lt_cv_deplibs_check_method=pass_all
5295 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5296 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5302 osf3* | osf4* | osf5*)
5303 lt_cv_deplibs_check_method=pass_all
5307 lt_cv_deplibs_check_method=pass_all
5311 lt_cv_deplibs_check_method=pass_all
5314 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5315 lt_cv_deplibs_check_method=pass_all
5319 case $host_vendor in
5321 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]'
5322 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5325 lt_cv_deplibs_check_method=pass_all
5328 lt_cv_file_magic_cmd='/bin/file'
5329 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5332 lt_cv_file_magic_cmd='/bin/file'
5333 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5334 lt_cv_file_magic_test_file=/lib/libc.so
5337 lt_cv_deplibs_check_method=pass_all
5340 lt_cv_deplibs_check_method=pass_all
5346 lt_cv_deplibs_check_method=pass_all
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5352 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5356 if test "$build" = "$host"; then
5359 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5362 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5368 file_magic_cmd=$lt_cv_file_magic_cmd
5369 deplibs_check_method=$lt_cv_deplibs_check_method
5370 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+:} false; then :
5399 $as_echo_n "(cached) " >&6
5401 if test -n "$DLLTOOL"; then
5402 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 DLLTOOL=$ac_cv_prog_DLLTOOL
5422 if test -n "$DLLTOOL"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5424 $as_echo "$DLLTOOL" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5432 if test -z "$ac_cv_prog_DLLTOOL"; then
5433 ac_ct_DLLTOOL=$DLLTOOL
5434 # Extract the first word of "dlltool", so it can be a program name with args.
5435 set dummy dlltool; 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_DLLTOOL+:} false; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$ac_ct_DLLTOOL"; then
5442 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5462 if test -n "$ac_ct_DLLTOOL"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5464 $as_echo "$ac_ct_DLLTOOL" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5470 if test "x$ac_ct_DLLTOOL" = 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 DLLTOOL=$ac_ct_DLLTOOL
5482 DLLTOOL="$ac_cv_prog_DLLTOOL"
5485 test -z "$DLLTOOL" && DLLTOOL=dlltool
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5497 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5498 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5499 $as_echo_n "(cached) " >&6
5501 lt_cv_sharedlib_from_linklib_cmd='unknown'
5504 cygwin* | mingw* | pw32* | cegcc*)
5505 # two different shell functions defined in ltmain.sh
5506 # decide which to use based on capabilities of $DLLTOOL
5507 case `$DLLTOOL --help 2>&1` in
5508 *--identify-strict*)
5509 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5512 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5517 # fallback: assume linklib IS sharedlib
5518 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5524 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5525 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5526 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5535 if test -n "$ac_tool_prefix"; then
5538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_AR+:} false; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$AR"; then
5546 ac_cv_prog_AR="$AR" # Let the user override the test.
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 if test -n "$AR"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5568 $as_echo "$AR" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5575 test -n "$AR" && break
5578 if test -z "$AR"; then
5582 # Extract the first word of "$ac_prog", so it can be a program name with args.
5583 set dummy $ac_prog; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$ac_ct_AR"; then
5590 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_ac_ct_AR="$ac_prog"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5610 if test -n "$ac_ct_AR"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5612 $as_echo "$ac_ct_AR" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5619 test -n "$ac_ct_AR" && break
5622 if test "x$ac_ct_AR" = x; then
5625 case $cross_compiling:$ac_tool_warned in
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5629 ac_tool_warned=yes ;;
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5649 $as_echo_n "checking for archiver @FILE support... " >&6; }
5650 if ${lt_cv_ar_at_file+:} false; then :
5651 $as_echo_n "(cached) " >&6
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5665 if ac_fn_c_try_compile "$LINENO"; then :
5666 echo conftest.$ac_objext > conftest.lst
5667 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5668 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5669 (eval $lt_ar_try) 2>&5
5671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5672 test $ac_status = 0; }
5673 if test "$ac_status" -eq 0; then
5674 # Ensure the archiver fails upon bogus file names.
5675 rm -f conftest.$ac_objext libconftest.a
5676 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5677 (eval $lt_ar_try) 2>&5
5679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5680 test $ac_status = 0; }
5681 if test "$ac_status" -ne 0; then
5685 rm -f conftest.* libconftest.a
5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5692 $as_echo "$lt_cv_ar_at_file" >&6; }
5694 if test "x$lt_cv_ar_at_file" = xno; then
5697 archiver_list_spec=$lt_cv_ar_at_file
5706 if test -n "$ac_tool_prefix"; then
5707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5708 set dummy ${ac_tool_prefix}strip; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; }
5711 if ${ac_cv_prog_STRIP+:} false; then :
5712 $as_echo_n "(cached) " >&6
5714 if test -n "$STRIP"; then
5715 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5724 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 STRIP=$ac_cv_prog_STRIP
5735 if test -n "$STRIP"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5737 $as_echo "$STRIP" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5745 if test -z "$ac_cv_prog_STRIP"; then
5747 # Extract the first word of "strip", so it can be a program name with args.
5748 set dummy strip; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -n "$ac_ct_STRIP"; then
5755 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_ac_ct_STRIP="strip"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5775 if test -n "$ac_ct_STRIP"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5777 $as_echo "$ac_ct_STRIP" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5783 if test "x$ac_ct_STRIP" = x; then
5786 case $cross_compiling:$ac_tool_warned in
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5790 ac_tool_warned=yes ;;
5795 STRIP="$ac_cv_prog_STRIP"
5798 test -z "$STRIP" && STRIP=:
5805 if test -n "$ac_tool_prefix"; then
5806 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5807 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5813 if test -n "$RANLIB"; then
5814 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 RANLIB=$ac_cv_prog_RANLIB
5834 if test -n "$RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5836 $as_echo "$RANLIB" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5844 if test -z "$ac_cv_prog_RANLIB"; then
5845 ac_ct_RANLIB=$RANLIB
5846 # Extract the first word of "ranlib", so it can be a program name with args.
5847 set dummy ranlib; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5851 $as_echo_n "(cached) " >&6
5853 if test -n "$ac_ct_RANLIB"; then
5854 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_ac_ct_RANLIB="ranlib"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5874 if test -n "$ac_ct_RANLIB"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5876 $as_echo "$ac_ct_RANLIB" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5882 if test "x$ac_ct_RANLIB" = x; then
5885 case $cross_compiling:$ac_tool_warned in
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5889 ac_tool_warned=yes ;;
5891 RANLIB=$ac_ct_RANLIB
5894 RANLIB="$ac_cv_prog_RANLIB"
5897 test -z "$RANLIB" && RANLIB=:
5904 # Determine commands to create old-style static archives.
5905 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5906 old_postinstall_cmds='chmod 644 $oldlib'
5907 old_postuninstall_cmds=
5909 if test -n "$RANLIB"; then
5912 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5915 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5918 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5923 lock_old_archive_extraction=yes ;;
5925 lock_old_archive_extraction=no ;;
5966 # If no C compiler was specified, use CC.
5969 # If no C compiler flags were specified, use CFLAGS.
5970 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5972 # Allow CC to be a program name with arguments.
5976 # Check for command to grab the raw symbol name followed by C symbol from nm.
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5978 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5979 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5980 $as_echo_n "(cached) " >&6
5983 # These are sane defaults that work on at least a few old systems.
5984 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5986 # Character class describing NM global symbol codes.
5987 symcode='[BCDEGRST]'
5989 # Regexp to match symbols that can be accessed directly from C.
5990 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5992 # Define system-specific variables.
5997 cygwin* | mingw* | pw32* | cegcc*)
5998 symcode='[ABCDGISTW]'
6001 if test "$host_cpu" = ia64; then
6002 symcode='[ABCDEGRST]'
6006 symcode='[BCDEGRST]'
6009 symcode='[BCDEGQRST]'
6020 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6028 # If we're using GNU nm, then use its standard symbol codes.
6029 case `$NM -V 2>&1` in
6030 *GNU* | *'with BFD'*)
6031 symcode='[ABCDGIRSTW]' ;;
6034 # Transform an extracted symbol line into a proper C declaration.
6035 # Some systems (esp. on ia64) link data and code symbols differently,
6036 # so use this general approach.
6037 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6039 # Transform an extracted symbol line into symbol name and symbol address
6040 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6041 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6043 # Handle CRLF in mingw tool chain
6047 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6051 # Try without a prefix underscore, then with it.
6052 for ac_symprfx in "" "_"; do
6054 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6055 symxfrm="\\1 $ac_symprfx\\2 \\2"
6057 # Write the raw and C identifiers.
6058 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6059 # Fake it for dumpbin and say T for any non-static function
6060 # and D for any global variable.
6061 # Also find C++ and __fastcall symbols from MSVC++,
6062 # which start with @ or ?.
6063 lt_cv_sys_global_symbol_pipe="$AWK '"\
6064 " {last_section=section; section=\$ 3};"\
6065 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6066 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6067 " \$ 0!~/External *\|/{next};"\
6068 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6069 " {if(hide[section]) next};"\
6070 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6071 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6072 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6073 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6074 " ' prfx=^$ac_symprfx"
6076 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6078 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6080 # Check to see that the pipe works correctly.
6084 cat > conftest.$ac_ext <<_LT_EOF
6089 void nm_test_func(void);
6090 void nm_test_func(void){}
6094 int main(){nm_test_var='a';nm_test_func();return(0);}
6097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6098 (eval $ac_compile) 2>&5
6100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101 test $ac_status = 0; }; then
6102 # Now try to grab the symbols.
6104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6105 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6108 test $ac_status = 0; } && test -s "$nlist"; then
6109 # Try sorting and uniquifying the output.
6110 if sort "$nlist" | uniq > "$nlist"T; then
6111 mv -f "$nlist"T "$nlist"
6116 # Make sure that we snagged all the symbols we need.
6117 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6118 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6119 cat <<_LT_EOF > conftest.$ac_ext
6120 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6121 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6122 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6123 relocations are performed -- see ld's documentation on pseudo-relocs. */
6124 # define LT_DLSYM_CONST
6125 #elif defined(__osf__)
6126 /* This system does not cope well with relocations in const data. */
6127 # define LT_DLSYM_CONST
6129 # define LT_DLSYM_CONST const
6137 # Now generate the symbol file.
6138 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6140 cat <<_LT_EOF >> conftest.$ac_ext
6142 /* The mapping between symbol names and symbols. */
6143 LT_DLSYM_CONST struct {
6147 lt__PROGRAM__LTX_preloaded_symbols[] =
6149 { "@PROGRAM@", (void *) 0 },
6151 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6152 cat <<\_LT_EOF >> conftest.$ac_ext
6156 /* This works around a problem in FreeBSD linker */
6157 #ifdef FREEBSD_WORKAROUND
6158 static const void *lt_preloaded_setup() {
6159 return lt__PROGRAM__LTX_preloaded_symbols;
6167 # Now try linking the two files.
6168 mv conftest.$ac_objext conftstm.$ac_objext
6169 lt_globsym_save_LIBS=$LIBS
6170 lt_globsym_save_CFLAGS=$CFLAGS
6171 LIBS="conftstm.$ac_objext"
6172 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6174 (eval $ac_link) 2>&5
6176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6177 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6180 LIBS=$lt_globsym_save_LIBS
6181 CFLAGS=$lt_globsym_save_CFLAGS
6183 echo "cannot find nm_test_func in $nlist" >&5
6186 echo "cannot find nm_test_var in $nlist" >&5
6189 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6192 echo "$progname: failed program was:" >&5
6193 cat conftest.$ac_ext >&5
6195 rm -rf conftest* conftst*
6197 # Do not use the global_symbol_pipe unless it works.
6198 if test "$pipe_works" = yes; then
6201 lt_cv_sys_global_symbol_pipe=
6207 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6208 lt_cv_sys_global_symbol_to_cdecl=
6210 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6212 $as_echo "failed" >&6; }
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6215 $as_echo "ok" >&6; }
6218 # Response file support.
6219 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6220 nm_file_list_spec='@'
6221 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6222 nm_file_list_spec='@'
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6252 $as_echo_n "checking for sysroot... " >&6; }
6254 # Check whether --with-sysroot was given.
6255 if test "${with_sysroot+set}" = set; then :
6256 withval=$with_sysroot;
6263 case ${with_sysroot} in #(
6265 if test "$GCC" = yes; then
6266 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6270 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6276 $as_echo "${with_sysroot}" >&6; }
6277 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6282 $as_echo "${lt_sysroot:-no}" >&6; }
6288 # Check whether --enable-libtool-lock was given.
6289 if test "${enable_libtool_lock+set}" = set; then :
6290 enableval=$enable_libtool_lock;
6293 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6295 # Some flags need to be propagated to the compiler or linker for good
6299 # Find out which ABI we are using.
6300 echo 'int i;' > conftest.$ac_ext
6301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6302 (eval $ac_compile) 2>&5
6304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6305 test $ac_status = 0; }; then
6306 case `/usr/bin/file conftest.$ac_objext` in
6318 # Find out which ABI we are using.
6319 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6321 (eval $ac_compile) 2>&5
6323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324 test $ac_status = 0; }; then
6325 if test "$lt_cv_prog_gnu_ld" = yes; then
6326 case `/usr/bin/file conftest.$ac_objext` in
6328 LD="${LD-ld} -melf32bsmip"
6331 LD="${LD-ld} -melf32bmipn32"
6334 LD="${LD-ld} -melf64bmip"
6338 case `/usr/bin/file conftest.$ac_objext` in
6354 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6355 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6356 # Find out which ABI we are using.
6357 echo 'int i;' > conftest.$ac_ext
6358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6359 (eval $ac_compile) 2>&5
6361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6362 test $ac_status = 0; }; then
6363 case `/usr/bin/file conftest.o` in
6366 x86_64-*kfreebsd*-gnu)
6367 LD="${LD-ld} -m elf_i386_fbsd"
6370 LD="${LD-ld} -m elf_i386"
6372 ppc64-*linux*|powerpc64-*linux*)
6373 LD="${LD-ld} -m elf32ppclinux"
6376 LD="${LD-ld} -m elf_s390"
6379 LD="${LD-ld} -m elf32_sparc"
6385 x86_64-*kfreebsd*-gnu)
6386 LD="${LD-ld} -m elf_x86_64_fbsd"
6389 LD="${LD-ld} -m elf_x86_64"
6391 ppc*-*linux*|powerpc*-*linux*)
6392 LD="${LD-ld} -m elf64ppc"
6394 s390*-*linux*|s390*-*tpf*)
6395 LD="${LD-ld} -m elf64_s390"
6398 LD="${LD-ld} -m elf64_sparc"
6408 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6409 SAVE_CFLAGS="$CFLAGS"
6410 CFLAGS="$CFLAGS -belf"
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6412 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6413 if ${lt_cv_cc_needs_belf+:} false; then :
6414 $as_echo_n "(cached) " >&6
6417 ac_cpp='$CPP $CPPFLAGS'
6418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6433 if ac_fn_c_try_link "$LINENO"; then :
6434 lt_cv_cc_needs_belf=yes
6436 lt_cv_cc_needs_belf=no
6438 rm -f core conftest.err conftest.$ac_objext \
6439 conftest$ac_exeext conftest.$ac_ext
6441 ac_cpp='$CPP $CPPFLAGS'
6442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6448 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6449 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6450 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6451 CFLAGS="$SAVE_CFLAGS"
6455 # Find out which ABI we are using.
6456 echo 'int i;' > conftest.$ac_ext
6457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6458 (eval $ac_compile) 2>&5
6460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6461 test $ac_status = 0; }; then
6462 case `/usr/bin/file conftest.o` in
6464 case $lt_cv_prog_gnu_ld in
6468 LD="${LD-ld} -m elf_x86_64"
6471 LD="${LD-ld} -m elf64_sparc"
6474 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6475 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6480 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6492 need_locks="$enable_libtool_lock"
6494 if test -n "$ac_tool_prefix"; then
6495 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6496 set dummy ${ac_tool_prefix}mt; ac_word=$2
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498 $as_echo_n "checking for $ac_word... " >&6; }
6499 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6500 $as_echo_n "(cached) " >&6
6502 if test -n "$MANIFEST_TOOL"; then
6503 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 test -z "$as_dir" && as_dir=.
6510 for ac_exec_ext in '' $ac_executable_extensions; do
6511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6512 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6523 if test -n "$MANIFEST_TOOL"; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6525 $as_echo "$MANIFEST_TOOL" >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528 $as_echo "no" >&6; }
6533 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6534 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6535 # Extract the first word of "mt", so it can be a program name with args.
6536 set dummy mt; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -n "$ac_ct_MANIFEST_TOOL"; then
6543 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6563 if test -n "$ac_ct_MANIFEST_TOOL"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6565 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6571 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6574 case $cross_compiling:$ac_tool_warned in
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6578 ac_tool_warned=yes ;;
6580 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6583 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6586 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6588 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6589 if ${lt_cv_path_mainfest_tool+:} false; then :
6590 $as_echo_n "(cached) " >&6
6592 lt_cv_path_mainfest_tool=no
6593 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6594 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6595 cat conftest.err >&5
6596 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6597 lt_cv_path_mainfest_tool=yes
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6602 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6603 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6613 rhapsody* | darwin*)
6614 if test -n "$ac_tool_prefix"; then
6615 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6616 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618 $as_echo_n "checking for $ac_word... " >&6; }
6619 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6620 $as_echo_n "(cached) " >&6
6622 if test -n "$DSYMUTIL"; then
6623 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6632 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6643 if test -n "$DSYMUTIL"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6645 $as_echo "$DSYMUTIL" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 $as_echo "no" >&6; }
6653 if test -z "$ac_cv_prog_DSYMUTIL"; then
6654 ac_ct_DSYMUTIL=$DSYMUTIL
6655 # Extract the first word of "dsymutil", so it can be a program name with args.
6656 set dummy dsymutil; ac_word=$2
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 $as_echo_n "checking for $ac_word... " >&6; }
6659 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6660 $as_echo_n "(cached) " >&6
6662 if test -n "$ac_ct_DSYMUTIL"; then
6663 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6672 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6683 if test -n "$ac_ct_DSYMUTIL"; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6685 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6691 if test "x$ac_ct_DSYMUTIL" = x; then
6694 case $cross_compiling:$ac_tool_warned in
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6698 ac_tool_warned=yes ;;
6700 DSYMUTIL=$ac_ct_DSYMUTIL
6703 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if ${ac_cv_prog_NMEDIT+:} false; then :
6712 $as_echo_n "(cached) " >&6
6714 if test -n "$NMEDIT"; then
6715 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 NMEDIT=$ac_cv_prog_NMEDIT
6735 if test -n "$NMEDIT"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6737 $as_echo "$NMEDIT" >&6; }
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6745 if test -z "$ac_cv_prog_NMEDIT"; then
6746 ac_ct_NMEDIT=$NMEDIT
6747 # Extract the first word of "nmedit", so it can be a program name with args.
6748 set dummy nmedit; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6752 $as_echo_n "(cached) " >&6
6754 if test -n "$ac_ct_NMEDIT"; then
6755 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6775 if test -n "$ac_ct_NMEDIT"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6777 $as_echo "$ac_ct_NMEDIT" >&6; }
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6783 if test "x$ac_ct_NMEDIT" = x; then
6786 case $cross_compiling:$ac_tool_warned in
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6790 ac_tool_warned=yes ;;
6792 NMEDIT=$ac_ct_NMEDIT
6795 NMEDIT="$ac_cv_prog_NMEDIT"
6798 if test -n "$ac_tool_prefix"; then
6799 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6800 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802 $as_echo_n "checking for $ac_word... " >&6; }
6803 if ${ac_cv_prog_LIPO+:} false; then :
6804 $as_echo_n "(cached) " >&6
6806 if test -n "$LIPO"; then
6807 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir=.
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6816 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826 LIPO=$ac_cv_prog_LIPO
6827 if test -n "$LIPO"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6829 $as_echo "$LIPO" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 $as_echo "no" >&6; }
6837 if test -z "$ac_cv_prog_LIPO"; then
6839 # Extract the first word of "lipo", so it can be a program name with args.
6840 set dummy lipo; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842 $as_echo_n "checking for $ac_word... " >&6; }
6843 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6844 $as_echo_n "(cached) " >&6
6846 if test -n "$ac_ct_LIPO"; then
6847 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6856 ac_cv_prog_ac_ct_LIPO="lipo"
6857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6867 if test -n "$ac_ct_LIPO"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6869 $as_echo "$ac_ct_LIPO" >&6; }
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 $as_echo "no" >&6; }
6875 if test "x$ac_ct_LIPO" = x; then
6878 case $cross_compiling:$ac_tool_warned in
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6882 ac_tool_warned=yes ;;
6887 LIPO="$ac_cv_prog_LIPO"
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}otool; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_OTOOL+:} false; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$OTOOL"; then
6899 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 OTOOL=$ac_cv_prog_OTOOL
6919 if test -n "$OTOOL"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6921 $as_echo "$OTOOL" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6929 if test -z "$ac_cv_prog_OTOOL"; then
6931 # Extract the first word of "otool", so it can be a program name with args.
6932 set dummy otool; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$ac_ct_OTOOL"; then
6939 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_prog_ac_ct_OTOOL="otool"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6959 if test -n "$ac_ct_OTOOL"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6961 $as_echo "$ac_ct_OTOOL" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6967 if test "x$ac_ct_OTOOL" = x; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6979 OTOOL="$ac_cv_prog_OTOOL"
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6984 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_OTOOL64+:} false; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$OTOOL64"; then
6991 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 OTOOL64=$ac_cv_prog_OTOOL64
7011 if test -n "$OTOOL64"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7013 $as_echo "$OTOOL64" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_OTOOL64"; then
7022 ac_ct_OTOOL64=$OTOOL64
7023 # Extract the first word of "otool64", so it can be a program name with args.
7024 set dummy otool64; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$ac_ct_OTOOL64"; then
7031 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040 ac_cv_prog_ac_ct_OTOOL64="otool64"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7051 if test -n "$ac_ct_OTOOL64"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7053 $as_echo "$ac_ct_OTOOL64" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_OTOOL64" = x; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned=yes ;;
7068 OTOOL64=$ac_ct_OTOOL64
7071 OTOOL64="$ac_cv_prog_OTOOL64"
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7101 $as_echo_n "checking for -single_module linker flag... " >&6; }
7102 if ${lt_cv_apple_cc_single_mod+:} false; then :
7103 $as_echo_n "(cached) " >&6
7105 lt_cv_apple_cc_single_mod=no
7106 if test -z "${LT_MULTI_MODULE}"; then
7107 # By default we will add the -single_module flag. You can override
7108 # by either setting the environment variable LT_MULTI_MODULE
7109 # non-empty at configure time, or by adding -multi_module to the
7111 rm -rf libconftest.dylib*
7112 echo "int foo(void){return 1;}" > conftest.c
7113 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7114 -dynamiclib -Wl,-single_module conftest.c" >&5
7115 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7116 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7118 # If there is a non-empty error log, and "single_module"
7119 # appears in it, assume the flag caused a linker warning
7120 if test -s conftest.err && $GREP single_module conftest.err; then
7121 cat conftest.err >&5
7122 # Otherwise, if the output was created with a 0 exit code from
7123 # the compiler, it worked.
7124 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7125 lt_cv_apple_cc_single_mod=yes
7127 cat conftest.err >&5
7129 rm -rf libconftest.dylib*
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7134 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7137 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7138 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7139 $as_echo_n "(cached) " >&6
7141 lt_cv_ld_exported_symbols_list=no
7142 save_LDFLAGS=$LDFLAGS
7143 echo "_main" > conftest.sym
7144 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h. */
7156 if ac_fn_c_try_link "$LINENO"; then :
7157 lt_cv_ld_exported_symbols_list=yes
7159 lt_cv_ld_exported_symbols_list=no
7161 rm -f core conftest.err conftest.$ac_objext \
7162 conftest$ac_exeext conftest.$ac_ext
7163 LDFLAGS="$save_LDFLAGS"
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7167 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7170 $as_echo_n "checking for -force_load linker flag... " >&6; }
7171 if ${lt_cv_ld_force_load+:} false; then :
7172 $as_echo_n "(cached) " >&6
7174 lt_cv_ld_force_load=no
7175 cat > conftest.c << _LT_EOF
7176 int forced_loaded() { return 2;}
7178 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7179 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7180 echo "$AR cru libconftest.a conftest.o" >&5
7181 $AR cru libconftest.a conftest.o 2>&5
7182 echo "$RANLIB libconftest.a" >&5
7183 $RANLIB libconftest.a 2>&5
7184 cat > conftest.c << _LT_EOF
7185 int main() { return 0;}
7187 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7188 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7190 if test -s conftest.err && $GREP force_load conftest.err; then
7191 cat conftest.err >&5
7192 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7193 lt_cv_ld_force_load=yes
7195 cat conftest.err >&5
7197 rm -f conftest.err libconftest.a conftest conftest.c
7198 rm -rf conftest.dSYM
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7202 $as_echo "$lt_cv_ld_force_load" >&6; }
7204 rhapsody* | darwin1.[012])
7205 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7207 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7208 darwin*) # darwin 5.x on
7209 # if running on 10.5 or later, the deployment target defaults
7210 # to the OS version, if on x86, and 10.4, the deployment
7211 # target defaults to 10.4. Don't you love it?
7212 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7213 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7214 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7216 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7218 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7222 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7223 _lt_dar_single_mod='$single_module'
7225 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7226 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7228 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7230 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7231 _lt_dsymutil='~$DSYMUTIL $lib || :'
7239 ac_cpp='$CPP $CPPFLAGS'
7240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7244 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7245 # On Suns, sometimes $CPP names a directory.
7246 if test -n "$CPP" && test -d "$CPP"; then
7249 if test -z "$CPP"; then
7250 if ${ac_cv_prog_CPP+:} false; then :
7251 $as_echo_n "(cached) " >&6
7253 # Double quotes because CPP needs to be expanded
7254 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7257 for ac_c_preproc_warn_flag in '' yes
7259 # Use a header file that comes with gcc, so configuring glibc
7260 # with a fresh cross-compiler works.
7261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7262 # <limits.h> exists even on freestanding compilers.
7263 # On the NeXT, cc -E runs the code through the compiler's parser,
7264 # not just through cpp. "Syntax error" is here to catch this case.
7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7268 # include <limits.h>
7270 # include <assert.h>
7274 if ac_fn_c_try_cpp "$LINENO"; then :
7277 # Broken: fails on valid input.
7280 rm -f conftest.err conftest.i conftest.$ac_ext
7282 # OK, works on sane cases. Now check whether nonexistent headers
7283 # can be detected and how.
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7286 #include <ac_nonexistent.h>
7288 if ac_fn_c_try_cpp "$LINENO"; then :
7289 # Broken: success on invalid input.
7292 # Passes both tests.
7296 rm -f conftest.err conftest.i conftest.$ac_ext
7299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7300 rm -f conftest.i conftest.err conftest.$ac_ext
7301 if $ac_preproc_ok; then :
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7314 $as_echo "$CPP" >&6; }
7316 for ac_c_preproc_warn_flag in '' yes
7318 # Use a header file that comes with gcc, so configuring glibc
7319 # with a fresh cross-compiler works.
7320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7321 # <limits.h> exists even on freestanding compilers.
7322 # On the NeXT, cc -E runs the code through the compiler's parser,
7323 # not just through cpp. "Syntax error" is here to catch this case.
7324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7327 # include <limits.h>
7329 # include <assert.h>
7333 if ac_fn_c_try_cpp "$LINENO"; then :
7336 # Broken: fails on valid input.
7339 rm -f conftest.err conftest.i conftest.$ac_ext
7341 # OK, works on sane cases. Now check whether nonexistent headers
7342 # can be detected and how.
7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7345 #include <ac_nonexistent.h>
7347 if ac_fn_c_try_cpp "$LINENO"; then :
7348 # Broken: success on invalid input.
7351 # Passes both tests.
7355 rm -f conftest.err conftest.i conftest.$ac_ext
7358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7359 rm -f conftest.i conftest.err conftest.$ac_ext
7360 if $ac_preproc_ok; then :
7363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7365 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7366 See \`config.log' for more details" "$LINENO" 5; }
7370 ac_cpp='$CPP $CPPFLAGS'
7371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7377 $as_echo_n "checking for ANSI C header files... " >&6; }
7378 if ${ac_cv_header_stdc+:} false; then :
7379 $as_echo_n "(cached) " >&6
7381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7382 /* end confdefs.h. */
7396 if ac_fn_c_try_compile "$LINENO"; then :
7397 ac_cv_header_stdc=yes
7399 ac_cv_header_stdc=no
7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7403 if test $ac_cv_header_stdc = yes; then
7404 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7411 $EGREP "memchr" >/dev/null 2>&1; then :
7414 ac_cv_header_stdc=no
7420 if test $ac_cv_header_stdc = yes; then
7421 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7428 $EGREP "free" >/dev/null 2>&1; then :
7431 ac_cv_header_stdc=no
7437 if test $ac_cv_header_stdc = yes; then
7438 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7439 if test "$cross_compiling" = yes; then :
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7446 #if ((' ' & 0x0FF) == 0x020)
7447 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7448 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7450 # define ISLOWER(c) \
7451 (('a' <= (c) && (c) <= 'i') \
7452 || ('j' <= (c) && (c) <= 'r') \
7453 || ('s' <= (c) && (c) <= 'z'))
7454 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7457 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7462 for (i = 0; i < 256; i++)
7463 if (XOR (islower (i), ISLOWER (i))
7464 || toupper (i) != TOUPPER (i))
7469 if ac_fn_c_try_run "$LINENO"; then :
7472 ac_cv_header_stdc=no
7474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7475 conftest.$ac_objext conftest.beam conftest.$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7481 $as_echo "$ac_cv_header_stdc" >&6; }
7482 if test $ac_cv_header_stdc = yes; then
7484 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7488 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7489 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7490 inttypes.h stdint.h unistd.h
7492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7493 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7495 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7496 cat >>confdefs.h <<_ACEOF
7497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7505 for ac_header in dlfcn.h
7507 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7509 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7510 cat >>confdefs.h <<_ACEOF
7511 #define HAVE_DLFCN_H 1
7523 # Check whether --enable-static was given.
7524 if test "${enable_static+set}" = set; then :
7525 enableval=$enable_static; p=${PACKAGE-default}
7527 yes) enable_static=yes ;;
7528 no) enable_static=no ;;
7531 # Look at the argument we got. We use all the common list separators.
7532 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7533 for pkg in $enableval; do
7535 if test "X$pkg" = "X$p"; then
7561 # Check whether --enable-shared was given.
7562 if test "${enable_shared+set}" = set; then :
7563 enableval=$enable_shared; p=${PACKAGE-default}
7565 yes) enable_shared=yes ;;
7566 no) enable_shared=no ;;
7569 # Look at the argument we got. We use all the common list separators.
7570 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7571 for pkg in $enableval; do
7573 if test "X$pkg" = "X$p"; then
7594 # Check whether --with-pic was given.
7595 if test "${with_pic+set}" = set; then :
7596 withval=$with_pic; lt_p=${PACKAGE-default}
7598 yes|no) pic_mode=$withval ;;
7601 # Look at the argument we got. We use all the common list separators.
7602 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7603 for lt_pkg in $withval; do
7605 if test "X$lt_pkg" = "X$lt_p"; then
7617 test -z "$pic_mode" && pic_mode=default
7625 # Check whether --enable-fast-install was given.
7626 if test "${enable_fast_install+set}" = set; then :
7627 enableval=$enable_fast_install; p=${PACKAGE-default}
7629 yes) enable_fast_install=yes ;;
7630 no) enable_fast_install=no ;;
7632 enable_fast_install=no
7633 # Look at the argument we got. We use all the common list separators.
7634 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7635 for pkg in $enableval; do
7637 if test "X$pkg" = "X$p"; then
7638 enable_fast_install=yes
7645 enable_fast_install=yes
7658 # This can be used to rebuild libtool when needed
7659 LIBTOOL_DEPS="$ltmain"
7661 # Always use our own libtool.
7662 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7693 test -z "$LN_S" && LN_S="ln -s"
7708 if test -n "${ZSH_VERSION+set}" ; then
7709 setopt NO_GLOB_SUBST
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7713 $as_echo_n "checking for objdir... " >&6; }
7714 if ${lt_cv_objdir+:} false; then :
7715 $as_echo_n "(cached) " >&6
7717 rm -f .libs 2>/dev/null
7718 mkdir .libs 2>/dev/null
7719 if test -d .libs; then
7722 # MS-DOS does not allow filenames that begin with a dot.
7725 rmdir .libs 2>/dev/null
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7728 $as_echo "$lt_cv_objdir" >&6; }
7729 objdir=$lt_cv_objdir
7735 cat >>confdefs.h <<_ACEOF
7736 #define LT_OBJDIR "$lt_cv_objdir/"
7744 # AIX sometimes has problems with the GCC collect2 program. For some
7745 # reason, if we set the COLLECT_NAMES environment variable, the problems
7746 # vanish in a puff of smoke.
7747 if test "X${COLLECT_NAMES+set}" != Xset; then
7749 export COLLECT_NAMES
7756 can_build_shared=yes
7758 # All known linkers require a `.a' archive for static linking (except MSVC,
7759 # which needs '.lib').
7762 with_gnu_ld="$lt_cv_prog_gnu_ld"
7765 old_CFLAGS="$CFLAGS"
7767 # Set sane defaults for various variables
7768 test -z "$CC" && CC=cc
7769 test -z "$LTCC" && LTCC=$CC
7770 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7771 test -z "$LD" && LD=ld
7772 test -z "$ac_objext" && ac_objext=o
7774 for cc_temp in $compiler""; do
7776 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7777 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7782 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7785 # Only perform the check for file, if the check method requires it
7786 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7787 case $deplibs_check_method in
7789 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7791 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7792 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7793 $as_echo_n "(cached) " >&6
7797 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7800 lt_save_MAGIC_CMD="$MAGIC_CMD"
7801 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7802 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7803 for ac_dir in $ac_dummy; do
7805 test -z "$ac_dir" && ac_dir=.
7806 if test -f $ac_dir/${ac_tool_prefix}file; then
7807 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7808 if test -n "$file_magic_test_file"; then
7809 case $deplibs_check_method in
7811 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7812 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7813 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7814 $EGREP "$file_magic_regex" > /dev/null; then
7819 *** Warning: the command libtool uses to detect shared libraries,
7820 *** $file_magic_cmd, produces output that libtool cannot recognize.
7821 *** The result is that libtool may fail to recognize shared libraries
7822 *** as such. This will affect the creation of libtool libraries that
7823 *** depend on shared libraries, but programs linked with such libtool
7824 *** libraries will work regardless of this problem. Nevertheless, you
7825 *** may want to report the problem to your system manager and/or to
7826 *** bug-libtool@gnu.org
7836 MAGIC_CMD="$lt_save_MAGIC_CMD"
7841 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7842 if test -n "$MAGIC_CMD"; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7844 $as_echo "$MAGIC_CMD" >&6; }
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7854 if test -z "$lt_cv_path_MAGIC_CMD"; then
7855 if test -n "$ac_tool_prefix"; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7857 $as_echo_n "checking for file... " >&6; }
7858 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7859 $as_echo_n "(cached) " >&6
7863 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7866 lt_save_MAGIC_CMD="$MAGIC_CMD"
7867 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7868 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7869 for ac_dir in $ac_dummy; do
7871 test -z "$ac_dir" && ac_dir=.
7872 if test -f $ac_dir/file; then
7873 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7874 if test -n "$file_magic_test_file"; then
7875 case $deplibs_check_method in
7877 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7878 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7879 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7880 $EGREP "$file_magic_regex" > /dev/null; then
7885 *** Warning: the command libtool uses to detect shared libraries,
7886 *** $file_magic_cmd, produces output that libtool cannot recognize.
7887 *** The result is that libtool may fail to recognize shared libraries
7888 *** as such. This will affect the creation of libtool libraries that
7889 *** depend on shared libraries, but programs linked with such libtool
7890 *** libraries will work regardless of this problem. Nevertheless, you
7891 *** may want to report the problem to your system manager and/or to
7892 *** bug-libtool@gnu.org
7902 MAGIC_CMD="$lt_save_MAGIC_CMD"
7907 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7908 if test -n "$MAGIC_CMD"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7910 $as_echo "$MAGIC_CMD" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7926 # Use C for the default configuration in the libtool script
7930 ac_cpp='$CPP $CPPFLAGS'
7931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7936 # Source file extension for C test sources.
7939 # Object file extension for compiled C test sources.
7943 # Code to be used in simple compile tests
7944 lt_simple_compile_test_code="int some_variable = 0;"
7946 # Code to be used in simple link tests
7947 lt_simple_link_test_code='int main(){return(0);}'
7955 # If no C compiler was specified, use CC.
7958 # If no C compiler flags were specified, use CFLAGS.
7959 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7961 # Allow CC to be a program name with arguments.
7964 # Save the default compiler, since it gets overwritten when the other
7965 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7966 compiler_DEFAULT=$CC
7968 # save warnings/boilerplate of simple test code
7969 ac_outfile=conftest.$ac_objext
7970 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7971 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7972 _lt_compiler_boilerplate=`cat conftest.err`
7975 ac_outfile=conftest.$ac_objext
7976 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7977 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7978 _lt_linker_boilerplate=`cat conftest.err`
7982 if test -n "$compiler"; then
7984 lt_prog_compiler_no_builtin_flag=
7986 if test "$GCC" = yes; then
7987 case $cc_basename in
7989 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7991 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7995 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7996 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7997 $as_echo_n "(cached) " >&6
7999 lt_cv_prog_compiler_rtti_exceptions=no
8000 ac_outfile=conftest.$ac_objext
8001 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8002 lt_compiler_flag="-fno-rtti -fno-exceptions"
8003 # Insert the option either (1) after the last *FLAGS variable, or
8004 # (2) before a word containing "conftest.", or (3) at the end.
8005 # Note that $ac_compile itself does not contain backslashes and begins
8006 # with a dollar sign (not a hyphen), so the echo should work correctly.
8007 # The option is referenced via a variable to avoid confusing sed.
8008 lt_compile=`echo "$ac_compile" | $SED \
8009 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8011 -e 's:$: $lt_compiler_flag:'`
8012 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8013 (eval "$lt_compile" 2>conftest.err)
8015 cat conftest.err >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 if (exit $ac_status) && test -s "$ac_outfile"; then
8018 # The compiler can only warn and ignore the option if not recognized
8019 # So say no if there are warnings other than the usual output.
8020 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8021 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8022 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8023 lt_cv_prog_compiler_rtti_exceptions=yes
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8030 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8032 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8033 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8045 lt_prog_compiler_wl=
8046 lt_prog_compiler_pic=
8047 lt_prog_compiler_static=
8050 if test "$GCC" = yes; then
8051 lt_prog_compiler_wl='-Wl,'
8052 lt_prog_compiler_static='-static'
8056 # All AIX code is PIC.
8057 if test "$host_cpu" = ia64; then
8058 # AIX 5 now supports IA64 processor
8059 lt_prog_compiler_static='-Bstatic'
8066 # see comment about AmigaOS4 .so support
8067 lt_prog_compiler_pic='-fPIC'
8070 # FIXME: we need at least 68020 code to build shared libraries, but
8071 # adding the `-m68020' flag to GCC prevents building anything better,
8073 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8078 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8079 # PIC is the default for these OSes.
8082 mingw* | cygwin* | pw32* | os2* | cegcc*)
8083 # This hack is so that the source file can tell whether it is being
8084 # built for inclusion in a dll (and should export symbols for example).
8085 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8086 # (--disable-auto-import) libraries
8087 lt_prog_compiler_pic='-DDLL_EXPORT'
8090 darwin* | rhapsody*)
8091 # PIC is the default on this platform
8092 # Common symbols not allowed in MH_DYLIB files
8093 lt_prog_compiler_pic='-fno-common'
8097 # PIC is the default for Haiku.
8098 # The "-static" flag exists, but is broken.
8099 lt_prog_compiler_static=
8103 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8104 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8105 # sets the default TLS model and affects inlining.
8111 lt_prog_compiler_pic='-fPIC'
8117 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8118 # Instead, we relocate shared libraries at runtime.
8122 # Just because we use GCC doesn't mean we suddenly get shared libraries
8123 # on systems that don't support them.
8124 lt_prog_compiler_can_build_shared=no
8129 # QNX uses GNU C++, but need to define -shared option too, otherwise
8131 lt_prog_compiler_pic='-fPIC -shared'
8135 if test -d /usr/nec; then
8136 lt_prog_compiler_pic=-Kconform_pic
8141 lt_prog_compiler_pic='-fPIC'
8145 case $cc_basename in
8146 nvcc*) # Cuda Compiler Driver 2.2
8147 lt_prog_compiler_wl='-Xlinker '
8148 if test -n "$lt_prog_compiler_pic"; then
8149 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8154 # PORTME Check for flag to pass linker flags through the system compiler.
8157 lt_prog_compiler_wl='-Wl,'
8158 if test "$host_cpu" = ia64; then
8159 # AIX 5 now supports IA64 processor
8160 lt_prog_compiler_static='-Bstatic'
8162 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8166 mingw* | cygwin* | pw32* | os2* | cegcc*)
8167 # This hack is so that the source file can tell whether it is being
8168 # built for inclusion in a dll (and should export symbols for example).
8169 lt_prog_compiler_pic='-DDLL_EXPORT'
8172 hpux9* | hpux10* | hpux11*)
8173 lt_prog_compiler_wl='-Wl,'
8174 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8181 lt_prog_compiler_pic='+Z'
8184 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8185 lt_prog_compiler_static='${wl}-a ${wl}archive'
8188 irix5* | irix6* | nonstopux*)
8189 lt_prog_compiler_wl='-Wl,'
8190 # PIC (with -KPIC) is the default.
8191 lt_prog_compiler_static='-non_shared'
8194 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8195 case $cc_basename in
8196 # old Intel for x86_64 which still supported -KPIC.
8198 lt_prog_compiler_wl='-Wl,'
8199 lt_prog_compiler_pic='-KPIC'
8200 lt_prog_compiler_static='-static'
8202 # icc used to be incompatible with GCC.
8203 # ICC 10 doesn't accept -KPIC any more.
8205 lt_prog_compiler_wl='-Wl,'
8206 lt_prog_compiler_pic='-fPIC'
8207 lt_prog_compiler_static='-static'
8209 # Lahey Fortran 8.1.
8211 lt_prog_compiler_wl='-Wl,'
8212 lt_prog_compiler_pic='--shared'
8213 lt_prog_compiler_static='--static'
8216 # NAG Fortran compiler
8217 lt_prog_compiler_wl='-Wl,-Wl,,'
8218 lt_prog_compiler_pic='-PIC'
8219 lt_prog_compiler_static='-Bstatic'
8221 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8222 # Portland Group compilers (*not* the Pentium gcc compiler,
8223 # which looks to be a dead project)
8224 lt_prog_compiler_wl='-Wl,'
8225 lt_prog_compiler_pic='-fpic'
8226 lt_prog_compiler_static='-Bstatic'
8229 lt_prog_compiler_wl='-Wl,'
8230 # All Alpha code is PIC.
8231 lt_prog_compiler_static='-non_shared'
8233 xl* | bgxl* | bgf* | mpixl*)
8234 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8235 lt_prog_compiler_wl='-Wl,'
8236 lt_prog_compiler_pic='-qpic'
8237 lt_prog_compiler_static='-qstaticlink'
8240 case `$CC -V 2>&1 | sed 5q` in
8241 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8242 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8243 lt_prog_compiler_pic='-KPIC'
8244 lt_prog_compiler_static='-Bstatic'
8245 lt_prog_compiler_wl=''
8247 *Sun\ F* | *Sun*Fortran*)
8248 lt_prog_compiler_pic='-KPIC'
8249 lt_prog_compiler_static='-Bstatic'
8250 lt_prog_compiler_wl='-Qoption ld '
8254 lt_prog_compiler_pic='-KPIC'
8255 lt_prog_compiler_static='-Bstatic'
8256 lt_prog_compiler_wl='-Wl,'
8258 *Intel*\ [CF]*Compiler*)
8259 lt_prog_compiler_wl='-Wl,'
8260 lt_prog_compiler_pic='-fPIC'
8261 lt_prog_compiler_static='-static'
8264 lt_prog_compiler_wl='-Wl,'
8265 lt_prog_compiler_pic='-fpic'
8266 lt_prog_compiler_static='-Bstatic'
8274 lt_prog_compiler_pic='-KPIC'
8275 lt_prog_compiler_static='-Bstatic'
8279 # QNX uses GNU C++, but need to define -shared option too, otherwise
8281 lt_prog_compiler_pic='-fPIC -shared'
8284 osf3* | osf4* | osf5*)
8285 lt_prog_compiler_wl='-Wl,'
8286 # All OSF/1 code is PIC.
8287 lt_prog_compiler_static='-non_shared'
8291 lt_prog_compiler_static='-non_shared'
8295 lt_prog_compiler_pic='-KPIC'
8296 lt_prog_compiler_static='-Bstatic'
8297 case $cc_basename in
8298 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8299 lt_prog_compiler_wl='-Qoption ld ';;
8301 lt_prog_compiler_wl='-Wl,';;
8306 lt_prog_compiler_wl='-Qoption ld '
8307 lt_prog_compiler_pic='-PIC'
8308 lt_prog_compiler_static='-Bstatic'
8311 sysv4 | sysv4.2uw2* | sysv4.3*)
8312 lt_prog_compiler_wl='-Wl,'
8313 lt_prog_compiler_pic='-KPIC'
8314 lt_prog_compiler_static='-Bstatic'
8318 if test -d /usr/nec ;then
8319 lt_prog_compiler_pic='-Kconform_pic'
8320 lt_prog_compiler_static='-Bstatic'
8324 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8325 lt_prog_compiler_wl='-Wl,'
8326 lt_prog_compiler_pic='-KPIC'
8327 lt_prog_compiler_static='-Bstatic'
8331 lt_prog_compiler_wl='-Wl,'
8332 lt_prog_compiler_can_build_shared=no
8336 lt_prog_compiler_pic='-pic'
8337 lt_prog_compiler_static='-Bstatic'
8341 lt_prog_compiler_can_build_shared=no
8347 # For platforms which do not support PIC, -DPIC is meaningless:
8349 lt_prog_compiler_pic=
8352 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8357 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8358 if ${lt_cv_prog_compiler_pic+:} false; then :
8359 $as_echo_n "(cached) " >&6
8361 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8364 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8365 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8368 # Check to make sure the PIC flag actually works.
8370 if test -n "$lt_prog_compiler_pic"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8372 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8373 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8374 $as_echo_n "(cached) " >&6
8376 lt_cv_prog_compiler_pic_works=no
8377 ac_outfile=conftest.$ac_objext
8378 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8379 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8380 # Insert the option either (1) after the last *FLAGS variable, or
8381 # (2) before a word containing "conftest.", or (3) at the end.
8382 # Note that $ac_compile itself does not contain backslashes and begins
8383 # with a dollar sign (not a hyphen), so the echo should work correctly.
8384 # The option is referenced via a variable to avoid confusing sed.
8385 lt_compile=`echo "$ac_compile" | $SED \
8386 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8388 -e 's:$: $lt_compiler_flag:'`
8389 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8390 (eval "$lt_compile" 2>conftest.err)
8392 cat conftest.err >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 if (exit $ac_status) && test -s "$ac_outfile"; then
8395 # The compiler can only warn and ignore the option if not recognized
8396 # So say no if there are warnings other than the usual output.
8397 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8398 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8399 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8400 lt_cv_prog_compiler_pic_works=yes
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8407 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8409 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8410 case $lt_prog_compiler_pic in
8412 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8415 lt_prog_compiler_pic=
8416 lt_prog_compiler_can_build_shared=no
8432 # Check to make sure the static flag actually works.
8434 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8436 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8437 if ${lt_cv_prog_compiler_static_works+:} false; then :
8438 $as_echo_n "(cached) " >&6
8440 lt_cv_prog_compiler_static_works=no
8441 save_LDFLAGS="$LDFLAGS"
8442 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8443 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8444 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8445 # The linker can only warn and ignore the option if not recognized
8446 # So say no if there are warnings
8447 if test -s conftest.err; then
8448 # Append any errors to the config.log.
8449 cat conftest.err 1>&5
8450 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8451 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8452 if diff conftest.exp conftest.er2 >/dev/null; then
8453 lt_cv_prog_compiler_static_works=yes
8456 lt_cv_prog_compiler_static_works=yes
8460 LDFLAGS="$save_LDFLAGS"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8464 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8466 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8469 lt_prog_compiler_static=
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8479 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8480 if ${lt_cv_prog_compiler_c_o+:} false; then :
8481 $as_echo_n "(cached) " >&6
8483 lt_cv_prog_compiler_c_o=no
8484 $RM -r conftest 2>/dev/null
8488 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8490 lt_compiler_flag="-o out/conftest2.$ac_objext"
8491 # Insert the option either (1) after the last *FLAGS variable, or
8492 # (2) before a word containing "conftest.", or (3) at the end.
8493 # Note that $ac_compile itself does not contain backslashes and begins
8494 # with a dollar sign (not a hyphen), so the echo should work correctly.
8495 lt_compile=`echo "$ac_compile" | $SED \
8496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8498 -e 's:$: $lt_compiler_flag:'`
8499 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8500 (eval "$lt_compile" 2>out/conftest.err)
8502 cat out/conftest.err >&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8506 # The compiler can only warn and ignore the option if not recognized
8507 # So say no if there are warnings
8508 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8509 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8510 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8511 lt_cv_prog_compiler_c_o=yes
8516 # SGI C++ compiler will create directory out/ii_files/ for
8517 # template instantiation
8518 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8519 $RM out/* && rmdir out
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8526 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8534 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8535 if ${lt_cv_prog_compiler_c_o+:} false; then :
8536 $as_echo_n "(cached) " >&6
8538 lt_cv_prog_compiler_c_o=no
8539 $RM -r conftest 2>/dev/null
8543 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8545 lt_compiler_flag="-o out/conftest2.$ac_objext"
8546 # Insert the option either (1) after the last *FLAGS variable, or
8547 # (2) before a word containing "conftest.", or (3) at the end.
8548 # Note that $ac_compile itself does not contain backslashes and begins
8549 # with a dollar sign (not a hyphen), so the echo should work correctly.
8550 lt_compile=`echo "$ac_compile" | $SED \
8551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8553 -e 's:$: $lt_compiler_flag:'`
8554 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8555 (eval "$lt_compile" 2>out/conftest.err)
8557 cat out/conftest.err >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8561 # The compiler can only warn and ignore the option if not recognized
8562 # So say no if there are warnings
8563 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8564 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8565 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8566 lt_cv_prog_compiler_c_o=yes
8571 # SGI C++ compiler will create directory out/ii_files/ for
8572 # template instantiation
8573 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8574 $RM out/* && rmdir out
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8581 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8586 hard_links="nottested"
8587 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8588 # do not overwrite the value of need_locks provided by the user
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8590 $as_echo_n "checking if we can lock with hard links... " >&6; }
8593 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8595 ln conftest.a conftest.b 2>&5 || hard_links=no
8596 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8598 $as_echo "$hard_links" >&6; }
8599 if test "$hard_links" = no; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8601 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8614 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8617 allow_undefined_flag=
8618 always_export_symbols=no
8620 archive_expsym_cmds=
8621 compiler_needs_object=no
8622 enable_shared_with_static_runtimes=no
8623 export_dynamic_flag_spec=
8624 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8625 hardcode_automatic=no
8627 hardcode_direct_absolute=no
8628 hardcode_libdir_flag_spec=
8629 hardcode_libdir_separator=
8631 hardcode_shlibpath_var=unsupported
8633 link_all_deplibs=unknown
8636 old_archive_from_new_cmds=
8637 old_archive_from_expsyms_cmds=
8638 thread_safe_flag_spec=
8639 whole_archive_flag_spec=
8640 # include_expsyms should be a list of space-separated symbols to be *always*
8641 # included in the symbol list
8643 # exclude_expsyms can be an extended regexp of symbols to exclude
8644 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8645 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8646 # as well as any symbol that contains `d'.
8647 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8648 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8649 # platforms (ab)use it in PIC code, but their linkers get confused if
8650 # the symbol is explicitly referenced. Since portable code cannot
8651 # rely on this symbol name, it's probably fine to never include it in
8652 # preloaded symbol tables.
8653 # Exclude shared library initialization/finalization symbols.
8654 extract_expsyms_cmds=
8657 cygwin* | mingw* | pw32* | cegcc*)
8658 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8659 # When not using gcc, we currently assume that we are using
8660 # Microsoft Visual C++.
8661 if test "$GCC" != yes; then
8666 # we just hope/assume this is gcc and not c89 (= MSVC++)
8672 linux* | k*bsd*-gnu | gnu*)
8679 # On some targets, GNU ld is compatible enough with the native linker
8680 # that we're better off using the native interface for both.
8681 lt_use_gnu_ld_interface=no
8682 if test "$with_gnu_ld" = yes; then
8685 # The AIX port of GNU ld has always aspired to compatibility
8686 # with the native linker. However, as the warning in the GNU ld
8687 # block says, versions before 2.19.5* couldn't really create working
8688 # shared libraries, regardless of the interface used.
8689 case `$LD -v 2>&1` in
8690 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8691 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8692 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8694 lt_use_gnu_ld_interface=yes
8699 lt_use_gnu_ld_interface=yes
8704 if test "$lt_use_gnu_ld_interface" = yes; then
8705 # If archive_cmds runs LD, not CC, wlarc should be empty
8708 # Set some defaults for GNU ld with shared library support. These
8709 # are reset later if shared libraries are not supported. Putting them
8710 # here allows them to be overridden if necessary.
8711 runpath_var=LD_RUN_PATH
8712 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8713 export_dynamic_flag_spec='${wl}--export-dynamic'
8714 # ancient GNU ld didn't support --whole-archive et. al.
8715 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8716 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8718 whole_archive_flag_spec=
8720 supports_anon_versioning=no
8721 case `$LD -v 2>&1` in
8722 *GNU\ gold*) supports_anon_versioning=yes ;;
8723 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8724 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8725 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8726 *\ 2.11.*) ;; # other 2.11 versions
8727 *) supports_anon_versioning=yes ;;
8730 # See if GNU ld supports shared libraries.
8733 # On AIX/PPC, the GNU linker is very broken
8734 if test "$host_cpu" != ia64; then
8738 *** Warning: the GNU linker, at least up to release 2.19, is reported
8739 *** to be unable to reliably create shared libraries on AIX.
8740 *** Therefore, libtool is disabling shared libraries support. If you
8741 *** really care for shared libraries, you may want to install binutils
8742 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8743 *** You will then need to restart the configuration process.
8752 # see comment about AmigaOS4 .so support
8753 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8754 archive_expsym_cmds=''
8757 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)'
8758 hardcode_libdir_flag_spec='-L$libdir'
8759 hardcode_minus_L=yes
8765 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8766 allow_undefined_flag=unsupported
8767 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8768 # support --undefined. This deserves some investigation. FIXME
8769 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8775 cygwin* | mingw* | pw32* | cegcc*)
8776 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8777 # as there is no search path for DLLs.
8778 hardcode_libdir_flag_spec='-L$libdir'
8779 export_dynamic_flag_spec='${wl}--export-all-symbols'
8780 allow_undefined_flag=unsupported
8781 always_export_symbols=no
8782 enable_shared_with_static_runtimes=yes
8783 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'
8784 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8786 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8787 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8788 # If the export-symbols file already is a .def file (1st line
8789 # is EXPORTS), use it as is; otherwise, prepend...
8790 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8791 cp $export_symbols $output_objdir/$soname.def;
8793 echo EXPORTS > $output_objdir/$soname.def;
8794 cat $export_symbols >> $output_objdir/$soname.def;
8796 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8803 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8804 link_all_deplibs=yes
8809 hardcode_shlibpath_var=no
8810 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8811 export_dynamic_flag_spec='${wl}-E'
8812 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8813 # Instead, shared libraries are loaded at an image base (0x10000000 by
8814 # default) and relocated if they conflict, which is a slow very memory
8815 # consuming and fragmenting process. To avoid this, we pick a random,
8816 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8817 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8818 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8819 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'
8822 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8824 if test "$host_os" = linux-dietlibc; then
8825 case $cc_basename in
8826 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8829 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8830 && test "$tmp_diet" = no
8832 tmp_addflag=' $pic_flag'
8833 tmp_sharedflag='-shared'
8834 case $cc_basename,$host_cpu in
8835 pgcc*) # Portland Group C compiler
8836 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'
8837 tmp_addflag=' $pic_flag'
8839 pgf77* | pgf90* | pgf95* | pgfortran*)
8840 # Portland Group f77 and f90 compilers
8841 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'
8842 tmp_addflag=' $pic_flag -Mnomain' ;;
8843 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8844 tmp_addflag=' -i_dynamic' ;;
8845 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8846 tmp_addflag=' -i_dynamic -nofor_main' ;;
8847 ifc* | ifort*) # Intel Fortran compiler
8848 tmp_addflag=' -nofor_main' ;;
8849 lf95*) # Lahey Fortran 8.1
8850 whole_archive_flag_spec=
8851 tmp_sharedflag='--shared' ;;
8852 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8853 tmp_sharedflag='-qmkshrobj'
8855 nvcc*) # Cuda Compiler Driver 2.2
8856 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'
8857 compiler_needs_object=yes
8860 case `$CC -V 2>&1 | sed 5q` in
8861 *Sun\ C*) # Sun C 5.9
8862 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'
8863 compiler_needs_object=yes
8864 tmp_sharedflag='-G' ;;
8865 *Sun\ F*) # Sun Fortran 8.3
8866 tmp_sharedflag='-G' ;;
8868 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8870 if test "x$supports_anon_versioning" = xyes; then
8871 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8872 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8873 echo "local: *; };" >> $output_objdir/$libname.ver~
8874 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8877 case $cc_basename in
8878 xlf* | bgf* | bgxlf* | mpixlf*)
8879 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8880 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8881 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8882 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8883 if test "x$supports_anon_versioning" = xyes; then
8884 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8885 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8886 echo "local: *; };" >> $output_objdir/$libname.ver~
8887 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8896 netbsd* | netbsdelf*-gnu)
8897 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8898 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8901 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8902 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8907 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8911 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8912 *** create shared libraries on Solaris systems. Therefore, libtool
8913 *** is disabling shared libraries support. We urge you to upgrade GNU
8914 *** binutils to release 2.9.1 or newer. Another option is to modify
8915 *** your PATH or compiler configuration so that the native linker is
8916 *** used, and then restart.
8919 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8920 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8921 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8927 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8928 case `$LD -v 2>&1` in
8929 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8933 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8934 *** reliably create shared libraries on SCO systems. Therefore, libtool
8935 *** is disabling shared libraries support. We urge you to upgrade GNU
8936 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8937 *** your PATH or compiler configuration so that the native linker is
8938 *** used, and then restart.
8943 # For security reasons, it is highly recommended that you always
8944 # use absolute paths for naming shared libraries, and exclude the
8945 # DT_RUNPATH tag from executables and libraries. But doing so
8946 # requires that you compile everything twice, which is a pain.
8947 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8948 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8949 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8950 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8959 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8962 hardcode_shlibpath_var=no
8966 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8967 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8975 if test "$ld_shlibs" = no; then
8977 hardcode_libdir_flag_spec=
8978 export_dynamic_flag_spec=
8979 whole_archive_flag_spec=
8982 # PORTME fill in a description of your system's linker (not GNU ld)
8985 allow_undefined_flag=unsupported
8986 always_export_symbols=yes
8987 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'
8988 # Note: this linker hardcodes the directories in LIBPATH if there
8989 # are no directories specified by -L.
8990 hardcode_minus_L=yes
8991 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8992 # Neither direct hardcoding nor static linking is supported with a
8994 hardcode_direct=unsupported
8999 if test "$host_cpu" = ia64; then
9000 # On IA64, the linker does run time linking by default, so we don't
9001 # have to do anything special.
9002 aix_use_runtimelinking=no
9003 exp_sym_flag='-Bexport'
9006 # If we're using GNU nm, then we don't want the "-C" option.
9007 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9008 # Also, AIX nm treats weak defined symbols like other global
9009 # defined symbols, whereas GNU nm marks them as "W".
9010 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9011 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9013 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9015 aix_use_runtimelinking=no
9017 # Test if we are trying to use run time linking or normal
9018 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9019 # need to do runtime linking.
9020 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9021 for ld_flag in $LDFLAGS; do
9022 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9023 aix_use_runtimelinking=yes
9030 exp_sym_flag='-bexport'
9031 no_entry_flag='-bnoentry'
9034 # When large executables or shared objects are built, AIX ld can
9035 # have problems creating the table of contents. If linking a library
9036 # or program results in "error TOC overflow" add -mminimal-toc to
9037 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9038 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9042 hardcode_direct_absolute=yes
9043 hardcode_libdir_separator=':'
9044 link_all_deplibs=yes
9045 file_list_spec='${wl}-f,'
9047 if test "$GCC" = yes; then
9048 case $host_os in aix4.[012]|aix4.[012].*)
9049 # We only want to do this on AIX 4.2 and lower, the check
9050 # below for broken collect2 doesn't work under 4.3+
9051 collect2name=`${CC} -print-prog-name=collect2`
9052 if test -f "$collect2name" &&
9053 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9055 # We have reworked collect2
9058 # We have old collect2
9059 hardcode_direct=unsupported
9060 # It fails to find uninstalled libraries when the uninstalled
9061 # path is not listed in the libpath. Setting hardcode_minus_L
9062 # to unsupported forces relinking
9063 hardcode_minus_L=yes
9064 hardcode_libdir_flag_spec='-L$libdir'
9065 hardcode_libdir_separator=
9069 shared_flag='-shared'
9070 if test "$aix_use_runtimelinking" = yes; then
9071 shared_flag="$shared_flag "'${wl}-G'
9076 if test "$host_cpu" = ia64; then
9077 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9078 # chokes on -Wl,-G. The following line is correct:
9081 if test "$aix_use_runtimelinking" = yes; then
9082 shared_flag='${wl}-G'
9084 shared_flag='${wl}-bM:SRE'
9089 export_dynamic_flag_spec='${wl}-bexpall'
9090 # It seems that -bexpall does not export symbols beginning with
9091 # underscore (_), so it is better to generate a list of symbols to export.
9092 always_export_symbols=yes
9093 if test "$aix_use_runtimelinking" = yes; then
9094 # Warning - without using the other runtime loading flags (-brtl),
9095 # -berok will link without error, but may produce a broken library.
9096 allow_undefined_flag='-berok'
9097 # Determine the default libpath from the value encoded in an
9099 if test "${lt_cv_aix_libpath+set}" = set; then
9100 aix_libpath=$lt_cv_aix_libpath
9102 if ${lt_cv_aix_libpath_+:} false; then :
9103 $as_echo_n "(cached) " >&6
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9116 if ac_fn_c_try_link "$LINENO"; then :
9118 lt_aix_libpath_sed='
9119 /Import File Strings/,/^$/ {
9121 s/^0 *\([^ ]*\) *$/\1/
9125 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9126 # Check for a 64-bit object if we didn't find anything.
9127 if test -z "$lt_cv_aix_libpath_"; then
9128 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9131 rm -f core conftest.err conftest.$ac_objext \
9132 conftest$ac_exeext conftest.$ac_ext
9133 if test -z "$lt_cv_aix_libpath_"; then
9134 lt_cv_aix_libpath_="/usr/lib:/lib"
9139 aix_libpath=$lt_cv_aix_libpath_
9142 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9143 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9145 if test "$host_cpu" = ia64; then
9146 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9147 allow_undefined_flag="-z nodefs"
9148 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"
9150 # Determine the default libpath from the value encoded in an
9152 if test "${lt_cv_aix_libpath+set}" = set; then
9153 aix_libpath=$lt_cv_aix_libpath
9155 if ${lt_cv_aix_libpath_+:} false; then :
9156 $as_echo_n "(cached) " >&6
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9169 if ac_fn_c_try_link "$LINENO"; then :
9171 lt_aix_libpath_sed='
9172 /Import File Strings/,/^$/ {
9174 s/^0 *\([^ ]*\) *$/\1/
9178 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9179 # Check for a 64-bit object if we didn't find anything.
9180 if test -z "$lt_cv_aix_libpath_"; then
9181 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 if test -z "$lt_cv_aix_libpath_"; then
9187 lt_cv_aix_libpath_="/usr/lib:/lib"
9192 aix_libpath=$lt_cv_aix_libpath_
9195 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9196 # Warning - without using the other run time loading flags,
9197 # -berok will link without error, but may produce a broken library.
9198 no_undefined_flag=' ${wl}-bernotok'
9199 allow_undefined_flag=' ${wl}-berok'
9200 if test "$with_gnu_ld" = yes; then
9201 # We only use this code for GNU lds that support --whole-archive.
9202 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9204 # Exported symbols can be pulled into shared objects from archives
9205 whole_archive_flag_spec='$convenience'
9207 archive_cmds_need_lc=yes
9208 # This is similar to how AIX traditionally builds its shared libraries.
9209 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9217 # see comment about AmigaOS4 .so support
9218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9219 archive_expsym_cmds=''
9222 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)'
9223 hardcode_libdir_flag_spec='-L$libdir'
9224 hardcode_minus_L=yes
9230 export_dynamic_flag_spec=-rdynamic
9233 cygwin* | mingw* | pw32* | cegcc*)
9234 # When not using gcc, we currently assume that we are using
9235 # Microsoft Visual C++.
9236 # hardcode_libdir_flag_spec is actually meaningless, as there is
9237 # no search path for DLLs.
9238 case $cc_basename in
9241 hardcode_libdir_flag_spec=' '
9242 allow_undefined_flag=unsupported
9243 always_export_symbols=yes
9245 # Tell ltmain to make .lib files, not .a files.
9247 # Tell ltmain to make .dll files, not .so files.
9249 # FIXME: Setting linknames here is a bad hack.
9250 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9251 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9252 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9254 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9256 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9258 # The linker will not automatically build a static lib if we build a DLL.
9259 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9260 enable_shared_with_static_runtimes=yes
9261 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9262 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9264 old_postinstall_cmds='chmod 644 $oldlib'
9265 postlink_cmds='lt_outputfile="@OUTPUT@"~
9266 lt_tool_outputfile="@TOOL_OUTPUT@"~
9267 case $lt_outputfile in
9270 lt_outputfile="$lt_outputfile.exe"
9271 lt_tool_outputfile="$lt_tool_outputfile.exe"
9274 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9275 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9276 $RM "$lt_outputfile.manifest";
9280 # Assume MSVC wrapper
9281 hardcode_libdir_flag_spec=' '
9282 allow_undefined_flag=unsupported
9283 # Tell ltmain to make .lib files, not .a files.
9285 # Tell ltmain to make .dll files, not .so files.
9287 # FIXME: Setting linknames here is a bad hack.
9288 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9289 # The linker will automatically build a .lib file if we build a DLL.
9290 old_archive_from_new_cmds='true'
9291 # FIXME: Should let the user specify the lib program.
9292 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9293 enable_shared_with_static_runtimes=yes
9298 darwin* | rhapsody*)
9301 archive_cmds_need_lc=no
9303 hardcode_automatic=yes
9304 hardcode_shlibpath_var=unsupported
9305 if test "$lt_cv_ld_force_load" = "yes"; then
9306 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\"`'
9309 whole_archive_flag_spec=''
9311 link_all_deplibs=yes
9312 allow_undefined_flag="$_lt_dar_allow_undefined"
9313 case $cc_basename in
9314 ifort*) _lt_dar_can_shared=yes ;;
9315 *) _lt_dar_can_shared=$GCC ;;
9317 if test "$_lt_dar_can_shared" = "yes"; then
9318 output_verbose_link_cmd=func_echo_all
9319 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9320 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9321 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}"
9322 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}"
9331 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9332 hardcode_libdir_flag_spec='-L$libdir'
9333 hardcode_shlibpath_var=no
9336 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9337 # support. Future versions do this automatically, but an explicit c++rt0.o
9338 # does not break anything, and helps significantly (at the cost of a little
9341 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9342 hardcode_libdir_flag_spec='-R$libdir'
9344 hardcode_shlibpath_var=no
9347 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9349 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9351 hardcode_minus_L=yes
9352 hardcode_shlibpath_var=no
9355 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9356 freebsd* | dragonfly*)
9357 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9358 hardcode_libdir_flag_spec='-R$libdir'
9360 hardcode_shlibpath_var=no
9364 if test "$GCC" = yes; then
9365 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9367 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9369 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9370 hardcode_libdir_separator=:
9373 # hardcode_minus_L: Not really in the search PATH,
9374 # but as the default location of the library.
9375 hardcode_minus_L=yes
9376 export_dynamic_flag_spec='${wl}-E'
9380 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9381 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9385 if test "$with_gnu_ld" = no; then
9386 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9387 hardcode_libdir_separator=:
9389 hardcode_direct_absolute=yes
9390 export_dynamic_flag_spec='${wl}-E'
9391 # hardcode_minus_L: Not really in the search PATH,
9392 # but as the default location of the library.
9393 hardcode_minus_L=yes
9398 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9401 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9404 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9407 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9413 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9420 # Older versions of the 11.00 compiler do not understand -b yet
9421 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9423 $as_echo_n "checking if $CC understands -b... " >&6; }
9424 if ${lt_cv_prog_compiler__b+:} false; then :
9425 $as_echo_n "(cached) " >&6
9427 lt_cv_prog_compiler__b=no
9428 save_LDFLAGS="$LDFLAGS"
9429 LDFLAGS="$LDFLAGS -b"
9430 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9431 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9432 # The linker can only warn and ignore the option if not recognized
9433 # So say no if there are warnings
9434 if test -s conftest.err; then
9435 # Append any errors to the config.log.
9436 cat conftest.err 1>&5
9437 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9438 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9439 if diff conftest.exp conftest.er2 >/dev/null; then
9440 lt_cv_prog_compiler__b=yes
9443 lt_cv_prog_compiler__b=yes
9447 LDFLAGS="$save_LDFLAGS"
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9451 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9453 if test x"$lt_cv_prog_compiler__b" = xyes; then
9454 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9456 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9462 if test "$with_gnu_ld" = no; then
9463 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9464 hardcode_libdir_separator=:
9469 hardcode_shlibpath_var=no
9473 hardcode_direct_absolute=yes
9474 export_dynamic_flag_spec='${wl}-E'
9476 # hardcode_minus_L: Not really in the search PATH,
9477 # but as the default location of the library.
9478 hardcode_minus_L=yes
9484 irix5* | irix6* | nonstopux*)
9485 if test "$GCC" = yes; then
9486 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'
9487 # Try to use the -exported_symbol ld option, if it does not
9488 # work, assume that -exports_file does not work either and
9489 # implicitly export all symbols.
9490 # This should be the same for all languages, so no per-tag cache variable.
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9492 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9493 if ${lt_cv_irix_exported_symbol+:} false; then :
9494 $as_echo_n "(cached) " >&6
9496 save_LDFLAGS="$LDFLAGS"
9497 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9500 int foo (void) { return 0; }
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 lt_cv_irix_exported_symbol=yes
9505 lt_cv_irix_exported_symbol=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 LDFLAGS="$save_LDFLAGS"
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9512 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9513 if test "$lt_cv_irix_exported_symbol" = yes; then
9514 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'
9517 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'
9518 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'
9520 archive_cmds_need_lc='no'
9521 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9522 hardcode_libdir_separator=:
9524 link_all_deplibs=yes
9527 netbsd* | netbsdelf*-gnu)
9528 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9529 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9531 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9533 hardcode_libdir_flag_spec='-R$libdir'
9535 hardcode_shlibpath_var=no
9539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9542 hardcode_libdir_separator=:
9543 hardcode_shlibpath_var=no
9550 if test -f /usr/libexec/ld.so; then
9552 hardcode_shlibpath_var=no
9553 hardcode_direct_absolute=yes
9554 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9555 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9557 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9558 export_dynamic_flag_spec='${wl}-E'
9561 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9563 hardcode_libdir_flag_spec='-R$libdir'
9566 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9567 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9577 hardcode_libdir_flag_spec='-L$libdir'
9578 hardcode_minus_L=yes
9579 allow_undefined_flag=unsupported
9580 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9581 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9585 if test "$GCC" = yes; then
9586 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9587 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'
9589 allow_undefined_flag=' -expect_unresolved \*'
9590 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'
9592 archive_cmds_need_lc='no'
9593 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9594 hardcode_libdir_separator=:
9597 osf4* | osf5*) # as osf3* with the addition of -msym flag
9598 if test "$GCC" = yes; then
9599 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9600 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'
9601 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9603 allow_undefined_flag=' -expect_unresolved \*'
9604 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'
9605 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~
9606 $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'
9608 # Both c and cxx compiler support -rpath directly
9609 hardcode_libdir_flag_spec='-rpath $libdir'
9611 archive_cmds_need_lc='no'
9612 hardcode_libdir_separator=:
9616 no_undefined_flag=' -z defs'
9617 if test "$GCC" = yes; then
9619 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9621 $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'
9623 case `$CC -V 2>&1` in
9626 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9627 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9628 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9632 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9633 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9634 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9638 hardcode_libdir_flag_spec='-R$libdir'
9639 hardcode_shlibpath_var=no
9641 solaris2.[0-5] | solaris2.[0-5].*) ;;
9643 # The compiler driver will combine and reorder linker options,
9644 # but understands `-z linker_flag'. GCC discards it without `$wl',
9645 # but is careful enough not to reorder.
9646 # Supported since Solaris 2.6 (maybe 2.5.1?)
9647 if test "$GCC" = yes; then
9648 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9650 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9654 link_all_deplibs=yes
9658 if test "x$host_vendor" = xsequent; then
9659 # Use $CC to link under sequent, because it throws in some extra .o
9660 # files that make .init and .fini sections work.
9661 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9663 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9665 hardcode_libdir_flag_spec='-L$libdir'
9667 hardcode_minus_L=yes
9668 hardcode_shlibpath_var=no
9672 case $host_vendor in
9674 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_direct=yes # is this really true???
9678 ## LD is ld it makes a PLAMLIB
9679 ## CC just makes a GrossModule.
9680 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9681 reload_cmds='$CC -r -o $output$reload_objs'
9685 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9689 runpath_var='LD_RUN_PATH'
9690 hardcode_shlibpath_var=no
9694 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_shlibpath_var=no
9696 export_dynamic_flag_spec='-Bexport'
9700 if test -d /usr/nec; then
9701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9702 hardcode_shlibpath_var=no
9703 runpath_var=LD_RUN_PATH
9704 hardcode_runpath_var=yes
9709 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9710 no_undefined_flag='${wl}-z,text'
9711 archive_cmds_need_lc=no
9712 hardcode_shlibpath_var=no
9713 runpath_var='LD_RUN_PATH'
9715 if test "$GCC" = yes; then
9716 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9719 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 sysv5* | sco3.2v5* | sco5v6*)
9725 # Note: We can NOT use -z defs as we might desire, because we do not
9726 # link with -lc, and that would cause any symbols used from libc to
9727 # always be unresolved, which means just about no library would
9728 # ever link correctly. If we're not using GNU ld we use -z text
9729 # though, which does catch some bad symbols but isn't as heavy-handed
9731 no_undefined_flag='${wl}-z,text'
9732 allow_undefined_flag='${wl}-z,nodefs'
9733 archive_cmds_need_lc=no
9734 hardcode_shlibpath_var=no
9735 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9736 hardcode_libdir_separator=':'
9737 link_all_deplibs=yes
9738 export_dynamic_flag_spec='${wl}-Bexport'
9739 runpath_var='LD_RUN_PATH'
9741 if test "$GCC" = yes; then
9742 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9746 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9751 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9752 hardcode_libdir_flag_spec='-L$libdir'
9753 hardcode_shlibpath_var=no
9761 if test x$host_vendor = xsni; then
9763 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9764 export_dynamic_flag_spec='${wl}-Blargedynsym'
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9771 $as_echo "$ld_shlibs" >&6; }
9772 test "$ld_shlibs" = no && can_build_shared=no
9774 with_gnu_ld=$with_gnu_ld
9791 # Do we need to explicitly link libc?
9793 case "x$archive_cmds_need_lc" in
9795 # Assume -lc should be added
9796 archive_cmds_need_lc=yes
9798 if test "$enable_shared" = yes && test "$GCC" = yes; then
9799 case $archive_cmds in
9801 # FIXME: we may have to deal with multi-command sequences.
9804 # Test whether the compiler implicitly links with -lc since on some
9805 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9806 # to ld, don't add -lc before -lgcc.
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9808 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9809 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9810 $as_echo_n "(cached) " >&6
9813 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9816 (eval $ac_compile) 2>&5
9818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9819 test $ac_status = 0; } 2>conftest.err; then
9822 libobjs=conftest.$ac_objext
9824 wl=$lt_prog_compiler_wl
9825 pic_flag=$lt_prog_compiler_pic
9831 lt_save_allow_undefined_flag=$allow_undefined_flag
9832 allow_undefined_flag=
9833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9834 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9837 test $ac_status = 0; }
9839 lt_cv_archive_cmds_need_lc=no
9841 lt_cv_archive_cmds_need_lc=yes
9843 allow_undefined_flag=$lt_save_allow_undefined_flag
9845 cat conftest.err 1>&5
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9851 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9852 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10011 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10013 if test "$GCC" = yes; then
10015 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10016 *) lt_awk_arg="/^libraries:/" ;;
10019 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10020 *) lt_sed_strip_eq="s,=/,/,g" ;;
10022 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10023 case $lt_search_path_spec in
10025 # if the path contains ";" then we assume it to be the separator
10026 # otherwise default to the standard path separator (i.e. ":") - it is
10027 # assumed that no part of a normal pathname contains ";" but that should
10028 # okay in the real world where ";" in dirpaths is itself problematic.
10029 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10032 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10035 # Ok, now we have the path, separated by spaces, we can step through it
10036 # and add multilib dir if necessary.
10037 lt_tmp_lt_search_path_spec=
10038 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10039 for lt_sys_path in $lt_search_path_spec; do
10040 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10041 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10043 test -d "$lt_sys_path" && \
10044 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10047 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10048 BEGIN {RS=" "; FS="/|\n";} {
10051 for (lt_i = NF; lt_i > 0; lt_i--) {
10052 if ($lt_i != "" && $lt_i != ".") {
10053 if ($lt_i == "..") {
10056 if (lt_count == 0) {
10057 lt_foo="/" $lt_i lt_foo;
10064 if (lt_foo != "") { lt_freq[lt_foo]++; }
10065 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10067 # AWK program above erroneously prepends '/' to C:/dos/paths
10070 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10071 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10073 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10075 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10077 library_names_spec=
10078 libname_spec='lib$name'
10082 postuninstall_cmds=
10086 shlibpath_overrides_runpath=unknown
10088 dynamic_linker="$host_os ld.so"
10089 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10090 need_lib_prefix=unknown
10091 hardcode_into_libs=no
10093 # when you set need_version to no, make sure it does not cause -set_version
10094 # flags to be left without arguments
10095 need_version=unknown
10099 version_type=linux # correct to gnu/linux during the next big refactor
10100 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10101 shlibpath_var=LIBPATH
10103 # AIX 3 has no versioning support, so we append a major version to the name.
10104 soname_spec='${libname}${release}${shared_ext}$major'
10108 version_type=linux # correct to gnu/linux during the next big refactor
10111 hardcode_into_libs=yes
10112 if test "$host_cpu" = ia64; then
10113 # AIX 5 supports IA64
10114 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10115 shlibpath_var=LD_LIBRARY_PATH
10117 # With GCC up to 2.95.x, collect2 would create an import file
10118 # for dependence libraries. The import file would start with
10119 # the line `#! .'. This would cause the generated library to
10120 # depend on `.', always an invalid library. This was fixed in
10121 # development snapshots of GCC prior to 3.0.
10123 aix4 | aix4.[01] | aix4.[01].*)
10124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10126 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10129 can_build_shared=no
10133 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10134 # soname into executable. Probably we can add versioning support to
10135 # collect2, so additional links can be useful in future.
10136 if test "$aix_use_runtimelinking" = yes; then
10137 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10138 # instead of lib<name>.a to let people know that these are not
10139 # typical AIX shared libraries.
10140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142 # We preserve .a as extension for shared libraries through AIX4.2
10143 # and later when we are not doing run time linking.
10144 library_names_spec='${libname}${release}.a $libname.a'
10145 soname_spec='${libname}${release}${shared_ext}$major'
10147 shlibpath_var=LIBPATH
10154 # Since July 2007 AmigaOS4 officially supports .so libraries.
10155 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10159 library_names_spec='$libname.ixlibrary $libname.a'
10160 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10161 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10167 library_names_spec='${libname}${shared_ext}'
10168 dynamic_linker="$host_os ld.so"
10169 shlibpath_var=LIBRARY_PATH
10173 version_type=linux # correct to gnu/linux during the next big refactor
10175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176 soname_spec='${libname}${release}${shared_ext}$major'
10177 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10178 shlibpath_var=LD_LIBRARY_PATH
10179 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10180 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10181 # the default ld.so.conf also contains /usr/contrib/lib and
10182 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10183 # libtool to hard-code these into programs
10186 cygwin* | mingw* | pw32* | cegcc*)
10187 version_type=windows
10192 case $GCC,$cc_basename in
10195 library_names_spec='$libname.dll.a'
10196 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10197 postinstall_cmds='base_file=`basename \${file}`~
10198 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10199 dldir=$destdir/`dirname \$dlpath`~
10200 test -d \$dldir || mkdir -p \$dldir~
10201 $install_prog $dir/$dlname \$dldir/$dlname~
10202 chmod a+x \$dldir/$dlname~
10203 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10204 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10206 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10207 dlpath=$dir/\$dldll~
10209 shlibpath_overrides_runpath=yes
10213 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10214 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10216 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10219 # MinGW DLLs use traditional 'lib' prefix
10220 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10223 # pw32 DLLs use 'pw' prefix rather than 'lib'
10224 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10227 dynamic_linker='Win32 ld.exe'
10232 libname_spec='$name'
10233 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10234 library_names_spec='${libname}.dll.lib'
10238 sys_lib_search_path_spec=
10241 for lt_path in $LIB
10244 # Let DOS variable expansion print the short 8.3 style file name.
10245 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10246 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10249 # Convert to MSYS style.
10250 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10253 # Convert to unix form, then to dos form, then back to unix form
10254 # but this time dos style (no spaces!) so that the unix form looks
10255 # like /cygdrive/c/PROGRA~1:/cygdr...
10256 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10257 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10258 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10261 sys_lib_search_path_spec="$LIB"
10262 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10263 # It is most probably a Windows format PATH.
10264 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10266 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10268 # FIXME: find the short name or the path components, as spaces are
10269 # common. (e.g. "Program Files" -> "PROGRA~1")
10273 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10274 postinstall_cmds='base_file=`basename \${file}`~
10275 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10276 dldir=$destdir/`dirname \$dlpath`~
10277 test -d \$dldir || mkdir -p \$dldir~
10278 $install_prog $dir/$dlname \$dldir/$dlname'
10279 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10280 dlpath=$dir/\$dldll~
10282 shlibpath_overrides_runpath=yes
10283 dynamic_linker='Win32 link.exe'
10287 # Assume MSVC wrapper
10288 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10289 dynamic_linker='Win32 ld.exe'
10292 # FIXME: first we should search . and the directory the executable is in
10296 darwin* | rhapsody*)
10297 dynamic_linker="$host_os dyld"
10298 version_type=darwin
10301 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10302 soname_spec='${libname}${release}${major}$shared_ext'
10303 shlibpath_overrides_runpath=yes
10304 shlibpath_var=DYLD_LIBRARY_PATH
10305 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10307 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10308 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10312 version_type=linux # correct to gnu/linux during the next big refactor
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10316 soname_spec='${libname}${release}${shared_ext}$major'
10317 shlibpath_var=LD_LIBRARY_PATH
10320 freebsd* | dragonfly*)
10321 # DragonFly does not have aout. When/if they implement a new
10322 # versioning mechanism, adjust this.
10323 if test -x /usr/bin/objformat; then
10324 objformat=`/usr/bin/objformat`
10327 freebsd[23].*) objformat=aout ;;
10328 *) objformat=elf ;;
10331 version_type=freebsd-$objformat
10332 case $version_type in
10334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10339 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10343 shlibpath_var=LD_LIBRARY_PATH
10346 shlibpath_overrides_runpath=yes
10348 freebsd3.[01]* | freebsdelf3.[01]*)
10349 shlibpath_overrides_runpath=yes
10350 hardcode_into_libs=yes
10352 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10353 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10354 shlibpath_overrides_runpath=no
10355 hardcode_into_libs=yes
10357 *) # from 4.6 on, and DragonFly
10358 shlibpath_overrides_runpath=yes
10359 hardcode_into_libs=yes
10365 version_type=linux # correct to gnu/linux during the next big refactor
10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10369 soname_spec='${libname}${release}${shared_ext}$major'
10370 shlibpath_var=LD_LIBRARY_PATH
10371 shlibpath_overrides_runpath=no
10372 hardcode_into_libs=yes
10376 version_type=linux # correct to gnu/linux during the next big refactor
10379 dynamic_linker="$host_os runtime_loader"
10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10381 soname_spec='${libname}${release}${shared_ext}$major'
10382 shlibpath_var=LIBRARY_PATH
10383 shlibpath_overrides_runpath=yes
10384 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10385 hardcode_into_libs=yes
10388 hpux9* | hpux10* | hpux11*)
10389 # Give a soname corresponding to the major version so that dld.sl refuses to
10390 # link against other versions.
10397 hardcode_into_libs=yes
10398 dynamic_linker="$host_os dld.so"
10399 shlibpath_var=LD_LIBRARY_PATH
10400 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10402 soname_spec='${libname}${release}${shared_ext}$major'
10403 if test "X$HPUX_IA64_MODE" = X32; then
10404 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10406 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10408 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10412 hardcode_into_libs=yes
10413 dynamic_linker="$host_os dld.sl"
10414 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10417 soname_spec='${libname}${release}${shared_ext}$major'
10418 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10419 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10423 dynamic_linker="$host_os dld.sl"
10424 shlibpath_var=SHLIB_PATH
10425 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10427 soname_spec='${libname}${release}${shared_ext}$major'
10430 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10431 postinstall_cmds='chmod 555 $lib'
10432 # or fails outright, so override atomically:
10433 install_override_mode=555
10437 version_type=linux # correct to gnu/linux during the next big refactor
10440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10441 soname_spec='${libname}${release}${shared_ext}$major'
10442 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10443 shlibpath_var=LD_LIBRARY_PATH
10444 shlibpath_overrides_runpath=no
10445 hardcode_into_libs=yes
10448 irix5* | irix6* | nonstopux*)
10450 nonstopux*) version_type=nonstopux ;;
10452 if test "$lt_cv_prog_gnu_ld" = yes; then
10453 version_type=linux # correct to gnu/linux during the next big refactor
10460 soname_spec='${libname}${release}${shared_ext}$major'
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10463 irix5* | nonstopux*)
10464 libsuff= shlibsuff=
10467 case $LD in # libtool.m4 will add one of these switches to LD
10468 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10469 libsuff= shlibsuff= libmagic=32-bit;;
10470 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10471 libsuff=32 shlibsuff=N32 libmagic=N32;;
10472 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10473 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10474 *) libsuff= shlibsuff= libmagic=never-match;;
10478 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10479 shlibpath_overrides_runpath=no
10480 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10481 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10482 hardcode_into_libs=yes
10485 # No shared lib support for Linux oldld, aout, or coff.
10486 linux*oldld* | linux*aout* | linux*coff*)
10490 # This must be glibc/ELF.
10491 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10492 version_type=linux # correct to gnu/linux during the next big refactor
10495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10496 soname_spec='${libname}${release}${shared_ext}$major'
10497 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10498 shlibpath_var=LD_LIBRARY_PATH
10499 shlibpath_overrides_runpath=no
10501 # Some binutils ld are patched to set DT_RUNPATH
10502 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10503 $as_echo_n "(cached) " >&6
10505 lt_cv_shlibpath_overrides_runpath=no
10506 save_LDFLAGS=$LDFLAGS
10507 save_libdir=$libdir
10508 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10509 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10521 if ac_fn_c_try_link "$LINENO"; then :
10522 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10523 lt_cv_shlibpath_overrides_runpath=yes
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LDFLAGS=$save_LDFLAGS
10529 libdir=$save_libdir
10533 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10535 # This implies no fast_install, which is unacceptable.
10536 # Some rework will be needed to allow for fast_install
10537 # before this can be enabled.
10538 hardcode_into_libs=yes
10540 # Append ld.so.conf contents to the search path
10541 if test -f /etc/ld.so.conf; then
10542 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' ' '`
10543 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10546 # We used to test for /lib/ld.so.1 and disable shared libraries on
10547 # powerpc, because MkLinux only supported shared libraries with the
10548 # GNU dynamic linker. Since this was broken with cross compilers,
10549 # most powerpc-linux boxes support dynamic linking these days and
10550 # people can always --disable-shared, the test was removed, and we
10551 # assume the GNU/Linux dynamic linker is in use.
10552 dynamic_linker='GNU/Linux ld.so'
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10560 soname_spec='${libname}${release}${shared_ext}$major'
10561 shlibpath_var=LD_LIBRARY_PATH
10562 shlibpath_overrides_runpath=no
10563 hardcode_into_libs=yes
10564 dynamic_linker='NetBSD ld.elf_so'
10571 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10574 dynamic_linker='NetBSD (a.out) ld.so'
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10577 soname_spec='${libname}${release}${shared_ext}$major'
10578 dynamic_linker='NetBSD ld.elf_so'
10580 shlibpath_var=LD_LIBRARY_PATH
10581 shlibpath_overrides_runpath=yes
10582 hardcode_into_libs=yes
10586 version_type=linux # correct to gnu/linux during the next big refactor
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 shlibpath_overrides_runpath=yes
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10597 soname_spec='${libname}${release}${shared_ext}$major'
10598 shlibpath_var=LD_LIBRARY_PATH
10599 shlibpath_overrides_runpath=no
10600 hardcode_into_libs=yes
10601 dynamic_linker='ldqnx.so'
10606 sys_lib_dlsearch_path_spec="/usr/lib"
10608 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10610 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10611 *) need_version=no ;;
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10614 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10615 shlibpath_var=LD_LIBRARY_PATH
10616 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10618 openbsd2.[89] | openbsd2.[89].*)
10619 shlibpath_overrides_runpath=no
10622 shlibpath_overrides_runpath=yes
10626 shlibpath_overrides_runpath=yes
10631 libname_spec='$name'
10634 library_names_spec='$libname${shared_ext} $libname.a'
10635 dynamic_linker='OS/2 ld.exe'
10636 shlibpath_var=LIBPATH
10639 osf3* | osf4* | osf5*)
10643 soname_spec='${libname}${release}${shared_ext}$major'
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 shlibpath_var=LD_LIBRARY_PATH
10646 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10647 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10655 version_type=linux # correct to gnu/linux during the next big refactor
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 shlibpath_var=LD_LIBRARY_PATH
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10663 # ldd complains unless libraries are executable
10664 postinstall_cmds='chmod +x $lib'
10669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10670 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10671 shlibpath_var=LD_LIBRARY_PATH
10672 shlibpath_overrides_runpath=yes
10673 if test "$with_gnu_ld" = yes; then
10680 version_type=linux # correct to gnu/linux during the next big refactor
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 soname_spec='${libname}${release}${shared_ext}$major'
10683 shlibpath_var=LD_LIBRARY_PATH
10684 case $host_vendor in
10686 shlibpath_overrides_runpath=no
10688 runpath_var=LD_RUN_PATH
10696 shlibpath_overrides_runpath=no
10697 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10703 if test -d /usr/nec ;then
10704 version_type=linux # correct to gnu/linux during the next big refactor
10705 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10706 soname_spec='$libname${shared_ext}.$major'
10707 shlibpath_var=LD_LIBRARY_PATH
10711 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10712 version_type=freebsd-elf
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes
10719 hardcode_into_libs=yes
10720 if test "$with_gnu_ld" = yes; then
10721 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10723 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10726 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10730 sys_lib_dlsearch_path_spec='/usr/lib'
10734 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10735 version_type=linux # correct to gnu/linux during the next big refactor
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 shlibpath_var=LD_LIBRARY_PATH
10740 shlibpath_overrides_runpath=no
10741 hardcode_into_libs=yes
10745 version_type=linux # correct to gnu/linux during the next big refactor
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10747 soname_spec='${libname}${release}${shared_ext}$major'
10748 shlibpath_var=LD_LIBRARY_PATH
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10756 $as_echo "$dynamic_linker" >&6; }
10757 test "$dynamic_linker" = no && can_build_shared=no
10759 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10760 if test "$GCC" = yes; then
10761 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10764 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10765 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10767 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10768 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10863 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10865 if test -n "$hardcode_libdir_flag_spec" ||
10866 test -n "$runpath_var" ||
10867 test "X$hardcode_automatic" = "Xyes" ; then
10869 # We can hardcode non-existent directories.
10870 if test "$hardcode_direct" != no &&
10871 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10872 # have to relink, otherwise we might link with an installed library
10873 # when we should be linking with a yet-to-be-installed one
10874 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10875 test "$hardcode_minus_L" != no; then
10876 # Linking always hardcodes the temporary library directory.
10877 hardcode_action=relink
10879 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10880 hardcode_action=immediate
10883 # We cannot hardcode anything, or else we can only hardcode existing
10885 hardcode_action=unsupported
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10888 $as_echo "$hardcode_action" >&6; }
10890 if test "$hardcode_action" = relink ||
10891 test "$inherit_rpath" = yes; then
10892 # Fast installation is not supported
10893 enable_fast_install=no
10894 elif test "$shlibpath_overrides_runpath" = yes ||
10895 test "$enable_shared" = no; then
10896 # Fast installation is not necessary
10897 enable_fast_install=needless
10905 if test "x$enable_dlopen" != xyes; then
10906 enable_dlopen=unknown
10907 enable_dlopen_self=unknown
10908 enable_dlopen_self_static=unknown
10915 lt_cv_dlopen="load_add_on"
10917 lt_cv_dlopen_self=yes
10920 mingw* | pw32* | cegcc*)
10921 lt_cv_dlopen="LoadLibrary"
10926 lt_cv_dlopen="dlopen"
10931 # if libdl is installed we need to link against it
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10933 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10934 if ${ac_cv_lib_dl_dlopen+:} false; then :
10935 $as_echo_n "(cached) " >&6
10937 ac_check_lib_save_LIBS=$LIBS
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10942 /* Override any GCC internal prototype to avoid an error.
10943 Use char because int might match the return type of a GCC
10944 builtin and then its argument prototype would still apply. */
10957 if ac_fn_c_try_link "$LINENO"; then :
10958 ac_cv_lib_dl_dlopen=yes
10960 ac_cv_lib_dl_dlopen=no
10962 rm -f core conftest.err conftest.$ac_objext \
10963 conftest$ac_exeext conftest.$ac_ext
10964 LIBS=$ac_check_lib_save_LIBS
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10967 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10968 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10969 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10972 lt_cv_dlopen="dyld"
10974 lt_cv_dlopen_self=yes
10981 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10982 if test "x$ac_cv_func_shl_load" = xyes; then :
10983 lt_cv_dlopen="shl_load"
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10986 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10987 if ${ac_cv_lib_dld_shl_load+:} false; then :
10988 $as_echo_n "(cached) " >&6
10990 ac_check_lib_save_LIBS=$LIBS
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
11005 return shl_load ();
11010 if ac_fn_c_try_link "$LINENO"; then :
11011 ac_cv_lib_dld_shl_load=yes
11013 ac_cv_lib_dld_shl_load=no
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11020 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11021 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11022 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11024 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11025 if test "x$ac_cv_func_dlopen" = xyes; then :
11026 lt_cv_dlopen="dlopen"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11029 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11030 if ${ac_cv_lib_dl_dlopen+:} false; then :
11031 $as_echo_n "(cached) " >&6
11033 ac_check_lib_save_LIBS=$LIBS
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11053 if ac_fn_c_try_link "$LINENO"; then :
11054 ac_cv_lib_dl_dlopen=yes
11056 ac_cv_lib_dl_dlopen=no
11058 rm -f core conftest.err conftest.$ac_objext \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_lib_save_LIBS
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11063 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11064 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11065 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11068 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11069 if ${ac_cv_lib_svld_dlopen+:} false; then :
11070 $as_echo_n "(cached) " >&6
11072 ac_check_lib_save_LIBS=$LIBS
11073 LIBS="-lsvld $LIBS"
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11092 if ac_fn_c_try_link "$LINENO"; then :
11093 ac_cv_lib_svld_dlopen=yes
11095 ac_cv_lib_svld_dlopen=no
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_lib_save_LIBS
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11102 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11103 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11104 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11107 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11108 if ${ac_cv_lib_dld_dld_link+:} false; then :
11109 $as_echo_n "(cached) " >&6
11111 ac_check_lib_save_LIBS=$LIBS
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11126 return dld_link ();
11131 if ac_fn_c_try_link "$LINENO"; then :
11132 ac_cv_lib_dld_dld_link=yes
11134 ac_cv_lib_dld_dld_link=no
11136 rm -f core conftest.err conftest.$ac_objext \
11137 conftest$ac_exeext conftest.$ac_ext
11138 LIBS=$ac_check_lib_save_LIBS
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11141 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11142 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11143 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11164 if test "x$lt_cv_dlopen" != xno; then
11170 case $lt_cv_dlopen in
11172 save_CPPFLAGS="$CPPFLAGS"
11173 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11175 save_LDFLAGS="$LDFLAGS"
11176 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11179 LIBS="$lt_cv_dlopen_libs $LIBS"
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11182 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11183 if ${lt_cv_dlopen_self+:} false; then :
11184 $as_echo_n "(cached) " >&6
11186 if test "$cross_compiling" = yes; then :
11187 lt_cv_dlopen_self=cross
11189 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11190 lt_status=$lt_dlunknown
11191 cat > conftest.$ac_ext <<_LT_EOF
11192 #line $LINENO "configure"
11193 #include "confdefs.h"
11202 # define LT_DLGLOBAL RTLD_GLOBAL
11205 # define LT_DLGLOBAL DL_GLOBAL
11207 # define LT_DLGLOBAL 0
11211 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11212 find out it does not work in some platform. */
11213 #ifndef LT_DLLAZY_OR_NOW
11215 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11218 # define LT_DLLAZY_OR_NOW DL_LAZY
11221 # define LT_DLLAZY_OR_NOW RTLD_NOW
11224 # define LT_DLLAZY_OR_NOW DL_NOW
11226 # define LT_DLLAZY_OR_NOW 0
11233 /* When -fvisbility=hidden is used, assume the code has been annotated
11234 correspondingly for the symbols needed. */
11235 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11236 int fnord () __attribute__((visibility("default")));
11239 int fnord () { return 42; }
11242 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11243 int status = $lt_dlunknown;
11247 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11250 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11251 else puts (dlerror ());
11253 /* dlclose (self); */
11261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11262 (eval $ac_link) 2>&5
11264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11265 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11266 (./conftest; exit; ) >&5 2>/dev/null
11268 case x$lt_status in
11269 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11270 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11271 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11274 # compilation failed
11275 lt_cv_dlopen_self=no
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11283 $as_echo "$lt_cv_dlopen_self" >&6; }
11285 if test "x$lt_cv_dlopen_self" = xyes; then
11286 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11288 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11289 if ${lt_cv_dlopen_self_static+:} false; then :
11290 $as_echo_n "(cached) " >&6
11292 if test "$cross_compiling" = yes; then :
11293 lt_cv_dlopen_self_static=cross
11295 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11296 lt_status=$lt_dlunknown
11297 cat > conftest.$ac_ext <<_LT_EOF
11298 #line $LINENO "configure"
11299 #include "confdefs.h"
11308 # define LT_DLGLOBAL RTLD_GLOBAL
11311 # define LT_DLGLOBAL DL_GLOBAL
11313 # define LT_DLGLOBAL 0
11317 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11318 find out it does not work in some platform. */
11319 #ifndef LT_DLLAZY_OR_NOW
11321 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11324 # define LT_DLLAZY_OR_NOW DL_LAZY
11327 # define LT_DLLAZY_OR_NOW RTLD_NOW
11330 # define LT_DLLAZY_OR_NOW DL_NOW
11332 # define LT_DLLAZY_OR_NOW 0
11339 /* When -fvisbility=hidden is used, assume the code has been annotated
11340 correspondingly for the symbols needed. */
11341 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11342 int fnord () __attribute__((visibility("default")));
11345 int fnord () { return 42; }
11348 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11349 int status = $lt_dlunknown;
11353 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11356 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11357 else puts (dlerror ());
11359 /* dlclose (self); */
11367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11368 (eval $ac_link) 2>&5
11370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11371 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11372 (./conftest; exit; ) >&5 2>/dev/null
11374 case x$lt_status in
11375 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11376 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11377 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11380 # compilation failed
11381 lt_cv_dlopen_self_static=no
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11389 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11392 CPPFLAGS="$save_CPPFLAGS"
11393 LDFLAGS="$save_LDFLAGS"
11398 case $lt_cv_dlopen_self in
11399 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11400 *) enable_dlopen_self=unknown ;;
11403 case $lt_cv_dlopen_self_static in
11404 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11405 *) enable_dlopen_self_static=unknown ;;
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11428 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11429 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11430 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11431 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11433 $as_echo "yes" >&6; }
11435 # FIXME - insert some real tests, host_os isn't really good enough
11438 if test -n "$STRIP" ; then
11439 striplib="$STRIP -x"
11440 old_striplib="$STRIP -S"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11442 $as_echo "yes" >&6; }
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11445 $as_echo "no" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11450 $as_echo "no" >&6; }
11466 # Report which library types will actually be built
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11468 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11470 $as_echo "$can_build_shared" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11473 $as_echo_n "checking whether to build shared libraries... " >&6; }
11474 test "$can_build_shared" = "no" && enable_shared=no
11476 # On AIX, shared libraries and static libraries use the same namespace, and
11477 # are all built from PIC.
11480 test "$enable_shared" = yes && enable_static=no
11481 if test -n "$RANLIB"; then
11482 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11483 postinstall_cmds='$RANLIB $lib'
11488 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11489 test "$enable_shared" = yes && enable_static=no
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11494 $as_echo "$enable_shared" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11497 $as_echo_n "checking whether to build static libraries... " >&6; }
11498 # Make sure either enable_shared or enable_static is yes.
11499 test "$enable_shared" = yes || enable_static=yes
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11501 $as_echo "$enable_static" >&6; }
11508 ac_cpp='$CPP $CPPFLAGS'
11509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11529 ac_config_commands="$ac_config_commands libtool"
11534 # Only expand once:
11538 FRIBIDI_MAJOR_VERSION=0
11539 FRIBIDI_MINOR_VERSION=19
11540 FRIBIDI_MICRO_VERSION=5
11541 FRIBIDI_VERSION=0.19.5
11542 FRIBIDI_INTERFACE_VERSION=3
11543 FRIBIDI_INTERFACE_AGE=4
11544 FRIBIDI_BINARY_AGE=3
11554 LT_VERSION_INFO=3:4:3
11555 LT_CURRENT_MINUS_AGE=0
11561 # Checks for programs.
11563 ac_cpp='$CPP $CPPFLAGS'
11564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11567 if test -n "$ac_tool_prefix"; then
11568 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11569 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11571 $as_echo_n "checking for $ac_word... " >&6; }
11572 if ${ac_cv_prog_CC+:} false; then :
11573 $as_echo_n "(cached) " >&6
11575 if test -n "$CC"; then
11576 ac_cv_prog_CC="$CC" # Let the user override the test.
11578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11579 for as_dir in $PATH
11582 test -z "$as_dir" && as_dir=.
11583 for ac_exec_ext in '' $ac_executable_extensions; do
11584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11585 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11596 if test -n "$CC"; then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11598 $as_echo "$CC" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11601 $as_echo "no" >&6; }
11606 if test -z "$ac_cv_prog_CC"; then
11608 # Extract the first word of "gcc", so it can be a program name with args.
11609 set dummy gcc; ac_word=$2
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11611 $as_echo_n "checking for $ac_word... " >&6; }
11612 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11613 $as_echo_n "(cached) " >&6
11615 if test -n "$ac_ct_CC"; then
11616 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11619 for as_dir in $PATH
11622 test -z "$as_dir" && as_dir=.
11623 for ac_exec_ext in '' $ac_executable_extensions; do
11624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11625 ac_cv_prog_ac_ct_CC="gcc"
11626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11635 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11636 if test -n "$ac_ct_CC"; then
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11638 $as_echo "$ac_ct_CC" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11641 $as_echo "no" >&6; }
11644 if test "x$ac_ct_CC" = x; then
11647 case $cross_compiling:$ac_tool_warned in
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11651 ac_tool_warned=yes ;;
11656 CC="$ac_cv_prog_CC"
11659 if test -z "$CC"; then
11660 if test -n "$ac_tool_prefix"; then
11661 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11662 set dummy ${ac_tool_prefix}cc; ac_word=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 $as_echo_n "checking for $ac_word... " >&6; }
11665 if ${ac_cv_prog_CC+:} false; then :
11666 $as_echo_n "(cached) " >&6
11668 if test -n "$CC"; then
11669 ac_cv_prog_CC="$CC" # Let the user override the test.
11671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11672 for as_dir in $PATH
11675 test -z "$as_dir" && as_dir=.
11676 for ac_exec_ext in '' $ac_executable_extensions; do
11677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11678 ac_cv_prog_CC="${ac_tool_prefix}cc"
11679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11689 if test -n "$CC"; then
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11691 $as_echo "$CC" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11694 $as_echo "no" >&6; }
11700 if test -z "$CC"; then
11701 # Extract the first word of "cc", so it can be a program name with args.
11702 set dummy cc; ac_word=$2
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11704 $as_echo_n "checking for $ac_word... " >&6; }
11705 if ${ac_cv_prog_CC+:} false; then :
11706 $as_echo_n "(cached) " >&6
11708 if test -n "$CC"; then
11709 ac_cv_prog_CC="$CC" # Let the user override the test.
11711 ac_prog_rejected=no
11712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11713 for as_dir in $PATH
11716 test -z "$as_dir" && as_dir=.
11717 for ac_exec_ext in '' $ac_executable_extensions; do
11718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11719 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11720 ac_prog_rejected=yes
11724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11731 if test $ac_prog_rejected = yes; then
11732 # We found a bogon in the path, so make sure we never use it.
11733 set dummy $ac_cv_prog_CC
11735 if test $# != 0; then
11736 # We chose a different compiler from the bogus one.
11737 # However, it has the same basename, so the bogon will be chosen
11738 # first if we set CC to just the basename; use the full file name.
11740 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11746 if test -n "$CC"; then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11748 $as_echo "$CC" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11756 if test -z "$CC"; then
11757 if test -n "$ac_tool_prefix"; then
11758 for ac_prog in cl.exe
11760 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11761 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 $as_echo_n "checking for $ac_word... " >&6; }
11764 if ${ac_cv_prog_CC+:} false; then :
11765 $as_echo_n "(cached) " >&6
11767 if test -n "$CC"; then
11768 ac_cv_prog_CC="$CC" # Let the user override the test.
11770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11771 for as_dir in $PATH
11774 test -z "$as_dir" && as_dir=.
11775 for ac_exec_ext in '' $ac_executable_extensions; do
11776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11777 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11788 if test -n "$CC"; then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11790 $as_echo "$CC" >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11793 $as_echo "no" >&6; }
11797 test -n "$CC" && break
11800 if test -z "$CC"; then
11802 for ac_prog in cl.exe
11804 # Extract the first word of "$ac_prog", so it can be a program name with args.
11805 set dummy $ac_prog; ac_word=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11807 $as_echo_n "checking for $ac_word... " >&6; }
11808 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11809 $as_echo_n "(cached) " >&6
11811 if test -n "$ac_ct_CC"; then
11812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $PATH
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821 ac_cv_prog_ac_ct_CC="$ac_prog"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11832 if test -n "$ac_ct_CC"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11834 $as_echo "$ac_ct_CC" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11841 test -n "$ac_ct_CC" && break
11844 if test "x$ac_ct_CC" = x; then
11847 case $cross_compiling:$ac_tool_warned in
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11851 ac_tool_warned=yes ;;
11860 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11862 as_fn_error $? "no acceptable C compiler found in \$PATH
11863 See \`config.log' for more details" "$LINENO" 5; }
11865 # Provide some information about the compiler.
11866 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11869 for ac_option in --version -v -V -qversion; do
11870 { { ac_try="$ac_compiler $ac_option >&5"
11871 case "(($ac_try" in
11872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11873 *) ac_try_echo=$ac_try;;
11875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11876 $as_echo "$ac_try_echo"; } >&5
11877 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11879 if test -s conftest.err; then
11881 ... rest of stderr output deleted ...
11882 10q' conftest.err >conftest.er1
11883 cat conftest.er1 >&5
11885 rm -f conftest.er1 conftest.err
11886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11887 test $ac_status = 0; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11891 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11892 if ${ac_cv_c_compiler_gnu+:} false; then :
11893 $as_echo_n "(cached) " >&6
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11909 if ac_fn_c_try_compile "$LINENO"; then :
11910 ac_compiler_gnu=yes
11914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11915 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11919 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11920 if test $ac_compiler_gnu = yes; then
11925 ac_test_CFLAGS=${CFLAGS+set}
11926 ac_save_CFLAGS=$CFLAGS
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11928 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11929 if ${ac_cv_prog_cc_g+:} false; then :
11930 $as_echo_n "(cached) " >&6
11932 ac_save_c_werror_flag=$ac_c_werror_flag
11933 ac_c_werror_flag=yes
11936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11937 /* end confdefs.h. */
11947 if ac_fn_c_try_compile "$LINENO"; then :
11948 ac_cv_prog_cc_g=yes
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11962 if ac_fn_c_try_compile "$LINENO"; then :
11965 ac_c_werror_flag=$ac_save_c_werror_flag
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11978 if ac_fn_c_try_compile "$LINENO"; then :
11979 ac_cv_prog_cc_g=yes
11981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11986 ac_c_werror_flag=$ac_save_c_werror_flag
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11989 $as_echo "$ac_cv_prog_cc_g" >&6; }
11990 if test "$ac_test_CFLAGS" = set; then
11991 CFLAGS=$ac_save_CFLAGS
11992 elif test $ac_cv_prog_cc_g = yes; then
11993 if test "$GCC" = yes; then
11999 if test "$GCC" = yes; then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12006 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12007 if ${ac_cv_prog_cc_c89+:} false; then :
12008 $as_echo_n "(cached) " >&6
12010 ac_cv_prog_cc_c89=no
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12014 #include <stdarg.h>
12016 #include <sys/types.h>
12017 #include <sys/stat.h>
12018 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12019 struct buf { int x; };
12020 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12021 static char *e (p, i)
12027 static char *f (char * (*g) (char **, int), char **p, ...)
12032 s = g (p, va_arg (v,int));
12037 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12038 function prototypes and stuff, but not '\xHH' hex character constants.
12039 These don't provoke an error unfortunately, instead are silently treated
12040 as 'x'. The following induces an error, until -std is added to get
12041 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12042 array size at least. It's necessary to write '\x00'==0 to get something
12043 that's true only with -std. */
12044 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12046 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12047 inside strings and character constants. */
12049 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12051 int test (int i, double x);
12052 struct s1 {int (*f) (int a);};
12053 struct s2 {int (*f) (double a);};
12054 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12060 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12065 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12066 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12068 CC="$ac_save_CC $ac_arg"
12069 if ac_fn_c_try_compile "$LINENO"; then :
12070 ac_cv_prog_cc_c89=$ac_arg
12072 rm -f core conftest.err conftest.$ac_objext
12073 test "x$ac_cv_prog_cc_c89" != "xno" && break
12075 rm -f conftest.$ac_ext
12080 case "x$ac_cv_prog_cc_c89" in
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12083 $as_echo "none needed" >&6; } ;;
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12086 $as_echo "unsupported" >&6; } ;;
12088 CC="$CC $ac_cv_prog_cc_c89"
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12090 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12092 if test "x$ac_cv_prog_cc_c89" != xno; then :
12097 ac_cpp='$CPP $CPPFLAGS'
12098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12102 depcc="$CC" am_compiler_list=
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12105 $as_echo_n "checking dependency style of $depcc... " >&6; }
12106 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12107 $as_echo_n "(cached) " >&6
12109 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12110 # We make a subdir and do the tests there. Otherwise we can end up
12111 # making bogus files that we don't know about and never remove. For
12112 # instance it was reported that on HP-UX the gcc test will end up
12113 # making a dummy file named `D' -- because `-MD' means `put the output
12115 rm -rf conftest.dir
12117 # Copy depcomp to subdir because otherwise we won't find it if we're
12118 # using a relative directory.
12119 cp "$am_depcomp" conftest.dir
12121 # We will build objects and dependencies in a subdirectory because
12122 # it helps to detect inapplicable dependency modes. For instance
12123 # both Tru64's cc and ICC support -MD to output dependencies as a
12124 # side effect of compilation, but ICC will put the dependencies in
12125 # the current directory while Tru64 will put them in the object
12129 am_cv_CC_dependencies_compiler_type=none
12130 if test "$am_compiler_list" = ""; then
12131 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12133 am__universal=false
12134 case " $depcc " in #(
12135 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12138 for depmode in $am_compiler_list; do
12139 # Setup a source with many dependencies, because some compilers
12140 # like to wrap large dependency lists on column 80 (with \), and
12141 # we should not choose a depcomp mode which is confused by this.
12143 # We need to recreate these files for each test, as the compiler may
12144 # overwrite some of them when testing with obscure command lines.
12145 # This happens at least with the AIX C compiler.
12147 for i in 1 2 3 4 5 6; do
12148 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12149 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12150 # Solaris 8's {/usr,}/bin/sh.
12151 touch sub/conftst$i.h
12153 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12155 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12156 # mode. It turns out that the SunPro C++ compiler does not properly
12157 # handle `-M -o', and we need to detect this. Also, some Intel
12158 # versions had trouble with output in subdirs
12159 am__obj=sub/conftest.${OBJEXT-o}
12160 am__minus_obj="-o $am__obj"
12163 # This depmode causes a compiler race in universal mode.
12164 test "$am__universal" = false || continue
12167 # after this tag, mechanisms are not by side-effect, so they'll
12168 # only be used when explicitly requested
12169 if test "x$enable_dependency_tracking" = xyes; then
12175 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12176 # This compiler won't grok `-c -o', but also, the minuso test has
12177 # not run yet. These depmodes are late enough in the game, and
12178 # so weak that their functioning should not be impacted.
12179 am__obj=conftest.${OBJEXT-o}
12184 if depmode=$depmode \
12185 source=sub/conftest.c object=$am__obj \
12186 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12187 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12188 >/dev/null 2>conftest.err &&
12189 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12190 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12191 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12192 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12193 # icc doesn't choke on unknown options, it will just issue warnings
12194 # or remarks (even with -Werror). So we grep stderr for any message
12195 # that says an option was ignored or not supported.
12196 # When given -MP, icc 7.0 and 7.1 complain thusly:
12197 # icc: Command line warning: ignoring option '-M'; no argument required
12198 # The diagnosis changed in icc 8.0:
12199 # icc: Command line remark: option '-MP' not supported
12200 if (grep 'ignoring option' conftest.err ||
12201 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12202 am_cv_CC_dependencies_compiler_type=$depmode
12209 rm -rf conftest.dir
12211 am_cv_CC_dependencies_compiler_type=none
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12216 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12217 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12220 test "x$enable_dependency_tracking" != xno \
12221 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12222 am__fastdepCC_TRUE=
12223 am__fastdepCC_FALSE='#'
12225 am__fastdepCC_TRUE='#'
12226 am__fastdepCC_FALSE=
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
12232 $as_echo_n "checking for native Win32... " >&6; }
12234 mingw*) os_win32=yes ;;
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
12238 $as_echo "$os_win32" >&6; }
12239 if test "$os_win32" = "yes"; then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
12248 $as_echo_n "checking for some Win32 platform... " >&6; }
12250 mingw*|cygwin*) platform_win32=yes ;;
12251 *) platform_win32=no ;;
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
12254 $as_echo "$platform_win32" >&6; }
12255 if test "$platform_win32" = "yes"; then
12256 PLATFORM_WIN32_TRUE=
12257 PLATFORM_WIN32_FALSE='#'
12259 PLATFORM_WIN32_TRUE='#'
12260 PLATFORM_WIN32_FALSE=
12265 # Checks for header files.
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12267 $as_echo_n "checking for ANSI C header files... " >&6; }
12268 if ${ac_cv_header_stdc+:} false; then :
12269 $as_echo_n "(cached) " >&6
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12273 #include <stdlib.h>
12274 #include <stdarg.h>
12275 #include <string.h>
12286 if ac_fn_c_try_compile "$LINENO"; then :
12287 ac_cv_header_stdc=yes
12289 ac_cv_header_stdc=no
12291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12293 if test $ac_cv_header_stdc = yes; then
12294 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12297 #include <string.h>
12300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12301 $EGREP "memchr" >/dev/null 2>&1; then :
12304 ac_cv_header_stdc=no
12310 if test $ac_cv_header_stdc = yes; then
12311 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 #include <stdlib.h>
12317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12318 $EGREP "free" >/dev/null 2>&1; then :
12321 ac_cv_header_stdc=no
12327 if test $ac_cv_header_stdc = yes; then
12328 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12329 if test "$cross_compiling" = yes; then :
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12335 #include <stdlib.h>
12336 #if ((' ' & 0x0FF) == 0x020)
12337 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12338 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12340 # define ISLOWER(c) \
12341 (('a' <= (c) && (c) <= 'i') \
12342 || ('j' <= (c) && (c) <= 'r') \
12343 || ('s' <= (c) && (c) <= 'z'))
12344 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12347 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12352 for (i = 0; i < 256; i++)
12353 if (XOR (islower (i), ISLOWER (i))
12354 || toupper (i) != TOUPPER (i))
12359 if ac_fn_c_try_run "$LINENO"; then :
12362 ac_cv_header_stdc=no
12364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12365 conftest.$ac_objext conftest.beam conftest.$ac_ext
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12371 $as_echo "$ac_cv_header_stdc" >&6; }
12372 if test $ac_cv_header_stdc = yes; then
12374 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12378 for ac_header in stdlib.h string.h strings.h inttypes.h wchar.h asm/page.h sys/times.h
12380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12383 cat >>confdefs.h <<_ACEOF
12384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12392 # Checks for typedefs and structures.
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12394 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12395 if ${ac_cv_c_const+:} false; then :
12396 $as_echo_n "(cached) " >&6
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12404 /* FIXME: Include the comments suggested by Paul. */
12405 #ifndef __cplusplus
12406 /* Ultrix mips cc rejects this. */
12407 typedef int charset[2];
12409 /* SunOS 4.1.1 cc rejects this. */
12410 char const *const *pcpcc;
12412 /* NEC SVR4.0.2 mips cc rejects this. */
12413 struct point {int x, y;};
12414 static struct point const zero = {0,0};
12415 /* AIX XL C 1.02.0.0 rejects this.
12416 It does not let you subtract one const X* pointer from another in
12417 an arm of an if-expression whose if-part is not a constant
12419 const char *g = "string";
12420 pcpcc = &g + (g ? g-g : 0);
12421 /* HPUX 7.0 cc rejects these. */
12423 ppc = (char**) pcpcc;
12424 pcpcc = (char const *const *) ppc;
12425 { /* SCO 3.2v4 cc rejects this. */
12427 char const *s = 0 ? (char *) 0 : (char const *) 0;
12432 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12433 int x[] = {25, 17};
12434 const int *foo = &x[0];
12437 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12438 typedef const int *iptr;
12442 { /* AIX XL C 1.02.0.0 rejects this saying
12443 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12444 struct s { int j; const int *ap[3]; };
12445 struct s *b; b->j = 5;
12447 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12448 const int foo = 10;
12449 if (!foo) return 0;
12451 return !cs[0] && !zero.x;
12458 if ac_fn_c_try_compile "$LINENO"; then :
12463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12466 $as_echo "$ac_cv_c_const" >&6; }
12467 if test $ac_cv_c_const = no; then
12469 $as_echo "#define const /**/" >>confdefs.h
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5
12474 $as_echo_n "checking for preprocessor stringizing operator... " >&6; }
12475 if ${ac_cv_c_stringize+:} false; then :
12476 $as_echo_n "(cached) " >&6
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12482 char *s = x(teststring);
12484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12485 $EGREP "#teststring" >/dev/null 2>&1; then :
12486 ac_cv_c_stringize=no
12488 ac_cv_c_stringize=yes
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5
12494 $as_echo "$ac_cv_c_stringize" >&6; }
12495 if test $ac_cv_c_stringize = yes; then
12497 $as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h
12501 # The cast to long int works around a bug in the HP C Compiler
12502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12504 # This bug is HP SR number 8606223364.
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12506 $as_echo_n "checking size of int... " >&6; }
12507 if ${ac_cv_sizeof_int+:} false; then :
12508 $as_echo_n "(cached) " >&6
12510 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12513 if test "$ac_cv_type_int" = yes; then
12514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12516 as_fn_error 77 "cannot compute sizeof (int)
12517 See \`config.log' for more details" "$LINENO" 5; }
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12525 $as_echo "$ac_cv_sizeof_int" >&6; }
12529 cat >>confdefs.h <<_ACEOF
12530 #define SIZEOF_INT $ac_cv_sizeof_int
12534 SIZEOF_INT=$ac_cv_sizeof_int
12536 # The cast to long int works around a bug in the HP C Compiler
12537 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12538 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12539 # This bug is HP SR number 8606223364.
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12541 $as_echo_n "checking size of short... " >&6; }
12542 if ${ac_cv_sizeof_short+:} false; then :
12543 $as_echo_n "(cached) " >&6
12545 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12548 if test "$ac_cv_type_short" = yes; then
12549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12551 as_fn_error 77 "cannot compute sizeof (short)
12552 See \`config.log' for more details" "$LINENO" 5; }
12554 ac_cv_sizeof_short=0
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12560 $as_echo "$ac_cv_sizeof_short" >&6; }
12564 cat >>confdefs.h <<_ACEOF
12565 #define SIZEOF_SHORT $ac_cv_sizeof_short
12569 # The cast to long int works around a bug in the HP C Compiler
12570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12572 # This bug is HP SR number 8606223364.
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12574 $as_echo_n "checking size of void *... " >&6; }
12575 if ${ac_cv_sizeof_void_p+:} false; then :
12576 $as_echo_n "(cached) " >&6
12578 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12581 if test "$ac_cv_type_void_p" = yes; then
12582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12584 as_fn_error 77 "cannot compute sizeof (void *)
12585 See \`config.log' for more details" "$LINENO" 5; }
12587 ac_cv_sizeof_void_p=0
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12593 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12597 cat >>confdefs.h <<_ACEOF
12598 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12602 # The cast to long int works around a bug in the HP C Compiler
12603 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12604 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12605 # This bug is HP SR number 8606223364.
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
12607 $as_echo_n "checking size of wchar_t... " >&6; }
12608 if ${ac_cv_sizeof_wchar_t+:} false; then :
12609 $as_echo_n "(cached) " >&6
12611 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
12614 if test "$ac_cv_type_wchar_t" = yes; then
12615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12617 as_fn_error 77 "cannot compute sizeof (wchar_t)
12618 See \`config.log' for more details" "$LINENO" 5; }
12620 ac_cv_sizeof_wchar_t=0
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
12626 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
12630 cat >>confdefs.h <<_ACEOF
12631 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
12636 # Checks for compiler characteristics.
12637 if test "x$GCC" = "xyes"; then
12638 CFLAGS="$CFLAGS -Wall -ansi "
12641 # Checks for library functions.
12642 for ac_func in memmove memset strdup
12644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12647 cat >>confdefs.h <<_ACEOF
12648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12655 $as_echo_n "checking return type of signal handlers... " >&6; }
12656 if ${ac_cv_type_signal+:} false; then :
12657 $as_echo_n "(cached) " >&6
12659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12660 /* end confdefs.h. */
12661 #include <sys/types.h>
12662 #include <signal.h>
12667 return *(signal (0, 0)) (0) == 1;
12672 if ac_fn_c_try_compile "$LINENO"; then :
12673 ac_cv_type_signal=int
12675 ac_cv_type_signal=void
12677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12680 $as_echo "$ac_cv_type_signal" >&6; }
12682 cat >>confdefs.h <<_ACEOF
12683 #define RETSIGTYPE $ac_cv_type_signal
12688 # Checks for configure options
12692 # Check whether --enable-debug was given.
12693 if test "${enable_debug+set}" = set; then :
12694 enableval=$enable_debug;
12699 if test x$enable_debug = xyes; then
12701 $as_echo "#define DEBUG 1" >>confdefs.h
12705 # --disable-deprecated
12706 # Check whether --enable-deprecated was given.
12707 if test "${enable_deprecated+set}" = set; then :
12708 enableval=$enable_deprecated;
12711 if test x$enable_deprecated = xno; then
12712 FRIBIDI_NO_DEPRECATED=1
12714 FRIBIDI_NO_DEPRECATED=0
12719 # Check whether --enable-malloc was given.
12720 if test "${enable_malloc+set}" = set; then :
12721 enableval=$enable_malloc;
12724 if test x$enable_malloc = xyes; then
12726 $as_echo "#define USE_SIMPLE_MALLOC 1" >>confdefs.h
12730 # --disable-charsets
12731 # Check whether --enable-charsets was given.
12732 if test "${enable_charsets+set}" = set; then :
12733 enableval=$enable_charsets;
12736 if test x$enable_charsets = xno; then
12742 if test x$FRIBIDI_CHARSETS = x1; then
12743 FRIBIDI_CHARSETS_TRUE=
12744 FRIBIDI_CHARSETS_FALSE='#'
12746 FRIBIDI_CHARSETS_TRUE='#'
12747 FRIBIDI_CHARSETS_FALSE=
12753 # Check whether --with-glib was given.
12754 if test "${with_glib+set}" = set; then :
12755 withval=$with_glib;
12758 GLIB_PACKAGE=glib-2.0
12759 GLIB_MINVERSION=2.4
12762 if test x$with_glib = xyes; then
12770 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12771 if test -n "$ac_tool_prefix"; then
12772 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12773 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12775 $as_echo_n "checking for $ac_word... " >&6; }
12776 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12777 $as_echo_n "(cached) " >&6
12779 case $PKG_CONFIG in
12781 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12785 for as_dir in $PATH
12788 test -z "$as_dir" && as_dir=.
12789 for ac_exec_ext in '' $ac_executable_extensions; do
12790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12791 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12802 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12803 if test -n "$PKG_CONFIG"; then
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12805 $as_echo "$PKG_CONFIG" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12808 $as_echo "no" >&6; }
12813 if test -z "$ac_cv_path_PKG_CONFIG"; then
12814 ac_pt_PKG_CONFIG=$PKG_CONFIG
12815 # Extract the first word of "pkg-config", so it can be a program name with args.
12816 set dummy pkg-config; ac_word=$2
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12818 $as_echo_n "checking for $ac_word... " >&6; }
12819 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12820 $as_echo_n "(cached) " >&6
12822 case $ac_pt_PKG_CONFIG in
12824 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12828 for as_dir in $PATH
12831 test -z "$as_dir" && as_dir=.
12832 for ac_exec_ext in '' $ac_executable_extensions; do
12833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12834 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12845 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12846 if test -n "$ac_pt_PKG_CONFIG"; then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12848 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12851 $as_echo "no" >&6; }
12854 if test "x$ac_pt_PKG_CONFIG" = x; then
12857 case $cross_compiling:$ac_tool_warned in
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12861 ac_tool_warned=yes ;;
12863 PKG_CONFIG=$ac_pt_PKG_CONFIG
12866 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12870 if test -n "$PKG_CONFIG"; then
12871 _pkg_min_version=0.9.0
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12873 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12874 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12876 $as_echo "yes" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12879 $as_echo "no" >&6; }
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12886 $as_echo_n "checking for GLIB... " >&6; }
12888 if test -n "$GLIB_CFLAGS"; then
12889 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12890 elif test -n "$PKG_CONFIG"; then
12891 if test -n "$PKG_CONFIG" && \
12892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
12893 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
12895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12896 test $ac_status = 0; }; then
12897 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
12898 test "x$?" != "x0" && pkg_failed=yes
12905 if test -n "$GLIB_LIBS"; then
12906 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12907 elif test -n "$PKG_CONFIG"; then
12908 if test -n "$PKG_CONFIG" && \
12909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
12910 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
12912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12913 test $ac_status = 0; }; then
12914 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
12915 test "x$?" != "x0" && pkg_failed=yes
12925 if test $pkg_failed = yes; then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12927 $as_echo "no" >&6; }
12929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12930 _pkg_short_errors_supported=yes
12932 _pkg_short_errors_supported=no
12934 if test $_pkg_short_errors_supported = yes; then
12935 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
12937 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
12939 # Put the nasty error message in config.log where it belongs
12940 echo "$GLIB_PKG_ERRORS" >&5
12942 as_fn_error $? "Package requirements ($GLIB_PACKAGE >= $GLIB_MINVERSION) were not met:
12946 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12947 installed software in a non-standard prefix.
12949 Alternatively, you may set the environment variables GLIB_CFLAGS
12950 and GLIB_LIBS to avoid the need to call pkg-config.
12951 See the pkg-config man page for more details." "$LINENO" 5
12952 elif test $pkg_failed = untried; then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12954 $as_echo "no" >&6; }
12955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12957 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12958 is in your PATH or set the PKG_CONFIG environment variable to the full
12959 path to pkg-config.
12961 Alternatively, you may set the environment variables GLIB_CFLAGS
12962 and GLIB_LIBS to avoid the need to call pkg-config.
12963 See the pkg-config man page for more details.
12965 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12966 See \`config.log' for more details" "$LINENO" 5; }
12968 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12969 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12971 $as_echo "yes" >&6; }
12976 if test x$with_glib = xno; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12982 $as_echo_n "checking for GLIB... " >&6; }
12984 if test -n "$GLIB_CFLAGS"; then
12985 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12986 elif test -n "$PKG_CONFIG"; then
12987 if test -n "$PKG_CONFIG" && \
12988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
12989 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
12991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12992 test $ac_status = 0; }; then
12993 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
12994 test "x$?" != "x0" && pkg_failed=yes
13001 if test -n "$GLIB_LIBS"; then
13002 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
13003 elif test -n "$PKG_CONFIG"; then
13004 if test -n "$PKG_CONFIG" && \
13005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
13006 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
13008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13009 test $ac_status = 0; }; then
13010 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
13011 test "x$?" != "x0" && pkg_failed=yes
13021 if test $pkg_failed = yes; then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13026 _pkg_short_errors_supported=yes
13028 _pkg_short_errors_supported=no
13030 if test $_pkg_short_errors_supported = yes; then
13031 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
13033 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>&1`
13035 # Put the nasty error message in config.log where it belongs
13036 echo "$GLIB_PKG_ERRORS" >&5
13039 elif test $pkg_failed = untried; then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13041 $as_echo "no" >&6; }
13044 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13045 GLIB_LIBS=$pkg_cv_GLIB_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13047 $as_echo "yes" >&6; }
13052 if test x$FRIBIDI_USE_GLIB = x0; then
13056 if test x$FRIBIDI_USE_GLIB = x1; then
13057 FRIBIDI_USE_GLIB_TRUE=
13058 FRIBIDI_USE_GLIB_FALSE='#'
13060 FRIBIDI_USE_GLIB_TRUE='#'
13061 FRIBIDI_USE_GLIB_FALSE=
13066 MISC_CFLAGS="$GLIB_CFLAGS"
13067 MISC_LIBS="$GLIB_LIBS"
13068 MISC_PACKAGES="$GLIB_PACKAGE"
13074 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"
13076 cat >confcache <<\_ACEOF
13077 # This file is a shell script that caches the results of configure
13078 # tests run on this system so they can be shared between configure
13079 # scripts and configure runs, see configure's option --config-cache.
13080 # It is not useful on other systems. If it contains results you don't
13081 # want to keep, you may remove or edit it.
13083 # config.status only pays attention to the cache file if you give it
13084 # the --recheck option to rerun configure.
13086 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13087 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13088 # following values.
13092 # The following way of writing the cache mishandles newlines in values,
13093 # but we know of no workaround that is simple, portable, and efficient.
13094 # So, we kill variables containing newlines.
13095 # Ultrix sh set writes to stderr and can't be redirected directly,
13096 # and sets the high bit in the cache file unless we assign to the vars.
13098 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13099 eval ac_val=\$$ac_var
13103 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13104 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13107 _ | IFS | as_nl) ;; #(
13108 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13109 *) { eval $ac_var=; unset $ac_var;} ;;
13115 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13116 *${as_nl}ac_space=\ *)
13117 # `set' does not quote correctly, so add quotes: double-quote
13118 # substitution turns \\\\ into \\, and sed turns \\ into \.
13121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13124 # `set' quotes correctly as required by POSIX, so do not add quotes.
13125 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13134 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13136 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13138 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13139 if test -w "$cache_file"; then
13140 if test "x$cache_file" != "x/dev/null"; then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13142 $as_echo "$as_me: updating cache $cache_file" >&6;}
13143 if test ! -f "$cache_file" || test -h "$cache_file"; then
13144 cat confcache >"$cache_file"
13146 case $cache_file in #(
13148 mv -f confcache "$cache_file"$$ &&
13149 mv -f "$cache_file"$$ "$cache_file" ;; #(
13151 mv -f confcache "$cache_file" ;;
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13157 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13162 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13163 # Let make expand exec_prefix.
13164 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13166 DEFS=-DHAVE_CONFIG_H
13171 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13172 # 1. Remove the extension, and $U if already installed.
13173 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13174 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13175 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13176 # will be set to the directory where LIBOBJS objects are built.
13177 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13178 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13180 LIBOBJS=$ac_libobjs
13182 LTLIBOBJS=$ac_ltlibobjs
13185 if test -n "$EXEEXT"; then
13187 am__EXEEXT_FALSE='#'
13189 am__EXEEXT_TRUE='#'
13193 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13194 as_fn_error $? "conditional \"AMDEP\" was never defined.
13195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13197 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13198 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13201 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13202 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13205 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13206 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13209 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
13210 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
13211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13213 if test -z "${FRIBIDI_CHARSETS_TRUE}" && test -z "${FRIBIDI_CHARSETS_FALSE}"; then
13214 as_fn_error $? "conditional \"FRIBIDI_CHARSETS\" was never defined.
13215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13217 if test -z "${FRIBIDI_USE_GLIB_TRUE}" && test -z "${FRIBIDI_USE_GLIB_FALSE}"; then
13218 as_fn_error $? "conditional \"FRIBIDI_USE_GLIB\" was never defined.
13219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13222 : "${CONFIG_STATUS=./config.status}"
13224 ac_clean_files_save=$ac_clean_files
13225 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13227 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13229 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13231 # Generated by $as_me.
13232 # Run this file to recreate the current configuration.
13233 # Compiler output produced by configure, useful for debugging
13234 # configure, is in config.log if it exists.
13237 ac_cs_recheck=false
13240 SHELL=\${CONFIG_SHELL-$SHELL}
13243 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13244 ## -------------------- ##
13245 ## M4sh Initialization. ##
13246 ## -------------------- ##
13248 # Be more Bourne compatible
13249 DUALCASE=1; export DUALCASE # for MKS sh
13250 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13253 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13254 # is contrary to our usage. Disable this feature.
13255 alias -g '${1+"$@"}'='"$@"'
13256 setopt NO_GLOB_SUBST
13258 case `(set -o) 2>/dev/null` in #(
13270 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13271 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13274 # Prefer a ksh shell builtin over an external printf program on Solaris,
13275 # but without wasting forks for bash or zsh.
13276 if test -z "$BASH_VERSION$ZSH_VERSION" \
13277 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13278 as_echo='print -r --'
13279 as_echo_n='print -rn --'
13280 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13281 as_echo='printf %s\n'
13282 as_echo_n='printf %s'
13284 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13285 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13286 as_echo_n='/usr/ucb/echo -n'
13288 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13289 as_echo_n_body='eval
13293 expr "X$arg" : "X\\(.*\\)$as_nl";
13294 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13296 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13298 export as_echo_n_body
13299 as_echo_n='sh -c $as_echo_n_body as_echo'
13301 export as_echo_body
13302 as_echo='sh -c $as_echo_body as_echo'
13305 # The user is always right.
13306 if test "${PATH_SEPARATOR+set}" != set; then
13308 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13309 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13316 # We need space, tab and new line, in precisely that order. Quoting is
13317 # there to prevent editors from complaining about space-tab.
13318 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13319 # splitting by setting IFS to empty value.)
13322 # Find who we are. Look in the path if we contain no directory separator.
13325 *[\\/]* ) as_myself=$0 ;;
13326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13330 test -z "$as_dir" && as_dir=.
13331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13337 # We did not find ourselves, most probably we were run as `sh COMMAND'
13338 # in which case we are not to be found in the path.
13339 if test "x$as_myself" = x; then
13342 if test ! -f "$as_myself"; then
13343 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13347 # Unset variables that we do not need and which cause bugs (e.g. in
13348 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13349 # suppresses any "Segmentation fault" message there. '((' could
13350 # trigger a bug in pdksh 5.2.14.
13351 for as_var in BASH_ENV ENV MAIL MAILPATH
13352 do eval test x\${$as_var+set} = xset \
13353 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13366 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13370 # ----------------------------------------
13371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13373 # script with STATUS, using 1 if that was 0.
13376 as_status=$1; test $as_status -eq 0 && as_status=1
13378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13381 $as_echo "$as_me: error: $2" >&2
13382 as_fn_exit $as_status
13386 # as_fn_set_status STATUS
13387 # -----------------------
13388 # Set $? to STATUS, without forking.
13389 as_fn_set_status ()
13392 } # as_fn_set_status
13394 # as_fn_exit STATUS
13395 # -----------------
13396 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13400 as_fn_set_status $1
13406 # Portably unset VAR.
13409 { eval $1=; unset $1;}
13411 as_unset=as_fn_unset
13412 # as_fn_append VAR VALUE
13413 # ----------------------
13414 # Append the text in VALUE to the end of the definition contained in VAR. Take
13415 # advantage of any shell optimizations that allow amortized linear growth over
13416 # repeated appends, instead of the typical quadratic growth present in naive
13418 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13419 eval 'as_fn_append ()
13430 # as_fn_arith ARG...
13431 # ------------------
13432 # Perform arithmetic evaluation on the ARGs, and store the result in the
13433 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13434 # must be portable across $(()) and expr.
13435 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13436 eval 'as_fn_arith ()
13443 as_val=`expr "$@" || test $? -eq 1`
13448 if expr a : '\(a\)' >/dev/null 2>&1 &&
13449 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13455 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13456 as_basename=basename
13461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13467 as_me=`$as_basename -- "$0" ||
13468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13469 X"$0" : 'X\(//\)$' \| \
13470 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13472 sed '/^.*\/\([^/][^/]*\)\/*$/{
13486 # Avoid depending upon Character Ranges.
13487 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13488 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13489 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13490 as_cr_digits='0123456789'
13491 as_cr_alnum=$as_cr_Letters$as_cr_digits
13493 ECHO_C= ECHO_N= ECHO_T=
13494 case `echo -n x` in #(((((
13496 case `echo 'xy\c'` in
13497 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13499 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13506 rm -f conf$$ conf$$.exe conf$$.file
13507 if test -d conf$$.dir; then
13508 rm -f conf$$.dir/conf$$.file
13511 mkdir conf$$.dir 2>/dev/null
13513 if (echo >conf$$.file) 2>/dev/null; then
13514 if ln -s conf$$.file conf$$ 2>/dev/null; then
13516 # ... but there are two gotchas:
13517 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13518 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13519 # In both cases, we have to default to `cp -p'.
13520 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13522 elif ln conf$$.file conf$$ 2>/dev/null; then
13530 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13531 rmdir conf$$.dir 2>/dev/null
13536 # Create "$as_dir" as a directory, including parents if necessary.
13541 -*) as_dir=./$as_dir;;
13543 test -d "$as_dir" || eval $as_mkdir_p || {
13547 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13548 *) as_qdir=$as_dir;;
13550 as_dirs="'$as_qdir' $as_dirs"
13551 as_dir=`$as_dirname -- "$as_dir" ||
13552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13553 X"$as_dir" : 'X\(//\)[^/]' \| \
13554 X"$as_dir" : 'X\(//\)$' \| \
13555 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13556 $as_echo X"$as_dir" |
13557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13561 /^X\(\/\/\)[^/].*/{
13574 test -d "$as_dir" && break
13576 test -z "$as_dirs" || eval "mkdir $as_dirs"
13577 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13581 if mkdir -p . 2>/dev/null; then
13582 as_mkdir_p='mkdir -p "$as_dir"'
13584 test -d ./-p && rmdir ./-p
13588 if test -x / >/dev/null 2>&1; then
13589 as_test_x='test -x'
13591 if ls -dL / >/dev/null 2>&1; then
13598 if test -d "$1"; then
13604 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13605 ???[sx]*):;;*)false;;esac;fi
13609 as_executable_p=$as_test_x
13611 # Sed expression to map a string onto a valid CPP name.
13612 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13614 # Sed expression to map a string onto a valid variable name.
13615 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13619 ## ----------------------------------- ##
13620 ## Main body of $CONFIG_STATUS script. ##
13621 ## ----------------------------------- ##
13623 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13626 # Save the log message, to keep $0 and so on meaningful, and to
13627 # report actual input values of CONFIG_FILES etc. instead of their
13628 # values after options handling.
13630 This file was extended by GNU FriBidi $as_me 0.19.5, which was
13631 generated by GNU Autoconf 2.68. Invocation command line was
13633 CONFIG_FILES = $CONFIG_FILES
13634 CONFIG_HEADERS = $CONFIG_HEADERS
13635 CONFIG_LINKS = $CONFIG_LINKS
13636 CONFIG_COMMANDS = $CONFIG_COMMANDS
13639 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13644 case $ac_config_files in *"
13645 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13648 case $ac_config_headers in *"
13649 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13654 # Files that config.status was made for.
13655 config_files="$ac_config_files"
13656 config_headers="$ac_config_headers"
13657 config_commands="$ac_config_commands"
13661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13663 \`$as_me' instantiates files and other configuration actions
13664 from templates according to the current configuration. Unless the files
13665 and actions are specified as TAGs, all are instantiated by default.
13667 Usage: $0 [OPTION]... [TAG]...
13669 -h, --help print this help, then exit
13670 -V, --version print version number and configuration settings, then exit
13671 --config print configuration, then exit
13672 -q, --quiet, --silent
13673 do not print progress messages
13674 -d, --debug don't remove temporary files
13675 --recheck update $as_me by reconfiguring in the same conditions
13676 --file=FILE[:TEMPLATE]
13677 instantiate the configuration file FILE
13678 --header=FILE[:TEMPLATE]
13679 instantiate the configuration header FILE
13681 Configuration files:
13684 Configuration headers:
13687 Configuration commands:
13690 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
13691 GNU FriBidi home page: <http://fribidi.org/>.
13692 General help using GNU software: <http://www.gnu.org/gethelp/>."
13695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13696 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13698 GNU FriBidi config.status 0.19.5
13699 configured by $0, generated by GNU Autoconf 2.68,
13700 with options \\"\$ac_cs_config\\"
13702 Copyright (C) 2010 Free Software Foundation, Inc.
13703 This config.status script is free software; the Free Software Foundation
13704 gives unlimited permission to copy, distribute and modify it."
13711 test -n "\$AWK" || AWK=awk
13714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13715 # The default lists apply if the user does not specify any file.
13721 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13722 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13726 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13738 # Handling of the options.
13739 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13741 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13742 $as_echo "$ac_cs_version"; exit ;;
13743 --config | --confi | --conf | --con | --co | --c )
13744 $as_echo "$ac_cs_config"; exit ;;
13745 --debug | --debu | --deb | --de | --d | -d )
13747 --file | --fil | --fi | --f )
13750 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13751 '') as_fn_error $? "missing file argument" ;;
13753 as_fn_append CONFIG_FILES " '$ac_optarg'"
13754 ac_need_defaults=false;;
13755 --header | --heade | --head | --hea )
13758 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13760 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13761 ac_need_defaults=false;;
13763 # Conflict between --help and --header
13764 as_fn_error $? "ambiguous option: \`$1'
13765 Try \`$0 --help' for more information.";;
13766 --help | --hel | -h )
13767 $as_echo "$ac_cs_usage"; exit ;;
13768 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13769 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13772 # This is an error.
13773 -*) as_fn_error $? "unrecognized option: \`$1'
13774 Try \`$0 --help' for more information." ;;
13776 *) as_fn_append ac_config_targets " $1"
13777 ac_need_defaults=false ;;
13783 ac_configure_extra_args=
13785 if $ac_cs_silent; then
13787 ac_configure_extra_args="$ac_configure_extra_args --silent"
13791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13792 if \$ac_cs_recheck; then
13793 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13795 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13796 CONFIG_SHELL='$SHELL'
13797 export CONFIG_SHELL
13802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13806 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13807 ## Running $as_me. ##
13813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13817 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13820 # The HP-UX ksh and POSIX shell print the target directory to stdout
13821 # if CDPATH is set.
13822 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13824 sed_quote_subst='$sed_quote_subst'
13825 double_quote_subst='$double_quote_subst'
13826 delay_variable_subst='$delay_variable_subst'
13827 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13828 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13829 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13830 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13831 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13832 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13833 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13834 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13835 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13836 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13837 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13838 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13839 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13840 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13841 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13842 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13843 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13844 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13845 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13846 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13847 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13848 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13849 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13850 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13851 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13852 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13853 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13854 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13855 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13856 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13857 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13858 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13859 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13860 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13861 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13862 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13863 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13864 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13865 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13866 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13867 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13868 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13869 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13870 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13871 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13872 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13873 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13874 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13875 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13876 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13877 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13878 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13879 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13880 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13881 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13882 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13883 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"`'
13884 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13885 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13886 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13887 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13888 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13889 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13890 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13891 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13892 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13893 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13894 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13895 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13896 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13897 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13898 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13899 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13900 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13901 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13902 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13903 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13904 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13905 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13906 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13907 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13908 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13909 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13910 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13911 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13912 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13913 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13914 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13915 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13916 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13917 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13918 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13919 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13920 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13921 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13922 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13923 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13924 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13925 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13926 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13927 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13928 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13929 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13930 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13931 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13932 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13933 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13934 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13935 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13936 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13937 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13938 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13939 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13940 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13941 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13942 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13943 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13944 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13945 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13946 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13947 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13948 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13949 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13950 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13951 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13952 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13953 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13954 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13955 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13956 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13959 LTCFLAGS='$LTCFLAGS'
13960 compiler='$compiler_DEFAULT'
13962 # A function that is used when there is no print builtin or printf.
13963 func_fallback_echo ()
13965 eval 'cat <<_LTECHO_EOF
13970 # Quote evaled strings.
13985 deplibs_check_method \
13990 sharedlib_from_linklib_cmd \
13993 archiver_list_spec \
13999 lt_cv_sys_global_symbol_pipe \
14000 lt_cv_sys_global_symbol_to_cdecl \
14001 lt_cv_sys_global_symbol_to_c_name_address \
14002 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14003 nm_file_list_spec \
14004 lt_prog_compiler_no_builtin_flag \
14005 lt_prog_compiler_pic \
14006 lt_prog_compiler_wl \
14007 lt_prog_compiler_static \
14008 lt_cv_prog_compiler_c_o \
14017 export_dynamic_flag_spec \
14018 whole_archive_flag_spec \
14019 compiler_needs_object \
14021 allow_undefined_flag \
14022 no_undefined_flag \
14023 hardcode_libdir_flag_spec \
14024 hardcode_libdir_separator \
14028 variables_saved_for_relink \
14030 library_names_spec \
14032 install_override_mode \
14036 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14037 *[\\\\\\\`\\"\\\$]*)
14038 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14041 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14046 # Double-quote double-evaled strings.
14047 for var in reload_cmds \
14048 old_postinstall_cmds \
14049 old_postuninstall_cmds \
14051 extract_expsyms_cmds \
14052 old_archive_from_new_cmds \
14053 old_archive_from_expsyms_cmds \
14055 archive_expsym_cmds \
14057 module_expsym_cmds \
14058 export_symbols_cmds \
14062 postuninstall_cmds \
14064 sys_lib_search_path_spec \
14065 sys_lib_dlsearch_path_spec; do
14066 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14067 *[\\\\\\\`\\"\\\$]*)
14068 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14071 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14076 ac_aux_dir='$ac_aux_dir'
14077 xsi_shell='$xsi_shell'
14078 lt_shell_append='$lt_shell_append'
14080 # See if we are running on zsh, and set the options which allow our
14081 # commands through without removal of \ escapes INIT.
14082 if test -n "\${ZSH_VERSION+set}" ; then
14083 setopt NO_GLOB_SUBST
14089 TIMESTAMP='$TIMESTAMP'
14098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14100 # Handling of arguments.
14101 for ac_config_target in $ac_config_targets
14103 case $ac_config_target in
14104 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14105 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14106 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14107 "fribidi.pc") CONFIG_FILES="$CONFIG_FILES fribidi.pc" ;;
14108 "lib/fribidi-config.h") CONFIG_FILES="$CONFIG_FILES lib/fribidi-config.h" ;;
14109 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14110 "charset/Makefile") CONFIG_FILES="$CONFIG_FILES charset/Makefile" ;;
14111 "gen.tab/Makefile") CONFIG_FILES="$CONFIG_FILES gen.tab/Makefile" ;;
14112 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14113 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
14114 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14115 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14117 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14122 # If the user did not use the arguments to specify the items to instantiate,
14123 # then the envvar interface is used. Set only those that are not.
14124 # We use the long form for the default assignment because of an extremely
14125 # bizarre bug on SunOS 4.1.3.
14126 if $ac_need_defaults; then
14127 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14128 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14129 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14132 # Have a temporary directory for convenience. Make it in the build tree
14133 # simply because there is no reason against having it here, and in addition,
14134 # creating and moving files from /tmp can sometimes cause problems.
14135 # Hook for its removal unless debugging.
14136 # Note that there is a small window in which the directory will not be cleaned:
14137 # after its creation but before its name has been assigned to `$tmp'.
14141 trap 'exit_status=$?
14142 : "${ac_tmp:=$tmp}"
14143 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14145 trap 'as_fn_exit 1' 1 2 13 15
14147 # Create a (secure) tmp directory for tmp files.
14150 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14154 tmp=./conf$$-$RANDOM
14155 (umask 077 && mkdir "$tmp")
14156 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14159 # Set up the scripts for CONFIG_FILES section.
14160 # No need to generate them if there are no CONFIG_FILES.
14161 # This happens for instance with `./config.status config.h'.
14162 if test -n "$CONFIG_FILES"; then
14165 ac_cr=`echo X | tr X '\015'`
14166 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14167 # But we know of no other shell where ac_cr would be empty at this
14168 # point, so we can use a bashism as a fallback.
14169 if test "x$ac_cr" = x; then
14170 eval ac_cr=\$\'\\r\'
14172 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14173 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14176 ac_cs_awk_cr=$ac_cr
14179 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14184 echo "cat >conf$$subs.awk <<_ACEOF" &&
14185 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14187 } >conf$$subs.sh ||
14188 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14189 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14191 for ac_last_try in false false false false false :; do
14192 . ./conf$$subs.sh ||
14193 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14195 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14196 if test $ac_delim_n = $ac_delim_num; then
14198 elif $ac_last_try; then
14199 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14201 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14204 rm -f conf$$subs.sh
14206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14207 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14211 s/^/S["/; s/!.*/"]=/
14221 s/\(.\{148\}\)..*/\1/
14223 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14228 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14235 s/\(.\{148\}\)..*/\1/
14237 s/["\\]/\\&/g; s/^/"/; s/$/"/
14241 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14246 ' <conf$$subs.awk | sed '
14251 ' >>$CONFIG_STATUS || ac_write_fail=1
14252 rm -f conf$$subs.awk
14253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14255 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14256 for (key in S) S_is_set[key] = 1
14262 nfields = split(line, field, "@")
14264 len = length(field[1])
14265 for (i = 2; i < nfields; i++) {
14267 keylen = length(key)
14268 if (S_is_set[key]) {
14270 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14271 len += length(value) + length(field[++i])
14282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14283 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14284 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14287 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14288 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14291 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14292 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14293 # trailing colons and then remove the whole line if VPATH becomes empty
14294 # (actually we leave an empty line to preserve line numbers).
14295 if test "x$srcdir" = x.; then
14296 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14315 fi # test -n "$CONFIG_FILES"
14317 # Set up the scripts for CONFIG_HEADERS section.
14318 # No need to generate them if there are no CONFIG_HEADERS.
14319 # This happens for instance with `./config.status Makefile'.
14320 if test -n "$CONFIG_HEADERS"; then
14321 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14325 # Transform confdefs.h into an awk script `defines.awk', embedded as
14326 # here-document in config.status, that substitutes the proper values into
14327 # config.h.in to produce config.h.
14329 # Create a delimiter string that does not exist in confdefs.h, to ease
14330 # handling of long lines.
14332 for ac_last_try in false false :; do
14333 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14334 if test -z "$ac_tt"; then
14336 elif $ac_last_try; then
14337 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14339 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14343 # For the awk script, D is an array of macro values keyed by name,
14344 # likewise P contains macro parameters if any. Preserve backslash
14345 # newline sequences.
14347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14349 s/.\{148\}/&'"$ac_delim"'/g
14352 s/^[ ]*#[ ]*define[ ][ ]*/ /
14359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14361 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14366 D["\1"]=" \3\\\\\\n"\\/p
14368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14373 s/.\{148\}/&'"$ac_delim"'/g
14378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14383 ' <confdefs.h | sed '
14384 s/'"$ac_delim"'/"\\\
14385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14388 for (key in D) D_is_set[key] = 1
14391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14393 split(line, arg, " ")
14394 if (arg[1] == "#") {
14398 defundef = substr(arg[1], 2)
14401 split(mac1, mac2, "(") #)
14403 prefix = substr(line, 1, index(line, defundef) - 1)
14404 if (D_is_set[macro]) {
14405 # Preserve the white space surrounding the "#".
14406 print prefix "define", macro P[macro] D[macro]
14409 # Replace #undef with comments. This is necessary, for example,
14410 # in the case of _POSIX_SOURCE, which is predefined and required
14411 # on some systems where configure will not decide to define it.
14412 if (defundef == "undef") {
14413 print "/*", prefix defundef, macro, "*/"
14421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14422 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14423 fi # test -n "$CONFIG_HEADERS"
14426 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14431 :[FHLC]) ac_mode=$ac_tag; continue;;
14433 case $ac_mode$ac_tag in
14435 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14436 :[FH]-) ac_tag=-:-;;
14437 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14454 -) ac_f="$ac_tmp/stdin";;
14455 *) # Look for the file first in the build tree, then in the source tree
14456 # (if the path is not absolute). The absolute path cannot be DOS-style,
14457 # because $ac_f cannot contain `:'.
14461 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14463 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14465 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14466 as_fn_append ac_file_inputs " '$ac_f'"
14469 # Let's still pretend it is `configure' which instantiates (i.e., don't
14470 # use $as_me), people would be surprised to read:
14471 # /* config.h. Generated by config.status. */
14472 configure_input='Generated from '`
14473 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14475 if test x"$ac_file" != x-; then
14476 configure_input="$ac_file. $configure_input"
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14478 $as_echo "$as_me: creating $ac_file" >&6;}
14480 # Neutralize special characters interpreted by sed in replacement strings.
14481 case $configure_input in #(
14482 *\&* | *\|* | *\\* )
14483 ac_sed_conf_input=`$as_echo "$configure_input" |
14484 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14485 *) ac_sed_conf_input=$configure_input;;
14489 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14495 ac_dir=`$as_dirname -- "$ac_file" ||
14496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14497 X"$ac_file" : 'X\(//\)[^/]' \| \
14498 X"$ac_file" : 'X\(//\)$' \| \
14499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14500 $as_echo X"$ac_file" |
14501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14505 /^X\(\/\/\)[^/].*/{
14518 as_dir="$ac_dir"; as_fn_mkdir_p
14522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14524 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14525 # A ".." for each directory in $ac_dir_suffix.
14526 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14527 case $ac_top_builddir_sub in
14528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14532 ac_abs_top_builddir=$ac_pwd
14533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14534 # for backward compatibility:
14535 ac_top_builddir=$ac_top_build_prefix
14538 .) # We are building in place.
14540 ac_top_srcdir=$ac_top_builddir_sub
14541 ac_abs_top_srcdir=$ac_pwd ;;
14542 [\\/]* | ?:[\\/]* ) # Absolute name.
14543 ac_srcdir=$srcdir$ac_dir_suffix;
14544 ac_top_srcdir=$srcdir
14545 ac_abs_top_srcdir=$srcdir ;;
14546 *) # Relative name.
14547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14548 ac_top_srcdir=$ac_top_build_prefix$srcdir
14549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14561 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14562 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14564 ac_MKDIR_P=$MKDIR_P
14566 [\\/$]* | ?:[\\/]* ) ;;
14567 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14572 # If the template does not know about datarootdir, expand it.
14573 # FIXME: This hack should be removed a few years after 2.60.
14574 ac_datarootdir_hack=; ac_datarootdir_seen=
14585 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14586 *datarootdir*) ac_datarootdir_seen=yes;;
14587 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14589 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14592 ac_datarootdir_hack='
14593 s&@datadir@&$datadir&g
14594 s&@docdir@&$docdir&g
14595 s&@infodir@&$infodir&g
14596 s&@localedir@&$localedir&g
14597 s&@mandir@&$mandir&g
14598 s&\\\${datarootdir}&$datarootdir&g' ;;
14602 # Neutralize VPATH when `$srcdir' = `.'.
14603 # Shell code in configure.ac might set extrasub.
14604 # FIXME: do we really want to maintain this feature?
14605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14606 ac_sed_extra="$ac_vpsub
14609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14611 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14612 s|@configure_input@|$ac_sed_conf_input|;t t
14613 s&@top_builddir@&$ac_top_builddir_sub&;t t
14614 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14615 s&@srcdir@&$ac_srcdir&;t t
14616 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14617 s&@top_srcdir@&$ac_top_srcdir&;t t
14618 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14619 s&@builddir@&$ac_builddir&;t t
14620 s&@abs_builddir@&$ac_abs_builddir&;t t
14621 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14622 s&@INSTALL@&$ac_INSTALL&;t t
14623 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14624 $ac_datarootdir_hack
14626 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14627 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14629 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14630 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14631 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14632 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14634 which seems to be undefined. Please make sure it is defined" >&5
14635 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14636 which seems to be undefined. Please make sure it is defined" >&2;}
14638 rm -f "$ac_tmp/stdin"
14640 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14641 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14643 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14649 if test x"$ac_file" != x-; then
14651 $as_echo "/* $configure_input */" \
14652 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14653 } >"$ac_tmp/config.h" \
14654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14655 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14657 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14660 mv "$ac_tmp/config.h" "$ac_file" \
14661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14664 $as_echo "/* $configure_input */" \
14665 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14666 || as_fn_error $? "could not create -" "$LINENO" 5
14668 # Compute "$ac_file"'s index in $config_headers.
14671 for _am_header in $config_headers :; do
14672 case $_am_header in
14673 $_am_arg | $_am_arg:* )
14676 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14679 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14680 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14681 X"$_am_arg" : 'X\(//\)[^/]' \| \
14682 X"$_am_arg" : 'X\(//\)$' \| \
14683 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14684 $as_echo X"$_am_arg" |
14685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14689 /^X\(\/\/\)[^/].*/{
14701 s/.*/./; q'`/stamp-h$_am_stamp_count
14704 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14705 $as_echo "$as_me: executing $ac_file commands" >&6;}
14710 case $ac_file$ac_mode in
14711 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14712 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14713 # are listed without --file. Let's play safe and only enable the eval
14714 # if we detect the quoting.
14715 case $CONFIG_FILES in
14716 *\'*) eval set x "$CONFIG_FILES" ;;
14717 *) set x $CONFIG_FILES ;;
14722 # Strip MF so we end up with the name of the file.
14723 mf=`echo "$mf" | sed -e 's/:.*$//'`
14724 # Check whether this is an Automake generated Makefile or not.
14725 # We used to match only the files named `Makefile.in', but
14726 # some people rename them; so instead we look at the file content.
14727 # Grep'ing the first line is not enough: some people post-process
14728 # each Makefile.in and add a new line on top of each file to say so.
14729 # Grep'ing the whole file is not good either: AIX grep has a line
14730 # limit of 2048, but all sed's we know have understand at least 4000.
14731 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14732 dirpart=`$as_dirname -- "$mf" ||
14733 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14734 X"$mf" : 'X\(//\)[^/]' \| \
14735 X"$mf" : 'X\(//\)$' \| \
14736 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14742 /^X\(\/\/\)[^/].*/{
14758 # Extract the definition of DEPDIR, am__include, and am__quote
14759 # from the Makefile without running `make'.
14760 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14761 test -z "$DEPDIR" && continue
14762 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14763 test -z "am__include" && continue
14764 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14765 # When using ansi2knr, U may be empty or an underscore; expand it
14766 U=`sed -n 's/^U = //p' < "$mf"`
14767 # Find all dependency output files, they are included files with
14768 # $(DEPDIR) in their names. We invoke sed twice because it is the
14769 # simplest approach to changing $(DEPDIR) to its actual value in the
14771 for file in `sed -n "
14772 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14773 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14774 # Make sure the directory exists.
14775 test -f "$dirpart/$file" && continue
14776 fdir=`$as_dirname -- "$file" ||
14777 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14778 X"$file" : 'X\(//\)[^/]' \| \
14779 X"$file" : 'X\(//\)$' \| \
14780 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14781 $as_echo X"$file" |
14782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14786 /^X\(\/\/\)[^/].*/{
14799 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14800 # echo "creating $dirpart/$file"
14801 echo '# dummy' > "$dirpart/$file"
14808 # See if we are running on zsh, and set the options which allow our
14809 # commands through without removal of \ escapes.
14810 if test -n "${ZSH_VERSION+set}" ; then
14811 setopt NO_GLOB_SUBST
14814 cfgfile="${ofile}T"
14815 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14818 cat <<_LT_EOF >> "$cfgfile"
14821 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14822 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14823 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14824 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14826 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14827 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14829 # Written by Gordon Matzigkeit, 1996
14831 # This file is part of GNU Libtool.
14833 # GNU Libtool is free software; you can redistribute it and/or
14834 # modify it under the terms of the GNU General Public License as
14835 # published by the Free Software Foundation; either version 2 of
14836 # the License, or (at your option) any later version.
14838 # As a special exception to the GNU General Public License,
14839 # if you distribute this file as part of a program or library that
14840 # is built using GNU Libtool, you may include this file under the
14841 # same distribution terms that you use for the rest of that program.
14843 # GNU Libtool is distributed in the hope that it will be useful,
14844 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14845 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14846 # GNU General Public License for more details.
14848 # You should have received a copy of the GNU General Public License
14849 # along with GNU Libtool; see the file COPYING. If not, a copy
14850 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14851 # obtained by writing to the Free Software Foundation, Inc.,
14852 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14855 # The names of the tagged configurations supported by this script.
14858 # ### BEGIN LIBTOOL CONFIG
14860 # Which release of libtool.m4 was used?
14861 macro_version=$macro_version
14862 macro_revision=$macro_revision
14864 # Whether or not to build static libraries.
14865 build_old_libs=$enable_static
14867 # Whether or not to build shared libraries.
14868 build_libtool_libs=$enable_shared
14870 # What type of objects to build.
14873 # Whether or not to optimize for fast installation.
14874 fast_install=$enable_fast_install
14876 # Shell to use when invoking shell scripts.
14879 # An echo program that protects backslashes.
14882 # The PATH separator for the build system.
14883 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14886 host_alias=$host_alias
14890 # The build system.
14891 build_alias=$build_alias
14895 # A sed program that does not truncate output.
14898 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14899 Xsed="\$SED -e 1s/^X//"
14901 # A grep program that handles long lines.
14907 # A literal string matcher.
14910 # A BSD- or MS-compatible name lister.
14913 # Whether we need soft or hard links.
14916 # What is the maximum length of a command?
14917 max_cmd_len=$max_cmd_len
14919 # Object file suffix (normally "o").
14922 # Executable file suffix (normally "").
14925 # whether the shell understands "unset".
14928 # turn spaces into newlines.
14931 # turn newlines into spaces.
14934 # convert \$build file names to \$host format.
14935 to_host_file_cmd=$lt_cv_to_host_file_cmd
14937 # convert \$build files to toolchain format.
14938 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14940 # An object symbol dumper.
14941 OBJDUMP=$lt_OBJDUMP
14943 # Method to check whether dependent libraries are shared objects.
14944 deplibs_check_method=$lt_deplibs_check_method
14946 # Command to use when deplibs_check_method = "file_magic".
14947 file_magic_cmd=$lt_file_magic_cmd
14949 # How to find potential files when deplibs_check_method = "file_magic".
14950 file_magic_glob=$lt_file_magic_glob
14952 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14953 want_nocaseglob=$lt_want_nocaseglob
14955 # DLL creation program.
14956 DLLTOOL=$lt_DLLTOOL
14958 # Command to associate shared and link libraries.
14959 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14964 # Flags to create an archive.
14965 AR_FLAGS=$lt_AR_FLAGS
14967 # How to feed a file listing to the archiver.
14968 archiver_list_spec=$lt_archiver_list_spec
14970 # A symbol stripping program.
14973 # Commands used to install an old-style archive.
14975 old_postinstall_cmds=$lt_old_postinstall_cmds
14976 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14978 # Whether to use a lock for old archive extraction.
14979 lock_old_archive_extraction=$lock_old_archive_extraction
14984 # LTCC compiler flags.
14985 LTCFLAGS=$lt_CFLAGS
14987 # Take the output of nm and produce a listing of raw symbols and C names.
14988 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14990 # Transform the output of nm in a proper C declaration.
14991 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14993 # Transform the output of nm in a C name address pair.
14994 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14996 # Transform the output of nm in a C name address pair when lib prefix is needed.
14997 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14999 # Specify filename containing input files for \$NM.
15000 nm_file_list_spec=$lt_nm_file_list_spec
15002 # The root where to search for dependent libraries,and in which our libraries should be installed.
15003 lt_sysroot=$lt_sysroot
15005 # The name of the directory that contains temporary libtool files.
15008 # Used to examine libraries when file_magic_cmd begins with "file".
15009 MAGIC_CMD=$MAGIC_CMD
15011 # Must we lock files when doing compilation?
15012 need_locks=$lt_need_locks
15015 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15017 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15018 DSYMUTIL=$lt_DSYMUTIL
15020 # Tool to change global to local symbols on Mac OS X.
15023 # Tool to manipulate fat objects and archives on Mac OS X.
15026 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15029 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15030 OTOOL64=$lt_OTOOL64
15032 # Old archive suffix (normally "a").
15035 # Shared library suffix (normally ".so").
15036 shrext_cmds=$lt_shrext_cmds
15038 # The commands to extract the exported symbol list from a shared archive.
15039 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15041 # Variables whose values should be saved in libtool wrapper scripts and
15042 # restored at link time.
15043 variables_saved_for_relink=$lt_variables_saved_for_relink
15045 # Do we need the "lib" prefix for modules?
15046 need_lib_prefix=$need_lib_prefix
15048 # Do we need a version for libraries?
15049 need_version=$need_version
15051 # Library versioning type.
15052 version_type=$version_type
15054 # Shared library runtime path variable.
15055 runpath_var=$runpath_var
15057 # Shared library path variable.
15058 shlibpath_var=$shlibpath_var
15060 # Is shlibpath searched before the hard-coded library search path?
15061 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15063 # Format of library name prefix.
15064 libname_spec=$lt_libname_spec
15066 # List of archive names. First name is the real one, the rest are links.
15067 # The last name is the one that the linker finds with -lNAME
15068 library_names_spec=$lt_library_names_spec
15070 # The coded name of the library, if different from the real name.
15071 soname_spec=$lt_soname_spec
15073 # Permission mode override for installation of shared libraries.
15074 install_override_mode=$lt_install_override_mode
15076 # Command to use after installation of a shared archive.
15077 postinstall_cmds=$lt_postinstall_cmds
15079 # Command to use after uninstallation of a shared archive.
15080 postuninstall_cmds=$lt_postuninstall_cmds
15082 # Commands used to finish a libtool library installation in a directory.
15083 finish_cmds=$lt_finish_cmds
15085 # As "finish_cmds", except a single script fragment to be evaled but
15087 finish_eval=$lt_finish_eval
15089 # Whether we should hardcode library paths into libraries.
15090 hardcode_into_libs=$hardcode_into_libs
15092 # Compile-time system search path for libraries.
15093 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15095 # Run-time system search path for libraries.
15096 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15098 # Whether dlopen is supported.
15099 dlopen_support=$enable_dlopen
15101 # Whether dlopen of programs is supported.
15102 dlopen_self=$enable_dlopen_self
15104 # Whether dlopen of statically linked programs is supported.
15105 dlopen_self_static=$enable_dlopen_self_static
15107 # Commands to strip libraries.
15108 old_striplib=$lt_old_striplib
15109 striplib=$lt_striplib
15112 # The linker used to build libraries.
15115 # How to create reloadable object files.
15116 reload_flag=$lt_reload_flag
15117 reload_cmds=$lt_reload_cmds
15119 # Commands used to build an old-style archive.
15120 old_archive_cmds=$lt_old_archive_cmds
15122 # A language specific compiler.
15125 # Is the compiler the GNU compiler?
15128 # Compiler flag to turn off builtin functions.
15129 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15131 # Additional compiler flags for building library objects.
15132 pic_flag=$lt_lt_prog_compiler_pic
15134 # How to pass a linker flag through the compiler.
15135 wl=$lt_lt_prog_compiler_wl
15137 # Compiler flag to prevent dynamic linking.
15138 link_static_flag=$lt_lt_prog_compiler_static
15140 # Does compiler simultaneously support -c and -o options?
15141 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15143 # Whether or not to add -lc for building shared libraries.
15144 build_libtool_need_lc=$archive_cmds_need_lc
15146 # Whether or not to disallow shared libs when runtime libs are static.
15147 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15149 # Compiler flag to allow reflexive dlopens.
15150 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15152 # Compiler flag to generate shared objects directly from archives.
15153 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15155 # Whether the compiler copes with passing no objects directly.
15156 compiler_needs_object=$lt_compiler_needs_object
15158 # Create an old-style archive from a shared archive.
15159 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15161 # Create a temporary old-style archive to link instead of a shared archive.
15162 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15164 # Commands used to build a shared archive.
15165 archive_cmds=$lt_archive_cmds
15166 archive_expsym_cmds=$lt_archive_expsym_cmds
15168 # Commands used to build a loadable module if different from building
15169 # a shared archive.
15170 module_cmds=$lt_module_cmds
15171 module_expsym_cmds=$lt_module_expsym_cmds
15173 # Whether we are building with GNU ld or not.
15174 with_gnu_ld=$lt_with_gnu_ld
15176 # Flag that allows shared libraries with undefined symbols to be built.
15177 allow_undefined_flag=$lt_allow_undefined_flag
15179 # Flag that enforces no undefined symbols.
15180 no_undefined_flag=$lt_no_undefined_flag
15182 # Flag to hardcode \$libdir into a binary during linking.
15183 # This must work even if \$libdir does not exist
15184 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15186 # Whether we need a single "-rpath" flag with a separated argument.
15187 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15189 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15190 # DIR into the resulting binary.
15191 hardcode_direct=$hardcode_direct
15193 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15194 # DIR into the resulting binary and the resulting library dependency is
15195 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15196 # library is relocated.
15197 hardcode_direct_absolute=$hardcode_direct_absolute
15199 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15200 # into the resulting binary.
15201 hardcode_minus_L=$hardcode_minus_L
15203 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15204 # into the resulting binary.
15205 hardcode_shlibpath_var=$hardcode_shlibpath_var
15207 # Set to "yes" if building a shared library automatically hardcodes DIR
15208 # into the library and all subsequent libraries and executables linked
15210 hardcode_automatic=$hardcode_automatic
15212 # Set to yes if linker adds runtime paths of dependent libraries
15213 # to runtime path list.
15214 inherit_rpath=$inherit_rpath
15216 # Whether libtool must link a program against all its dependency libraries.
15217 link_all_deplibs=$link_all_deplibs
15219 # Set to "yes" if exported symbols are required.
15220 always_export_symbols=$always_export_symbols
15222 # The commands to list exported symbols.
15223 export_symbols_cmds=$lt_export_symbols_cmds
15225 # Symbols that should not be listed in the preloaded symbols.
15226 exclude_expsyms=$lt_exclude_expsyms
15228 # Symbols that must always be exported.
15229 include_expsyms=$lt_include_expsyms
15231 # Commands necessary for linking programs (against libraries) with templates.
15232 prelink_cmds=$lt_prelink_cmds
15234 # Commands necessary for finishing linking programs.
15235 postlink_cmds=$lt_postlink_cmds
15237 # Specify filename containing input files.
15238 file_list_spec=$lt_file_list_spec
15240 # How to hardcode a shared library path into an executable.
15241 hardcode_action=$hardcode_action
15243 # ### END LIBTOOL CONFIG
15249 cat <<\_LT_EOF >> "$cfgfile"
15250 # AIX sometimes has problems with the GCC collect2 program. For some
15251 # reason, if we set the COLLECT_NAMES environment variable, the problems
15252 # vanish in a puff of smoke.
15253 if test "X${COLLECT_NAMES+set}" != Xset; then
15255 export COLLECT_NAMES
15262 ltmain="$ac_aux_dir/ltmain.sh"
15265 # We use sed instead of cat because bash on DJGPP gets confused if
15266 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15267 # text mode, it properly converts lines to CR/LF. This bash problem
15268 # is reportedly fixed, but why not run on old versions too?
15269 sed '$q' "$ltmain" >> "$cfgfile" \
15270 || (rm -f "$cfgfile"; exit 1)
15272 if test x"$xsi_shell" = xyes; then
15273 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15277 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15278 \ * ) func_dirname_result="${3}" ;;\
15280 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15281 && mv -f "$cfgfile.tmp" "$cfgfile" \
15282 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15283 test 0 -eq $? || _lt_function_replace_fail=:
15286 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15289 \ func_basename_result="${1##*/}"\
15290 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15291 && mv -f "$cfgfile.tmp" "$cfgfile" \
15292 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15293 test 0 -eq $? || _lt_function_replace_fail=:
15296 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15297 func_dirname_and_basename ()\
15300 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15301 \ * ) func_dirname_result="${3}" ;;\
15303 \ func_basename_result="${1##*/}"\
15304 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15305 && mv -f "$cfgfile.tmp" "$cfgfile" \
15306 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15307 test 0 -eq $? || _lt_function_replace_fail=:
15310 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15313 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15314 \ # positional parameters, so assign one to ordinary parameter first.\
15315 \ func_stripname_result=${3}\
15316 \ func_stripname_result=${func_stripname_result#"${1}"}\
15317 \ func_stripname_result=${func_stripname_result%"${2}"}\
15318 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15319 && mv -f "$cfgfile.tmp" "$cfgfile" \
15320 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15321 test 0 -eq $? || _lt_function_replace_fail=:
15324 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15325 func_split_long_opt ()\
15327 \ func_split_long_opt_name=${1%%=*}\
15328 \ func_split_long_opt_arg=${1#*=}\
15329 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15330 && mv -f "$cfgfile.tmp" "$cfgfile" \
15331 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15332 test 0 -eq $? || _lt_function_replace_fail=:
15335 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15336 func_split_short_opt ()\
15338 \ func_split_short_opt_arg=${1#??}\
15339 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15340 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15341 && mv -f "$cfgfile.tmp" "$cfgfile" \
15342 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15343 test 0 -eq $? || _lt_function_replace_fail=:
15346 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15350 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15351 \ *) func_lo2o_result=${1} ;;\
15353 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15354 && mv -f "$cfgfile.tmp" "$cfgfile" \
15355 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15356 test 0 -eq $? || _lt_function_replace_fail=:
15359 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15362 func_xform_result=${1%.*}.lo\
15363 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15364 && mv -f "$cfgfile.tmp" "$cfgfile" \
15365 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15366 test 0 -eq $? || _lt_function_replace_fail=:
15369 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15372 func_arith_result=$(( $* ))\
15373 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15374 && mv -f "$cfgfile.tmp" "$cfgfile" \
15375 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15376 test 0 -eq $? || _lt_function_replace_fail=:
15379 sed -e '/^func_len ()$/,/^} # func_len /c\
15382 func_len_result=${#1}\
15383 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15384 && mv -f "$cfgfile.tmp" "$cfgfile" \
15385 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15386 test 0 -eq $? || _lt_function_replace_fail=:
15390 if test x"$lt_shell_append" = xyes; then
15391 sed -e '/^func_append ()$/,/^} # func_append /c\
15394 eval "${1}+=\\${2}"\
15395 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15396 && mv -f "$cfgfile.tmp" "$cfgfile" \
15397 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15398 test 0 -eq $? || _lt_function_replace_fail=:
15401 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15402 func_append_quoted ()\
15404 \ func_quote_for_eval "${2}"\
15405 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15406 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15407 && mv -f "$cfgfile.tmp" "$cfgfile" \
15408 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15409 test 0 -eq $? || _lt_function_replace_fail=:
15412 # Save a `func_append' function call where possible by direct use of '+='
15413 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15414 && mv -f "$cfgfile.tmp" "$cfgfile" \
15415 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15416 test 0 -eq $? || _lt_function_replace_fail=:
15418 # Save a `func_append' function call even when '+=' is not available
15419 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15420 && mv -f "$cfgfile.tmp" "$cfgfile" \
15421 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15422 test 0 -eq $? || _lt_function_replace_fail=:
15425 if test x"$_lt_function_replace_fail" = x":"; then
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15427 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15431 mv -f "$cfgfile" "$ofile" ||
15432 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15443 ac_clean_files=$ac_clean_files_save
15445 test $ac_write_fail = 0 ||
15446 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15449 # configure is writing to config.log, and then calls config.status.
15450 # config.status does its own redirection, appending to config.log.
15451 # Unfortunately, on DOS this fails, as config.log is still kept open
15452 # by configure, so config.status won't be able to write to it; its
15453 # output is simply discarded. So we exec the FD to /dev/null,
15454 # effectively closing config.log, so it can be properly (re)opened and
15455 # appended to by config.status. When coming back to configure, we
15456 # need to make the FD available again.
15457 if test "$no_create" != yes; then
15459 ac_config_status_args=
15460 test "$silent" = yes &&
15461 ac_config_status_args="$ac_config_status_args --quiet"
15463 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15465 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15466 # would make configure fail if this is the last instruction.
15467 $ac_cs_success || as_fn_exit 1
15469 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15471 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}