2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Multitouch Protocol Translation Library 1.0.11.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
699 PACKAGE_NAME='Multitouch Protocol Translation Library'
700 PACKAGE_TARNAME='mtdev'
701 PACKAGE_VERSION='1.0.11'
702 PACKAGE_STRING='Multitouch Protocol Translation Library 1.0.11'
706 ac_unique_file="Makefile.am"
707 # Factoring default headers for most tests.
708 ac_includes_default="\
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
720 # ifdef HAVE_STDLIB_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
743 ac_subst_vars='am__EXEEXT_FALSE
793 MAINTAINER_MODE_FALSE
803 INSTALL_STRIP_PROGRAM
845 program_transform_name
858 enable_option_checking
859 enable_maintainer_mode
864 enable_dependency_tracking
868 ac_precious_vars='build_alias
879 # Initialize some variables set by options.
881 ac_init_version=false
882 ac_unrecognized_opts=
884 # The variables have the same names as the options, with
885 # dashes changed to underlines.
893 program_transform_name=s,x,x,
901 # Installation directory options.
902 # These are left unexpanded so users can "make install exec_prefix=/foo"
903 # and all the variables that are supposed to be based on exec_prefix
904 # by default will actually change.
905 # Use braces instead of parens because sh, perl, etc. also accept them.
906 # (The list follows the same order as the GNU Coding Standards.)
907 bindir='${exec_prefix}/bin'
908 sbindir='${exec_prefix}/sbin'
909 libexecdir='${exec_prefix}/libexec'
910 datarootdir='${prefix}/share'
911 datadir='${datarootdir}'
912 sysconfdir='${prefix}/etc'
913 sharedstatedir='${prefix}/com'
914 localstatedir='${prefix}/var'
915 includedir='${prefix}/include'
916 oldincludedir='/usr/include'
917 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
918 infodir='${datarootdir}/info'
923 libdir='${exec_prefix}/lib'
924 localedir='${datarootdir}/locale'
925 mandir='${datarootdir}/man'
931 # If the previous option needs an argument, assign it.
932 if test -n "$ac_prev"; then
933 eval $ac_prev=\$ac_option
939 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
944 # Accept the important Cygnus configure options, so we can diagnose typos.
946 case $ac_dashdash$ac_option in
950 -bindir | --bindir | --bindi | --bind | --bin | --bi)
952 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
955 -build | --build | --buil | --bui | --bu)
956 ac_prev=build_alias ;;
957 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
958 build_alias=$ac_optarg ;;
960 -cache-file | --cache-file | --cache-fil | --cache-fi \
961 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
962 ac_prev=cache_file ;;
963 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
964 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
965 cache_file=$ac_optarg ;;
968 cache_file=config.cache ;;
970 -datadir | --datadir | --datadi | --datad)
972 -datadir=* | --datadir=* | --datadi=* | --datad=*)
973 datadir=$ac_optarg ;;
975 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
976 | --dataroo | --dataro | --datar)
977 ac_prev=datarootdir ;;
978 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
979 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
980 datarootdir=$ac_optarg ;;
982 -disable-* | --disable-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error $? "invalid feature name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
996 eval enable_$ac_useropt=no ;;
998 -docdir | --docdir | --docdi | --doc | --do)
1000 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1001 docdir=$ac_optarg ;;
1003 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1005 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1006 dvidir=$ac_optarg ;;
1008 -enable-* | --enable-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error $? "invalid feature name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_$ac_useropt"
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1022 eval enable_$ac_useropt=\$ac_optarg ;;
1024 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1025 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1026 | --exec | --exe | --ex)
1027 ac_prev=exec_prefix ;;
1028 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1029 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1030 | --exec=* | --exe=* | --ex=*)
1031 exec_prefix=$ac_optarg ;;
1033 -gas | --gas | --ga | --g)
1034 # Obsolete; use --with-gas.
1037 -help | --help | --hel | --he | -h)
1038 ac_init_help=long ;;
1039 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1040 ac_init_help=recursive ;;
1041 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1042 ac_init_help=short ;;
1044 -host | --host | --hos | --ho)
1045 ac_prev=host_alias ;;
1046 -host=* | --host=* | --hos=* | --ho=*)
1047 host_alias=$ac_optarg ;;
1049 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1051 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1053 htmldir=$ac_optarg ;;
1055 -includedir | --includedir | --includedi | --included | --include \
1056 | --includ | --inclu | --incl | --inc)
1057 ac_prev=includedir ;;
1058 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1059 | --includ=* | --inclu=* | --incl=* | --inc=*)
1060 includedir=$ac_optarg ;;
1062 -infodir | --infodir | --infodi | --infod | --info | --inf)
1064 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1065 infodir=$ac_optarg ;;
1067 -libdir | --libdir | --libdi | --libd)
1069 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1070 libdir=$ac_optarg ;;
1072 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1073 | --libexe | --libex | --libe)
1074 ac_prev=libexecdir ;;
1075 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1076 | --libexe=* | --libex=* | --libe=*)
1077 libexecdir=$ac_optarg ;;
1079 -localedir | --localedir | --localedi | --localed | --locale)
1080 ac_prev=localedir ;;
1081 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1082 localedir=$ac_optarg ;;
1084 -localstatedir | --localstatedir | --localstatedi | --localstated \
1085 | --localstate | --localstat | --localsta | --localst | --locals)
1086 ac_prev=localstatedir ;;
1087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1088 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1089 localstatedir=$ac_optarg ;;
1091 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1093 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1094 mandir=$ac_optarg ;;
1096 -nfp | --nfp | --nf)
1097 # Obsolete; use --without-fp.
1100 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1101 | --no-cr | --no-c | -n)
1104 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1105 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1108 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1109 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1110 | --oldin | --oldi | --old | --ol | --o)
1111 ac_prev=oldincludedir ;;
1112 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1113 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1114 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1115 oldincludedir=$ac_optarg ;;
1117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1120 prefix=$ac_optarg ;;
1122 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1123 | --program-pre | --program-pr | --program-p)
1124 ac_prev=program_prefix ;;
1125 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1126 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1127 program_prefix=$ac_optarg ;;
1129 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1130 | --program-suf | --program-su | --program-s)
1131 ac_prev=program_suffix ;;
1132 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1133 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1134 program_suffix=$ac_optarg ;;
1136 -program-transform-name | --program-transform-name \
1137 | --program-transform-nam | --program-transform-na \
1138 | --program-transform-n | --program-transform- \
1139 | --program-transform | --program-transfor \
1140 | --program-transfo | --program-transf \
1141 | --program-trans | --program-tran \
1142 | --progr-tra | --program-tr | --program-t)
1143 ac_prev=program_transform_name ;;
1144 -program-transform-name=* | --program-transform-name=* \
1145 | --program-transform-nam=* | --program-transform-na=* \
1146 | --program-transform-n=* | --program-transform-=* \
1147 | --program-transform=* | --program-transfor=* \
1148 | --program-transfo=* | --program-transf=* \
1149 | --program-trans=* | --program-tran=* \
1150 | --progr-tra=* | --program-tr=* | --program-t=*)
1151 program_transform_name=$ac_optarg ;;
1153 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1155 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1156 pdfdir=$ac_optarg ;;
1158 -psdir | --psdir | --psdi | --psd | --ps)
1160 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1164 | -silent | --silent | --silen | --sile | --sil)
1167 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1169 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1171 sbindir=$ac_optarg ;;
1173 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1174 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1175 | --sharedst | --shareds | --shared | --share | --shar \
1177 ac_prev=sharedstatedir ;;
1178 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1179 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1180 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1182 sharedstatedir=$ac_optarg ;;
1184 -site | --site | --sit)
1186 -site=* | --site=* | --sit=*)
1189 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1191 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1192 srcdir=$ac_optarg ;;
1194 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1195 | --syscon | --sysco | --sysc | --sys | --sy)
1196 ac_prev=sysconfdir ;;
1197 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1198 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1199 sysconfdir=$ac_optarg ;;
1201 -target | --target | --targe | --targ | --tar | --ta | --t)
1202 ac_prev=target_alias ;;
1203 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1204 target_alias=$ac_optarg ;;
1206 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1209 -version | --version | --versio | --versi | --vers | -V)
1210 ac_init_version=: ;;
1213 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216 as_fn_error $? "invalid package name: $ac_useropt"
1217 ac_useropt_orig=$ac_useropt
1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1224 ac_unrecognized_sep=', ';;
1226 eval with_$ac_useropt=\$ac_optarg ;;
1228 -without-* | --without-*)
1229 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1232 as_fn_error $? "invalid package name: $ac_useropt"
1233 ac_useropt_orig=$ac_useropt
1234 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1239 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1240 ac_unrecognized_sep=', ';;
1242 eval with_$ac_useropt=no ;;
1245 # Obsolete; use --with-x.
1248 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1249 | --x-incl | --x-inc | --x-in | --x-i)
1250 ac_prev=x_includes ;;
1251 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1252 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1253 x_includes=$ac_optarg ;;
1255 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1256 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1257 ac_prev=x_libraries ;;
1258 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1259 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1260 x_libraries=$ac_optarg ;;
1262 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1263 Try \`$0 --help' for more information"
1267 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1268 # Reject names that are not valid shell variable names.
1269 case $ac_envvar in #(
1270 '' | [0-9]* | *[!_$as_cr_alnum]* )
1271 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1273 eval $ac_envvar=\$ac_optarg
1274 export $ac_envvar ;;
1277 # FIXME: should be removed in autoconf 3.0.
1278 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1279 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1280 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1281 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1287 if test -n "$ac_prev"; then
1288 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1289 as_fn_error $? "missing argument to $ac_option"
1292 if test -n "$ac_unrecognized_opts"; then
1293 case $enable_option_checking in
1295 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1296 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1300 # Check all directory arguments for consistency.
1301 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1302 datadir sysconfdir sharedstatedir localstatedir includedir \
1303 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1304 libdir localedir mandir
1306 eval ac_val=\$$ac_var
1307 # Remove trailing slashes.
1310 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1311 eval $ac_var=\$ac_val;;
1313 # Be sure to have absolute directory names.
1315 [\\/$]* | ?:[\\/]* ) continue;;
1316 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1318 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1321 # There might be people who depend on the old broken behavior: `$host'
1322 # used to hold the argument of --host etc.
1323 # FIXME: To remove some day.
1326 target=$target_alias
1328 # FIXME: To remove some day.
1329 if test "x$host_alias" != x; then
1330 if test "x$build_alias" = x; then
1331 cross_compiling=maybe
1332 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1333 If a cross compiler is detected then cross compile mode will be used" >&2
1334 elif test "x$build_alias" != "x$host_alias"; then
1340 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1342 test "$silent" = yes && exec 6>/dev/null
1345 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1346 ac_ls_di=`ls -di .` &&
1347 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1348 as_fn_error $? "working directory cannot be determined"
1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1350 as_fn_error $? "pwd does not report name of working directory"
1353 # Find the source files, if location was not specified.
1354 if test -z "$srcdir"; then
1355 ac_srcdir_defaulted=yes
1356 # Try the directory containing this script, then the parent directory.
1357 ac_confdir=`$as_dirname -- "$as_myself" ||
1358 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1359 X"$as_myself" : 'X\(//\)[^/]' \| \
1360 X"$as_myself" : 'X\(//\)$' \| \
1361 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1362 $as_echo X"$as_myself" |
1363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1385 ac_srcdir_defaulted=no
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1388 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1389 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1391 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1393 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1395 # When building in place, set srcdir=.
1396 if test "$ac_abs_confdir" = "$ac_pwd"; then
1399 # Remove unnecessary trailing slashes from srcdir.
1400 # Double slashes in file names in object file debugging info
1401 # mess up M-x gdb in Emacs.
1403 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1405 for ac_var in $ac_precious_vars; do
1406 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1407 eval ac_env_${ac_var}_value=\$${ac_var}
1408 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1409 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1413 # Report the --help message.
1415 if test "$ac_init_help" = "long"; then
1416 # Omit some internal or obsolete options to make the list less imposing.
1417 # This message is too long to be a string in the A/UX 3.1 sh.
1419 \`configure' configures Multitouch Protocol Translation Library 1.0.11 to adapt to many kinds of systems.
1421 Usage: $0 [OPTION]... [VAR=VALUE]...
1423 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1424 VAR=VALUE. See below for descriptions of some of the useful variables.
1426 Defaults for the options are specified in brackets.
1429 -h, --help display this help and exit
1430 --help=short display options specific to this package
1431 --help=recursive display the short help of all the included packages
1432 -V, --version display version information and exit
1433 -q, --quiet, --silent do not print \`checking ...' messages
1434 --cache-file=FILE cache test results in FILE [disabled]
1435 -C, --config-cache alias for \`--cache-file=config.cache'
1436 -n, --no-create do not create output files
1437 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1439 Installation directories:
1440 --prefix=PREFIX install architecture-independent files in PREFIX
1441 [$ac_default_prefix]
1442 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1445 By default, \`make install' will install all the files in
1446 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1447 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1448 for instance \`--prefix=\$HOME'.
1450 For better control, use the options below.
1452 Fine tuning of the installation directories:
1453 --bindir=DIR user executables [EPREFIX/bin]
1454 --sbindir=DIR system admin executables [EPREFIX/sbin]
1455 --libexecdir=DIR program executables [EPREFIX/libexec]
1456 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1457 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1458 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1459 --libdir=DIR object code libraries [EPREFIX/lib]
1460 --includedir=DIR C header files [PREFIX/include]
1461 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1462 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1463 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1464 --infodir=DIR info documentation [DATAROOTDIR/info]
1465 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1466 --mandir=DIR man documentation [DATAROOTDIR/man]
1467 --docdir=DIR documentation root [DATAROOTDIR/doc/mtdev]
1468 --htmldir=DIR html documentation [DOCDIR]
1469 --dvidir=DIR dvi documentation [DOCDIR]
1470 --pdfdir=DIR pdf documentation [DOCDIR]
1471 --psdir=DIR ps documentation [DOCDIR]
1477 --program-prefix=PREFIX prepend PREFIX to installed program names
1478 --program-suffix=SUFFIX append SUFFIX to installed program names
1479 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1482 --build=BUILD configure for building on BUILD [guessed]
1483 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1487 if test -n "$ac_init_help"; then
1488 case $ac_init_help in
1489 short | recursive ) echo "Configuration of Multitouch Protocol Translation Library 1.0.11:";;
1494 --disable-option-checking ignore unrecognized --enable/--with options
1495 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1496 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1497 --enable-maintainer-mode enable make rules and dependencies not useful
1498 (and sometimes confusing) to the casual installer
1499 --enable-shared[=PKGS] build shared libraries [default=yes]
1500 --enable-static[=PKGS] build static libraries [default=yes]
1501 --enable-fast-install[=PKGS]
1502 optimize for fast installation [default=yes]
1503 --disable-dependency-tracking speeds up one-time build
1504 --enable-dependency-tracking do not reject slow dependency extractors
1505 --disable-libtool-lock avoid locking (might break parallel builds)
1508 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1509 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1510 --with-pic try to use only PIC/non-PIC objects [default=use
1512 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1514 Some influential environment variables:
1515 CC C compiler command
1516 CFLAGS C compiler flags
1517 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1518 nonstandard directory <lib dir>
1519 LIBS libraries to pass to the linker, e.g. -l<library>
1520 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1521 you have headers in a nonstandard directory <include dir>
1524 Use these variables to override the choices made by `configure' or to help
1525 it to find libraries and programs with nonstandard names/locations.
1527 Report bugs to the package provider.
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535 test -d "$ac_dir" ||
1536 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1557 .) # We are building in place.
1559 ac_top_srcdir=$ac_top_builddir_sub
1560 ac_abs_top_srcdir=$ac_pwd ;;
1561 [\\/]* | ?:[\\/]* ) # Absolute name.
1562 ac_srcdir=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir=$srcdir
1564 ac_abs_top_srcdir=$srcdir ;;
1566 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" || { ac_status=$?; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1581 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 cd "$ac_pwd" || { ac_status=$?; break; }
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1590 Multitouch Protocol Translation Library configure 1.0.11
1591 generated by GNU Autoconf 2.67
1593 Copyright (C) 2010 Free Software Foundation, Inc.
1594 This configure script is free software; the Free Software Foundation
1595 gives unlimited permission to copy, distribute and modify it.
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext
1611 if { { ac_try="$ac_compile"
1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_compile") 2>conftest.err
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest.$ac_objext; then :
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_c_try_compile
1642 # ac_fn_c_try_link LINENO
1643 # -----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded.
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext conftest$ac_exeext
1649 if { { ac_try="$ac_link"
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_link") 2>conftest.err
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest$ac_exeext && {
1668 test "$cross_compiling" = yes ||
1669 $as_test_x conftest$ac_exeext
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1678 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1679 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1680 # interfere with the next link command; also delete a directory that is
1681 # left behind by Apple's compiler. We do this before executing the actions.
1682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_c_try_link
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval "test \"\${$3+set}\"" = set; then :
1698 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1705 if ac_fn_c_try_compile "$LINENO"; then :
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 } # ac_fn_c_check_header_compile
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_cpp conftest.$ac_ext"
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1734 if test -s conftest.err; then
1735 grep -v '^ *+' conftest.err >conftest.er1
1736 cat conftest.er1 >&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } > conftest.i && {
1741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 as_fn_set_status $ac_retval
1756 # ac_fn_c_try_run LINENO
1757 # ----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1759 # that executables *can* be run.
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 if { { ac_try="$ac_link"
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>&5
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1774 { { case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_try") 2>&5
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; }; }; then :
1786 $as_echo "$as_me: program exited with status $ac_status" >&5
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1790 ac_retval=$ac_status
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 as_fn_set_status $ac_retval
1798 # ac_fn_c_check_func LINENO FUNC VAR
1799 # ----------------------------------
1800 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval "test \"\${$3+set}\"" = set; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1813 #define $2 innocuous_$2
1815 /* System header to define __stub macros and hopefully few prototypes,
1816 which can conflict with char $2 (); below.
1817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818 <limits.h> exists even on freestanding compilers. */
1821 # include <limits.h>
1823 # include <assert.h>
1828 /* Override any GCC internal prototype to avoid an error.
1829 Use char because int might match the return type of a GCC
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined __stub_$2 || defined __stub___$2
1850 if ac_fn_c_try_link "$LINENO"; then :
1855 rm -f core conftest.err conftest.$ac_objext \
1856 conftest$ac_exeext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 } # ac_fn_c_check_func
1864 cat >config.log <<_ACEOF
1865 This file contains any messages produced by compilers while
1866 running configure, to aid debugging if configure makes a mistake.
1868 It was created by Multitouch Protocol Translation Library $as_me 1.0.11, which was
1869 generated by GNU Autoconf 2.67. Invocation command line was
1881 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1882 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1883 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1884 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1885 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1887 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1888 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1890 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1891 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1892 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1893 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1894 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1895 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1896 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir=.
1905 $as_echo "PATH: $as_dir"
1921 # Keep a trace of the command line.
1922 # Strip out --no-create and --no-recursion so they do not pile up.
1923 # Strip out --silent because we don't want to record it for future runs.
1924 # Also quote any args containing shell meta-characters.
1925 # Make two passes to allow for proper duplicate-argument suppression.
1929 ac_must_keep_next=false
1935 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1937 | -silent | --silent | --silen | --sile | --sil)
1940 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1943 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1945 as_fn_append ac_configure_args1 " '$ac_arg'"
1946 if test $ac_must_keep_next = true; then
1947 ac_must_keep_next=false # Got value, back to normal.
1950 *=* | --config-cache | -C | -disable-* | --disable-* \
1951 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1952 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1953 | -with-* | --with-* | -without-* | --without-* | --x)
1954 case "$ac_configure_args0 " in
1955 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1958 -* ) ac_must_keep_next=true ;;
1961 as_fn_append ac_configure_args " '$ac_arg'"
1966 { ac_configure_args0=; unset ac_configure_args0;}
1967 { ac_configure_args1=; unset ac_configure_args1;}
1969 # When interrupted or exit'd, cleanup temporary files, and complete
1970 # config.log. We remove comments because anyway the quotes in there
1971 # would cause problems or look ugly.
1972 # WARNING: Use '\'' to represent an apostrophe within the trap.
1973 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1974 trap 'exit_status=$?
1975 # Save into config.log some information that might help in debugging.
1979 $as_echo "## ---------------- ##
1980 ## Cache variables. ##
1981 ## ---------------- ##"
1983 # The following way of writing the cache mishandles newlines in values,
1985 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1986 eval ac_val=\$$ac_var
1990 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1991 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1994 _ | IFS | as_nl) ;; #(
1995 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1996 *) { eval $ac_var=; unset $ac_var;} ;;
2001 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2002 *${as_nl}ac_space=\ *)
2004 "s/'\''/'\''\\\\'\'''\''/g;
2005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2015 $as_echo "## ----------------- ##
2016 ## Output variables. ##
2017 ## ----------------- ##"
2019 for ac_var in $ac_subst_vars
2021 eval ac_val=\$$ac_var
2023 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025 $as_echo "$ac_var='\''$ac_val'\''"
2029 if test -n "$ac_subst_files"; then
2030 $as_echo "## ------------------- ##
2031 ## File substitutions. ##
2032 ## ------------------- ##"
2034 for ac_var in $ac_subst_files
2036 eval ac_val=\$$ac_var
2038 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2040 $as_echo "$ac_var='\''$ac_val'\''"
2045 if test -s confdefs.h; then
2046 $as_echo "## ----------- ##
2053 test "$ac_signal" != 0 &&
2054 $as_echo "$as_me: caught signal $ac_signal"
2055 $as_echo "$as_me: exit $exit_status"
2057 rm -f core *.core core.conftest.* &&
2058 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2061 for ac_signal in 1 2 13 15; do
2062 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2067 rm -f -r conftest* confdefs.h
2069 $as_echo "/* confdefs.h */" > confdefs.h
2071 # Predefined preprocessor variables.
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_NAME "$PACKAGE_NAME"
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_STRING "$PACKAGE_STRING"
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_URL "$PACKAGE_URL"
2098 # Let the site file select an alternate cache file if it wants to.
2099 # Prefer an explicitly selected file to automatically selected ones.
2102 if test -n "$CONFIG_SITE"; then
2103 # We do not want a PATH search for config.site.
2104 case $CONFIG_SITE in #((
2105 -*) ac_site_file1=./$CONFIG_SITE;;
2106 */*) ac_site_file1=$CONFIG_SITE;;
2107 *) ac_site_file1=./$CONFIG_SITE;;
2109 elif test "x$prefix" != xNONE; then
2110 ac_site_file1=$prefix/share/config.site
2111 ac_site_file2=$prefix/etc/config.site
2113 ac_site_file1=$ac_default_prefix/share/config.site
2114 ac_site_file2=$ac_default_prefix/etc/config.site
2116 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2118 test "x$ac_site_file" = xNONE && continue
2119 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2121 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2122 sed 's/^/| /' "$ac_site_file" >&5
2124 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2126 as_fn_error $? "failed to load site script $ac_site_file
2127 See \`config.log' for more details" "$LINENO" 5 ; }
2131 if test -r "$cache_file"; then
2132 # Some versions of bash will fail to source /dev/null (special files
2133 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2134 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2136 $as_echo "$as_me: loading cache $cache_file" >&6;}
2138 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2139 *) . "./$cache_file";;
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2144 $as_echo "$as_me: creating cache $cache_file" >&6;}
2148 # Check that the precious variables saved in the cache have kept the same
2150 ac_cache_corrupted=false
2151 for ac_var in $ac_precious_vars; do
2152 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2153 eval ac_new_set=\$ac_env_${ac_var}_set
2154 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2155 eval ac_new_val=\$ac_env_${ac_var}_value
2156 case $ac_old_set,$ac_new_set in
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2159 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2160 ac_cache_corrupted=: ;;
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2163 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2164 ac_cache_corrupted=: ;;
2167 if test "x$ac_old_val" != "x$ac_new_val"; then
2168 # differences in whitespace do not lead to failure.
2169 ac_old_val_w=`echo x $ac_old_val`
2170 ac_new_val_w=`echo x $ac_new_val`
2171 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2173 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2174 ac_cache_corrupted=:
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2177 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2178 eval $ac_var=\$ac_old_val
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2181 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2183 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2186 # Pass precious variables to config.status.
2187 if test "$ac_new_set" = set; then
2189 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2190 *) ac_arg=$ac_var=$ac_new_val ;;
2192 case " $ac_configure_args " in
2193 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2194 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2198 if $ac_cache_corrupted; then
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2202 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2203 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2205 ## -------------------- ##
2206 ## Main body of script. ##
2207 ## -------------------- ##
2210 ac_cpp='$CPP $CPPFLAGS'
2211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2217 ac_config_headers="$ac_config_headers config.h"
2220 for ac_dir in config-aux "$srcdir"/config-aux; do
2221 if test -f "$ac_dir/install-sh"; then
2223 ac_install_sh="$ac_aux_dir/install-sh -c"
2225 elif test -f "$ac_dir/install.sh"; then
2227 ac_install_sh="$ac_aux_dir/install.sh -c"
2229 elif test -f "$ac_dir/shtool"; then
2231 ac_install_sh="$ac_aux_dir/shtool install -c"
2235 if test -z "$ac_aux_dir"; then
2236 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config-aux \"$srcdir\"/config-aux" "$LINENO" 5
2239 # These three variables are undocumented and unsupported,
2240 # and are intended to be withdrawn in a future Autoconf release.
2241 # They can cause serious problems if a builder's source tree is in a directory
2242 # whose full name contains unusual characters.
2243 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2244 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2245 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2249 # Initialize Automake
2250 am__api_version='1.11'
2252 # Find a good install program. We prefer a C program (faster),
2253 # so one script is as good as another. But avoid the broken or
2254 # incompatible versions:
2255 # SysV /etc/install, /usr/sbin/install
2256 # SunOS /usr/etc/install
2257 # IRIX /sbin/install
2259 # AmigaOS /C/install, which installs bootblocks on floppy discs
2260 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2261 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2262 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2263 # OS/2's system install, which has a completely different semantic
2264 # ./install, which can be erroneously created by make from ./install.sh.
2265 # Reject install programs that cannot install multiple files.
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2267 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2268 if test -z "$INSTALL"; then
2269 if test "${ac_cv_path_install+set}" = set; then :
2270 $as_echo_n "(cached) " >&6
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 # Account for people who put trailing slashes in PATH elements.
2278 case $as_dir/ in #((
2279 ./ | .// | /[cC]/* | \
2280 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2281 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2284 # OSF1 and SCO ODT 3.0 have their own names for install.
2285 # Don't use installbsd from OSF since it installs stuff as root
2287 for ac_prog in ginstall scoinst install; do
2288 for ac_exec_ext in '' $ac_executable_extensions; do
2289 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2290 if test $ac_prog = install &&
2291 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2292 # AIX install. It has an incompatible calling convention.
2294 elif test $ac_prog = install &&
2295 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2296 # program-specific install script used by HP pwplus--don't use.
2299 rm -rf conftest.one conftest.two conftest.dir
2300 echo one > conftest.one
2301 echo two > conftest.two
2303 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2304 test -s conftest.one && test -s conftest.two &&
2305 test -s conftest.dir/conftest.one &&
2306 test -s conftest.dir/conftest.two
2308 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2321 rm -rf conftest.one conftest.two conftest.dir
2324 if test "${ac_cv_path_install+set}" = set; then
2325 INSTALL=$ac_cv_path_install
2327 # As a last resort, use the slow shell script. Don't cache a
2328 # value for INSTALL within a source directory, because that will
2329 # break other packages using the cache if that directory is
2330 # removed, or if the value is a relative name.
2331 INSTALL=$ac_install_sh
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2335 $as_echo "$INSTALL" >&6; }
2337 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2338 # It thinks the first close brace ends the variable substitution.
2339 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2341 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2343 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2346 $as_echo_n "checking whether build environment is sane... " >&6; }
2349 echo timestamp > conftest.file
2350 # Reject unsafe characters in $srcdir or the absolute working directory
2351 # name. Accept space and tab only in the latter.
2355 *[\\\"\#\$\&\'\`$am_lf]*)
2356 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2359 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2360 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2363 # Do `set' in a subshell so we don't clobber the current shell's
2364 # arguments. Must try -L first in case configure is actually a
2365 # symlink; some systems play weird games with the mod time of symlinks
2366 # (eg FreeBSD returns the mod time of the symlink's containing
2369 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2370 if test "$*" = "X"; then
2372 set X `ls -t "$srcdir/configure" conftest.file`
2375 if test "$*" != "X $srcdir/configure conftest.file" \
2376 && test "$*" != "X conftest.file $srcdir/configure"; then
2378 # If neither matched, then we have a broken ls. This can happen
2379 # if, for instance, CONFIG_SHELL is bash and it inherits a
2380 # broken ls alias from the environment. This has actually
2381 # happened. Such a system could not be considered "sane".
2382 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2383 alias in your environment" "$LINENO" 5
2386 test "$2" = conftest.file
2392 as_fn_error $? "newly created file is older than distributed files!
2393 Check your system clock" "$LINENO" 5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2396 $as_echo "yes" >&6; }
2397 test "$program_prefix" != NONE &&
2398 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2399 # Use a double $ so make ignores it.
2400 test "$program_suffix" != NONE &&
2401 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2402 # Double any \ or $.
2403 # By default was `s,x,x', remove it if useless.
2404 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2405 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2407 # expand $ac_aux_dir to an absolute path
2408 am_aux_dir=`cd $ac_aux_dir && pwd`
2410 if test x"${MISSING+set}" != xset; then
2413 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2415 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2418 # Use eval to expand $SHELL
2419 if eval "$MISSING --run true"; then
2420 am_missing_run="$MISSING --run "
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2424 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2427 if test x"${install_sh}" != xset; then
2430 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2432 install_sh="\${SHELL} $am_aux_dir/install-sh"
2436 # Installed binaries are usually stripped using `strip' when the user
2437 # run `make install-strip'. However `strip' might not be the right
2438 # tool to use in cross-compilation environments, therefore Automake
2439 # will honor the `STRIP' environment variable to overrule this program.
2440 if test "$cross_compiling" != no; then
2441 if test -n "$ac_tool_prefix"; then
2442 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2443 set dummy ${ac_tool_prefix}strip; ac_word=$2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445 $as_echo_n "checking for $ac_word... " >&6; }
2446 if test "${ac_cv_prog_STRIP+set}" = set; then :
2447 $as_echo_n "(cached) " >&6
2449 if test -n "$STRIP"; then
2450 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 STRIP=$ac_cv_prog_STRIP
2470 if test -n "$STRIP"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2472 $as_echo "$STRIP" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2480 if test -z "$ac_cv_prog_STRIP"; then
2482 # Extract the first word of "strip", so it can be a program name with args.
2483 set dummy strip; ac_word=$2
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2487 $as_echo_n "(cached) " >&6
2489 if test -n "$ac_ct_STRIP"; then
2490 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_ac_ct_STRIP="strip"
2500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2510 if test -n "$ac_ct_STRIP"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2512 $as_echo "$ac_ct_STRIP" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2518 if test "x$ac_ct_STRIP" = x; then
2521 case $cross_compiling:$ac_tool_warned in
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2525 ac_tool_warned=yes ;;
2530 STRIP="$ac_cv_prog_STRIP"
2534 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2537 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2538 if test -z "$MKDIR_P"; then
2539 if test "${ac_cv_path_mkdir+set}" = set; then :
2540 $as_echo_n "(cached) " >&6
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2546 test -z "$as_dir" && as_dir=.
2547 for ac_prog in mkdir gmkdir; do
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2550 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2551 'mkdir (GNU coreutils) '* | \
2552 'mkdir (coreutils) '* | \
2553 'mkdir (fileutils) '4.1*)
2554 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2564 test -d ./--version && rmdir ./--version
2565 if test "${ac_cv_path_mkdir+set}" = set; then
2566 MKDIR_P="$ac_cv_path_mkdir -p"
2568 # As a last resort, use the slow shell script. Don't cache a
2569 # value for MKDIR_P within a source directory, because that will
2570 # break other packages using the cache if that directory is
2571 # removed, or if the value is a relative name.
2572 MKDIR_P="$ac_install_sh -d"
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2576 $as_echo "$MKDIR_P" >&6; }
2580 [\\/$]* | ?:[\\/]*) ;;
2581 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2584 for ac_prog in gawk mawk nawk awk
2586 # Extract the first word of "$ac_prog", so it can be a program name with args.
2587 set dummy $ac_prog; ac_word=$2
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if test "${ac_cv_prog_AWK+set}" = set; then :
2591 $as_echo_n "(cached) " >&6
2593 if test -n "$AWK"; then
2594 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir=.
2601 for ac_exec_ext in '' $ac_executable_extensions; do
2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2603 ac_cv_prog_AWK="$ac_prog"
2604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 if test -n "$AWK"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2616 $as_echo "$AWK" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619 $as_echo "no" >&6; }
2623 test -n "$AWK" && break
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2627 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2629 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2630 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2631 $as_echo_n "(cached) " >&6
2633 cat >conftest.make <<\_ACEOF
2636 @echo '@@@%%%=$(MAKE)=@@@%%%'
2638 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2639 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2641 eval ac_cv_prog_make_${ac_make}_set=yes;;
2643 eval ac_cv_prog_make_${ac_make}_set=no;;
2647 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2649 $as_echo "yes" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2654 SET_MAKE="MAKE=${MAKE-make}"
2657 rm -rf .tst 2>/dev/null
2658 mkdir .tst 2>/dev/null
2659 if test -d .tst; then
2664 rmdir .tst 2>/dev/null
2666 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2667 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2668 # is not polluted with repeated "-I."
2669 am__isrc=' -I$(srcdir)'
2670 # test to see if srcdir already configured
2671 if test -f $srcdir/config.status; then
2672 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2676 # test whether we have cygpath
2677 if test -z "$CYGPATH_W"; then
2678 if (cygpath --version) >/dev/null 2>/dev/null; then
2679 CYGPATH_W='cygpath -w'
2686 # Define the identity of the package.
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE "$PACKAGE"
2696 cat >>confdefs.h <<_ACEOF
2697 #define VERSION "$VERSION"
2700 # Some tools Automake needs.
2702 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2705 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2708 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2711 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2714 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2716 # We need awk for the "check" target. The system "awk" is bad on
2718 # Always define AMTAR for backward compatibility.
2720 AMTAR=${AMTAR-"${am_missing_run}tar"}
2722 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2730 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2731 # Check whether --enable-maintainer-mode was given.
2732 if test "${enable_maintainer_mode+set}" = set; then :
2733 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2735 USE_MAINTAINER_MODE=no
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2739 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2740 if test $USE_MAINTAINER_MODE = yes; then
2741 MAINTAINER_MODE_TRUE=
2742 MAINTAINER_MODE_FALSE='#'
2744 MAINTAINER_MODE_TRUE='#'
2745 MAINTAINER_MODE_FALSE=
2748 MAINT=$MAINTAINER_MODE_TRUE
2755 # Initialize libtool
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2759 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2764 macro_version='2.2.6b'
2765 macro_revision='1.3017'
2779 ltmain="$ac_aux_dir/ltmain.sh"
2781 # Make sure we can run config.sub.
2782 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2783 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2786 $as_echo_n "checking build system type... " >&6; }
2787 if test "${ac_cv_build+set}" = set; then :
2788 $as_echo_n "(cached) " >&6
2790 ac_build_alias=$build_alias
2791 test "x$ac_build_alias" = x &&
2792 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2793 test "x$ac_build_alias" = x &&
2794 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2795 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2796 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2800 $as_echo "$ac_cv_build" >&6; }
2801 case $ac_cv_build in
2803 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2806 ac_save_IFS=$IFS; IFS='-'
2812 # Remember, the first character of IFS is used to create $*,
2813 # except with old shells:
2816 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2820 $as_echo_n "checking host system type... " >&6; }
2821 if test "${ac_cv_host+set}" = set; then :
2822 $as_echo_n "(cached) " >&6
2824 if test "x$host_alias" = x; then
2825 ac_cv_host=$ac_cv_build
2827 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2828 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2833 $as_echo "$ac_cv_host" >&6; }
2836 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2839 ac_save_IFS=$IFS; IFS='-'
2845 # Remember, the first character of IFS is used to create $*,
2846 # except with old shells:
2849 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2852 DEPDIR="${am__leading_dot}deps"
2854 ac_config_commands="$ac_config_commands depfiles"
2857 am_make=${MAKE-make}
2858 cat > confinc << 'END'
2860 @echo this is the am__doit target
2863 # If we don't find an include directive, just comment out the code.
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2865 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2869 # First try GNU make style include.
2870 echo "include confinc" > confmf
2871 # Ignore all kinds of additional output from `make'.
2872 case `$am_make -s -f confmf 2> /dev/null` in #(
2873 *the\ am__doit\ target*)
2879 # Now try BSD make style include.
2880 if test "$am__include" = "#"; then
2881 echo '.include "confinc"' > confmf
2882 case `$am_make -s -f confmf 2> /dev/null` in #(
2883 *the\ am__doit\ target*)
2884 am__include=.include
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2893 $as_echo "$_am_result" >&6; }
2894 rm -f confinc confmf
2896 # Check whether --enable-dependency-tracking was given.
2897 if test "${enable_dependency_tracking+set}" = set; then :
2898 enableval=$enable_dependency_tracking;
2901 if test "x$enable_dependency_tracking" != xno; then
2902 am_depcomp="$ac_aux_dir/depcomp"
2905 if test "x$enable_dependency_tracking" != xno; then
2915 ac_cpp='$CPP $CPPFLAGS'
2916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2919 if test -n "$ac_tool_prefix"; then
2920 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2921 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_CC+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC="$CC" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CC"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2958 if test -z "$ac_cv_prog_CC"; then
2960 # Extract the first word of "gcc", so it can be a program name with args.
2961 set dummy gcc; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$ac_ct_CC"; then
2968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_ac_ct_CC="gcc"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2988 if test -n "$ac_ct_CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2990 $as_echo "$ac_ct_CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2996 if test "x$ac_ct_CC" = x; then
2999 case $cross_compiling:$ac_tool_warned in
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3003 ac_tool_warned=yes ;;
3011 if test -z "$CC"; then
3012 if test -n "$ac_tool_prefix"; then
3013 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3014 set dummy ${ac_tool_prefix}cc; ac_word=$2
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016 $as_echo_n "checking for $ac_word... " >&6; }
3017 if test "${ac_cv_prog_CC+set}" = set; then :
3018 $as_echo_n "(cached) " >&6
3020 if test -n "$CC"; then
3021 ac_cv_prog_CC="$CC" # Let the user override the test.
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_CC="${ac_tool_prefix}cc"
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 if test -n "$CC"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3043 $as_echo "$CC" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3052 if test -z "$CC"; then
3053 # Extract the first word of "cc", so it can be a program name with args.
3054 set dummy cc; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if test "${ac_cv_prog_CC+set}" = set; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC="$CC" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3072 ac_prog_rejected=yes
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test $ac_prog_rejected = yes; then
3084 # We found a bogon in the path, so make sure we never use it.
3085 set dummy $ac_cv_prog_CC
3087 if test $# != 0; then
3088 # We chose a different compiler from the bogus one.
3089 # However, it has the same basename, so the bogon will be chosen
3090 # first if we set CC to just the basename; use the full file name.
3092 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3098 if test -n "$CC"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3100 $as_echo "$CC" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3108 if test -z "$CC"; then
3109 if test -n "$ac_tool_prefix"; then
3110 for ac_prog in cl.exe
3112 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3113 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if test "${ac_cv_prog_CC+set}" = set; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$CC"; then
3120 ac_cv_prog_CC="$CC" # Let the user override the test.
3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir=.
3127 for ac_exec_ext in '' $ac_executable_extensions; do
3128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3149 test -n "$CC" && break
3152 if test -z "$CC"; then
3154 for ac_prog in cl.exe
3156 # Extract the first word of "$ac_prog", so it can be a program name with args.
3157 set dummy $ac_prog; ac_word=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$ac_ct_CC"; then
3164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_ac_ct_CC="$ac_prog"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3184 if test -n "$ac_ct_CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3186 $as_echo "$ac_ct_CC" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3193 test -n "$ac_ct_CC" && break
3196 if test "x$ac_ct_CC" = x; then
3199 case $cross_compiling:$ac_tool_warned in
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3203 ac_tool_warned=yes ;;
3212 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error $? "no acceptable C compiler found in \$PATH
3215 See \`config.log' for more details" "$LINENO" 5 ; }
3217 # Provide some information about the compiler.
3218 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3221 for ac_option in --version -v -V -qversion; do
3222 { { ac_try="$ac_compiler $ac_option >&5"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228 $as_echo "$ac_try_echo"; } >&5
3229 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3231 if test -s conftest.err; then
3233 ... rest of stderr output deleted ...
3234 10q' conftest.err >conftest.er1
3235 cat conftest.er1 >&5
3237 rm -f conftest.er1 conftest.err
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3253 ac_clean_files_save=$ac_clean_files
3254 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3255 # Try to create an executable without -o first, disregard a.out.
3256 # It will help us diagnose broken compilers, and finding out an intuition
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3259 $as_echo_n "checking whether the C compiler works... " >&6; }
3260 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3262 # The possible output files:
3263 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3266 for ac_file in $ac_files
3269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3270 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3275 if { { ac_try="$ac_link_default"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_link_default") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; then :
3286 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3288 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3289 # so that the user can short-circuit this test for compilers unknown to
3291 for ac_file in $ac_files ''
3293 test -f "$ac_file" || continue
3295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3298 # We found the default executable, but exeext='' is most
3302 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3306 # We set ac_cv_exeext here because the later test for it is not
3307 # safe: cross compilers may not add the suffix if given an `-o'
3308 # argument, so we may need to know it at that point already.
3309 # Even if this section looks crufty: it has the advantage of
3316 test "$ac_cv_exeext" = no && ac_cv_exeext=
3321 if test -z "$ac_file"; then :
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3324 $as_echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.$ac_ext >&5
3327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329 as_fn_error 77 "C compiler cannot create executables
3330 See \`config.log' for more details" "$LINENO" 5 ; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3333 $as_echo "yes" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3336 $as_echo_n "checking for C compiler default output file name... " >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3338 $as_echo "$ac_file" >&6; }
3339 ac_exeext=$ac_cv_exeext
3341 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3342 ac_clean_files=$ac_clean_files_save
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3344 $as_echo_n "checking for suffix of executables... " >&6; }
3345 if { { ac_try="$ac_link"
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3352 (eval "$ac_link") 2>&5
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; }; then :
3356 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3357 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3358 # work properly (i.e., refer to `conftest.exe'), while it won't with
3360 for ac_file in conftest.exe conftest conftest.*; do
3361 test -f "$ac_file" || continue
3363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3364 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3373 See \`config.log' for more details" "$LINENO" 5 ; }
3375 rm -f conftest conftest$ac_cv_exeext
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3377 $as_echo "$ac_cv_exeext" >&6; }
3379 rm -f conftest.$ac_ext
3380 EXEEXT=$ac_cv_exeext
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3388 FILE *f = fopen ("conftest.out", "w");
3389 return ferror (f) || fclose (f) != 0;
3395 ac_clean_files="$ac_clean_files conftest.out"
3396 # Check that the compiler produces executables we can run. If not, either
3397 # the compiler is broken, or we cross compile.
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3399 $as_echo_n "checking whether we are cross compiling... " >&6; }
3400 if test "$cross_compiling" != yes; then
3401 { { ac_try="$ac_link"
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3407 $as_echo "$ac_try_echo"; } >&5
3408 (eval "$ac_link") 2>&5
3410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3411 test $ac_status = 0; }
3412 if { ac_try='./conftest$ac_cv_exeext'
3413 { { case "(($ac_try" in
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_try") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }; }; then
3425 if test "$cross_compiling" = maybe; then
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot run C compiled programs.
3431 If you meant to cross compile, use \`--host'.
3432 See \`config.log' for more details" "$LINENO" 5 ; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3437 $as_echo "$cross_compiling" >&6; }
3439 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3440 ac_clean_files=$ac_clean_files_save
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3442 $as_echo_n "checking for suffix of object files... " >&6; }
3443 if test "${ac_cv_objext+set}" = set; then :
3444 $as_echo_n "(cached) " >&6
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3457 rm -f conftest.o conftest.obj
3458 if { { ac_try="$ac_compile"
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
3465 (eval "$ac_compile") 2>&5
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }; then :
3469 for ac_file in conftest.o conftest.obj conftest.*; do
3470 test -f "$ac_file" || continue;
3472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3473 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3478 $as_echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error $? "cannot compute suffix of object files: cannot compile
3484 See \`config.log' for more details" "$LINENO" 5 ; }
3486 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3489 $as_echo "$ac_cv_objext" >&6; }
3490 OBJEXT=$ac_cv_objext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3493 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3494 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3495 $as_echo_n "(cached) " >&6
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3511 if ac_fn_c_try_compile "$LINENO"; then :
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3521 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3522 if test $ac_compiler_gnu = yes; then
3527 ac_test_CFLAGS=${CFLAGS+set}
3528 ac_save_CFLAGS=$CFLAGS
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3531 if test "${ac_cv_prog_cc_g+set}" = set; then :
3532 $as_echo_n "(cached) " >&6
3534 ac_save_c_werror_flag=$ac_c_werror_flag
3535 ac_c_werror_flag=yes
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3549 if ac_fn_c_try_compile "$LINENO"; then :
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 if ac_fn_c_try_compile "$LINENO"; then :
3567 ac_c_werror_flag=$ac_save_c_werror_flag
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 ac_c_werror_flag=$ac_save_c_werror_flag
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3591 $as_echo "$ac_cv_prog_cc_g" >&6; }
3592 if test "$ac_test_CFLAGS" = set; then
3593 CFLAGS=$ac_save_CFLAGS
3594 elif test $ac_cv_prog_cc_g = yes; then
3595 if test "$GCC" = yes; then
3601 if test "$GCC" = yes; then
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3608 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3609 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3612 ac_cv_prog_cc_c89=no
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3618 #include <sys/types.h>
3619 #include <sys/stat.h>
3620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3621 struct buf { int x; };
3622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3623 static char *e (p, i)
3629 static char *f (char * (*g) (char **, int), char **p, ...)
3634 s = g (p, va_arg (v,int));
3639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3640 function prototypes and stuff, but not '\xHH' hex character constants.
3641 These don't provoke an error unfortunately, instead are silently treated
3642 as 'x'. The following induces an error, until -std is added to get
3643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3644 array size at least. It's necessary to write '\x00'==0 to get something
3645 that's true only with -std. */
3646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3648 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3649 inside strings and character constants. */
3651 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3653 int test (int i, double x);
3654 struct s1 {int (*f) (int a);};
3655 struct s2 {int (*f) (double a);};
3656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3667 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3668 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3670 CC="$ac_save_CC $ac_arg"
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672 ac_cv_prog_cc_c89=$ac_arg
3674 rm -f core conftest.err conftest.$ac_objext
3675 test "x$ac_cv_prog_cc_c89" != "xno" && break
3677 rm -f conftest.$ac_ext
3682 case "x$ac_cv_prog_cc_c89" in
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3685 $as_echo "none needed" >&6; } ;;
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3688 $as_echo "unsupported" >&6; } ;;
3690 CC="$CC $ac_cv_prog_cc_c89"
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3692 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3694 if test "x$ac_cv_prog_cc_c89" != xno; then :
3699 ac_cpp='$CPP $CPPFLAGS'
3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3704 depcc="$CC" am_compiler_list=
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3707 $as_echo_n "checking dependency style of $depcc... " >&6; }
3708 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3709 $as_echo_n "(cached) " >&6
3711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3712 # We make a subdir and do the tests there. Otherwise we can end up
3713 # making bogus files that we don't know about and never remove. For
3714 # instance it was reported that on HP-UX the gcc test will end up
3715 # making a dummy file named `D' -- because `-MD' means `put the output
3718 # Copy depcomp to subdir because otherwise we won't find it if we're
3719 # using a relative directory.
3720 cp "$am_depcomp" conftest.dir
3722 # We will build objects and dependencies in a subdirectory because
3723 # it helps to detect inapplicable dependency modes. For instance
3724 # both Tru64's cc and ICC support -MD to output dependencies as a
3725 # side effect of compilation, but ICC will put the dependencies in
3726 # the current directory while Tru64 will put them in the object
3730 am_cv_CC_dependencies_compiler_type=none
3731 if test "$am_compiler_list" = ""; then
3732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3735 case " $depcc " in #(
3736 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3739 for depmode in $am_compiler_list; do
3740 # Setup a source with many dependencies, because some compilers
3741 # like to wrap large dependency lists on column 80 (with \), and
3742 # we should not choose a depcomp mode which is confused by this.
3744 # We need to recreate these files for each test, as the compiler may
3745 # overwrite some of them when testing with obscure command lines.
3746 # This happens at least with the AIX C compiler.
3748 for i in 1 2 3 4 5 6; do
3749 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3750 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3751 # Solaris 8's {/usr,}/bin/sh.
3752 touch sub/conftst$i.h
3754 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3756 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3757 # mode. It turns out that the SunPro C++ compiler does not properly
3758 # handle `-M -o', and we need to detect this. Also, some Intel
3759 # versions had trouble with output in subdirs
3760 am__obj=sub/conftest.${OBJEXT-o}
3761 am__minus_obj="-o $am__obj"
3764 # This depmode causes a compiler race in universal mode.
3765 test "$am__universal" = false || continue
3768 # after this tag, mechanisms are not by side-effect, so they'll
3769 # only be used when explicitly requested
3770 if test "x$enable_dependency_tracking" = xyes; then
3776 msvisualcpp | msvcmsys)
3777 # This compiler won't grok `-c -o', but also, the minuso test has
3778 # not run yet. These depmodes are late enough in the game, and
3779 # so weak that their functioning should not be impacted.
3780 am__obj=conftest.${OBJEXT-o}
3785 if depmode=$depmode \
3786 source=sub/conftest.c object=$am__obj \
3787 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3788 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3789 >/dev/null 2>conftest.err &&
3790 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3791 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3792 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3793 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3794 # icc doesn't choke on unknown options, it will just issue warnings
3795 # or remarks (even with -Werror). So we grep stderr for any message
3796 # that says an option was ignored or not supported.
3797 # When given -MP, icc 7.0 and 7.1 complain thusly:
3798 # icc: Command line warning: ignoring option '-M'; no argument required
3799 # The diagnosis changed in icc 8.0:
3800 # icc: Command line remark: option '-MP' not supported
3801 if (grep 'ignoring option' conftest.err ||
3802 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3803 am_cv_CC_dependencies_compiler_type=$depmode
3812 am_cv_CC_dependencies_compiler_type=none
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3817 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3818 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3821 test "x$enable_dependency_tracking" != xno \
3822 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3824 am__fastdepCC_FALSE='#'
3826 am__fastdepCC_TRUE='#'
3827 am__fastdepCC_FALSE=
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3832 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3833 if test "${ac_cv_path_SED+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3837 for ac_i in 1 2 3 4 5 6 7; do
3838 ac_script="$ac_script$as_nl$ac_script"
3840 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3841 { ac_script=; unset ac_script;}
3842 if test -z "$SED"; then
3843 ac_path_SED_found=false
3844 # Loop through the user's path and test for each of PROGNAME-LIST
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir=.
3850 for ac_prog in sed gsed; do
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3853 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3854 # Check for GNU ac_path_SED and select it if it is found.
3855 # Check for GNU $ac_path_SED
3856 case `"$ac_path_SED" --version 2>&1` in
3858 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3861 $as_echo_n 0123456789 >"conftest.in"
3864 cat "conftest.in" "conftest.in" >"conftest.tmp"
3865 mv "conftest.tmp" "conftest.in"
3866 cp "conftest.in" "conftest.nl"
3867 $as_echo '' >> "conftest.nl"
3868 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3869 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3870 as_fn_arith $ac_count + 1 && ac_count=$as_val
3871 if test $ac_count -gt ${ac_path_SED_max-0}; then
3872 # Best one so far, save it but keep looking for a better one
3873 ac_cv_path_SED="$ac_path_SED"
3874 ac_path_SED_max=$ac_count
3876 # 10*(2^10) chars as input seems more than enough
3877 test $ac_count -gt 10 && break
3879 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3882 $ac_path_SED_found && break 3
3887 if test -z "$ac_cv_path_SED"; then
3888 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3896 $as_echo "$ac_cv_path_SED" >&6; }
3897 SED="$ac_cv_path_SED"
3900 test -z "$SED" && SED=sed
3901 Xsed="$SED -e 1s/^X//"
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3914 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3915 if test "${ac_cv_path_GREP+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 if test -z "$GREP"; then
3919 ac_path_GREP_found=false
3920 # Loop through the user's path and test for each of PROGNAME-LIST
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3925 test -z "$as_dir" && as_dir=.
3926 for ac_prog in grep ggrep; do
3927 for ac_exec_ext in '' $ac_executable_extensions; do
3928 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3929 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3930 # Check for GNU ac_path_GREP and select it if it is found.
3931 # Check for GNU $ac_path_GREP
3932 case `"$ac_path_GREP" --version 2>&1` in
3934 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3937 $as_echo_n 0123456789 >"conftest.in"
3940 cat "conftest.in" "conftest.in" >"conftest.tmp"
3941 mv "conftest.tmp" "conftest.in"
3942 cp "conftest.in" "conftest.nl"
3943 $as_echo 'GREP' >> "conftest.nl"
3944 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3945 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3946 as_fn_arith $ac_count + 1 && ac_count=$as_val
3947 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3948 # Best one so far, save it but keep looking for a better one
3949 ac_cv_path_GREP="$ac_path_GREP"
3950 ac_path_GREP_max=$ac_count
3952 # 10*(2^10) chars as input seems more than enough
3953 test $ac_count -gt 10 && break
3955 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3958 $ac_path_GREP_found && break 3
3963 if test -z "$ac_cv_path_GREP"; then
3964 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3967 ac_cv_path_GREP=$GREP
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3972 $as_echo "$ac_cv_path_GREP" >&6; }
3973 GREP="$ac_cv_path_GREP"
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3977 $as_echo_n "checking for egrep... " >&6; }
3978 if test "${ac_cv_path_EGREP+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3982 then ac_cv_path_EGREP="$GREP -E"
3984 if test -z "$EGREP"; then
3985 ac_path_EGREP_found=false
3986 # Loop through the user's path and test for each of PROGNAME-LIST
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3991 test -z "$as_dir" && as_dir=.
3992 for ac_prog in egrep; do
3993 for ac_exec_ext in '' $ac_executable_extensions; do
3994 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3995 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3996 # Check for GNU ac_path_EGREP and select it if it is found.
3997 # Check for GNU $ac_path_EGREP
3998 case `"$ac_path_EGREP" --version 2>&1` in
4000 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4003 $as_echo_n 0123456789 >"conftest.in"
4006 cat "conftest.in" "conftest.in" >"conftest.tmp"
4007 mv "conftest.tmp" "conftest.in"
4008 cp "conftest.in" "conftest.nl"
4009 $as_echo 'EGREP' >> "conftest.nl"
4010 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4011 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4012 as_fn_arith $ac_count + 1 && ac_count=$as_val
4013 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4014 # Best one so far, save it but keep looking for a better one
4015 ac_cv_path_EGREP="$ac_path_EGREP"
4016 ac_path_EGREP_max=$ac_count
4018 # 10*(2^10) chars as input seems more than enough
4019 test $ac_count -gt 10 && break
4021 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4024 $ac_path_EGREP_found && break 3
4029 if test -z "$ac_cv_path_EGREP"; then
4030 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4033 ac_cv_path_EGREP=$EGREP
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4039 $as_echo "$ac_cv_path_EGREP" >&6; }
4040 EGREP="$ac_cv_path_EGREP"
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4044 $as_echo_n "checking for fgrep... " >&6; }
4045 if test "${ac_cv_path_FGREP+set}" = set; then :
4046 $as_echo_n "(cached) " >&6
4048 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4049 then ac_cv_path_FGREP="$GREP -F"
4051 if test -z "$FGREP"; then
4052 ac_path_FGREP_found=false
4053 # Loop through the user's path and test for each of PROGNAME-LIST
4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4058 test -z "$as_dir" && as_dir=.
4059 for ac_prog in fgrep; do
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4062 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4063 # Check for GNU ac_path_FGREP and select it if it is found.
4064 # Check for GNU $ac_path_FGREP
4065 case `"$ac_path_FGREP" --version 2>&1` in
4067 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4070 $as_echo_n 0123456789 >"conftest.in"
4073 cat "conftest.in" "conftest.in" >"conftest.tmp"
4074 mv "conftest.tmp" "conftest.in"
4075 cp "conftest.in" "conftest.nl"
4076 $as_echo 'FGREP' >> "conftest.nl"
4077 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4078 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4079 as_fn_arith $ac_count + 1 && ac_count=$as_val
4080 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4081 # Best one so far, save it but keep looking for a better one
4082 ac_cv_path_FGREP="$ac_path_FGREP"
4083 ac_path_FGREP_max=$ac_count
4085 # 10*(2^10) chars as input seems more than enough
4086 test $ac_count -gt 10 && break
4088 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4091 $ac_path_FGREP_found && break 3
4096 if test -z "$ac_cv_path_FGREP"; then
4097 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4100 ac_cv_path_FGREP=$FGREP
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4106 $as_echo "$ac_cv_path_FGREP" >&6; }
4107 FGREP="$ac_cv_path_FGREP"
4110 test -z "$GREP" && GREP=grep
4130 # Check whether --with-gnu-ld was given.
4131 if test "${with_gnu_ld+set}" = set; then :
4132 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4138 if test "$GCC" = yes; then
4139 # Check if gcc -print-prog-name=ld gives a path.
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4141 $as_echo_n "checking for ld used by $CC... " >&6; }
4144 # gcc leaves a trailing carriage return which upsets mingw
4145 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4147 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4150 # Accept absolute paths.
4152 re_direlt='/[^/][^/]*/\.\./'
4153 # Canonicalize the pathname of ld
4154 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4155 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4156 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4158 test -z "$LD" && LD="$ac_prog"
4161 # If it fails, then pretend we aren't using GCC.
4165 # If it is relative, then search for the first ld in PATH.
4169 elif test "$with_gnu_ld" = yes; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4171 $as_echo_n "checking for GNU ld... " >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4174 $as_echo_n "checking for non-GNU ld... " >&6; }
4176 if test "${lt_cv_path_LD+set}" = set; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -z "$LD"; then
4180 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4181 for ac_dir in $PATH; do
4183 test -z "$ac_dir" && ac_dir=.
4184 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4185 lt_cv_path_LD="$ac_dir/$ac_prog"
4186 # Check to see if the program is GNU ld. I'd rather use --version,
4187 # but apparently some variants of GNU ld only accept -v.
4188 # Break only if it was the GNU/non-GNU ld that we prefer.
4189 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4190 *GNU* | *'with BFD'*)
4191 test "$with_gnu_ld" != no && break
4194 test "$with_gnu_ld" != yes && break
4201 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4206 if test -n "$LD"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4208 $as_echo "$LD" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4213 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4215 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4216 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4217 $as_echo_n "(cached) " >&6
4219 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4220 case `$LD -v 2>&1 </dev/null` in
4221 *GNU* | *'with BFD'*)
4222 lt_cv_prog_gnu_ld=yes
4225 lt_cv_prog_gnu_ld=no
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4230 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4231 with_gnu_ld=$lt_cv_prog_gnu_ld
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4242 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4243 if test "${lt_cv_path_NM+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4246 if test -n "$NM"; then
4247 # Let the user override the test.
4250 lt_nm_to_check="${ac_tool_prefix}nm"
4251 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4252 lt_nm_to_check="$lt_nm_to_check nm"
4254 for lt_tmp_nm in $lt_nm_to_check; do
4255 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4256 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4258 test -z "$ac_dir" && ac_dir=.
4259 tmp_nm="$ac_dir/$lt_tmp_nm"
4260 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4261 # Check to see if the nm accepts a BSD-compat flag.
4262 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4263 # nm: unknown option "B" ignored
4264 # Tru64's nm complains that /dev/null is an invalid object file
4265 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4266 */dev/null* | *'Invalid file or object type'*)
4267 lt_cv_path_NM="$tmp_nm -B"
4271 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4273 lt_cv_path_NM="$tmp_nm -p"
4277 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4278 continue # so that we can try to find one that supports BSD flags
4287 : ${lt_cv_path_NM=no}
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4291 $as_echo "$lt_cv_path_NM" >&6; }
4292 if test "$lt_cv_path_NM" != "no"; then
4295 # Didn't find any BSD compatible name lister, look for dumpbin.
4296 if test -n "$ac_tool_prefix"; then
4297 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$DUMPBIN"; then
4307 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4316 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 DUMPBIN=$ac_cv_prog_DUMPBIN
4327 if test -n "$DUMPBIN"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4329 $as_echo "$DUMPBIN" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 test -n "$DUMPBIN" && break
4339 if test -z "$DUMPBIN"; then
4340 ac_ct_DUMPBIN=$DUMPBIN
4341 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4343 # Extract the first word of "$ac_prog", so it can be a program name with args.
4344 set dummy $ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$ac_ct_DUMPBIN"; then
4351 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4371 if test -n "$ac_ct_DUMPBIN"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4373 $as_echo "$ac_ct_DUMPBIN" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$ac_ct_DUMPBIN" && break
4383 if test "x$ac_ct_DUMPBIN" = x; then
4386 case $cross_compiling:$ac_tool_warned in
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4390 ac_tool_warned=yes ;;
4392 DUMPBIN=$ac_ct_DUMPBIN
4397 if test "$DUMPBIN" != ":"; then
4401 test -z "$NM" && NM=nm
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4409 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4410 if test "${lt_cv_nm_interface+set}" = set; then :
4411 $as_echo_n "(cached) " >&6
4413 lt_cv_nm_interface="BSD nm"
4414 echo "int some_variable = 0;" > conftest.$ac_ext
4415 (eval echo "\"\$as_me:4415: $ac_compile\"" >&5)
4416 (eval "$ac_compile" 2>conftest.err)
4417 cat conftest.err >&5
4418 (eval echo "\"\$as_me:4418: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4419 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4420 cat conftest.err >&5
4421 (eval echo "\"\$as_me:4421: output\"" >&5)
4422 cat conftest.out >&5
4423 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4424 lt_cv_nm_interface="MS dumpbin"
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4429 $as_echo "$lt_cv_nm_interface" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4432 $as_echo_n "checking whether ln -s works... " >&6; }
4434 if test "$LN_S" = "ln -s"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4436 $as_echo "yes" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4439 $as_echo "no, using $LN_S" >&6; }
4442 # find the maximum length of command line arguments
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4444 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4445 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4446 $as_echo_n "(cached) " >&6
4453 # On DJGPP, this test can blow up pretty badly due to problems in libc
4454 # (any single argument exceeding 2000 bytes causes a buffer overrun
4455 # during glob expansion). Even if it were fixed, the result of this
4456 # check would be larger than it should be.
4457 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4461 # Under GNU Hurd, this test is not required because there is
4462 # no limit to the length of command line arguments.
4463 # Libtool will interpret -1 as no limit whatsoever
4464 lt_cv_sys_max_cmd_len=-1;
4467 cygwin* | mingw* | cegcc*)
4468 # On Win9x/ME, this test blows up -- it succeeds, but takes
4469 # about 5 minutes as the teststring grows exponentially.
4470 # Worse, since 9x/ME are not pre-emptively multitasking,
4471 # you end up with a "frozen" computer, even though with patience
4472 # the test eventually succeeds (with a max line length of 256k).
4473 # Instead, let's just punt: use the minimum linelength reported by
4474 # all of the supported platforms: 8192 (on NT/2K/XP).
4475 lt_cv_sys_max_cmd_len=8192;
4479 # On AmigaOS with pdksh, this test takes hours, literally.
4480 # So we just punt and use a minimum line length of 8192.
4481 lt_cv_sys_max_cmd_len=8192;
4484 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4485 # This has been around since 386BSD, at least. Likely further.
4486 if test -x /sbin/sysctl; then
4487 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4488 elif test -x /usr/sbin/sysctl; then
4489 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4491 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4493 # And add a safety zone
4494 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4495 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4499 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4500 lt_cv_sys_max_cmd_len=196608
4504 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4505 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4506 # nice to cause kernel panics so lets avoid the loop below.
4507 # First set a reasonable default.
4508 lt_cv_sys_max_cmd_len=16384
4510 if test -x /sbin/sysconfig; then
4511 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4512 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4517 lt_cv_sys_max_cmd_len=102400
4519 sysv5* | sco5v6* | sysv4.2uw2*)
4520 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4521 if test -n "$kargmax"; then
4522 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4524 lt_cv_sys_max_cmd_len=32768
4528 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4529 if test -n "$lt_cv_sys_max_cmd_len"; then
4530 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4531 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4533 # Make teststring a little bigger before we do anything with it.
4534 # a 1K string should be a reasonable start.
4535 for i in 1 2 3 4 5 6 7 8 ; do
4536 teststring=$teststring$teststring
4538 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4539 # If test is not a shell built-in, we'll probably end up computing a
4540 # maximum length that is only half of the actual maximum length, but
4542 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4543 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4544 test $i != 17 # 1/2 MB should be enough
4547 teststring=$teststring$teststring
4549 # Only check the string length outside the loop.
4550 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4552 # Add a significant safety factor because C++ compilers can tack on
4553 # massive amounts of additional arguments before passing them to the
4554 # linker. It appears as though 1/2 is a usable value.
4555 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4562 if test -n $lt_cv_sys_max_cmd_len ; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4564 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4567 $as_echo "none" >&6; }
4569 max_cmd_len=$lt_cv_sys_max_cmd_len
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4581 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4582 # Try some XSI features
4585 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4587 && eval 'test $(( 1 + 1 )) -eq 2 \
4588 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4591 $as_echo "$xsi_shell" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4595 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4597 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4599 && lt_shell_append=yes
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4601 $as_echo "$lt_shell_append" >&6; }
4604 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4614 # test EBCDIC or ASCII
4615 case `echo X|tr X '\101'` in
4616 A) # ASCII based system
4617 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4618 lt_SP2NL='tr \040 \012'
4619 lt_NL2SP='tr \015\012 \040\040'
4621 *) # EBCDIC based system
4622 lt_SP2NL='tr \100 \n'
4623 lt_NL2SP='tr \r\n \100\100'
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4636 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4637 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4638 $as_echo_n "(cached) " >&6
4640 lt_cv_ld_reload_flag='-r'
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4643 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4644 reload_flag=$lt_cv_ld_reload_flag
4645 case $reload_flag in
4647 *) reload_flag=" $reload_flag" ;;
4649 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4652 if test "$GCC" = yes; then
4653 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4655 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4668 if test -n "$ac_tool_prefix"; then
4669 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4670 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672 $as_echo_n "checking for $ac_word... " >&6; }
4673 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4674 $as_echo_n "(cached) " >&6
4676 if test -n "$OBJDUMP"; then
4677 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4686 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 OBJDUMP=$ac_cv_prog_OBJDUMP
4697 if test -n "$OBJDUMP"; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4699 $as_echo "$OBJDUMP" >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4707 if test -z "$ac_cv_prog_OBJDUMP"; then
4708 ac_ct_OBJDUMP=$OBJDUMP
4709 # Extract the first word of "objdump", so it can be a program name with args.
4710 set dummy objdump; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4714 $as_echo_n "(cached) " >&6
4716 if test -n "$ac_ct_OBJDUMP"; then
4717 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4726 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4737 if test -n "$ac_ct_OBJDUMP"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4739 $as_echo "$ac_ct_OBJDUMP" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4745 if test "x$ac_ct_OBJDUMP" = x; then
4748 case $cross_compiling:$ac_tool_warned in
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned=yes ;;
4754 OBJDUMP=$ac_ct_OBJDUMP
4757 OBJDUMP="$ac_cv_prog_OBJDUMP"
4760 test -z "$OBJDUMP" && OBJDUMP=objdump
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4771 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4772 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4775 lt_cv_file_magic_cmd='$MAGIC_CMD'
4776 lt_cv_file_magic_test_file=
4777 lt_cv_deplibs_check_method='unknown'
4778 # Need to set the preceding variable on all platforms that support
4779 # interlibrary dependencies.
4780 # 'none' -- dependencies not supported.
4781 # `unknown' -- same as none, but documents that we really don't know.
4782 # 'pass_all' -- all dependencies passed with no checks.
4783 # 'test_compile' -- check by making test program.
4784 # 'file_magic [[regex]]' -- check by looking for files in library path
4785 # which responds to the $file_magic_cmd with a given extended regex.
4786 # If you have `file' or equivalent on your system and you're not sure
4787 # whether `pass_all' will *always* work, you probably want this one.
4791 lt_cv_deplibs_check_method=pass_all
4795 lt_cv_deplibs_check_method=pass_all
4799 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4800 lt_cv_file_magic_cmd='/usr/bin/file -L'
4801 lt_cv_file_magic_test_file=/shlib/libc.so
4805 # func_win32_libid is a shell function defined in ltmain.sh
4806 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4807 lt_cv_file_magic_cmd='func_win32_libid'
4811 # Base MSYS/MinGW do not provide the 'file' command needed by
4812 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4813 # unless we find 'file', for example because we are cross-compiling.
4814 if ( file / ) >/dev/null 2>&1; then
4815 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4816 lt_cv_file_magic_cmd='func_win32_libid'
4818 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4819 lt_cv_file_magic_cmd='$OBJDUMP -f'
4824 # use the weaker test based on 'objdump'. See mingw*.
4825 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4826 lt_cv_file_magic_cmd='$OBJDUMP -f'
4829 darwin* | rhapsody*)
4830 lt_cv_deplibs_check_method=pass_all
4833 freebsd* | dragonfly*)
4834 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4837 # Not sure whether the presence of OpenBSD here was a mistake.
4838 # Let's accept both of them until this is cleared up.
4839 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4840 lt_cv_file_magic_cmd=/usr/bin/file
4841 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4845 lt_cv_deplibs_check_method=pass_all
4850 lt_cv_deplibs_check_method=pass_all
4853 hpux10.20* | hpux11*)
4854 lt_cv_file_magic_cmd=/usr/bin/file
4857 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4858 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4861 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]'
4862 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4865 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4866 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4872 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4873 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4876 irix5* | irix6* | nonstopux*)
4878 *-32|*"-32 ") libmagic=32-bit;;
4879 *-n32|*"-n32 ") libmagic=N32;;
4880 *-64|*"-64 ") libmagic=64-bit;;
4881 *) libmagic=never-match;;
4883 lt_cv_deplibs_check_method=pass_all
4886 # This must be Linux ELF.
4887 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4888 lt_cv_deplibs_check_method=pass_all
4891 netbsd* | netbsdelf*-gnu)
4892 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4893 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4895 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4900 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4901 lt_cv_file_magic_cmd=/usr/bin/file
4902 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4906 lt_cv_deplibs_check_method=pass_all
4910 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4911 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4913 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4917 osf3* | osf4* | osf5*)
4918 lt_cv_deplibs_check_method=pass_all
4922 lt_cv_deplibs_check_method=pass_all
4926 lt_cv_deplibs_check_method=pass_all
4929 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4930 lt_cv_deplibs_check_method=pass_all
4934 case $host_vendor in
4936 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]'
4937 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4940 lt_cv_deplibs_check_method=pass_all
4943 lt_cv_file_magic_cmd='/bin/file'
4944 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4947 lt_cv_file_magic_cmd='/bin/file'
4948 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4949 lt_cv_file_magic_test_file=/lib/libc.so
4952 lt_cv_deplibs_check_method=pass_all
4955 lt_cv_deplibs_check_method=pass_all
4961 lt_cv_deplibs_check_method=pass_all
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4967 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4968 file_magic_cmd=$lt_cv_file_magic_cmd
4969 deplibs_check_method=$lt_cv_deplibs_check_method
4970 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}ar; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if test "${ac_cv_prog_AR+set}" = set; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$AR"; then
4992 ac_cv_prog_AR="$AR" # Let the user override the test.
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir=.
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001 ac_cv_prog_AR="${ac_tool_prefix}ar"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 if test -n "$AR"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5014 $as_echo "$AR" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5022 if test -z "$ac_cv_prog_AR"; then
5024 # Extract the first word of "ar", so it can be a program name with args.
5025 set dummy ar; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5031 if test -n "$ac_ct_AR"; then
5032 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_ac_ct_AR="ar"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5052 if test -n "$ac_ct_AR"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5054 $as_echo "$ac_ct_AR" >&6; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5060 if test "x$ac_ct_AR" = x; then
5063 case $cross_compiling:$ac_tool_warned in
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5067 ac_tool_warned=yes ;;
5075 test -z "$AR" && AR=ar
5076 test -z "$AR_FLAGS" && AR_FLAGS=cru
5088 if test -n "$ac_tool_prefix"; then
5089 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5090 set dummy ${ac_tool_prefix}strip; ac_word=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if test "${ac_cv_prog_STRIP+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$STRIP"; then
5097 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 STRIP=$ac_cv_prog_STRIP
5117 if test -n "$STRIP"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5119 $as_echo "$STRIP" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5127 if test -z "$ac_cv_prog_STRIP"; then
5129 # Extract the first word of "strip", so it can be a program name with args.
5130 set dummy strip; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$ac_ct_STRIP"; then
5137 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5146 ac_cv_prog_ac_ct_STRIP="strip"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5157 if test -n "$ac_ct_STRIP"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5159 $as_echo "$ac_ct_STRIP" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5165 if test "x$ac_ct_STRIP" = x; then
5168 case $cross_compiling:$ac_tool_warned in
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5172 ac_tool_warned=yes ;;
5177 STRIP="$ac_cv_prog_STRIP"
5180 test -z "$STRIP" && STRIP=:
5187 if test -n "$ac_tool_prefix"; then
5188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5193 $as_echo_n "(cached) " >&6
5195 if test -n "$RANLIB"; then
5196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5205 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 RANLIB=$ac_cv_prog_RANLIB
5216 if test -n "$RANLIB"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5218 $as_echo "$RANLIB" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5226 if test -z "$ac_cv_prog_RANLIB"; then
5227 ac_ct_RANLIB=$RANLIB
5228 # Extract the first word of "ranlib", so it can be a program name with args.
5229 set dummy ranlib; ac_word=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5233 $as_echo_n "(cached) " >&6
5235 if test -n "$ac_ct_RANLIB"; then
5236 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5245 ac_cv_prog_ac_ct_RANLIB="ranlib"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5256 if test -n "$ac_ct_RANLIB"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5258 $as_echo "$ac_ct_RANLIB" >&6; }
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5264 if test "x$ac_ct_RANLIB" = x; then
5267 case $cross_compiling:$ac_tool_warned in
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned=yes ;;
5273 RANLIB=$ac_ct_RANLIB
5276 RANLIB="$ac_cv_prog_RANLIB"
5279 test -z "$RANLIB" && RANLIB=:
5286 # Determine commands to create old-style static archives.
5287 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5288 old_postinstall_cmds='chmod 644 $oldlib'
5289 old_postuninstall_cmds=
5291 if test -n "$RANLIB"; then
5294 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5297 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5300 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5336 # If no C compiler was specified, use CC.
5339 # If no C compiler flags were specified, use CFLAGS.
5340 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5342 # Allow CC to be a program name with arguments.
5346 # Check for command to grab the raw symbol name followed by C symbol from nm.
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5348 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5349 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5350 $as_echo_n "(cached) " >&6
5353 # These are sane defaults that work on at least a few old systems.
5354 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5356 # Character class describing NM global symbol codes.
5357 symcode='[BCDEGRST]'
5359 # Regexp to match symbols that can be accessed directly from C.
5360 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5362 # Define system-specific variables.
5367 cygwin* | mingw* | pw32* | cegcc*)
5368 symcode='[ABCDGISTW]'
5371 if test "$host_cpu" = ia64; then
5372 symcode='[ABCDEGRST]'
5376 symcode='[BCDEGRST]'
5379 symcode='[BCDEGQRST]'
5390 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5398 # If we're using GNU nm, then use its standard symbol codes.
5399 case `$NM -V 2>&1` in
5400 *GNU* | *'with BFD'*)
5401 symcode='[ABCDGIRSTW]' ;;
5404 # Transform an extracted symbol line into a proper C declaration.
5405 # Some systems (esp. on ia64) link data and code symbols differently,
5406 # so use this general approach.
5407 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5409 # Transform an extracted symbol line into symbol name and symbol address
5410 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5411 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'"
5413 # Handle CRLF in mingw tool chain
5417 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5421 # Try without a prefix underscore, then with it.
5422 for ac_symprfx in "" "_"; do
5424 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5425 symxfrm="\\1 $ac_symprfx\\2 \\2"
5427 # Write the raw and C identifiers.
5428 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5429 # Fake it for dumpbin and say T for any non-static function
5430 # and D for any global variable.
5431 # Also find C++ and __fastcall symbols from MSVC++,
5432 # which start with @ or ?.
5433 lt_cv_sys_global_symbol_pipe="$AWK '"\
5434 " {last_section=section; section=\$ 3};"\
5435 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5436 " \$ 0!~/External *\|/{next};"\
5437 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5438 " {if(hide[section]) next};"\
5439 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5440 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5441 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5442 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5443 " ' prfx=^$ac_symprfx"
5445 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5448 # Check to see that the pipe works correctly.
5452 cat > conftest.$ac_ext <<_LT_EOF
5457 void nm_test_func(void);
5458 void nm_test_func(void){}
5462 int main(){nm_test_var='a';nm_test_func();return(0);}
5465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5466 (eval $ac_compile) 2>&5
5468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5469 test $ac_status = 0; }; then
5470 # Now try to grab the symbols.
5472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5473 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5476 test $ac_status = 0; } && test -s "$nlist"; then
5477 # Try sorting and uniquifying the output.
5478 if sort "$nlist" | uniq > "$nlist"T; then
5479 mv -f "$nlist"T "$nlist"
5484 # Make sure that we snagged all the symbols we need.
5485 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5486 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5487 cat <<_LT_EOF > conftest.$ac_ext
5493 # Now generate the symbol file.
5494 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5496 cat <<_LT_EOF >> conftest.$ac_ext
5498 /* The mapping between symbol names and symbols. */
5503 lt__PROGRAM__LTX_preloaded_symbols[] =
5505 { "@PROGRAM@", (void *) 0 },
5507 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5508 cat <<\_LT_EOF >> conftest.$ac_ext
5512 /* This works around a problem in FreeBSD linker */
5513 #ifdef FREEBSD_WORKAROUND
5514 static const void *lt_preloaded_setup() {
5515 return lt__PROGRAM__LTX_preloaded_symbols;
5523 # Now try linking the two files.
5524 mv conftest.$ac_objext conftstm.$ac_objext
5525 lt_save_LIBS="$LIBS"
5526 lt_save_CFLAGS="$CFLAGS"
5527 LIBS="conftstm.$ac_objext"
5528 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5530 (eval $ac_link) 2>&5
5532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5533 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5536 LIBS="$lt_save_LIBS"
5537 CFLAGS="$lt_save_CFLAGS"
5539 echo "cannot find nm_test_func in $nlist" >&5
5542 echo "cannot find nm_test_var in $nlist" >&5
5545 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5548 echo "$progname: failed program was:" >&5
5549 cat conftest.$ac_ext >&5
5551 rm -rf conftest* conftst*
5553 # Do not use the global_symbol_pipe unless it works.
5554 if test "$pipe_works" = yes; then
5557 lt_cv_sys_global_symbol_pipe=
5563 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5564 lt_cv_sys_global_symbol_to_cdecl=
5566 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5568 $as_echo "failed" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5571 $as_echo "ok" >&6; }
5596 # Check whether --enable-libtool-lock was given.
5597 if test "${enable_libtool_lock+set}" = set; then :
5598 enableval=$enable_libtool_lock;
5601 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5603 # Some flags need to be propagated to the compiler or linker for good
5607 # Find out which ABI we are using.
5608 echo 'int i;' > conftest.$ac_ext
5609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5610 (eval $ac_compile) 2>&5
5612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5613 test $ac_status = 0; }; then
5614 case `/usr/bin/file conftest.$ac_objext` in
5626 # Find out which ABI we are using.
5627 echo '#line 5627 "configure"' > conftest.$ac_ext
5628 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5629 (eval $ac_compile) 2>&5
5631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5632 test $ac_status = 0; }; then
5633 if test "$lt_cv_prog_gnu_ld" = yes; then
5634 case `/usr/bin/file conftest.$ac_objext` in
5636 LD="${LD-ld} -melf32bsmip"
5639 LD="${LD-ld} -melf32bmipn32"
5642 LD="${LD-ld} -melf64bmip"
5646 case `/usr/bin/file conftest.$ac_objext` in
5662 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5663 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5664 # Find out which ABI we are using.
5665 echo 'int i;' > conftest.$ac_ext
5666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5667 (eval $ac_compile) 2>&5
5669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5670 test $ac_status = 0; }; then
5671 case `/usr/bin/file conftest.o` in
5674 x86_64-*kfreebsd*-gnu)
5675 LD="${LD-ld} -m elf_i386_fbsd"
5678 LD="${LD-ld} -m elf_i386"
5680 ppc64-*linux*|powerpc64-*linux*)
5681 LD="${LD-ld} -m elf32ppclinux"
5684 LD="${LD-ld} -m elf_s390"
5687 LD="${LD-ld} -m elf32_sparc"
5693 x86_64-*kfreebsd*-gnu)
5694 LD="${LD-ld} -m elf_x86_64_fbsd"
5697 LD="${LD-ld} -m elf_x86_64"
5699 ppc*-*linux*|powerpc*-*linux*)
5700 LD="${LD-ld} -m elf64ppc"
5702 s390*-*linux*|s390*-*tpf*)
5703 LD="${LD-ld} -m elf64_s390"
5706 LD="${LD-ld} -m elf64_sparc"
5716 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5717 SAVE_CFLAGS="$CFLAGS"
5718 CFLAGS="$CFLAGS -belf"
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5720 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5721 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5725 ac_cpp='$CPP $CPPFLAGS'
5726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5741 if ac_fn_c_try_link "$LINENO"; then :
5742 lt_cv_cc_needs_belf=yes
5744 lt_cv_cc_needs_belf=no
5746 rm -f core conftest.err conftest.$ac_objext \
5747 conftest$ac_exeext conftest.$ac_ext
5749 ac_cpp='$CPP $CPPFLAGS'
5750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5756 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5757 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5758 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5759 CFLAGS="$SAVE_CFLAGS"
5763 # Find out which ABI we are using.
5764 echo 'int i;' > conftest.$ac_ext
5765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5766 (eval $ac_compile) 2>&5
5768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5769 test $ac_status = 0; }; then
5770 case `/usr/bin/file conftest.o` in
5772 case $lt_cv_prog_gnu_ld in
5773 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5775 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5787 need_locks="$enable_libtool_lock"
5791 rhapsody* | darwin*)
5792 if test -n "$ac_tool_prefix"; then
5793 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5794 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5798 $as_echo_n "(cached) " >&6
5800 if test -n "$DSYMUTIL"; then
5801 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5821 if test -n "$DSYMUTIL"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5823 $as_echo "$DSYMUTIL" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5831 if test -z "$ac_cv_prog_DSYMUTIL"; then
5832 ac_ct_DSYMUTIL=$DSYMUTIL
5833 # Extract the first word of "dsymutil", so it can be a program name with args.
5834 set dummy dsymutil; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -n "$ac_ct_DSYMUTIL"; then
5841 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5861 if test -n "$ac_ct_DSYMUTIL"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5863 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5869 if test "x$ac_ct_DSYMUTIL" = x; then
5872 case $cross_compiling:$ac_tool_warned in
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5876 ac_tool_warned=yes ;;
5878 DSYMUTIL=$ac_ct_DSYMUTIL
5881 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5884 if test -n "$ac_tool_prefix"; then
5885 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5886 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5890 $as_echo_n "(cached) " >&6
5892 if test -n "$NMEDIT"; then
5893 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5902 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 NMEDIT=$ac_cv_prog_NMEDIT
5913 if test -n "$NMEDIT"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5915 $as_echo "$NMEDIT" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5923 if test -z "$ac_cv_prog_NMEDIT"; then
5924 ac_ct_NMEDIT=$NMEDIT
5925 # Extract the first word of "nmedit", so it can be a program name with args.
5926 set dummy nmedit; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5932 if test -n "$ac_ct_NMEDIT"; then
5933 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5953 if test -n "$ac_ct_NMEDIT"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5955 $as_echo "$ac_ct_NMEDIT" >&6; }
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5961 if test "x$ac_ct_NMEDIT" = x; then
5964 case $cross_compiling:$ac_tool_warned in
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5968 ac_tool_warned=yes ;;
5970 NMEDIT=$ac_ct_NMEDIT
5973 NMEDIT="$ac_cv_prog_NMEDIT"
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5978 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if test "${ac_cv_prog_LIPO+set}" = set; then :
5982 $as_echo_n "(cached) " >&6
5984 if test -n "$LIPO"; then
5985 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004 LIPO=$ac_cv_prog_LIPO
6005 if test -n "$LIPO"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6007 $as_echo "$LIPO" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6015 if test -z "$ac_cv_prog_LIPO"; then
6017 # Extract the first word of "lipo", so it can be a program name with args.
6018 set dummy lipo; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$ac_ct_LIPO"; then
6025 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_ac_ct_LIPO="lipo"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6045 if test -n "$ac_ct_LIPO"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6047 $as_echo "$ac_ct_LIPO" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6053 if test "x$ac_ct_LIPO" = x; then
6056 case $cross_compiling:$ac_tool_warned in
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned=yes ;;
6065 LIPO="$ac_cv_prog_LIPO"
6068 if test -n "$ac_tool_prefix"; then
6069 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6070 set dummy ${ac_tool_prefix}otool; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6076 if test -n "$OTOOL"; then
6077 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6086 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 OTOOL=$ac_cv_prog_OTOOL
6097 if test -n "$OTOOL"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6099 $as_echo "$OTOOL" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6107 if test -z "$ac_cv_prog_OTOOL"; then
6109 # Extract the first word of "otool", so it can be a program name with args.
6110 set dummy otool; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6114 $as_echo_n "(cached) " >&6
6116 if test -n "$ac_ct_OTOOL"; then
6117 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_ac_ct_OTOOL="otool"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6137 if test -n "$ac_ct_OTOOL"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6139 $as_echo "$ac_ct_OTOOL" >&6; }
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6145 if test "x$ac_ct_OTOOL" = x; then
6148 case $cross_compiling:$ac_tool_warned in
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6152 ac_tool_warned=yes ;;
6157 OTOOL="$ac_cv_prog_OTOOL"
6160 if test -n "$ac_tool_prefix"; then
6161 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6162 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 $as_echo_n "checking for $ac_word... " >&6; }
6165 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6166 $as_echo_n "(cached) " >&6
6168 if test -n "$OTOOL64"; then
6169 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 OTOOL64=$ac_cv_prog_OTOOL64
6189 if test -n "$OTOOL64"; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6191 $as_echo "$OTOOL64" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194 $as_echo "no" >&6; }
6199 if test -z "$ac_cv_prog_OTOOL64"; then
6200 ac_ct_OTOOL64=$OTOOL64
6201 # Extract the first word of "otool64", so it can be a program name with args.
6202 set dummy otool64; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204 $as_echo_n "checking for $ac_word... " >&6; }
6205 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6206 $as_echo_n "(cached) " >&6
6208 if test -n "$ac_ct_OTOOL64"; then
6209 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218 ac_cv_prog_ac_ct_OTOOL64="otool64"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6229 if test -n "$ac_ct_OTOOL64"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6231 $as_echo "$ac_ct_OTOOL64" >&6; }
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6237 if test "x$ac_ct_OTOOL64" = x; then
6240 case $cross_compiling:$ac_tool_warned in
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6244 ac_tool_warned=yes ;;
6246 OTOOL64=$ac_ct_OTOOL64
6249 OTOOL64="$ac_cv_prog_OTOOL64"
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6279 $as_echo_n "checking for -single_module linker flag... " >&6; }
6280 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6281 $as_echo_n "(cached) " >&6
6283 lt_cv_apple_cc_single_mod=no
6284 if test -z "${LT_MULTI_MODULE}"; then
6285 # By default we will add the -single_module flag. You can override
6286 # by either setting the environment variable LT_MULTI_MODULE
6287 # non-empty at configure time, or by adding -multi_module to the
6289 rm -rf libconftest.dylib*
6290 echo "int foo(void){return 1;}" > conftest.c
6291 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6292 -dynamiclib -Wl,-single_module conftest.c" >&5
6293 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6294 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6296 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6297 lt_cv_apple_cc_single_mod=yes
6299 cat conftest.err >&5
6301 rm -rf libconftest.dylib*
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6306 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6308 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6309 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6310 $as_echo_n "(cached) " >&6
6312 lt_cv_ld_exported_symbols_list=no
6313 save_LDFLAGS=$LDFLAGS
6314 echo "_main" > conftest.sym
6315 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6327 if ac_fn_c_try_link "$LINENO"; then :
6328 lt_cv_ld_exported_symbols_list=yes
6330 lt_cv_ld_exported_symbols_list=no
6332 rm -f core conftest.err conftest.$ac_objext \
6333 conftest$ac_exeext conftest.$ac_ext
6334 LDFLAGS="$save_LDFLAGS"
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6338 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6340 rhapsody* | darwin1.[012])
6341 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6343 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6344 darwin*) # darwin 5.x on
6345 # if running on 10.5 or later, the deployment target defaults
6346 # to the OS version, if on x86, and 10.4, the deployment
6347 # target defaults to 10.4. Don't you love it?
6348 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6349 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6350 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6352 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6354 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6358 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6359 _lt_dar_single_mod='$single_module'
6361 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6362 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6364 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6366 if test "$DSYMUTIL" != ":"; then
6367 _lt_dsymutil='~$DSYMUTIL $lib || :'
6375 ac_cpp='$CPP $CPPFLAGS'
6376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6380 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6381 # On Suns, sometimes $CPP names a directory.
6382 if test -n "$CPP" && test -d "$CPP"; then
6385 if test -z "$CPP"; then
6386 if test "${ac_cv_prog_CPP+set}" = set; then :
6387 $as_echo_n "(cached) " >&6
6389 # Double quotes because CPP needs to be expanded
6390 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6393 for ac_c_preproc_warn_flag in '' yes
6395 # Use a header file that comes with gcc, so configuring glibc
6396 # with a fresh cross-compiler works.
6397 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6398 # <limits.h> exists even on freestanding compilers.
6399 # On the NeXT, cc -E runs the code through the compiler's parser,
6400 # not just through cpp. "Syntax error" is here to catch this case.
6401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6404 # include <limits.h>
6406 # include <assert.h>
6410 if ac_fn_c_try_cpp "$LINENO"; then :
6413 # Broken: fails on valid input.
6416 rm -f conftest.err conftest.i conftest.$ac_ext
6418 # OK, works on sane cases. Now check whether nonexistent headers
6419 # can be detected and how.
6420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6422 #include <ac_nonexistent.h>
6424 if ac_fn_c_try_cpp "$LINENO"; then :
6425 # Broken: success on invalid input.
6428 # Passes both tests.
6432 rm -f conftest.err conftest.i conftest.$ac_ext
6435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6436 rm -f conftest.i conftest.err conftest.$ac_ext
6437 if $ac_preproc_ok; then :
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6450 $as_echo "$CPP" >&6; }
6452 for ac_c_preproc_warn_flag in '' yes
6454 # Use a header file that comes with gcc, so configuring glibc
6455 # with a fresh cross-compiler works.
6456 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6457 # <limits.h> exists even on freestanding compilers.
6458 # On the NeXT, cc -E runs the code through the compiler's parser,
6459 # not just through cpp. "Syntax error" is here to catch this case.
6460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6463 # include <limits.h>
6465 # include <assert.h>
6469 if ac_fn_c_try_cpp "$LINENO"; then :
6472 # Broken: fails on valid input.
6475 rm -f conftest.err conftest.i conftest.$ac_ext
6477 # OK, works on sane cases. Now check whether nonexistent headers
6478 # can be detected and how.
6479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6481 #include <ac_nonexistent.h>
6483 if ac_fn_c_try_cpp "$LINENO"; then :
6484 # Broken: success on invalid input.
6487 # Passes both tests.
6491 rm -f conftest.err conftest.i conftest.$ac_ext
6494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6495 rm -f conftest.i conftest.err conftest.$ac_ext
6496 if $ac_preproc_ok; then :
6499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6501 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6502 See \`config.log' for more details" "$LINENO" 5 ; }
6506 ac_cpp='$CPP $CPPFLAGS'
6507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6513 $as_echo_n "checking for ANSI C header files... " >&6; }
6514 if test "${ac_cv_header_stdc+set}" = set; then :
6515 $as_echo_n "(cached) " >&6
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6532 if ac_fn_c_try_compile "$LINENO"; then :
6533 ac_cv_header_stdc=yes
6535 ac_cv_header_stdc=no
6537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6539 if test $ac_cv_header_stdc = yes; then
6540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6547 $EGREP "memchr" >/dev/null 2>&1; then :
6550 ac_cv_header_stdc=no
6556 if test $ac_cv_header_stdc = yes; then
6557 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6564 $EGREP "free" >/dev/null 2>&1; then :
6567 ac_cv_header_stdc=no
6573 if test $ac_cv_header_stdc = yes; then
6574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6575 if test "$cross_compiling" = yes; then :
6578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6582 #if ((' ' & 0x0FF) == 0x020)
6583 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6586 # define ISLOWER(c) \
6587 (('a' <= (c) && (c) <= 'i') \
6588 || ('j' <= (c) && (c) <= 'r') \
6589 || ('s' <= (c) && (c) <= 'z'))
6590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6593 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6598 for (i = 0; i < 256; i++)
6599 if (XOR (islower (i), ISLOWER (i))
6600 || toupper (i) != TOUPPER (i))
6605 if ac_fn_c_try_run "$LINENO"; then :
6608 ac_cv_header_stdc=no
6610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6611 conftest.$ac_objext conftest.beam conftest.$ac_ext
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6617 $as_echo "$ac_cv_header_stdc" >&6; }
6618 if test $ac_cv_header_stdc = yes; then
6620 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6624 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6626 inttypes.h stdint.h unistd.h
6628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6632 cat >>confdefs.h <<_ACEOF
6633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6641 for ac_header in dlfcn.h
6643 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6645 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6646 cat >>confdefs.h <<_ACEOF
6647 #define HAVE_DLFCN_H 1
6666 # Check whether --enable-shared was given.
6667 if test "${enable_shared+set}" = set; then :
6668 enableval=$enable_shared; p=${PACKAGE-default}
6670 yes) enable_shared=yes ;;
6671 no) enable_shared=no ;;
6674 # Look at the argument we got. We use all the common list separators.
6675 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6676 for pkg in $enableval; do
6678 if test "X$pkg" = "X$p"; then
6697 # Check whether --enable-static was given.
6698 if test "${enable_static+set}" = set; then :
6699 enableval=$enable_static; p=${PACKAGE-default}
6701 yes) enable_static=yes ;;
6702 no) enable_static=no ;;
6705 # Look at the argument we got. We use all the common list separators.
6706 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6707 for pkg in $enableval; do
6709 if test "X$pkg" = "X$p"; then
6729 # Check whether --with-pic was given.
6730 if test "${with_pic+set}" = set; then :
6731 withval=$with_pic; pic_mode="$withval"
6737 test -z "$pic_mode" && pic_mode=default
6745 # Check whether --enable-fast-install was given.
6746 if test "${enable_fast_install+set}" = set; then :
6747 enableval=$enable_fast_install; p=${PACKAGE-default}
6749 yes) enable_fast_install=yes ;;
6750 no) enable_fast_install=no ;;
6752 enable_fast_install=no
6753 # Look at the argument we got. We use all the common list separators.
6754 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6755 for pkg in $enableval; do
6757 if test "X$pkg" = "X$p"; then
6758 enable_fast_install=yes
6765 enable_fast_install=yes
6778 # This can be used to rebuild libtool when needed
6779 LIBTOOL_DEPS="$ltmain"
6781 # Always use our own libtool.
6782 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6808 test -z "$LN_S" && LN_S="ln -s"
6823 if test -n "${ZSH_VERSION+set}" ; then
6824 setopt NO_GLOB_SUBST
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6828 $as_echo_n "checking for objdir... " >&6; }
6829 if test "${lt_cv_objdir+set}" = set; then :
6830 $as_echo_n "(cached) " >&6
6832 rm -f .libs 2>/dev/null
6833 mkdir .libs 2>/dev/null
6834 if test -d .libs; then
6837 # MS-DOS does not allow filenames that begin with a dot.
6840 rmdir .libs 2>/dev/null
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6843 $as_echo "$lt_cv_objdir" >&6; }
6844 objdir=$lt_cv_objdir
6850 cat >>confdefs.h <<_ACEOF
6851 #define LT_OBJDIR "$lt_cv_objdir/"
6872 # AIX sometimes has problems with the GCC collect2 program. For some
6873 # reason, if we set the COLLECT_NAMES environment variable, the problems
6874 # vanish in a puff of smoke.
6875 if test "X${COLLECT_NAMES+set}" != Xset; then
6877 export COLLECT_NAMES
6882 # Sed substitution that helps us do robust quoting. It backslashifies
6883 # metacharacters that are still active within double-quoted strings.
6884 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6886 # Same as above, but do not quote variable references.
6887 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6889 # Sed substitution to delay expansion of an escaped shell variable in a
6890 # double_quote_subst'ed string.
6891 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6893 # Sed substitution to delay expansion of an escaped single quote.
6894 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6896 # Sed substitution to avoid accidental globbing in evaled expressions
6897 no_glob_subst='s/\*/\\\*/g'
6901 can_build_shared=yes
6903 # All known linkers require a `.a' archive for static linking (except MSVC,
6904 # which needs '.lib').
6907 with_gnu_ld="$lt_cv_prog_gnu_ld"
6910 old_CFLAGS="$CFLAGS"
6912 # Set sane defaults for various variables
6913 test -z "$CC" && CC=cc
6914 test -z "$LTCC" && LTCC=$CC
6915 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6916 test -z "$LD" && LD=ld
6917 test -z "$ac_objext" && ac_objext=o
6919 for cc_temp in $compiler""; do
6921 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6922 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6927 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6930 # Only perform the check for file, if the check method requires it
6931 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6932 case $deplibs_check_method in
6934 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6936 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6937 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6938 $as_echo_n "(cached) " >&6
6942 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6945 lt_save_MAGIC_CMD="$MAGIC_CMD"
6946 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6947 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6948 for ac_dir in $ac_dummy; do
6950 test -z "$ac_dir" && ac_dir=.
6951 if test -f $ac_dir/${ac_tool_prefix}file; then
6952 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6953 if test -n "$file_magic_test_file"; then
6954 case $deplibs_check_method in
6956 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6957 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6958 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6959 $EGREP "$file_magic_regex" > /dev/null; then
6964 *** Warning: the command libtool uses to detect shared libraries,
6965 *** $file_magic_cmd, produces output that libtool cannot recognize.
6966 *** The result is that libtool may fail to recognize shared libraries
6967 *** as such. This will affect the creation of libtool libraries that
6968 *** depend on shared libraries, but programs linked with such libtool
6969 *** libraries will work regardless of this problem. Nevertheless, you
6970 *** may want to report the problem to your system manager and/or to
6971 *** bug-libtool@gnu.org
6981 MAGIC_CMD="$lt_save_MAGIC_CMD"
6986 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6987 if test -n "$MAGIC_CMD"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6989 $as_echo "$MAGIC_CMD" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6999 if test -z "$lt_cv_path_MAGIC_CMD"; then
7000 if test -n "$ac_tool_prefix"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7002 $as_echo_n "checking for file... " >&6; }
7003 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7004 $as_echo_n "(cached) " >&6
7008 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7011 lt_save_MAGIC_CMD="$MAGIC_CMD"
7012 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7013 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7014 for ac_dir in $ac_dummy; do
7016 test -z "$ac_dir" && ac_dir=.
7017 if test -f $ac_dir/file; then
7018 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7019 if test -n "$file_magic_test_file"; then
7020 case $deplibs_check_method in
7022 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7023 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7024 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7025 $EGREP "$file_magic_regex" > /dev/null; then
7030 *** Warning: the command libtool uses to detect shared libraries,
7031 *** $file_magic_cmd, produces output that libtool cannot recognize.
7032 *** The result is that libtool may fail to recognize shared libraries
7033 *** as such. This will affect the creation of libtool libraries that
7034 *** depend on shared libraries, but programs linked with such libtool
7035 *** libraries will work regardless of this problem. Nevertheless, you
7036 *** may want to report the problem to your system manager and/or to
7037 *** bug-libtool@gnu.org
7047 MAGIC_CMD="$lt_save_MAGIC_CMD"
7052 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7053 if test -n "$MAGIC_CMD"; then
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7055 $as_echo "$MAGIC_CMD" >&6; }
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7058 $as_echo "no" >&6; }
7071 # Use C for the default configuration in the libtool script
7075 ac_cpp='$CPP $CPPFLAGS'
7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7081 # Source file extension for C test sources.
7084 # Object file extension for compiled C test sources.
7088 # Code to be used in simple compile tests
7089 lt_simple_compile_test_code="int some_variable = 0;"
7091 # Code to be used in simple link tests
7092 lt_simple_link_test_code='int main(){return(0);}'
7100 # If no C compiler was specified, use CC.
7103 # If no C compiler flags were specified, use CFLAGS.
7104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7106 # Allow CC to be a program name with arguments.
7109 # Save the default compiler, since it gets overwritten when the other
7110 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7111 compiler_DEFAULT=$CC
7113 # save warnings/boilerplate of simple test code
7114 ac_outfile=conftest.$ac_objext
7115 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7116 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7117 _lt_compiler_boilerplate=`cat conftest.err`
7120 ac_outfile=conftest.$ac_objext
7121 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7122 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7123 _lt_linker_boilerplate=`cat conftest.err`
7127 if test -n "$compiler"; then
7129 lt_prog_compiler_no_builtin_flag=
7131 if test "$GCC" = yes; then
7132 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7135 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7136 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7137 $as_echo_n "(cached) " >&6
7139 lt_cv_prog_compiler_rtti_exceptions=no
7140 ac_outfile=conftest.$ac_objext
7141 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7142 lt_compiler_flag="-fno-rtti -fno-exceptions"
7143 # Insert the option either (1) after the last *FLAGS variable, or
7144 # (2) before a word containing "conftest.", or (3) at the end.
7145 # Note that $ac_compile itself does not contain backslashes and begins
7146 # with a dollar sign (not a hyphen), so the echo should work correctly.
7147 # The option is referenced via a variable to avoid confusing sed.
7148 lt_compile=`echo "$ac_compile" | $SED \
7149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7151 -e 's:$: $lt_compiler_flag:'`
7152 (eval echo "\"\$as_me:7152: $lt_compile\"" >&5)
7153 (eval "$lt_compile" 2>conftest.err)
7155 cat conftest.err >&5
7156 echo "$as_me:7156: \$? = $ac_status" >&5
7157 if (exit $ac_status) && test -s "$ac_outfile"; then
7158 # The compiler can only warn and ignore the option if not recognized
7159 # So say no if there are warnings other than the usual output.
7160 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7161 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7162 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7163 lt_cv_prog_compiler_rtti_exceptions=yes
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7170 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7172 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7173 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7185 lt_prog_compiler_wl=
7186 lt_prog_compiler_pic=
7187 lt_prog_compiler_static=
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7190 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7192 if test "$GCC" = yes; then
7193 lt_prog_compiler_wl='-Wl,'
7194 lt_prog_compiler_static='-static'
7198 # All AIX code is PIC.
7199 if test "$host_cpu" = ia64; then
7200 # AIX 5 now supports IA64 processor
7201 lt_prog_compiler_static='-Bstatic'
7208 # see comment about AmigaOS4 .so support
7209 lt_prog_compiler_pic='-fPIC'
7212 # FIXME: we need at least 68020 code to build shared libraries, but
7213 # adding the `-m68020' flag to GCC prevents building anything better,
7215 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7221 # PIC is the default for these OSes.
7224 mingw* | cygwin* | pw32* | os2* | cegcc*)
7225 # This hack is so that the source file can tell whether it is being
7226 # built for inclusion in a dll (and should export symbols for example).
7227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7228 # (--disable-auto-import) libraries
7229 lt_prog_compiler_pic='-DDLL_EXPORT'
7232 darwin* | rhapsody*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic='-fno-common'
7239 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7240 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7241 # sets the default TLS model and affects inlining.
7247 lt_prog_compiler_pic='-fPIC'
7253 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7254 # Instead, we relocate shared libraries at runtime.
7258 # Just because we use GCC doesn't mean we suddenly get shared libraries
7259 # on systems that don't support them.
7260 lt_prog_compiler_can_build_shared=no
7265 # QNX uses GNU C++, but need to define -shared option too, otherwise
7267 lt_prog_compiler_pic='-fPIC -shared'
7271 if test -d /usr/nec; then
7272 lt_prog_compiler_pic=-Kconform_pic
7277 lt_prog_compiler_pic='-fPIC'
7281 # PORTME Check for flag to pass linker flags through the system compiler.
7284 lt_prog_compiler_wl='-Wl,'
7285 if test "$host_cpu" = ia64; then
7286 # AIX 5 now supports IA64 processor
7287 lt_prog_compiler_static='-Bstatic'
7289 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7293 mingw* | cygwin* | pw32* | os2* | cegcc*)
7294 # This hack is so that the source file can tell whether it is being
7295 # built for inclusion in a dll (and should export symbols for example).
7296 lt_prog_compiler_pic='-DDLL_EXPORT'
7299 hpux9* | hpux10* | hpux11*)
7300 lt_prog_compiler_wl='-Wl,'
7301 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7308 lt_prog_compiler_pic='+Z'
7311 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7312 lt_prog_compiler_static='${wl}-a ${wl}archive'
7315 irix5* | irix6* | nonstopux*)
7316 lt_prog_compiler_wl='-Wl,'
7317 # PIC (with -KPIC) is the default.
7318 lt_prog_compiler_static='-non_shared'
7321 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7322 case $cc_basename in
7323 # old Intel for x86_64 which still supported -KPIC.
7325 lt_prog_compiler_wl='-Wl,'
7326 lt_prog_compiler_pic='-KPIC'
7327 lt_prog_compiler_static='-static'
7329 # icc used to be incompatible with GCC.
7330 # ICC 10 doesn't accept -KPIC any more.
7332 lt_prog_compiler_wl='-Wl,'
7333 lt_prog_compiler_pic='-fPIC'
7334 lt_prog_compiler_static='-static'
7336 # Lahey Fortran 8.1.
7338 lt_prog_compiler_wl='-Wl,'
7339 lt_prog_compiler_pic='--shared'
7340 lt_prog_compiler_static='--static'
7342 pgcc* | pgf77* | pgf90* | pgf95*)
7343 # Portland Group compilers (*not* the Pentium gcc compiler,
7344 # which looks to be a dead project)
7345 lt_prog_compiler_wl='-Wl,'
7346 lt_prog_compiler_pic='-fpic'
7347 lt_prog_compiler_static='-Bstatic'
7350 lt_prog_compiler_wl='-Wl,'
7351 # All Alpha code is PIC.
7352 lt_prog_compiler_static='-non_shared'
7355 # IBM XL C 8.0/Fortran 10.1 on PPC
7356 lt_prog_compiler_wl='-Wl,'
7357 lt_prog_compiler_pic='-qpic'
7358 lt_prog_compiler_static='-qstaticlink'
7361 case `$CC -V 2>&1 | sed 5q` in
7364 lt_prog_compiler_pic='-KPIC'
7365 lt_prog_compiler_static='-Bstatic'
7366 lt_prog_compiler_wl='-Wl,'
7369 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7370 lt_prog_compiler_pic='-KPIC'
7371 lt_prog_compiler_static='-Bstatic'
7372 lt_prog_compiler_wl=''
7380 lt_prog_compiler_pic='-KPIC'
7381 lt_prog_compiler_static='-Bstatic'
7385 # QNX uses GNU C++, but need to define -shared option too, otherwise
7387 lt_prog_compiler_pic='-fPIC -shared'
7390 osf3* | osf4* | osf5*)
7391 lt_prog_compiler_wl='-Wl,'
7392 # All OSF/1 code is PIC.
7393 lt_prog_compiler_static='-non_shared'
7397 lt_prog_compiler_static='-non_shared'
7401 lt_prog_compiler_pic='-KPIC'
7402 lt_prog_compiler_static='-Bstatic'
7403 case $cc_basename in
7405 lt_prog_compiler_wl='-Qoption ld ';;
7407 lt_prog_compiler_wl='-Wl,';;
7412 lt_prog_compiler_wl='-Qoption ld '
7413 lt_prog_compiler_pic='-PIC'
7414 lt_prog_compiler_static='-Bstatic'
7417 sysv4 | sysv4.2uw2* | sysv4.3*)
7418 lt_prog_compiler_wl='-Wl,'
7419 lt_prog_compiler_pic='-KPIC'
7420 lt_prog_compiler_static='-Bstatic'
7424 if test -d /usr/nec ;then
7425 lt_prog_compiler_pic='-Kconform_pic'
7426 lt_prog_compiler_static='-Bstatic'
7430 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7431 lt_prog_compiler_wl='-Wl,'
7432 lt_prog_compiler_pic='-KPIC'
7433 lt_prog_compiler_static='-Bstatic'
7437 lt_prog_compiler_wl='-Wl,'
7438 lt_prog_compiler_can_build_shared=no
7442 lt_prog_compiler_pic='-pic'
7443 lt_prog_compiler_static='-Bstatic'
7447 lt_prog_compiler_can_build_shared=no
7453 # For platforms which do not support PIC, -DPIC is meaningless:
7455 lt_prog_compiler_pic=
7458 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7462 $as_echo "$lt_prog_compiler_pic" >&6; }
7470 # Check to make sure the PIC flag actually works.
7472 if test -n "$lt_prog_compiler_pic"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7474 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7475 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7478 lt_cv_prog_compiler_pic_works=no
7479 ac_outfile=conftest.$ac_objext
7480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7481 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7482 # Insert the option either (1) after the last *FLAGS variable, or
7483 # (2) before a word containing "conftest.", or (3) at the end.
7484 # Note that $ac_compile itself does not contain backslashes and begins
7485 # with a dollar sign (not a hyphen), so the echo should work correctly.
7486 # The option is referenced via a variable to avoid confusing sed.
7487 lt_compile=`echo "$ac_compile" | $SED \
7488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7490 -e 's:$: $lt_compiler_flag:'`
7491 (eval echo "\"\$as_me:7491: $lt_compile\"" >&5)
7492 (eval "$lt_compile" 2>conftest.err)
7494 cat conftest.err >&5
7495 echo "$as_me:7495: \$? = $ac_status" >&5
7496 if (exit $ac_status) && test -s "$ac_outfile"; then
7497 # The compiler can only warn and ignore the option if not recognized
7498 # So say no if there are warnings other than the usual output.
7499 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7502 lt_cv_prog_compiler_pic_works=yes
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7509 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7511 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7512 case $lt_prog_compiler_pic in
7514 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7517 lt_prog_compiler_pic=
7518 lt_prog_compiler_can_build_shared=no
7529 # Check to make sure the static flag actually works.
7531 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7533 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7534 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7535 $as_echo_n "(cached) " >&6
7537 lt_cv_prog_compiler_static_works=no
7538 save_LDFLAGS="$LDFLAGS"
7539 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7540 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7541 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7542 # The linker can only warn and ignore the option if not recognized
7543 # So say no if there are warnings
7544 if test -s conftest.err; then
7545 # Append any errors to the config.log.
7546 cat conftest.err 1>&5
7547 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7548 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7549 if diff conftest.exp conftest.er2 >/dev/null; then
7550 lt_cv_prog_compiler_static_works=yes
7553 lt_cv_prog_compiler_static_works=yes
7557 LDFLAGS="$save_LDFLAGS"
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7561 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7563 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7566 lt_prog_compiler_static=
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7576 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7577 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7580 lt_cv_prog_compiler_c_o=no
7581 $RM -r conftest 2>/dev/null
7585 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7587 lt_compiler_flag="-o out/conftest2.$ac_objext"
7588 # Insert the option either (1) after the last *FLAGS variable, or
7589 # (2) before a word containing "conftest.", or (3) at the end.
7590 # Note that $ac_compile itself does not contain backslashes and begins
7591 # with a dollar sign (not a hyphen), so the echo should work correctly.
7592 lt_compile=`echo "$ac_compile" | $SED \
7593 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7594 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7595 -e 's:$: $lt_compiler_flag:'`
7596 (eval echo "\"\$as_me:7596: $lt_compile\"" >&5)
7597 (eval "$lt_compile" 2>out/conftest.err)
7599 cat out/conftest.err >&5
7600 echo "$as_me:7600: \$? = $ac_status" >&5
7601 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7603 # The compiler can only warn and ignore the option if not recognized
7604 # So say no if there are warnings
7605 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7606 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7607 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7608 lt_cv_prog_compiler_c_o=yes
7613 # SGI C++ compiler will create directory out/ii_files/ for
7614 # template instantiation
7615 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7616 $RM out/* && rmdir out
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7623 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7631 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7632 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7633 $as_echo_n "(cached) " >&6
7635 lt_cv_prog_compiler_c_o=no
7636 $RM -r conftest 2>/dev/null
7640 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7642 lt_compiler_flag="-o out/conftest2.$ac_objext"
7643 # Insert the option either (1) after the last *FLAGS variable, or
7644 # (2) before a word containing "conftest.", or (3) at the end.
7645 # Note that $ac_compile itself does not contain backslashes and begins
7646 # with a dollar sign (not a hyphen), so the echo should work correctly.
7647 lt_compile=`echo "$ac_compile" | $SED \
7648 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7649 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7650 -e 's:$: $lt_compiler_flag:'`
7651 (eval echo "\"\$as_me:7651: $lt_compile\"" >&5)
7652 (eval "$lt_compile" 2>out/conftest.err)
7654 cat out/conftest.err >&5
7655 echo "$as_me:7655: \$? = $ac_status" >&5
7656 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7658 # The compiler can only warn and ignore the option if not recognized
7659 # So say no if there are warnings
7660 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7661 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7662 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7663 lt_cv_prog_compiler_c_o=yes
7668 # SGI C++ compiler will create directory out/ii_files/ for
7669 # template instantiation
7670 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7671 $RM out/* && rmdir out
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7678 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7683 hard_links="nottested"
7684 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7685 # do not overwrite the value of need_locks provided by the user
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7687 $as_echo_n "checking if we can lock with hard links... " >&6; }
7690 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7692 ln conftest.a conftest.b 2>&5 || hard_links=no
7693 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7695 $as_echo "$hard_links" >&6; }
7696 if test "$hard_links" = no; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7698 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7711 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7714 allow_undefined_flag=
7715 always_export_symbols=no
7717 archive_expsym_cmds=
7718 compiler_needs_object=no
7719 enable_shared_with_static_runtimes=no
7720 export_dynamic_flag_spec=
7721 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7722 hardcode_automatic=no
7724 hardcode_direct_absolute=no
7725 hardcode_libdir_flag_spec=
7726 hardcode_libdir_flag_spec_ld=
7727 hardcode_libdir_separator=
7729 hardcode_shlibpath_var=unsupported
7731 link_all_deplibs=unknown
7734 old_archive_from_new_cmds=
7735 old_archive_from_expsyms_cmds=
7736 thread_safe_flag_spec=
7737 whole_archive_flag_spec=
7738 # include_expsyms should be a list of space-separated symbols to be *always*
7739 # included in the symbol list
7741 # exclude_expsyms can be an extended regexp of symbols to exclude
7742 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7743 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7744 # as well as any symbol that contains `d'.
7745 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7746 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7747 # platforms (ab)use it in PIC code, but their linkers get confused if
7748 # the symbol is explicitly referenced. Since portable code cannot
7749 # rely on this symbol name, it's probably fine to never include it in
7750 # preloaded symbol tables.
7751 # Exclude shared library initialization/finalization symbols.
7752 extract_expsyms_cmds=
7755 cygwin* | mingw* | pw32* | cegcc*)
7756 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7757 # When not using gcc, we currently assume that we are using
7758 # Microsoft Visual C++.
7759 if test "$GCC" != yes; then
7764 # we just hope/assume this is gcc and not c89 (= MSVC++)
7770 linux* | k*bsd*-gnu)
7776 if test "$with_gnu_ld" = yes; then
7777 # If archive_cmds runs LD, not CC, wlarc should be empty
7780 # Set some defaults for GNU ld with shared library support. These
7781 # are reset later if shared libraries are not supported. Putting them
7782 # here allows them to be overridden if necessary.
7783 runpath_var=LD_RUN_PATH
7784 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7785 export_dynamic_flag_spec='${wl}--export-dynamic'
7786 # ancient GNU ld didn't support --whole-archive et. al.
7787 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7788 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7790 whole_archive_flag_spec=
7792 supports_anon_versioning=no
7793 case `$LD -v 2>&1` in
7794 *GNU\ gold*) supports_anon_versioning=yes ;;
7795 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7796 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7797 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7798 *\ 2.11.*) ;; # other 2.11 versions
7799 *) supports_anon_versioning=yes ;;
7802 # See if GNU ld supports shared libraries.
7805 # On AIX/PPC, the GNU linker is very broken
7806 if test "$host_cpu" != ia64; then
7810 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7811 *** to be unable to reliably create shared libraries on AIX.
7812 *** Therefore, libtool is disabling shared libraries support. If you
7813 *** really care for shared libraries, you may want to modify your PATH
7814 *** so that a non-GNU linker is found, and then restart.
7823 # see comment about AmigaOS4 .so support
7824 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7825 archive_expsym_cmds=''
7828 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)'
7829 hardcode_libdir_flag_spec='-L$libdir'
7830 hardcode_minus_L=yes
7836 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7837 allow_undefined_flag=unsupported
7838 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7839 # support --undefined. This deserves some investigation. FIXME
7840 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7846 cygwin* | mingw* | pw32* | cegcc*)
7847 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7848 # as there is no search path for DLLs.
7849 hardcode_libdir_flag_spec='-L$libdir'
7850 allow_undefined_flag=unsupported
7851 always_export_symbols=no
7852 enable_shared_with_static_runtimes=yes
7853 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7855 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7856 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7857 # If the export-symbols file already is a .def file (1st line
7858 # is EXPORTS), use it as is; otherwise, prepend...
7859 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7860 cp $export_symbols $output_objdir/$soname.def;
7862 echo EXPORTS > $output_objdir/$soname.def;
7863 cat $export_symbols >> $output_objdir/$soname.def;
7865 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7873 hardcode_shlibpath_var=no
7874 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7875 export_dynamic_flag_spec='${wl}-E'
7876 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7877 # Instead, shared libraries are loaded at an image base (0x10000000 by
7878 # default) and relocated if they conflict, which is a slow very memory
7879 # consuming and fragmenting process. To avoid this, we pick a random,
7880 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7881 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7882 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7883 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'
7886 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7888 if test "$host_os" = linux-dietlibc; then
7889 case $cc_basename in
7890 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7893 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7894 && test "$tmp_diet" = no
7897 tmp_sharedflag='-shared'
7898 case $cc_basename,$host_cpu in
7899 pgcc*) # Portland Group C compiler
7900 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'
7901 tmp_addflag=' $pic_flag'
7903 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7904 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'
7905 tmp_addflag=' $pic_flag -Mnomain' ;;
7906 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7907 tmp_addflag=' -i_dynamic' ;;
7908 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7909 tmp_addflag=' -i_dynamic -nofor_main' ;;
7910 ifc* | ifort*) # Intel Fortran compiler
7911 tmp_addflag=' -nofor_main' ;;
7912 lf95*) # Lahey Fortran 8.1
7913 whole_archive_flag_spec=
7914 tmp_sharedflag='--shared' ;;
7915 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7916 tmp_sharedflag='-qmkshrobj'
7919 case `$CC -V 2>&1 | sed 5q` in
7920 *Sun\ C*) # Sun C 5.9
7921 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'
7922 compiler_needs_object=yes
7923 tmp_sharedflag='-G' ;;
7924 *Sun\ F*) # Sun Fortran 8.3
7925 tmp_sharedflag='-G' ;;
7927 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7929 if test "x$supports_anon_versioning" = xyes; then
7930 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7931 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7932 echo "local: *; };" >> $output_objdir/$libname.ver~
7933 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7936 case $cc_basename in
7938 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7939 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7940 hardcode_libdir_flag_spec=
7941 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7942 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7943 if test "x$supports_anon_versioning" = xyes; then
7944 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7945 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7946 echo "local: *; };" >> $output_objdir/$libname.ver~
7947 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7956 netbsd* | netbsdelf*-gnu)
7957 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7958 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7961 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7962 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7967 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7971 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7972 *** create shared libraries on Solaris systems. Therefore, libtool
7973 *** is disabling shared libraries support. We urge you to upgrade GNU
7974 *** binutils to release 2.9.1 or newer. Another option is to modify
7975 *** your PATH or compiler configuration so that the native linker is
7976 *** used, and then restart.
7979 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7980 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7981 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7987 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7988 case `$LD -v 2>&1` in
7989 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7993 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7994 *** reliably create shared libraries on SCO systems. Therefore, libtool
7995 *** is disabling shared libraries support. We urge you to upgrade GNU
7996 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7997 *** your PATH or compiler configuration so that the native linker is
7998 *** used, and then restart.
8003 # For security reasons, it is highly recommended that you always
8004 # use absolute paths for naming shared libraries, and exclude the
8005 # DT_RUNPATH tag from executables and libraries. But doing so
8006 # requires that you compile everything twice, which is a pain.
8007 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8010 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8019 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8022 hardcode_shlibpath_var=no
8026 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8028 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8035 if test "$ld_shlibs" = no; then
8037 hardcode_libdir_flag_spec=
8038 export_dynamic_flag_spec=
8039 whole_archive_flag_spec=
8042 # PORTME fill in a description of your system's linker (not GNU ld)
8045 allow_undefined_flag=unsupported
8046 always_export_symbols=yes
8047 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'
8048 # Note: this linker hardcodes the directories in LIBPATH if there
8049 # are no directories specified by -L.
8050 hardcode_minus_L=yes
8051 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8052 # Neither direct hardcoding nor static linking is supported with a
8054 hardcode_direct=unsupported
8059 if test "$host_cpu" = ia64; then
8060 # On IA64, the linker does run time linking by default, so we don't
8061 # have to do anything special.
8062 aix_use_runtimelinking=no
8063 exp_sym_flag='-Bexport'
8066 # If we're using GNU nm, then we don't want the "-C" option.
8067 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8068 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8069 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'
8071 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'
8073 aix_use_runtimelinking=no
8075 # Test if we are trying to use run time linking or normal
8076 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8077 # need to do runtime linking.
8078 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8079 for ld_flag in $LDFLAGS; do
8080 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8081 aix_use_runtimelinking=yes
8088 exp_sym_flag='-bexport'
8089 no_entry_flag='-bnoentry'
8092 # When large executables or shared objects are built, AIX ld can
8093 # have problems creating the table of contents. If linking a library
8094 # or program results in "error TOC overflow" add -mminimal-toc to
8095 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8096 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8100 hardcode_direct_absolute=yes
8101 hardcode_libdir_separator=':'
8102 link_all_deplibs=yes
8103 file_list_spec='${wl}-f,'
8105 if test "$GCC" = yes; then
8106 case $host_os in aix4.[012]|aix4.[012].*)
8107 # We only want to do this on AIX 4.2 and lower, the check
8108 # below for broken collect2 doesn't work under 4.3+
8109 collect2name=`${CC} -print-prog-name=collect2`
8110 if test -f "$collect2name" &&
8111 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8113 # We have reworked collect2
8116 # We have old collect2
8117 hardcode_direct=unsupported
8118 # It fails to find uninstalled libraries when the uninstalled
8119 # path is not listed in the libpath. Setting hardcode_minus_L
8120 # to unsupported forces relinking
8121 hardcode_minus_L=yes
8122 hardcode_libdir_flag_spec='-L$libdir'
8123 hardcode_libdir_separator=
8127 shared_flag='-shared'
8128 if test "$aix_use_runtimelinking" = yes; then
8129 shared_flag="$shared_flag "'${wl}-G'
8134 if test "$host_cpu" = ia64; then
8135 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8136 # chokes on -Wl,-G. The following line is correct:
8139 if test "$aix_use_runtimelinking" = yes; then
8140 shared_flag='${wl}-G'
8142 shared_flag='${wl}-bM:SRE'
8147 export_dynamic_flag_spec='${wl}-bexpall'
8148 # It seems that -bexpall does not export symbols beginning with
8149 # underscore (_), so it is better to generate a list of symbols to export.
8150 always_export_symbols=yes
8151 if test "$aix_use_runtimelinking" = yes; then
8152 # Warning - without using the other runtime loading flags (-brtl),
8153 # -berok will link without error, but may produce a broken library.
8154 allow_undefined_flag='-berok'
8155 # Determine the default libpath from the value encoded in an
8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8168 if ac_fn_c_try_link "$LINENO"; then :
8170 lt_aix_libpath_sed='
8171 /Import File Strings/,/^$/ {
8177 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8178 # Check for a 64-bit object if we didn't find anything.
8179 if test -z "$aix_libpath"; then
8180 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8187 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8188 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"
8190 if test "$host_cpu" = ia64; then
8191 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8192 allow_undefined_flag="-z nodefs"
8193 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"
8195 # Determine the default libpath from the value encoded in an
8197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8198 /* end confdefs.h. */
8208 if ac_fn_c_try_link "$LINENO"; then :
8210 lt_aix_libpath_sed='
8211 /Import File Strings/,/^$/ {
8217 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8218 # Check for a 64-bit object if we didn't find anything.
8219 if test -z "$aix_libpath"; then
8220 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8223 rm -f core conftest.err conftest.$ac_objext \
8224 conftest$ac_exeext conftest.$ac_ext
8225 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8227 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8228 # Warning - without using the other run time loading flags,
8229 # -berok will link without error, but may produce a broken library.
8230 no_undefined_flag=' ${wl}-bernotok'
8231 allow_undefined_flag=' ${wl}-berok'
8232 # Exported symbols can be pulled into shared objects from archives
8233 whole_archive_flag_spec='$convenience'
8234 archive_cmds_need_lc=yes
8235 # This is similar to how AIX traditionally builds its shared libraries.
8236 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'
8244 # see comment about AmigaOS4 .so support
8245 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246 archive_expsym_cmds=''
8249 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)'
8250 hardcode_libdir_flag_spec='-L$libdir'
8251 hardcode_minus_L=yes
8257 export_dynamic_flag_spec=-rdynamic
8260 cygwin* | mingw* | pw32* | cegcc*)
8261 # When not using gcc, we currently assume that we are using
8262 # Microsoft Visual C++.
8263 # hardcode_libdir_flag_spec is actually meaningless, as there is
8264 # no search path for DLLs.
8265 hardcode_libdir_flag_spec=' '
8266 allow_undefined_flag=unsupported
8267 # Tell ltmain to make .lib files, not .a files.
8269 # Tell ltmain to make .dll files, not .so files.
8271 # FIXME: Setting linknames here is a bad hack.
8272 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8273 # The linker will automatically build a .lib file if we build a DLL.
8274 old_archive_from_new_cmds='true'
8275 # FIXME: Should let the user specify the lib program.
8276 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8277 fix_srcfile_path='`cygpath -w "$srcfile"`'
8278 enable_shared_with_static_runtimes=yes
8281 darwin* | rhapsody*)
8284 archive_cmds_need_lc=no
8286 hardcode_automatic=yes
8287 hardcode_shlibpath_var=unsupported
8288 whole_archive_flag_spec=''
8289 link_all_deplibs=yes
8290 allow_undefined_flag="$_lt_dar_allow_undefined"
8291 case $cc_basename in
8292 ifort*) _lt_dar_can_shared=yes ;;
8293 *) _lt_dar_can_shared=$GCC ;;
8295 if test "$_lt_dar_can_shared" = "yes"; then
8296 output_verbose_link_cmd=echo
8297 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8298 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8299 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}"
8300 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}"
8309 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8310 hardcode_libdir_flag_spec='-L$libdir'
8311 hardcode_shlibpath_var=no
8318 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8319 # support. Future versions do this automatically, but an explicit c++rt0.o
8320 # does not break anything, and helps significantly (at the cost of a little
8323 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8324 hardcode_libdir_flag_spec='-R$libdir'
8326 hardcode_shlibpath_var=no
8329 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8331 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8333 hardcode_minus_L=yes
8334 hardcode_shlibpath_var=no
8337 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8338 freebsd* | dragonfly*)
8339 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8340 hardcode_libdir_flag_spec='-R$libdir'
8342 hardcode_shlibpath_var=no
8346 if test "$GCC" = yes; then
8347 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'
8349 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'
8351 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8352 hardcode_libdir_separator=:
8355 # hardcode_minus_L: Not really in the search PATH,
8356 # but as the default location of the library.
8357 hardcode_minus_L=yes
8358 export_dynamic_flag_spec='${wl}-E'
8362 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8363 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8365 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8367 if test "$with_gnu_ld" = no; then
8368 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8369 hardcode_libdir_flag_spec_ld='+b $libdir'
8370 hardcode_libdir_separator=:
8372 hardcode_direct_absolute=yes
8373 export_dynamic_flag_spec='${wl}-E'
8374 # hardcode_minus_L: Not really in the search PATH,
8375 # but as the default location of the library.
8376 hardcode_minus_L=yes
8381 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8384 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8387 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8390 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8396 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8399 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8402 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8406 if test "$with_gnu_ld" = no; then
8407 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8408 hardcode_libdir_separator=:
8413 hardcode_shlibpath_var=no
8417 hardcode_direct_absolute=yes
8418 export_dynamic_flag_spec='${wl}-E'
8420 # hardcode_minus_L: Not really in the search PATH,
8421 # but as the default location of the library.
8422 hardcode_minus_L=yes
8428 irix5* | irix6* | nonstopux*)
8429 if test "$GCC" = yes; then
8430 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'
8431 # Try to use the -exported_symbol ld option, if it does not
8432 # work, assume that -exports_file does not work either and
8433 # implicitly export all symbols.
8434 save_LDFLAGS="$LDFLAGS"
8435 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8440 if ac_fn_c_try_link "$LINENO"; then :
8441 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'
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 LDFLAGS="$save_LDFLAGS"
8448 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'
8449 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'
8451 archive_cmds_need_lc='no'
8452 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8453 hardcode_libdir_separator=:
8455 link_all_deplibs=yes
8458 netbsd* | netbsdelf*-gnu)
8459 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8460 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8462 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8464 hardcode_libdir_flag_spec='-R$libdir'
8466 hardcode_shlibpath_var=no
8470 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8472 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8473 hardcode_libdir_separator=:
8474 hardcode_shlibpath_var=no
8481 if test -f /usr/libexec/ld.so; then
8483 hardcode_shlibpath_var=no
8484 hardcode_direct_absolute=yes
8485 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8486 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8487 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8488 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8489 export_dynamic_flag_spec='${wl}-E'
8492 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8493 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8494 hardcode_libdir_flag_spec='-R$libdir'
8497 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8498 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8508 hardcode_libdir_flag_spec='-L$libdir'
8509 hardcode_minus_L=yes
8510 allow_undefined_flag=unsupported
8511 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'
8512 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8516 if test "$GCC" = yes; then
8517 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8518 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'
8520 allow_undefined_flag=' -expect_unresolved \*'
8521 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'
8523 archive_cmds_need_lc='no'
8524 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8525 hardcode_libdir_separator=:
8528 osf4* | osf5*) # as osf3* with the addition of -msym flag
8529 if test "$GCC" = yes; then
8530 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8531 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'
8532 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8534 allow_undefined_flag=' -expect_unresolved \*'
8535 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'
8536 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~
8537 $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'
8539 # Both c and cxx compiler support -rpath directly
8540 hardcode_libdir_flag_spec='-rpath $libdir'
8542 archive_cmds_need_lc='no'
8543 hardcode_libdir_separator=:
8547 no_undefined_flag=' -z defs'
8548 if test "$GCC" = yes; then
8550 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8551 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8552 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8554 case `$CC -V 2>&1` in
8557 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8558 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8559 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8563 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8564 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8565 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8569 hardcode_libdir_flag_spec='-R$libdir'
8570 hardcode_shlibpath_var=no
8572 solaris2.[0-5] | solaris2.[0-5].*) ;;
8574 # The compiler driver will combine and reorder linker options,
8575 # but understands `-z linker_flag'. GCC discards it without `$wl',
8576 # but is careful enough not to reorder.
8577 # Supported since Solaris 2.6 (maybe 2.5.1?)
8578 if test "$GCC" = yes; then
8579 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8581 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8585 link_all_deplibs=yes
8589 if test "x$host_vendor" = xsequent; then
8590 # Use $CC to link under sequent, because it throws in some extra .o
8591 # files that make .init and .fini sections work.
8592 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8594 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8596 hardcode_libdir_flag_spec='-L$libdir'
8598 hardcode_minus_L=yes
8599 hardcode_shlibpath_var=no
8603 case $host_vendor in
8605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8606 hardcode_direct=yes # is this really true???
8609 ## LD is ld it makes a PLAMLIB
8610 ## CC just makes a GrossModule.
8611 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8612 reload_cmds='$CC -r -o $output$reload_objs'
8616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8617 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8620 runpath_var='LD_RUN_PATH'
8621 hardcode_shlibpath_var=no
8625 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8626 hardcode_shlibpath_var=no
8627 export_dynamic_flag_spec='-Bexport'
8631 if test -d /usr/nec; then
8632 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8633 hardcode_shlibpath_var=no
8634 runpath_var=LD_RUN_PATH
8635 hardcode_runpath_var=yes
8640 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8641 no_undefined_flag='${wl}-z,text'
8642 archive_cmds_need_lc=no
8643 hardcode_shlibpath_var=no
8644 runpath_var='LD_RUN_PATH'
8646 if test "$GCC" = yes; then
8647 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8648 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8650 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8651 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8655 sysv5* | sco3.2v5* | sco5v6*)
8656 # Note: We can NOT use -z defs as we might desire, because we do not
8657 # link with -lc, and that would cause any symbols used from libc to
8658 # always be unresolved, which means just about no library would
8659 # ever link correctly. If we're not using GNU ld we use -z text
8660 # though, which does catch some bad symbols but isn't as heavy-handed
8662 no_undefined_flag='${wl}-z,text'
8663 allow_undefined_flag='${wl}-z,nodefs'
8664 archive_cmds_need_lc=no
8665 hardcode_shlibpath_var=no
8666 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8667 hardcode_libdir_separator=':'
8668 link_all_deplibs=yes
8669 export_dynamic_flag_spec='${wl}-Bexport'
8670 runpath_var='LD_RUN_PATH'
8672 if test "$GCC" = yes; then
8673 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8674 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8676 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8677 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8682 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8683 hardcode_libdir_flag_spec='-L$libdir'
8684 hardcode_shlibpath_var=no
8692 if test x$host_vendor = xsni; then
8694 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8695 export_dynamic_flag_spec='${wl}-Blargedynsym'
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8702 $as_echo "$ld_shlibs" >&6; }
8703 test "$ld_shlibs" = no && can_build_shared=no
8705 with_gnu_ld=$with_gnu_ld
8722 # Do we need to explicitly link libc?
8724 case "x$archive_cmds_need_lc" in
8726 # Assume -lc should be added
8727 archive_cmds_need_lc=yes
8729 if test "$enable_shared" = yes && test "$GCC" = yes; then
8730 case $archive_cmds in
8732 # FIXME: we may have to deal with multi-command sequences.
8735 # Test whether the compiler implicitly links with -lc since on some
8736 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8737 # to ld, don't add -lc before -lgcc.
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8739 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8741 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8744 (eval $ac_compile) 2>&5
8746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8747 test $ac_status = 0; } 2>conftest.err; then
8750 libobjs=conftest.$ac_objext
8752 wl=$lt_prog_compiler_wl
8753 pic_flag=$lt_prog_compiler_pic
8759 lt_save_allow_undefined_flag=$allow_undefined_flag
8760 allow_undefined_flag=
8761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8762 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8765 test $ac_status = 0; }
8767 archive_cmds_need_lc=no
8769 archive_cmds_need_lc=yes
8771 allow_undefined_flag=$lt_save_allow_undefined_flag
8773 cat conftest.err 1>&5
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8777 $as_echo "$archive_cmds_need_lc" >&6; }
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8941 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8943 if test "$GCC" = yes; then
8945 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8946 *) lt_awk_arg="/^libraries:/" ;;
8948 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8949 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8950 # if the path contains ";" then we assume it to be the separator
8951 # otherwise default to the standard path separator (i.e. ":") - it is
8952 # assumed that no part of a normal pathname contains ";" but that should
8953 # okay in the real world where ";" in dirpaths is itself problematic.
8954 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8956 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8958 # Ok, now we have the path, separated by spaces, we can step through it
8959 # and add multilib dir if necessary.
8960 lt_tmp_lt_search_path_spec=
8961 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8962 for lt_sys_path in $lt_search_path_spec; do
8963 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8964 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8966 test -d "$lt_sys_path" && \
8967 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8970 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8971 BEGIN {RS=" "; FS="/|\n";} {
8974 for (lt_i = NF; lt_i > 0; lt_i--) {
8975 if ($lt_i != "" && $lt_i != ".") {
8976 if ($lt_i == "..") {
8979 if (lt_count == 0) {
8980 lt_foo="/" $lt_i lt_foo;
8987 if (lt_foo != "") { lt_freq[lt_foo]++; }
8988 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8990 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8992 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8995 libname_spec='lib$name'
9003 shlibpath_overrides_runpath=unknown
9005 dynamic_linker="$host_os ld.so"
9006 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9007 need_lib_prefix=unknown
9008 hardcode_into_libs=no
9010 # when you set need_version to no, make sure it does not cause -set_version
9011 # flags to be left without arguments
9012 need_version=unknown
9017 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9018 shlibpath_var=LIBPATH
9020 # AIX 3 has no versioning support, so we append a major version to the name.
9021 soname_spec='${libname}${release}${shared_ext}$major'
9028 hardcode_into_libs=yes
9029 if test "$host_cpu" = ia64; then
9030 # AIX 5 supports IA64
9031 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9032 shlibpath_var=LD_LIBRARY_PATH
9034 # With GCC up to 2.95.x, collect2 would create an import file
9035 # for dependence libraries. The import file would start with
9036 # the line `#! .'. This would cause the generated library to
9037 # depend on `.', always an invalid library. This was fixed in
9038 # development snapshots of GCC prior to 3.0.
9040 aix4 | aix4.[01] | aix4.[01].*)
9041 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9043 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9050 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9051 # soname into executable. Probably we can add versioning support to
9052 # collect2, so additional links can be useful in future.
9053 if test "$aix_use_runtimelinking" = yes; then
9054 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9055 # instead of lib<name>.a to let people know that these are not
9056 # typical AIX shared libraries.
9057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9059 # We preserve .a as extension for shared libraries through AIX4.2
9060 # and later when we are not doing run time linking.
9061 library_names_spec='${libname}${release}.a $libname.a'
9062 soname_spec='${libname}${release}${shared_ext}$major'
9064 shlibpath_var=LIBPATH
9071 # Since July 2007 AmigaOS4 officially supports .so libraries.
9072 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9076 library_names_spec='$libname.ixlibrary $libname.a'
9077 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9078 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'
9084 library_names_spec='${libname}${shared_ext}'
9085 dynamic_linker="$host_os ld.so"
9086 shlibpath_var=LIBRARY_PATH
9092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9093 soname_spec='${libname}${release}${shared_ext}$major'
9094 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9095 shlibpath_var=LD_LIBRARY_PATH
9096 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9097 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9098 # the default ld.so.conf also contains /usr/contrib/lib and
9099 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9100 # libtool to hard-code these into programs
9103 cygwin* | mingw* | pw32* | cegcc*)
9104 version_type=windows
9109 case $GCC,$host_os in
9110 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9111 library_names_spec='$libname.dll.a'
9112 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9113 postinstall_cmds='base_file=`basename \${file}`~
9114 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9115 dldir=$destdir/`dirname \$dlpath`~
9116 test -d \$dldir || mkdir -p \$dldir~
9117 $install_prog $dir/$dlname \$dldir/$dlname~
9118 chmod a+x \$dldir/$dlname~
9119 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9120 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9122 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9123 dlpath=$dir/\$dldll~
9125 shlibpath_overrides_runpath=yes
9129 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9130 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9131 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9134 # MinGW DLLs use traditional 'lib' prefix
9135 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9136 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9137 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9138 # It is most probably a Windows format PATH printed by
9139 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9140 # path with ; separators, and with drive letters. We can handle the
9141 # drive letters (cygwin fileutils understands them), so leave them,
9142 # especially as we might pass files found there to a mingw objdump,
9143 # which wouldn't understand a cygwinified path. Ahh.
9144 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9146 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9150 # pw32 DLLs use 'pw' prefix rather than 'lib'
9151 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9157 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9160 dynamic_linker='Win32 ld.exe'
9161 # FIXME: first we should search . and the directory the executable is in
9165 darwin* | rhapsody*)
9166 dynamic_linker="$host_os dyld"
9170 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9171 soname_spec='${libname}${release}${major}$shared_ext'
9172 shlibpath_overrides_runpath=yes
9173 shlibpath_var=DYLD_LIBRARY_PATH
9174 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9176 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9177 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9185 soname_spec='${libname}${release}${shared_ext}$major'
9186 shlibpath_var=LD_LIBRARY_PATH
9193 freebsd* | dragonfly*)
9194 # DragonFly does not have aout. When/if they implement a new
9195 # versioning mechanism, adjust this.
9196 if test -x /usr/bin/objformat; then
9197 objformat=`/usr/bin/objformat`
9200 freebsd[123]*) objformat=aout ;;
9204 version_type=freebsd-$objformat
9205 case $version_type in
9207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9212 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9216 shlibpath_var=LD_LIBRARY_PATH
9219 shlibpath_overrides_runpath=yes
9221 freebsd3.[01]* | freebsdelf3.[01]*)
9222 shlibpath_overrides_runpath=yes
9223 hardcode_into_libs=yes
9225 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9226 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9227 shlibpath_overrides_runpath=no
9228 hardcode_into_libs=yes
9230 *) # from 4.6 on, and DragonFly
9231 shlibpath_overrides_runpath=yes
9232 hardcode_into_libs=yes
9241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9242 soname_spec='${libname}${release}${shared_ext}$major'
9243 shlibpath_var=LD_LIBRARY_PATH
9244 hardcode_into_libs=yes
9247 hpux9* | hpux10* | hpux11*)
9248 # Give a soname corresponding to the major version so that dld.sl refuses to
9249 # link against other versions.
9256 hardcode_into_libs=yes
9257 dynamic_linker="$host_os dld.so"
9258 shlibpath_var=LD_LIBRARY_PATH
9259 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9261 soname_spec='${libname}${release}${shared_ext}$major'
9262 if test "X$HPUX_IA64_MODE" = X32; then
9263 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9265 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9267 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9271 hardcode_into_libs=yes
9272 dynamic_linker="$host_os dld.sl"
9273 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9274 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9276 soname_spec='${libname}${release}${shared_ext}$major'
9277 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9278 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9282 dynamic_linker="$host_os dld.sl"
9283 shlibpath_var=SHLIB_PATH
9284 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9286 soname_spec='${libname}${release}${shared_ext}$major'
9289 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9290 postinstall_cmds='chmod 555 $lib'
9297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9298 soname_spec='${libname}${release}${shared_ext}$major'
9299 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9300 shlibpath_var=LD_LIBRARY_PATH
9301 shlibpath_overrides_runpath=no
9302 hardcode_into_libs=yes
9305 irix5* | irix6* | nonstopux*)
9307 nonstopux*) version_type=nonstopux ;;
9309 if test "$lt_cv_prog_gnu_ld" = yes; then
9317 soname_spec='${libname}${release}${shared_ext}$major'
9318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9320 irix5* | nonstopux*)
9324 case $LD in # libtool.m4 will add one of these switches to LD
9325 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9326 libsuff= shlibsuff= libmagic=32-bit;;
9327 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9328 libsuff=32 shlibsuff=N32 libmagic=N32;;
9329 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9330 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9331 *) libsuff= shlibsuff= libmagic=never-match;;
9335 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9336 shlibpath_overrides_runpath=no
9337 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9338 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9339 hardcode_into_libs=yes
9342 # No shared lib support for Linux oldld, aout, or coff.
9343 linux*oldld* | linux*aout* | linux*coff*)
9347 # This must be Linux ELF.
9348 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9353 soname_spec='${libname}${release}${shared_ext}$major'
9354 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9355 shlibpath_var=LD_LIBRARY_PATH
9356 shlibpath_overrides_runpath=no
9357 # Some binutils ld are patched to set DT_RUNPATH
9358 save_LDFLAGS=$LDFLAGS
9360 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9361 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9373 if ac_fn_c_try_link "$LINENO"; then :
9374 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9375 shlibpath_overrides_runpath=yes
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LDFLAGS=$save_LDFLAGS
9383 # This implies no fast_install, which is unacceptable.
9384 # Some rework will be needed to allow for fast_install
9385 # before this can be enabled.
9386 hardcode_into_libs=yes
9388 # Append ld.so.conf contents to the search path
9389 if test -f /etc/ld.so.conf; then
9390 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' ' '`
9391 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9394 # We used to test for /lib/ld.so.1 and disable shared libraries on
9395 # powerpc, because MkLinux only supported shared libraries with the
9396 # GNU dynamic linker. Since this was broken with cross compilers,
9397 # most powerpc-linux boxes support dynamic linking these days and
9398 # people can always --disable-shared, the test was removed, and we
9399 # assume the GNU/Linux dynamic linker is in use.
9400 dynamic_linker='GNU/Linux ld.so'
9407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9408 soname_spec='${libname}${release}${shared_ext}$major'
9409 shlibpath_var=LD_LIBRARY_PATH
9410 shlibpath_overrides_runpath=no
9411 hardcode_into_libs=yes
9412 dynamic_linker='NetBSD ld.elf_so'
9419 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9421 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9422 dynamic_linker='NetBSD (a.out) ld.so'
9424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9425 soname_spec='${libname}${release}${shared_ext}$major'
9426 dynamic_linker='NetBSD ld.elf_so'
9428 shlibpath_var=LD_LIBRARY_PATH
9429 shlibpath_overrides_runpath=yes
9430 hardcode_into_libs=yes
9435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9436 shlibpath_var=LD_LIBRARY_PATH
9437 shlibpath_overrides_runpath=yes
9444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9445 soname_spec='${libname}${release}${shared_ext}$major'
9446 shlibpath_var=LD_LIBRARY_PATH
9447 shlibpath_overrides_runpath=no
9448 hardcode_into_libs=yes
9449 dynamic_linker='ldqnx.so'
9454 sys_lib_dlsearch_path_spec="/usr/lib"
9456 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9458 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9459 *) need_version=no ;;
9461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9462 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9463 shlibpath_var=LD_LIBRARY_PATH
9464 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9466 openbsd2.[89] | openbsd2.[89].*)
9467 shlibpath_overrides_runpath=no
9470 shlibpath_overrides_runpath=yes
9474 shlibpath_overrides_runpath=yes
9479 libname_spec='$name'
9482 library_names_spec='$libname${shared_ext} $libname.a'
9483 dynamic_linker='OS/2 ld.exe'
9484 shlibpath_var=LIBPATH
9487 osf3* | osf4* | osf5*)
9491 soname_spec='${libname}${release}${shared_ext}$major'
9492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9493 shlibpath_var=LD_LIBRARY_PATH
9494 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9495 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9507 soname_spec='${libname}${release}${shared_ext}$major'
9508 shlibpath_var=LD_LIBRARY_PATH
9509 shlibpath_overrides_runpath=yes
9510 hardcode_into_libs=yes
9511 # ldd complains unless libraries are executable
9512 postinstall_cmds='chmod +x $lib'
9517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9518 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9519 shlibpath_var=LD_LIBRARY_PATH
9520 shlibpath_overrides_runpath=yes
9521 if test "$with_gnu_ld" = yes; then
9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9530 soname_spec='${libname}${release}${shared_ext}$major'
9531 shlibpath_var=LD_LIBRARY_PATH
9532 case $host_vendor in
9534 shlibpath_overrides_runpath=no
9536 runpath_var=LD_RUN_PATH
9544 shlibpath_overrides_runpath=no
9545 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9551 if test -d /usr/nec ;then
9553 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9554 soname_spec='$libname${shared_ext}.$major'
9555 shlibpath_var=LD_LIBRARY_PATH
9559 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9560 version_type=freebsd-elf
9563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9564 soname_spec='${libname}${release}${shared_ext}$major'
9565 shlibpath_var=LD_LIBRARY_PATH
9566 shlibpath_overrides_runpath=yes
9567 hardcode_into_libs=yes
9568 if test "$with_gnu_ld" = yes; then
9569 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9571 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9574 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9578 sys_lib_dlsearch_path_spec='/usr/lib'
9582 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9587 shlibpath_var=LD_LIBRARY_PATH
9588 shlibpath_overrides_runpath=no
9589 hardcode_into_libs=yes
9594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9595 soname_spec='${libname}${release}${shared_ext}$major'
9596 shlibpath_var=LD_LIBRARY_PATH
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9604 $as_echo "$dynamic_linker" >&6; }
9605 test "$dynamic_linker" = no && can_build_shared=no
9607 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9608 if test "$GCC" = yes; then
9609 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9612 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9613 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9615 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9616 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9706 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9708 if test -n "$hardcode_libdir_flag_spec" ||
9709 test -n "$runpath_var" ||
9710 test "X$hardcode_automatic" = "Xyes" ; then
9712 # We can hardcode non-existent directories.
9713 if test "$hardcode_direct" != no &&
9714 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9715 # have to relink, otherwise we might link with an installed library
9716 # when we should be linking with a yet-to-be-installed one
9717 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9718 test "$hardcode_minus_L" != no; then
9719 # Linking always hardcodes the temporary library directory.
9720 hardcode_action=relink
9722 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9723 hardcode_action=immediate
9726 # We cannot hardcode anything, or else we can only hardcode existing
9728 hardcode_action=unsupported
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9731 $as_echo "$hardcode_action" >&6; }
9733 if test "$hardcode_action" = relink ||
9734 test "$inherit_rpath" = yes; then
9735 # Fast installation is not supported
9736 enable_fast_install=no
9737 elif test "$shlibpath_overrides_runpath" = yes ||
9738 test "$enable_shared" = no; then
9739 # Fast installation is not necessary
9740 enable_fast_install=needless
9748 if test "x$enable_dlopen" != xyes; then
9749 enable_dlopen=unknown
9750 enable_dlopen_self=unknown
9751 enable_dlopen_self_static=unknown
9758 lt_cv_dlopen="load_add_on"
9760 lt_cv_dlopen_self=yes
9763 mingw* | pw32* | cegcc*)
9764 lt_cv_dlopen="LoadLibrary"
9769 lt_cv_dlopen="dlopen"
9774 # if libdl is installed we need to link against it
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9777 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9778 $as_echo_n "(cached) " >&6
9780 ac_check_lib_save_LIBS=$LIBS
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 ac_cv_lib_dl_dlopen=yes
9803 ac_cv_lib_dl_dlopen=no
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_lib_save_LIBS
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9811 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9812 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9817 lt_cv_dlopen_self=yes
9824 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9825 if test "x$ac_cv_func_shl_load" = x""yes; then :
9826 lt_cv_dlopen="shl_load"
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9829 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9830 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9831 $as_echo_n "(cached) " >&6
9833 ac_check_lib_save_LIBS=$LIBS
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9853 if ac_fn_c_try_link "$LINENO"; then :
9854 ac_cv_lib_dld_shl_load=yes
9856 ac_cv_lib_dld_shl_load=no
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_lib_save_LIBS
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9863 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9864 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
9865 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9867 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9868 if test "x$ac_cv_func_dlopen" = x""yes; then :
9869 lt_cv_dlopen="dlopen"
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9872 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9874 $as_echo_n "(cached) " >&6
9876 ac_check_lib_save_LIBS=$LIBS
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9896 if ac_fn_c_try_link "$LINENO"; then :
9897 ac_cv_lib_dl_dlopen=yes
9899 ac_cv_lib_dl_dlopen=no
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 LIBS=$ac_check_lib_save_LIBS
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9906 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9907 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9908 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9911 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9912 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9913 $as_echo_n "(cached) " >&6
9915 ac_check_lib_save_LIBS=$LIBS
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9920 /* Override any GCC internal prototype to avoid an error.
9921 Use char because int might match the return type of a GCC
9922 builtin and then its argument prototype would still apply. */
9935 if ac_fn_c_try_link "$LINENO"; then :
9936 ac_cv_lib_svld_dlopen=yes
9938 ac_cv_lib_svld_dlopen=no
9940 rm -f core conftest.err conftest.$ac_objext \
9941 conftest$ac_exeext conftest.$ac_ext
9942 LIBS=$ac_check_lib_save_LIBS
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9945 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9946 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
9947 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9950 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9951 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9952 $as_echo_n "(cached) " >&6
9954 ac_check_lib_save_LIBS=$LIBS
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_lib_dld_dld_link=yes
9977 ac_cv_lib_dld_dld_link=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_lib_save_LIBS
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9984 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9985 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
9986 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10007 if test "x$lt_cv_dlopen" != xno; then
10013 case $lt_cv_dlopen in
10015 save_CPPFLAGS="$CPPFLAGS"
10016 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10018 save_LDFLAGS="$LDFLAGS"
10019 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10022 LIBS="$lt_cv_dlopen_libs $LIBS"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10025 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10026 if test "${lt_cv_dlopen_self+set}" = set; then :
10027 $as_echo_n "(cached) " >&6
10029 if test "$cross_compiling" = yes; then :
10030 lt_cv_dlopen_self=cross
10032 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10033 lt_status=$lt_dlunknown
10034 cat > conftest.$ac_ext <<_LT_EOF
10035 #line 10035 "configure"
10036 #include "confdefs.h"
10045 # define LT_DLGLOBAL RTLD_GLOBAL
10048 # define LT_DLGLOBAL DL_GLOBAL
10050 # define LT_DLGLOBAL 0
10054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10055 find out it does not work in some platform. */
10056 #ifndef LT_DLLAZY_OR_NOW
10058 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10061 # define LT_DLLAZY_OR_NOW DL_LAZY
10064 # define LT_DLLAZY_OR_NOW RTLD_NOW
10067 # define LT_DLLAZY_OR_NOW DL_NOW
10069 # define LT_DLLAZY_OR_NOW 0
10076 void fnord() { int i=42;}
10079 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10080 int status = $lt_dlunknown;
10084 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10085 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10086 /* dlclose (self); */
10094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10095 (eval $ac_link) 2>&5
10097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10098 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10099 (./conftest; exit; ) >&5 2>/dev/null
10101 case x$lt_status in
10102 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10103 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10104 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10107 # compilation failed
10108 lt_cv_dlopen_self=no
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10116 $as_echo "$lt_cv_dlopen_self" >&6; }
10118 if test "x$lt_cv_dlopen_self" = xyes; then
10119 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10121 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10122 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10123 $as_echo_n "(cached) " >&6
10125 if test "$cross_compiling" = yes; then :
10126 lt_cv_dlopen_self_static=cross
10128 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10129 lt_status=$lt_dlunknown
10130 cat > conftest.$ac_ext <<_LT_EOF
10131 #line 10131 "configure"
10132 #include "confdefs.h"
10141 # define LT_DLGLOBAL RTLD_GLOBAL
10144 # define LT_DLGLOBAL DL_GLOBAL
10146 # define LT_DLGLOBAL 0
10150 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10151 find out it does not work in some platform. */
10152 #ifndef LT_DLLAZY_OR_NOW
10154 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10157 # define LT_DLLAZY_OR_NOW DL_LAZY
10160 # define LT_DLLAZY_OR_NOW RTLD_NOW
10163 # define LT_DLLAZY_OR_NOW DL_NOW
10165 # define LT_DLLAZY_OR_NOW 0
10172 void fnord() { int i=42;}
10175 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10176 int status = $lt_dlunknown;
10180 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10181 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10182 /* dlclose (self); */
10190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10191 (eval $ac_link) 2>&5
10193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10194 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10195 (./conftest; exit; ) >&5 2>/dev/null
10197 case x$lt_status in
10198 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10199 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10200 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10203 # compilation failed
10204 lt_cv_dlopen_self_static=no
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10212 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10215 CPPFLAGS="$save_CPPFLAGS"
10216 LDFLAGS="$save_LDFLAGS"
10221 case $lt_cv_dlopen_self in
10222 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10223 *) enable_dlopen_self=unknown ;;
10226 case $lt_cv_dlopen_self_static in
10227 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10228 *) enable_dlopen_self_static=unknown ;;
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10251 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10252 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10253 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10254 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10256 $as_echo "yes" >&6; }
10258 # FIXME - insert some real tests, host_os isn't really good enough
10261 if test -n "$STRIP" ; then
10262 striplib="$STRIP -x"
10263 old_striplib="$STRIP -S"
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10265 $as_echo "yes" >&6; }
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10268 $as_echo "no" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10273 $as_echo "no" >&6; }
10289 # Report which library types will actually be built
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10291 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10293 $as_echo "$can_build_shared" >&6; }
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10296 $as_echo_n "checking whether to build shared libraries... " >&6; }
10297 test "$can_build_shared" = "no" && enable_shared=no
10299 # On AIX, shared libraries and static libraries use the same namespace, and
10300 # are all built from PIC.
10303 test "$enable_shared" = yes && enable_static=no
10304 if test -n "$RANLIB"; then
10305 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10306 postinstall_cmds='$RANLIB $lib'
10311 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10312 test "$enable_shared" = yes && enable_static=no
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10317 $as_echo "$enable_shared" >&6; }
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10320 $as_echo_n "checking whether to build static libraries... " >&6; }
10321 # Make sure either enable_shared or enable_static is yes.
10322 test "$enable_shared" = yes || enable_static=yes
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10324 $as_echo "$enable_static" >&6; }
10331 ac_cpp='$CPP $CPPFLAGS'
10332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10350 ac_config_commands="$ac_config_commands libtool"
10355 # Only expand once:
10359 # Checks for programs.
10361 ac_cpp='$CPP $CPPFLAGS'
10362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10365 if test -n "$ac_tool_prefix"; then
10366 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10367 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10369 $as_echo_n "checking for $ac_word... " >&6; }
10370 if test "${ac_cv_prog_CC+set}" = set; then :
10371 $as_echo_n "(cached) " >&6
10373 if test -n "$CC"; then
10374 ac_cv_prog_CC="$CC" # Let the user override the test.
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10383 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10394 if test -n "$CC"; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10396 $as_echo "$CC" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10399 $as_echo "no" >&6; }
10404 if test -z "$ac_cv_prog_CC"; then
10406 # Extract the first word of "gcc", so it can be a program name with args.
10407 set dummy gcc; ac_word=$2
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10409 $as_echo_n "checking for $ac_word... " >&6; }
10410 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10411 $as_echo_n "(cached) " >&6
10413 if test -n "$ac_ct_CC"; then
10414 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10417 for as_dir in $PATH
10420 test -z "$as_dir" && as_dir=.
10421 for ac_exec_ext in '' $ac_executable_extensions; do
10422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10423 ac_cv_prog_ac_ct_CC="gcc"
10424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10433 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10434 if test -n "$ac_ct_CC"; then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10436 $as_echo "$ac_ct_CC" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439 $as_echo "no" >&6; }
10442 if test "x$ac_ct_CC" = x; then
10445 case $cross_compiling:$ac_tool_warned in
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10449 ac_tool_warned=yes ;;
10454 CC="$ac_cv_prog_CC"
10457 if test -z "$CC"; then
10458 if test -n "$ac_tool_prefix"; then
10459 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10460 set dummy ${ac_tool_prefix}cc; ac_word=$2
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10462 $as_echo_n "checking for $ac_word... " >&6; }
10463 if test "${ac_cv_prog_CC+set}" = set; then :
10464 $as_echo_n "(cached) " >&6
10466 if test -n "$CC"; then
10467 ac_cv_prog_CC="$CC" # Let the user override the test.
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10473 test -z "$as_dir" && as_dir=.
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10476 ac_cv_prog_CC="${ac_tool_prefix}cc"
10477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10487 if test -n "$CC"; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10489 $as_echo "$CC" >&6; }
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 $as_echo "no" >&6; }
10498 if test -z "$CC"; then
10499 # Extract the first word of "cc", so it can be a program name with args.
10500 set dummy cc; ac_word=$2
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10502 $as_echo_n "checking for $ac_word... " >&6; }
10503 if test "${ac_cv_prog_CC+set}" = set; then :
10504 $as_echo_n "(cached) " >&6
10506 if test -n "$CC"; then
10507 ac_cv_prog_CC="$CC" # Let the user override the test.
10509 ac_prog_rejected=no
10510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10511 for as_dir in $PATH
10514 test -z "$as_dir" && as_dir=.
10515 for ac_exec_ext in '' $ac_executable_extensions; do
10516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10517 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10518 ac_prog_rejected=yes
10522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10529 if test $ac_prog_rejected = yes; then
10530 # We found a bogon in the path, so make sure we never use it.
10531 set dummy $ac_cv_prog_CC
10533 if test $# != 0; then
10534 # We chose a different compiler from the bogus one.
10535 # However, it has the same basename, so the bogon will be chosen
10536 # first if we set CC to just the basename; use the full file name.
10538 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10544 if test -n "$CC"; then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10546 $as_echo "$CC" >&6; }
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10549 $as_echo "no" >&6; }
10554 if test -z "$CC"; then
10555 if test -n "$ac_tool_prefix"; then
10556 for ac_prog in cl.exe
10558 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10559 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10561 $as_echo_n "checking for $ac_word... " >&6; }
10562 if test "${ac_cv_prog_CC+set}" = set; then :
10563 $as_echo_n "(cached) " >&6
10565 if test -n "$CC"; then
10566 ac_cv_prog_CC="$CC" # Let the user override the test.
10568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10569 for as_dir in $PATH
10572 test -z "$as_dir" && as_dir=.
10573 for ac_exec_ext in '' $ac_executable_extensions; do
10574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10575 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10586 if test -n "$CC"; then
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10588 $as_echo "$CC" >&6; }
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10591 $as_echo "no" >&6; }
10595 test -n "$CC" && break
10598 if test -z "$CC"; then
10600 for ac_prog in cl.exe
10602 # Extract the first word of "$ac_prog", so it can be a program name with args.
10603 set dummy $ac_prog; ac_word=$2
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10605 $as_echo_n "checking for $ac_word... " >&6; }
10606 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10607 $as_echo_n "(cached) " >&6
10609 if test -n "$ac_ct_CC"; then
10610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10613 for as_dir in $PATH
10616 test -z "$as_dir" && as_dir=.
10617 for ac_exec_ext in '' $ac_executable_extensions; do
10618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10619 ac_cv_prog_ac_ct_CC="$ac_prog"
10620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10630 if test -n "$ac_ct_CC"; then
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10632 $as_echo "$ac_ct_CC" >&6; }
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10635 $as_echo "no" >&6; }
10639 test -n "$ac_ct_CC" && break
10642 if test "x$ac_ct_CC" = x; then
10645 case $cross_compiling:$ac_tool_warned in
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10649 ac_tool_warned=yes ;;
10658 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10660 as_fn_error $? "no acceptable C compiler found in \$PATH
10661 See \`config.log' for more details" "$LINENO" 5 ; }
10663 # Provide some information about the compiler.
10664 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10667 for ac_option in --version -v -V -qversion; do
10668 { { ac_try="$ac_compiler $ac_option >&5"
10669 case "(($ac_try" in
10670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10671 *) ac_try_echo=$ac_try;;
10673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10674 $as_echo "$ac_try_echo"; } >&5
10675 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10677 if test -s conftest.err; then
10679 ... rest of stderr output deleted ...
10680 10q' conftest.err >conftest.er1
10681 cat conftest.er1 >&5
10683 rm -f conftest.er1 conftest.err
10684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10685 test $ac_status = 0; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10689 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10690 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10691 $as_echo_n "(cached) " >&6
10693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10707 if ac_fn_c_try_compile "$LINENO"; then :
10708 ac_compiler_gnu=yes
10712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10713 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
10717 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
10718 if test $ac_compiler_gnu = yes; then
10723 ac_test_CFLAGS=${CFLAGS+set}
10724 ac_save_CFLAGS=$CFLAGS
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10726 $as_echo_n "checking whether $CC accepts -g... " >&6; }
10727 if test "${ac_cv_prog_cc_g+set}" = set; then :
10728 $as_echo_n "(cached) " >&6
10730 ac_save_c_werror_flag=$ac_c_werror_flag
10731 ac_c_werror_flag=yes
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10745 if ac_fn_c_try_compile "$LINENO"; then :
10746 ac_cv_prog_cc_g=yes
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10760 if ac_fn_c_try_compile "$LINENO"; then :
10763 ac_c_werror_flag=$ac_save_c_werror_flag
10765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10766 /* end confdefs.h. */
10776 if ac_fn_c_try_compile "$LINENO"; then :
10777 ac_cv_prog_cc_g=yes
10779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10784 ac_c_werror_flag=$ac_save_c_werror_flag
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
10787 $as_echo "$ac_cv_prog_cc_g" >&6; }
10788 if test "$ac_test_CFLAGS" = set; then
10789 CFLAGS=$ac_save_CFLAGS
10790 elif test $ac_cv_prog_cc_g = yes; then
10791 if test "$GCC" = yes; then
10797 if test "$GCC" = yes; then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
10804 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
10805 if test "${ac_cv_prog_cc_c89+set}" = set; then :
10806 $as_echo_n "(cached) " >&6
10808 ac_cv_prog_cc_c89=no
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10812 #include <stdarg.h>
10814 #include <sys/types.h>
10815 #include <sys/stat.h>
10816 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10817 struct buf { int x; };
10818 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10819 static char *e (p, i)
10825 static char *f (char * (*g) (char **, int), char **p, ...)
10830 s = g (p, va_arg (v,int));
10835 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10836 function prototypes and stuff, but not '\xHH' hex character constants.
10837 These don't provoke an error unfortunately, instead are silently treated
10838 as 'x'. The following induces an error, until -std is added to get
10839 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10840 array size at least. It's necessary to write '\x00'==0 to get something
10841 that's true only with -std. */
10842 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10844 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10845 inside strings and character constants. */
10847 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10849 int test (int i, double x);
10850 struct s1 {int (*f) (int a);};
10851 struct s2 {int (*f) (double a);};
10852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10863 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10864 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10866 CC="$ac_save_CC $ac_arg"
10867 if ac_fn_c_try_compile "$LINENO"; then :
10868 ac_cv_prog_cc_c89=$ac_arg
10870 rm -f core conftest.err conftest.$ac_objext
10871 test "x$ac_cv_prog_cc_c89" != "xno" && break
10873 rm -f conftest.$ac_ext
10878 case "x$ac_cv_prog_cc_c89" in
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10881 $as_echo "none needed" >&6; } ;;
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10884 $as_echo "unsupported" >&6; } ;;
10886 CC="$CC $ac_cv_prog_cc_c89"
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
10888 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
10890 if test "x$ac_cv_prog_cc_c89" != xno; then :
10895 ac_cpp='$CPP $CPPFLAGS'
10896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10900 depcc="$CC" am_compiler_list=
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10903 $as_echo_n "checking dependency style of $depcc... " >&6; }
10904 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10907 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10908 # We make a subdir and do the tests there. Otherwise we can end up
10909 # making bogus files that we don't know about and never remove. For
10910 # instance it was reported that on HP-UX the gcc test will end up
10911 # making a dummy file named `D' -- because `-MD' means `put the output
10914 # Copy depcomp to subdir because otherwise we won't find it if we're
10915 # using a relative directory.
10916 cp "$am_depcomp" conftest.dir
10918 # We will build objects and dependencies in a subdirectory because
10919 # it helps to detect inapplicable dependency modes. For instance
10920 # both Tru64's cc and ICC support -MD to output dependencies as a
10921 # side effect of compilation, but ICC will put the dependencies in
10922 # the current directory while Tru64 will put them in the object
10926 am_cv_CC_dependencies_compiler_type=none
10927 if test "$am_compiler_list" = ""; then
10928 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10930 am__universal=false
10931 case " $depcc " in #(
10932 *\ -arch\ *\ -arch\ *) am__universal=true ;;
10935 for depmode in $am_compiler_list; do
10936 # Setup a source with many dependencies, because some compilers
10937 # like to wrap large dependency lists on column 80 (with \), and
10938 # we should not choose a depcomp mode which is confused by this.
10940 # We need to recreate these files for each test, as the compiler may
10941 # overwrite some of them when testing with obscure command lines.
10942 # This happens at least with the AIX C compiler.
10944 for i in 1 2 3 4 5 6; do
10945 echo '#include "conftst'$i'.h"' >> sub/conftest.c
10946 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10947 # Solaris 8's {/usr,}/bin/sh.
10948 touch sub/conftst$i.h
10950 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10952 # We check with `-c' and `-o' for the sake of the "dashmstdout"
10953 # mode. It turns out that the SunPro C++ compiler does not properly
10954 # handle `-M -o', and we need to detect this. Also, some Intel
10955 # versions had trouble with output in subdirs
10956 am__obj=sub/conftest.${OBJEXT-o}
10957 am__minus_obj="-o $am__obj"
10960 # This depmode causes a compiler race in universal mode.
10961 test "$am__universal" = false || continue
10964 # after this tag, mechanisms are not by side-effect, so they'll
10965 # only be used when explicitly requested
10966 if test "x$enable_dependency_tracking" = xyes; then
10972 msvisualcpp | msvcmsys)
10973 # This compiler won't grok `-c -o', but also, the minuso test has
10974 # not run yet. These depmodes are late enough in the game, and
10975 # so weak that their functioning should not be impacted.
10976 am__obj=conftest.${OBJEXT-o}
10981 if depmode=$depmode \
10982 source=sub/conftest.c object=$am__obj \
10983 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10984 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10985 >/dev/null 2>conftest.err &&
10986 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10987 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10988 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10989 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10990 # icc doesn't choke on unknown options, it will just issue warnings
10991 # or remarks (even with -Werror). So we grep stderr for any message
10992 # that says an option was ignored or not supported.
10993 # When given -MP, icc 7.0 and 7.1 complain thusly:
10994 # icc: Command line warning: ignoring option '-M'; no argument required
10995 # The diagnosis changed in icc 8.0:
10996 # icc: Command line remark: option '-MP' not supported
10997 if (grep 'ignoring option' conftest.err ||
10998 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10999 am_cv_CC_dependencies_compiler_type=$depmode
11006 rm -rf conftest.dir
11008 am_cv_CC_dependencies_compiler_type=none
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11013 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11014 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11017 test "x$enable_dependency_tracking" != xno \
11018 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11019 am__fastdepCC_TRUE=
11020 am__fastdepCC_FALSE='#'
11022 am__fastdepCC_TRUE='#'
11023 am__fastdepCC_FALSE=
11029 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile mtdev.pc"
11031 cat >confcache <<\_ACEOF
11032 # This file is a shell script that caches the results of configure
11033 # tests run on this system so they can be shared between configure
11034 # scripts and configure runs, see configure's option --config-cache.
11035 # It is not useful on other systems. If it contains results you don't
11036 # want to keep, you may remove or edit it.
11038 # config.status only pays attention to the cache file if you give it
11039 # the --recheck option to rerun configure.
11041 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11042 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11043 # following values.
11047 # The following way of writing the cache mishandles newlines in values,
11048 # but we know of no workaround that is simple, portable, and efficient.
11049 # So, we kill variables containing newlines.
11050 # Ultrix sh set writes to stderr and can't be redirected directly,
11051 # and sets the high bit in the cache file unless we assign to the vars.
11053 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11054 eval ac_val=\$$ac_var
11058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11062 _ | IFS | as_nl) ;; #(
11063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11064 *) { eval $ac_var=; unset $ac_var;} ;;
11070 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11071 *${as_nl}ac_space=\ *)
11072 # `set' does not quote correctly, so add quotes: double-quote
11073 # substitution turns \\\\ into \\, and sed turns \\ into \.
11076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11079 # `set' quotes correctly as required by POSIX, so do not add quotes.
11080 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11089 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11091 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11093 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11094 if test -w "$cache_file"; then
11095 test "x$cache_file" != "x/dev/null" &&
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11097 $as_echo "$as_me: updating cache $cache_file" >&6;}
11098 cat confcache >$cache_file
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11101 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11106 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11107 # Let make expand exec_prefix.
11108 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11110 DEFS=-DHAVE_CONFIG_H
11115 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11116 # 1. Remove the extension, and $U if already installed.
11117 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11118 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11119 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11120 # will be set to the directory where LIBOBJS objects are built.
11121 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11122 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11124 LIBOBJS=$ac_libobjs
11126 LTLIBOBJS=$ac_ltlibobjs
11129 if test -n "$EXEEXT"; then
11131 am__EXEEXT_FALSE='#'
11133 am__EXEEXT_TRUE='#'
11137 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11138 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
11139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11141 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11142 as_fn_error $? "conditional \"AMDEP\" was never defined.
11143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11145 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11146 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11149 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11150 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11154 : ${CONFIG_STATUS=./config.status}
11156 ac_clean_files_save=$ac_clean_files
11157 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11159 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11161 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11163 # Generated by $as_me.
11164 # Run this file to recreate the current configuration.
11165 # Compiler output produced by configure, useful for debugging
11166 # configure, is in config.log if it exists.
11169 ac_cs_recheck=false
11172 SHELL=\${CONFIG_SHELL-$SHELL}
11175 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11176 ## -------------------- ##
11177 ## M4sh Initialization. ##
11178 ## -------------------- ##
11180 # Be more Bourne compatible
11181 DUALCASE=1; export DUALCASE # for MKS sh
11182 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11185 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11186 # is contrary to our usage. Disable this feature.
11187 alias -g '${1+"$@"}'='"$@"'
11188 setopt NO_GLOB_SUBST
11190 case `(set -o) 2>/dev/null` in #(
11202 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11203 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11204 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11205 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11206 # Prefer a ksh shell builtin over an external printf program on Solaris,
11207 # but without wasting forks for bash or zsh.
11208 if test -z "$BASH_VERSION$ZSH_VERSION" \
11209 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11210 as_echo='print -r --'
11211 as_echo_n='print -rn --'
11212 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11213 as_echo='printf %s\n'
11214 as_echo_n='printf %s'
11216 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11217 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11218 as_echo_n='/usr/ucb/echo -n'
11220 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11221 as_echo_n_body='eval
11225 expr "X$arg" : "X\\(.*\\)$as_nl";
11226 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11228 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11230 export as_echo_n_body
11231 as_echo_n='sh -c $as_echo_n_body as_echo'
11233 export as_echo_body
11234 as_echo='sh -c $as_echo_body as_echo'
11237 # The user is always right.
11238 if test "${PATH_SEPARATOR+set}" != set; then
11240 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11241 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11248 # We need space, tab and new line, in precisely that order. Quoting is
11249 # there to prevent editors from complaining about space-tab.
11250 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11251 # splitting by setting IFS to empty value.)
11254 # Find who we are. Look in the path if we contain no directory separator.
11256 *[\\/]* ) as_myself=$0 ;;
11257 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11258 for as_dir in $PATH
11261 test -z "$as_dir" && as_dir=.
11262 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11268 # We did not find ourselves, most probably we were run as `sh COMMAND'
11269 # in which case we are not to be found in the path.
11270 if test "x$as_myself" = x; then
11273 if test ! -f "$as_myself"; then
11274 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11278 # Unset variables that we do not need and which cause bugs (e.g. in
11279 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11280 # suppresses any "Segmentation fault" message there. '((' could
11281 # trigger a bug in pdksh 5.2.14.
11282 for as_var in BASH_ENV ENV MAIL MAILPATH
11283 do eval test x\${$as_var+set} = xset \
11284 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11300 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11301 # ----------------------------------------
11302 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11303 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11304 # script with STATUS, using 1 if that was 0.
11307 as_status=$1; test $as_status -eq 0 && as_status=1
11309 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11310 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11312 $as_echo "$as_me: error: $2" >&2
11313 as_fn_exit $as_status
11317 # as_fn_set_status STATUS
11318 # -----------------------
11319 # Set $? to STATUS, without forking.
11320 as_fn_set_status ()
11323 } # as_fn_set_status
11325 # as_fn_exit STATUS
11326 # -----------------
11327 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11331 as_fn_set_status $1
11337 # Portably unset VAR.
11340 { eval $1=; unset $1;}
11342 as_unset=as_fn_unset
11343 # as_fn_append VAR VALUE
11344 # ----------------------
11345 # Append the text in VALUE to the end of the definition contained in VAR. Take
11346 # advantage of any shell optimizations that allow amortized linear growth over
11347 # repeated appends, instead of the typical quadratic growth present in naive
11349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11350 eval 'as_fn_append ()
11361 # as_fn_arith ARG...
11362 # ------------------
11363 # Perform arithmetic evaluation on the ARGs, and store the result in the
11364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11365 # must be portable across $(()) and expr.
11366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11367 eval 'as_fn_arith ()
11374 as_val=`expr "$@" || test $? -eq 1`
11379 if expr a : '\(a\)' >/dev/null 2>&1 &&
11380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11387 as_basename=basename
11392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11398 as_me=`$as_basename -- "$0" ||
11399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11400 X"$0" : 'X\(//\)$' \| \
11401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11403 sed '/^.*\/\([^/][^/]*\)\/*$/{
11417 # Avoid depending upon Character Ranges.
11418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11421 as_cr_digits='0123456789'
11422 as_cr_alnum=$as_cr_Letters$as_cr_digits
11424 ECHO_C= ECHO_N= ECHO_T=
11425 case `echo -n x` in #(((((
11427 case `echo 'xy\c'` in
11428 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11430 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11437 rm -f conf$$ conf$$.exe conf$$.file
11438 if test -d conf$$.dir; then
11439 rm -f conf$$.dir/conf$$.file
11442 mkdir conf$$.dir 2>/dev/null
11444 if (echo >conf$$.file) 2>/dev/null; then
11445 if ln -s conf$$.file conf$$ 2>/dev/null; then
11447 # ... but there are two gotchas:
11448 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11449 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11450 # In both cases, we have to default to `cp -p'.
11451 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11453 elif ln conf$$.file conf$$ 2>/dev/null; then
11461 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11462 rmdir conf$$.dir 2>/dev/null
11467 # Create "$as_dir" as a directory, including parents if necessary.
11472 -*) as_dir=./$as_dir;;
11474 test -d "$as_dir" || eval $as_mkdir_p || {
11478 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11479 *) as_qdir=$as_dir;;
11481 as_dirs="'$as_qdir' $as_dirs"
11482 as_dir=`$as_dirname -- "$as_dir" ||
11483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11484 X"$as_dir" : 'X\(//\)[^/]' \| \
11485 X"$as_dir" : 'X\(//\)$' \| \
11486 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11487 $as_echo X"$as_dir" |
11488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11492 /^X\(\/\/\)[^/].*/{
11505 test -d "$as_dir" && break
11507 test -z "$as_dirs" || eval "mkdir $as_dirs"
11508 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11512 if mkdir -p . 2>/dev/null; then
11513 as_mkdir_p='mkdir -p "$as_dir"'
11515 test -d ./-p && rmdir ./-p
11519 if test -x / >/dev/null 2>&1; then
11520 as_test_x='test -x'
11522 if ls -dL / >/dev/null 2>&1; then
11529 if test -d "$1"; then
11535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11536 ???[sx]*):;;*)false;;esac;fi
11540 as_executable_p=$as_test_x
11542 # Sed expression to map a string onto a valid CPP name.
11543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11545 # Sed expression to map a string onto a valid variable name.
11546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11550 ## ----------------------------------- ##
11551 ## Main body of $CONFIG_STATUS script. ##
11552 ## ----------------------------------- ##
11554 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11557 # Save the log message, to keep $0 and so on meaningful, and to
11558 # report actual input values of CONFIG_FILES etc. instead of their
11559 # values after options handling.
11561 This file was extended by Multitouch Protocol Translation Library $as_me 1.0.11, which was
11562 generated by GNU Autoconf 2.67. Invocation command line was
11564 CONFIG_FILES = $CONFIG_FILES
11565 CONFIG_HEADERS = $CONFIG_HEADERS
11566 CONFIG_LINKS = $CONFIG_LINKS
11567 CONFIG_COMMANDS = $CONFIG_COMMANDS
11570 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11575 case $ac_config_files in *"
11576 "*) set x $ac_config_files; shift; ac_config_files=$*;;
11579 case $ac_config_headers in *"
11580 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11585 # Files that config.status was made for.
11586 config_files="$ac_config_files"
11587 config_headers="$ac_config_headers"
11588 config_commands="$ac_config_commands"
11592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11594 \`$as_me' instantiates files and other configuration actions
11595 from templates according to the current configuration. Unless the files
11596 and actions are specified as TAGs, all are instantiated by default.
11598 Usage: $0 [OPTION]... [TAG]...
11600 -h, --help print this help, then exit
11601 -V, --version print version number and configuration settings, then exit
11602 --config print configuration, then exit
11603 -q, --quiet, --silent
11604 do not print progress messages
11605 -d, --debug don't remove temporary files
11606 --recheck update $as_me by reconfiguring in the same conditions
11607 --file=FILE[:TEMPLATE]
11608 instantiate the configuration file FILE
11609 --header=FILE[:TEMPLATE]
11610 instantiate the configuration header FILE
11612 Configuration files:
11615 Configuration headers:
11618 Configuration commands:
11621 Report bugs to the package provider."
11624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11625 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11627 Multitouch Protocol Translation Library config.status 1.0.11
11628 configured by $0, generated by GNU Autoconf 2.67,
11629 with options \\"\$ac_cs_config\\"
11631 Copyright (C) 2010 Free Software Foundation, Inc.
11632 This config.status script is free software; the Free Software Foundation
11633 gives unlimited permission to copy, distribute and modify it."
11640 test -n "\$AWK" || AWK=awk
11643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11644 # The default lists apply if the user does not specify any file.
11650 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11651 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11655 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11667 # Handling of the options.
11668 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11670 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11671 $as_echo "$ac_cs_version"; exit ;;
11672 --config | --confi | --conf | --con | --co | --c )
11673 $as_echo "$ac_cs_config"; exit ;;
11674 --debug | --debu | --deb | --de | --d | -d )
11676 --file | --fil | --fi | --f )
11679 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11680 '') as_fn_error $? "missing file argument" ;;
11682 as_fn_append CONFIG_FILES " '$ac_optarg'"
11683 ac_need_defaults=false;;
11684 --header | --heade | --head | --hea )
11687 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11689 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11690 ac_need_defaults=false;;
11692 # Conflict between --help and --header
11693 as_fn_error $? "ambiguous option: \`$1'
11694 Try \`$0 --help' for more information.";;
11695 --help | --hel | -h )
11696 $as_echo "$ac_cs_usage"; exit ;;
11697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11701 # This is an error.
11702 -*) as_fn_error $? "unrecognized option: \`$1'
11703 Try \`$0 --help' for more information." ;;
11705 *) as_fn_append ac_config_targets " $1"
11706 ac_need_defaults=false ;;
11712 ac_configure_extra_args=
11714 if $ac_cs_silent; then
11716 ac_configure_extra_args="$ac_configure_extra_args --silent"
11720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11721 if \$ac_cs_recheck; then
11722 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11724 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11725 CONFIG_SHELL='$SHELL'
11726 export CONFIG_SHELL
11731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11736 ## Running $as_me. ##
11742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11749 # The HP-UX ksh and POSIX shell print the target directory to stdout
11750 # if CDPATH is set.
11751 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11753 sed_quote_subst='$sed_quote_subst'
11754 double_quote_subst='$double_quote_subst'
11755 delay_variable_subst='$delay_variable_subst'
11756 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11757 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11758 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11759 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11760 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11761 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11762 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11763 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11764 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11765 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11766 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11767 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11768 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11769 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11770 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11771 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11772 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11773 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11774 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11775 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11776 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11777 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11778 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11779 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11780 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11781 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11782 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11783 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11784 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11785 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11786 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11787 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11788 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11789 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11790 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11791 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11792 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11793 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11794 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11795 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11796 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11797 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11798 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11799 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11800 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"`'
11801 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"`'
11802 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11803 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11804 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11805 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11806 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11807 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11808 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11809 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11810 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11811 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11812 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11813 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11814 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11815 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11816 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11817 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11818 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11819 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11820 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11821 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11822 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11823 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11824 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11825 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11826 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11827 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11828 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11829 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11830 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11831 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11832 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11833 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11834 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11835 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11836 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11837 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11838 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11839 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11840 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11841 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11842 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11843 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11844 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11845 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11846 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11847 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11848 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11849 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11850 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11851 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11852 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11853 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11854 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11855 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11856 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11857 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11858 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11859 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11860 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11861 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11862 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11863 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11864 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11865 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11866 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11867 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11868 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11869 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11870 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11871 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11872 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11873 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11876 LTCFLAGS='$LTCFLAGS'
11877 compiler='$compiler_DEFAULT'
11879 # Quote evaled strings.
11891 deplibs_check_method \
11900 lt_cv_sys_global_symbol_pipe \
11901 lt_cv_sys_global_symbol_to_cdecl \
11902 lt_cv_sys_global_symbol_to_c_name_address \
11903 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11906 lt_prog_compiler_no_builtin_flag \
11907 lt_prog_compiler_wl \
11908 lt_prog_compiler_pic \
11909 lt_prog_compiler_static \
11910 lt_cv_prog_compiler_c_o \
11918 export_dynamic_flag_spec \
11919 whole_archive_flag_spec \
11920 compiler_needs_object \
11922 allow_undefined_flag \
11923 no_undefined_flag \
11924 hardcode_libdir_flag_spec \
11925 hardcode_libdir_flag_spec_ld \
11926 hardcode_libdir_separator \
11931 variables_saved_for_relink \
11933 library_names_spec \
11938 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11939 *[\\\\\\\`\\"\\\$]*)
11940 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11943 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11948 # Double-quote double-evaled strings.
11949 for var in reload_cmds \
11950 old_postinstall_cmds \
11951 old_postuninstall_cmds \
11953 extract_expsyms_cmds \
11954 old_archive_from_new_cmds \
11955 old_archive_from_expsyms_cmds \
11957 archive_expsym_cmds \
11959 module_expsym_cmds \
11960 export_symbols_cmds \
11963 postuninstall_cmds \
11965 sys_lib_search_path_spec \
11966 sys_lib_dlsearch_path_spec; do
11967 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11968 *[\\\\\\\`\\"\\\$]*)
11969 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11972 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11977 # Fix-up fallback echo if it was mangled by the above quoting rules.
11979 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11983 ac_aux_dir='$ac_aux_dir'
11984 xsi_shell='$xsi_shell'
11985 lt_shell_append='$lt_shell_append'
11987 # See if we are running on zsh, and set the options which allow our
11988 # commands through without removal of \ escapes INIT.
11989 if test -n "\${ZSH_VERSION+set}" ; then
11990 setopt NO_GLOB_SUBST
11996 TIMESTAMP='$TIMESTAMP'
12005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12007 # Handling of arguments.
12008 for ac_config_target in $ac_config_targets
12010 case $ac_config_target in
12011 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12012 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12013 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12014 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12015 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12016 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12017 "mtdev.pc") CONFIG_FILES="$CONFIG_FILES mtdev.pc" ;;
12019 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
12024 # If the user did not use the arguments to specify the items to instantiate,
12025 # then the envvar interface is used. Set only those that are not.
12026 # We use the long form for the default assignment because of an extremely
12027 # bizarre bug on SunOS 4.1.3.
12028 if $ac_need_defaults; then
12029 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12030 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12031 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12034 # Have a temporary directory for convenience. Make it in the build tree
12035 # simply because there is no reason against having it here, and in addition,
12036 # creating and moving files from /tmp can sometimes cause problems.
12037 # Hook for its removal unless debugging.
12038 # Note that there is a small window in which the directory will not be cleaned:
12039 # after its creation but before its name has been assigned to `$tmp'.
12043 trap 'exit_status=$?
12044 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12046 trap 'as_fn_exit 1' 1 2 13 15
12048 # Create a (secure) tmp directory for tmp files.
12051 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12052 test -n "$tmp" && test -d "$tmp"
12055 tmp=./conf$$-$RANDOM
12056 (umask 077 && mkdir "$tmp")
12057 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12059 # Set up the scripts for CONFIG_FILES section.
12060 # No need to generate them if there are no CONFIG_FILES.
12061 # This happens for instance with `./config.status config.h'.
12062 if test -n "$CONFIG_FILES"; then
12065 ac_cr=`echo X | tr X '\015'`
12066 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12067 # But we know of no other shell where ac_cr would be empty at this
12068 # point, so we can use a bashism as a fallback.
12069 if test "x$ac_cr" = x; then
12070 eval ac_cr=\$\'\\r\'
12072 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12073 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12076 ac_cs_awk_cr=$ac_cr
12079 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12084 echo "cat >conf$$subs.awk <<_ACEOF" &&
12085 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12087 } >conf$$subs.sh ||
12088 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12089 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12091 for ac_last_try in false false false false false :; do
12092 . ./conf$$subs.sh ||
12093 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12095 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12096 if test $ac_delim_n = $ac_delim_num; then
12098 elif $ac_last_try; then
12099 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12101 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12104 rm -f conf$$subs.sh
12106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12107 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12111 s/^/S["/; s/!.*/"]=/
12121 s/\(.\{148\}\)..*/\1/
12123 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12128 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12135 s/\(.\{148\}\)..*/\1/
12137 s/["\\]/\\&/g; s/^/"/; s/$/"/
12141 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12146 ' <conf$$subs.awk | sed '
12151 ' >>$CONFIG_STATUS || ac_write_fail=1
12152 rm -f conf$$subs.awk
12153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12155 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12156 for (key in S) S_is_set[key] = 1
12162 nfields = split(line, field, "@")
12164 len = length(field[1])
12165 for (i = 2; i < nfields; i++) {
12167 keylen = length(key)
12168 if (S_is_set[key]) {
12170 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12171 len += length(value) + length(field[++i])
12182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12183 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12184 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12187 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12188 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12191 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12192 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12193 # trailing colons and then remove the whole line if VPATH becomes empty
12194 # (actually we leave an empty line to preserve line numbers).
12195 if test "x$srcdir" = x.; then
12196 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12215 fi # test -n "$CONFIG_FILES"
12217 # Set up the scripts for CONFIG_HEADERS section.
12218 # No need to generate them if there are no CONFIG_HEADERS.
12219 # This happens for instance with `./config.status Makefile'.
12220 if test -n "$CONFIG_HEADERS"; then
12221 cat >"$tmp/defines.awk" <<\_ACAWK ||
12225 # Transform confdefs.h into an awk script `defines.awk', embedded as
12226 # here-document in config.status, that substitutes the proper values into
12227 # config.h.in to produce config.h.
12229 # Create a delimiter string that does not exist in confdefs.h, to ease
12230 # handling of long lines.
12232 for ac_last_try in false false :; do
12233 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12234 if test -z "$ac_t"; then
12236 elif $ac_last_try; then
12237 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12239 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12243 # For the awk script, D is an array of macro values keyed by name,
12244 # likewise P contains macro parameters if any. Preserve backslash
12245 # newline sequences.
12247 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12249 s/.\{148\}/&'"$ac_delim"'/g
12252 s/^[ ]*#[ ]*define[ ][ ]*/ /
12259 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12261 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12265 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12266 D["\1"]=" \3\\\\\\n"\\/p
12268 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12273 s/.\{148\}/&'"$ac_delim"'/g
12278 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12281 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12283 ' <confdefs.h | sed '
12284 s/'"$ac_delim"'/"\\\
12285 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12288 for (key in D) D_is_set[key] = 1
12291 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12293 split(line, arg, " ")
12294 if (arg[1] == "#") {
12298 defundef = substr(arg[1], 2)
12301 split(mac1, mac2, "(") #)
12303 prefix = substr(line, 1, index(line, defundef) - 1)
12304 if (D_is_set[macro]) {
12305 # Preserve the white space surrounding the "#".
12306 print prefix "define", macro P[macro] D[macro]
12309 # Replace #undef with comments. This is necessary, for example,
12310 # in the case of _POSIX_SOURCE, which is predefined and required
12311 # on some systems where configure will not decide to define it.
12312 if (defundef == "undef") {
12313 print "/*", prefix defundef, macro, "*/"
12321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12322 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12323 fi # test -n "$CONFIG_HEADERS"
12326 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12331 :[FHLC]) ac_mode=$ac_tag; continue;;
12333 case $ac_mode$ac_tag in
12335 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
12336 :[FH]-) ac_tag=-:-;;
12337 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12354 -) ac_f="$tmp/stdin";;
12355 *) # Look for the file first in the build tree, then in the source tree
12356 # (if the path is not absolute). The absolute path cannot be DOS-style,
12357 # because $ac_f cannot contain `:'.
12361 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12363 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
12365 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12366 as_fn_append ac_file_inputs " '$ac_f'"
12369 # Let's still pretend it is `configure' which instantiates (i.e., don't
12370 # use $as_me), people would be surprised to read:
12371 # /* config.h. Generated by config.status. */
12372 configure_input='Generated from '`
12373 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12375 if test x"$ac_file" != x-; then
12376 configure_input="$ac_file. $configure_input"
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12378 $as_echo "$as_me: creating $ac_file" >&6;}
12380 # Neutralize special characters interpreted by sed in replacement strings.
12381 case $configure_input in #(
12382 *\&* | *\|* | *\\* )
12383 ac_sed_conf_input=`$as_echo "$configure_input" |
12384 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12385 *) ac_sed_conf_input=$configure_input;;
12389 *:-:* | *:-) cat >"$tmp/stdin" \
12390 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12395 ac_dir=`$as_dirname -- "$ac_file" ||
12396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12397 X"$ac_file" : 'X\(//\)[^/]' \| \
12398 X"$ac_file" : 'X\(//\)$' \| \
12399 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12400 $as_echo X"$ac_file" |
12401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12405 /^X\(\/\/\)[^/].*/{
12418 as_dir="$ac_dir"; as_fn_mkdir_p
12422 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12424 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12425 # A ".." for each directory in $ac_dir_suffix.
12426 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12427 case $ac_top_builddir_sub in
12428 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12429 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12432 ac_abs_top_builddir=$ac_pwd
12433 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12434 # for backward compatibility:
12435 ac_top_builddir=$ac_top_build_prefix
12438 .) # We are building in place.
12440 ac_top_srcdir=$ac_top_builddir_sub
12441 ac_abs_top_srcdir=$ac_pwd ;;
12442 [\\/]* | ?:[\\/]* ) # Absolute name.
12443 ac_srcdir=$srcdir$ac_dir_suffix;
12444 ac_top_srcdir=$srcdir
12445 ac_abs_top_srcdir=$srcdir ;;
12446 *) # Relative name.
12447 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12448 ac_top_srcdir=$ac_top_build_prefix$srcdir
12449 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12451 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12461 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12462 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12464 ac_MKDIR_P=$MKDIR_P
12466 [\\/$]* | ?:[\\/]* ) ;;
12467 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12472 # If the template does not know about datarootdir, expand it.
12473 # FIXME: This hack should be removed a few years after 2.60.
12474 ac_datarootdir_hack=; ac_datarootdir_seen=
12485 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12486 *datarootdir*) ac_datarootdir_seen=yes;;
12487 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12489 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12492 ac_datarootdir_hack='
12493 s&@datadir@&$datadir&g
12494 s&@docdir@&$docdir&g
12495 s&@infodir@&$infodir&g
12496 s&@localedir@&$localedir&g
12497 s&@mandir@&$mandir&g
12498 s&\\\${datarootdir}&$datarootdir&g' ;;
12502 # Neutralize VPATH when `$srcdir' = `.'.
12503 # Shell code in configure.ac might set extrasub.
12504 # FIXME: do we really want to maintain this feature?
12505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12506 ac_sed_extra="$ac_vpsub
12509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12511 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12512 s|@configure_input@|$ac_sed_conf_input|;t t
12513 s&@top_builddir@&$ac_top_builddir_sub&;t t
12514 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12515 s&@srcdir@&$ac_srcdir&;t t
12516 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12517 s&@top_srcdir@&$ac_top_srcdir&;t t
12518 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12519 s&@builddir@&$ac_builddir&;t t
12520 s&@abs_builddir@&$ac_abs_builddir&;t t
12521 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12522 s&@INSTALL@&$ac_INSTALL&;t t
12523 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12524 $ac_datarootdir_hack
12526 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12527 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12529 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12530 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12531 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12533 which seems to be undefined. Please make sure it is defined" >&5
12534 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12535 which seems to be undefined. Please make sure it is defined" >&2;}
12539 -) cat "$tmp/out" && rm -f "$tmp/out";;
12540 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12548 if test x"$ac_file" != x-; then
12550 $as_echo "/* $configure_input */" \
12551 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12552 } >"$tmp/config.h" \
12553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12554 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12556 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12559 mv "$tmp/config.h" "$ac_file" \
12560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12563 $as_echo "/* $configure_input */" \
12564 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12565 || as_fn_error $? "could not create -" "$LINENO" 5
12567 # Compute "$ac_file"'s index in $config_headers.
12570 for _am_header in $config_headers :; do
12571 case $_am_header in
12572 $_am_arg | $_am_arg:* )
12575 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12578 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12579 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12580 X"$_am_arg" : 'X\(//\)[^/]' \| \
12581 X"$_am_arg" : 'X\(//\)$' \| \
12582 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12583 $as_echo X"$_am_arg" |
12584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12588 /^X\(\/\/\)[^/].*/{
12600 s/.*/./; q'`/stamp-h$_am_stamp_count
12603 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12604 $as_echo "$as_me: executing $ac_file commands" >&6;}
12609 case $ac_file$ac_mode in
12610 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12611 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12612 # are listed without --file. Let's play safe and only enable the eval
12613 # if we detect the quoting.
12614 case $CONFIG_FILES in
12615 *\'*) eval set x "$CONFIG_FILES" ;;
12616 *) set x $CONFIG_FILES ;;
12621 # Strip MF so we end up with the name of the file.
12622 mf=`echo "$mf" | sed -e 's/:.*$//'`
12623 # Check whether this is an Automake generated Makefile or not.
12624 # We used to match only the files named `Makefile.in', but
12625 # some people rename them; so instead we look at the file content.
12626 # Grep'ing the first line is not enough: some people post-process
12627 # each Makefile.in and add a new line on top of each file to say so.
12628 # Grep'ing the whole file is not good either: AIX grep has a line
12629 # limit of 2048, but all sed's we know have understand at least 4000.
12630 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12631 dirpart=`$as_dirname -- "$mf" ||
12632 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12633 X"$mf" : 'X\(//\)[^/]' \| \
12634 X"$mf" : 'X\(//\)$' \| \
12635 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12641 /^X\(\/\/\)[^/].*/{
12657 # Extract the definition of DEPDIR, am__include, and am__quote
12658 # from the Makefile without running `make'.
12659 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12660 test -z "$DEPDIR" && continue
12661 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12662 test -z "am__include" && continue
12663 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12664 # When using ansi2knr, U may be empty or an underscore; expand it
12665 U=`sed -n 's/^U = //p' < "$mf"`
12666 # Find all dependency output files, they are included files with
12667 # $(DEPDIR) in their names. We invoke sed twice because it is the
12668 # simplest approach to changing $(DEPDIR) to its actual value in the
12670 for file in `sed -n "
12671 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12672 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12673 # Make sure the directory exists.
12674 test -f "$dirpart/$file" && continue
12675 fdir=`$as_dirname -- "$file" ||
12676 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12677 X"$file" : 'X\(//\)[^/]' \| \
12678 X"$file" : 'X\(//\)$' \| \
12679 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12680 $as_echo X"$file" |
12681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12685 /^X\(\/\/\)[^/].*/{
12698 as_dir=$dirpart/$fdir; as_fn_mkdir_p
12699 # echo "creating $dirpart/$file"
12700 echo '# dummy' > "$dirpart/$file"
12707 # See if we are running on zsh, and set the options which allow our
12708 # commands through without removal of \ escapes.
12709 if test -n "${ZSH_VERSION+set}" ; then
12710 setopt NO_GLOB_SUBST
12713 cfgfile="${ofile}T"
12714 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12717 cat <<_LT_EOF >> "$cfgfile"
12720 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12721 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12722 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12723 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12725 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12726 # 2006, 2007, 2008 Free Software Foundation, Inc.
12727 # Written by Gordon Matzigkeit, 1996
12729 # This file is part of GNU Libtool.
12731 # GNU Libtool is free software; you can redistribute it and/or
12732 # modify it under the terms of the GNU General Public License as
12733 # published by the Free Software Foundation; either version 2 of
12734 # the License, or (at your option) any later version.
12736 # As a special exception to the GNU General Public License,
12737 # if you distribute this file as part of a program or library that
12738 # is built using GNU Libtool, you may include this file under the
12739 # same distribution terms that you use for the rest of that program.
12741 # GNU Libtool is distributed in the hope that it will be useful,
12742 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12743 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12744 # GNU General Public License for more details.
12746 # You should have received a copy of the GNU General Public License
12747 # along with GNU Libtool; see the file COPYING. If not, a copy
12748 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12749 # obtained by writing to the Free Software Foundation, Inc.,
12750 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12753 # The names of the tagged configurations supported by this script.
12756 # ### BEGIN LIBTOOL CONFIG
12758 # Which release of libtool.m4 was used?
12759 macro_version=$macro_version
12760 macro_revision=$macro_revision
12762 # Whether or not to build shared libraries.
12763 build_libtool_libs=$enable_shared
12765 # Whether or not to build static libraries.
12766 build_old_libs=$enable_static
12768 # What type of objects to build.
12771 # Whether or not to optimize for fast installation.
12772 fast_install=$enable_fast_install
12775 host_alias=$host_alias
12779 # The build system.
12780 build_alias=$build_alias
12784 # A sed program that does not truncate output.
12787 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12788 Xsed="\$SED -e 1s/^X//"
12790 # A grep program that handles long lines.
12796 # A literal string matcher.
12799 # A BSD- or MS-compatible name lister.
12802 # Whether we need soft or hard links.
12805 # What is the maximum length of a command?
12806 max_cmd_len=$max_cmd_len
12808 # Object file suffix (normally "o").
12811 # Executable file suffix (normally "").
12814 # whether the shell understands "unset".
12817 # turn spaces into newlines.
12820 # turn newlines into spaces.
12823 # How to create reloadable object files.
12824 reload_flag=$lt_reload_flag
12825 reload_cmds=$lt_reload_cmds
12827 # An object symbol dumper.
12828 OBJDUMP=$lt_OBJDUMP
12830 # Method to check whether dependent libraries are shared objects.
12831 deplibs_check_method=$lt_deplibs_check_method
12833 # Command to use when deplibs_check_method == "file_magic".
12834 file_magic_cmd=$lt_file_magic_cmd
12838 AR_FLAGS=$lt_AR_FLAGS
12840 # A symbol stripping program.
12843 # Commands used to install an old-style archive.
12845 old_postinstall_cmds=$lt_old_postinstall_cmds
12846 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12851 # LTCC compiler flags.
12852 LTCFLAGS=$lt_CFLAGS
12854 # Take the output of nm and produce a listing of raw symbols and C names.
12855 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12857 # Transform the output of nm in a proper C declaration.
12858 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12860 # Transform the output of nm in a C name address pair.
12861 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12863 # Transform the output of nm in a C name address pair when lib prefix is needed.
12864 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12866 # The name of the directory that contains temporary libtool files.
12869 # Shell to use when invoking shell scripts.
12872 # An echo program that does not interpret backslashes.
12875 # Used to examine libraries when file_magic_cmd begins with "file".
12876 MAGIC_CMD=$MAGIC_CMD
12878 # Must we lock files when doing compilation?
12879 need_locks=$lt_need_locks
12881 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12882 DSYMUTIL=$lt_DSYMUTIL
12884 # Tool to change global to local symbols on Mac OS X.
12887 # Tool to manipulate fat objects and archives on Mac OS X.
12890 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12893 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12894 OTOOL64=$lt_OTOOL64
12896 # Old archive suffix (normally "a").
12899 # Shared library suffix (normally ".so").
12900 shrext_cmds=$lt_shrext_cmds
12902 # The commands to extract the exported symbol list from a shared archive.
12903 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12905 # Variables whose values should be saved in libtool wrapper scripts and
12906 # restored at link time.
12907 variables_saved_for_relink=$lt_variables_saved_for_relink
12909 # Do we need the "lib" prefix for modules?
12910 need_lib_prefix=$need_lib_prefix
12912 # Do we need a version for libraries?
12913 need_version=$need_version
12915 # Library versioning type.
12916 version_type=$version_type
12918 # Shared library runtime path variable.
12919 runpath_var=$runpath_var
12921 # Shared library path variable.
12922 shlibpath_var=$shlibpath_var
12924 # Is shlibpath searched before the hard-coded library search path?
12925 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12927 # Format of library name prefix.
12928 libname_spec=$lt_libname_spec
12930 # List of archive names. First name is the real one, the rest are links.
12931 # The last name is the one that the linker finds with -lNAME
12932 library_names_spec=$lt_library_names_spec
12934 # The coded name of the library, if different from the real name.
12935 soname_spec=$lt_soname_spec
12937 # Command to use after installation of a shared archive.
12938 postinstall_cmds=$lt_postinstall_cmds
12940 # Command to use after uninstallation of a shared archive.
12941 postuninstall_cmds=$lt_postuninstall_cmds
12943 # Commands used to finish a libtool library installation in a directory.
12944 finish_cmds=$lt_finish_cmds
12946 # As "finish_cmds", except a single script fragment to be evaled but
12948 finish_eval=$lt_finish_eval
12950 # Whether we should hardcode library paths into libraries.
12951 hardcode_into_libs=$hardcode_into_libs
12953 # Compile-time system search path for libraries.
12954 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12956 # Run-time system search path for libraries.
12957 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12959 # Whether dlopen is supported.
12960 dlopen_support=$enable_dlopen
12962 # Whether dlopen of programs is supported.
12963 dlopen_self=$enable_dlopen_self
12965 # Whether dlopen of statically linked programs is supported.
12966 dlopen_self_static=$enable_dlopen_self_static
12968 # Commands to strip libraries.
12969 old_striplib=$lt_old_striplib
12970 striplib=$lt_striplib
12973 # The linker used to build libraries.
12976 # Commands used to build an old-style archive.
12977 old_archive_cmds=$lt_old_archive_cmds
12979 # A language specific compiler.
12982 # Is the compiler the GNU compiler?
12985 # Compiler flag to turn off builtin functions.
12986 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12988 # How to pass a linker flag through the compiler.
12989 wl=$lt_lt_prog_compiler_wl
12991 # Additional compiler flags for building library objects.
12992 pic_flag=$lt_lt_prog_compiler_pic
12994 # Compiler flag to prevent dynamic linking.
12995 link_static_flag=$lt_lt_prog_compiler_static
12997 # Does compiler simultaneously support -c and -o options?
12998 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13000 # Whether or not to add -lc for building shared libraries.
13001 build_libtool_need_lc=$archive_cmds_need_lc
13003 # Whether or not to disallow shared libs when runtime libs are static.
13004 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13006 # Compiler flag to allow reflexive dlopens.
13007 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13009 # Compiler flag to generate shared objects directly from archives.
13010 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13012 # Whether the compiler copes with passing no objects directly.
13013 compiler_needs_object=$lt_compiler_needs_object
13015 # Create an old-style archive from a shared archive.
13016 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13018 # Create a temporary old-style archive to link instead of a shared archive.
13019 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13021 # Commands used to build a shared archive.
13022 archive_cmds=$lt_archive_cmds
13023 archive_expsym_cmds=$lt_archive_expsym_cmds
13025 # Commands used to build a loadable module if different from building
13026 # a shared archive.
13027 module_cmds=$lt_module_cmds
13028 module_expsym_cmds=$lt_module_expsym_cmds
13030 # Whether we are building with GNU ld or not.
13031 with_gnu_ld=$lt_with_gnu_ld
13033 # Flag that allows shared libraries with undefined symbols to be built.
13034 allow_undefined_flag=$lt_allow_undefined_flag
13036 # Flag that enforces no undefined symbols.
13037 no_undefined_flag=$lt_no_undefined_flag
13039 # Flag to hardcode \$libdir into a binary during linking.
13040 # This must work even if \$libdir does not exist
13041 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13043 # If ld is used when linking, flag to hardcode \$libdir into a binary
13044 # during linking. This must work even if \$libdir does not exist.
13045 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13047 # Whether we need a single "-rpath" flag with a separated argument.
13048 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13050 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13051 # DIR into the resulting binary.
13052 hardcode_direct=$hardcode_direct
13054 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13055 # DIR into the resulting binary and the resulting library dependency is
13056 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13057 # library is relocated.
13058 hardcode_direct_absolute=$hardcode_direct_absolute
13060 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13061 # into the resulting binary.
13062 hardcode_minus_L=$hardcode_minus_L
13064 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13065 # into the resulting binary.
13066 hardcode_shlibpath_var=$hardcode_shlibpath_var
13068 # Set to "yes" if building a shared library automatically hardcodes DIR
13069 # into the library and all subsequent libraries and executables linked
13071 hardcode_automatic=$hardcode_automatic
13073 # Set to yes if linker adds runtime paths of dependent libraries
13074 # to runtime path list.
13075 inherit_rpath=$inherit_rpath
13077 # Whether libtool must link a program against all its dependency libraries.
13078 link_all_deplibs=$link_all_deplibs
13080 # Fix the shell variable \$srcfile for the compiler.
13081 fix_srcfile_path=$lt_fix_srcfile_path
13083 # Set to "yes" if exported symbols are required.
13084 always_export_symbols=$always_export_symbols
13086 # The commands to list exported symbols.
13087 export_symbols_cmds=$lt_export_symbols_cmds
13089 # Symbols that should not be listed in the preloaded symbols.
13090 exclude_expsyms=$lt_exclude_expsyms
13092 # Symbols that must always be exported.
13093 include_expsyms=$lt_include_expsyms
13095 # Commands necessary for linking programs (against libraries) with templates.
13096 prelink_cmds=$lt_prelink_cmds
13098 # Specify filename containing input files.
13099 file_list_spec=$lt_file_list_spec
13101 # How to hardcode a shared library path into an executable.
13102 hardcode_action=$hardcode_action
13104 # ### END LIBTOOL CONFIG
13110 cat <<\_LT_EOF >> "$cfgfile"
13111 # AIX sometimes has problems with the GCC collect2 program. For some
13112 # reason, if we set the COLLECT_NAMES environment variable, the problems
13113 # vanish in a puff of smoke.
13114 if test "X${COLLECT_NAMES+set}" != Xset; then
13116 export COLLECT_NAMES
13123 ltmain="$ac_aux_dir/ltmain.sh"
13126 # We use sed instead of cat because bash on DJGPP gets confused if
13127 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13128 # text mode, it properly converts lines to CR/LF. This bash problem
13129 # is reportedly fixed, but why not run on old versions too?
13130 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13131 || (rm -f "$cfgfile"; exit 1)
13135 cat << \_LT_EOF >> "$cfgfile"
13137 # func_dirname file append nondir_replacement
13138 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13139 # otherwise set result to NONDIR_REPLACEMENT.
13143 */*) func_dirname_result="${1%/*}${2}" ;;
13144 * ) func_dirname_result="${3}" ;;
13148 # func_basename file
13151 func_basename_result="${1##*/}"
13154 # func_dirname_and_basename file append nondir_replacement
13155 # perform func_basename and func_dirname in a single function
13157 # dirname: Compute the dirname of FILE. If nonempty,
13158 # add APPEND to the result, otherwise set result
13159 # to NONDIR_REPLACEMENT.
13160 # value returned in "$func_dirname_result"
13161 # basename: Compute filename of FILE.
13162 # value retuned in "$func_basename_result"
13163 # Implementation must be kept synchronized with func_dirname
13164 # and func_basename. For efficiency, we do not delegate to
13165 # those functions but instead duplicate the functionality here.
13166 func_dirname_and_basename ()
13169 */*) func_dirname_result="${1%/*}${2}" ;;
13170 * ) func_dirname_result="${3}" ;;
13172 func_basename_result="${1##*/}"
13175 # func_stripname prefix suffix name
13176 # strip PREFIX and SUFFIX off of NAME.
13177 # PREFIX and SUFFIX must not contain globbing or regex special
13178 # characters, hashes, percent signs, but SUFFIX may contain a leading
13179 # dot (in which case that matches only a dot).
13182 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13183 # positional parameters, so assign one to ordinary parameter first.
13184 func_stripname_result=${3}
13185 func_stripname_result=${func_stripname_result#"${1}"}
13186 func_stripname_result=${func_stripname_result%"${2}"}
13192 func_opt_split_opt=${1%%=*}
13193 func_opt_split_arg=${1#*=}
13200 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13201 *) func_lo2o_result=${1} ;;
13205 # func_xform libobj-or-source
13208 func_xform_result=${1%.*}.lo
13211 # func_arith arithmetic-term...
13214 func_arith_result=$(( $* ))
13218 # STRING may not start with a hyphen.
13221 func_len_result=${#1}
13226 *) # Bourne compatible functions.
13227 cat << \_LT_EOF >> "$cfgfile"
13229 # func_dirname file append nondir_replacement
13230 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13231 # otherwise set result to NONDIR_REPLACEMENT.
13234 # Extract subdirectory from the argument.
13235 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13236 if test "X$func_dirname_result" = "X${1}"; then
13237 func_dirname_result="${3}"
13239 func_dirname_result="$func_dirname_result${2}"
13243 # func_basename file
13246 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13250 # func_stripname prefix suffix name
13251 # strip PREFIX and SUFFIX off of NAME.
13252 # PREFIX and SUFFIX must not contain globbing or regex special
13253 # characters, hashes, percent signs, but SUFFIX may contain a leading
13254 # dot (in which case that matches only a dot).
13255 # func_strip_suffix prefix name
13259 .*) func_stripname_result=`$ECHO "X${3}" \
13260 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13261 *) func_stripname_result=`$ECHO "X${3}" \
13262 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13267 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13268 my_sed_long_arg='1s/^-[^=]*=//'
13273 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13274 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13280 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13283 # func_xform libobj-or-source
13286 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13289 # func_arith arithmetic-term...
13292 func_arith_result=`expr "$@"`
13296 # STRING may not start with a hyphen.
13299 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13305 case $lt_shell_append in
13307 cat << \_LT_EOF >> "$cfgfile"
13309 # func_append var value
13310 # Append VALUE to the end of shell variable VAR.
13318 cat << \_LT_EOF >> "$cfgfile"
13320 # func_append var value
13321 # Append VALUE to the end of shell variable VAR.
13332 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13333 || (rm -f "$cfgfile"; exit 1)
13335 mv -f "$cfgfile" "$ofile" ||
13336 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13347 ac_clean_files=$ac_clean_files_save
13349 test $ac_write_fail = 0 ||
13350 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13353 # configure is writing to config.log, and then calls config.status.
13354 # config.status does its own redirection, appending to config.log.
13355 # Unfortunately, on DOS this fails, as config.log is still kept open
13356 # by configure, so config.status won't be able to write to it; its
13357 # output is simply discarded. So we exec the FD to /dev/null,
13358 # effectively closing config.log, so it can be properly (re)opened and
13359 # appended to by config.status. When coming back to configure, we
13360 # need to make the FD available again.
13361 if test "$no_create" != yes; then
13363 ac_config_status_args=
13364 test "$silent" = yes &&
13365 ac_config_status_args="$ac_config_status_args --quiet"
13367 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13369 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13370 # would make configure fail if this is the last instruction.
13371 $ac_cs_success || as_fn_exit 1
13373 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13375 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}