2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for GNU FriBidi 0.19.4.
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 Free Software Foundation,
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error ERROR [LINENO LOG_FD]
364 # ---------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with status $?, using 1 if that was 0.
370 as_status=$?; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375 $as_echo "$as_me: error: $1" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
594 # So, first we look for a working echo in the user's PATH.
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 # maybe with a smaller string...
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 # Oops. We lost completely, so just stick with echo.
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682 test -n "$DJDIR" || exec 7<&0 </dev/null
686 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693 ac_default_prefix=/usr/local
695 ac_config_libobj_dir=.
702 # Identity of this package.
703 PACKAGE_NAME='GNU FriBidi'
704 PACKAGE_TARNAME='fribidi'
705 PACKAGE_VERSION='0.19.4'
706 PACKAGE_STRING='GNU FriBidi 0.19.4'
707 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi'
708 PACKAGE_URL='http://fribidi.org/'
710 ac_unique_file="fribidi.pc.in"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
724 # ifdef HAVE_STDLIB_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
747 ac_subst_vars='am__EXEEXT_FALSE
754 FRIBIDI_USE_GLIB_FALSE
755 FRIBIDI_USE_GLIB_TRUE
760 FRIBIDI_CHARSETS_FALSE
761 FRIBIDI_CHARSETS_TRUE
763 FRIBIDI_NO_DEPRECATED
772 FRIBIDI_INTERFACE_AGE
773 FRIBIDI_INTERFACE_VERSION
775 FRIBIDI_MICRO_VERSION
776 FRIBIDI_MINOR_VERSION
777 FRIBIDI_MAJOR_VERSION
832 INSTALL_STRIP_PROGRAM
874 program_transform_name
887 enable_option_checking
893 enable_dependency_tracking
902 ac_precious_vars='build_alias
916 # Initialize some variables set by options.
918 ac_init_version=false
919 ac_unrecognized_opts=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
930 program_transform_name=s,x,x,
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
976 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1006 -datadir | --datadir | --datadi | --datad)
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1032 eval enable_$ac_useropt=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_$ac_useropt"
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1222 -site=* | --site=* | --sit=*)
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1262 eval with_$ac_useropt=\$ac_optarg ;;
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1278 eval with_$ac_useropt=no ;;
1281 # Obsolete; use --with-x.
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) as_fn_error "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error "missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1331 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1349 # Be sure to have absolute directory names.
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1362 target=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378 test "$silent" = yes && exec 6>/dev/null
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error "pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1421 ac_srcdir_defaulted=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1455 \`configure' configures GNU FriBidi 0.19.4 to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/fribidi]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1523 if test -n "$ac_init_help"; then
1524 case $ac_init_help in
1525 short | recursive ) echo "Configuration of GNU FriBidi 0.19.4:";;
1530 --disable-option-checking ignore unrecognized --enable/--with options
1531 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1532 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1533 --enable-silent-rules less verbose build output (undo: `make V=1')
1534 --disable-silent-rules verbose build output (undo: `make V=0')
1535 --enable-static[=PKGS] build static libraries [default=no]
1536 --enable-shared[=PKGS] build shared libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-dependency-tracking speeds up one-time build
1540 --enable-dependency-tracking do not reject slow dependency extractors
1541 --disable-libtool-lock avoid locking (might break parallel builds)
1542 --enable-debug turn on debugging [default=yes]
1543 --disable-deprecated do not build deprecated functionality
1544 --enable-malloc use simple malloc instead of memory chunks
1545 --disable-charsets exclude charset conversion routines from library
1548 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1549 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1550 --with-pic try to use only PIC/non-PIC objects [default=use
1552 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1553 --with-glib=[no/auto/yes]
1554 use Glib [default=auto]
1556 Some influential environment variables:
1557 CC C compiler command
1558 CFLAGS C compiler flags
1559 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1560 nonstandard directory <lib dir>
1561 LIBS libraries to pass to the linker, e.g. -l<library>
1562 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1563 you have headers in a nonstandard directory <include dir>
1565 PKG_CONFIG path to pkg-config utility
1566 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1567 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1569 Use these variables to override the choices made by `configure' or to help
1570 it to find libraries and programs with nonstandard names/locations.
1572 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
1573 GNU FriBidi home page: <http://fribidi.org/>.
1574 General help using GNU software: <http://www.gnu.org/gethelp/>.
1579 if test "$ac_init_help" = "recursive"; then
1580 # If there are subdirs, report their specific --help.
1581 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1582 test -d "$ac_dir" ||
1583 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591 # A ".." for each directory in $ac_dir_suffix.
1592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593 case $ac_top_builddir_sub in
1594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1598 ac_abs_top_builddir=$ac_pwd
1599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1600 # for backward compatibility:
1601 ac_top_builddir=$ac_top_build_prefix
1604 .) # We are building in place.
1606 ac_top_srcdir=$ac_top_builddir_sub
1607 ac_abs_top_srcdir=$ac_pwd ;;
1608 [\\/]* | ?:[\\/]* ) # Absolute name.
1609 ac_srcdir=$srcdir$ac_dir_suffix;
1610 ac_top_srcdir=$srcdir
1611 ac_abs_top_srcdir=$srcdir ;;
1613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614 ac_top_srcdir=$ac_top_build_prefix$srcdir
1615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1619 cd "$ac_dir" || { ac_status=$?; continue; }
1620 # Check for guested configure.
1621 if test -f "$ac_srcdir/configure.gnu"; then
1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624 elif test -f "$ac_srcdir/configure"; then
1626 $SHELL "$ac_srcdir/configure" --help=recursive
1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630 cd "$ac_pwd" || { ac_status=$?; break; }
1634 test -n "$ac_init_help" && exit $ac_status
1635 if $ac_init_version; then
1637 GNU FriBidi configure 0.19.4
1638 generated by GNU Autoconf 2.65
1640 Copyright (C) 2009 Free Software Foundation, Inc.
1641 This configure script is free software; the Free Software Foundation
1642 gives unlimited permission to copy, distribute and modify it.
1647 ## ------------------------ ##
1648 ## Autoconf initialization. ##
1649 ## ------------------------ ##
1651 # ac_fn_c_try_compile LINENO
1652 # --------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_compile ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext
1658 if { { ac_try="$ac_compile"
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_compile") 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; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685 as_fn_set_status $ac_retval
1687 } # ac_fn_c_try_compile
1689 # ac_fn_c_try_link LINENO
1690 # -----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext conftest$ac_exeext
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>conftest.err
1705 if test -s conftest.err; then
1706 grep -v '^ *+' conftest.err >conftest.er1
1707 cat conftest.er1 >&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest$ac_exeext && {
1715 test "$cross_compiling" = yes ||
1716 $as_test_x conftest$ac_exeext
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727 # interfere with the next link command; also delete a directory that is
1728 # left behind by Apple's compiler. We do this before executing the actions.
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 as_fn_set_status $ac_retval
1733 } # ac_fn_c_try_link
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_c_try_cpp LINENO
1767 # ----------------------
1768 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } >/dev/null && {
1788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 as_fn_set_status $ac_retval
1803 # ac_fn_c_try_run LINENO
1804 # ----------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1806 # that executables *can* be run.
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 if { { ac_try="$ac_link"
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>&5
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1821 { { case "(($ac_try" in
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_try") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; }; }; then :
1833 $as_echo "$as_me: program exited with status $ac_status" >&5
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=$ac_status
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_check_func LINENO FUNC VAR
1846 # ----------------------------------
1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1848 ac_fn_c_check_func ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1860 #define $2 innocuous_$2
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char $2 (); below.
1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1865 <limits.h> exists even on freestanding compilers. */
1868 # include <limits.h>
1870 # include <assert.h>
1875 /* Override any GCC internal prototype to avoid an error.
1876 Use char because int might match the return type of a GCC
1877 builtin and then its argument prototype would still apply. */
1882 /* The GNU C library defines this for functions which it implements
1883 to always fail with ENOSYS. Some functions are actually named
1884 something starting with __ and the normal name is an alias. */
1885 #if defined __stub_$2 || defined __stub___$2
1897 if ac_fn_c_try_link "$LINENO"; then :
1902 rm -f core conftest.err conftest.$ac_objext \
1903 conftest$ac_exeext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910 } # ac_fn_c_check_func
1912 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1913 # -------------------------------------------------------
1914 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1915 # the include files in INCLUDES and setting the cache variable VAR
1917 ac_fn_c_check_header_mongrel ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922 $as_echo_n "checking for $2... " >&6; }
1923 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1924 $as_echo_n "(cached) " >&6
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1930 # Is the header compilable?
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1932 $as_echo_n "checking $2 usability... " >&6; }
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1938 if ac_fn_c_try_compile "$LINENO"; then :
1939 ac_header_compiler=yes
1941 ac_header_compiler=no
1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1945 $as_echo "$ac_header_compiler" >&6; }
1947 # Is the header present?
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1949 $as_echo_n "checking $2 presence... " >&6; }
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1954 if ac_fn_c_try_cpp "$LINENO"; then :
1955 ac_header_preproc=yes
1957 ac_header_preproc=no
1959 rm -f conftest.err conftest.$ac_ext
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1961 $as_echo "$ac_header_preproc" >&6; }
1963 # So? What about this header?
1964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1967 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1969 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1973 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1975 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1977 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1979 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1981 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1983 ## ------------------------------------------------------------------------ ##
1984 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi ##
1985 ## ------------------------------------------------------------------------ ##
1987 ) | sed "s/^/$as_me: WARNING: /" >&2
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991 $as_echo_n "checking for $2... " >&6; }
1992 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1993 $as_echo_n "(cached) " >&6
1995 eval "$3=\$ac_header_compiler"
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 } # ac_fn_c_check_header_mongrel
2005 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2006 # --------------------------------------------
2007 # Tries to find the compile-time value of EXPR in a program that includes
2008 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2010 ac_fn_c_compute_int ()
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 if test "$cross_compiling" = yes; then
2014 # Depending upon the size, compute the lo and hi bounds.
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2021 static int test_array [1 - 2 * !(($2) >= 0)];
2028 if ac_fn_c_try_compile "$LINENO"; then :
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2037 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045 ac_hi=$ac_mid; break
2047 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2048 if test $ac_lo -le $ac_mid; then
2052 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2063 static int test_array [1 - 2 * !(($2) < 0)];
2070 if ac_fn_c_try_compile "$LINENO"; then :
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2079 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2086 if ac_fn_c_try_compile "$LINENO"; then :
2087 ac_lo=$ac_mid; break
2089 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2090 if test $ac_mid -le $ac_hi; then
2094 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 # Binary search between lo and hi bounds.
2105 while test "x$ac_lo" != "x$ac_hi"; do
2106 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2113 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2120 if ac_fn_c_try_compile "$LINENO"; then :
2123 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2135 static long int longval () { return $2; }
2136 static unsigned long int ulongval () { return $2; }
2143 FILE *f = fopen ("conftest.val", "w");
2148 long int i = longval ();
2151 fprintf (f, "%ld", i);
2155 unsigned long int i = ulongval ();
2158 fprintf (f, "%lu", i);
2160 /* Do not output a trailing newline, as this causes \r\n confusion
2161 on some platforms. */
2162 return ferror (f) || fclose (f) != 0;
2168 if ac_fn_c_try_run "$LINENO"; then :
2169 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2174 conftest.$ac_objext conftest.beam conftest.$ac_ext
2178 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2179 as_fn_set_status $ac_retval
2181 } # ac_fn_c_compute_int
2182 cat >config.log <<_ACEOF
2183 This file contains any messages produced by compilers while
2184 running configure, to aid debugging if configure makes a mistake.
2186 It was created by GNU FriBidi $as_me 0.19.4, which was
2187 generated by GNU Autoconf 2.65. Invocation command line was
2199 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2200 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2201 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2202 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2203 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2205 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2206 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2208 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2209 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2210 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2211 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2212 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2213 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2214 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir=.
2223 $as_echo "PATH: $as_dir"
2239 # Keep a trace of the command line.
2240 # Strip out --no-create and --no-recursion so they do not pile up.
2241 # Strip out --silent because we don't want to record it for future runs.
2242 # Also quote any args containing shell meta-characters.
2243 # Make two passes to allow for proper duplicate-argument suppression.
2247 ac_must_keep_next=false
2253 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2255 | -silent | --silent | --silen | --sile | --sil)
2258 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2261 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2263 as_fn_append ac_configure_args1 " '$ac_arg'"
2264 if test $ac_must_keep_next = true; then
2265 ac_must_keep_next=false # Got value, back to normal.
2268 *=* | --config-cache | -C | -disable-* | --disable-* \
2269 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2270 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2271 | -with-* | --with-* | -without-* | --without-* | --x)
2272 case "$ac_configure_args0 " in
2273 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2276 -* ) ac_must_keep_next=true ;;
2279 as_fn_append ac_configure_args " '$ac_arg'"
2284 { ac_configure_args0=; unset ac_configure_args0;}
2285 { ac_configure_args1=; unset ac_configure_args1;}
2287 # When interrupted or exit'd, cleanup temporary files, and complete
2288 # config.log. We remove comments because anyway the quotes in there
2289 # would cause problems or look ugly.
2290 # WARNING: Use '\'' to represent an apostrophe within the trap.
2291 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2292 trap 'exit_status=$?
2293 # Save into config.log some information that might help in debugging.
2298 ## ---------------- ##
2299 ## Cache variables. ##
2300 ## ---------------- ##
2303 # The following way of writing the cache mishandles newlines in values,
2305 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2306 eval ac_val=\$$ac_var
2310 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2311 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2314 _ | IFS | as_nl) ;; #(
2315 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2316 *) { eval $ac_var=; unset $ac_var;} ;;
2321 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2322 *${as_nl}ac_space=\ *)
2324 "s/'\''/'\''\\\\'\'''\''/g;
2325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2336 ## ----------------- ##
2337 ## Output variables. ##
2338 ## ----------------- ##
2341 for ac_var in $ac_subst_vars
2343 eval ac_val=\$$ac_var
2345 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2347 $as_echo "$ac_var='\''$ac_val'\''"
2351 if test -n "$ac_subst_files"; then
2353 ## ------------------- ##
2354 ## File substitutions. ##
2355 ## ------------------- ##
2358 for ac_var in $ac_subst_files
2360 eval ac_val=\$$ac_var
2362 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2364 $as_echo "$ac_var='\''$ac_val'\''"
2369 if test -s confdefs.h; then
2379 test "$ac_signal" != 0 &&
2380 $as_echo "$as_me: caught signal $ac_signal"
2381 $as_echo "$as_me: exit $exit_status"
2383 rm -f core *.core core.conftest.* &&
2384 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2387 for ac_signal in 1 2 13 15; do
2388 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2393 rm -f -r conftest* confdefs.h
2395 $as_echo "/* confdefs.h */" > confdefs.h
2397 # Predefined preprocessor variables.
2399 cat >>confdefs.h <<_ACEOF
2400 #define PACKAGE_NAME "$PACKAGE_NAME"
2403 cat >>confdefs.h <<_ACEOF
2404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2407 cat >>confdefs.h <<_ACEOF
2408 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2411 cat >>confdefs.h <<_ACEOF
2412 #define PACKAGE_STRING "$PACKAGE_STRING"
2415 cat >>confdefs.h <<_ACEOF
2416 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2419 cat >>confdefs.h <<_ACEOF
2420 #define PACKAGE_URL "$PACKAGE_URL"
2424 # Let the site file select an alternate cache file if it wants to.
2425 # Prefer an explicitly selected file to automatically selected ones.
2428 if test -n "$CONFIG_SITE"; then
2429 ac_site_file1=$CONFIG_SITE
2430 elif test "x$prefix" != xNONE; then
2431 ac_site_file1=$prefix/share/config.site
2432 ac_site_file2=$prefix/etc/config.site
2434 ac_site_file1=$ac_default_prefix/share/config.site
2435 ac_site_file2=$ac_default_prefix/etc/config.site
2437 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2439 test "x$ac_site_file" = xNONE && continue
2440 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2442 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2443 sed 's/^/| /' "$ac_site_file" >&5
2448 if test -r "$cache_file"; then
2449 # Some versions of bash will fail to source /dev/null (special files
2450 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2451 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2453 $as_echo "$as_me: loading cache $cache_file" >&6;}
2455 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2456 *) . "./$cache_file";;
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2461 $as_echo "$as_me: creating cache $cache_file" >&6;}
2465 # Check that the precious variables saved in the cache have kept the same
2467 ac_cache_corrupted=false
2468 for ac_var in $ac_precious_vars; do
2469 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2470 eval ac_new_set=\$ac_env_${ac_var}_set
2471 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2472 eval ac_new_val=\$ac_env_${ac_var}_value
2473 case $ac_old_set,$ac_new_set in
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2476 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2477 ac_cache_corrupted=: ;;
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2480 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2481 ac_cache_corrupted=: ;;
2484 if test "x$ac_old_val" != "x$ac_new_val"; then
2485 # differences in whitespace do not lead to failure.
2486 ac_old_val_w=`echo x $ac_old_val`
2487 ac_new_val_w=`echo x $ac_new_val`
2488 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2490 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2491 ac_cache_corrupted=:
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2494 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2495 eval $ac_var=\$ac_old_val
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2498 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2500 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2503 # Pass precious variables to config.status.
2504 if test "$ac_new_set" = set; then
2506 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2507 *) ac_arg=$ac_var=$ac_new_val ;;
2509 case " $ac_configure_args " in
2510 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2511 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2515 if $ac_cache_corrupted; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2519 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2520 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2522 ## -------------------- ##
2523 ## Main body of script. ##
2524 ## -------------------- ##
2527 ac_cpp='$CPP $CPPFLAGS'
2528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2535 ac_config_headers="$ac_config_headers config.h"
2538 am__api_version='1.11'
2541 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2542 for ac_t in install-sh install.sh shtool; do
2543 if test -f "$ac_dir/$ac_t"; then
2545 ac_install_sh="$ac_aux_dir/$ac_t -c"
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2563 # Find a good install program. We prefer a C program (faster),
2564 # so one script is as good as another. But avoid the broken or
2565 # incompatible versions:
2566 # SysV /etc/install, /usr/sbin/install
2567 # SunOS /usr/etc/install
2568 # IRIX /sbin/install
2570 # AmigaOS /C/install, which installs bootblocks on floppy discs
2571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2574 # OS/2's system install, which has a completely different semantic
2575 # ./install, which can be erroneously created by make from ./install.sh.
2576 # Reject install programs that cannot install multiple files.
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2578 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2579 if test -z "$INSTALL"; then
2580 if test "${ac_cv_path_install+set}" = set; then :
2581 $as_echo_n "(cached) " >&6
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 # Account for people who put trailing slashes in PATH elements.
2589 case $as_dir/ in #((
2590 ./ | .// | /[cC]/* | \
2591 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2592 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2595 # OSF1 and SCO ODT 3.0 have their own names for install.
2596 # Don't use installbsd from OSF since it installs stuff as root
2598 for ac_prog in ginstall scoinst install; do
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2601 if test $ac_prog = install &&
2602 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2603 # AIX install. It has an incompatible calling convention.
2605 elif test $ac_prog = install &&
2606 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2607 # program-specific install script used by HP pwplus--don't use.
2610 rm -rf conftest.one conftest.two conftest.dir
2611 echo one > conftest.one
2612 echo two > conftest.two
2614 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2615 test -s conftest.one && test -s conftest.two &&
2616 test -s conftest.dir/conftest.one &&
2617 test -s conftest.dir/conftest.two
2619 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2632 rm -rf conftest.one conftest.two conftest.dir
2635 if test "${ac_cv_path_install+set}" = set; then
2636 INSTALL=$ac_cv_path_install
2638 # As a last resort, use the slow shell script. Don't cache a
2639 # value for INSTALL within a source directory, because that will
2640 # break other packages using the cache if that directory is
2641 # removed, or if the value is a relative name.
2642 INSTALL=$ac_install_sh
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2646 $as_echo "$INSTALL" >&6; }
2648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2649 # It thinks the first close brace ends the variable substitution.
2650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2654 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2657 $as_echo_n "checking whether build environment is sane... " >&6; }
2660 echo timestamp > conftest.file
2661 # Reject unsafe characters in $srcdir or the absolute working directory
2662 # name. Accept space and tab only in the latter.
2666 *[\\\"\#\$\&\'\`$am_lf]*)
2667 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2670 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2671 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2674 # Do `set' in a subshell so we don't clobber the current shell's
2675 # arguments. Must try -L first in case configure is actually a
2676 # symlink; some systems play weird games with the mod time of symlinks
2677 # (eg FreeBSD returns the mod time of the symlink's containing
2680 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2681 if test "$*" = "X"; then
2683 set X `ls -t "$srcdir/configure" conftest.file`
2686 if test "$*" != "X $srcdir/configure conftest.file" \
2687 && test "$*" != "X conftest.file $srcdir/configure"; then
2689 # If neither matched, then we have a broken ls. This can happen
2690 # if, for instance, CONFIG_SHELL is bash and it inherits a
2691 # broken ls alias from the environment. This has actually
2692 # happened. Such a system could not be considered "sane".
2693 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2694 alias in your environment" "$LINENO" 5
2697 test "$2" = conftest.file
2703 as_fn_error "newly created file is older than distributed files!
2704 Check your system clock" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707 $as_echo "yes" >&6; }
2708 test "$program_prefix" != NONE &&
2709 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2710 # Use a double $ so make ignores it.
2711 test "$program_suffix" != NONE &&
2712 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2713 # Double any \ or $.
2714 # By default was `s,x,x', remove it if useless.
2715 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2716 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2718 # expand $ac_aux_dir to an absolute path
2719 am_aux_dir=`cd $ac_aux_dir && pwd`
2721 if test x"${MISSING+set}" != xset; then
2724 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2726 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2729 # Use eval to expand $SHELL
2730 if eval "$MISSING --run true"; then
2731 am_missing_run="$MISSING --run "
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2735 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2738 if test x"${install_sh}" != xset; then
2741 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2743 install_sh="\${SHELL} $am_aux_dir/install-sh"
2747 # Installed binaries are usually stripped using `strip' when the user
2748 # run `make install-strip'. However `strip' might not be the right
2749 # tool to use in cross-compilation environments, therefore Automake
2750 # will honor the `STRIP' environment variable to overrule this program.
2751 if test "$cross_compiling" != no; then
2752 if test -n "$ac_tool_prefix"; then
2753 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2754 set dummy ${ac_tool_prefix}strip; ac_word=$2
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2756 $as_echo_n "checking for $ac_word... " >&6; }
2757 if test "${ac_cv_prog_STRIP+set}" = set; then :
2758 $as_echo_n "(cached) " >&6
2760 if test -n "$STRIP"; then
2761 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2770 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 STRIP=$ac_cv_prog_STRIP
2781 if test -n "$STRIP"; then
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2783 $as_echo "$STRIP" >&6; }
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2786 $as_echo "no" >&6; }
2791 if test -z "$ac_cv_prog_STRIP"; then
2793 # Extract the first word of "strip", so it can be a program name with args.
2794 set dummy strip; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$ac_ct_STRIP"; then
2801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2810 ac_cv_prog_ac_ct_STRIP="strip"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2821 if test -n "$ac_ct_STRIP"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2823 $as_echo "$ac_ct_STRIP" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2829 if test "x$ac_ct_STRIP" = x; then
2832 case $cross_compiling:$ac_tool_warned in
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2836 ac_tool_warned=yes ;;
2841 STRIP="$ac_cv_prog_STRIP"
2845 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2848 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2849 if test -z "$MKDIR_P"; then
2850 if test "${ac_cv_path_mkdir+set}" = set; then :
2851 $as_echo_n "(cached) " >&6
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2857 test -z "$as_dir" && as_dir=.
2858 for ac_prog in mkdir gmkdir; do
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2861 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2862 'mkdir (GNU coreutils) '* | \
2863 'mkdir (coreutils) '* | \
2864 'mkdir (fileutils) '4.1*)
2865 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2875 test -d ./--version && rmdir ./--version
2876 if test "${ac_cv_path_mkdir+set}" = set; then
2877 MKDIR_P="$ac_cv_path_mkdir -p"
2879 # As a last resort, use the slow shell script. Don't cache a
2880 # value for MKDIR_P within a source directory, because that will
2881 # break other packages using the cache if that directory is
2882 # removed, or if the value is a relative name.
2883 MKDIR_P="$ac_install_sh -d"
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2887 $as_echo "$MKDIR_P" >&6; }
2891 [\\/$]* | ?:[\\/]*) ;;
2892 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2895 for ac_prog in gawk mawk nawk awk
2897 # Extract the first word of "$ac_prog", so it can be a program name with args.
2898 set dummy $ac_prog; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if test "${ac_cv_prog_AWK+set}" = set; then :
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$AWK"; then
2905 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir=.
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2914 ac_cv_prog_AWK="$ac_prog"
2915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 if test -n "$AWK"; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2927 $as_echo "$AWK" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2934 test -n "$AWK" && break
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2938 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2940 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2941 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2942 $as_echo_n "(cached) " >&6
2944 cat >conftest.make <<\_ACEOF
2947 @echo '@@@%%%=$(MAKE)=@@@%%%'
2949 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2950 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2952 eval ac_cv_prog_make_${ac_make}_set=yes;;
2954 eval ac_cv_prog_make_${ac_make}_set=no;;
2958 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2960 $as_echo "yes" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2965 SET_MAKE="MAKE=${MAKE-make}"
2968 rm -rf .tst 2>/dev/null
2969 mkdir .tst 2>/dev/null
2970 if test -d .tst; then
2975 rmdir .tst 2>/dev/null
2977 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2978 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2979 # is not polluted with repeated "-I."
2980 am__isrc=' -I$(srcdir)'
2981 # test to see if srcdir already configured
2982 if test -f $srcdir/config.status; then
2983 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2987 # test whether we have cygpath
2988 if test -z "$CYGPATH_W"; then
2989 if (cygpath --version) >/dev/null 2>/dev/null; then
2990 CYGPATH_W='cygpath -w'
2997 # Define the identity of the package.
3002 # Some tools Automake needs.
3004 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3007 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3010 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3013 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3016 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3018 # We need awk for the "check" target. The system "awk" is bad on
3020 # Always define AMTAR for backward compatibility.
3022 AMTAR=${AMTAR-"${am_missing_run}tar"}
3024 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3030 # Check whether --enable-silent-rules was given.
3031 if test "${enable_silent_rules+set}" = set; then :
3032 enableval=$enable_silent_rules;
3035 case $enable_silent_rules in
3036 yes) AM_DEFAULT_VERBOSITY=0;;
3037 no) AM_DEFAULT_VERBOSITY=1;;
3038 *) AM_DEFAULT_VERBOSITY=0;;
3043 # Initialize libtool
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3048 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3053 macro_version='2.2.6b'
3054 macro_revision='1.3017'
3068 ltmain="$ac_aux_dir/ltmain.sh"
3070 # Make sure we can run config.sub.
3071 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3072 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3075 $as_echo_n "checking build system type... " >&6; }
3076 if test "${ac_cv_build+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3079 ac_build_alias=$build_alias
3080 test "x$ac_build_alias" = x &&
3081 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3082 test "x$ac_build_alias" = x &&
3083 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3084 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3085 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3089 $as_echo "$ac_cv_build" >&6; }
3090 case $ac_cv_build in
3092 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3095 ac_save_IFS=$IFS; IFS='-'
3101 # Remember, the first character of IFS is used to create $*,
3102 # except with old shells:
3105 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3109 $as_echo_n "checking host system type... " >&6; }
3110 if test "${ac_cv_host+set}" = set; then :
3111 $as_echo_n "(cached) " >&6
3113 if test "x$host_alias" = x; then
3114 ac_cv_host=$ac_cv_build
3116 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3117 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3122 $as_echo "$ac_cv_host" >&6; }
3125 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3128 ac_save_IFS=$IFS; IFS='-'
3134 # Remember, the first character of IFS is used to create $*,
3135 # except with old shells:
3138 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3141 DEPDIR="${am__leading_dot}deps"
3143 ac_config_commands="$ac_config_commands depfiles"
3146 am_make=${MAKE-make}
3147 cat > confinc << 'END'
3149 @echo this is the am__doit target
3152 # If we don't find an include directive, just comment out the code.
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3154 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3158 # First try GNU make style include.
3159 echo "include confinc" > confmf
3160 # Ignore all kinds of additional output from `make'.
3161 case `$am_make -s -f confmf 2> /dev/null` in #(
3162 *the\ am__doit\ target*)
3168 # Now try BSD make style include.
3169 if test "$am__include" = "#"; then
3170 echo '.include "confinc"' > confmf
3171 case `$am_make -s -f confmf 2> /dev/null` in #(
3172 *the\ am__doit\ target*)
3173 am__include=.include
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3182 $as_echo "$_am_result" >&6; }
3183 rm -f confinc confmf
3185 # Check whether --enable-dependency-tracking was given.
3186 if test "${enable_dependency_tracking+set}" = set; then :
3187 enableval=$enable_dependency_tracking;
3190 if test "x$enable_dependency_tracking" != xno; then
3191 am_depcomp="$ac_aux_dir/depcomp"
3194 if test "x$enable_dependency_tracking" != xno; then
3204 ac_cpp='$CPP $CPPFLAGS'
3205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3208 if test -n "$ac_tool_prefix"; then
3209 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3210 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if test "${ac_cv_prog_CC+set}" = set; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$CC"; then
3217 ac_cv_prog_CC="$CC" # Let the user override the test.
3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir=.
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3226 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 if test -n "$CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3239 $as_echo "$CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3247 if test -z "$ac_cv_prog_CC"; then
3249 # Extract the first word of "gcc", so it can be a program name with args.
3250 set dummy gcc; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$ac_ct_CC"; then
3257 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_ac_ct_CC="gcc"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3277 if test -n "$ac_ct_CC"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3279 $as_echo "$ac_ct_CC" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3285 if test "x$ac_ct_CC" = x; then
3288 case $cross_compiling:$ac_tool_warned in
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3292 ac_tool_warned=yes ;;
3300 if test -z "$CC"; then
3301 if test -n "$ac_tool_prefix"; then
3302 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3303 set dummy ${ac_tool_prefix}cc; ac_word=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if test "${ac_cv_prog_CC+set}" = set; then :
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$CC"; then
3310 ac_cv_prog_CC="$CC" # Let the user override the test.
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319 ac_cv_prog_CC="${ac_tool_prefix}cc"
3320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330 if test -n "$CC"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3332 $as_echo "$CC" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3341 if test -z "$CC"; then
3342 # Extract the first word of "cc", so it can be a program name with args.
3343 set dummy cc; ac_word=$2
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345 $as_echo_n "checking for $ac_word... " >&6; }
3346 if test "${ac_cv_prog_CC+set}" = set; then :
3347 $as_echo_n "(cached) " >&6
3349 if test -n "$CC"; then
3350 ac_cv_prog_CC="$CC" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3361 ac_prog_rejected=yes
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 if test $ac_prog_rejected = yes; then
3373 # We found a bogon in the path, so make sure we never use it.
3374 set dummy $ac_cv_prog_CC
3376 if test $# != 0; then
3377 # We chose a different compiler from the bogus one.
3378 # However, it has the same basename, so the bogon will be chosen
3379 # first if we set CC to just the basename; use the full file name.
3381 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3387 if test -n "$CC"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3389 $as_echo "$CC" >&6; }
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3397 if test -z "$CC"; then
3398 if test -n "$ac_tool_prefix"; then
3399 for ac_prog in cl.exe
3401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3402 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if test "${ac_cv_prog_CC+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3408 if test -n "$CC"; then
3409 ac_cv_prog_CC="$CC" # Let the user override the test.
3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 test -z "$as_dir" && as_dir=.
3416 for ac_exec_ext in '' $ac_executable_extensions; do
3417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 if test -n "$CC"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3431 $as_echo "$CC" >&6; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3438 test -n "$CC" && break
3441 if test -z "$CC"; then
3443 for ac_prog in cl.exe
3445 # Extract the first word of "$ac_prog", so it can be a program name with args.
3446 set dummy $ac_prog; ac_word=$2
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3448 $as_echo_n "checking for $ac_word... " >&6; }
3449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 if test -n "$ac_ct_CC"; then
3453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3462 ac_cv_prog_ac_ct_CC="$ac_prog"
3463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3473 if test -n "$ac_ct_CC"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3475 $as_echo "$ac_ct_CC" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3482 test -n "$ac_ct_CC" && break
3485 if test "x$ac_ct_CC" = x; then
3488 case $cross_compiling:$ac_tool_warned in
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3492 ac_tool_warned=yes ;;
3501 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 as_fn_error "no acceptable C compiler found in \$PATH
3504 See \`config.log' for more details." "$LINENO" 5; }
3506 # Provide some information about the compiler.
3507 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3510 for ac_option in --version -v -V -qversion; do
3511 { { ac_try="$ac_compiler $ac_option >&5"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 $as_echo "$ac_try_echo"; } >&5
3518 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3520 if test -s conftest.err; then
3522 ... rest of stderr output deleted ...
3523 10q' conftest.err >conftest.er1
3524 cat conftest.er1 >&5
3526 rm -f conftest.er1 conftest.err
3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528 test $ac_status = 0; }
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3542 ac_clean_files_save=$ac_clean_files
3543 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3544 # Try to create an executable without -o first, disregard a.out.
3545 # It will help us diagnose broken compilers, and finding out an intuition
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3548 $as_echo_n "checking whether the C compiler works... " >&6; }
3549 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3551 # The possible output files:
3552 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3555 for ac_file in $ac_files
3558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3559 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3564 if { { ac_try="$ac_link_default"
3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567 *) ac_try_echo=$ac_try;;
3569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3570 $as_echo "$ac_try_echo"; } >&5
3571 (eval "$ac_link_default") 2>&5
3573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3574 test $ac_status = 0; }; then :
3575 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3576 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3577 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3578 # so that the user can short-circuit this test for compilers unknown to
3580 for ac_file in $ac_files ''
3582 test -f "$ac_file" || continue
3584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3587 # We found the default executable, but exeext='' is most
3591 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3593 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3595 # We set ac_cv_exeext here because the later test for it is not
3596 # safe: cross compilers may not add the suffix if given an `-o'
3597 # argument, so we may need to know it at that point already.
3598 # Even if this section looks crufty: it has the advantage of
3605 test "$ac_cv_exeext" = no && ac_cv_exeext=
3610 if test -z "$ac_file"; then :
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3613 $as_echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3618 { as_fn_set_status 77
3619 as_fn_error "C compiler cannot create executables
3620 See \`config.log' for more details." "$LINENO" 5; }; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3623 $as_echo "yes" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3626 $as_echo_n "checking for C compiler default output file name... " >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3628 $as_echo "$ac_file" >&6; }
3629 ac_exeext=$ac_cv_exeext
3631 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3632 ac_clean_files=$ac_clean_files_save
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3634 $as_echo_n "checking for suffix of executables... " >&6; }
3635 if { { ac_try="$ac_link"
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641 $as_echo "$ac_try_echo"; } >&5
3642 (eval "$ac_link") 2>&5
3644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }; then :
3646 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3647 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3648 # work properly (i.e., refer to `conftest.exe'), while it won't with
3650 for ac_file in conftest.exe conftest conftest.*; do
3651 test -f "$ac_file" || continue
3653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3654 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3662 as_fn_error "cannot compute suffix of executables: cannot compile and link
3663 See \`config.log' for more details." "$LINENO" 5; }
3665 rm -f conftest conftest$ac_cv_exeext
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3667 $as_echo "$ac_cv_exeext" >&6; }
3669 rm -f conftest.$ac_ext
3670 EXEEXT=$ac_cv_exeext
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3678 FILE *f = fopen ("conftest.out", "w");
3679 return ferror (f) || fclose (f) != 0;
3685 ac_clean_files="$ac_clean_files conftest.out"
3686 # Check that the compiler produces executables we can run. If not, either
3687 # the compiler is broken, or we cross compile.
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3689 $as_echo_n "checking whether we are cross compiling... " >&6; }
3690 if test "$cross_compiling" != yes; then
3691 { { ac_try="$ac_link"
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697 $as_echo "$ac_try_echo"; } >&5
3698 (eval "$ac_link") 2>&5
3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701 test $ac_status = 0; }
3702 if { ac_try='./conftest$ac_cv_exeext'
3703 { { case "(($ac_try" in
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3708 $as_echo "$ac_try_echo"; } >&5
3709 (eval "$ac_try") 2>&5
3711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712 test $ac_status = 0; }; }; then
3715 if test "$cross_compiling" = maybe; then
3718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 as_fn_error "cannot run C compiled programs.
3721 If you meant to cross compile, use \`--host'.
3722 See \`config.log' for more details." "$LINENO" 5; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3727 $as_echo "$cross_compiling" >&6; }
3729 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3730 ac_clean_files=$ac_clean_files_save
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3732 $as_echo_n "checking for suffix of object files... " >&6; }
3733 if test "${ac_cv_objext+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3747 rm -f conftest.o conftest.obj
3748 if { { ac_try="$ac_compile"
3750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3751 *) ac_try_echo=$ac_try;;
3753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3754 $as_echo "$ac_try_echo"; } >&5
3755 (eval "$ac_compile") 2>&5
3757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3758 test $ac_status = 0; }; then :
3759 for ac_file in conftest.o conftest.obj conftest.*; do
3760 test -f "$ac_file" || continue;
3762 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3763 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3768 $as_echo "$as_me: failed program was:" >&5
3769 sed 's/^/| /' conftest.$ac_ext >&5
3771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error "cannot compute suffix of object files: cannot compile
3774 See \`config.log' for more details." "$LINENO" 5; }
3776 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3779 $as_echo "$ac_cv_objext" >&6; }
3780 OBJEXT=$ac_cv_objext
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3783 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3784 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3785 $as_echo_n "(cached) " >&6
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3801 if ac_fn_c_try_compile "$LINENO"; then :
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3811 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3812 if test $ac_compiler_gnu = yes; then
3817 ac_test_CFLAGS=${CFLAGS+set}
3818 ac_save_CFLAGS=$CFLAGS
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3820 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3821 if test "${ac_cv_prog_cc_g+set}" = set; then :
3822 $as_echo_n "(cached) " >&6
3824 ac_save_c_werror_flag=$ac_c_werror_flag
3825 ac_c_werror_flag=yes
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3839 if ac_fn_c_try_compile "$LINENO"; then :
3843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3854 if ac_fn_c_try_compile "$LINENO"; then :
3857 ac_c_werror_flag=$ac_save_c_werror_flag
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3870 if ac_fn_c_try_compile "$LINENO"; then :
3873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3878 ac_c_werror_flag=$ac_save_c_werror_flag
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3881 $as_echo "$ac_cv_prog_cc_g" >&6; }
3882 if test "$ac_test_CFLAGS" = set; then
3883 CFLAGS=$ac_save_CFLAGS
3884 elif test $ac_cv_prog_cc_g = yes; then
3885 if test "$GCC" = yes; then
3891 if test "$GCC" = yes; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3898 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3899 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3900 $as_echo_n "(cached) " >&6
3902 ac_cv_prog_cc_c89=no
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3908 #include <sys/types.h>
3909 #include <sys/stat.h>
3910 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3911 struct buf { int x; };
3912 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3913 static char *e (p, i)
3919 static char *f (char * (*g) (char **, int), char **p, ...)
3924 s = g (p, va_arg (v,int));
3929 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3930 function prototypes and stuff, but not '\xHH' hex character constants.
3931 These don't provoke an error unfortunately, instead are silently treated
3932 as 'x'. The following induces an error, until -std is added to get
3933 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3934 array size at least. It's necessary to write '\x00'==0 to get something
3935 that's true only with -std. */
3936 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3938 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3939 inside strings and character constants. */
3941 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3943 int test (int i, double x);
3944 struct s1 {int (*f) (int a);};
3945 struct s2 {int (*f) (double a);};
3946 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3952 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3957 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3958 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3960 CC="$ac_save_CC $ac_arg"
3961 if ac_fn_c_try_compile "$LINENO"; then :
3962 ac_cv_prog_cc_c89=$ac_arg
3964 rm -f core conftest.err conftest.$ac_objext
3965 test "x$ac_cv_prog_cc_c89" != "xno" && break
3967 rm -f conftest.$ac_ext
3972 case "x$ac_cv_prog_cc_c89" in
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3975 $as_echo "none needed" >&6; } ;;
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3978 $as_echo "unsupported" >&6; } ;;
3980 CC="$CC $ac_cv_prog_cc_c89"
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3982 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3984 if test "x$ac_cv_prog_cc_c89" != xno; then :
3989 ac_cpp='$CPP $CPPFLAGS'
3990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3994 depcc="$CC" am_compiler_list=
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3997 $as_echo_n "checking dependency style of $depcc... " >&6; }
3998 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3999 $as_echo_n "(cached) " >&6
4001 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4002 # We make a subdir and do the tests there. Otherwise we can end up
4003 # making bogus files that we don't know about and never remove. For
4004 # instance it was reported that on HP-UX the gcc test will end up
4005 # making a dummy file named `D' -- because `-MD' means `put the output
4008 # Copy depcomp to subdir because otherwise we won't find it if we're
4009 # using a relative directory.
4010 cp "$am_depcomp" conftest.dir
4012 # We will build objects and dependencies in a subdirectory because
4013 # it helps to detect inapplicable dependency modes. For instance
4014 # both Tru64's cc and ICC support -MD to output dependencies as a
4015 # side effect of compilation, but ICC will put the dependencies in
4016 # the current directory while Tru64 will put them in the object
4020 am_cv_CC_dependencies_compiler_type=none
4021 if test "$am_compiler_list" = ""; then
4022 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4025 case " $depcc " in #(
4026 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4029 for depmode in $am_compiler_list; do
4030 # Setup a source with many dependencies, because some compilers
4031 # like to wrap large dependency lists on column 80 (with \), and
4032 # we should not choose a depcomp mode which is confused by this.
4034 # We need to recreate these files for each test, as the compiler may
4035 # overwrite some of them when testing with obscure command lines.
4036 # This happens at least with the AIX C compiler.
4038 for i in 1 2 3 4 5 6; do
4039 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4040 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4041 # Solaris 8's {/usr,}/bin/sh.
4042 touch sub/conftst$i.h
4044 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4046 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4047 # mode. It turns out that the SunPro C++ compiler does not properly
4048 # handle `-M -o', and we need to detect this. Also, some Intel
4049 # versions had trouble with output in subdirs
4050 am__obj=sub/conftest.${OBJEXT-o}
4051 am__minus_obj="-o $am__obj"
4054 # This depmode causes a compiler race in universal mode.
4055 test "$am__universal" = false || continue
4058 # after this tag, mechanisms are not by side-effect, so they'll
4059 # only be used when explicitly requested
4060 if test "x$enable_dependency_tracking" = xyes; then
4066 msvisualcpp | msvcmsys)
4067 # This compiler won't grok `-c -o', but also, the minuso test has
4068 # not run yet. These depmodes are late enough in the game, and
4069 # so weak that their functioning should not be impacted.
4070 am__obj=conftest.${OBJEXT-o}
4075 if depmode=$depmode \
4076 source=sub/conftest.c object=$am__obj \
4077 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4078 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4079 >/dev/null 2>conftest.err &&
4080 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4081 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4082 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4083 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4084 # icc doesn't choke on unknown options, it will just issue warnings
4085 # or remarks (even with -Werror). So we grep stderr for any message
4086 # that says an option was ignored or not supported.
4087 # When given -MP, icc 7.0 and 7.1 complain thusly:
4088 # icc: Command line warning: ignoring option '-M'; no argument required
4089 # The diagnosis changed in icc 8.0:
4090 # icc: Command line remark: option '-MP' not supported
4091 if (grep 'ignoring option' conftest.err ||
4092 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4093 am_cv_CC_dependencies_compiler_type=$depmode
4102 am_cv_CC_dependencies_compiler_type=none
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4107 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4108 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4111 test "x$enable_dependency_tracking" != xno \
4112 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4114 am__fastdepCC_FALSE='#'
4116 am__fastdepCC_TRUE='#'
4117 am__fastdepCC_FALSE=
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4122 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4123 if test "${ac_cv_path_SED+set}" = set; then :
4124 $as_echo_n "(cached) " >&6
4126 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4127 for ac_i in 1 2 3 4 5 6 7; do
4128 ac_script="$ac_script$as_nl$ac_script"
4130 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4131 { ac_script=; unset ac_script;}
4132 if test -z "$SED"; then
4133 ac_path_SED_found=false
4134 # Loop through the user's path and test for each of PROGNAME-LIST
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir=.
4140 for ac_prog in sed gsed; do
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4143 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4144 # Check for GNU ac_path_SED and select it if it is found.
4145 # Check for GNU $ac_path_SED
4146 case `"$ac_path_SED" --version 2>&1` in
4148 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4151 $as_echo_n 0123456789 >"conftest.in"
4154 cat "conftest.in" "conftest.in" >"conftest.tmp"
4155 mv "conftest.tmp" "conftest.in"
4156 cp "conftest.in" "conftest.nl"
4157 $as_echo '' >> "conftest.nl"
4158 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4159 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4160 as_fn_arith $ac_count + 1 && ac_count=$as_val
4161 if test $ac_count -gt ${ac_path_SED_max-0}; then
4162 # Best one so far, save it but keep looking for a better one
4163 ac_cv_path_SED="$ac_path_SED"
4164 ac_path_SED_max=$ac_count
4166 # 10*(2^10) chars as input seems more than enough
4167 test $ac_count -gt 10 && break
4169 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4172 $ac_path_SED_found && break 3
4177 if test -z "$ac_cv_path_SED"; then
4178 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4186 $as_echo "$ac_cv_path_SED" >&6; }
4187 SED="$ac_cv_path_SED"
4190 test -z "$SED" && SED=sed
4191 Xsed="$SED -e 1s/^X//"
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4204 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4205 if test "${ac_cv_path_GREP+set}" = set; then :
4206 $as_echo_n "(cached) " >&6
4208 if test -z "$GREP"; then
4209 ac_path_GREP_found=false
4210 # Loop through the user's path and test for each of PROGNAME-LIST
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4215 test -z "$as_dir" && as_dir=.
4216 for ac_prog in grep ggrep; do
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4219 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4220 # Check for GNU ac_path_GREP and select it if it is found.
4221 # Check for GNU $ac_path_GREP
4222 case `"$ac_path_GREP" --version 2>&1` in
4224 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4227 $as_echo_n 0123456789 >"conftest.in"
4230 cat "conftest.in" "conftest.in" >"conftest.tmp"
4231 mv "conftest.tmp" "conftest.in"
4232 cp "conftest.in" "conftest.nl"
4233 $as_echo 'GREP' >> "conftest.nl"
4234 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4235 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4236 as_fn_arith $ac_count + 1 && ac_count=$as_val
4237 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4238 # Best one so far, save it but keep looking for a better one
4239 ac_cv_path_GREP="$ac_path_GREP"
4240 ac_path_GREP_max=$ac_count
4242 # 10*(2^10) chars as input seems more than enough
4243 test $ac_count -gt 10 && break
4245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4248 $ac_path_GREP_found && break 3
4253 if test -z "$ac_cv_path_GREP"; then
4254 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4257 ac_cv_path_GREP=$GREP
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4262 $as_echo "$ac_cv_path_GREP" >&6; }
4263 GREP="$ac_cv_path_GREP"
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4267 $as_echo_n "checking for egrep... " >&6; }
4268 if test "${ac_cv_path_EGREP+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4271 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4272 then ac_cv_path_EGREP="$GREP -E"
4274 if test -z "$EGREP"; then
4275 ac_path_EGREP_found=false
4276 # Loop through the user's path and test for each of PROGNAME-LIST
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4281 test -z "$as_dir" && as_dir=.
4282 for ac_prog in egrep; do
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4285 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4286 # Check for GNU ac_path_EGREP and select it if it is found.
4287 # Check for GNU $ac_path_EGREP
4288 case `"$ac_path_EGREP" --version 2>&1` in
4290 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4293 $as_echo_n 0123456789 >"conftest.in"
4296 cat "conftest.in" "conftest.in" >"conftest.tmp"
4297 mv "conftest.tmp" "conftest.in"
4298 cp "conftest.in" "conftest.nl"
4299 $as_echo 'EGREP' >> "conftest.nl"
4300 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4301 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4302 as_fn_arith $ac_count + 1 && ac_count=$as_val
4303 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4304 # Best one so far, save it but keep looking for a better one
4305 ac_cv_path_EGREP="$ac_path_EGREP"
4306 ac_path_EGREP_max=$ac_count
4308 # 10*(2^10) chars as input seems more than enough
4309 test $ac_count -gt 10 && break
4311 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314 $ac_path_EGREP_found && break 3
4319 if test -z "$ac_cv_path_EGREP"; then
4320 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4323 ac_cv_path_EGREP=$EGREP
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4329 $as_echo "$ac_cv_path_EGREP" >&6; }
4330 EGREP="$ac_cv_path_EGREP"
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4334 $as_echo_n "checking for fgrep... " >&6; }
4335 if test "${ac_cv_path_FGREP+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4339 then ac_cv_path_FGREP="$GREP -F"
4341 if test -z "$FGREP"; then
4342 ac_path_FGREP_found=false
4343 # Loop through the user's path and test for each of PROGNAME-LIST
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4348 test -z "$as_dir" && as_dir=.
4349 for ac_prog in fgrep; do
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4352 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4353 # Check for GNU ac_path_FGREP and select it if it is found.
4354 # Check for GNU $ac_path_FGREP
4355 case `"$ac_path_FGREP" --version 2>&1` in
4357 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4360 $as_echo_n 0123456789 >"conftest.in"
4363 cat "conftest.in" "conftest.in" >"conftest.tmp"
4364 mv "conftest.tmp" "conftest.in"
4365 cp "conftest.in" "conftest.nl"
4366 $as_echo 'FGREP' >> "conftest.nl"
4367 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4369 as_fn_arith $ac_count + 1 && ac_count=$as_val
4370 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4371 # Best one so far, save it but keep looking for a better one
4372 ac_cv_path_FGREP="$ac_path_FGREP"
4373 ac_path_FGREP_max=$ac_count
4375 # 10*(2^10) chars as input seems more than enough
4376 test $ac_count -gt 10 && break
4378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4381 $ac_path_FGREP_found && break 3
4386 if test -z "$ac_cv_path_FGREP"; then
4387 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4390 ac_cv_path_FGREP=$FGREP
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4396 $as_echo "$ac_cv_path_FGREP" >&6; }
4397 FGREP="$ac_cv_path_FGREP"
4400 test -z "$GREP" && GREP=grep
4420 # Check whether --with-gnu-ld was given.
4421 if test "${with_gnu_ld+set}" = set; then :
4422 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4428 if test "$GCC" = yes; then
4429 # Check if gcc -print-prog-name=ld gives a path.
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4431 $as_echo_n "checking for ld used by $CC... " >&6; }
4434 # gcc leaves a trailing carriage return which upsets mingw
4435 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4437 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4440 # Accept absolute paths.
4442 re_direlt='/[^/][^/]*/\.\./'
4443 # Canonicalize the pathname of ld
4444 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4445 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4446 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4448 test -z "$LD" && LD="$ac_prog"
4451 # If it fails, then pretend we aren't using GCC.
4455 # If it is relative, then search for the first ld in PATH.
4459 elif test "$with_gnu_ld" = yes; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4461 $as_echo_n "checking for GNU ld... " >&6; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4464 $as_echo_n "checking for non-GNU ld... " >&6; }
4466 if test "${lt_cv_path_LD+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4469 if test -z "$LD"; then
4470 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4471 for ac_dir in $PATH; do
4473 test -z "$ac_dir" && ac_dir=.
4474 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4475 lt_cv_path_LD="$ac_dir/$ac_prog"
4476 # Check to see if the program is GNU ld. I'd rather use --version,
4477 # but apparently some variants of GNU ld only accept -v.
4478 # Break only if it was the GNU/non-GNU ld that we prefer.
4479 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4480 *GNU* | *'with BFD'*)
4481 test "$with_gnu_ld" != no && break
4484 test "$with_gnu_ld" != yes && break
4491 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4496 if test -n "$LD"; then
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4498 $as_echo "$LD" >&6; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4501 $as_echo "no" >&6; }
4503 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4505 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4506 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4509 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4510 case `$LD -v 2>&1 </dev/null` in
4511 *GNU* | *'with BFD'*)
4512 lt_cv_prog_gnu_ld=yes
4515 lt_cv_prog_gnu_ld=no
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4520 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4521 with_gnu_ld=$lt_cv_prog_gnu_ld
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4532 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4533 if test "${lt_cv_path_NM+set}" = set; then :
4534 $as_echo_n "(cached) " >&6
4536 if test -n "$NM"; then
4537 # Let the user override the test.
4540 lt_nm_to_check="${ac_tool_prefix}nm"
4541 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4542 lt_nm_to_check="$lt_nm_to_check nm"
4544 for lt_tmp_nm in $lt_nm_to_check; do
4545 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4546 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4548 test -z "$ac_dir" && ac_dir=.
4549 tmp_nm="$ac_dir/$lt_tmp_nm"
4550 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4551 # Check to see if the nm accepts a BSD-compat flag.
4552 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4553 # nm: unknown option "B" ignored
4554 # Tru64's nm complains that /dev/null is an invalid object file
4555 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4556 */dev/null* | *'Invalid file or object type'*)
4557 lt_cv_path_NM="$tmp_nm -B"
4561 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4563 lt_cv_path_NM="$tmp_nm -p"
4567 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4568 continue # so that we can try to find one that supports BSD flags
4577 : ${lt_cv_path_NM=no}
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4581 $as_echo "$lt_cv_path_NM" >&6; }
4582 if test "$lt_cv_path_NM" != "no"; then
4585 # Didn't find any BSD compatible name lister, look for dumpbin.
4586 if test -n "$ac_tool_prefix"; then
4587 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$DUMPBIN"; then
4597 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 DUMPBIN=$ac_cv_prog_DUMPBIN
4617 if test -n "$DUMPBIN"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4619 $as_echo "$DUMPBIN" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4626 test -n "$DUMPBIN" && break
4629 if test -z "$DUMPBIN"; then
4630 ac_ct_DUMPBIN=$DUMPBIN
4631 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4633 # Extract the first word of "$ac_prog", so it can be a program name with args.
4634 set dummy $ac_prog; ac_word=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -n "$ac_ct_DUMPBIN"; then
4641 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4650 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4661 if test -n "$ac_ct_DUMPBIN"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4663 $as_echo "$ac_ct_DUMPBIN" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4670 test -n "$ac_ct_DUMPBIN" && break
4673 if test "x$ac_ct_DUMPBIN" = x; then
4676 case $cross_compiling:$ac_tool_warned in
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4680 ac_tool_warned=yes ;;
4682 DUMPBIN=$ac_ct_DUMPBIN
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 test "${lt_cv_nm_interface+set}" = set; 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:4705: $ac_compile\"" >&5)
4706 (eval "$ac_compile" 2>conftest.err)
4707 cat conftest.err >&5
4708 (eval echo "\"\$as_me:4708: $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:4711: 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 test "${lt_cv_sys_max_cmd_len+set}" = set; 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 AmigaOS with pdksh, this test takes hours, literally.
4770 # So we just punt and use a minimum line length of 8192.
4771 lt_cv_sys_max_cmd_len=8192;
4774 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4775 # This has been around since 386BSD, at least. Likely further.
4776 if test -x /sbin/sysctl; then
4777 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4778 elif test -x /usr/sbin/sysctl; then
4779 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4781 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4783 # And add a safety zone
4784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4785 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4789 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4790 lt_cv_sys_max_cmd_len=196608
4794 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4795 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4796 # nice to cause kernel panics so lets avoid the loop below.
4797 # First set a reasonable default.
4798 lt_cv_sys_max_cmd_len=16384
4800 if test -x /sbin/sysconfig; then
4801 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4802 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4807 lt_cv_sys_max_cmd_len=102400
4809 sysv5* | sco5v6* | sysv4.2uw2*)
4810 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4811 if test -n "$kargmax"; then
4812 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4814 lt_cv_sys_max_cmd_len=32768
4818 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4819 if test -n "$lt_cv_sys_max_cmd_len"; then
4820 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4821 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4823 # Make teststring a little bigger before we do anything with it.
4824 # a 1K string should be a reasonable start.
4825 for i in 1 2 3 4 5 6 7 8 ; do
4826 teststring=$teststring$teststring
4828 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4829 # If test is not a shell built-in, we'll probably end up computing a
4830 # maximum length that is only half of the actual maximum length, but
4832 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4833 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4834 test $i != 17 # 1/2 MB should be enough
4837 teststring=$teststring$teststring
4839 # Only check the string length outside the loop.
4840 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4842 # Add a significant safety factor because C++ compilers can tack on
4843 # massive amounts of additional arguments before passing them to the
4844 # linker. It appears as though 1/2 is a usable value.
4845 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4852 if test -n $lt_cv_sys_max_cmd_len ; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4854 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4857 $as_echo "none" >&6; }
4859 max_cmd_len=$lt_cv_sys_max_cmd_len
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4871 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4872 # Try some XSI features
4875 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4877 && eval 'test $(( 1 + 1 )) -eq 2 \
4878 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4881 $as_echo "$xsi_shell" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4885 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4887 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4889 && lt_shell_append=yes
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4891 $as_echo "$lt_shell_append" >&6; }
4894 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4904 # test EBCDIC or ASCII
4905 case `echo X|tr X '\101'` in
4906 A) # ASCII based system
4907 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4908 lt_SP2NL='tr \040 \012'
4909 lt_NL2SP='tr \015\012 \040\040'
4911 *) # EBCDIC based system
4912 lt_SP2NL='tr \100 \n'
4913 lt_NL2SP='tr \r\n \100\100'
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4926 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4927 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4928 $as_echo_n "(cached) " >&6
4930 lt_cv_ld_reload_flag='-r'
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4933 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4934 reload_flag=$lt_cv_ld_reload_flag
4935 case $reload_flag in
4937 *) reload_flag=" $reload_flag" ;;
4939 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4942 if test "$GCC" = yes; then
4943 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4945 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4958 if test -n "$ac_tool_prefix"; then
4959 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4960 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4964 $as_echo_n "(cached) " >&6
4966 if test -n "$OBJDUMP"; then
4967 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir=.
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4976 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 OBJDUMP=$ac_cv_prog_OBJDUMP
4987 if test -n "$OBJDUMP"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4989 $as_echo "$OBJDUMP" >&6; }
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4997 if test -z "$ac_cv_prog_OBJDUMP"; then
4998 ac_ct_OBJDUMP=$OBJDUMP
4999 # Extract the first word of "objdump", so it can be a program name with args.
5000 set dummy objdump; ac_word=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5004 $as_echo_n "(cached) " >&6
5006 if test -n "$ac_ct_OBJDUMP"; then
5007 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5027 if test -n "$ac_ct_OBJDUMP"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5029 $as_echo "$ac_ct_OBJDUMP" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5035 if test "x$ac_ct_OBJDUMP" = x; then
5038 case $cross_compiling:$ac_tool_warned in
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5042 ac_tool_warned=yes ;;
5044 OBJDUMP=$ac_ct_OBJDUMP
5047 OBJDUMP="$ac_cv_prog_OBJDUMP"
5050 test -z "$OBJDUMP" && OBJDUMP=objdump
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5061 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5062 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5065 lt_cv_file_magic_cmd='$MAGIC_CMD'
5066 lt_cv_file_magic_test_file=
5067 lt_cv_deplibs_check_method='unknown'
5068 # Need to set the preceding variable on all platforms that support
5069 # interlibrary dependencies.
5070 # 'none' -- dependencies not supported.
5071 # `unknown' -- same as none, but documents that we really don't know.
5072 # 'pass_all' -- all dependencies passed with no checks.
5073 # 'test_compile' -- check by making test program.
5074 # 'file_magic [[regex]]' -- check by looking for files in library path
5075 # which responds to the $file_magic_cmd with a given extended regex.
5076 # If you have `file' or equivalent on your system and you're not sure
5077 # whether `pass_all' will *always* work, you probably want this one.
5081 lt_cv_deplibs_check_method=pass_all
5085 lt_cv_deplibs_check_method=pass_all
5089 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5090 lt_cv_file_magic_cmd='/usr/bin/file -L'
5091 lt_cv_file_magic_test_file=/shlib/libc.so
5095 # func_win32_libid is a shell function defined in ltmain.sh
5096 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5097 lt_cv_file_magic_cmd='func_win32_libid'
5101 # Base MSYS/MinGW do not provide the 'file' command needed by
5102 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5103 # unless we find 'file', for example because we are cross-compiling.
5104 if ( file / ) >/dev/null 2>&1; then
5105 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5106 lt_cv_file_magic_cmd='func_win32_libid'
5108 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5109 lt_cv_file_magic_cmd='$OBJDUMP -f'
5114 # use the weaker test based on 'objdump'. See mingw*.
5115 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5116 lt_cv_file_magic_cmd='$OBJDUMP -f'
5119 darwin* | rhapsody*)
5120 lt_cv_deplibs_check_method=pass_all
5123 freebsd* | dragonfly*)
5124 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5127 # Not sure whether the presence of OpenBSD here was a mistake.
5128 # Let's accept both of them until this is cleared up.
5129 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5130 lt_cv_file_magic_cmd=/usr/bin/file
5131 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5135 lt_cv_deplibs_check_method=pass_all
5140 lt_cv_deplibs_check_method=pass_all
5143 hpux10.20* | hpux11*)
5144 lt_cv_file_magic_cmd=/usr/bin/file
5147 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5148 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5151 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5152 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5155 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5156 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5162 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5163 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5166 irix5* | irix6* | nonstopux*)
5168 *-32|*"-32 ") libmagic=32-bit;;
5169 *-n32|*"-n32 ") libmagic=N32;;
5170 *-64|*"-64 ") libmagic=64-bit;;
5171 *) libmagic=never-match;;
5173 lt_cv_deplibs_check_method=pass_all
5176 # This must be Linux ELF.
5177 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5178 lt_cv_deplibs_check_method=pass_all
5181 netbsd* | netbsdelf*-gnu)
5182 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5183 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5185 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5190 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5191 lt_cv_file_magic_cmd=/usr/bin/file
5192 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5196 lt_cv_deplibs_check_method=pass_all
5200 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5201 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5203 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5207 osf3* | osf4* | osf5*)
5208 lt_cv_deplibs_check_method=pass_all
5212 lt_cv_deplibs_check_method=pass_all
5216 lt_cv_deplibs_check_method=pass_all
5219 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5220 lt_cv_deplibs_check_method=pass_all
5224 case $host_vendor in
5226 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]'
5227 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5230 lt_cv_deplibs_check_method=pass_all
5233 lt_cv_file_magic_cmd='/bin/file'
5234 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5237 lt_cv_file_magic_cmd='/bin/file'
5238 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5239 lt_cv_file_magic_test_file=/lib/libc.so
5242 lt_cv_deplibs_check_method=pass_all
5245 lt_cv_deplibs_check_method=pass_all
5251 lt_cv_deplibs_check_method=pass_all
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5257 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5258 file_magic_cmd=$lt_cv_file_magic_cmd
5259 deplibs_check_method=$lt_cv_deplibs_check_method
5260 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5273 if test -n "$ac_tool_prefix"; then
5274 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5275 set dummy ${ac_tool_prefix}ar; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if test "${ac_cv_prog_AR+set}" = set; then :
5279 $as_echo_n "(cached) " >&6
5281 if test -n "$AR"; then
5282 ac_cv_prog_AR="$AR" # Let the user override the test.
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5291 ac_cv_prog_AR="${ac_tool_prefix}ar"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302 if test -n "$AR"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5304 $as_echo "$AR" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5312 if test -z "$ac_cv_prog_AR"; then
5314 # Extract the first word of "ar", so it can be a program name with args.
5315 set dummy ar; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5319 $as_echo_n "(cached) " >&6
5321 if test -n "$ac_ct_AR"; then
5322 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5331 ac_cv_prog_ac_ct_AR="ar"
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5342 if test -n "$ac_ct_AR"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5344 $as_echo "$ac_ct_AR" >&6; }
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5350 if test "x$ac_ct_AR" = x; then
5353 case $cross_compiling:$ac_tool_warned in
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5357 ac_tool_warned=yes ;;
5365 test -z "$AR" && AR=ar
5366 test -z "$AR_FLAGS" && AR_FLAGS=cru
5378 if test -n "$ac_tool_prefix"; then
5379 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5380 set dummy ${ac_tool_prefix}strip; ac_word=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if test "${ac_cv_prog_STRIP+set}" = set; then :
5384 $as_echo_n "(cached) " >&6
5386 if test -n "$STRIP"; then
5387 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 STRIP=$ac_cv_prog_STRIP
5407 if test -n "$STRIP"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5409 $as_echo "$STRIP" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5417 if test -z "$ac_cv_prog_STRIP"; then
5419 # Extract the first word of "strip", so it can be a program name with args.
5420 set dummy strip; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5424 $as_echo_n "(cached) " >&6
5426 if test -n "$ac_ct_STRIP"; then
5427 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_prog_ac_ct_STRIP="strip"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5447 if test -n "$ac_ct_STRIP"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5449 $as_echo "$ac_ct_STRIP" >&6; }
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5455 if test "x$ac_ct_STRIP" = x; then
5458 case $cross_compiling:$ac_tool_warned in
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462 ac_tool_warned=yes ;;
5467 STRIP="$ac_cv_prog_STRIP"
5470 test -z "$STRIP" && STRIP=:
5477 if test -n "$ac_tool_prefix"; then
5478 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5479 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$RANLIB"; then
5486 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir=.
5493 for ac_exec_ext in '' $ac_executable_extensions; do
5494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5495 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 RANLIB=$ac_cv_prog_RANLIB
5506 if test -n "$RANLIB"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5508 $as_echo "$RANLIB" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5516 if test -z "$ac_cv_prog_RANLIB"; then
5517 ac_ct_RANLIB=$RANLIB
5518 # Extract the first word of "ranlib", so it can be a program name with args.
5519 set dummy ranlib; ac_word=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -n "$ac_ct_RANLIB"; then
5526 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5535 ac_cv_prog_ac_ct_RANLIB="ranlib"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5546 if test -n "$ac_ct_RANLIB"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5548 $as_echo "$ac_ct_RANLIB" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5554 if test "x$ac_ct_RANLIB" = x; then
5557 case $cross_compiling:$ac_tool_warned in
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5561 ac_tool_warned=yes ;;
5563 RANLIB=$ac_ct_RANLIB
5566 RANLIB="$ac_cv_prog_RANLIB"
5569 test -z "$RANLIB" && RANLIB=:
5576 # Determine commands to create old-style static archives.
5577 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5578 old_postinstall_cmds='chmod 644 $oldlib'
5579 old_postuninstall_cmds=
5581 if test -n "$RANLIB"; then
5584 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5587 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5590 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5626 # If no C compiler was specified, use CC.
5629 # If no C compiler flags were specified, use CFLAGS.
5630 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5632 # Allow CC to be a program name with arguments.
5636 # Check for command to grab the raw symbol name followed by C symbol from nm.
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5638 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5639 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5640 $as_echo_n "(cached) " >&6
5643 # These are sane defaults that work on at least a few old systems.
5644 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5646 # Character class describing NM global symbol codes.
5647 symcode='[BCDEGRST]'
5649 # Regexp to match symbols that can be accessed directly from C.
5650 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5652 # Define system-specific variables.
5657 cygwin* | mingw* | pw32* | cegcc*)
5658 symcode='[ABCDGISTW]'
5661 if test "$host_cpu" = ia64; then
5662 symcode='[ABCDEGRST]'
5666 symcode='[BCDEGRST]'
5669 symcode='[BCDEGQRST]'
5680 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5688 # If we're using GNU nm, then use its standard symbol codes.
5689 case `$NM -V 2>&1` in
5690 *GNU* | *'with BFD'*)
5691 symcode='[ABCDGIRSTW]' ;;
5694 # Transform an extracted symbol line into a proper C declaration.
5695 # Some systems (esp. on ia64) link data and code symbols differently,
5696 # so use this general approach.
5697 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5699 # Transform an extracted symbol line into symbol name and symbol address
5700 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5701 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'"
5703 # Handle CRLF in mingw tool chain
5707 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5711 # Try without a prefix underscore, then with it.
5712 for ac_symprfx in "" "_"; do
5714 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5715 symxfrm="\\1 $ac_symprfx\\2 \\2"
5717 # Write the raw and C identifiers.
5718 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5719 # Fake it for dumpbin and say T for any non-static function
5720 # and D for any global variable.
5721 # Also find C++ and __fastcall symbols from MSVC++,
5722 # which start with @ or ?.
5723 lt_cv_sys_global_symbol_pipe="$AWK '"\
5724 " {last_section=section; section=\$ 3};"\
5725 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5726 " \$ 0!~/External *\|/{next};"\
5727 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5728 " {if(hide[section]) next};"\
5729 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5730 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5731 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5732 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5733 " ' prfx=^$ac_symprfx"
5735 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5738 # Check to see that the pipe works correctly.
5742 cat > conftest.$ac_ext <<_LT_EOF
5747 void nm_test_func(void);
5748 void nm_test_func(void){}
5752 int main(){nm_test_var='a';nm_test_func();return(0);}
5755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5756 (eval $ac_compile) 2>&5
5758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5759 test $ac_status = 0; }; then
5760 # Now try to grab the symbols.
5762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5763 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5766 test $ac_status = 0; } && test -s "$nlist"; then
5767 # Try sorting and uniquifying the output.
5768 if sort "$nlist" | uniq > "$nlist"T; then
5769 mv -f "$nlist"T "$nlist"
5774 # Make sure that we snagged all the symbols we need.
5775 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5776 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5777 cat <<_LT_EOF > conftest.$ac_ext
5783 # Now generate the symbol file.
5784 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5786 cat <<_LT_EOF >> conftest.$ac_ext
5788 /* The mapping between symbol names and symbols. */
5793 lt__PROGRAM__LTX_preloaded_symbols[] =
5795 { "@PROGRAM@", (void *) 0 },
5797 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5798 cat <<\_LT_EOF >> conftest.$ac_ext
5802 /* This works around a problem in FreeBSD linker */
5803 #ifdef FREEBSD_WORKAROUND
5804 static const void *lt_preloaded_setup() {
5805 return lt__PROGRAM__LTX_preloaded_symbols;
5813 # Now try linking the two files.
5814 mv conftest.$ac_objext conftstm.$ac_objext
5815 lt_save_LIBS="$LIBS"
5816 lt_save_CFLAGS="$CFLAGS"
5817 LIBS="conftstm.$ac_objext"
5818 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5820 (eval $ac_link) 2>&5
5822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5823 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5826 LIBS="$lt_save_LIBS"
5827 CFLAGS="$lt_save_CFLAGS"
5829 echo "cannot find nm_test_func in $nlist" >&5
5832 echo "cannot find nm_test_var in $nlist" >&5
5835 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5838 echo "$progname: failed program was:" >&5
5839 cat conftest.$ac_ext >&5
5841 rm -rf conftest* conftst*
5843 # Do not use the global_symbol_pipe unless it works.
5844 if test "$pipe_works" = yes; then
5847 lt_cv_sys_global_symbol_pipe=
5853 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5854 lt_cv_sys_global_symbol_to_cdecl=
5856 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5858 $as_echo "failed" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5861 $as_echo "ok" >&6; }
5886 # Check whether --enable-libtool-lock was given.
5887 if test "${enable_libtool_lock+set}" = set; then :
5888 enableval=$enable_libtool_lock;
5891 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5893 # Some flags need to be propagated to the compiler or linker for good
5897 # Find out which ABI we are using.
5898 echo 'int i;' > conftest.$ac_ext
5899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5900 (eval $ac_compile) 2>&5
5902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5903 test $ac_status = 0; }; then
5904 case `/usr/bin/file conftest.$ac_objext` in
5916 # Find out which ABI we are using.
5917 echo '#line 5917 "configure"' > conftest.$ac_ext
5918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5919 (eval $ac_compile) 2>&5
5921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5922 test $ac_status = 0; }; then
5923 if test "$lt_cv_prog_gnu_ld" = yes; then
5924 case `/usr/bin/file conftest.$ac_objext` in
5926 LD="${LD-ld} -melf32bsmip"
5929 LD="${LD-ld} -melf32bmipn32"
5932 LD="${LD-ld} -melf64bmip"
5936 case `/usr/bin/file conftest.$ac_objext` in
5952 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5953 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5954 # Find out which ABI we are using.
5955 echo 'int i;' > conftest.$ac_ext
5956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5957 (eval $ac_compile) 2>&5
5959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5960 test $ac_status = 0; }; then
5961 case `/usr/bin/file conftest.o` in
5964 x86_64-*kfreebsd*-gnu)
5965 LD="${LD-ld} -m elf_i386_fbsd"
5968 LD="${LD-ld} -m elf_i386"
5970 ppc64-*linux*|powerpc64-*linux*)
5971 LD="${LD-ld} -m elf32ppclinux"
5974 LD="${LD-ld} -m elf_s390"
5977 LD="${LD-ld} -m elf32_sparc"
5983 x86_64-*kfreebsd*-gnu)
5984 LD="${LD-ld} -m elf_x86_64_fbsd"
5987 LD="${LD-ld} -m elf_x86_64"
5989 ppc*-*linux*|powerpc*-*linux*)
5990 LD="${LD-ld} -m elf64ppc"
5992 s390*-*linux*|s390*-*tpf*)
5993 LD="${LD-ld} -m elf64_s390"
5996 LD="${LD-ld} -m elf64_sparc"
6006 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6007 SAVE_CFLAGS="$CFLAGS"
6008 CFLAGS="$CFLAGS -belf"
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6010 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6011 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6012 $as_echo_n "(cached) " >&6
6015 ac_cpp='$CPP $CPPFLAGS'
6016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6031 if ac_fn_c_try_link "$LINENO"; then :
6032 lt_cv_cc_needs_belf=yes
6034 lt_cv_cc_needs_belf=no
6036 rm -f core conftest.err conftest.$ac_objext \
6037 conftest$ac_exeext conftest.$ac_ext
6039 ac_cpp='$CPP $CPPFLAGS'
6040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6046 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6047 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6048 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6049 CFLAGS="$SAVE_CFLAGS"
6053 # Find out which ABI we are using.
6054 echo 'int i;' > conftest.$ac_ext
6055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6056 (eval $ac_compile) 2>&5
6058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6059 test $ac_status = 0; }; then
6060 case `/usr/bin/file conftest.o` in
6062 case $lt_cv_prog_gnu_ld in
6063 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6065 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6077 need_locks="$enable_libtool_lock"
6081 rhapsody* | darwin*)
6082 if test -n "$ac_tool_prefix"; then
6083 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6084 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6088 $as_echo_n "(cached) " >&6
6090 if test -n "$DSYMUTIL"; then
6091 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 test -z "$as_dir" && as_dir=.
6098 for ac_exec_ext in '' $ac_executable_extensions; do
6099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6111 if test -n "$DSYMUTIL"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6113 $as_echo "$DSYMUTIL" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6121 if test -z "$ac_cv_prog_DSYMUTIL"; then
6122 ac_ct_DSYMUTIL=$DSYMUTIL
6123 # Extract the first word of "dsymutil", so it can be a program name with args.
6124 set dummy dsymutil; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6128 $as_echo_n "(cached) " >&6
6130 if test -n "$ac_ct_DSYMUTIL"; then
6131 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6151 if test -n "$ac_ct_DSYMUTIL"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6153 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6159 if test "x$ac_ct_DSYMUTIL" = x; then
6162 case $cross_compiling:$ac_tool_warned in
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6166 ac_tool_warned=yes ;;
6168 DSYMUTIL=$ac_ct_DSYMUTIL
6171 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6174 if test -n "$ac_tool_prefix"; then
6175 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6176 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178 $as_echo_n "checking for $ac_word... " >&6; }
6179 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6180 $as_echo_n "(cached) " >&6
6182 if test -n "$NMEDIT"; then
6183 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189 test -z "$as_dir" && as_dir=.
6190 for ac_exec_ext in '' $ac_executable_extensions; do
6191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6192 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 NMEDIT=$ac_cv_prog_NMEDIT
6203 if test -n "$NMEDIT"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6205 $as_echo "$NMEDIT" >&6; }
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 $as_echo "no" >&6; }
6213 if test -z "$ac_cv_prog_NMEDIT"; then
6214 ac_ct_NMEDIT=$NMEDIT
6215 # Extract the first word of "nmedit", so it can be a program name with args.
6216 set dummy nmedit; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6220 $as_echo_n "(cached) " >&6
6222 if test -n "$ac_ct_NMEDIT"; then
6223 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6243 if test -n "$ac_ct_NMEDIT"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6245 $as_echo "$ac_ct_NMEDIT" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6251 if test "x$ac_ct_NMEDIT" = x; then
6254 case $cross_compiling:$ac_tool_warned in
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6258 ac_tool_warned=yes ;;
6260 NMEDIT=$ac_ct_NMEDIT
6263 NMEDIT="$ac_cv_prog_NMEDIT"
6266 if test -n "$ac_tool_prefix"; then
6267 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6268 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 $as_echo_n "checking for $ac_word... " >&6; }
6271 if test "${ac_cv_prog_LIPO+set}" = set; then :
6272 $as_echo_n "(cached) " >&6
6274 if test -n "$LIPO"; then
6275 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir=.
6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 LIPO=$ac_cv_prog_LIPO
6295 if test -n "$LIPO"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6297 $as_echo "$LIPO" >&6; }
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6305 if test -z "$ac_cv_prog_LIPO"; then
6307 # Extract the first word of "lipo", so it can be a program name with args.
6308 set dummy lipo; ac_word=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6312 $as_echo_n "(cached) " >&6
6314 if test -n "$ac_ct_LIPO"; then
6315 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6324 ac_cv_prog_ac_ct_LIPO="lipo"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6335 if test -n "$ac_ct_LIPO"; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6337 $as_echo "$ac_ct_LIPO" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 $as_echo "no" >&6; }
6343 if test "x$ac_ct_LIPO" = x; then
6346 case $cross_compiling:$ac_tool_warned in
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6350 ac_tool_warned=yes ;;
6355 LIPO="$ac_cv_prog_LIPO"
6358 if test -n "$ac_tool_prefix"; then
6359 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6360 set dummy ${ac_tool_prefix}otool; ac_word=$2
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362 $as_echo_n "checking for $ac_word... " >&6; }
6363 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6364 $as_echo_n "(cached) " >&6
6366 if test -n "$OTOOL"; then
6367 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 OTOOL=$ac_cv_prog_OTOOL
6387 if test -n "$OTOOL"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6389 $as_echo "$OTOOL" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }
6397 if test -z "$ac_cv_prog_OTOOL"; then
6399 # Extract the first word of "otool", so it can be a program name with args.
6400 set dummy otool; ac_word=$2
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6402 $as_echo_n "checking for $ac_word... " >&6; }
6403 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6404 $as_echo_n "(cached) " >&6
6406 if test -n "$ac_ct_OTOOL"; then
6407 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 test -z "$as_dir" && as_dir=.
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6416 ac_cv_prog_ac_ct_OTOOL="otool"
6417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6426 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6427 if test -n "$ac_ct_OTOOL"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6429 $as_echo "$ac_ct_OTOOL" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432 $as_echo "no" >&6; }
6435 if test "x$ac_ct_OTOOL" = x; then
6438 case $cross_compiling:$ac_tool_warned in
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6442 ac_tool_warned=yes ;;
6447 OTOOL="$ac_cv_prog_OTOOL"
6450 if test -n "$ac_tool_prefix"; then
6451 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6452 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 $as_echo_n "checking for $ac_word... " >&6; }
6455 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6456 $as_echo_n "(cached) " >&6
6458 if test -n "$OTOOL64"; then
6459 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 test -z "$as_dir" && as_dir=.
6466 for ac_exec_ext in '' $ac_executable_extensions; do
6467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6468 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 OTOOL64=$ac_cv_prog_OTOOL64
6479 if test -n "$OTOOL64"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6481 $as_echo "$OTOOL64" >&6; }
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6489 if test -z "$ac_cv_prog_OTOOL64"; then
6490 ac_ct_OTOOL64=$OTOOL64
6491 # Extract the first word of "otool64", so it can be a program name with args.
6492 set dummy otool64; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6496 $as_echo_n "(cached) " >&6
6498 if test -n "$ac_ct_OTOOL64"; then
6499 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6508 ac_cv_prog_ac_ct_OTOOL64="otool64"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6519 if test -n "$ac_ct_OTOOL64"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6521 $as_echo "$ac_ct_OTOOL64" >&6; }
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6527 if test "x$ac_ct_OTOOL64" = x; then
6530 case $cross_compiling:$ac_tool_warned in
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6534 ac_tool_warned=yes ;;
6536 OTOOL64=$ac_ct_OTOOL64
6539 OTOOL64="$ac_cv_prog_OTOOL64"
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6569 $as_echo_n "checking for -single_module linker flag... " >&6; }
6570 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6571 $as_echo_n "(cached) " >&6
6573 lt_cv_apple_cc_single_mod=no
6574 if test -z "${LT_MULTI_MODULE}"; then
6575 # By default we will add the -single_module flag. You can override
6576 # by either setting the environment variable LT_MULTI_MODULE
6577 # non-empty at configure time, or by adding -multi_module to the
6579 rm -rf libconftest.dylib*
6580 echo "int foo(void){return 1;}" > conftest.c
6581 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6582 -dynamiclib -Wl,-single_module conftest.c" >&5
6583 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6584 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6586 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6587 lt_cv_apple_cc_single_mod=yes
6589 cat conftest.err >&5
6591 rm -rf libconftest.dylib*
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6596 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6598 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6599 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6600 $as_echo_n "(cached) " >&6
6602 lt_cv_ld_exported_symbols_list=no
6603 save_LDFLAGS=$LDFLAGS
6604 echo "_main" > conftest.sym
6605 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h. */
6617 if ac_fn_c_try_link "$LINENO"; then :
6618 lt_cv_ld_exported_symbols_list=yes
6620 lt_cv_ld_exported_symbols_list=no
6622 rm -f core conftest.err conftest.$ac_objext \
6623 conftest$ac_exeext conftest.$ac_ext
6624 LDFLAGS="$save_LDFLAGS"
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6628 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6630 rhapsody* | darwin1.[012])
6631 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6633 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6634 darwin*) # darwin 5.x on
6635 # if running on 10.5 or later, the deployment target defaults
6636 # to the OS version, if on x86, and 10.4, the deployment
6637 # target defaults to 10.4. Don't you love it?
6638 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6639 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6640 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6642 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6644 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6648 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6649 _lt_dar_single_mod='$single_module'
6651 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6652 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6654 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6656 if test "$DSYMUTIL" != ":"; then
6657 _lt_dsymutil='~$DSYMUTIL $lib || :'
6665 ac_cpp='$CPP $CPPFLAGS'
6666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6670 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6671 # On Suns, sometimes $CPP names a directory.
6672 if test -n "$CPP" && test -d "$CPP"; then
6675 if test -z "$CPP"; then
6676 if test "${ac_cv_prog_CPP+set}" = set; then :
6677 $as_echo_n "(cached) " >&6
6679 # Double quotes because CPP needs to be expanded
6680 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6683 for ac_c_preproc_warn_flag in '' yes
6685 # Use a header file that comes with gcc, so configuring glibc
6686 # with a fresh cross-compiler works.
6687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6688 # <limits.h> exists even on freestanding compilers.
6689 # On the NeXT, cc -E runs the code through the compiler's parser,
6690 # not just through cpp. "Syntax error" is here to catch this case.
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6694 # include <limits.h>
6696 # include <assert.h>
6700 if ac_fn_c_try_cpp "$LINENO"; then :
6703 # Broken: fails on valid input.
6706 rm -f conftest.err conftest.$ac_ext
6708 # OK, works on sane cases. Now check whether nonexistent headers
6709 # can be detected and how.
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <ac_nonexistent.h>
6714 if ac_fn_c_try_cpp "$LINENO"; then :
6715 # Broken: success on invalid input.
6718 # Passes both tests.
6722 rm -f conftest.err conftest.$ac_ext
6725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6726 rm -f conftest.err conftest.$ac_ext
6727 if $ac_preproc_ok; then :
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6740 $as_echo "$CPP" >&6; }
6742 for ac_c_preproc_warn_flag in '' yes
6744 # Use a header file that comes with gcc, so configuring glibc
6745 # with a fresh cross-compiler works.
6746 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6747 # <limits.h> exists even on freestanding compilers.
6748 # On the NeXT, cc -E runs the code through the compiler's parser,
6749 # not just through cpp. "Syntax error" is here to catch this case.
6750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6751 /* end confdefs.h. */
6753 # include <limits.h>
6755 # include <assert.h>
6759 if ac_fn_c_try_cpp "$LINENO"; then :
6762 # Broken: fails on valid input.
6765 rm -f conftest.err conftest.$ac_ext
6767 # OK, works on sane cases. Now check whether nonexistent headers
6768 # can be detected and how.
6769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6771 #include <ac_nonexistent.h>
6773 if ac_fn_c_try_cpp "$LINENO"; then :
6774 # Broken: success on invalid input.
6777 # Passes both tests.
6781 rm -f conftest.err conftest.$ac_ext
6784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6785 rm -f conftest.err conftest.$ac_ext
6786 if $ac_preproc_ok; then :
6789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6791 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6792 See \`config.log' for more details." "$LINENO" 5; }
6796 ac_cpp='$CPP $CPPFLAGS'
6797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6803 $as_echo_n "checking for ANSI C header files... " >&6; }
6804 if test "${ac_cv_header_stdc+set}" = set; then :
6805 $as_echo_n "(cached) " >&6
6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808 /* end confdefs.h. */
6822 if ac_fn_c_try_compile "$LINENO"; then :
6823 ac_cv_header_stdc=yes
6825 ac_cv_header_stdc=no
6827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6829 if test $ac_cv_header_stdc = yes; then
6830 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6837 $EGREP "memchr" >/dev/null 2>&1; then :
6840 ac_cv_header_stdc=no
6846 if test $ac_cv_header_stdc = yes; then
6847 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6854 $EGREP "free" >/dev/null 2>&1; then :
6857 ac_cv_header_stdc=no
6863 if test $ac_cv_header_stdc = yes; then
6864 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6865 if test "$cross_compiling" = yes; then :
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6872 #if ((' ' & 0x0FF) == 0x020)
6873 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6874 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6876 # define ISLOWER(c) \
6877 (('a' <= (c) && (c) <= 'i') \
6878 || ('j' <= (c) && (c) <= 'r') \
6879 || ('s' <= (c) && (c) <= 'z'))
6880 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6883 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6888 for (i = 0; i < 256; i++)
6889 if (XOR (islower (i), ISLOWER (i))
6890 || toupper (i) != TOUPPER (i))
6895 if ac_fn_c_try_run "$LINENO"; then :
6898 ac_cv_header_stdc=no
6900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6901 conftest.$ac_objext conftest.beam conftest.$ac_ext
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6907 $as_echo "$ac_cv_header_stdc" >&6; }
6908 if test $ac_cv_header_stdc = yes; then
6910 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6914 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6915 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6916 inttypes.h stdint.h unistd.h
6918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6919 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6921 eval as_val=\$$as_ac_Header
6922 if test "x$as_val" = x""yes; then :
6923 cat >>confdefs.h <<_ACEOF
6924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6932 for ac_header in dlfcn.h
6934 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6936 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define HAVE_DLFCN_H 1
6948 # Check whether --enable-static was given.
6949 if test "${enable_static+set}" = set; then :
6950 enableval=$enable_static; p=${PACKAGE-default}
6952 yes) enable_static=yes ;;
6953 no) enable_static=no ;;
6956 # Look at the argument we got. We use all the common list separators.
6957 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6958 for pkg in $enableval; do
6960 if test "X$pkg" = "X$p"; then
6986 # Check whether --enable-shared was given.
6987 if test "${enable_shared+set}" = set; then :
6988 enableval=$enable_shared; p=${PACKAGE-default}
6990 yes) enable_shared=yes ;;
6991 no) enable_shared=no ;;
6994 # Look at the argument we got. We use all the common list separators.
6995 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6996 for pkg in $enableval; do
6998 if test "X$pkg" = "X$p"; then
7019 # Check whether --with-pic was given.
7020 if test "${with_pic+set}" = set; then :
7021 withval=$with_pic; pic_mode="$withval"
7027 test -z "$pic_mode" && pic_mode=default
7035 # Check whether --enable-fast-install was given.
7036 if test "${enable_fast_install+set}" = set; then :
7037 enableval=$enable_fast_install; p=${PACKAGE-default}
7039 yes) enable_fast_install=yes ;;
7040 no) enable_fast_install=no ;;
7042 enable_fast_install=no
7043 # Look at the argument we got. We use all the common list separators.
7044 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7045 for pkg in $enableval; do
7047 if test "X$pkg" = "X$p"; then
7048 enable_fast_install=yes
7055 enable_fast_install=yes
7068 # This can be used to rebuild libtool when needed
7069 LIBTOOL_DEPS="$ltmain"
7071 # Always use our own libtool.
7072 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7098 test -z "$LN_S" && LN_S="ln -s"
7113 if test -n "${ZSH_VERSION+set}" ; then
7114 setopt NO_GLOB_SUBST
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7118 $as_echo_n "checking for objdir... " >&6; }
7119 if test "${lt_cv_objdir+set}" = set; then :
7120 $as_echo_n "(cached) " >&6
7122 rm -f .libs 2>/dev/null
7123 mkdir .libs 2>/dev/null
7124 if test -d .libs; then
7127 # MS-DOS does not allow filenames that begin with a dot.
7130 rmdir .libs 2>/dev/null
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7133 $as_echo "$lt_cv_objdir" >&6; }
7134 objdir=$lt_cv_objdir
7140 cat >>confdefs.h <<_ACEOF
7141 #define LT_OBJDIR "$lt_cv_objdir/"
7162 # AIX sometimes has problems with the GCC collect2 program. For some
7163 # reason, if we set the COLLECT_NAMES environment variable, the problems
7164 # vanish in a puff of smoke.
7165 if test "X${COLLECT_NAMES+set}" != Xset; then
7167 export COLLECT_NAMES
7172 # Sed substitution that helps us do robust quoting. It backslashifies
7173 # metacharacters that are still active within double-quoted strings.
7174 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7176 # Same as above, but do not quote variable references.
7177 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7179 # Sed substitution to delay expansion of an escaped shell variable in a
7180 # double_quote_subst'ed string.
7181 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7183 # Sed substitution to delay expansion of an escaped single quote.
7184 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7186 # Sed substitution to avoid accidental globbing in evaled expressions
7187 no_glob_subst='s/\*/\\\*/g'
7191 can_build_shared=yes
7193 # All known linkers require a `.a' archive for static linking (except MSVC,
7194 # which needs '.lib').
7197 with_gnu_ld="$lt_cv_prog_gnu_ld"
7200 old_CFLAGS="$CFLAGS"
7202 # Set sane defaults for various variables
7203 test -z "$CC" && CC=cc
7204 test -z "$LTCC" && LTCC=$CC
7205 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7206 test -z "$LD" && LD=ld
7207 test -z "$ac_objext" && ac_objext=o
7209 for cc_temp in $compiler""; do
7211 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7212 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7217 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7220 # Only perform the check for file, if the check method requires it
7221 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7222 case $deplibs_check_method in
7224 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7226 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7227 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7228 $as_echo_n "(cached) " >&6
7232 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7235 lt_save_MAGIC_CMD="$MAGIC_CMD"
7236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7237 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7238 for ac_dir in $ac_dummy; do
7240 test -z "$ac_dir" && ac_dir=.
7241 if test -f $ac_dir/${ac_tool_prefix}file; then
7242 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7243 if test -n "$file_magic_test_file"; then
7244 case $deplibs_check_method in
7246 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7248 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7249 $EGREP "$file_magic_regex" > /dev/null; then
7254 *** Warning: the command libtool uses to detect shared libraries,
7255 *** $file_magic_cmd, produces output that libtool cannot recognize.
7256 *** The result is that libtool may fail to recognize shared libraries
7257 *** as such. This will affect the creation of libtool libraries that
7258 *** depend on shared libraries, but programs linked with such libtool
7259 *** libraries will work regardless of this problem. Nevertheless, you
7260 *** may want to report the problem to your system manager and/or to
7261 *** bug-libtool@gnu.org
7271 MAGIC_CMD="$lt_save_MAGIC_CMD"
7276 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7277 if test -n "$MAGIC_CMD"; then
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7279 $as_echo "$MAGIC_CMD" >&6; }
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 $as_echo "no" >&6; }
7289 if test -z "$lt_cv_path_MAGIC_CMD"; then
7290 if test -n "$ac_tool_prefix"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7292 $as_echo_n "checking for file... " >&6; }
7293 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7294 $as_echo_n "(cached) " >&6
7298 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7301 lt_save_MAGIC_CMD="$MAGIC_CMD"
7302 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7303 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7304 for ac_dir in $ac_dummy; do
7306 test -z "$ac_dir" && ac_dir=.
7307 if test -f $ac_dir/file; then
7308 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7309 if test -n "$file_magic_test_file"; then
7310 case $deplibs_check_method in
7312 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7313 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7314 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7315 $EGREP "$file_magic_regex" > /dev/null; then
7320 *** Warning: the command libtool uses to detect shared libraries,
7321 *** $file_magic_cmd, produces output that libtool cannot recognize.
7322 *** The result is that libtool may fail to recognize shared libraries
7323 *** as such. This will affect the creation of libtool libraries that
7324 *** depend on shared libraries, but programs linked with such libtool
7325 *** libraries will work regardless of this problem. Nevertheless, you
7326 *** may want to report the problem to your system manager and/or to
7327 *** bug-libtool@gnu.org
7337 MAGIC_CMD="$lt_save_MAGIC_CMD"
7342 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7343 if test -n "$MAGIC_CMD"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7345 $as_echo "$MAGIC_CMD" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7361 # Use C for the default configuration in the libtool script
7365 ac_cpp='$CPP $CPPFLAGS'
7366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7371 # Source file extension for C test sources.
7374 # Object file extension for compiled C test sources.
7378 # Code to be used in simple compile tests
7379 lt_simple_compile_test_code="int some_variable = 0;"
7381 # Code to be used in simple link tests
7382 lt_simple_link_test_code='int main(){return(0);}'
7390 # If no C compiler was specified, use CC.
7393 # If no C compiler flags were specified, use CFLAGS.
7394 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7396 # Allow CC to be a program name with arguments.
7399 # Save the default compiler, since it gets overwritten when the other
7400 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7401 compiler_DEFAULT=$CC
7403 # save warnings/boilerplate of simple test code
7404 ac_outfile=conftest.$ac_objext
7405 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7406 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7407 _lt_compiler_boilerplate=`cat conftest.err`
7410 ac_outfile=conftest.$ac_objext
7411 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7412 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7413 _lt_linker_boilerplate=`cat conftest.err`
7417 if test -n "$compiler"; then
7419 lt_prog_compiler_no_builtin_flag=
7421 if test "$GCC" = yes; then
7422 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7425 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7426 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7427 $as_echo_n "(cached) " >&6
7429 lt_cv_prog_compiler_rtti_exceptions=no
7430 ac_outfile=conftest.$ac_objext
7431 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7432 lt_compiler_flag="-fno-rtti -fno-exceptions"
7433 # Insert the option either (1) after the last *FLAGS variable, or
7434 # (2) before a word containing "conftest.", or (3) at the end.
7435 # Note that $ac_compile itself does not contain backslashes and begins
7436 # with a dollar sign (not a hyphen), so the echo should work correctly.
7437 # The option is referenced via a variable to avoid confusing sed.
7438 lt_compile=`echo "$ac_compile" | $SED \
7439 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7440 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7441 -e 's:$: $lt_compiler_flag:'`
7442 (eval echo "\"\$as_me:7442: $lt_compile\"" >&5)
7443 (eval "$lt_compile" 2>conftest.err)
7445 cat conftest.err >&5
7446 echo "$as_me:7446: \$? = $ac_status" >&5
7447 if (exit $ac_status) && test -s "$ac_outfile"; then
7448 # The compiler can only warn and ignore the option if not recognized
7449 # So say no if there are warnings other than the usual output.
7450 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7451 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7452 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7453 lt_cv_prog_compiler_rtti_exceptions=yes
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7460 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7462 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7463 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7475 lt_prog_compiler_wl=
7476 lt_prog_compiler_pic=
7477 lt_prog_compiler_static=
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7480 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7482 if test "$GCC" = yes; then
7483 lt_prog_compiler_wl='-Wl,'
7484 lt_prog_compiler_static='-static'
7488 # All AIX code is PIC.
7489 if test "$host_cpu" = ia64; then
7490 # AIX 5 now supports IA64 processor
7491 lt_prog_compiler_static='-Bstatic'
7498 # see comment about AmigaOS4 .so support
7499 lt_prog_compiler_pic='-fPIC'
7502 # FIXME: we need at least 68020 code to build shared libraries, but
7503 # adding the `-m68020' flag to GCC prevents building anything better,
7505 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7510 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7511 # PIC is the default for these OSes.
7514 mingw* | cygwin* | pw32* | os2* | cegcc*)
7515 # This hack is so that the source file can tell whether it is being
7516 # built for inclusion in a dll (and should export symbols for example).
7517 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7518 # (--disable-auto-import) libraries
7519 lt_prog_compiler_pic='-DDLL_EXPORT'
7522 darwin* | rhapsody*)
7523 # PIC is the default on this platform
7524 # Common symbols not allowed in MH_DYLIB files
7525 lt_prog_compiler_pic='-fno-common'
7529 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7530 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7531 # sets the default TLS model and affects inlining.
7537 lt_prog_compiler_pic='-fPIC'
7543 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7544 # Instead, we relocate shared libraries at runtime.
7548 # Just because we use GCC doesn't mean we suddenly get shared libraries
7549 # on systems that don't support them.
7550 lt_prog_compiler_can_build_shared=no
7555 # QNX uses GNU C++, but need to define -shared option too, otherwise
7557 lt_prog_compiler_pic='-fPIC -shared'
7561 if test -d /usr/nec; then
7562 lt_prog_compiler_pic=-Kconform_pic
7567 lt_prog_compiler_pic='-fPIC'
7571 # PORTME Check for flag to pass linker flags through the system compiler.
7574 lt_prog_compiler_wl='-Wl,'
7575 if test "$host_cpu" = ia64; then
7576 # AIX 5 now supports IA64 processor
7577 lt_prog_compiler_static='-Bstatic'
7579 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7583 mingw* | cygwin* | pw32* | os2* | cegcc*)
7584 # This hack is so that the source file can tell whether it is being
7585 # built for inclusion in a dll (and should export symbols for example).
7586 lt_prog_compiler_pic='-DDLL_EXPORT'
7589 hpux9* | hpux10* | hpux11*)
7590 lt_prog_compiler_wl='-Wl,'
7591 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7598 lt_prog_compiler_pic='+Z'
7601 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7602 lt_prog_compiler_static='${wl}-a ${wl}archive'
7605 irix5* | irix6* | nonstopux*)
7606 lt_prog_compiler_wl='-Wl,'
7607 # PIC (with -KPIC) is the default.
7608 lt_prog_compiler_static='-non_shared'
7611 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7612 case $cc_basename in
7613 # old Intel for x86_64 which still supported -KPIC.
7615 lt_prog_compiler_wl='-Wl,'
7616 lt_prog_compiler_pic='-KPIC'
7617 lt_prog_compiler_static='-static'
7619 # icc used to be incompatible with GCC.
7620 # ICC 10 doesn't accept -KPIC any more.
7622 lt_prog_compiler_wl='-Wl,'
7623 lt_prog_compiler_pic='-fPIC'
7624 lt_prog_compiler_static='-static'
7626 # Lahey Fortran 8.1.
7628 lt_prog_compiler_wl='-Wl,'
7629 lt_prog_compiler_pic='--shared'
7630 lt_prog_compiler_static='--static'
7632 pgcc* | pgf77* | pgf90* | pgf95*)
7633 # Portland Group compilers (*not* the Pentium gcc compiler,
7634 # which looks to be a dead project)
7635 lt_prog_compiler_wl='-Wl,'
7636 lt_prog_compiler_pic='-fpic'
7637 lt_prog_compiler_static='-Bstatic'
7640 lt_prog_compiler_wl='-Wl,'
7641 # All Alpha code is PIC.
7642 lt_prog_compiler_static='-non_shared'
7645 # IBM XL C 8.0/Fortran 10.1 on PPC
7646 lt_prog_compiler_wl='-Wl,'
7647 lt_prog_compiler_pic='-qpic'
7648 lt_prog_compiler_static='-qstaticlink'
7651 case `$CC -V 2>&1 | sed 5q` in
7654 lt_prog_compiler_pic='-KPIC'
7655 lt_prog_compiler_static='-Bstatic'
7656 lt_prog_compiler_wl='-Wl,'
7659 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7660 lt_prog_compiler_pic='-KPIC'
7661 lt_prog_compiler_static='-Bstatic'
7662 lt_prog_compiler_wl=''
7670 lt_prog_compiler_pic='-KPIC'
7671 lt_prog_compiler_static='-Bstatic'
7675 # QNX uses GNU C++, but need to define -shared option too, otherwise
7677 lt_prog_compiler_pic='-fPIC -shared'
7680 osf3* | osf4* | osf5*)
7681 lt_prog_compiler_wl='-Wl,'
7682 # All OSF/1 code is PIC.
7683 lt_prog_compiler_static='-non_shared'
7687 lt_prog_compiler_static='-non_shared'
7691 lt_prog_compiler_pic='-KPIC'
7692 lt_prog_compiler_static='-Bstatic'
7693 case $cc_basename in
7695 lt_prog_compiler_wl='-Qoption ld ';;
7697 lt_prog_compiler_wl='-Wl,';;
7702 lt_prog_compiler_wl='-Qoption ld '
7703 lt_prog_compiler_pic='-PIC'
7704 lt_prog_compiler_static='-Bstatic'
7707 sysv4 | sysv4.2uw2* | sysv4.3*)
7708 lt_prog_compiler_wl='-Wl,'
7709 lt_prog_compiler_pic='-KPIC'
7710 lt_prog_compiler_static='-Bstatic'
7714 if test -d /usr/nec ;then
7715 lt_prog_compiler_pic='-Kconform_pic'
7716 lt_prog_compiler_static='-Bstatic'
7720 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7721 lt_prog_compiler_wl='-Wl,'
7722 lt_prog_compiler_pic='-KPIC'
7723 lt_prog_compiler_static='-Bstatic'
7727 lt_prog_compiler_wl='-Wl,'
7728 lt_prog_compiler_can_build_shared=no
7732 lt_prog_compiler_pic='-pic'
7733 lt_prog_compiler_static='-Bstatic'
7737 lt_prog_compiler_can_build_shared=no
7743 # For platforms which do not support PIC, -DPIC is meaningless:
7745 lt_prog_compiler_pic=
7748 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7752 $as_echo "$lt_prog_compiler_pic" >&6; }
7760 # Check to make sure the PIC flag actually works.
7762 if test -n "$lt_prog_compiler_pic"; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7764 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7765 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7766 $as_echo_n "(cached) " >&6
7768 lt_cv_prog_compiler_pic_works=no
7769 ac_outfile=conftest.$ac_objext
7770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7771 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7772 # Insert the option either (1) after the last *FLAGS variable, or
7773 # (2) before a word containing "conftest.", or (3) at the end.
7774 # Note that $ac_compile itself does not contain backslashes and begins
7775 # with a dollar sign (not a hyphen), so the echo should work correctly.
7776 # The option is referenced via a variable to avoid confusing sed.
7777 lt_compile=`echo "$ac_compile" | $SED \
7778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7780 -e 's:$: $lt_compiler_flag:'`
7781 (eval echo "\"\$as_me:7781: $lt_compile\"" >&5)
7782 (eval "$lt_compile" 2>conftest.err)
7784 cat conftest.err >&5
7785 echo "$as_me:7785: \$? = $ac_status" >&5
7786 if (exit $ac_status) && test -s "$ac_outfile"; then
7787 # The compiler can only warn and ignore the option if not recognized
7788 # So say no if there are warnings other than the usual output.
7789 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7790 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7791 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7792 lt_cv_prog_compiler_pic_works=yes
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7799 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7801 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7802 case $lt_prog_compiler_pic in
7804 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7807 lt_prog_compiler_pic=
7808 lt_prog_compiler_can_build_shared=no
7819 # Check to make sure the static flag actually works.
7821 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7823 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7824 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7825 $as_echo_n "(cached) " >&6
7827 lt_cv_prog_compiler_static_works=no
7828 save_LDFLAGS="$LDFLAGS"
7829 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7830 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7831 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7832 # The linker can only warn and ignore the option if not recognized
7833 # So say no if there are warnings
7834 if test -s conftest.err; then
7835 # Append any errors to the config.log.
7836 cat conftest.err 1>&5
7837 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7839 if diff conftest.exp conftest.er2 >/dev/null; then
7840 lt_cv_prog_compiler_static_works=yes
7843 lt_cv_prog_compiler_static_works=yes
7847 LDFLAGS="$save_LDFLAGS"
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7851 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7853 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7856 lt_prog_compiler_static=
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7867 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7868 $as_echo_n "(cached) " >&6
7870 lt_cv_prog_compiler_c_o=no
7871 $RM -r conftest 2>/dev/null
7875 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7877 lt_compiler_flag="-o out/conftest2.$ac_objext"
7878 # Insert the option either (1) after the last *FLAGS variable, or
7879 # (2) before a word containing "conftest.", or (3) at the end.
7880 # Note that $ac_compile itself does not contain backslashes and begins
7881 # with a dollar sign (not a hyphen), so the echo should work correctly.
7882 lt_compile=`echo "$ac_compile" | $SED \
7883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7885 -e 's:$: $lt_compiler_flag:'`
7886 (eval echo "\"\$as_me:7886: $lt_compile\"" >&5)
7887 (eval "$lt_compile" 2>out/conftest.err)
7889 cat out/conftest.err >&5
7890 echo "$as_me:7890: \$? = $ac_status" >&5
7891 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7893 # The compiler can only warn and ignore the option if not recognized
7894 # So say no if there are warnings
7895 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7896 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7897 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7898 lt_cv_prog_compiler_c_o=yes
7903 # SGI C++ compiler will create directory out/ii_files/ for
7904 # template instantiation
7905 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7906 $RM out/* && rmdir out
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7913 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7921 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7922 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7923 $as_echo_n "(cached) " >&6
7925 lt_cv_prog_compiler_c_o=no
7926 $RM -r conftest 2>/dev/null
7930 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7932 lt_compiler_flag="-o out/conftest2.$ac_objext"
7933 # Insert the option either (1) after the last *FLAGS variable, or
7934 # (2) before a word containing "conftest.", or (3) at the end.
7935 # Note that $ac_compile itself does not contain backslashes and begins
7936 # with a dollar sign (not a hyphen), so the echo should work correctly.
7937 lt_compile=`echo "$ac_compile" | $SED \
7938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7940 -e 's:$: $lt_compiler_flag:'`
7941 (eval echo "\"\$as_me:7941: $lt_compile\"" >&5)
7942 (eval "$lt_compile" 2>out/conftest.err)
7944 cat out/conftest.err >&5
7945 echo "$as_me:7945: \$? = $ac_status" >&5
7946 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7948 # The compiler can only warn and ignore the option if not recognized
7949 # So say no if there are warnings
7950 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7951 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7952 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7953 lt_cv_prog_compiler_c_o=yes
7958 # SGI C++ compiler will create directory out/ii_files/ for
7959 # template instantiation
7960 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7961 $RM out/* && rmdir out
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7968 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7973 hard_links="nottested"
7974 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7975 # do not overwrite the value of need_locks provided by the user
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7977 $as_echo_n "checking if we can lock with hard links... " >&6; }
7980 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7982 ln conftest.a conftest.b 2>&5 || hard_links=no
7983 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7985 $as_echo "$hard_links" >&6; }
7986 if test "$hard_links" = no; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7988 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8001 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8004 allow_undefined_flag=
8005 always_export_symbols=no
8007 archive_expsym_cmds=
8008 compiler_needs_object=no
8009 enable_shared_with_static_runtimes=no
8010 export_dynamic_flag_spec=
8011 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8012 hardcode_automatic=no
8014 hardcode_direct_absolute=no
8015 hardcode_libdir_flag_spec=
8016 hardcode_libdir_flag_spec_ld=
8017 hardcode_libdir_separator=
8019 hardcode_shlibpath_var=unsupported
8021 link_all_deplibs=unknown
8024 old_archive_from_new_cmds=
8025 old_archive_from_expsyms_cmds=
8026 thread_safe_flag_spec=
8027 whole_archive_flag_spec=
8028 # include_expsyms should be a list of space-separated symbols to be *always*
8029 # included in the symbol list
8031 # exclude_expsyms can be an extended regexp of symbols to exclude
8032 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8033 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8034 # as well as any symbol that contains `d'.
8035 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8036 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8037 # platforms (ab)use it in PIC code, but their linkers get confused if
8038 # the symbol is explicitly referenced. Since portable code cannot
8039 # rely on this symbol name, it's probably fine to never include it in
8040 # preloaded symbol tables.
8041 # Exclude shared library initialization/finalization symbols.
8042 extract_expsyms_cmds=
8045 cygwin* | mingw* | pw32* | cegcc*)
8046 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8047 # When not using gcc, we currently assume that we are using
8048 # Microsoft Visual C++.
8049 if test "$GCC" != yes; then
8054 # we just hope/assume this is gcc and not c89 (= MSVC++)
8060 linux* | k*bsd*-gnu)
8066 if test "$with_gnu_ld" = yes; then
8067 # If archive_cmds runs LD, not CC, wlarc should be empty
8070 # Set some defaults for GNU ld with shared library support. These
8071 # are reset later if shared libraries are not supported. Putting them
8072 # here allows them to be overridden if necessary.
8073 runpath_var=LD_RUN_PATH
8074 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8075 export_dynamic_flag_spec='${wl}--export-dynamic'
8076 # ancient GNU ld didn't support --whole-archive et. al.
8077 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8078 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8080 whole_archive_flag_spec=
8082 supports_anon_versioning=no
8083 case `$LD -v 2>&1` in
8084 *GNU\ gold*) supports_anon_versioning=yes ;;
8085 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8086 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8087 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8088 *\ 2.11.*) ;; # other 2.11 versions
8089 *) supports_anon_versioning=yes ;;
8092 # See if GNU ld supports shared libraries.
8095 # On AIX/PPC, the GNU linker is very broken
8096 if test "$host_cpu" != ia64; then
8100 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8101 *** to be unable to reliably create shared libraries on AIX.
8102 *** Therefore, libtool is disabling shared libraries support. If you
8103 *** really care for shared libraries, you may want to modify your PATH
8104 *** so that a non-GNU linker is found, and then restart.
8113 # see comment about AmigaOS4 .so support
8114 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8115 archive_expsym_cmds=''
8118 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)'
8119 hardcode_libdir_flag_spec='-L$libdir'
8120 hardcode_minus_L=yes
8126 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8127 allow_undefined_flag=unsupported
8128 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8129 # support --undefined. This deserves some investigation. FIXME
8130 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8136 cygwin* | mingw* | pw32* | cegcc*)
8137 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8138 # as there is no search path for DLLs.
8139 hardcode_libdir_flag_spec='-L$libdir'
8140 allow_undefined_flag=unsupported
8141 always_export_symbols=no
8142 enable_shared_with_static_runtimes=yes
8143 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8145 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8146 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8147 # If the export-symbols file already is a .def file (1st line
8148 # is EXPORTS), use it as is; otherwise, prepend...
8149 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8150 cp $export_symbols $output_objdir/$soname.def;
8152 echo EXPORTS > $output_objdir/$soname.def;
8153 cat $export_symbols >> $output_objdir/$soname.def;
8155 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8163 hardcode_shlibpath_var=no
8164 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8165 export_dynamic_flag_spec='${wl}-E'
8166 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8167 # Instead, shared libraries are loaded at an image base (0x10000000 by
8168 # default) and relocated if they conflict, which is a slow very memory
8169 # consuming and fragmenting process. To avoid this, we pick a random,
8170 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8171 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8172 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8173 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'
8176 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8178 if test "$host_os" = linux-dietlibc; then
8179 case $cc_basename in
8180 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8183 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8184 && test "$tmp_diet" = no
8187 tmp_sharedflag='-shared'
8188 case $cc_basename,$host_cpu in
8189 pgcc*) # Portland Group C compiler
8190 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8191 tmp_addflag=' $pic_flag'
8193 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8194 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8195 tmp_addflag=' $pic_flag -Mnomain' ;;
8196 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8197 tmp_addflag=' -i_dynamic' ;;
8198 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8199 tmp_addflag=' -i_dynamic -nofor_main' ;;
8200 ifc* | ifort*) # Intel Fortran compiler
8201 tmp_addflag=' -nofor_main' ;;
8202 lf95*) # Lahey Fortran 8.1
8203 whole_archive_flag_spec=
8204 tmp_sharedflag='--shared' ;;
8205 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8206 tmp_sharedflag='-qmkshrobj'
8209 case `$CC -V 2>&1 | sed 5q` in
8210 *Sun\ C*) # Sun C 5.9
8211 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8212 compiler_needs_object=yes
8213 tmp_sharedflag='-G' ;;
8214 *Sun\ F*) # Sun Fortran 8.3
8215 tmp_sharedflag='-G' ;;
8217 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8219 if test "x$supports_anon_versioning" = xyes; then
8220 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8221 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8222 echo "local: *; };" >> $output_objdir/$libname.ver~
8223 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8226 case $cc_basename in
8228 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8229 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8230 hardcode_libdir_flag_spec=
8231 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8232 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8233 if test "x$supports_anon_versioning" = xyes; then
8234 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8235 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8236 echo "local: *; };" >> $output_objdir/$libname.ver~
8237 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8246 netbsd* | netbsdelf*-gnu)
8247 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8248 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8251 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8252 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8257 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8261 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8262 *** create shared libraries on Solaris systems. Therefore, libtool
8263 *** is disabling shared libraries support. We urge you to upgrade GNU
8264 *** binutils to release 2.9.1 or newer. Another option is to modify
8265 *** your PATH or compiler configuration so that the native linker is
8266 *** used, and then restart.
8269 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8270 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8271 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8277 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8278 case `$LD -v 2>&1` in
8279 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8283 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8284 *** reliably create shared libraries on SCO systems. Therefore, libtool
8285 *** is disabling shared libraries support. We urge you to upgrade GNU
8286 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8287 *** your PATH or compiler configuration so that the native linker is
8288 *** used, and then restart.
8293 # For security reasons, it is highly recommended that you always
8294 # use absolute paths for naming shared libraries, and exclude the
8295 # DT_RUNPATH tag from executables and libraries. But doing so
8296 # requires that you compile everything twice, which is a pain.
8297 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8299 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8300 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8309 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8312 hardcode_shlibpath_var=no
8316 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8318 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8325 if test "$ld_shlibs" = no; then
8327 hardcode_libdir_flag_spec=
8328 export_dynamic_flag_spec=
8329 whole_archive_flag_spec=
8332 # PORTME fill in a description of your system's linker (not GNU ld)
8335 allow_undefined_flag=unsupported
8336 always_export_symbols=yes
8337 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'
8338 # Note: this linker hardcodes the directories in LIBPATH if there
8339 # are no directories specified by -L.
8340 hardcode_minus_L=yes
8341 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8342 # Neither direct hardcoding nor static linking is supported with a
8344 hardcode_direct=unsupported
8349 if test "$host_cpu" = ia64; then
8350 # On IA64, the linker does run time linking by default, so we don't
8351 # have to do anything special.
8352 aix_use_runtimelinking=no
8353 exp_sym_flag='-Bexport'
8356 # If we're using GNU nm, then we don't want the "-C" option.
8357 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8358 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8359 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8361 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'
8363 aix_use_runtimelinking=no
8365 # Test if we are trying to use run time linking or normal
8366 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8367 # need to do runtime linking.
8368 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8369 for ld_flag in $LDFLAGS; do
8370 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8371 aix_use_runtimelinking=yes
8378 exp_sym_flag='-bexport'
8379 no_entry_flag='-bnoentry'
8382 # When large executables or shared objects are built, AIX ld can
8383 # have problems creating the table of contents. If linking a library
8384 # or program results in "error TOC overflow" add -mminimal-toc to
8385 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8386 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8390 hardcode_direct_absolute=yes
8391 hardcode_libdir_separator=':'
8392 link_all_deplibs=yes
8393 file_list_spec='${wl}-f,'
8395 if test "$GCC" = yes; then
8396 case $host_os in aix4.[012]|aix4.[012].*)
8397 # We only want to do this on AIX 4.2 and lower, the check
8398 # below for broken collect2 doesn't work under 4.3+
8399 collect2name=`${CC} -print-prog-name=collect2`
8400 if test -f "$collect2name" &&
8401 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8403 # We have reworked collect2
8406 # We have old collect2
8407 hardcode_direct=unsupported
8408 # It fails to find uninstalled libraries when the uninstalled
8409 # path is not listed in the libpath. Setting hardcode_minus_L
8410 # to unsupported forces relinking
8411 hardcode_minus_L=yes
8412 hardcode_libdir_flag_spec='-L$libdir'
8413 hardcode_libdir_separator=
8417 shared_flag='-shared'
8418 if test "$aix_use_runtimelinking" = yes; then
8419 shared_flag="$shared_flag "'${wl}-G'
8424 if test "$host_cpu" = ia64; then
8425 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8426 # chokes on -Wl,-G. The following line is correct:
8429 if test "$aix_use_runtimelinking" = yes; then
8430 shared_flag='${wl}-G'
8432 shared_flag='${wl}-bM:SRE'
8437 export_dynamic_flag_spec='${wl}-bexpall'
8438 # It seems that -bexpall does not export symbols beginning with
8439 # underscore (_), so it is better to generate a list of symbols to export.
8440 always_export_symbols=yes
8441 if test "$aix_use_runtimelinking" = yes; then
8442 # Warning - without using the other runtime loading flags (-brtl),
8443 # -berok will link without error, but may produce a broken library.
8444 allow_undefined_flag='-berok'
8445 # Determine the default libpath from the value encoded in an
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8458 if ac_fn_c_try_link "$LINENO"; then :
8460 lt_aix_libpath_sed='
8461 /Import File Strings/,/^$/ {
8467 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8468 # Check for a 64-bit object if we didn't find anything.
8469 if test -z "$aix_libpath"; then
8470 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8477 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8478 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8480 if test "$host_cpu" = ia64; then
8481 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8482 allow_undefined_flag="-z nodefs"
8483 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"
8485 # Determine the default libpath from the value encoded in an
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8498 if ac_fn_c_try_link "$LINENO"; then :
8500 lt_aix_libpath_sed='
8501 /Import File Strings/,/^$/ {
8507 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8508 # Check for a 64-bit object if we didn't find anything.
8509 if test -z "$aix_libpath"; then
8510 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8517 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8518 # Warning - without using the other run time loading flags,
8519 # -berok will link without error, but may produce a broken library.
8520 no_undefined_flag=' ${wl}-bernotok'
8521 allow_undefined_flag=' ${wl}-berok'
8522 # Exported symbols can be pulled into shared objects from archives
8523 whole_archive_flag_spec='$convenience'
8524 archive_cmds_need_lc=yes
8525 # This is similar to how AIX traditionally builds its shared libraries.
8526 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'
8534 # see comment about AmigaOS4 .so support
8535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8536 archive_expsym_cmds=''
8539 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)'
8540 hardcode_libdir_flag_spec='-L$libdir'
8541 hardcode_minus_L=yes
8547 export_dynamic_flag_spec=-rdynamic
8550 cygwin* | mingw* | pw32* | cegcc*)
8551 # When not using gcc, we currently assume that we are using
8552 # Microsoft Visual C++.
8553 # hardcode_libdir_flag_spec is actually meaningless, as there is
8554 # no search path for DLLs.
8555 hardcode_libdir_flag_spec=' '
8556 allow_undefined_flag=unsupported
8557 # Tell ltmain to make .lib files, not .a files.
8559 # Tell ltmain to make .dll files, not .so files.
8561 # FIXME: Setting linknames here is a bad hack.
8562 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8563 # The linker will automatically build a .lib file if we build a DLL.
8564 old_archive_from_new_cmds='true'
8565 # FIXME: Should let the user specify the lib program.
8566 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8567 fix_srcfile_path='`cygpath -w "$srcfile"`'
8568 enable_shared_with_static_runtimes=yes
8571 darwin* | rhapsody*)
8574 archive_cmds_need_lc=no
8576 hardcode_automatic=yes
8577 hardcode_shlibpath_var=unsupported
8578 whole_archive_flag_spec=''
8579 link_all_deplibs=yes
8580 allow_undefined_flag="$_lt_dar_allow_undefined"
8581 case $cc_basename in
8582 ifort*) _lt_dar_can_shared=yes ;;
8583 *) _lt_dar_can_shared=$GCC ;;
8585 if test "$_lt_dar_can_shared" = "yes"; then
8586 output_verbose_link_cmd=echo
8587 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8588 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8589 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}"
8590 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}"
8599 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8600 hardcode_libdir_flag_spec='-L$libdir'
8601 hardcode_shlibpath_var=no
8608 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8609 # support. Future versions do this automatically, but an explicit c++rt0.o
8610 # does not break anything, and helps significantly (at the cost of a little
8613 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8614 hardcode_libdir_flag_spec='-R$libdir'
8616 hardcode_shlibpath_var=no
8619 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8621 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8623 hardcode_minus_L=yes
8624 hardcode_shlibpath_var=no
8627 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8628 freebsd* | dragonfly*)
8629 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8630 hardcode_libdir_flag_spec='-R$libdir'
8632 hardcode_shlibpath_var=no
8636 if test "$GCC" = yes; then
8637 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8639 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'
8641 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8642 hardcode_libdir_separator=:
8645 # hardcode_minus_L: Not really in the search PATH,
8646 # but as the default location of the library.
8647 hardcode_minus_L=yes
8648 export_dynamic_flag_spec='${wl}-E'
8652 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8653 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8655 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8657 if test "$with_gnu_ld" = no; then
8658 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8659 hardcode_libdir_flag_spec_ld='+b $libdir'
8660 hardcode_libdir_separator=:
8662 hardcode_direct_absolute=yes
8663 export_dynamic_flag_spec='${wl}-E'
8664 # hardcode_minus_L: Not really in the search PATH,
8665 # but as the default location of the library.
8666 hardcode_minus_L=yes
8671 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8674 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8677 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8680 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8686 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8692 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8696 if test "$with_gnu_ld" = no; then
8697 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8698 hardcode_libdir_separator=:
8703 hardcode_shlibpath_var=no
8707 hardcode_direct_absolute=yes
8708 export_dynamic_flag_spec='${wl}-E'
8710 # hardcode_minus_L: Not really in the search PATH,
8711 # but as the default location of the library.
8712 hardcode_minus_L=yes
8718 irix5* | irix6* | nonstopux*)
8719 if test "$GCC" = yes; then
8720 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8721 # Try to use the -exported_symbol ld option, if it does not
8722 # work, assume that -exports_file does not work either and
8723 # implicitly export all symbols.
8724 save_LDFLAGS="$LDFLAGS"
8725 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 LDFLAGS="$save_LDFLAGS"
8738 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8739 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8741 archive_cmds_need_lc='no'
8742 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8743 hardcode_libdir_separator=:
8745 link_all_deplibs=yes
8748 netbsd* | netbsdelf*-gnu)
8749 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8750 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8752 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8754 hardcode_libdir_flag_spec='-R$libdir'
8756 hardcode_shlibpath_var=no
8760 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8762 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8763 hardcode_libdir_separator=:
8764 hardcode_shlibpath_var=no
8771 if test -f /usr/libexec/ld.so; then
8773 hardcode_shlibpath_var=no
8774 hardcode_direct_absolute=yes
8775 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8776 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8777 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8778 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8779 export_dynamic_flag_spec='${wl}-E'
8782 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8783 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8784 hardcode_libdir_flag_spec='-R$libdir'
8787 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8788 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8798 hardcode_libdir_flag_spec='-L$libdir'
8799 hardcode_minus_L=yes
8800 allow_undefined_flag=unsupported
8801 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'
8802 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8806 if test "$GCC" = yes; then
8807 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8808 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8810 allow_undefined_flag=' -expect_unresolved \*'
8811 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8813 archive_cmds_need_lc='no'
8814 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8815 hardcode_libdir_separator=:
8818 osf4* | osf5*) # as osf3* with the addition of -msym flag
8819 if test "$GCC" = yes; then
8820 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8821 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8822 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8824 allow_undefined_flag=' -expect_unresolved \*'
8825 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8826 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~
8827 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8829 # Both c and cxx compiler support -rpath directly
8830 hardcode_libdir_flag_spec='-rpath $libdir'
8832 archive_cmds_need_lc='no'
8833 hardcode_libdir_separator=:
8837 no_undefined_flag=' -z defs'
8838 if test "$GCC" = yes; then
8840 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8841 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8842 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8844 case `$CC -V 2>&1` in
8847 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8848 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8849 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8853 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8854 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8855 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8859 hardcode_libdir_flag_spec='-R$libdir'
8860 hardcode_shlibpath_var=no
8862 solaris2.[0-5] | solaris2.[0-5].*) ;;
8864 # The compiler driver will combine and reorder linker options,
8865 # but understands `-z linker_flag'. GCC discards it without `$wl',
8866 # but is careful enough not to reorder.
8867 # Supported since Solaris 2.6 (maybe 2.5.1?)
8868 if test "$GCC" = yes; then
8869 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8871 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8875 link_all_deplibs=yes
8879 if test "x$host_vendor" = xsequent; then
8880 # Use $CC to link under sequent, because it throws in some extra .o
8881 # files that make .init and .fini sections work.
8882 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8884 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8886 hardcode_libdir_flag_spec='-L$libdir'
8888 hardcode_minus_L=yes
8889 hardcode_shlibpath_var=no
8893 case $host_vendor in
8895 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8896 hardcode_direct=yes # is this really true???
8899 ## LD is ld it makes a PLAMLIB
8900 ## CC just makes a GrossModule.
8901 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8902 reload_cmds='$CC -r -o $output$reload_objs'
8906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8907 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8910 runpath_var='LD_RUN_PATH'
8911 hardcode_shlibpath_var=no
8915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8916 hardcode_shlibpath_var=no
8917 export_dynamic_flag_spec='-Bexport'
8921 if test -d /usr/nec; then
8922 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8923 hardcode_shlibpath_var=no
8924 runpath_var=LD_RUN_PATH
8925 hardcode_runpath_var=yes
8930 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8931 no_undefined_flag='${wl}-z,text'
8932 archive_cmds_need_lc=no
8933 hardcode_shlibpath_var=no
8934 runpath_var='LD_RUN_PATH'
8936 if test "$GCC" = yes; then
8937 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8938 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8940 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8941 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8945 sysv5* | sco3.2v5* | sco5v6*)
8946 # Note: We can NOT use -z defs as we might desire, because we do not
8947 # link with -lc, and that would cause any symbols used from libc to
8948 # always be unresolved, which means just about no library would
8949 # ever link correctly. If we're not using GNU ld we use -z text
8950 # though, which does catch some bad symbols but isn't as heavy-handed
8952 no_undefined_flag='${wl}-z,text'
8953 allow_undefined_flag='${wl}-z,nodefs'
8954 archive_cmds_need_lc=no
8955 hardcode_shlibpath_var=no
8956 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8957 hardcode_libdir_separator=':'
8958 link_all_deplibs=yes
8959 export_dynamic_flag_spec='${wl}-Bexport'
8960 runpath_var='LD_RUN_PATH'
8962 if test "$GCC" = yes; then
8963 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8966 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8967 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8973 hardcode_libdir_flag_spec='-L$libdir'
8974 hardcode_shlibpath_var=no
8982 if test x$host_vendor = xsni; then
8984 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8985 export_dynamic_flag_spec='${wl}-Blargedynsym'
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8992 $as_echo "$ld_shlibs" >&6; }
8993 test "$ld_shlibs" = no && can_build_shared=no
8995 with_gnu_ld=$with_gnu_ld
9012 # Do we need to explicitly link libc?
9014 case "x$archive_cmds_need_lc" in
9016 # Assume -lc should be added
9017 archive_cmds_need_lc=yes
9019 if test "$enable_shared" = yes && test "$GCC" = yes; then
9020 case $archive_cmds in
9022 # FIXME: we may have to deal with multi-command sequences.
9025 # Test whether the compiler implicitly links with -lc since on some
9026 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9027 # to ld, don't add -lc before -lgcc.
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9029 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9031 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9034 (eval $ac_compile) 2>&5
9036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9037 test $ac_status = 0; } 2>conftest.err; then
9040 libobjs=conftest.$ac_objext
9042 wl=$lt_prog_compiler_wl
9043 pic_flag=$lt_prog_compiler_pic
9049 lt_save_allow_undefined_flag=$allow_undefined_flag
9050 allow_undefined_flag=
9051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9052 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9055 test $ac_status = 0; }
9057 archive_cmds_need_lc=no
9059 archive_cmds_need_lc=yes
9061 allow_undefined_flag=$lt_save_allow_undefined_flag
9063 cat conftest.err 1>&5
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9067 $as_echo "$archive_cmds_need_lc" >&6; }
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9233 if test "$GCC" = yes; then
9235 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9236 *) lt_awk_arg="/^libraries:/" ;;
9238 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9239 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9240 # if the path contains ";" then we assume it to be the separator
9241 # otherwise default to the standard path separator (i.e. ":") - it is
9242 # assumed that no part of a normal pathname contains ";" but that should
9243 # okay in the real world where ";" in dirpaths is itself problematic.
9244 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9246 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9248 # Ok, now we have the path, separated by spaces, we can step through it
9249 # and add multilib dir if necessary.
9250 lt_tmp_lt_search_path_spec=
9251 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9252 for lt_sys_path in $lt_search_path_spec; do
9253 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9254 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9256 test -d "$lt_sys_path" && \
9257 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9260 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9261 BEGIN {RS=" "; FS="/|\n";} {
9264 for (lt_i = NF; lt_i > 0; lt_i--) {
9265 if ($lt_i != "" && $lt_i != ".") {
9266 if ($lt_i == "..") {
9269 if (lt_count == 0) {
9270 lt_foo="/" $lt_i lt_foo;
9277 if (lt_foo != "") { lt_freq[lt_foo]++; }
9278 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9280 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9282 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9285 libname_spec='lib$name'
9293 shlibpath_overrides_runpath=unknown
9295 dynamic_linker="$host_os ld.so"
9296 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9297 need_lib_prefix=unknown
9298 hardcode_into_libs=no
9300 # when you set need_version to no, make sure it does not cause -set_version
9301 # flags to be left without arguments
9302 need_version=unknown
9307 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9308 shlibpath_var=LIBPATH
9310 # AIX 3 has no versioning support, so we append a major version to the name.
9311 soname_spec='${libname}${release}${shared_ext}$major'
9318 hardcode_into_libs=yes
9319 if test "$host_cpu" = ia64; then
9320 # AIX 5 supports IA64
9321 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9322 shlibpath_var=LD_LIBRARY_PATH
9324 # With GCC up to 2.95.x, collect2 would create an import file
9325 # for dependence libraries. The import file would start with
9326 # the line `#! .'. This would cause the generated library to
9327 # depend on `.', always an invalid library. This was fixed in
9328 # development snapshots of GCC prior to 3.0.
9330 aix4 | aix4.[01] | aix4.[01].*)
9331 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9333 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9340 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9341 # soname into executable. Probably we can add versioning support to
9342 # collect2, so additional links can be useful in future.
9343 if test "$aix_use_runtimelinking" = yes; then
9344 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9345 # instead of lib<name>.a to let people know that these are not
9346 # typical AIX shared libraries.
9347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 # We preserve .a as extension for shared libraries through AIX4.2
9350 # and later when we are not doing run time linking.
9351 library_names_spec='${libname}${release}.a $libname.a'
9352 soname_spec='${libname}${release}${shared_ext}$major'
9354 shlibpath_var=LIBPATH
9361 # Since July 2007 AmigaOS4 officially supports .so libraries.
9362 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9366 library_names_spec='$libname.ixlibrary $libname.a'
9367 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9368 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9374 library_names_spec='${libname}${shared_ext}'
9375 dynamic_linker="$host_os ld.so"
9376 shlibpath_var=LIBRARY_PATH
9382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9383 soname_spec='${libname}${release}${shared_ext}$major'
9384 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9385 shlibpath_var=LD_LIBRARY_PATH
9386 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9387 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9388 # the default ld.so.conf also contains /usr/contrib/lib and
9389 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9390 # libtool to hard-code these into programs
9393 cygwin* | mingw* | pw32* | cegcc*)
9394 version_type=windows
9399 case $GCC,$host_os in
9400 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9401 library_names_spec='$libname.dll.a'
9402 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9403 postinstall_cmds='base_file=`basename \${file}`~
9404 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9405 dldir=$destdir/`dirname \$dlpath`~
9406 test -d \$dldir || mkdir -p \$dldir~
9407 $install_prog $dir/$dlname \$dldir/$dlname~
9408 chmod a+x \$dldir/$dlname~
9409 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9410 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9412 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9413 dlpath=$dir/\$dldll~
9415 shlibpath_overrides_runpath=yes
9419 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9420 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9421 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9424 # MinGW DLLs use traditional 'lib' prefix
9425 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9426 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9427 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9428 # It is most probably a Windows format PATH printed by
9429 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9430 # path with ; separators, and with drive letters. We can handle the
9431 # drive letters (cygwin fileutils understands them), so leave them,
9432 # especially as we might pass files found there to a mingw objdump,
9433 # which wouldn't understand a cygwinified path. Ahh.
9434 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9436 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9440 # pw32 DLLs use 'pw' prefix rather than 'lib'
9441 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9447 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9450 dynamic_linker='Win32 ld.exe'
9451 # FIXME: first we should search . and the directory the executable is in
9455 darwin* | rhapsody*)
9456 dynamic_linker="$host_os dyld"
9460 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9461 soname_spec='${libname}${release}${major}$shared_ext'
9462 shlibpath_overrides_runpath=yes
9463 shlibpath_var=DYLD_LIBRARY_PATH
9464 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9466 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9467 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9475 soname_spec='${libname}${release}${shared_ext}$major'
9476 shlibpath_var=LD_LIBRARY_PATH
9483 freebsd* | dragonfly*)
9484 # DragonFly does not have aout. When/if they implement a new
9485 # versioning mechanism, adjust this.
9486 if test -x /usr/bin/objformat; then
9487 objformat=`/usr/bin/objformat`
9490 freebsd[123]*) objformat=aout ;;
9494 version_type=freebsd-$objformat
9495 case $version_type in
9497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9502 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9506 shlibpath_var=LD_LIBRARY_PATH
9509 shlibpath_overrides_runpath=yes
9511 freebsd3.[01]* | freebsdelf3.[01]*)
9512 shlibpath_overrides_runpath=yes
9513 hardcode_into_libs=yes
9515 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9516 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9517 shlibpath_overrides_runpath=no
9518 hardcode_into_libs=yes
9520 *) # from 4.6 on, and DragonFly
9521 shlibpath_overrides_runpath=yes
9522 hardcode_into_libs=yes
9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9532 soname_spec='${libname}${release}${shared_ext}$major'
9533 shlibpath_var=LD_LIBRARY_PATH
9534 hardcode_into_libs=yes
9537 hpux9* | hpux10* | hpux11*)
9538 # Give a soname corresponding to the major version so that dld.sl refuses to
9539 # link against other versions.
9546 hardcode_into_libs=yes
9547 dynamic_linker="$host_os dld.so"
9548 shlibpath_var=LD_LIBRARY_PATH
9549 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9551 soname_spec='${libname}${release}${shared_ext}$major'
9552 if test "X$HPUX_IA64_MODE" = X32; then
9553 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9555 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9557 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9561 hardcode_into_libs=yes
9562 dynamic_linker="$host_os dld.sl"
9563 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9564 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9566 soname_spec='${libname}${release}${shared_ext}$major'
9567 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9568 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9572 dynamic_linker="$host_os dld.sl"
9573 shlibpath_var=SHLIB_PATH
9574 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9576 soname_spec='${libname}${release}${shared_ext}$major'
9579 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9580 postinstall_cmds='chmod 555 $lib'
9587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9588 soname_spec='${libname}${release}${shared_ext}$major'
9589 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9590 shlibpath_var=LD_LIBRARY_PATH
9591 shlibpath_overrides_runpath=no
9592 hardcode_into_libs=yes
9595 irix5* | irix6* | nonstopux*)
9597 nonstopux*) version_type=nonstopux ;;
9599 if test "$lt_cv_prog_gnu_ld" = yes; then
9607 soname_spec='${libname}${release}${shared_ext}$major'
9608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9610 irix5* | nonstopux*)
9614 case $LD in # libtool.m4 will add one of these switches to LD
9615 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9616 libsuff= shlibsuff= libmagic=32-bit;;
9617 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9618 libsuff=32 shlibsuff=N32 libmagic=N32;;
9619 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9620 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9621 *) libsuff= shlibsuff= libmagic=never-match;;
9625 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9626 shlibpath_overrides_runpath=no
9627 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9628 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9629 hardcode_into_libs=yes
9632 # No shared lib support for Linux oldld, aout, or coff.
9633 linux*oldld* | linux*aout* | linux*coff*)
9637 # This must be Linux ELF.
9638 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9643 soname_spec='${libname}${release}${shared_ext}$major'
9644 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9645 shlibpath_var=LD_LIBRARY_PATH
9646 shlibpath_overrides_runpath=no
9647 # Some binutils ld are patched to set DT_RUNPATH
9648 save_LDFLAGS=$LDFLAGS
9650 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9651 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9665 shlibpath_overrides_runpath=yes
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LDFLAGS=$save_LDFLAGS
9673 # This implies no fast_install, which is unacceptable.
9674 # Some rework will be needed to allow for fast_install
9675 # before this can be enabled.
9676 hardcode_into_libs=yes
9678 # Append ld.so.conf contents to the search path
9679 if test -f /etc/ld.so.conf; then
9680 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;/^$/d' | tr '\n' ' '`
9681 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9684 # We used to test for /lib/ld.so.1 and disable shared libraries on
9685 # powerpc, because MkLinux only supported shared libraries with the
9686 # GNU dynamic linker. Since this was broken with cross compilers,
9687 # most powerpc-linux boxes support dynamic linking these days and
9688 # people can always --disable-shared, the test was removed, and we
9689 # assume the GNU/Linux dynamic linker is in use.
9690 dynamic_linker='GNU/Linux ld.so'
9697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9698 soname_spec='${libname}${release}${shared_ext}$major'
9699 shlibpath_var=LD_LIBRARY_PATH
9700 shlibpath_overrides_runpath=no
9701 hardcode_into_libs=yes
9702 dynamic_linker='NetBSD ld.elf_so'
9709 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9711 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9712 dynamic_linker='NetBSD (a.out) ld.so'
9714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9715 soname_spec='${libname}${release}${shared_ext}$major'
9716 dynamic_linker='NetBSD ld.elf_so'
9718 shlibpath_var=LD_LIBRARY_PATH
9719 shlibpath_overrides_runpath=yes
9720 hardcode_into_libs=yes
9725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9726 shlibpath_var=LD_LIBRARY_PATH
9727 shlibpath_overrides_runpath=yes
9734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9735 soname_spec='${libname}${release}${shared_ext}$major'
9736 shlibpath_var=LD_LIBRARY_PATH
9737 shlibpath_overrides_runpath=no
9738 hardcode_into_libs=yes
9739 dynamic_linker='ldqnx.so'
9744 sys_lib_dlsearch_path_spec="/usr/lib"
9746 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9748 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9749 *) need_version=no ;;
9751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9752 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9753 shlibpath_var=LD_LIBRARY_PATH
9754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9756 openbsd2.[89] | openbsd2.[89].*)
9757 shlibpath_overrides_runpath=no
9760 shlibpath_overrides_runpath=yes
9764 shlibpath_overrides_runpath=yes
9769 libname_spec='$name'
9772 library_names_spec='$libname${shared_ext} $libname.a'
9773 dynamic_linker='OS/2 ld.exe'
9774 shlibpath_var=LIBPATH
9777 osf3* | osf4* | osf5*)
9781 soname_spec='${libname}${release}${shared_ext}$major'
9782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9783 shlibpath_var=LD_LIBRARY_PATH
9784 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9785 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9797 soname_spec='${libname}${release}${shared_ext}$major'
9798 shlibpath_var=LD_LIBRARY_PATH
9799 shlibpath_overrides_runpath=yes
9800 hardcode_into_libs=yes
9801 # ldd complains unless libraries are executable
9802 postinstall_cmds='chmod +x $lib'
9807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9808 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9809 shlibpath_var=LD_LIBRARY_PATH
9810 shlibpath_overrides_runpath=yes
9811 if test "$with_gnu_ld" = yes; then
9819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820 soname_spec='${libname}${release}${shared_ext}$major'
9821 shlibpath_var=LD_LIBRARY_PATH
9822 case $host_vendor in
9824 shlibpath_overrides_runpath=no
9826 runpath_var=LD_RUN_PATH
9834 shlibpath_overrides_runpath=no
9835 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9841 if test -d /usr/nec ;then
9843 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9844 soname_spec='$libname${shared_ext}.$major'
9845 shlibpath_var=LD_LIBRARY_PATH
9849 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9850 version_type=freebsd-elf
9853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9854 soname_spec='${libname}${release}${shared_ext}$major'
9855 shlibpath_var=LD_LIBRARY_PATH
9856 shlibpath_overrides_runpath=yes
9857 hardcode_into_libs=yes
9858 if test "$with_gnu_ld" = yes; then
9859 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9861 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9864 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9868 sys_lib_dlsearch_path_spec='/usr/lib'
9872 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9877 shlibpath_var=LD_LIBRARY_PATH
9878 shlibpath_overrides_runpath=no
9879 hardcode_into_libs=yes
9884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9885 soname_spec='${libname}${release}${shared_ext}$major'
9886 shlibpath_var=LD_LIBRARY_PATH
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9894 $as_echo "$dynamic_linker" >&6; }
9895 test "$dynamic_linker" = no && can_build_shared=no
9897 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9898 if test "$GCC" = yes; then
9899 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9902 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9903 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9905 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9906 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9996 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9998 if test -n "$hardcode_libdir_flag_spec" ||
9999 test -n "$runpath_var" ||
10000 test "X$hardcode_automatic" = "Xyes" ; then
10002 # We can hardcode non-existent directories.
10003 if test "$hardcode_direct" != no &&
10004 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10005 # have to relink, otherwise we might link with an installed library
10006 # when we should be linking with a yet-to-be-installed one
10007 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10008 test "$hardcode_minus_L" != no; then
10009 # Linking always hardcodes the temporary library directory.
10010 hardcode_action=relink
10012 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10013 hardcode_action=immediate
10016 # We cannot hardcode anything, or else we can only hardcode existing
10018 hardcode_action=unsupported
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10021 $as_echo "$hardcode_action" >&6; }
10023 if test "$hardcode_action" = relink ||
10024 test "$inherit_rpath" = yes; then
10025 # Fast installation is not supported
10026 enable_fast_install=no
10027 elif test "$shlibpath_overrides_runpath" = yes ||
10028 test "$enable_shared" = no; then
10029 # Fast installation is not necessary
10030 enable_fast_install=needless
10038 if test "x$enable_dlopen" != xyes; then
10039 enable_dlopen=unknown
10040 enable_dlopen_self=unknown
10041 enable_dlopen_self_static=unknown
10048 lt_cv_dlopen="load_add_on"
10050 lt_cv_dlopen_self=yes
10053 mingw* | pw32* | cegcc*)
10054 lt_cv_dlopen="LoadLibrary"
10059 lt_cv_dlopen="dlopen"
10064 # if libdl is installed we need to link against it
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10067 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10068 $as_echo_n "(cached) " >&6
10070 ac_check_lib_save_LIBS=$LIBS
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10090 if ac_fn_c_try_link "$LINENO"; then :
10091 ac_cv_lib_dl_dlopen=yes
10093 ac_cv_lib_dl_dlopen=no
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 LIBS=$ac_check_lib_save_LIBS
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10100 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10101 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10102 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10105 lt_cv_dlopen="dyld"
10107 lt_cv_dlopen_self=yes
10114 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10115 if test "x$ac_cv_func_shl_load" = x""yes; then :
10116 lt_cv_dlopen="shl_load"
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10119 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10120 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10121 $as_echo_n "(cached) " >&6
10123 ac_check_lib_save_LIBS=$LIBS
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10138 return shl_load ();
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_lib_dld_shl_load=yes
10146 ac_cv_lib_dld_shl_load=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10153 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10154 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10155 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10157 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10158 if test "x$ac_cv_func_dlopen" = x""yes; then :
10159 lt_cv_dlopen="dlopen"
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10162 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10163 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10164 $as_echo_n "(cached) " >&6
10166 ac_check_lib_save_LIBS=$LIBS
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 ac_cv_lib_dl_dlopen=yes
10189 ac_cv_lib_dl_dlopen=no
10191 rm -f core conftest.err conftest.$ac_objext \
10192 conftest$ac_exeext conftest.$ac_ext
10193 LIBS=$ac_check_lib_save_LIBS
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10196 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10197 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10198 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10201 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10202 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10203 $as_echo_n "(cached) " >&6
10205 ac_check_lib_save_LIBS=$LIBS
10206 LIBS="-lsvld $LIBS"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_lib_svld_dlopen=yes
10228 ac_cv_lib_svld_dlopen=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_lib_save_LIBS
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10235 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10236 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10240 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10241 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_lib_save_LIBS=$LIBS
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10259 return dld_link ();
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_lib_dld_dld_link=yes
10267 ac_cv_lib_dld_dld_link=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 LIBS=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10274 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10275 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10276 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10297 if test "x$lt_cv_dlopen" != xno; then
10303 case $lt_cv_dlopen in
10305 save_CPPFLAGS="$CPPFLAGS"
10306 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10308 save_LDFLAGS="$LDFLAGS"
10309 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10312 LIBS="$lt_cv_dlopen_libs $LIBS"
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10315 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10316 if test "${lt_cv_dlopen_self+set}" = set; then :
10317 $as_echo_n "(cached) " >&6
10319 if test "$cross_compiling" = yes; then :
10320 lt_cv_dlopen_self=cross
10322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10323 lt_status=$lt_dlunknown
10324 cat > conftest.$ac_ext <<_LT_EOF
10325 #line 10325 "configure"
10326 #include "confdefs.h"
10335 # define LT_DLGLOBAL RTLD_GLOBAL
10338 # define LT_DLGLOBAL DL_GLOBAL
10340 # define LT_DLGLOBAL 0
10344 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10345 find out it does not work in some platform. */
10346 #ifndef LT_DLLAZY_OR_NOW
10348 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10351 # define LT_DLLAZY_OR_NOW DL_LAZY
10354 # define LT_DLLAZY_OR_NOW RTLD_NOW
10357 # define LT_DLLAZY_OR_NOW DL_NOW
10359 # define LT_DLLAZY_OR_NOW 0
10366 void fnord() { int i=42;}
10369 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10370 int status = $lt_dlunknown;
10374 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10375 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10376 /* dlclose (self); */
10384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10385 (eval $ac_link) 2>&5
10387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10388 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10389 (./conftest; exit; ) >&5 2>/dev/null
10391 case x$lt_status in
10392 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10393 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10394 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10397 # compilation failed
10398 lt_cv_dlopen_self=no
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10406 $as_echo "$lt_cv_dlopen_self" >&6; }
10408 if test "x$lt_cv_dlopen_self" = xyes; then
10409 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10411 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10412 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10413 $as_echo_n "(cached) " >&6
10415 if test "$cross_compiling" = yes; then :
10416 lt_cv_dlopen_self_static=cross
10418 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10419 lt_status=$lt_dlunknown
10420 cat > conftest.$ac_ext <<_LT_EOF
10421 #line 10421 "configure"
10422 #include "confdefs.h"
10431 # define LT_DLGLOBAL RTLD_GLOBAL
10434 # define LT_DLGLOBAL DL_GLOBAL
10436 # define LT_DLGLOBAL 0
10440 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10441 find out it does not work in some platform. */
10442 #ifndef LT_DLLAZY_OR_NOW
10444 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10447 # define LT_DLLAZY_OR_NOW DL_LAZY
10450 # define LT_DLLAZY_OR_NOW RTLD_NOW
10453 # define LT_DLLAZY_OR_NOW DL_NOW
10455 # define LT_DLLAZY_OR_NOW 0
10462 void fnord() { int i=42;}
10465 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10466 int status = $lt_dlunknown;
10470 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10471 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10472 /* dlclose (self); */
10480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10481 (eval $ac_link) 2>&5
10483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10484 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10485 (./conftest; exit; ) >&5 2>/dev/null
10487 case x$lt_status in
10488 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10489 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10490 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10493 # compilation failed
10494 lt_cv_dlopen_self_static=no
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10502 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10505 CPPFLAGS="$save_CPPFLAGS"
10506 LDFLAGS="$save_LDFLAGS"
10511 case $lt_cv_dlopen_self in
10512 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10513 *) enable_dlopen_self=unknown ;;
10516 case $lt_cv_dlopen_self_static in
10517 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10518 *) enable_dlopen_self_static=unknown ;;
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10541 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10542 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10543 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10544 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10546 $as_echo "yes" >&6; }
10548 # FIXME - insert some real tests, host_os isn't really good enough
10551 if test -n "$STRIP" ; then
10552 striplib="$STRIP -x"
10553 old_striplib="$STRIP -S"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10555 $as_echo "yes" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10558 $as_echo "no" >&6; }
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10563 $as_echo "no" >&6; }
10579 # Report which library types will actually be built
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10581 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10583 $as_echo "$can_build_shared" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10586 $as_echo_n "checking whether to build shared libraries... " >&6; }
10587 test "$can_build_shared" = "no" && enable_shared=no
10589 # On AIX, shared libraries and static libraries use the same namespace, and
10590 # are all built from PIC.
10593 test "$enable_shared" = yes && enable_static=no
10594 if test -n "$RANLIB"; then
10595 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10596 postinstall_cmds='$RANLIB $lib'
10601 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10602 test "$enable_shared" = yes && enable_static=no
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10607 $as_echo "$enable_shared" >&6; }
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10610 $as_echo_n "checking whether to build static libraries... " >&6; }
10611 # Make sure either enable_shared or enable_static is yes.
10612 test "$enable_shared" = yes || enable_static=yes
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10614 $as_echo "$enable_static" >&6; }
10621 ac_cpp='$CPP $CPPFLAGS'
10622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10640 ac_config_commands="$ac_config_commands libtool"
10645 # Only expand once:
10649 FRIBIDI_MAJOR_VERSION=0
10650 FRIBIDI_MINOR_VERSION=19
10651 FRIBIDI_MICRO_VERSION=4
10652 FRIBIDI_VERSION=0.19.4
10653 FRIBIDI_INTERFACE_VERSION=3
10654 FRIBIDI_INTERFACE_AGE=3
10655 FRIBIDI_BINARY_AGE=3
10665 LT_VERSION_INFO=3:3:3
10666 LT_CURRENT_MINUS_AGE=0
10672 # Checks for programs.
10674 ac_cpp='$CPP $CPPFLAGS'
10675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10678 if test -n "$ac_tool_prefix"; then
10679 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10680 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10682 $as_echo_n "checking for $ac_word... " >&6; }
10683 if test "${ac_cv_prog_CC+set}" = set; then :
10684 $as_echo_n "(cached) " >&6
10686 if test -n "$CC"; then
10687 ac_cv_prog_CC="$CC" # Let the user override the test.
10689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10690 for as_dir in $PATH
10693 test -z "$as_dir" && as_dir=.
10694 for ac_exec_ext in '' $ac_executable_extensions; do
10695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10696 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10707 if test -n "$CC"; then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10709 $as_echo "$CC" >&6; }
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10712 $as_echo "no" >&6; }
10717 if test -z "$ac_cv_prog_CC"; then
10719 # Extract the first word of "gcc", so it can be a program name with args.
10720 set dummy gcc; ac_word=$2
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10722 $as_echo_n "checking for $ac_word... " >&6; }
10723 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10724 $as_echo_n "(cached) " >&6
10726 if test -n "$ac_ct_CC"; then
10727 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10730 for as_dir in $PATH
10733 test -z "$as_dir" && as_dir=.
10734 for ac_exec_ext in '' $ac_executable_extensions; do
10735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10736 ac_cv_prog_ac_ct_CC="gcc"
10737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10747 if test -n "$ac_ct_CC"; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10749 $as_echo "$ac_ct_CC" >&6; }
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10752 $as_echo "no" >&6; }
10755 if test "x$ac_ct_CC" = x; then
10758 case $cross_compiling:$ac_tool_warned in
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10762 ac_tool_warned=yes ;;
10767 CC="$ac_cv_prog_CC"
10770 if test -z "$CC"; then
10771 if test -n "$ac_tool_prefix"; then
10772 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10773 set dummy ${ac_tool_prefix}cc; ac_word=$2
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10775 $as_echo_n "checking for $ac_word... " >&6; }
10776 if test "${ac_cv_prog_CC+set}" = set; then :
10777 $as_echo_n "(cached) " >&6
10779 if test -n "$CC"; then
10780 ac_cv_prog_CC="$CC" # Let the user override the test.
10782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10783 for as_dir in $PATH
10786 test -z "$as_dir" && as_dir=.
10787 for ac_exec_ext in '' $ac_executable_extensions; do
10788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10789 ac_cv_prog_CC="${ac_tool_prefix}cc"
10790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10800 if test -n "$CC"; then
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10802 $as_echo "$CC" >&6; }
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10805 $as_echo "no" >&6; }
10811 if test -z "$CC"; then
10812 # Extract the first word of "cc", so it can be a program name with args.
10813 set dummy cc; ac_word=$2
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10815 $as_echo_n "checking for $ac_word... " >&6; }
10816 if test "${ac_cv_prog_CC+set}" = set; then :
10817 $as_echo_n "(cached) " >&6
10819 if test -n "$CC"; then
10820 ac_cv_prog_CC="$CC" # Let the user override the test.
10822 ac_prog_rejected=no
10823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10824 for as_dir in $PATH
10827 test -z "$as_dir" && as_dir=.
10828 for ac_exec_ext in '' $ac_executable_extensions; do
10829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10830 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10831 ac_prog_rejected=yes
10835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10842 if test $ac_prog_rejected = yes; then
10843 # We found a bogon in the path, so make sure we never use it.
10844 set dummy $ac_cv_prog_CC
10846 if test $# != 0; then
10847 # We chose a different compiler from the bogus one.
10848 # However, it has the same basename, so the bogon will be chosen
10849 # first if we set CC to just the basename; use the full file name.
10851 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10857 if test -n "$CC"; then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10859 $as_echo "$CC" >&6; }
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10862 $as_echo "no" >&6; }
10867 if test -z "$CC"; then
10868 if test -n "$ac_tool_prefix"; then
10869 for ac_prog in cl.exe
10871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10872 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10874 $as_echo_n "checking for $ac_word... " >&6; }
10875 if test "${ac_cv_prog_CC+set}" = set; then :
10876 $as_echo_n "(cached) " >&6
10878 if test -n "$CC"; then
10879 ac_cv_prog_CC="$CC" # Let the user override the test.
10881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10882 for as_dir in $PATH
10885 test -z "$as_dir" && as_dir=.
10886 for ac_exec_ext in '' $ac_executable_extensions; do
10887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10888 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10899 if test -n "$CC"; then
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10901 $as_echo "$CC" >&6; }
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10904 $as_echo "no" >&6; }
10908 test -n "$CC" && break
10911 if test -z "$CC"; then
10913 for ac_prog in cl.exe
10915 # Extract the first word of "$ac_prog", so it can be a program name with args.
10916 set dummy $ac_prog; ac_word=$2
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10918 $as_echo_n "checking for $ac_word... " >&6; }
10919 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10920 $as_echo_n "(cached) " >&6
10922 if test -n "$ac_ct_CC"; then
10923 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10926 for as_dir in $PATH
10929 test -z "$as_dir" && as_dir=.
10930 for ac_exec_ext in '' $ac_executable_extensions; do
10931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10932 ac_cv_prog_ac_ct_CC="$ac_prog"
10933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10943 if test -n "$ac_ct_CC"; then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10945 $as_echo "$ac_ct_CC" >&6; }
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10948 $as_echo "no" >&6; }
10952 test -n "$ac_ct_CC" && break
10955 if test "x$ac_ct_CC" = x; then
10958 case $cross_compiling:$ac_tool_warned in
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10962 ac_tool_warned=yes ;;
10971 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10973 as_fn_error "no acceptable C compiler found in \$PATH
10974 See \`config.log' for more details." "$LINENO" 5; }
10976 # Provide some information about the compiler.
10977 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10980 for ac_option in --version -v -V -qversion; do
10981 { { ac_try="$ac_compiler $ac_option >&5"
10982 case "(($ac_try" in
10983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10984 *) ac_try_echo=$ac_try;;
10986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10987 $as_echo "$ac_try_echo"; } >&5
10988 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10990 if test -s conftest.err; then
10992 ... rest of stderr output deleted ...
10993 10q' conftest.err >conftest.er1
10994 cat conftest.er1 >&5
10996 rm -f conftest.er1 conftest.err
10997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10998 test $ac_status = 0; }
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11002 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11003 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11004 $as_echo_n "(cached) " >&6
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11020 if ac_fn_c_try_compile "$LINENO"; then :
11021 ac_compiler_gnu=yes
11025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11026 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11030 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11031 if test $ac_compiler_gnu = yes; then
11036 ac_test_CFLAGS=${CFLAGS+set}
11037 ac_save_CFLAGS=$CFLAGS
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11039 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11040 if test "${ac_cv_prog_cc_g+set}" = set; then :
11041 $as_echo_n "(cached) " >&6
11043 ac_save_c_werror_flag=$ac_c_werror_flag
11044 ac_c_werror_flag=yes
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11058 if ac_fn_c_try_compile "$LINENO"; then :
11059 ac_cv_prog_cc_g=yes
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11073 if ac_fn_c_try_compile "$LINENO"; then :
11076 ac_c_werror_flag=$ac_save_c_werror_flag
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11089 if ac_fn_c_try_compile "$LINENO"; then :
11090 ac_cv_prog_cc_g=yes
11092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11097 ac_c_werror_flag=$ac_save_c_werror_flag
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11100 $as_echo "$ac_cv_prog_cc_g" >&6; }
11101 if test "$ac_test_CFLAGS" = set; then
11102 CFLAGS=$ac_save_CFLAGS
11103 elif test $ac_cv_prog_cc_g = yes; then
11104 if test "$GCC" = yes; then
11110 if test "$GCC" = yes; then
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11117 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11118 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11119 $as_echo_n "(cached) " >&6
11121 ac_cv_prog_cc_c89=no
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125 #include <stdarg.h>
11127 #include <sys/types.h>
11128 #include <sys/stat.h>
11129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11130 struct buf { int x; };
11131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11132 static char *e (p, i)
11138 static char *f (char * (*g) (char **, int), char **p, ...)
11143 s = g (p, va_arg (v,int));
11148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11149 function prototypes and stuff, but not '\xHH' hex character constants.
11150 These don't provoke an error unfortunately, instead are silently treated
11151 as 'x'. The following induces an error, until -std is added to get
11152 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11153 array size at least. It's necessary to write '\x00'==0 to get something
11154 that's true only with -std. */
11155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11158 inside strings and character constants. */
11160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11162 int test (int i, double x);
11163 struct s1 {int (*f) (int a);};
11164 struct s2 {int (*f) (double a);};
11165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11171 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11177 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11179 CC="$ac_save_CC $ac_arg"
11180 if ac_fn_c_try_compile "$LINENO"; then :
11181 ac_cv_prog_cc_c89=$ac_arg
11183 rm -f core conftest.err conftest.$ac_objext
11184 test "x$ac_cv_prog_cc_c89" != "xno" && break
11186 rm -f conftest.$ac_ext
11191 case "x$ac_cv_prog_cc_c89" in
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11194 $as_echo "none needed" >&6; } ;;
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11197 $as_echo "unsupported" >&6; } ;;
11199 CC="$CC $ac_cv_prog_cc_c89"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11201 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11203 if test "x$ac_cv_prog_cc_c89" != xno; then :
11208 ac_cpp='$CPP $CPPFLAGS'
11209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11213 depcc="$CC" am_compiler_list=
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11216 $as_echo_n "checking dependency style of $depcc... " >&6; }
11217 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11218 $as_echo_n "(cached) " >&6
11220 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11221 # We make a subdir and do the tests there. Otherwise we can end up
11222 # making bogus files that we don't know about and never remove. For
11223 # instance it was reported that on HP-UX the gcc test will end up
11224 # making a dummy file named `D' -- because `-MD' means `put the output
11227 # Copy depcomp to subdir because otherwise we won't find it if we're
11228 # using a relative directory.
11229 cp "$am_depcomp" conftest.dir
11231 # We will build objects and dependencies in a subdirectory because
11232 # it helps to detect inapplicable dependency modes. For instance
11233 # both Tru64's cc and ICC support -MD to output dependencies as a
11234 # side effect of compilation, but ICC will put the dependencies in
11235 # the current directory while Tru64 will put them in the object
11239 am_cv_CC_dependencies_compiler_type=none
11240 if test "$am_compiler_list" = ""; then
11241 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11243 am__universal=false
11244 case " $depcc " in #(
11245 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11248 for depmode in $am_compiler_list; do
11249 # Setup a source with many dependencies, because some compilers
11250 # like to wrap large dependency lists on column 80 (with \), and
11251 # we should not choose a depcomp mode which is confused by this.
11253 # We need to recreate these files for each test, as the compiler may
11254 # overwrite some of them when testing with obscure command lines.
11255 # This happens at least with the AIX C compiler.
11257 for i in 1 2 3 4 5 6; do
11258 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11259 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11260 # Solaris 8's {/usr,}/bin/sh.
11261 touch sub/conftst$i.h
11263 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11265 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11266 # mode. It turns out that the SunPro C++ compiler does not properly
11267 # handle `-M -o', and we need to detect this. Also, some Intel
11268 # versions had trouble with output in subdirs
11269 am__obj=sub/conftest.${OBJEXT-o}
11270 am__minus_obj="-o $am__obj"
11273 # This depmode causes a compiler race in universal mode.
11274 test "$am__universal" = false || continue
11277 # after this tag, mechanisms are not by side-effect, so they'll
11278 # only be used when explicitly requested
11279 if test "x$enable_dependency_tracking" = xyes; then
11285 msvisualcpp | msvcmsys)
11286 # This compiler won't grok `-c -o', but also, the minuso test has
11287 # not run yet. These depmodes are late enough in the game, and
11288 # so weak that their functioning should not be impacted.
11289 am__obj=conftest.${OBJEXT-o}
11294 if depmode=$depmode \
11295 source=sub/conftest.c object=$am__obj \
11296 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11297 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11298 >/dev/null 2>conftest.err &&
11299 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11300 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11301 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11302 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11303 # icc doesn't choke on unknown options, it will just issue warnings
11304 # or remarks (even with -Werror). So we grep stderr for any message
11305 # that says an option was ignored or not supported.
11306 # When given -MP, icc 7.0 and 7.1 complain thusly:
11307 # icc: Command line warning: ignoring option '-M'; no argument required
11308 # The diagnosis changed in icc 8.0:
11309 # icc: Command line remark: option '-MP' not supported
11310 if (grep 'ignoring option' conftest.err ||
11311 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11312 am_cv_CC_dependencies_compiler_type=$depmode
11319 rm -rf conftest.dir
11321 am_cv_CC_dependencies_compiler_type=none
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11326 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11327 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11330 test "x$enable_dependency_tracking" != xno \
11331 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11332 am__fastdepCC_TRUE=
11333 am__fastdepCC_FALSE='#'
11335 am__fastdepCC_TRUE='#'
11336 am__fastdepCC_FALSE=
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
11342 $as_echo_n "checking for native Win32... " >&6; }
11344 mingw*) os_win32=yes ;;
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
11348 $as_echo "$os_win32" >&6; }
11349 if test "$os_win32" = "yes"; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
11358 $as_echo_n "checking for some Win32 platform... " >&6; }
11360 mingw*|cygwin*) platform_win32=yes ;;
11361 *) platform_win32=no ;;
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
11364 $as_echo "$platform_win32" >&6; }
11365 if test "$platform_win32" = "yes"; then
11366 PLATFORM_WIN32_TRUE=
11367 PLATFORM_WIN32_FALSE='#'
11369 PLATFORM_WIN32_TRUE='#'
11370 PLATFORM_WIN32_FALSE=
11375 # Checks for header files.
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11377 $as_echo_n "checking for ANSI C header files... " >&6; }
11378 if test "${ac_cv_header_stdc+set}" = set; then :
11379 $as_echo_n "(cached) " >&6
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11383 #include <stdlib.h>
11384 #include <stdarg.h>
11385 #include <string.h>
11396 if ac_fn_c_try_compile "$LINENO"; then :
11397 ac_cv_header_stdc=yes
11399 ac_cv_header_stdc=no
11401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11403 if test $ac_cv_header_stdc = yes; then
11404 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11407 #include <string.h>
11410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11411 $EGREP "memchr" >/dev/null 2>&1; then :
11414 ac_cv_header_stdc=no
11420 if test $ac_cv_header_stdc = yes; then
11421 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11424 #include <stdlib.h>
11427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11428 $EGREP "free" >/dev/null 2>&1; then :
11431 ac_cv_header_stdc=no
11437 if test $ac_cv_header_stdc = yes; then
11438 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11439 if test "$cross_compiling" = yes; then :
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 #include <stdlib.h>
11446 #if ((' ' & 0x0FF) == 0x020)
11447 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11448 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11450 # define ISLOWER(c) \
11451 (('a' <= (c) && (c) <= 'i') \
11452 || ('j' <= (c) && (c) <= 'r') \
11453 || ('s' <= (c) && (c) <= 'z'))
11454 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11457 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11462 for (i = 0; i < 256; i++)
11463 if (XOR (islower (i), ISLOWER (i))
11464 || toupper (i) != TOUPPER (i))
11469 if ac_fn_c_try_run "$LINENO"; then :
11472 ac_cv_header_stdc=no
11474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11475 conftest.$ac_objext conftest.beam conftest.$ac_ext
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11481 $as_echo "$ac_cv_header_stdc" >&6; }
11482 if test $ac_cv_header_stdc = yes; then
11484 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11488 for ac_header in stdlib.h string.h strings.h inttypes.h wchar.h asm/page.h sys/times.h
11490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11491 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11492 eval as_val=\$$as_ac_Header
11493 if test "x$as_val" = x""yes; then :
11494 cat >>confdefs.h <<_ACEOF
11495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11503 # Checks for typedefs and structures.
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11505 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11506 if test "${ac_cv_c_const+set}" = set; then :
11507 $as_echo_n "(cached) " >&6
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11515 /* FIXME: Include the comments suggested by Paul. */
11516 #ifndef __cplusplus
11517 /* Ultrix mips cc rejects this. */
11518 typedef int charset[2];
11520 /* SunOS 4.1.1 cc rejects this. */
11521 char const *const *pcpcc;
11523 /* NEC SVR4.0.2 mips cc rejects this. */
11524 struct point {int x, y;};
11525 static struct point const zero = {0,0};
11526 /* AIX XL C 1.02.0.0 rejects this.
11527 It does not let you subtract one const X* pointer from another in
11528 an arm of an if-expression whose if-part is not a constant
11530 const char *g = "string";
11531 pcpcc = &g + (g ? g-g : 0);
11532 /* HPUX 7.0 cc rejects these. */
11534 ppc = (char**) pcpcc;
11535 pcpcc = (char const *const *) ppc;
11536 { /* SCO 3.2v4 cc rejects this. */
11538 char const *s = 0 ? (char *) 0 : (char const *) 0;
11543 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11544 int x[] = {25, 17};
11545 const int *foo = &x[0];
11548 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11549 typedef const int *iptr;
11553 { /* AIX XL C 1.02.0.0 rejects this saying
11554 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11555 struct s { int j; const int *ap[3]; };
11556 struct s *b; b->j = 5;
11558 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11559 const int foo = 10;
11560 if (!foo) return 0;
11562 return !cs[0] && !zero.x;
11569 if ac_fn_c_try_compile "$LINENO"; then :
11574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11577 $as_echo "$ac_cv_c_const" >&6; }
11578 if test $ac_cv_c_const = no; then
11580 $as_echo "#define const /**/" >>confdefs.h
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5
11585 $as_echo_n "checking for preprocessor stringizing operator... " >&6; }
11586 if test "${ac_cv_c_stringize+set}" = set; then :
11587 $as_echo_n "(cached) " >&6
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11593 char *s = x(teststring);
11595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11596 $EGREP "#teststring" >/dev/null 2>&1; then :
11597 ac_cv_c_stringize=no
11599 ac_cv_c_stringize=yes
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5
11605 $as_echo "$ac_cv_c_stringize" >&6; }
11606 if test $ac_cv_c_stringize = yes; then
11608 $as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h
11612 # The cast to long int works around a bug in the HP C Compiler
11613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11615 # This bug is HP SR number 8606223364.
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
11617 $as_echo_n "checking size of int... " >&6; }
11618 if test "${ac_cv_sizeof_int+set}" = set; then :
11619 $as_echo_n "(cached) " >&6
11621 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
11624 if test "$ac_cv_type_int" = yes; then
11625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11627 { as_fn_set_status 77
11628 as_fn_error "cannot compute sizeof (int)
11629 See \`config.log' for more details." "$LINENO" 5; }; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
11637 $as_echo "$ac_cv_sizeof_int" >&6; }
11641 cat >>confdefs.h <<_ACEOF
11642 #define SIZEOF_INT $ac_cv_sizeof_int
11646 SIZEOF_INT=$ac_cv_sizeof_int
11648 # The cast to long int works around a bug in the HP C Compiler
11649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11651 # This bug is HP SR number 8606223364.
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
11653 $as_echo_n "checking size of short... " >&6; }
11654 if test "${ac_cv_sizeof_short+set}" = set; then :
11655 $as_echo_n "(cached) " >&6
11657 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
11660 if test "$ac_cv_type_short" = yes; then
11661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11663 { as_fn_set_status 77
11664 as_fn_error "cannot compute sizeof (short)
11665 See \`config.log' for more details." "$LINENO" 5; }; }
11667 ac_cv_sizeof_short=0
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
11673 $as_echo "$ac_cv_sizeof_short" >&6; }
11677 cat >>confdefs.h <<_ACEOF
11678 #define SIZEOF_SHORT $ac_cv_sizeof_short
11682 # The cast to long int works around a bug in the HP C Compiler
11683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11685 # This bug is HP SR number 8606223364.
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
11687 $as_echo_n "checking size of void *... " >&6; }
11688 if test "${ac_cv_sizeof_void_p+set}" = set; then :
11689 $as_echo_n "(cached) " >&6
11691 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
11694 if test "$ac_cv_type_void_p" = yes; then
11695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11697 { as_fn_set_status 77
11698 as_fn_error "cannot compute sizeof (void *)
11699 See \`config.log' for more details." "$LINENO" 5; }; }
11701 ac_cv_sizeof_void_p=0
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
11707 $as_echo "$ac_cv_sizeof_void_p" >&6; }
11711 cat >>confdefs.h <<_ACEOF
11712 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
11716 # The cast to long int works around a bug in the HP C Compiler
11717 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11718 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11719 # This bug is HP SR number 8606223364.
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
11721 $as_echo_n "checking size of wchar_t... " >&6; }
11722 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
11723 $as_echo_n "(cached) " >&6
11725 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
11728 if test "$ac_cv_type_wchar_t" = yes; then
11729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11731 { as_fn_set_status 77
11732 as_fn_error "cannot compute sizeof (wchar_t)
11733 See \`config.log' for more details." "$LINENO" 5; }; }
11735 ac_cv_sizeof_wchar_t=0
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
11741 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
11745 cat >>confdefs.h <<_ACEOF
11746 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
11751 # Checks for compiler characteristics.
11752 if test "x$GCC" = "xyes"; then
11753 CFLAGS="$CFLAGS -Wall -ansi "
11756 # Checks for library functions.
11757 for ac_func in memmove memset strdup
11759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11761 eval as_val=\$$as_ac_var
11762 if test "x$as_val" = x""yes; then :
11763 cat >>confdefs.h <<_ACEOF
11764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11771 $as_echo_n "checking return type of signal handlers... " >&6; }
11772 if test "${ac_cv_type_signal+set}" = set; then :
11773 $as_echo_n "(cached) " >&6
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 #include <sys/types.h>
11778 #include <signal.h>
11783 return *(signal (0, 0)) (0) == 1;
11788 if ac_fn_c_try_compile "$LINENO"; then :
11789 ac_cv_type_signal=int
11791 ac_cv_type_signal=void
11793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11796 $as_echo "$ac_cv_type_signal" >&6; }
11798 cat >>confdefs.h <<_ACEOF
11799 #define RETSIGTYPE $ac_cv_type_signal
11804 # Checks for configure options
11808 # Check whether --enable-debug was given.
11809 if test "${enable_debug+set}" = set; then :
11810 enableval=$enable_debug;
11815 if test x$enable_debug = xyes; then
11817 $as_echo "#define DEBUG 1" >>confdefs.h
11821 # --disable-deprecated
11822 # Check whether --enable-deprecated was given.
11823 if test "${enable_deprecated+set}" = set; then :
11824 enableval=$enable_deprecated;
11827 if test x$enable_deprecated = xno; then
11828 FRIBIDI_NO_DEPRECATED=1
11830 FRIBIDI_NO_DEPRECATED=0
11835 # Check whether --enable-malloc was given.
11836 if test "${enable_malloc+set}" = set; then :
11837 enableval=$enable_malloc;
11840 if test x$enable_malloc = xyes; then
11842 $as_echo "#define USE_SIMPLE_MALLOC 1" >>confdefs.h
11846 # --disable-charsets
11847 # Check whether --enable-charsets was given.
11848 if test "${enable_charsets+set}" = set; then :
11849 enableval=$enable_charsets;
11852 if test x$enable_charsets = xno; then
11858 if test x$FRIBIDI_CHARSETS = x1; then
11859 FRIBIDI_CHARSETS_TRUE=
11860 FRIBIDI_CHARSETS_FALSE='#'
11862 FRIBIDI_CHARSETS_TRUE='#'
11863 FRIBIDI_CHARSETS_FALSE=
11869 # Check whether --with-glib was given.
11870 if test "${with_glib+set}" = set; then :
11871 withval=$with_glib;
11874 GLIB_PACKAGE=glib-2.0
11875 GLIB_MINVERSION=2.4
11878 if test x$with_glib = xyes; then
11881 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11882 if test -n "$ac_tool_prefix"; then
11883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11884 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11886 $as_echo_n "checking for $ac_word... " >&6; }
11887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11888 $as_echo_n "(cached) " >&6
11890 case $PKG_CONFIG in
11892 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11896 for as_dir in $PATH
11899 test -z "$as_dir" && as_dir=.
11900 for ac_exec_ext in '' $ac_executable_extensions; do
11901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11902 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11913 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11914 if test -n "$PKG_CONFIG"; then
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11916 $as_echo "$PKG_CONFIG" >&6; }
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919 $as_echo "no" >&6; }
11924 if test -z "$ac_cv_path_PKG_CONFIG"; then
11925 ac_pt_PKG_CONFIG=$PKG_CONFIG
11926 # Extract the first word of "pkg-config", so it can be a program name with args.
11927 set dummy pkg-config; ac_word=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11929 $as_echo_n "checking for $ac_word... " >&6; }
11930 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11931 $as_echo_n "(cached) " >&6
11933 case $ac_pt_PKG_CONFIG in
11935 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11939 for as_dir in $PATH
11942 test -z "$as_dir" && as_dir=.
11943 for ac_exec_ext in '' $ac_executable_extensions; do
11944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11945 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11956 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11957 if test -n "$ac_pt_PKG_CONFIG"; then
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11959 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11962 $as_echo "no" >&6; }
11965 if test "x$ac_pt_PKG_CONFIG" = x; then
11968 case $cross_compiling:$ac_tool_warned in
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11972 ac_tool_warned=yes ;;
11974 PKG_CONFIG=$ac_pt_PKG_CONFIG
11977 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11981 if test -n "$PKG_CONFIG"; then
11982 _pkg_min_version=0.9.0
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11984 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11985 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11987 $as_echo "yes" >&6; }
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 $as_echo "no" >&6; }
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11998 $as_echo_n "checking for GLIB... " >&6; }
12000 if test -n "$PKG_CONFIG"; then
12001 if test -n "$GLIB_CFLAGS"; then
12002 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12004 if test -n "$PKG_CONFIG" && \
12005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
12006 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
12008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12009 test $ac_status = 0; }; then
12010 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
12018 if test -n "$PKG_CONFIG"; then
12019 if test -n "$GLIB_LIBS"; then
12020 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12022 if test -n "$PKG_CONFIG" && \
12023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
12024 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
12026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027 test $ac_status = 0; }; then
12028 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
12039 if test $pkg_failed = yes; then
12041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12042 _pkg_short_errors_supported=yes
12044 _pkg_short_errors_supported=no
12046 if test $_pkg_short_errors_supported = yes; then
12047 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION"`
12049 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION"`
12051 # Put the nasty error message in config.log where it belongs
12052 echo "$GLIB_PKG_ERRORS" >&5
12054 as_fn_error "Package requirements ($GLIB_PACKAGE >= $GLIB_MINVERSION) were not met:
12058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12059 installed software in a non-standard prefix.
12061 Alternatively, you may set the environment variables GLIB_CFLAGS
12062 and GLIB_LIBS to avoid the need to call pkg-config.
12063 See the pkg-config man page for more details.
12065 elif test $pkg_failed = untried; then
12066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12068 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12069 is in your PATH or set the PKG_CONFIG environment variable to the full
12070 path to pkg-config.
12072 Alternatively, you may set the environment variables GLIB_CFLAGS
12073 and GLIB_LIBS to avoid the need to call pkg-config.
12074 See the pkg-config man page for more details.
12076 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12077 See \`config.log' for more details." "$LINENO" 5; }
12079 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12080 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12082 $as_echo "yes" >&6; }
12087 if test x$with_glib = xno; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12093 $as_echo_n "checking for GLIB... " >&6; }
12095 if test -n "$PKG_CONFIG"; then
12096 if test -n "$GLIB_CFLAGS"; then
12097 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12099 if test -n "$PKG_CONFIG" && \
12100 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
12101 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
12103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12104 test $ac_status = 0; }; then
12105 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
12113 if test -n "$PKG_CONFIG"; then
12114 if test -n "$GLIB_LIBS"; then
12115 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12117 if test -n "$PKG_CONFIG" && \
12118 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_PACKAGE >= \$GLIB_MINVERSION\""; } >&5
12119 ($PKG_CONFIG --exists --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION") 2>&5
12121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12122 test $ac_status = 0; }; then
12123 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_PACKAGE >= $GLIB_MINVERSION" 2>/dev/null`
12134 if test $pkg_failed = yes; then
12136 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12137 _pkg_short_errors_supported=yes
12139 _pkg_short_errors_supported=no
12141 if test $_pkg_short_errors_supported = yes; then
12142 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION"`
12144 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GLIB_PACKAGE >= $GLIB_MINVERSION"`
12146 # Put the nasty error message in config.log where it belongs
12147 echo "$GLIB_PKG_ERRORS" >&5
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12152 elif test $pkg_failed = untried; then
12155 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12156 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12158 $as_echo "yes" >&6; }
12163 if test x$FRIBIDI_USE_GLIB = x0; then
12167 if test x$FRIBIDI_USE_GLIB = x1; then
12168 FRIBIDI_USE_GLIB_TRUE=
12169 FRIBIDI_USE_GLIB_FALSE='#'
12171 FRIBIDI_USE_GLIB_TRUE='#'
12172 FRIBIDI_USE_GLIB_FALSE=
12177 MISC_CFLAGS="$GLIB_CFLAGS"
12178 MISC_LIBS="$GLIB_LIBS"
12179 MISC_PACKAGES="$GLIB_PACKAGE"
12185 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"
12187 cat >confcache <<\_ACEOF
12188 # This file is a shell script that caches the results of configure
12189 # tests run on this system so they can be shared between configure
12190 # scripts and configure runs, see configure's option --config-cache.
12191 # It is not useful on other systems. If it contains results you don't
12192 # want to keep, you may remove or edit it.
12194 # config.status only pays attention to the cache file if you give it
12195 # the --recheck option to rerun configure.
12197 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12198 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12199 # following values.
12203 # The following way of writing the cache mishandles newlines in values,
12204 # but we know of no workaround that is simple, portable, and efficient.
12205 # So, we kill variables containing newlines.
12206 # Ultrix sh set writes to stderr and can't be redirected directly,
12207 # and sets the high bit in the cache file unless we assign to the vars.
12209 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12210 eval ac_val=\$$ac_var
12214 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12215 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12218 _ | IFS | as_nl) ;; #(
12219 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12220 *) { eval $ac_var=; unset $ac_var;} ;;
12226 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12227 *${as_nl}ac_space=\ *)
12228 # `set' does not quote correctly, so add quotes: double-quote
12229 # substitution turns \\\\ into \\, and sed turns \\ into \.
12232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12235 # `set' quotes correctly as required by POSIX, so do not add quotes.
12236 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12245 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12247 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12249 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12250 if test -w "$cache_file"; then
12251 test "x$cache_file" != "x/dev/null" &&
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12253 $as_echo "$as_me: updating cache $cache_file" >&6;}
12254 cat confcache >$cache_file
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12257 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12262 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12263 # Let make expand exec_prefix.
12264 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12266 DEFS=-DHAVE_CONFIG_H
12270 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12271 # 1. Remove the extension, and $U if already installed.
12272 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12273 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12274 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12275 # will be set to the directory where LIBOBJS objects are built.
12276 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12277 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12279 LIBOBJS=$ac_libobjs
12281 LTLIBOBJS=$ac_ltlibobjs
12284 if test -n "$EXEEXT"; then
12286 am__EXEEXT_FALSE='#'
12288 am__EXEEXT_TRUE='#'
12292 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12293 as_fn_error "conditional \"AMDEP\" was never defined.
12294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12296 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12297 as_fn_error "conditional \"am__fastdepCC\" was never defined.
12298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12300 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12301 as_fn_error "conditional \"am__fastdepCC\" was never defined.
12302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12304 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
12305 as_fn_error "conditional \"OS_WIN32\" was never defined.
12306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12308 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
12309 as_fn_error "conditional \"PLATFORM_WIN32\" was never defined.
12310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12312 if test -z "${FRIBIDI_CHARSETS_TRUE}" && test -z "${FRIBIDI_CHARSETS_FALSE}"; then
12313 as_fn_error "conditional \"FRIBIDI_CHARSETS\" was never defined.
12314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12316 if test -z "${FRIBIDI_USE_GLIB_TRUE}" && test -z "${FRIBIDI_USE_GLIB_FALSE}"; then
12317 as_fn_error "conditional \"FRIBIDI_USE_GLIB\" was never defined.
12318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12321 : ${CONFIG_STATUS=./config.status}
12323 ac_clean_files_save=$ac_clean_files
12324 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12326 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12328 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12330 # Generated by $as_me.
12331 # Run this file to recreate the current configuration.
12332 # Compiler output produced by configure, useful for debugging
12333 # configure, is in config.log if it exists.
12336 ac_cs_recheck=false
12339 SHELL=\${CONFIG_SHELL-$SHELL}
12342 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12343 ## -------------------- ##
12344 ## M4sh Initialization. ##
12345 ## -------------------- ##
12347 # Be more Bourne compatible
12348 DUALCASE=1; export DUALCASE # for MKS sh
12349 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12352 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12353 # is contrary to our usage. Disable this feature.
12354 alias -g '${1+"$@"}'='"$@"'
12355 setopt NO_GLOB_SUBST
12357 case `(set -o) 2>/dev/null` in #(
12369 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12370 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12371 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12373 # Prefer a ksh shell builtin over an external printf program on Solaris,
12374 # but without wasting forks for bash or zsh.
12375 if test -z "$BASH_VERSION$ZSH_VERSION" \
12376 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12377 as_echo='print -r --'
12378 as_echo_n='print -rn --'
12379 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12380 as_echo='printf %s\n'
12381 as_echo_n='printf %s'
12383 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12384 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12385 as_echo_n='/usr/ucb/echo -n'
12387 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12388 as_echo_n_body='eval
12392 expr "X$arg" : "X\\(.*\\)$as_nl";
12393 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12395 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12397 export as_echo_n_body
12398 as_echo_n='sh -c $as_echo_n_body as_echo'
12400 export as_echo_body
12401 as_echo='sh -c $as_echo_body as_echo'
12404 # The user is always right.
12405 if test "${PATH_SEPARATOR+set}" != set; then
12407 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12408 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12415 # We need space, tab and new line, in precisely that order. Quoting is
12416 # there to prevent editors from complaining about space-tab.
12417 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12418 # splitting by setting IFS to empty value.)
12421 # Find who we are. Look in the path if we contain no directory separator.
12423 *[\\/]* ) as_myself=$0 ;;
12424 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12425 for as_dir in $PATH
12428 test -z "$as_dir" && as_dir=.
12429 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12435 # We did not find ourselves, most probably we were run as `sh COMMAND'
12436 # in which case we are not to be found in the path.
12437 if test "x$as_myself" = x; then
12440 if test ! -f "$as_myself"; then
12441 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12445 # Unset variables that we do not need and which cause bugs (e.g. in
12446 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12447 # suppresses any "Segmentation fault" message there. '((' could
12448 # trigger a bug in pdksh 5.2.14.
12449 for as_var in BASH_ENV ENV MAIL MAILPATH
12450 do eval test x\${$as_var+set} = xset \
12451 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12464 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12467 # as_fn_error ERROR [LINENO LOG_FD]
12468 # ---------------------------------
12469 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12470 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12471 # script with status $?, using 1 if that was 0.
12474 as_status=$?; test $as_status -eq 0 && as_status=1
12476 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12477 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12479 $as_echo "$as_me: error: $1" >&2
12480 as_fn_exit $as_status
12484 # as_fn_set_status STATUS
12485 # -----------------------
12486 # Set $? to STATUS, without forking.
12487 as_fn_set_status ()
12490 } # as_fn_set_status
12492 # as_fn_exit STATUS
12493 # -----------------
12494 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12498 as_fn_set_status $1
12504 # Portably unset VAR.
12507 { eval $1=; unset $1;}
12509 as_unset=as_fn_unset
12510 # as_fn_append VAR VALUE
12511 # ----------------------
12512 # Append the text in VALUE to the end of the definition contained in VAR. Take
12513 # advantage of any shell optimizations that allow amortized linear growth over
12514 # repeated appends, instead of the typical quadratic growth present in naive
12516 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12517 eval 'as_fn_append ()
12528 # as_fn_arith ARG...
12529 # ------------------
12530 # Perform arithmetic evaluation on the ARGs, and store the result in the
12531 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12532 # must be portable across $(()) and expr.
12533 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12534 eval 'as_fn_arith ()
12541 as_val=`expr "$@" || test $? -eq 1`
12546 if expr a : '\(a\)' >/dev/null 2>&1 &&
12547 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12553 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12554 as_basename=basename
12559 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12565 as_me=`$as_basename -- "$0" ||
12566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12567 X"$0" : 'X\(//\)$' \| \
12568 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12570 sed '/^.*\/\([^/][^/]*\)\/*$/{
12584 # Avoid depending upon Character Ranges.
12585 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12586 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12587 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12588 as_cr_digits='0123456789'
12589 as_cr_alnum=$as_cr_Letters$as_cr_digits
12591 ECHO_C= ECHO_N= ECHO_T=
12592 case `echo -n x` in #(((((
12594 case `echo 'xy\c'` in
12595 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12597 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12604 rm -f conf$$ conf$$.exe conf$$.file
12605 if test -d conf$$.dir; then
12606 rm -f conf$$.dir/conf$$.file
12609 mkdir conf$$.dir 2>/dev/null
12611 if (echo >conf$$.file) 2>/dev/null; then
12612 if ln -s conf$$.file conf$$ 2>/dev/null; then
12614 # ... but there are two gotchas:
12615 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12616 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12617 # In both cases, we have to default to `cp -p'.
12618 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12620 elif ln conf$$.file conf$$ 2>/dev/null; then
12628 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12629 rmdir conf$$.dir 2>/dev/null
12634 # Create "$as_dir" as a directory, including parents if necessary.
12639 -*) as_dir=./$as_dir;;
12641 test -d "$as_dir" || eval $as_mkdir_p || {
12645 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12646 *) as_qdir=$as_dir;;
12648 as_dirs="'$as_qdir' $as_dirs"
12649 as_dir=`$as_dirname -- "$as_dir" ||
12650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12651 X"$as_dir" : 'X\(//\)[^/]' \| \
12652 X"$as_dir" : 'X\(//\)$' \| \
12653 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12654 $as_echo X"$as_dir" |
12655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12659 /^X\(\/\/\)[^/].*/{
12672 test -d "$as_dir" && break
12674 test -z "$as_dirs" || eval "mkdir $as_dirs"
12675 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12679 if mkdir -p . 2>/dev/null; then
12680 as_mkdir_p='mkdir -p "$as_dir"'
12682 test -d ./-p && rmdir ./-p
12686 if test -x / >/dev/null 2>&1; then
12687 as_test_x='test -x'
12689 if ls -dL / >/dev/null 2>&1; then
12696 if test -d "$1"; then
12702 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12703 ???[sx]*):;;*)false;;esac;fi
12707 as_executable_p=$as_test_x
12709 # Sed expression to map a string onto a valid CPP name.
12710 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12712 # Sed expression to map a string onto a valid variable name.
12713 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12717 ## ----------------------------------- ##
12718 ## Main body of $CONFIG_STATUS script. ##
12719 ## ----------------------------------- ##
12721 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12724 # Save the log message, to keep $0 and so on meaningful, and to
12725 # report actual input values of CONFIG_FILES etc. instead of their
12726 # values after options handling.
12728 This file was extended by GNU FriBidi $as_me 0.19.4, which was
12729 generated by GNU Autoconf 2.65. Invocation command line was
12731 CONFIG_FILES = $CONFIG_FILES
12732 CONFIG_HEADERS = $CONFIG_HEADERS
12733 CONFIG_LINKS = $CONFIG_LINKS
12734 CONFIG_COMMANDS = $CONFIG_COMMANDS
12737 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12742 case $ac_config_files in *"
12743 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12746 case $ac_config_headers in *"
12747 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12752 # Files that config.status was made for.
12753 config_files="$ac_config_files"
12754 config_headers="$ac_config_headers"
12755 config_commands="$ac_config_commands"
12759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12761 \`$as_me' instantiates files and other configuration actions
12762 from templates according to the current configuration. Unless the files
12763 and actions are specified as TAGs, all are instantiated by default.
12765 Usage: $0 [OPTION]... [TAG]...
12767 -h, --help print this help, then exit
12768 -V, --version print version number and configuration settings, then exit
12769 --config print configuration, then exit
12770 -q, --quiet, --silent
12771 do not print progress messages
12772 -d, --debug don't remove temporary files
12773 --recheck update $as_me by reconfiguring in the same conditions
12774 --file=FILE[:TEMPLATE]
12775 instantiate the configuration file FILE
12776 --header=FILE[:TEMPLATE]
12777 instantiate the configuration header FILE
12779 Configuration files:
12782 Configuration headers:
12785 Configuration commands:
12788 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=fribidi>.
12789 GNU FriBidi home page: <http://fribidi.org/>.
12790 General help using GNU software: <http://www.gnu.org/gethelp/>."
12793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12794 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12796 GNU FriBidi config.status 0.19.4
12797 configured by $0, generated by GNU Autoconf 2.65,
12798 with options \\"\$ac_cs_config\\"
12800 Copyright (C) 2009 Free Software Foundation, Inc.
12801 This config.status script is free software; the Free Software Foundation
12802 gives unlimited permission to copy, distribute and modify it."
12809 test -n "\$AWK" || AWK=awk
12812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12813 # The default lists apply if the user does not specify any file.
12819 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12820 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12831 # Handling of the options.
12832 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12834 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12835 $as_echo "$ac_cs_version"; exit ;;
12836 --config | --confi | --conf | --con | --co | --c )
12837 $as_echo "$ac_cs_config"; exit ;;
12838 --debug | --debu | --deb | --de | --d | -d )
12840 --file | --fil | --fi | --f )
12843 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12845 as_fn_append CONFIG_FILES " '$ac_optarg'"
12846 ac_need_defaults=false;;
12847 --header | --heade | --head | --hea )
12850 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12852 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12853 ac_need_defaults=false;;
12855 # Conflict between --help and --header
12856 as_fn_error "ambiguous option: \`$1'
12857 Try \`$0 --help' for more information.";;
12858 --help | --hel | -h )
12859 $as_echo "$ac_cs_usage"; exit ;;
12860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12861 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12864 # This is an error.
12865 -*) as_fn_error "unrecognized option: \`$1'
12866 Try \`$0 --help' for more information." ;;
12868 *) as_fn_append ac_config_targets " $1"
12869 ac_need_defaults=false ;;
12875 ac_configure_extra_args=
12877 if $ac_cs_silent; then
12879 ac_configure_extra_args="$ac_configure_extra_args --silent"
12883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12884 if \$ac_cs_recheck; then
12885 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12887 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12888 CONFIG_SHELL='$SHELL'
12889 export CONFIG_SHELL
12894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12898 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12899 ## Running $as_me. ##
12905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12909 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12912 # The HP-UX ksh and POSIX shell print the target directory to stdout
12913 # if CDPATH is set.
12914 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12916 sed_quote_subst='$sed_quote_subst'
12917 double_quote_subst='$double_quote_subst'
12918 delay_variable_subst='$delay_variable_subst'
12919 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12920 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12921 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12922 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12923 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12924 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12925 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12926 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12927 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12928 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12929 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12930 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12931 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12932 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12933 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12934 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12935 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12936 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12937 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12938 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12939 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12940 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12941 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12942 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12943 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12944 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12945 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12946 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12947 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12948 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12949 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12950 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12951 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12952 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12953 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12954 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12955 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12956 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12957 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12958 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12959 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12960 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12961 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12962 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12963 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12964 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12965 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12966 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12967 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12968 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12969 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12970 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12971 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12972 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12973 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12974 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12975 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12976 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12977 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12978 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12979 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12980 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12981 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12982 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12983 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12984 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12985 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12986 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12987 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12988 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12989 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12990 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12991 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12992 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12993 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12994 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12995 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12996 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12997 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12998 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12999 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13000 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13001 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13002 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13003 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13004 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13005 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13006 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13007 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13008 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13009 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13010 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13011 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13012 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13013 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13014 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13015 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13016 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13017 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13018 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13019 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13020 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13021 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13022 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13023 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13024 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13025 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13026 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13027 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13028 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13029 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13030 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13031 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13032 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13033 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13034 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13035 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13036 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13039 LTCFLAGS='$LTCFLAGS'
13040 compiler='$compiler_DEFAULT'
13042 # Quote evaled strings.
13054 deplibs_check_method \
13063 lt_cv_sys_global_symbol_pipe \
13064 lt_cv_sys_global_symbol_to_cdecl \
13065 lt_cv_sys_global_symbol_to_c_name_address \
13066 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13069 lt_prog_compiler_no_builtin_flag \
13070 lt_prog_compiler_wl \
13071 lt_prog_compiler_pic \
13072 lt_prog_compiler_static \
13073 lt_cv_prog_compiler_c_o \
13081 export_dynamic_flag_spec \
13082 whole_archive_flag_spec \
13083 compiler_needs_object \
13085 allow_undefined_flag \
13086 no_undefined_flag \
13087 hardcode_libdir_flag_spec \
13088 hardcode_libdir_flag_spec_ld \
13089 hardcode_libdir_separator \
13094 variables_saved_for_relink \
13096 library_names_spec \
13101 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13102 *[\\\\\\\`\\"\\\$]*)
13103 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13106 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13111 # Double-quote double-evaled strings.
13112 for var in reload_cmds \
13113 old_postinstall_cmds \
13114 old_postuninstall_cmds \
13116 extract_expsyms_cmds \
13117 old_archive_from_new_cmds \
13118 old_archive_from_expsyms_cmds \
13120 archive_expsym_cmds \
13122 module_expsym_cmds \
13123 export_symbols_cmds \
13126 postuninstall_cmds \
13128 sys_lib_search_path_spec \
13129 sys_lib_dlsearch_path_spec; do
13130 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13131 *[\\\\\\\`\\"\\\$]*)
13132 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13135 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13140 # Fix-up fallback echo if it was mangled by the above quoting rules.
13142 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13146 ac_aux_dir='$ac_aux_dir'
13147 xsi_shell='$xsi_shell'
13148 lt_shell_append='$lt_shell_append'
13150 # See if we are running on zsh, and set the options which allow our
13151 # commands through without removal of \ escapes INIT.
13152 if test -n "\${ZSH_VERSION+set}" ; then
13153 setopt NO_GLOB_SUBST
13159 TIMESTAMP='$TIMESTAMP'
13168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13170 # Handling of arguments.
13171 for ac_config_target in $ac_config_targets
13173 case $ac_config_target in
13174 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13175 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13176 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13177 "fribidi.pc") CONFIG_FILES="$CONFIG_FILES fribidi.pc" ;;
13178 "lib/fribidi-config.h") CONFIG_FILES="$CONFIG_FILES lib/fribidi-config.h" ;;
13179 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13180 "charset/Makefile") CONFIG_FILES="$CONFIG_FILES charset/Makefile" ;;
13181 "gen.tab/Makefile") CONFIG_FILES="$CONFIG_FILES gen.tab/Makefile" ;;
13182 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13183 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
13184 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13185 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13187 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13192 # If the user did not use the arguments to specify the items to instantiate,
13193 # then the envvar interface is used. Set only those that are not.
13194 # We use the long form for the default assignment because of an extremely
13195 # bizarre bug on SunOS 4.1.3.
13196 if $ac_need_defaults; then
13197 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13198 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13199 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13202 # Have a temporary directory for convenience. Make it in the build tree
13203 # simply because there is no reason against having it here, and in addition,
13204 # creating and moving files from /tmp can sometimes cause problems.
13205 # Hook for its removal unless debugging.
13206 # Note that there is a small window in which the directory will not be cleaned:
13207 # after its creation but before its name has been assigned to `$tmp'.
13211 trap 'exit_status=$?
13212 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13214 trap 'as_fn_exit 1' 1 2 13 15
13216 # Create a (secure) tmp directory for tmp files.
13219 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13220 test -n "$tmp" && test -d "$tmp"
13223 tmp=./conf$$-$RANDOM
13224 (umask 077 && mkdir "$tmp")
13225 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13227 # Set up the scripts for CONFIG_FILES section.
13228 # No need to generate them if there are no CONFIG_FILES.
13229 # This happens for instance with `./config.status config.h'.
13230 if test -n "$CONFIG_FILES"; then
13233 ac_cr=`echo X | tr X '\015'`
13234 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13235 # But we know of no other shell where ac_cr would be empty at this
13236 # point, so we can use a bashism as a fallback.
13237 if test "x$ac_cr" = x; then
13238 eval ac_cr=\$\'\\r\'
13240 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13241 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13244 ac_cs_awk_cr=$ac_cr
13247 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13252 echo "cat >conf$$subs.awk <<_ACEOF" &&
13253 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13255 } >conf$$subs.sh ||
13256 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13257 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13259 for ac_last_try in false false false false false :; do
13260 . ./conf$$subs.sh ||
13261 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13263 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13264 if test $ac_delim_n = $ac_delim_num; then
13266 elif $ac_last_try; then
13267 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13269 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13272 rm -f conf$$subs.sh
13274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13275 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13279 s/^/S["/; s/!.*/"]=/
13289 s/\(.\{148\}\)..*/\1/
13291 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13296 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13303 s/\(.\{148\}\)..*/\1/
13305 s/["\\]/\\&/g; s/^/"/; s/$/"/
13309 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13314 ' <conf$$subs.awk | sed '
13319 ' >>$CONFIG_STATUS || ac_write_fail=1
13320 rm -f conf$$subs.awk
13321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13323 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13324 for (key in S) S_is_set[key] = 1
13330 nfields = split(line, field, "@")
13332 len = length(field[1])
13333 for (i = 2; i < nfields; i++) {
13335 keylen = length(key)
13336 if (S_is_set[key]) {
13338 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13339 len += length(value) + length(field[++i])
13350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13351 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13352 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13355 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13356 || as_fn_error "could not setup config files machinery" "$LINENO" 5
13359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13361 # trailing colons and then remove the whole line if VPATH becomes empty
13362 # (actually we leave an empty line to preserve line numbers).
13363 if test "x$srcdir" = x.; then
13364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13365 s/:*\$(srcdir):*/:/
13366 s/:*\${srcdir}:*/:/
13368 s/^\([^=]*=[ ]*\):*/\1/
13374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13375 fi # test -n "$CONFIG_FILES"
13377 # Set up the scripts for CONFIG_HEADERS section.
13378 # No need to generate them if there are no CONFIG_HEADERS.
13379 # This happens for instance with `./config.status Makefile'.
13380 if test -n "$CONFIG_HEADERS"; then
13381 cat >"$tmp/defines.awk" <<\_ACAWK ||
13385 # Transform confdefs.h into an awk script `defines.awk', embedded as
13386 # here-document in config.status, that substitutes the proper values into
13387 # config.h.in to produce config.h.
13389 # Create a delimiter string that does not exist in confdefs.h, to ease
13390 # handling of long lines.
13392 for ac_last_try in false false :; do
13393 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13394 if test -z "$ac_t"; then
13396 elif $ac_last_try; then
13397 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13399 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13403 # For the awk script, D is an array of macro values keyed by name,
13404 # likewise P contains macro parameters if any. Preserve backslash
13405 # newline sequences.
13407 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13409 s/.\{148\}/&'"$ac_delim"'/g
13412 s/^[ ]*#[ ]*define[ ][ ]*/ /
13419 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13421 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13425 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13426 D["\1"]=" \3\\\\\\n"\\/p
13428 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13433 s/.\{148\}/&'"$ac_delim"'/g
13438 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13441 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13443 ' <confdefs.h | sed '
13444 s/'"$ac_delim"'/"\\\
13445 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13448 for (key in D) D_is_set[key] = 1
13451 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13453 split(line, arg, " ")
13454 if (arg[1] == "#") {
13458 defundef = substr(arg[1], 2)
13461 split(mac1, mac2, "(") #)
13463 prefix = substr(line, 1, index(line, defundef) - 1)
13464 if (D_is_set[macro]) {
13465 # Preserve the white space surrounding the "#".
13466 print prefix "define", macro P[macro] D[macro]
13469 # Replace #undef with comments. This is necessary, for example,
13470 # in the case of _POSIX_SOURCE, which is predefined and required
13471 # on some systems where configure will not decide to define it.
13472 if (defundef == "undef") {
13473 print "/*", prefix defundef, macro, "*/"
13481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13482 as_fn_error "could not setup config headers machinery" "$LINENO" 5
13483 fi # test -n "$CONFIG_HEADERS"
13486 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13491 :[FHLC]) ac_mode=$ac_tag; continue;;
13493 case $ac_mode$ac_tag in
13495 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13496 :[FH]-) ac_tag=-:-;;
13497 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13514 -) ac_f="$tmp/stdin";;
13515 *) # Look for the file first in the build tree, then in the source tree
13516 # (if the path is not absolute). The absolute path cannot be DOS-style,
13517 # because $ac_f cannot contain `:'.
13521 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13523 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13525 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13526 as_fn_append ac_file_inputs " '$ac_f'"
13529 # Let's still pretend it is `configure' which instantiates (i.e., don't
13530 # use $as_me), people would be surprised to read:
13531 # /* config.h. Generated by config.status. */
13532 configure_input='Generated from '`
13533 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13535 if test x"$ac_file" != x-; then
13536 configure_input="$ac_file. $configure_input"
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13538 $as_echo "$as_me: creating $ac_file" >&6;}
13540 # Neutralize special characters interpreted by sed in replacement strings.
13541 case $configure_input in #(
13542 *\&* | *\|* | *\\* )
13543 ac_sed_conf_input=`$as_echo "$configure_input" |
13544 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13545 *) ac_sed_conf_input=$configure_input;;
13549 *:-:* | *:-) cat >"$tmp/stdin" \
13550 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13555 ac_dir=`$as_dirname -- "$ac_file" ||
13556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13557 X"$ac_file" : 'X\(//\)[^/]' \| \
13558 X"$ac_file" : 'X\(//\)$' \| \
13559 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13560 $as_echo X"$ac_file" |
13561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13565 /^X\(\/\/\)[^/].*/{
13578 as_dir="$ac_dir"; as_fn_mkdir_p
13582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13584 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13585 # A ".." for each directory in $ac_dir_suffix.
13586 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13587 case $ac_top_builddir_sub in
13588 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13589 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13592 ac_abs_top_builddir=$ac_pwd
13593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13594 # for backward compatibility:
13595 ac_top_builddir=$ac_top_build_prefix
13598 .) # We are building in place.
13600 ac_top_srcdir=$ac_top_builddir_sub
13601 ac_abs_top_srcdir=$ac_pwd ;;
13602 [\\/]* | ?:[\\/]* ) # Absolute name.
13603 ac_srcdir=$srcdir$ac_dir_suffix;
13604 ac_top_srcdir=$srcdir
13605 ac_abs_top_srcdir=$srcdir ;;
13606 *) # Relative name.
13607 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13608 ac_top_srcdir=$ac_top_build_prefix$srcdir
13609 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13621 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13622 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13624 ac_MKDIR_P=$MKDIR_P
13626 [\\/$]* | ?:[\\/]* ) ;;
13627 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13632 # If the template does not know about datarootdir, expand it.
13633 # FIXME: This hack should be removed a few years after 2.60.
13634 ac_datarootdir_hack=; ac_datarootdir_seen=
13645 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13646 *datarootdir*) ac_datarootdir_seen=yes;;
13647 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13649 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13652 ac_datarootdir_hack='
13653 s&@datadir@&$datadir&g
13654 s&@docdir@&$docdir&g
13655 s&@infodir@&$infodir&g
13656 s&@localedir@&$localedir&g
13657 s&@mandir@&$mandir&g
13658 s&\\\${datarootdir}&$datarootdir&g' ;;
13662 # Neutralize VPATH when `$srcdir' = `.'.
13663 # Shell code in configure.ac might set extrasub.
13664 # FIXME: do we really want to maintain this feature?
13665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13666 ac_sed_extra="$ac_vpsub
13669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13671 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13672 s|@configure_input@|$ac_sed_conf_input|;t t
13673 s&@top_builddir@&$ac_top_builddir_sub&;t t
13674 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13675 s&@srcdir@&$ac_srcdir&;t t
13676 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13677 s&@top_srcdir@&$ac_top_srcdir&;t t
13678 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13679 s&@builddir@&$ac_builddir&;t t
13680 s&@abs_builddir@&$ac_abs_builddir&;t t
13681 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13682 s&@INSTALL@&$ac_INSTALL&;t t
13683 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13684 $ac_datarootdir_hack
13686 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13687 || as_fn_error "could not create $ac_file" "$LINENO" 5
13689 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13690 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13691 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13693 which seems to be undefined. Please make sure it is defined." >&5
13694 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13695 which seems to be undefined. Please make sure it is defined." >&2;}
13699 -) cat "$tmp/out" && rm -f "$tmp/out";;
13700 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13702 || as_fn_error "could not create $ac_file" "$LINENO" 5
13708 if test x"$ac_file" != x-; then
13710 $as_echo "/* $configure_input */" \
13711 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13712 } >"$tmp/config.h" \
13713 || as_fn_error "could not create $ac_file" "$LINENO" 5
13714 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13716 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13719 mv "$tmp/config.h" "$ac_file" \
13720 || as_fn_error "could not create $ac_file" "$LINENO" 5
13723 $as_echo "/* $configure_input */" \
13724 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13725 || as_fn_error "could not create -" "$LINENO" 5
13727 # Compute "$ac_file"'s index in $config_headers.
13730 for _am_header in $config_headers :; do
13731 case $_am_header in
13732 $_am_arg | $_am_arg:* )
13735 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13738 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13739 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13740 X"$_am_arg" : 'X\(//\)[^/]' \| \
13741 X"$_am_arg" : 'X\(//\)$' \| \
13742 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13743 $as_echo X"$_am_arg" |
13744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13748 /^X\(\/\/\)[^/].*/{
13760 s/.*/./; q'`/stamp-h$_am_stamp_count
13763 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13764 $as_echo "$as_me: executing $ac_file commands" >&6;}
13769 case $ac_file$ac_mode in
13770 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13771 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13772 # are listed without --file. Let's play safe and only enable the eval
13773 # if we detect the quoting.
13774 case $CONFIG_FILES in
13775 *\'*) eval set x "$CONFIG_FILES" ;;
13776 *) set x $CONFIG_FILES ;;
13781 # Strip MF so we end up with the name of the file.
13782 mf=`echo "$mf" | sed -e 's/:.*$//'`
13783 # Check whether this is an Automake generated Makefile or not.
13784 # We used to match only the files named `Makefile.in', but
13785 # some people rename them; so instead we look at the file content.
13786 # Grep'ing the first line is not enough: some people post-process
13787 # each Makefile.in and add a new line on top of each file to say so.
13788 # Grep'ing the whole file is not good either: AIX grep has a line
13789 # limit of 2048, but all sed's we know have understand at least 4000.
13790 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13791 dirpart=`$as_dirname -- "$mf" ||
13792 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13793 X"$mf" : 'X\(//\)[^/]' \| \
13794 X"$mf" : 'X\(//\)$' \| \
13795 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13801 /^X\(\/\/\)[^/].*/{
13817 # Extract the definition of DEPDIR, am__include, and am__quote
13818 # from the Makefile without running `make'.
13819 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13820 test -z "$DEPDIR" && continue
13821 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13822 test -z "am__include" && continue
13823 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13824 # When using ansi2knr, U may be empty or an underscore; expand it
13825 U=`sed -n 's/^U = //p' < "$mf"`
13826 # Find all dependency output files, they are included files with
13827 # $(DEPDIR) in their names. We invoke sed twice because it is the
13828 # simplest approach to changing $(DEPDIR) to its actual value in the
13830 for file in `sed -n "
13831 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13832 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13833 # Make sure the directory exists.
13834 test -f "$dirpart/$file" && continue
13835 fdir=`$as_dirname -- "$file" ||
13836 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13837 X"$file" : 'X\(//\)[^/]' \| \
13838 X"$file" : 'X\(//\)$' \| \
13839 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13840 $as_echo X"$file" |
13841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13845 /^X\(\/\/\)[^/].*/{
13858 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13859 # echo "creating $dirpart/$file"
13860 echo '# dummy' > "$dirpart/$file"
13867 # See if we are running on zsh, and set the options which allow our
13868 # commands through without removal of \ escapes.
13869 if test -n "${ZSH_VERSION+set}" ; then
13870 setopt NO_GLOB_SUBST
13873 cfgfile="${ofile}T"
13874 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13877 cat <<_LT_EOF >> "$cfgfile"
13880 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13881 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13882 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13883 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13885 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13886 # 2006, 2007, 2008 Free Software Foundation, Inc.
13887 # Written by Gordon Matzigkeit, 1996
13889 # This file is part of GNU Libtool.
13891 # GNU Libtool is free software; you can redistribute it and/or
13892 # modify it under the terms of the GNU General Public License as
13893 # published by the Free Software Foundation; either version 2 of
13894 # the License, or (at your option) any later version.
13896 # As a special exception to the GNU General Public License,
13897 # if you distribute this file as part of a program or library that
13898 # is built using GNU Libtool, you may include this file under the
13899 # same distribution terms that you use for the rest of that program.
13901 # GNU Libtool is distributed in the hope that it will be useful,
13902 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13903 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13904 # GNU General Public License for more details.
13906 # You should have received a copy of the GNU General Public License
13907 # along with GNU Libtool; see the file COPYING. If not, a copy
13908 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13909 # obtained by writing to the Free Software Foundation, Inc.,
13910 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13913 # The names of the tagged configurations supported by this script.
13916 # ### BEGIN LIBTOOL CONFIG
13918 # Which release of libtool.m4 was used?
13919 macro_version=$macro_version
13920 macro_revision=$macro_revision
13922 # Whether or not to build static libraries.
13923 build_old_libs=$enable_static
13925 # Whether or not to build shared libraries.
13926 build_libtool_libs=$enable_shared
13928 # What type of objects to build.
13931 # Whether or not to optimize for fast installation.
13932 fast_install=$enable_fast_install
13935 host_alias=$host_alias
13939 # The build system.
13940 build_alias=$build_alias
13944 # A sed program that does not truncate output.
13947 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13948 Xsed="\$SED -e 1s/^X//"
13950 # A grep program that handles long lines.
13956 # A literal string matcher.
13959 # A BSD- or MS-compatible name lister.
13962 # Whether we need soft or hard links.
13965 # What is the maximum length of a command?
13966 max_cmd_len=$max_cmd_len
13968 # Object file suffix (normally "o").
13971 # Executable file suffix (normally "").
13974 # whether the shell understands "unset".
13977 # turn spaces into newlines.
13980 # turn newlines into spaces.
13983 # How to create reloadable object files.
13984 reload_flag=$lt_reload_flag
13985 reload_cmds=$lt_reload_cmds
13987 # An object symbol dumper.
13988 OBJDUMP=$lt_OBJDUMP
13990 # Method to check whether dependent libraries are shared objects.
13991 deplibs_check_method=$lt_deplibs_check_method
13993 # Command to use when deplibs_check_method == "file_magic".
13994 file_magic_cmd=$lt_file_magic_cmd
13998 AR_FLAGS=$lt_AR_FLAGS
14000 # A symbol stripping program.
14003 # Commands used to install an old-style archive.
14005 old_postinstall_cmds=$lt_old_postinstall_cmds
14006 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14011 # LTCC compiler flags.
14012 LTCFLAGS=$lt_CFLAGS
14014 # Take the output of nm and produce a listing of raw symbols and C names.
14015 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14017 # Transform the output of nm in a proper C declaration.
14018 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14020 # Transform the output of nm in a C name address pair.
14021 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14023 # Transform the output of nm in a C name address pair when lib prefix is needed.
14024 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14026 # The name of the directory that contains temporary libtool files.
14029 # Shell to use when invoking shell scripts.
14032 # An echo program that does not interpret backslashes.
14035 # Used to examine libraries when file_magic_cmd begins with "file".
14036 MAGIC_CMD=$MAGIC_CMD
14038 # Must we lock files when doing compilation?
14039 need_locks=$lt_need_locks
14041 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14042 DSYMUTIL=$lt_DSYMUTIL
14044 # Tool to change global to local symbols on Mac OS X.
14047 # Tool to manipulate fat objects and archives on Mac OS X.
14050 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14053 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14054 OTOOL64=$lt_OTOOL64
14056 # Old archive suffix (normally "a").
14059 # Shared library suffix (normally ".so").
14060 shrext_cmds=$lt_shrext_cmds
14062 # The commands to extract the exported symbol list from a shared archive.
14063 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14065 # Variables whose values should be saved in libtool wrapper scripts and
14066 # restored at link time.
14067 variables_saved_for_relink=$lt_variables_saved_for_relink
14069 # Do we need the "lib" prefix for modules?
14070 need_lib_prefix=$need_lib_prefix
14072 # Do we need a version for libraries?
14073 need_version=$need_version
14075 # Library versioning type.
14076 version_type=$version_type
14078 # Shared library runtime path variable.
14079 runpath_var=$runpath_var
14081 # Shared library path variable.
14082 shlibpath_var=$shlibpath_var
14084 # Is shlibpath searched before the hard-coded library search path?
14085 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14087 # Format of library name prefix.
14088 libname_spec=$lt_libname_spec
14090 # List of archive names. First name is the real one, the rest are links.
14091 # The last name is the one that the linker finds with -lNAME
14092 library_names_spec=$lt_library_names_spec
14094 # The coded name of the library, if different from the real name.
14095 soname_spec=$lt_soname_spec
14097 # Command to use after installation of a shared archive.
14098 postinstall_cmds=$lt_postinstall_cmds
14100 # Command to use after uninstallation of a shared archive.
14101 postuninstall_cmds=$lt_postuninstall_cmds
14103 # Commands used to finish a libtool library installation in a directory.
14104 finish_cmds=$lt_finish_cmds
14106 # As "finish_cmds", except a single script fragment to be evaled but
14108 finish_eval=$lt_finish_eval
14110 # Whether we should hardcode library paths into libraries.
14111 hardcode_into_libs=$hardcode_into_libs
14113 # Compile-time system search path for libraries.
14114 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14116 # Run-time system search path for libraries.
14117 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14119 # Whether dlopen is supported.
14120 dlopen_support=$enable_dlopen
14122 # Whether dlopen of programs is supported.
14123 dlopen_self=$enable_dlopen_self
14125 # Whether dlopen of statically linked programs is supported.
14126 dlopen_self_static=$enable_dlopen_self_static
14128 # Commands to strip libraries.
14129 old_striplib=$lt_old_striplib
14130 striplib=$lt_striplib
14133 # The linker used to build libraries.
14136 # Commands used to build an old-style archive.
14137 old_archive_cmds=$lt_old_archive_cmds
14139 # A language specific compiler.
14142 # Is the compiler the GNU compiler?
14145 # Compiler flag to turn off builtin functions.
14146 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14148 # How to pass a linker flag through the compiler.
14149 wl=$lt_lt_prog_compiler_wl
14151 # Additional compiler flags for building library objects.
14152 pic_flag=$lt_lt_prog_compiler_pic
14154 # Compiler flag to prevent dynamic linking.
14155 link_static_flag=$lt_lt_prog_compiler_static
14157 # Does compiler simultaneously support -c and -o options?
14158 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14160 # Whether or not to add -lc for building shared libraries.
14161 build_libtool_need_lc=$archive_cmds_need_lc
14163 # Whether or not to disallow shared libs when runtime libs are static.
14164 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14166 # Compiler flag to allow reflexive dlopens.
14167 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14169 # Compiler flag to generate shared objects directly from archives.
14170 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14172 # Whether the compiler copes with passing no objects directly.
14173 compiler_needs_object=$lt_compiler_needs_object
14175 # Create an old-style archive from a shared archive.
14176 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14178 # Create a temporary old-style archive to link instead of a shared archive.
14179 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14181 # Commands used to build a shared archive.
14182 archive_cmds=$lt_archive_cmds
14183 archive_expsym_cmds=$lt_archive_expsym_cmds
14185 # Commands used to build a loadable module if different from building
14186 # a shared archive.
14187 module_cmds=$lt_module_cmds
14188 module_expsym_cmds=$lt_module_expsym_cmds
14190 # Whether we are building with GNU ld or not.
14191 with_gnu_ld=$lt_with_gnu_ld
14193 # Flag that allows shared libraries with undefined symbols to be built.
14194 allow_undefined_flag=$lt_allow_undefined_flag
14196 # Flag that enforces no undefined symbols.
14197 no_undefined_flag=$lt_no_undefined_flag
14199 # Flag to hardcode \$libdir into a binary during linking.
14200 # This must work even if \$libdir does not exist
14201 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14203 # If ld is used when linking, flag to hardcode \$libdir into a binary
14204 # during linking. This must work even if \$libdir does not exist.
14205 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14207 # Whether we need a single "-rpath" flag with a separated argument.
14208 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14210 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14211 # DIR into the resulting binary.
14212 hardcode_direct=$hardcode_direct
14214 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14215 # DIR into the resulting binary and the resulting library dependency is
14216 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14217 # library is relocated.
14218 hardcode_direct_absolute=$hardcode_direct_absolute
14220 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14221 # into the resulting binary.
14222 hardcode_minus_L=$hardcode_minus_L
14224 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14225 # into the resulting binary.
14226 hardcode_shlibpath_var=$hardcode_shlibpath_var
14228 # Set to "yes" if building a shared library automatically hardcodes DIR
14229 # into the library and all subsequent libraries and executables linked
14231 hardcode_automatic=$hardcode_automatic
14233 # Set to yes if linker adds runtime paths of dependent libraries
14234 # to runtime path list.
14235 inherit_rpath=$inherit_rpath
14237 # Whether libtool must link a program against all its dependency libraries.
14238 link_all_deplibs=$link_all_deplibs
14240 # Fix the shell variable \$srcfile for the compiler.
14241 fix_srcfile_path=$lt_fix_srcfile_path
14243 # Set to "yes" if exported symbols are required.
14244 always_export_symbols=$always_export_symbols
14246 # The commands to list exported symbols.
14247 export_symbols_cmds=$lt_export_symbols_cmds
14249 # Symbols that should not be listed in the preloaded symbols.
14250 exclude_expsyms=$lt_exclude_expsyms
14252 # Symbols that must always be exported.
14253 include_expsyms=$lt_include_expsyms
14255 # Commands necessary for linking programs (against libraries) with templates.
14256 prelink_cmds=$lt_prelink_cmds
14258 # Specify filename containing input files.
14259 file_list_spec=$lt_file_list_spec
14261 # How to hardcode a shared library path into an executable.
14262 hardcode_action=$hardcode_action
14264 # ### END LIBTOOL CONFIG
14270 cat <<\_LT_EOF >> "$cfgfile"
14271 # AIX sometimes has problems with the GCC collect2 program. For some
14272 # reason, if we set the COLLECT_NAMES environment variable, the problems
14273 # vanish in a puff of smoke.
14274 if test "X${COLLECT_NAMES+set}" != Xset; then
14276 export COLLECT_NAMES
14283 ltmain="$ac_aux_dir/ltmain.sh"
14286 # We use sed instead of cat because bash on DJGPP gets confused if
14287 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14288 # text mode, it properly converts lines to CR/LF. This bash problem
14289 # is reportedly fixed, but why not run on old versions too?
14290 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14291 || (rm -f "$cfgfile"; exit 1)
14295 cat << \_LT_EOF >> "$cfgfile"
14297 # func_dirname file append nondir_replacement
14298 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14299 # otherwise set result to NONDIR_REPLACEMENT.
14303 */*) func_dirname_result="${1%/*}${2}" ;;
14304 * ) func_dirname_result="${3}" ;;
14308 # func_basename file
14311 func_basename_result="${1##*/}"
14314 # func_dirname_and_basename file append nondir_replacement
14315 # perform func_basename and func_dirname in a single function
14317 # dirname: Compute the dirname of FILE. If nonempty,
14318 # add APPEND to the result, otherwise set result
14319 # to NONDIR_REPLACEMENT.
14320 # value returned in "$func_dirname_result"
14321 # basename: Compute filename of FILE.
14322 # value retuned in "$func_basename_result"
14323 # Implementation must be kept synchronized with func_dirname
14324 # and func_basename. For efficiency, we do not delegate to
14325 # those functions but instead duplicate the functionality here.
14326 func_dirname_and_basename ()
14329 */*) func_dirname_result="${1%/*}${2}" ;;
14330 * ) func_dirname_result="${3}" ;;
14332 func_basename_result="${1##*/}"
14335 # func_stripname prefix suffix name
14336 # strip PREFIX and SUFFIX off of NAME.
14337 # PREFIX and SUFFIX must not contain globbing or regex special
14338 # characters, hashes, percent signs, but SUFFIX may contain a leading
14339 # dot (in which case that matches only a dot).
14342 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14343 # positional parameters, so assign one to ordinary parameter first.
14344 func_stripname_result=${3}
14345 func_stripname_result=${func_stripname_result#"${1}"}
14346 func_stripname_result=${func_stripname_result%"${2}"}
14352 func_opt_split_opt=${1%%=*}
14353 func_opt_split_arg=${1#*=}
14360 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14361 *) func_lo2o_result=${1} ;;
14365 # func_xform libobj-or-source
14368 func_xform_result=${1%.*}.lo
14371 # func_arith arithmetic-term...
14374 func_arith_result=$(( $* ))
14378 # STRING may not start with a hyphen.
14381 func_len_result=${#1}
14386 *) # Bourne compatible functions.
14387 cat << \_LT_EOF >> "$cfgfile"
14389 # func_dirname file append nondir_replacement
14390 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14391 # otherwise set result to NONDIR_REPLACEMENT.
14394 # Extract subdirectory from the argument.
14395 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14396 if test "X$func_dirname_result" = "X${1}"; then
14397 func_dirname_result="${3}"
14399 func_dirname_result="$func_dirname_result${2}"
14403 # func_basename file
14406 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14410 # func_stripname prefix suffix name
14411 # strip PREFIX and SUFFIX off of NAME.
14412 # PREFIX and SUFFIX must not contain globbing or regex special
14413 # characters, hashes, percent signs, but SUFFIX may contain a leading
14414 # dot (in which case that matches only a dot).
14415 # func_strip_suffix prefix name
14419 .*) func_stripname_result=`$ECHO "X${3}" \
14420 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14421 *) func_stripname_result=`$ECHO "X${3}" \
14422 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14427 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14428 my_sed_long_arg='1s/^-[^=]*=//'
14433 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14434 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14440 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14443 # func_xform libobj-or-source
14446 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14449 # func_arith arithmetic-term...
14452 func_arith_result=`expr "$@"`
14456 # STRING may not start with a hyphen.
14459 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14465 case $lt_shell_append in
14467 cat << \_LT_EOF >> "$cfgfile"
14469 # func_append var value
14470 # Append VALUE to the end of shell variable VAR.
14478 cat << \_LT_EOF >> "$cfgfile"
14480 # func_append var value
14481 # Append VALUE to the end of shell variable VAR.
14492 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14493 || (rm -f "$cfgfile"; exit 1)
14495 mv -f "$cfgfile" "$ofile" ||
14496 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14507 ac_clean_files=$ac_clean_files_save
14509 test $ac_write_fail = 0 ||
14510 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14513 # configure is writing to config.log, and then calls config.status.
14514 # config.status does its own redirection, appending to config.log.
14515 # Unfortunately, on DOS this fails, as config.log is still kept open
14516 # by configure, so config.status won't be able to write to it; its
14517 # output is simply discarded. So we exec the FD to /dev/null,
14518 # effectively closing config.log, so it can be properly (re)opened and
14519 # appended to by config.status. When coming back to configure, we
14520 # need to make the FD available again.
14521 if test "$no_create" != yes; then
14523 ac_config_status_args=
14524 test "$silent" = yes &&
14525 ac_config_status_args="$ac_config_status_args --quiet"
14527 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14529 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14530 # would make configure fail if this is the last instruction.
14531 $ac_cs_success || as_fn_exit $?
14533 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14535 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}