2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sample_plugin 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='sample_plugin'
589 PACKAGE_TARNAME='sample_plugin'
590 PACKAGE_VERSION='1.0'
591 PACKAGE_STRING='sample_plugin 1.0'
595 # Factoring default headers for most tests.
596 ac_includes_default="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars='am__EXEEXT_FALSE
635 WITH_PLUGIN_TOOLKIT_FALSE
636 WITH_PLUGIN_TOOLKIT_TRUE
638 am__fastdepCCAS_FALSE
702 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
763 enable_dependency_tracking
769 ac_precious_vars='build_alias
782 # Initialize some variables set by options.
784 ac_init_version=false
785 ac_unrecognized_opts=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name=s,x,x,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir='${exec_prefix}/bin'
811 sbindir='${exec_prefix}/sbin'
812 libexecdir='${exec_prefix}/libexec'
813 datarootdir='${prefix}/share'
814 datadir='${datarootdir}'
815 sysconfdir='${prefix}/etc'
816 sharedstatedir='${prefix}/com'
817 localstatedir='${prefix}/var'
818 includedir='${prefix}/include'
819 oldincludedir='/usr/include'
820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir='${datarootdir}/info'
826 libdir='${exec_prefix}/lib'
827 localedir='${datarootdir}/locale'
828 mandir='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\$ac_option
842 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir | --bindir | --bindi | --bind | --bin | --bi)
855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858 -build | --build | --buil | --bui | --bu)
859 ac_prev=build_alias ;;
860 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861 build_alias=$ac_optarg ;;
863 -cache-file | --cache-file | --cache-fil | --cache-fi \
864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865 ac_prev=cache_file ;;
866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868 cache_file=$ac_optarg ;;
871 cache_file=config.cache ;;
873 -datadir | --datadir | --datadi | --datad)
875 -datadir=* | --datadir=* | --datadi=* | --datad=*)
876 datadir=$ac_optarg ;;
878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879 | --dataroo | --dataro | --datar)
880 ac_prev=datarootdir ;;
881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883 datarootdir=$ac_optarg ;;
885 -disable-* | --disable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
899 eval enable_$ac_useropt=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 -enable-* | --enable-*)
912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915 as_fn_error $? "invalid feature name: $ac_useropt"
916 ac_useropt_orig=$ac_useropt
917 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep=', ';;
925 eval enable_$ac_useropt=\$ac_optarg ;;
927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
929 | --exec | --exe | --ex)
930 ac_prev=exec_prefix ;;
931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
933 | --exec=* | --exe=* | --ex=*)
934 exec_prefix=$ac_optarg ;;
936 -gas | --gas | --ga | --g)
937 # Obsolete; use --with-gas.
940 -help | --help | --hel | --he | -h)
942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
943 ac_init_help=recursive ;;
944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
945 ac_init_help=short ;;
947 -host | --host | --hos | --ho)
948 ac_prev=host_alias ;;
949 -host=* | --host=* | --hos=* | --ho=*)
950 host_alias=$ac_optarg ;;
952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
956 htmldir=$ac_optarg ;;
958 -includedir | --includedir | --includedi | --included | --include \
959 | --includ | --inclu | --incl | --inc)
960 ac_prev=includedir ;;
961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
962 | --includ=* | --inclu=* | --incl=* | --inc=*)
963 includedir=$ac_optarg ;;
965 -infodir | --infodir | --infodi | --infod | --info | --inf)
967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
968 infodir=$ac_optarg ;;
970 -libdir | --libdir | --libdi | --libd)
972 -libdir=* | --libdir=* | --libdi=* | --libd=*)
975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
976 | --libexe | --libex | --libe)
977 ac_prev=libexecdir ;;
978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
979 | --libexe=* | --libex=* | --libe=*)
980 libexecdir=$ac_optarg ;;
982 -localedir | --localedir | --localedi | --localed | --locale)
984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
985 localedir=$ac_optarg ;;
987 -localstatedir | --localstatedir | --localstatedi | --localstated \
988 | --localstate | --localstat | --localsta | --localst | --locals)
989 ac_prev=localstatedir ;;
990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
992 localstatedir=$ac_optarg ;;
994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 # Obsolete; use --without-fp.
1003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1004 | --no-cr | --no-c | -n)
1007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1013 | --oldin | --oldi | --old | --ol | --o)
1014 ac_prev=oldincludedir ;;
1015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1018 oldincludedir=$ac_optarg ;;
1020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1023 prefix=$ac_optarg ;;
1025 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1026 | --program-pre | --program-pr | --program-p)
1027 ac_prev=program_prefix ;;
1028 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1030 program_prefix=$ac_optarg ;;
1032 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1033 | --program-suf | --program-su | --program-s)
1034 ac_prev=program_suffix ;;
1035 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1037 program_suffix=$ac_optarg ;;
1039 -program-transform-name | --program-transform-name \
1040 | --program-transform-nam | --program-transform-na \
1041 | --program-transform-n | --program-transform- \
1042 | --program-transform | --program-transfor \
1043 | --program-transfo | --program-transf \
1044 | --program-trans | --program-tran \
1045 | --progr-tra | --program-tr | --program-t)
1046 ac_prev=program_transform_name ;;
1047 -program-transform-name=* | --program-transform-name=* \
1048 | --program-transform-nam=* | --program-transform-na=* \
1049 | --program-transform-n=* | --program-transform-=* \
1050 | --program-transform=* | --program-transfor=* \
1051 | --program-transfo=* | --program-transf=* \
1052 | --program-trans=* | --program-tran=* \
1053 | --progr-tra=* | --program-tr=* | --program-t=*)
1054 program_transform_name=$ac_optarg ;;
1056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1059 pdfdir=$ac_optarg ;;
1061 -psdir | --psdir | --psdi | --psd | --ps)
1063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1074 sbindir=$ac_optarg ;;
1076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1078 | --sharedst | --shareds | --shared | --share | --shar \
1080 ac_prev=sharedstatedir ;;
1081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1085 sharedstatedir=$ac_optarg ;;
1087 -site | --site | --sit)
1089 -site=* | --site=* | --sit=*)
1092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1095 srcdir=$ac_optarg ;;
1097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1098 | --syscon | --sysco | --sysc | --sys | --sy)
1099 ac_prev=sysconfdir ;;
1100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1102 sysconfdir=$ac_optarg ;;
1104 -target | --target | --targe | --targ | --tar | --ta | --t)
1105 ac_prev=target_alias ;;
1106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1107 target_alias=$ac_optarg ;;
1109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112 -version | --version | --versio | --versi | --vers | -V)
1113 ac_init_version=: ;;
1116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error $? "invalid package name: $ac_useropt"
1120 ac_useropt_orig=$ac_useropt
1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127 ac_unrecognized_sep=', ';;
1129 eval with_$ac_useropt=\$ac_optarg ;;
1131 -without-* | --without-*)
1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error $? "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1145 eval with_$ac_useropt=no ;;
1148 # Obsolete; use --with-x.
1151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1152 | --x-incl | --x-inc | --x-in | --x-i)
1153 ac_prev=x_includes ;;
1154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1156 x_includes=$ac_optarg ;;
1158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1160 ac_prev=x_libraries ;;
1161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1163 x_libraries=$ac_optarg ;;
1165 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information"
1170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' | [0-9]* | *[!_$as_cr_alnum]* )
1174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1176 eval $ac_envvar=\$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190 if test -n "$ac_prev"; then
1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error $? "missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 # Check all directory arguments for consistency.
1204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val=\$$ac_var
1210 # Remove trailing slashes.
1213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\$ac_val;;
1216 # Be sure to have absolute directory names.
1218 [\\/$]* | ?:[\\/]* ) continue;;
1219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1229 target=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x; then
1233 if test "x$build_alias" = x; then
1234 cross_compiling=maybe
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1243 test "$silent" = yes && exec 6>/dev/null
1246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di=`ls -di .` &&
1248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error $? "working directory cannot be determined"
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error $? "pwd does not report name of working directory"
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir=`$as_dirname -- "$as_myself" ||
1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$as_myself" : 'X\(//\)[^/]' \| \
1261 X"$as_myself" : 'X\(//\)$' \| \
1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263 $as_echo X"$as_myself" |
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1290 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296 # When building in place, set srcdir=.
1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 # Remove unnecessary trailing slashes from srcdir.
1301 # Double slashes in file names in object file debugging info
1302 # mess up M-x gdb in Emacs.
1304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 for ac_var in $ac_precious_vars; do
1307 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1308 eval ac_env_${ac_var}_value=\$${ac_var}
1309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1314 # Report the --help message.
1316 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh.
1320 \`configure' configures sample_plugin 1.0 to adapt to many kinds of systems.
1322 Usage: $0 [OPTION]... [VAR=VALUE]...
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables.
1327 Defaults for the options are specified in brackets.
1330 -h, --help display this help and exit
1331 --help=short display options specific to this package
1332 --help=recursive display the short help of all the included packages
1333 -V, --version display version information and exit
1334 -q, --quiet, --silent do not print \`checking ...' messages
1335 --cache-file=FILE cache test results in FILE [disabled]
1336 -C, --config-cache alias for \`--cache-file=config.cache'
1337 -n, --no-create do not create output files
1338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 Installation directories:
1341 --prefix=PREFIX install architecture-independent files in PREFIX
1342 [$ac_default_prefix]
1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 By default, \`make install' will install all the files in
1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349 for instance \`--prefix=\$HOME'.
1351 For better control, use the options below.
1353 Fine tuning of the installation directories:
1354 --bindir=DIR user executables [EPREFIX/bin]
1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/sample_plugin]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1378 --program-prefix=PREFIX prepend PREFIX to installed program names
1379 --program-suffix=SUFFIX append SUFFIX to installed program names
1380 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1383 --build=BUILD configure for building on BUILD [guessed]
1384 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive ) echo "Configuration of sample_plugin 1.0:";;
1395 --disable-option-checking ignore unrecognized --enable/--with options
1396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1398 --enable-silent-rules less verbose build output (undo: "make V=1")
1399 --disable-silent-rules verbose build output (undo: "make V=0")
1400 --enable-shared[=PKGS] build shared libraries [default=yes]
1401 --enable-static[=PKGS] build static libraries [default=yes]
1402 --enable-fast-install[=PKGS]
1403 optimize for fast installation [default=yes]
1404 --enable-dependency-tracking
1405 do not reject slow dependency extractors
1406 --disable-dependency-tracking
1407 speeds up one-time build
1408 --disable-libtool-lock avoid locking (might break parallel builds)
1411 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1412 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1413 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1415 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1416 --with-sysroot=DIR Search for dependent libraries within DIR
1417 (or the compiler's sysroot if not specified).
1418 --with-plugin-toolkit build using the vpp toolkit
1420 Some influential environment variables:
1421 CC C compiler command
1422 CFLAGS C compiler flags
1423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1424 nonstandard directory <lib dir>
1425 LIBS libraries to pass to the linker, e.g. -l<library>
1426 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1427 you have headers in a nonstandard directory <include dir>
1429 CCAS assembler compiler command (defaults to CC)
1430 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1432 Use these variables to override the choices made by `configure' or to help
1433 it to find libraries and programs with nonstandard names/locations.
1435 Report bugs to the package provider.
1440 if test "$ac_init_help" = "recursive"; then
1441 # If there are subdirs, report their specific --help.
1442 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1443 test -d "$ac_dir" ||
1444 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1452 # A ".." for each directory in $ac_dir_suffix.
1453 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1454 case $ac_top_builddir_sub in
1455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1459 ac_abs_top_builddir=$ac_pwd
1460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir=$ac_top_build_prefix
1465 .) # We are building in place.
1467 ac_top_srcdir=$ac_top_builddir_sub
1468 ac_abs_top_srcdir=$ac_pwd ;;
1469 [\\/]* | ?:[\\/]* ) # Absolute name.
1470 ac_srcdir=$srcdir$ac_dir_suffix;
1471 ac_top_srcdir=$srcdir
1472 ac_abs_top_srcdir=$srcdir ;;
1474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475 ac_top_srcdir=$ac_top_build_prefix$srcdir
1476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480 cd "$ac_dir" || { ac_status=$?; continue; }
1481 # Check for guested configure.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1489 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491 cd "$ac_pwd" || { ac_status=$?; break; }
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1498 sample_plugin configure 1.0
1499 generated by GNU Autoconf 2.69
1501 Copyright (C) 2012 Free Software Foundation, Inc.
1502 This configure script is free software; the Free Software Foundation
1503 gives unlimited permission to copy, distribute and modify it.
1508 ## ------------------------ ##
1509 ## Autoconf initialization. ##
1510 ## ------------------------ ##
1512 # ac_fn_c_try_compile LINENO
1513 # --------------------------
1514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1515 ac_fn_c_try_compile ()
1517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518 rm -f conftest.$ac_objext
1519 if { { ac_try="$ac_compile"
1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522 *) ac_try_echo=$ac_try;;
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_compile") 2>conftest.err
1528 if test -s conftest.err; then
1529 grep -v '^ *+' conftest.err >conftest.er1
1530 cat conftest.er1 >&5
1531 mv -f conftest.er1 conftest.err
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; } && {
1535 test -z "$ac_c_werror_flag" ||
1536 test ! -s conftest.err
1537 } && test -s conftest.$ac_objext; then :
1540 $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1546 as_fn_set_status $ac_retval
1548 } # ac_fn_c_try_compile
1550 # ac_fn_c_try_link LINENO
1551 # -----------------------
1552 # Try to link conftest.$ac_ext, and return whether this succeeded.
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 rm -f conftest.$ac_objext conftest$ac_exeext
1557 if { { ac_try="$ac_link"
1559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560 *) ac_try_echo=$ac_try;;
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_link") 2>conftest.err
1566 if test -s conftest.err; then
1567 grep -v '^ *+' conftest.err >conftest.er1
1568 cat conftest.er1 >&5
1569 mv -f conftest.er1 conftest.err
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } && {
1573 test -z "$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1575 } && test -s conftest$ac_exeext && {
1576 test "$cross_compiling" = yes ||
1577 test -x conftest$ac_exeext
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1586 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1587 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1588 # interfere with the next link command; also delete a directory that is
1589 # left behind by Apple's compiler. We do this before executing the actions.
1590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1594 } # ac_fn_c_try_link
1596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists and can be compiled using the include files in
1599 # INCLUDES, setting the cache variable VAR accordingly.
1600 ac_fn_c_check_header_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if eval \${$3+:} false; then :
1606 $as_echo_n "(cached) " >&6
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1613 if ac_fn_c_try_compile "$LINENO"; then :
1618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 } # ac_fn_c_check_header_compile
1627 # ac_fn_c_try_cpp LINENO
1628 # ----------------------
1629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 if { { ac_try="$ac_cpp conftest.$ac_ext"
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } > conftest.i && {
1649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1664 # ac_fn_c_try_run LINENO
1665 # ----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667 # that executables *can* be run.
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if { { ac_try="$ac_link"
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_link") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1682 { { case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_try") 2>&5
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; }; }; then :
1694 $as_echo "$as_me: program exited with status $ac_status" >&5
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1698 ac_retval=$ac_status
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1706 # ac_fn_c_check_func LINENO FUNC VAR
1707 # ----------------------------------
1708 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1709 ac_fn_c_check_func ()
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if eval \${$3+:} false; then :
1715 $as_echo_n "(cached) " >&6
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1719 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1721 #define $2 innocuous_$2
1723 /* System header to define __stub macros and hopefully few prototypes,
1724 which can conflict with char $2 (); below.
1725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1726 <limits.h> exists even on freestanding compilers. */
1729 # include <limits.h>
1731 # include <assert.h>
1736 /* Override any GCC internal prototype to avoid an error.
1737 Use char because int might match the return type of a GCC
1738 builtin and then its argument prototype would still apply. */
1743 /* The GNU C library defines this for functions which it implements
1744 to always fail with ENOSYS. Some functions are actually named
1745 something starting with __ and the normal name is an alias. */
1746 #if defined __stub_$2 || defined __stub___$2
1758 if ac_fn_c_try_link "$LINENO"; then :
1763 rm -f core conftest.err conftest.$ac_objext \
1764 conftest$ac_exeext conftest.$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_func
1772 cat >config.log <<_ACEOF
1773 This file contains any messages produced by compilers while
1774 running configure, to aid debugging if configure makes a mistake.
1776 It was created by sample_plugin $as_me 1.0, which was
1777 generated by GNU Autoconf 2.69. Invocation command line was
1789 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1790 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1791 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1792 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1793 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1795 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1796 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1798 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1799 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1800 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1801 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1802 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1803 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1804 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir=.
1813 $as_echo "PATH: $as_dir"
1829 # Keep a trace of the command line.
1830 # Strip out --no-create and --no-recursion so they do not pile up.
1831 # Strip out --silent because we don't want to record it for future runs.
1832 # Also quote any args containing shell meta-characters.
1833 # Make two passes to allow for proper duplicate-argument suppression.
1837 ac_must_keep_next=false
1843 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1845 | -silent | --silent | --silen | --sile | --sil)
1848 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1851 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1853 as_fn_append ac_configure_args1 " '$ac_arg'"
1854 if test $ac_must_keep_next = true; then
1855 ac_must_keep_next=false # Got value, back to normal.
1858 *=* | --config-cache | -C | -disable-* | --disable-* \
1859 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1860 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1861 | -with-* | --with-* | -without-* | --without-* | --x)
1862 case "$ac_configure_args0 " in
1863 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1866 -* ) ac_must_keep_next=true ;;
1869 as_fn_append ac_configure_args " '$ac_arg'"
1874 { ac_configure_args0=; unset ac_configure_args0;}
1875 { ac_configure_args1=; unset ac_configure_args1;}
1877 # When interrupted or exit'd, cleanup temporary files, and complete
1878 # config.log. We remove comments because anyway the quotes in there
1879 # would cause problems or look ugly.
1880 # WARNING: Use '\'' to represent an apostrophe within the trap.
1881 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1882 trap 'exit_status=$?
1883 # Save into config.log some information that might help in debugging.
1887 $as_echo "## ---------------- ##
1888 ## Cache variables. ##
1889 ## ---------------- ##"
1891 # The following way of writing the cache mishandles newlines in values,
1893 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1894 eval ac_val=\$$ac_var
1898 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1899 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1902 _ | IFS | as_nl) ;; #(
1903 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1904 *) { eval $ac_var=; unset $ac_var;} ;;
1909 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1910 *${as_nl}ac_space=\ *)
1912 "s/'\''/'\''\\\\'\'''\''/g;
1913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1916 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1923 $as_echo "## ----------------- ##
1924 ## Output variables. ##
1925 ## ----------------- ##"
1927 for ac_var in $ac_subst_vars
1929 eval ac_val=\$$ac_var
1931 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1933 $as_echo "$ac_var='\''$ac_val'\''"
1937 if test -n "$ac_subst_files"; then
1938 $as_echo "## ------------------- ##
1939 ## File substitutions. ##
1940 ## ------------------- ##"
1942 for ac_var in $ac_subst_files
1944 eval ac_val=\$$ac_var
1946 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1948 $as_echo "$ac_var='\''$ac_val'\''"
1953 if test -s confdefs.h; then
1954 $as_echo "## ----------- ##
1961 test "$ac_signal" != 0 &&
1962 $as_echo "$as_me: caught signal $ac_signal"
1963 $as_echo "$as_me: exit $exit_status"
1965 rm -f core *.core core.conftest.* &&
1966 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1969 for ac_signal in 1 2 13 15; do
1970 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1974 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1975 rm -f -r conftest* confdefs.h
1977 $as_echo "/* confdefs.h */" > confdefs.h
1979 # Predefined preprocessor variables.
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_NAME "$PACKAGE_NAME"
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_STRING "$PACKAGE_STRING"
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_URL "$PACKAGE_URL"
2006 # Let the site file select an alternate cache file if it wants to.
2007 # Prefer an explicitly selected file to automatically selected ones.
2010 if test -n "$CONFIG_SITE"; then
2011 # We do not want a PATH search for config.site.
2012 case $CONFIG_SITE in #((
2013 -*) ac_site_file1=./$CONFIG_SITE;;
2014 */*) ac_site_file1=$CONFIG_SITE;;
2015 *) ac_site_file1=./$CONFIG_SITE;;
2017 elif test "x$prefix" != xNONE; then
2018 ac_site_file1=$prefix/share/config.site
2019 ac_site_file2=$prefix/etc/config.site
2021 ac_site_file1=$ac_default_prefix/share/config.site
2022 ac_site_file2=$ac_default_prefix/etc/config.site
2024 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2026 test "x$ac_site_file" = xNONE && continue
2027 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2029 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2030 sed 's/^/| /' "$ac_site_file" >&5
2032 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2034 as_fn_error $? "failed to load site script $ac_site_file
2035 See \`config.log' for more details" "$LINENO" 5; }
2039 if test -r "$cache_file"; then
2040 # Some versions of bash will fail to source /dev/null (special files
2041 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2042 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2044 $as_echo "$as_me: loading cache $cache_file" >&6;}
2046 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2047 *) . "./$cache_file";;
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2052 $as_echo "$as_me: creating cache $cache_file" >&6;}
2056 # Check that the precious variables saved in the cache have kept the same
2058 ac_cache_corrupted=false
2059 for ac_var in $ac_precious_vars; do
2060 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2061 eval ac_new_set=\$ac_env_${ac_var}_set
2062 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2063 eval ac_new_val=\$ac_env_${ac_var}_value
2064 case $ac_old_set,$ac_new_set in
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2067 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2068 ac_cache_corrupted=: ;;
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2071 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2072 ac_cache_corrupted=: ;;
2075 if test "x$ac_old_val" != "x$ac_new_val"; then
2076 # differences in whitespace do not lead to failure.
2077 ac_old_val_w=`echo x $ac_old_val`
2078 ac_new_val_w=`echo x $ac_new_val`
2079 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2081 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2082 ac_cache_corrupted=:
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2085 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2086 eval $ac_var=\$ac_old_val
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2089 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2091 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2094 # Pass precious variables to config.status.
2095 if test "$ac_new_set" = set; then
2097 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2098 *) ac_arg=$ac_var=$ac_new_val ;;
2100 case " $ac_configure_args " in
2101 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2102 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2106 if $ac_cache_corrupted; then
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2110 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2111 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2113 ## -------------------- ##
2114 ## Main body of script. ##
2115 ## -------------------- ##
2118 ac_cpp='$CPP $CPPFLAGS'
2119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124 am__api_version='1.14'
2127 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2128 if test -f "$ac_dir/install-sh"; then
2130 ac_install_sh="$ac_aux_dir/install-sh -c"
2132 elif test -f "$ac_dir/install.sh"; then
2134 ac_install_sh="$ac_aux_dir/install.sh -c"
2136 elif test -f "$ac_dir/shtool"; then
2138 ac_install_sh="$ac_aux_dir/shtool install -c"
2142 if test -z "$ac_aux_dir"; then
2143 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2146 # These three variables are undocumented and unsupported,
2147 # and are intended to be withdrawn in a future Autoconf release.
2148 # They can cause serious problems if a builder's source tree is in a directory
2149 # whose full name contains unusual characters.
2150 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2151 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2152 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2155 # Find a good install program. We prefer a C program (faster),
2156 # so one script is as good as another. But avoid the broken or
2157 # incompatible versions:
2158 # SysV /etc/install, /usr/sbin/install
2159 # SunOS /usr/etc/install
2160 # IRIX /sbin/install
2162 # AmigaOS /C/install, which installs bootblocks on floppy discs
2163 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2164 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2165 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2166 # OS/2's system install, which has a completely different semantic
2167 # ./install, which can be erroneously created by make from ./install.sh.
2168 # Reject install programs that cannot install multiple files.
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2170 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2171 if test -z "$INSTALL"; then
2172 if ${ac_cv_path_install+:} false; then :
2173 $as_echo_n "(cached) " >&6
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 # Account for people who put trailing slashes in PATH elements.
2181 case $as_dir/ in #((
2182 ./ | .// | /[cC]/* | \
2183 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2184 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2187 # OSF1 and SCO ODT 3.0 have their own names for install.
2188 # Don't use installbsd from OSF since it installs stuff as root
2190 for ac_prog in ginstall scoinst install; do
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2193 if test $ac_prog = install &&
2194 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2195 # AIX install. It has an incompatible calling convention.
2197 elif test $ac_prog = install &&
2198 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2199 # program-specific install script used by HP pwplus--don't use.
2202 rm -rf conftest.one conftest.two conftest.dir
2203 echo one > conftest.one
2204 echo two > conftest.two
2206 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2207 test -s conftest.one && test -s conftest.two &&
2208 test -s conftest.dir/conftest.one &&
2209 test -s conftest.dir/conftest.two
2211 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2224 rm -rf conftest.one conftest.two conftest.dir
2227 if test "${ac_cv_path_install+set}" = set; then
2228 INSTALL=$ac_cv_path_install
2230 # As a last resort, use the slow shell script. Don't cache a
2231 # value for INSTALL within a source directory, because that will
2232 # break other packages using the cache if that directory is
2233 # removed, or if the value is a relative name.
2234 INSTALL=$ac_install_sh
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2238 $as_echo "$INSTALL" >&6; }
2240 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2241 # It thinks the first close brace ends the variable substitution.
2242 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2244 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2246 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2249 $as_echo_n "checking whether build environment is sane... " >&6; }
2250 # Reject unsafe characters in $srcdir or the absolute working directory
2251 # name. Accept space and tab only in the latter.
2255 *[\\\"\#\$\&\'\`$am_lf]*)
2256 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2259 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2260 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2263 # Do 'set' in a subshell so we don't clobber the current shell's
2264 # arguments. Must try -L first in case configure is actually a
2265 # symlink; some systems play weird games with the mod time of symlinks
2266 # (eg FreeBSD returns the mod time of the symlink's containing
2270 for am_try in 1 2; do
2271 echo "timestamp, slept: $am_has_slept" > conftest.file
2272 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2273 if test "$*" = "X"; then
2275 set X `ls -t "$srcdir/configure" conftest.file`
2277 if test "$*" != "X $srcdir/configure conftest.file" \
2278 && test "$*" != "X conftest.file $srcdir/configure"; then
2280 # If neither matched, then we have a broken ls. This can happen
2281 # if, for instance, CONFIG_SHELL is bash and it inherits a
2282 # broken ls alias from the environment. This has actually
2283 # happened. Such a system could not be considered "sane".
2284 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2285 alias in your environment" "$LINENO" 5
2287 if test "$2" = conftest.file || test $am_try -eq 2; then
2294 test "$2" = conftest.file
2300 as_fn_error $? "newly created file is older than distributed files!
2301 Check your system clock" "$LINENO" 5
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2304 $as_echo "yes" >&6; }
2305 # If we didn't sleep, we still need to ensure time stamps of config.status and
2306 # generated files are strictly newer.
2308 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2315 test "$program_prefix" != NONE &&
2316 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2317 # Use a double $ so make ignores it.
2318 test "$program_suffix" != NONE &&
2319 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2320 # Double any \ or $.
2321 # By default was `s,x,x', remove it if useless.
2322 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2323 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2325 # expand $ac_aux_dir to an absolute path
2326 am_aux_dir=`cd $ac_aux_dir && pwd`
2328 if test x"${MISSING+set}" != xset; then
2331 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2333 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2336 # Use eval to expand $SHELL
2337 if eval "$MISSING --is-lightweight"; then
2338 am_missing_run="$MISSING "
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2342 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2345 if test x"${install_sh}" != xset; then
2348 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2350 install_sh="\${SHELL} $am_aux_dir/install-sh"
2354 # Installed binaries are usually stripped using 'strip' when the user
2355 # run "make install-strip". However 'strip' might not be the right
2356 # tool to use in cross-compilation environments, therefore Automake
2357 # will honor the 'STRIP' environment variable to overrule this program.
2358 if test "$cross_compiling" != no; then
2359 if test -n "$ac_tool_prefix"; then
2360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2361 set dummy ${ac_tool_prefix}strip; ac_word=$2
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2363 $as_echo_n "checking for $ac_word... " >&6; }
2364 if ${ac_cv_prog_STRIP+:} false; then :
2365 $as_echo_n "(cached) " >&6
2367 if test -n "$STRIP"; then
2368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 STRIP=$ac_cv_prog_STRIP
2388 if test -n "$STRIP"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2390 $as_echo "$STRIP" >&6; }
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2393 $as_echo "no" >&6; }
2398 if test -z "$ac_cv_prog_STRIP"; then
2400 # Extract the first word of "strip", so it can be a program name with args.
2401 set dummy strip; ac_word=$2
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2403 $as_echo_n "checking for $ac_word... " >&6; }
2404 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2405 $as_echo_n "(cached) " >&6
2407 if test -n "$ac_ct_STRIP"; then
2408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir=.
2415 for ac_exec_ext in '' $ac_executable_extensions; do
2416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2417 ac_cv_prog_ac_ct_STRIP="strip"
2418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2428 if test -n "$ac_ct_STRIP"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2430 $as_echo "$ac_ct_STRIP" >&6; }
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2433 $as_echo "no" >&6; }
2436 if test "x$ac_ct_STRIP" = x; then
2439 case $cross_compiling:$ac_tool_warned in
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2443 ac_tool_warned=yes ;;
2448 STRIP="$ac_cv_prog_STRIP"
2452 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2455 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2456 if test -z "$MKDIR_P"; then
2457 if ${ac_cv_path_mkdir+:} false; then :
2458 $as_echo_n "(cached) " >&6
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2464 test -z "$as_dir" && as_dir=.
2465 for ac_prog in mkdir gmkdir; do
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2468 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2469 'mkdir (GNU coreutils) '* | \
2470 'mkdir (coreutils) '* | \
2471 'mkdir (fileutils) '4.1*)
2472 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2482 test -d ./--version && rmdir ./--version
2483 if test "${ac_cv_path_mkdir+set}" = set; then
2484 MKDIR_P="$ac_cv_path_mkdir -p"
2486 # As a last resort, use the slow shell script. Don't cache a
2487 # value for MKDIR_P within a source directory, because that will
2488 # break other packages using the cache if that directory is
2489 # removed, or if the value is a relative name.
2490 MKDIR_P="$ac_install_sh -d"
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2494 $as_echo "$MKDIR_P" >&6; }
2496 for ac_prog in gawk mawk nawk awk
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy $ac_prog; ac_word=$2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 $as_echo_n "checking for $ac_word... " >&6; }
2502 if ${ac_cv_prog_AWK+:} false; then :
2503 $as_echo_n "(cached) " >&6
2505 if test -n "$AWK"; then
2506 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_AWK="$ac_prog"
2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 if test -n "$AWK"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2528 $as_echo "$AWK" >&6; }
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531 $as_echo "no" >&6; }
2535 test -n "$AWK" && break
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2542 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2543 $as_echo_n "(cached) " >&6
2545 cat >conftest.make <<\_ACEOF
2548 @echo '@@@%%%=$(MAKE)=@@@%%%'
2550 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2553 eval ac_cv_prog_make_${ac_make}_set=yes;;
2555 eval ac_cv_prog_make_${ac_make}_set=no;;
2559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2561 $as_echo "yes" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565 $as_echo "no" >&6; }
2566 SET_MAKE="MAKE=${MAKE-make}"
2569 rm -rf .tst 2>/dev/null
2570 mkdir .tst 2>/dev/null
2571 if test -d .tst; then
2576 rmdir .tst 2>/dev/null
2578 # Check whether --enable-silent-rules was given.
2579 if test "${enable_silent_rules+set}" = set; then :
2580 enableval=$enable_silent_rules;
2583 case $enable_silent_rules in # (((
2584 yes) AM_DEFAULT_VERBOSITY=0;;
2585 no) AM_DEFAULT_VERBOSITY=1;;
2586 *) AM_DEFAULT_VERBOSITY=1;;
2588 am_make=${MAKE-make}
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2590 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2591 if ${am_cv_make_support_nested_variables+:} false; then :
2592 $as_echo_n "(cached) " >&6
2594 if $as_echo 'TRUE=$(BAR$(V))
2600 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2601 am_cv_make_support_nested_variables=yes
2603 am_cv_make_support_nested_variables=no
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2607 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2608 if test $am_cv_make_support_nested_variables = yes; then
2610 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2612 AM_V=$AM_DEFAULT_VERBOSITY
2613 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2617 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2618 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2619 # is not polluted with repeated "-I."
2620 am__isrc=' -I$(srcdir)'
2621 # test to see if srcdir already configured
2622 if test -f $srcdir/config.status; then
2623 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2627 # test whether we have cygpath
2628 if test -z "$CYGPATH_W"; then
2629 if (cygpath --version) >/dev/null 2>/dev/null; then
2630 CYGPATH_W='cygpath -w'
2637 # Define the identity of the package.
2638 PACKAGE='sample_plugin'
2642 cat >>confdefs.h <<_ACEOF
2643 #define PACKAGE "$PACKAGE"
2647 cat >>confdefs.h <<_ACEOF
2648 #define VERSION "$VERSION"
2651 # Some tools Automake needs.
2653 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2656 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2659 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2662 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2665 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2667 # For better backward compatibility. To be removed once Automake 1.9.x
2668 # dies out for good. For more background, see:
2669 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2670 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2671 mkdir_p='$(MKDIR_P)'
2673 # We need awk for the "check" target. The system "awk" is bad on
2675 # Always define AMTAR for backward compatibility. Yes, it's still used
2676 # in the wild :-( We should find a proper way to deprecate it ...
2680 # We'll loop over all known methods to create a tar archive until one works.
2681 _am_tools='gnutar pax cpio none'
2683 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2690 # POSIX will say in a future version that running "rm -f" with no argument
2691 # is OK; and we want to be able to make that assumption in our Makefile
2692 # recipes. So use an aggressive probe to check that the usage we want is
2693 # actually supported "in the wild" to an acceptable degree.
2694 # See automake bug#10828.
2695 # To make any issue more visible, cause the running configure to be aborted
2696 # by default if the 'rm' program in use doesn't match our expectations; the
2697 # user can still override this though.
2698 if rm -f && rm -fr && rm -rf; then : OK; else
2702 Your 'rm' program seems unable to run without file operands specified
2703 on the command line, even when the '-f' option is present. This is contrary
2704 to the behaviour of most rm programs out there, and not conforming with
2705 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2707 Please tell bug-automake@gnu.org about your system, including the value
2708 of your $PATH and any error possibly output before this message. This
2709 can help us improve future automake versions.
2712 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2713 echo 'Configuration will proceed anyway, since you have set the' >&2
2714 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2718 Aborting the configuration process, to ensure you take notice of the issue.
2720 You can download and install GNU coreutils to get an 'rm' implementation
2721 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2723 If you want to complete the configuration process using your problematic
2724 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2725 to "yes", and re-run configure.
2728 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2735 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2740 macro_version='2.4.2'
2741 macro_revision='1.3337'
2755 ltmain="$ac_aux_dir/ltmain.sh"
2757 # Make sure we can run config.sub.
2758 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2759 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2762 $as_echo_n "checking build system type... " >&6; }
2763 if ${ac_cv_build+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 ac_build_alias=$build_alias
2767 test "x$ac_build_alias" = x &&
2768 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2769 test "x$ac_build_alias" = x &&
2770 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2771 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2772 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2776 $as_echo "$ac_cv_build" >&6; }
2777 case $ac_cv_build in
2779 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2782 ac_save_IFS=$IFS; IFS='-'
2788 # Remember, the first character of IFS is used to create $*,
2789 # except with old shells:
2792 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2796 $as_echo_n "checking host system type... " >&6; }
2797 if ${ac_cv_host+:} false; then :
2798 $as_echo_n "(cached) " >&6
2800 if test "x$host_alias" = x; then
2801 ac_cv_host=$ac_cv_build
2803 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2804 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2809 $as_echo "$ac_cv_host" >&6; }
2812 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2815 ac_save_IFS=$IFS; IFS='-'
2821 # Remember, the first character of IFS is used to create $*,
2822 # except with old shells:
2825 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2828 # Backslashify metacharacters that are still active within
2829 # double-quoted strings.
2830 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2832 # Same as above, but do not quote variable references.
2833 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2835 # Sed substitution to delay expansion of an escaped shell variable in a
2836 # double_quote_subst'ed string.
2837 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2839 # Sed substitution to delay expansion of an escaped single quote.
2840 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2842 # Sed substitution to avoid accidental globbing in evaled expressions
2843 no_glob_subst='s/\*/\\\*/g'
2845 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2846 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2847 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2850 $as_echo_n "checking how to print strings... " >&6; }
2851 # Test print first, because it will be a builtin if present.
2852 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2853 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2855 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2858 # Use this function as a fallback that always works.
2859 func_fallback_echo ()
2861 eval 'cat <<_LTECHO_EOF
2865 ECHO='func_fallback_echo'
2868 # func_echo_all arg...
2869 # Invoke $ECHO with all args, space-separated.
2876 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2877 $as_echo "printf" >&6; } ;;
2878 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2879 $as_echo "print -r" >&6; } ;;
2880 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2881 $as_echo "cat" >&6; } ;;
2897 DEPDIR="${am__leading_dot}deps"
2899 ac_config_commands="$ac_config_commands depfiles"
2902 am_make=${MAKE-make}
2903 cat > confinc << 'END'
2905 @echo this is the am__doit target
2908 # If we don't find an include directive, just comment out the code.
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2910 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2914 # First try GNU make style include.
2915 echo "include confinc" > confmf
2916 # Ignore all kinds of additional output from 'make'.
2917 case `$am_make -s -f confmf 2> /dev/null` in #(
2918 *the\ am__doit\ target*)
2924 # Now try BSD make style include.
2925 if test "$am__include" = "#"; then
2926 echo '.include "confinc"' > confmf
2927 case `$am_make -s -f confmf 2> /dev/null` in #(
2928 *the\ am__doit\ target*)
2929 am__include=.include
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2938 $as_echo "$_am_result" >&6; }
2939 rm -f confinc confmf
2941 # Check whether --enable-dependency-tracking was given.
2942 if test "${enable_dependency_tracking+set}" = set; then :
2943 enableval=$enable_dependency_tracking;
2946 if test "x$enable_dependency_tracking" != xno; then
2947 am_depcomp="$ac_aux_dir/depcomp"
2951 if test "x$enable_dependency_tracking" != xno; then
2961 ac_cpp='$CPP $CPPFLAGS'
2962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2965 if test -n "$ac_tool_prefix"; then
2966 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2967 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if ${ac_cv_prog_CC+:} false; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$CC"; then
2974 ac_cv_prog_CC="$CC" # Let the user override the test.
2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir=.
2981 for ac_exec_ext in '' $ac_executable_extensions; do
2982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2983 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 if test -n "$CC"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3004 if test -z "$ac_cv_prog_CC"; then
3006 # Extract the first word of "gcc", so it can be a program name with args.
3007 set dummy gcc; ac_word=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$ac_ct_CC"; then
3014 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3023 ac_cv_prog_ac_ct_CC="gcc"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3034 if test -n "$ac_ct_CC"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3036 $as_echo "$ac_ct_CC" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3042 if test "x$ac_ct_CC" = x; then
3045 case $cross_compiling:$ac_tool_warned in
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3049 ac_tool_warned=yes ;;
3057 if test -z "$CC"; then
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3060 set dummy ${ac_tool_prefix}cc; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_CC+:} false; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$CC"; then
3067 ac_cv_prog_CC="$CC" # Let the user override the test.
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_CC="${ac_tool_prefix}cc"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$CC"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3089 $as_echo "$CC" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3098 if test -z "$CC"; then
3099 # Extract the first word of "cc", so it can be a program name with args.
3100 set dummy cc; ac_word=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if ${ac_cv_prog_CC+:} false; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$CC"; then
3107 ac_cv_prog_CC="$CC" # Let the user override the test.
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3118 ac_prog_rejected=yes
3122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test $ac_prog_rejected = yes; then
3130 # We found a bogon in the path, so make sure we never use it.
3131 set dummy $ac_cv_prog_CC
3133 if test $# != 0; then
3134 # We chose a different compiler from the bogus one.
3135 # However, it has the same basename, so the bogon will be chosen
3136 # first if we set CC to just the basename; use the full file name.
3138 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3144 if test -n "$CC"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3146 $as_echo "$CC" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3154 if test -z "$CC"; then
3155 if test -n "$ac_tool_prefix"; then
3156 for ac_prog in cl.exe
3158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; }
3162 if ${ac_cv_prog_CC+:} false; then :
3163 $as_echo_n "(cached) " >&6
3165 if test -n "$CC"; then
3166 ac_cv_prog_CC="$CC" # Let the user override the test.
3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir=.
3173 for ac_exec_ext in '' $ac_executable_extensions; do
3174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 if test -n "$CC"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3188 $as_echo "$CC" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3195 test -n "$CC" && break
3198 if test -z "$CC"; then
3200 for ac_prog in cl.exe
3202 # Extract the first word of "$ac_prog", so it can be a program name with args.
3203 set dummy $ac_prog; ac_word=$2
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205 $as_echo_n "checking for $ac_word... " >&6; }
3206 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 if test -n "$ac_ct_CC"; then
3210 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 test -z "$as_dir" && as_dir=.
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219 ac_cv_prog_ac_ct_CC="$ac_prog"
3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3230 if test -n "$ac_ct_CC"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3232 $as_echo "$ac_ct_CC" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3239 test -n "$ac_ct_CC" && break
3242 if test "x$ac_ct_CC" = x; then
3245 case $cross_compiling:$ac_tool_warned in
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3249 ac_tool_warned=yes ;;
3258 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3260 as_fn_error $? "no acceptable C compiler found in \$PATH
3261 See \`config.log' for more details" "$LINENO" 5; }
3263 # Provide some information about the compiler.
3264 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3267 for ac_option in --version -v -V -qversion; do
3268 { { ac_try="$ac_compiler $ac_option >&5"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3277 if test -s conftest.err; then
3279 ... rest of stderr output deleted ...
3280 10q' conftest.err >conftest.er1
3281 cat conftest.er1 >&5
3283 rm -f conftest.er1 conftest.err
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 ac_clean_files_save=$ac_clean_files
3300 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3301 # Try to create an executable without -o first, disregard a.out.
3302 # It will help us diagnose broken compilers, and finding out an intuition
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3305 $as_echo_n "checking whether the C compiler works... " >&6; }
3306 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3308 # The possible output files:
3309 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3312 for ac_file in $ac_files
3315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3316 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3321 if { { ac_try="$ac_link_default"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327 $as_echo "$ac_try_echo"; } >&5
3328 (eval "$ac_link_default") 2>&5
3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331 test $ac_status = 0; }; then :
3332 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3333 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3334 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3335 # so that the user can short-circuit this test for compilers unknown to
3337 for ac_file in $ac_files ''
3339 test -f "$ac_file" || continue
3341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3344 # We found the default executable, but exeext='' is most
3348 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3350 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352 # We set ac_cv_exeext here because the later test for it is not
3353 # safe: cross compilers may not add the suffix if given an `-o'
3354 # argument, so we may need to know it at that point already.
3355 # Even if this section looks crufty: it has the advantage of
3362 test "$ac_cv_exeext" = no && ac_cv_exeext=
3367 if test -z "$ac_file"; then :
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3370 $as_echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.$ac_ext >&5
3373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 as_fn_error 77 "C compiler cannot create executables
3376 See \`config.log' for more details" "$LINENO" 5; }
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3379 $as_echo "yes" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3382 $as_echo_n "checking for C compiler default output file name... " >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3384 $as_echo "$ac_file" >&6; }
3385 ac_exeext=$ac_cv_exeext
3387 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3388 ac_clean_files=$ac_clean_files_save
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3390 $as_echo_n "checking for suffix of executables... " >&6; }
3391 if { { ac_try="$ac_link"
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3397 $as_echo "$ac_try_echo"; } >&5
3398 (eval "$ac_link") 2>&5
3400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3401 test $ac_status = 0; }; then :
3402 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3403 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3404 # work properly (i.e., refer to `conftest.exe'), while it won't with
3406 for ac_file in conftest.exe conftest conftest.*; do
3407 test -f "$ac_file" || continue
3409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3410 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3419 See \`config.log' for more details" "$LINENO" 5; }
3421 rm -f conftest conftest$ac_cv_exeext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3423 $as_echo "$ac_cv_exeext" >&6; }
3425 rm -f conftest.$ac_ext
3426 EXEEXT=$ac_cv_exeext
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3434 FILE *f = fopen ("conftest.out", "w");
3435 return ferror (f) || fclose (f) != 0;
3441 ac_clean_files="$ac_clean_files conftest.out"
3442 # Check that the compiler produces executables we can run. If not, either
3443 # the compiler is broken, or we cross compile.
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3445 $as_echo_n "checking whether we are cross compiling... " >&6; }
3446 if test "$cross_compiling" != yes; then
3447 { { ac_try="$ac_link"
3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453 $as_echo "$ac_try_echo"; } >&5
3454 (eval "$ac_link") 2>&5
3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457 test $ac_status = 0; }
3458 if { ac_try='./conftest$ac_cv_exeext'
3459 { { case "(($ac_try" in
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_try") 2>&5
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }; }; then
3471 if test "$cross_compiling" = maybe; then
3474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "cannot run C compiled programs.
3477 If you meant to cross compile, use \`--host'.
3478 See \`config.log' for more details" "$LINENO" 5; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3483 $as_echo "$cross_compiling" >&6; }
3485 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3486 ac_clean_files=$ac_clean_files_save
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3488 $as_echo_n "checking for suffix of object files... " >&6; }
3489 if ${ac_cv_objext+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3503 rm -f conftest.o conftest.obj
3504 if { { ac_try="$ac_compile"
3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507 *) ac_try_echo=$ac_try;;
3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3510 $as_echo "$ac_try_echo"; } >&5
3511 (eval "$ac_compile") 2>&5
3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514 test $ac_status = 0; }; then :
3515 for ac_file in conftest.o conftest.obj conftest.*; do
3516 test -f "$ac_file" || continue;
3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3519 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3524 $as_echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529 as_fn_error $? "cannot compute suffix of object files: cannot compile
3530 See \`config.log' for more details" "$LINENO" 5; }
3532 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3535 $as_echo "$ac_cv_objext" >&6; }
3536 OBJEXT=$ac_cv_objext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3539 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3540 if ${ac_cv_c_compiler_gnu+:} false; then :
3541 $as_echo_n "(cached) " >&6
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3567 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3568 if test $ac_compiler_gnu = yes; then
3573 ac_test_CFLAGS=${CFLAGS+set}
3574 ac_save_CFLAGS=$CFLAGS
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3576 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3577 if ${ac_cv_prog_cc_g+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 ac_save_c_werror_flag=$ac_c_werror_flag
3581 ac_c_werror_flag=yes
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 if ac_fn_c_try_compile "$LINENO"; then :
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3610 if ac_fn_c_try_compile "$LINENO"; then :
3613 ac_c_werror_flag=$ac_save_c_werror_flag
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3626 if ac_fn_c_try_compile "$LINENO"; then :
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 ac_c_werror_flag=$ac_save_c_werror_flag
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3637 $as_echo "$ac_cv_prog_cc_g" >&6; }
3638 if test "$ac_test_CFLAGS" = set; then
3639 CFLAGS=$ac_save_CFLAGS
3640 elif test $ac_cv_prog_cc_g = yes; then
3641 if test "$GCC" = yes; then
3647 if test "$GCC" = yes; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3654 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3655 if ${ac_cv_prog_cc_c89+:} false; then :
3656 $as_echo_n "(cached) " >&6
3658 ac_cv_prog_cc_c89=no
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3666 struct buf { int x; };
3667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3668 static char *e (p, i)
3674 static char *f (char * (*g) (char **, int), char **p, ...)
3679 s = g (p, va_arg (v,int));
3684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3685 function prototypes and stuff, but not '\xHH' hex character constants.
3686 These don't provoke an error unfortunately, instead are silently treated
3687 as 'x'. The following induces an error, until -std is added to get
3688 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3689 array size at least. It's necessary to write '\x00'==0 to get something
3690 that's true only with -std. */
3691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3693 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3694 inside strings and character constants. */
3696 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3698 int test (int i, double x);
3699 struct s1 {int (*f) (int a);};
3700 struct s2 {int (*f) (double a);};
3701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3707 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3712 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3713 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3715 CC="$ac_save_CC $ac_arg"
3716 if ac_fn_c_try_compile "$LINENO"; then :
3717 ac_cv_prog_cc_c89=$ac_arg
3719 rm -f core conftest.err conftest.$ac_objext
3720 test "x$ac_cv_prog_cc_c89" != "xno" && break
3722 rm -f conftest.$ac_ext
3727 case "x$ac_cv_prog_cc_c89" in
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3730 $as_echo "none needed" >&6; } ;;
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3733 $as_echo "unsupported" >&6; } ;;
3735 CC="$CC $ac_cv_prog_cc_c89"
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3737 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3739 if test "x$ac_cv_prog_cc_c89" != xno; then :
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3750 ac_cpp='$CPP $CPPFLAGS'
3751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3755 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3756 if ${am_cv_prog_cc_c_o+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3770 # Make sure it works both with $CC and with simple cc.
3771 # Following AC_PROG_CC_C_O, we do the test twice because some
3772 # compilers refuse to overwrite an existing .o file with -o,
3773 # though they will create one.
3774 am_cv_prog_cc_c_o=yes
3776 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3777 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } \
3781 && test -f conftest2.$ac_objext; then
3784 am_cv_prog_cc_c_o=no
3788 rm -f core conftest*
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3792 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3793 if test "$am_cv_prog_cc_c_o" != yes; then
3794 # Losing compiler, so override with the script.
3795 # FIXME: It is wrong to rewrite CC.
3796 # But if we don't then we get into trouble of one sort or another.
3797 # A longer-term fix would be to have automake use am__CC in this case,
3798 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3799 CC="$am_aux_dir/compile $CC"
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 depcc="$CC" am_compiler_list=
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3811 $as_echo_n "checking dependency style of $depcc... " >&6; }
3812 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3816 # We make a subdir and do the tests there. Otherwise we can end up
3817 # making bogus files that we don't know about and never remove. For
3818 # instance it was reported that on HP-UX the gcc test will end up
3819 # making a dummy file named 'D' -- because '-MD' means "put the output
3823 # Copy depcomp to subdir because otherwise we won't find it if we're
3824 # using a relative directory.
3825 cp "$am_depcomp" conftest.dir
3827 # We will build objects and dependencies in a subdirectory because
3828 # it helps to detect inapplicable dependency modes. For instance
3829 # both Tru64's cc and ICC support -MD to output dependencies as a
3830 # side effect of compilation, but ICC will put the dependencies in
3831 # the current directory while Tru64 will put them in the object
3835 am_cv_CC_dependencies_compiler_type=none
3836 if test "$am_compiler_list" = ""; then
3837 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3840 case " $depcc " in #(
3841 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3844 for depmode in $am_compiler_list; do
3845 # Setup a source with many dependencies, because some compilers
3846 # like to wrap large dependency lists on column 80 (with \), and
3847 # we should not choose a depcomp mode which is confused by this.
3849 # We need to recreate these files for each test, as the compiler may
3850 # overwrite some of them when testing with obscure command lines.
3851 # This happens at least with the AIX C compiler.
3853 for i in 1 2 3 4 5 6; do
3854 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3855 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3856 # Solaris 10 /bin/sh.
3857 echo '/* dummy */' > sub/conftst$i.h
3859 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3861 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3862 # mode. It turns out that the SunPro C++ compiler does not properly
3863 # handle '-M -o', and we need to detect this. Also, some Intel
3864 # versions had trouble with output in subdirs.
3865 am__obj=sub/conftest.${OBJEXT-o}
3866 am__minus_obj="-o $am__obj"
3869 # This depmode causes a compiler race in universal mode.
3870 test "$am__universal" = false || continue
3873 # After this tag, mechanisms are not by side-effect, so they'll
3874 # only be used when explicitly requested.
3875 if test "x$enable_dependency_tracking" = xyes; then
3881 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3882 # This compiler won't grok '-c -o', but also, the minuso test has
3883 # not run yet. These depmodes are late enough in the game, and
3884 # so weak that their functioning should not be impacted.
3885 am__obj=conftest.${OBJEXT-o}
3890 if depmode=$depmode \
3891 source=sub/conftest.c object=$am__obj \
3892 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3893 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3894 >/dev/null 2>conftest.err &&
3895 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3896 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3897 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3898 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3899 # icc doesn't choke on unknown options, it will just issue warnings
3900 # or remarks (even with -Werror). So we grep stderr for any message
3901 # that says an option was ignored or not supported.
3902 # When given -MP, icc 7.0 and 7.1 complain thusly:
3903 # icc: Command line warning: ignoring option '-M'; no argument required
3904 # The diagnosis changed in icc 8.0:
3905 # icc: Command line remark: option '-MP' not supported
3906 if (grep 'ignoring option' conftest.err ||
3907 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3908 am_cv_CC_dependencies_compiler_type=$depmode
3917 am_cv_CC_dependencies_compiler_type=none
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3922 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3923 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3926 test "x$enable_dependency_tracking" != xno \
3927 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3929 am__fastdepCC_FALSE='#'
3931 am__fastdepCC_TRUE='#'
3932 am__fastdepCC_FALSE=
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3937 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3938 if ${ac_cv_path_SED+:} false; then :
3939 $as_echo_n "(cached) " >&6
3941 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3942 for ac_i in 1 2 3 4 5 6 7; do
3943 ac_script="$ac_script$as_nl$ac_script"
3945 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3946 { ac_script=; unset ac_script;}
3947 if test -z "$SED"; then
3948 ac_path_SED_found=false
3949 # Loop through the user's path and test for each of PROGNAME-LIST
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir=.
3955 for ac_prog in sed gsed; do
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3958 as_fn_executable_p "$ac_path_SED" || continue
3959 # Check for GNU ac_path_SED and select it if it is found.
3960 # Check for GNU $ac_path_SED
3961 case `"$ac_path_SED" --version 2>&1` in
3963 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3966 $as_echo_n 0123456789 >"conftest.in"
3969 cat "conftest.in" "conftest.in" >"conftest.tmp"
3970 mv "conftest.tmp" "conftest.in"
3971 cp "conftest.in" "conftest.nl"
3972 $as_echo '' >> "conftest.nl"
3973 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3974 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3975 as_fn_arith $ac_count + 1 && ac_count=$as_val
3976 if test $ac_count -gt ${ac_path_SED_max-0}; then
3977 # Best one so far, save it but keep looking for a better one
3978 ac_cv_path_SED="$ac_path_SED"
3979 ac_path_SED_max=$ac_count
3981 # 10*(2^10) chars as input seems more than enough
3982 test $ac_count -gt 10 && break
3984 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3987 $ac_path_SED_found && break 3
3992 if test -z "$ac_cv_path_SED"; then
3993 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4001 $as_echo "$ac_cv_path_SED" >&6; }
4002 SED="$ac_cv_path_SED"
4005 test -z "$SED" && SED=sed
4006 Xsed="$SED -e 1s/^X//"
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4019 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4020 if ${ac_cv_path_GREP+:} false; then :
4021 $as_echo_n "(cached) " >&6
4023 if test -z "$GREP"; then
4024 ac_path_GREP_found=false
4025 # Loop through the user's path and test for each of PROGNAME-LIST
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4030 test -z "$as_dir" && as_dir=.
4031 for ac_prog in grep ggrep; do
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4034 as_fn_executable_p "$ac_path_GREP" || continue
4035 # Check for GNU ac_path_GREP and select it if it is found.
4036 # Check for GNU $ac_path_GREP
4037 case `"$ac_path_GREP" --version 2>&1` in
4039 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4042 $as_echo_n 0123456789 >"conftest.in"
4045 cat "conftest.in" "conftest.in" >"conftest.tmp"
4046 mv "conftest.tmp" "conftest.in"
4047 cp "conftest.in" "conftest.nl"
4048 $as_echo 'GREP' >> "conftest.nl"
4049 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4050 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4051 as_fn_arith $ac_count + 1 && ac_count=$as_val
4052 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4053 # Best one so far, save it but keep looking for a better one
4054 ac_cv_path_GREP="$ac_path_GREP"
4055 ac_path_GREP_max=$ac_count
4057 # 10*(2^10) chars as input seems more than enough
4058 test $ac_count -gt 10 && break
4060 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4063 $ac_path_GREP_found && break 3
4068 if test -z "$ac_cv_path_GREP"; then
4069 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4072 ac_cv_path_GREP=$GREP
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4077 $as_echo "$ac_cv_path_GREP" >&6; }
4078 GREP="$ac_cv_path_GREP"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4082 $as_echo_n "checking for egrep... " >&6; }
4083 if ${ac_cv_path_EGREP+:} false; then :
4084 $as_echo_n "(cached) " >&6
4086 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4087 then ac_cv_path_EGREP="$GREP -E"
4089 if test -z "$EGREP"; then
4090 ac_path_EGREP_found=false
4091 # Loop through the user's path and test for each of PROGNAME-LIST
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4096 test -z "$as_dir" && as_dir=.
4097 for ac_prog in egrep; do
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4100 as_fn_executable_p "$ac_path_EGREP" || continue
4101 # Check for GNU ac_path_EGREP and select it if it is found.
4102 # Check for GNU $ac_path_EGREP
4103 case `"$ac_path_EGREP" --version 2>&1` in
4105 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4108 $as_echo_n 0123456789 >"conftest.in"
4111 cat "conftest.in" "conftest.in" >"conftest.tmp"
4112 mv "conftest.tmp" "conftest.in"
4113 cp "conftest.in" "conftest.nl"
4114 $as_echo 'EGREP' >> "conftest.nl"
4115 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4117 as_fn_arith $ac_count + 1 && ac_count=$as_val
4118 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4119 # Best one so far, save it but keep looking for a better one
4120 ac_cv_path_EGREP="$ac_path_EGREP"
4121 ac_path_EGREP_max=$ac_count
4123 # 10*(2^10) chars as input seems more than enough
4124 test $ac_count -gt 10 && break
4126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4129 $ac_path_EGREP_found && break 3
4134 if test -z "$ac_cv_path_EGREP"; then
4135 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4138 ac_cv_path_EGREP=$EGREP
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4144 $as_echo "$ac_cv_path_EGREP" >&6; }
4145 EGREP="$ac_cv_path_EGREP"
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4149 $as_echo_n "checking for fgrep... " >&6; }
4150 if ${ac_cv_path_FGREP+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4154 then ac_cv_path_FGREP="$GREP -F"
4156 if test -z "$FGREP"; then
4157 ac_path_FGREP_found=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4163 test -z "$as_dir" && as_dir=.
4164 for ac_prog in fgrep; do
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4167 as_fn_executable_p "$ac_path_FGREP" || continue
4168 # Check for GNU ac_path_FGREP and select it if it is found.
4169 # Check for GNU $ac_path_FGREP
4170 case `"$ac_path_FGREP" --version 2>&1` in
4172 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4175 $as_echo_n 0123456789 >"conftest.in"
4178 cat "conftest.in" "conftest.in" >"conftest.tmp"
4179 mv "conftest.tmp" "conftest.in"
4180 cp "conftest.in" "conftest.nl"
4181 $as_echo 'FGREP' >> "conftest.nl"
4182 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4184 as_fn_arith $ac_count + 1 && ac_count=$as_val
4185 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_FGREP="$ac_path_FGREP"
4188 ac_path_FGREP_max=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4196 $ac_path_FGREP_found && break 3
4201 if test -z "$ac_cv_path_FGREP"; then
4202 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205 ac_cv_path_FGREP=$FGREP
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4211 $as_echo "$ac_cv_path_FGREP" >&6; }
4212 FGREP="$ac_cv_path_FGREP"
4215 test -z "$GREP" && GREP=grep
4235 # Check whether --with-gnu-ld was given.
4236 if test "${with_gnu_ld+set}" = set; then :
4237 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4243 if test "$GCC" = yes; then
4244 # Check if gcc -print-prog-name=ld gives a path.
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4246 $as_echo_n "checking for ld used by $CC... " >&6; }
4249 # gcc leaves a trailing carriage return which upsets mingw
4250 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4252 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4255 # Accept absolute paths.
4257 re_direlt='/[^/][^/]*/\.\./'
4258 # Canonicalize the pathname of ld
4259 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4260 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4261 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4263 test -z "$LD" && LD="$ac_prog"
4266 # If it fails, then pretend we aren't using GCC.
4270 # If it is relative, then search for the first ld in PATH.
4274 elif test "$with_gnu_ld" = yes; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4276 $as_echo_n "checking for GNU ld... " >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4279 $as_echo_n "checking for non-GNU ld... " >&6; }
4281 if ${lt_cv_path_LD+:} false; then :
4282 $as_echo_n "(cached) " >&6
4284 if test -z "$LD"; then
4285 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4286 for ac_dir in $PATH; do
4288 test -z "$ac_dir" && ac_dir=.
4289 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4290 lt_cv_path_LD="$ac_dir/$ac_prog"
4291 # Check to see if the program is GNU ld. I'd rather use --version,
4292 # but apparently some variants of GNU ld only accept -v.
4293 # Break only if it was the GNU/non-GNU ld that we prefer.
4294 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4295 *GNU* | *'with BFD'*)
4296 test "$with_gnu_ld" != no && break
4299 test "$with_gnu_ld" != yes && break
4306 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4311 if test -n "$LD"; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4313 $as_echo "$LD" >&6; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4318 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4320 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4321 if ${lt_cv_prog_gnu_ld+:} false; then :
4322 $as_echo_n "(cached) " >&6
4324 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4325 case `$LD -v 2>&1 </dev/null` in
4326 *GNU* | *'with BFD'*)
4327 lt_cv_prog_gnu_ld=yes
4330 lt_cv_prog_gnu_ld=no
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4335 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4336 with_gnu_ld=$lt_cv_prog_gnu_ld
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4347 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4348 if ${lt_cv_path_NM+:} false; then :
4349 $as_echo_n "(cached) " >&6
4351 if test -n "$NM"; then
4352 # Let the user override the test.
4355 lt_nm_to_check="${ac_tool_prefix}nm"
4356 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4357 lt_nm_to_check="$lt_nm_to_check nm"
4359 for lt_tmp_nm in $lt_nm_to_check; do
4360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4361 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4363 test -z "$ac_dir" && ac_dir=.
4364 tmp_nm="$ac_dir/$lt_tmp_nm"
4365 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4366 # Check to see if the nm accepts a BSD-compat flag.
4367 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4368 # nm: unknown option "B" ignored
4369 # Tru64's nm complains that /dev/null is an invalid object file
4370 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4371 */dev/null* | *'Invalid file or object type'*)
4372 lt_cv_path_NM="$tmp_nm -B"
4376 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4378 lt_cv_path_NM="$tmp_nm -p"
4382 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4383 continue # so that we can try to find one that supports BSD flags
4392 : ${lt_cv_path_NM=no}
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4396 $as_echo "$lt_cv_path_NM" >&6; }
4397 if test "$lt_cv_path_NM" != "no"; then
4400 # Didn't find any BSD compatible name lister, look for dumpbin.
4401 if test -n "$DUMPBIN"; then :
4402 # Let the user override the test.
4404 if test -n "$ac_tool_prefix"; then
4405 for ac_prog in dumpbin "link -dump"
4407 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_DUMPBIN+:} false; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$DUMPBIN"; then
4415 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4424 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 DUMPBIN=$ac_cv_prog_DUMPBIN
4435 if test -n "$DUMPBIN"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4437 $as_echo "$DUMPBIN" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4444 test -n "$DUMPBIN" && break
4447 if test -z "$DUMPBIN"; then
4448 ac_ct_DUMPBIN=$DUMPBIN
4449 for ac_prog in dumpbin "link -dump"
4451 # Extract the first word of "$ac_prog", so it can be a program name with args.
4452 set dummy $ac_prog; ac_word=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4456 $as_echo_n "(cached) " >&6
4458 if test -n "$ac_ct_DUMPBIN"; then
4459 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4479 if test -n "$ac_ct_DUMPBIN"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4481 $as_echo "$ac_ct_DUMPBIN" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4488 test -n "$ac_ct_DUMPBIN" && break
4491 if test "x$ac_ct_DUMPBIN" = x; then
4494 case $cross_compiling:$ac_tool_warned in
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4498 ac_tool_warned=yes ;;
4500 DUMPBIN=$ac_ct_DUMPBIN
4504 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4506 DUMPBIN="$DUMPBIN -symbols"
4514 if test "$DUMPBIN" != ":"; then
4518 test -z "$NM" && NM=nm
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4526 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4527 if ${lt_cv_nm_interface+:} false; then :
4528 $as_echo_n "(cached) " >&6
4530 lt_cv_nm_interface="BSD nm"
4531 echo "int some_variable = 0;" > conftest.$ac_ext
4532 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4533 (eval "$ac_compile" 2>conftest.err)
4534 cat conftest.err >&5
4535 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4536 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4537 cat conftest.err >&5
4538 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4539 cat conftest.out >&5
4540 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4541 lt_cv_nm_interface="MS dumpbin"
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4546 $as_echo "$lt_cv_nm_interface" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4549 $as_echo_n "checking whether ln -s works... " >&6; }
4551 if test "$LN_S" = "ln -s"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 $as_echo "yes" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4556 $as_echo "no, using $LN_S" >&6; }
4559 # find the maximum length of command line arguments
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4561 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4562 if ${lt_cv_sys_max_cmd_len+:} false; then :
4563 $as_echo_n "(cached) " >&6
4570 # On DJGPP, this test can blow up pretty badly due to problems in libc
4571 # (any single argument exceeding 2000 bytes causes a buffer overrun
4572 # during glob expansion). Even if it were fixed, the result of this
4573 # check would be larger than it should be.
4574 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4578 # Under GNU Hurd, this test is not required because there is
4579 # no limit to the length of command line arguments.
4580 # Libtool will interpret -1 as no limit whatsoever
4581 lt_cv_sys_max_cmd_len=-1;
4584 cygwin* | mingw* | cegcc*)
4585 # On Win9x/ME, this test blows up -- it succeeds, but takes
4586 # about 5 minutes as the teststring grows exponentially.
4587 # Worse, since 9x/ME are not pre-emptively multitasking,
4588 # you end up with a "frozen" computer, even though with patience
4589 # the test eventually succeeds (with a max line length of 256k).
4590 # Instead, let's just punt: use the minimum linelength reported by
4591 # all of the supported platforms: 8192 (on NT/2K/XP).
4592 lt_cv_sys_max_cmd_len=8192;
4596 # On MiNT this can take a long time and run out of memory.
4597 lt_cv_sys_max_cmd_len=8192;
4601 # On AmigaOS with pdksh, this test takes hours, literally.
4602 # So we just punt and use a minimum line length of 8192.
4603 lt_cv_sys_max_cmd_len=8192;
4606 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4607 # This has been around since 386BSD, at least. Likely further.
4608 if test -x /sbin/sysctl; then
4609 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4610 elif test -x /usr/sbin/sysctl; then
4611 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4613 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4615 # And add a safety zone
4616 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4617 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4621 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4622 lt_cv_sys_max_cmd_len=196608
4626 # The test takes a long time on OS/2.
4627 lt_cv_sys_max_cmd_len=8192
4631 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4632 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4633 # nice to cause kernel panics so lets avoid the loop below.
4634 # First set a reasonable default.
4635 lt_cv_sys_max_cmd_len=16384
4637 if test -x /sbin/sysconfig; then
4638 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4639 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4644 lt_cv_sys_max_cmd_len=102400
4646 sysv5* | sco5v6* | sysv4.2uw2*)
4647 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4648 if test -n "$kargmax"; then
4649 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4651 lt_cv_sys_max_cmd_len=32768
4655 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4656 if test -n "$lt_cv_sys_max_cmd_len" && \
4657 test undefined != "$lt_cv_sys_max_cmd_len"; then
4658 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4659 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4661 # Make teststring a little bigger before we do anything with it.
4662 # a 1K string should be a reasonable start.
4663 for i in 1 2 3 4 5 6 7 8 ; do
4664 teststring=$teststring$teststring
4666 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4667 # If test is not a shell built-in, we'll probably end up computing a
4668 # maximum length that is only half of the actual maximum length, but
4670 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4671 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4672 test $i != 17 # 1/2 MB should be enough
4675 teststring=$teststring$teststring
4677 # Only check the string length outside the loop.
4678 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4680 # Add a significant safety factor because C++ compilers can tack on
4681 # massive amounts of additional arguments before passing them to the
4682 # linker. It appears as though 1/2 is a usable value.
4683 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4690 if test -n $lt_cv_sys_max_cmd_len ; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4692 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4695 $as_echo "none" >&6; }
4697 max_cmd_len=$lt_cv_sys_max_cmd_len
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4709 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4710 # Try some XSI features
4713 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4715 && eval 'test $(( 1 + 1 )) -eq 2 \
4716 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4719 $as_echo "$xsi_shell" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4723 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4725 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4727 && lt_shell_append=yes
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4729 $as_echo "$lt_shell_append" >&6; }
4732 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4742 # test EBCDIC or ASCII
4743 case `echo X|tr X '\101'` in
4744 A) # ASCII based system
4745 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4746 lt_SP2NL='tr \040 \012'
4747 lt_NL2SP='tr \015\012 \040\040'
4749 *) # EBCDIC based system
4750 lt_SP2NL='tr \100 \n'
4751 lt_NL2SP='tr \r\n \100\100'
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4764 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4765 if ${lt_cv_to_host_file_cmd+:} false; then :
4766 $as_echo_n "(cached) " >&6
4771 *-*-mingw* ) # actually msys
4772 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4775 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4777 * ) # otherwise, assume *nix
4778 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4784 *-*-mingw* ) # actually msys
4785 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4788 lt_cv_to_host_file_cmd=func_convert_file_noop
4790 * ) # otherwise, assume *nix
4791 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4795 * ) # unhandled hosts (and "normal" native builds)
4796 lt_cv_to_host_file_cmd=func_convert_file_noop
4802 to_host_file_cmd=$lt_cv_to_host_file_cmd
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4804 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4811 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4812 if ${lt_cv_to_tool_file_cmd+:} false; then :
4813 $as_echo_n "(cached) " >&6
4815 #assume ordinary cross tools, or native build.
4816 lt_cv_to_tool_file_cmd=func_convert_file_noop
4820 *-*-mingw* ) # actually msys
4821 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4829 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4831 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4838 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4839 if ${lt_cv_ld_reload_flag+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 lt_cv_ld_reload_flag='-r'
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4845 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4846 reload_flag=$lt_cv_ld_reload_flag
4847 case $reload_flag in
4849 *) reload_flag=" $reload_flag" ;;
4851 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4853 cygwin* | mingw* | pw32* | cegcc*)
4854 if test "$GCC" != yes; then
4859 if test "$GCC" = yes; then
4860 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4862 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4875 if test -n "$ac_tool_prefix"; then
4876 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4877 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_OBJDUMP+:} false; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$OBJDUMP"; then
4884 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 OBJDUMP=$ac_cv_prog_OBJDUMP
4904 if test -n "$OBJDUMP"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4906 $as_echo "$OBJDUMP" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4914 if test -z "$ac_cv_prog_OBJDUMP"; then
4915 ac_ct_OBJDUMP=$OBJDUMP
4916 # Extract the first word of "objdump", so it can be a program name with args.
4917 set dummy objdump; ac_word=$2
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4920 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4921 $as_echo_n "(cached) " >&6
4923 if test -n "$ac_ct_OBJDUMP"; then
4924 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4944 if test -n "$ac_ct_OBJDUMP"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4946 $as_echo "$ac_ct_OBJDUMP" >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4952 if test "x$ac_ct_OBJDUMP" = x; then
4955 case $cross_compiling:$ac_tool_warned in
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4959 ac_tool_warned=yes ;;
4961 OBJDUMP=$ac_ct_OBJDUMP
4964 OBJDUMP="$ac_cv_prog_OBJDUMP"
4967 test -z "$OBJDUMP" && OBJDUMP=objdump
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4978 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4979 if ${lt_cv_deplibs_check_method+:} false; then :
4980 $as_echo_n "(cached) " >&6
4982 lt_cv_file_magic_cmd='$MAGIC_CMD'
4983 lt_cv_file_magic_test_file=
4984 lt_cv_deplibs_check_method='unknown'
4985 # Need to set the preceding variable on all platforms that support
4986 # interlibrary dependencies.
4987 # 'none' -- dependencies not supported.
4988 # `unknown' -- same as none, but documents that we really don't know.
4989 # 'pass_all' -- all dependencies passed with no checks.
4990 # 'test_compile' -- check by making test program.
4991 # 'file_magic [[regex]]' -- check by looking for files in library path
4992 # which responds to the $file_magic_cmd with a given extended regex.
4993 # If you have `file' or equivalent on your system and you're not sure
4994 # whether `pass_all' will *always* work, you probably want this one.
4998 lt_cv_deplibs_check_method=pass_all
5002 lt_cv_deplibs_check_method=pass_all
5006 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5007 lt_cv_file_magic_cmd='/usr/bin/file -L'
5008 lt_cv_file_magic_test_file=/shlib/libc.so
5012 # func_win32_libid is a shell function defined in ltmain.sh
5013 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5014 lt_cv_file_magic_cmd='func_win32_libid'
5018 # Base MSYS/MinGW do not provide the 'file' command needed by
5019 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5020 # unless we find 'file', for example because we are cross-compiling.
5021 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5022 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5023 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5024 lt_cv_file_magic_cmd='func_win32_libid'
5026 # Keep this pattern in sync with the one in func_win32_libid.
5027 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5028 lt_cv_file_magic_cmd='$OBJDUMP -f'
5033 # use the weaker test based on 'objdump'. See mingw*.
5034 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5035 lt_cv_file_magic_cmd='$OBJDUMP -f'
5038 darwin* | rhapsody*)
5039 lt_cv_deplibs_check_method=pass_all
5042 freebsd* | dragonfly*)
5043 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5046 # Not sure whether the presence of OpenBSD here was a mistake.
5047 # Let's accept both of them until this is cleared up.
5048 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5049 lt_cv_file_magic_cmd=/usr/bin/file
5050 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5054 lt_cv_deplibs_check_method=pass_all
5059 lt_cv_deplibs_check_method=pass_all
5062 hpux10.20* | hpux11*)
5063 lt_cv_file_magic_cmd=/usr/bin/file
5066 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5067 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5070 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5071 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5074 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5075 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5081 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5085 irix5* | irix6* | nonstopux*)
5087 *-32|*"-32 ") libmagic=32-bit;;
5088 *-n32|*"-n32 ") libmagic=N32;;
5089 *-64|*"-64 ") libmagic=64-bit;;
5090 *) libmagic=never-match;;
5092 lt_cv_deplibs_check_method=pass_all
5095 # This must be glibc/ELF.
5096 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5097 lt_cv_deplibs_check_method=pass_all
5100 netbsd* | netbsdelf*-gnu)
5101 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5109 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5110 lt_cv_file_magic_cmd=/usr/bin/file
5111 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5115 lt_cv_deplibs_check_method=pass_all
5119 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5120 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5122 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5126 osf3* | osf4* | osf5*)
5127 lt_cv_deplibs_check_method=pass_all
5131 lt_cv_deplibs_check_method=pass_all
5135 lt_cv_deplibs_check_method=pass_all
5138 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5139 lt_cv_deplibs_check_method=pass_all
5143 case $host_vendor in
5145 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]'
5146 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5149 lt_cv_deplibs_check_method=pass_all
5152 lt_cv_file_magic_cmd='/bin/file'
5153 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5156 lt_cv_file_magic_cmd='/bin/file'
5157 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5158 lt_cv_file_magic_test_file=/lib/libc.so
5161 lt_cv_deplibs_check_method=pass_all
5164 lt_cv_deplibs_check_method=pass_all
5170 lt_cv_deplibs_check_method=pass_all
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5176 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5180 if test "$build" = "$host"; then
5183 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5186 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5192 file_magic_cmd=$lt_cv_file_magic_cmd
5193 deplibs_check_method=$lt_cv_deplibs_check_method
5194 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5217 if test -n "$ac_tool_prefix"; then
5218 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5219 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_DLLTOOL+:} false; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$DLLTOOL"; then
5226 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 DLLTOOL=$ac_cv_prog_DLLTOOL
5246 if test -n "$DLLTOOL"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5248 $as_echo "$DLLTOOL" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5256 if test -z "$ac_cv_prog_DLLTOOL"; then
5257 ac_ct_DLLTOOL=$DLLTOOL
5258 # Extract the first word of "dlltool", so it can be a program name with args.
5259 set dummy dlltool; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5263 $as_echo_n "(cached) " >&6
5265 if test -n "$ac_ct_DLLTOOL"; then
5266 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5286 if test -n "$ac_ct_DLLTOOL"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5288 $as_echo "$ac_ct_DLLTOOL" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5294 if test "x$ac_ct_DLLTOOL" = x; then
5297 case $cross_compiling:$ac_tool_warned in
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5301 ac_tool_warned=yes ;;
5303 DLLTOOL=$ac_ct_DLLTOOL
5306 DLLTOOL="$ac_cv_prog_DLLTOOL"
5309 test -z "$DLLTOOL" && DLLTOOL=dlltool
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5321 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5322 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5323 $as_echo_n "(cached) " >&6
5325 lt_cv_sharedlib_from_linklib_cmd='unknown'
5328 cygwin* | mingw* | pw32* | cegcc*)
5329 # two different shell functions defined in ltmain.sh
5330 # decide which to use based on capabilities of $DLLTOOL
5331 case `$DLLTOOL --help 2>&1` in
5332 *--identify-strict*)
5333 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5336 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5341 # fallback: assume linklib IS sharedlib
5342 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5348 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5349 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5350 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5359 if test -n "$ac_tool_prefix"; then
5362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5363 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_AR+:} false; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$AR"; then
5370 ac_cv_prog_AR="$AR" # Let the user override the test.
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 if test -n "$AR"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5392 $as_echo "$AR" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5399 test -n "$AR" && break
5402 if test -z "$AR"; then
5406 # Extract the first word of "$ac_prog", so it can be a program name with args.
5407 set dummy $ac_prog; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5411 $as_echo_n "(cached) " >&6
5413 if test -n "$ac_ct_AR"; then
5414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_ac_ct_AR="$ac_prog"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5434 if test -n "$ac_ct_AR"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5436 $as_echo "$ac_ct_AR" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 test -n "$ac_ct_AR" && break
5446 if test "x$ac_ct_AR" = x; then
5449 case $cross_compiling:$ac_tool_warned in
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5453 ac_tool_warned=yes ;;
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5473 $as_echo_n "checking for archiver @FILE support... " >&6; }
5474 if ${lt_cv_ar_at_file+:} false; then :
5475 $as_echo_n "(cached) " >&6
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5489 if ac_fn_c_try_compile "$LINENO"; then :
5490 echo conftest.$ac_objext > conftest.lst
5491 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5492 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5493 (eval $lt_ar_try) 2>&5
5495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5496 test $ac_status = 0; }
5497 if test "$ac_status" -eq 0; then
5498 # Ensure the archiver fails upon bogus file names.
5499 rm -f conftest.$ac_objext libconftest.a
5500 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5501 (eval $lt_ar_try) 2>&5
5503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5504 test $ac_status = 0; }
5505 if test "$ac_status" -ne 0; then
5509 rm -f conftest.* libconftest.a
5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5516 $as_echo "$lt_cv_ar_at_file" >&6; }
5518 if test "x$lt_cv_ar_at_file" = xno; then
5521 archiver_list_spec=$lt_cv_ar_at_file
5530 if test -n "$ac_tool_prefix"; then
5531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5532 set dummy ${ac_tool_prefix}strip; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if ${ac_cv_prog_STRIP+:} false; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -n "$STRIP"; then
5539 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5548 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 STRIP=$ac_cv_prog_STRIP
5559 if test -n "$STRIP"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5561 $as_echo "$STRIP" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5569 if test -z "$ac_cv_prog_STRIP"; then
5571 # Extract the first word of "strip", so it can be a program name with args.
5572 set dummy strip; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$ac_ct_STRIP"; then
5579 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_ac_ct_STRIP="strip"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5599 if test -n "$ac_ct_STRIP"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5601 $as_echo "$ac_ct_STRIP" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5607 if test "x$ac_ct_STRIP" = x; then
5610 case $cross_compiling:$ac_tool_warned in
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5614 ac_tool_warned=yes ;;
5619 STRIP="$ac_cv_prog_STRIP"
5622 test -z "$STRIP" && STRIP=:
5629 if test -n "$ac_tool_prefix"; then
5630 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5631 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if ${ac_cv_prog_RANLIB+:} false; then :
5635 $as_echo_n "(cached) " >&6
5637 if test -n "$RANLIB"; then
5638 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 RANLIB=$ac_cv_prog_RANLIB
5658 if test -n "$RANLIB"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5660 $as_echo "$RANLIB" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5668 if test -z "$ac_cv_prog_RANLIB"; then
5669 ac_ct_RANLIB=$RANLIB
5670 # Extract the first word of "ranlib", so it can be a program name with args.
5671 set dummy ranlib; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5675 $as_echo_n "(cached) " >&6
5677 if test -n "$ac_ct_RANLIB"; then
5678 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 test -z "$as_dir" && as_dir=.
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5687 ac_cv_prog_ac_ct_RANLIB="ranlib"
5688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5698 if test -n "$ac_ct_RANLIB"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5700 $as_echo "$ac_ct_RANLIB" >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5706 if test "x$ac_ct_RANLIB" = x; then
5709 case $cross_compiling:$ac_tool_warned in
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5713 ac_tool_warned=yes ;;
5715 RANLIB=$ac_ct_RANLIB
5718 RANLIB="$ac_cv_prog_RANLIB"
5721 test -z "$RANLIB" && RANLIB=:
5728 # Determine commands to create old-style static archives.
5729 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5730 old_postinstall_cmds='chmod 644 $oldlib'
5731 old_postuninstall_cmds=
5733 if test -n "$RANLIB"; then
5736 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5739 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5742 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5747 lock_old_archive_extraction=yes ;;
5749 lock_old_archive_extraction=no ;;
5790 # If no C compiler was specified, use CC.
5793 # If no C compiler flags were specified, use CFLAGS.
5794 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5796 # Allow CC to be a program name with arguments.
5800 # Check for command to grab the raw symbol name followed by C symbol from nm.
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5802 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5803 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5804 $as_echo_n "(cached) " >&6
5807 # These are sane defaults that work on at least a few old systems.
5808 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5810 # Character class describing NM global symbol codes.
5811 symcode='[BCDEGRST]'
5813 # Regexp to match symbols that can be accessed directly from C.
5814 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5816 # Define system-specific variables.
5821 cygwin* | mingw* | pw32* | cegcc*)
5822 symcode='[ABCDGISTW]'
5825 if test "$host_cpu" = ia64; then
5826 symcode='[ABCDEGRST]'
5830 symcode='[BCDEGRST]'
5833 symcode='[BCDEGQRST]'
5844 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5852 # If we're using GNU nm, then use its standard symbol codes.
5853 case `$NM -V 2>&1` in
5854 *GNU* | *'with BFD'*)
5855 symcode='[ABCDGIRSTW]' ;;
5858 # Transform an extracted symbol line into a proper C declaration.
5859 # Some systems (esp. on ia64) link data and code symbols differently,
5860 # so use this general approach.
5861 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5863 # Transform an extracted symbol line into symbol name and symbol address
5864 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5865 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'"
5867 # Handle CRLF in mingw tool chain
5871 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5875 # Try without a prefix underscore, then with it.
5876 for ac_symprfx in "" "_"; do
5878 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5879 symxfrm="\\1 $ac_symprfx\\2 \\2"
5881 # Write the raw and C identifiers.
5882 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5883 # Fake it for dumpbin and say T for any non-static function
5884 # and D for any global variable.
5885 # Also find C++ and __fastcall symbols from MSVC++,
5886 # which start with @ or ?.
5887 lt_cv_sys_global_symbol_pipe="$AWK '"\
5888 " {last_section=section; section=\$ 3};"\
5889 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5890 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5891 " \$ 0!~/External *\|/{next};"\
5892 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5893 " {if(hide[section]) next};"\
5894 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5895 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5896 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5897 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5898 " ' prfx=^$ac_symprfx"
5900 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5902 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5904 # Check to see that the pipe works correctly.
5908 cat > conftest.$ac_ext <<_LT_EOF
5913 void nm_test_func(void);
5914 void nm_test_func(void){}
5918 int main(){nm_test_var='a';nm_test_func();return(0);}
5921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5922 (eval $ac_compile) 2>&5
5924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5925 test $ac_status = 0; }; then
5926 # Now try to grab the symbols.
5928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5929 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5932 test $ac_status = 0; } && test -s "$nlist"; then
5933 # Try sorting and uniquifying the output.
5934 if sort "$nlist" | uniq > "$nlist"T; then
5935 mv -f "$nlist"T "$nlist"
5940 # Make sure that we snagged all the symbols we need.
5941 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5942 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5943 cat <<_LT_EOF > conftest.$ac_ext
5944 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5945 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5946 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5947 relocations are performed -- see ld's documentation on pseudo-relocs. */
5948 # define LT_DLSYM_CONST
5949 #elif defined(__osf__)
5950 /* This system does not cope well with relocations in const data. */
5951 # define LT_DLSYM_CONST
5953 # define LT_DLSYM_CONST const
5961 # Now generate the symbol file.
5962 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5964 cat <<_LT_EOF >> conftest.$ac_ext
5966 /* The mapping between symbol names and symbols. */
5967 LT_DLSYM_CONST struct {
5971 lt__PROGRAM__LTX_preloaded_symbols[] =
5973 { "@PROGRAM@", (void *) 0 },
5975 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5976 cat <<\_LT_EOF >> conftest.$ac_ext
5980 /* This works around a problem in FreeBSD linker */
5981 #ifdef FREEBSD_WORKAROUND
5982 static const void *lt_preloaded_setup() {
5983 return lt__PROGRAM__LTX_preloaded_symbols;
5991 # Now try linking the two files.
5992 mv conftest.$ac_objext conftstm.$ac_objext
5993 lt_globsym_save_LIBS=$LIBS
5994 lt_globsym_save_CFLAGS=$CFLAGS
5995 LIBS="conftstm.$ac_objext"
5996 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5998 (eval $ac_link) 2>&5
6000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6001 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6004 LIBS=$lt_globsym_save_LIBS
6005 CFLAGS=$lt_globsym_save_CFLAGS
6007 echo "cannot find nm_test_func in $nlist" >&5
6010 echo "cannot find nm_test_var in $nlist" >&5
6013 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6016 echo "$progname: failed program was:" >&5
6017 cat conftest.$ac_ext >&5
6019 rm -rf conftest* conftst*
6021 # Do not use the global_symbol_pipe unless it works.
6022 if test "$pipe_works" = yes; then
6025 lt_cv_sys_global_symbol_pipe=
6031 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6032 lt_cv_sys_global_symbol_to_cdecl=
6034 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6036 $as_echo "failed" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6039 $as_echo "ok" >&6; }
6042 # Response file support.
6043 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6044 nm_file_list_spec='@'
6045 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6046 nm_file_list_spec='@'
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6076 $as_echo_n "checking for sysroot... " >&6; }
6078 # Check whether --with-sysroot was given.
6079 if test "${with_sysroot+set}" = set; then :
6080 withval=$with_sysroot;
6087 case ${with_sysroot} in #(
6089 if test "$GCC" = yes; then
6090 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6094 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6100 $as_echo "${with_sysroot}" >&6; }
6101 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6106 $as_echo "${lt_sysroot:-no}" >&6; }
6112 # Check whether --enable-libtool-lock was given.
6113 if test "${enable_libtool_lock+set}" = set; then :
6114 enableval=$enable_libtool_lock;
6117 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6119 # Some flags need to be propagated to the compiler or linker for good
6123 # Find out which ABI we are using.
6124 echo 'int i;' > conftest.$ac_ext
6125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6126 (eval $ac_compile) 2>&5
6128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6129 test $ac_status = 0; }; then
6130 case `/usr/bin/file conftest.$ac_objext` in
6142 # Find out which ABI we are using.
6143 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6145 (eval $ac_compile) 2>&5
6147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6148 test $ac_status = 0; }; then
6149 if test "$lt_cv_prog_gnu_ld" = yes; then
6150 case `/usr/bin/file conftest.$ac_objext` in
6152 LD="${LD-ld} -melf32bsmip"
6155 LD="${LD-ld} -melf32bmipn32"
6158 LD="${LD-ld} -melf64bmip"
6162 case `/usr/bin/file conftest.$ac_objext` in
6178 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6179 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6180 # Find out which ABI we are using.
6181 echo 'int i;' > conftest.$ac_ext
6182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6183 (eval $ac_compile) 2>&5
6185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6186 test $ac_status = 0; }; then
6187 case `/usr/bin/file conftest.o` in
6190 x86_64-*kfreebsd*-gnu)
6191 LD="${LD-ld} -m elf_i386_fbsd"
6194 case `/usr/bin/file conftest.o` in
6196 LD="${LD-ld} -m elf32_x86_64"
6199 LD="${LD-ld} -m elf_i386"
6204 LD="${LD-ld} -m elf32lppclinux"
6207 LD="${LD-ld} -m elf32ppclinux"
6210 LD="${LD-ld} -m elf_s390"
6213 LD="${LD-ld} -m elf32_sparc"
6219 x86_64-*kfreebsd*-gnu)
6220 LD="${LD-ld} -m elf_x86_64_fbsd"
6223 LD="${LD-ld} -m elf_x86_64"
6226 LD="${LD-ld} -m elf64lppc"
6229 LD="${LD-ld} -m elf64ppc"
6231 s390*-*linux*|s390*-*tpf*)
6232 LD="${LD-ld} -m elf64_s390"
6235 LD="${LD-ld} -m elf64_sparc"
6245 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6246 SAVE_CFLAGS="$CFLAGS"
6247 CFLAGS="$CFLAGS -belf"
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6249 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6250 if ${lt_cv_cc_needs_belf+:} false; then :
6251 $as_echo_n "(cached) " >&6
6254 ac_cpp='$CPP $CPPFLAGS'
6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6270 if ac_fn_c_try_link "$LINENO"; then :
6271 lt_cv_cc_needs_belf=yes
6273 lt_cv_cc_needs_belf=no
6275 rm -f core conftest.err conftest.$ac_objext \
6276 conftest$ac_exeext conftest.$ac_ext
6278 ac_cpp='$CPP $CPPFLAGS'
6279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6285 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6286 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6287 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6288 CFLAGS="$SAVE_CFLAGS"
6292 # Find out which ABI we are using.
6293 echo 'int i;' > conftest.$ac_ext
6294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6295 (eval $ac_compile) 2>&5
6297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6298 test $ac_status = 0; }; then
6299 case `/usr/bin/file conftest.o` in
6301 case $lt_cv_prog_gnu_ld in
6305 LD="${LD-ld} -m elf_x86_64"
6308 LD="${LD-ld} -m elf64_sparc"
6311 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6312 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6317 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6329 need_locks="$enable_libtool_lock"
6331 if test -n "$ac_tool_prefix"; then
6332 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6333 set dummy ${ac_tool_prefix}mt; ac_word=$2
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335 $as_echo_n "checking for $ac_word... " >&6; }
6336 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6337 $as_echo_n "(cached) " >&6
6339 if test -n "$MANIFEST_TOOL"; then
6340 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6349 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6360 if test -n "$MANIFEST_TOOL"; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6362 $as_echo "$MANIFEST_TOOL" >&6; }
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365 $as_echo "no" >&6; }
6370 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6371 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6372 # Extract the first word of "mt", so it can be a program name with args.
6373 set dummy mt; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$ac_ct_MANIFEST_TOOL"; then
6380 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6400 if test -n "$ac_ct_MANIFEST_TOOL"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6402 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6408 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6411 case $cross_compiling:$ac_tool_warned in
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6415 ac_tool_warned=yes ;;
6417 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6420 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6423 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6425 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6426 if ${lt_cv_path_mainfest_tool+:} false; then :
6427 $as_echo_n "(cached) " >&6
6429 lt_cv_path_mainfest_tool=no
6430 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6431 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6432 cat conftest.err >&5
6433 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6434 lt_cv_path_mainfest_tool=yes
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6439 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6440 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6450 rhapsody* | darwin*)
6451 if test -n "$ac_tool_prefix"; then
6452 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6453 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$DSYMUTIL"; then
6460 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6480 if test -n "$DSYMUTIL"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6482 $as_echo "$DSYMUTIL" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6490 if test -z "$ac_cv_prog_DSYMUTIL"; then
6491 ac_ct_DSYMUTIL=$DSYMUTIL
6492 # Extract the first word of "dsymutil", so it can be a program name with args.
6493 set dummy dsymutil; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6497 $as_echo_n "(cached) " >&6
6499 if test -n "$ac_ct_DSYMUTIL"; then
6500 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6509 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6520 if test -n "$ac_ct_DSYMUTIL"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6522 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6528 if test "x$ac_ct_DSYMUTIL" = x; then
6531 case $cross_compiling:$ac_tool_warned in
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6535 ac_tool_warned=yes ;;
6537 DSYMUTIL=$ac_ct_DSYMUTIL
6540 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6543 if test -n "$ac_tool_prefix"; then
6544 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6545 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6548 if ${ac_cv_prog_NMEDIT+:} false; then :
6549 $as_echo_n "(cached) " >&6
6551 if test -n "$NMEDIT"; then
6552 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 NMEDIT=$ac_cv_prog_NMEDIT
6572 if test -n "$NMEDIT"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6574 $as_echo "$NMEDIT" >&6; }
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6582 if test -z "$ac_cv_prog_NMEDIT"; then
6583 ac_ct_NMEDIT=$NMEDIT
6584 # Extract the first word of "nmedit", so it can be a program name with args.
6585 set dummy nmedit; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6589 $as_echo_n "(cached) " >&6
6591 if test -n "$ac_ct_NMEDIT"; then
6592 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6601 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6612 if test -n "$ac_ct_NMEDIT"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6614 $as_echo "$ac_ct_NMEDIT" >&6; }
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6620 if test "x$ac_ct_NMEDIT" = x; then
6623 case $cross_compiling:$ac_tool_warned in
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6627 ac_tool_warned=yes ;;
6629 NMEDIT=$ac_ct_NMEDIT
6632 NMEDIT="$ac_cv_prog_NMEDIT"
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if ${ac_cv_prog_LIPO+:} false; then :
6641 $as_echo_n "(cached) " >&6
6643 if test -n "$LIPO"; then
6644 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6653 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 LIPO=$ac_cv_prog_LIPO
6664 if test -n "$LIPO"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6666 $as_echo "$LIPO" >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_LIPO"; then
6676 # Extract the first word of "lipo", so it can be a program name with args.
6677 set dummy lipo; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6681 $as_echo_n "(cached) " >&6
6683 if test -n "$ac_ct_LIPO"; then
6684 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_ac_ct_LIPO="lipo"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6704 if test -n "$ac_ct_LIPO"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6706 $as_echo "$ac_ct_LIPO" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_LIPO" = x; then
6715 case $cross_compiling:$ac_tool_warned in
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6724 LIPO="$ac_cv_prog_LIPO"
6727 if test -n "$ac_tool_prefix"; then
6728 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6729 set dummy ${ac_tool_prefix}otool; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if ${ac_cv_prog_OTOOL+:} false; then :
6733 $as_echo_n "(cached) " >&6
6735 if test -n "$OTOOL"; then
6736 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755 OTOOL=$ac_cv_prog_OTOOL
6756 if test -n "$OTOOL"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6758 $as_echo "$OTOOL" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6766 if test -z "$ac_cv_prog_OTOOL"; then
6768 # Extract the first word of "otool", so it can be a program name with args.
6769 set dummy otool; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6773 $as_echo_n "(cached) " >&6
6775 if test -n "$ac_ct_OTOOL"; then
6776 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_ac_ct_OTOOL="otool"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6796 if test -n "$ac_ct_OTOOL"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6798 $as_echo "$ac_ct_OTOOL" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6804 if test "x$ac_ct_OTOOL" = x; then
6807 case $cross_compiling:$ac_tool_warned in
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6811 ac_tool_warned=yes ;;
6816 OTOOL="$ac_cv_prog_OTOOL"
6819 if test -n "$ac_tool_prefix"; then
6820 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6821 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823 $as_echo_n "checking for $ac_word... " >&6; }
6824 if ${ac_cv_prog_OTOOL64+:} false; then :
6825 $as_echo_n "(cached) " >&6
6827 if test -n "$OTOOL64"; then
6828 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6837 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847 OTOOL64=$ac_cv_prog_OTOOL64
6848 if test -n "$OTOOL64"; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6850 $as_echo "$OTOOL64" >&6; }
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 $as_echo "no" >&6; }
6858 if test -z "$ac_cv_prog_OTOOL64"; then
6859 ac_ct_OTOOL64=$OTOOL64
6860 # Extract the first word of "otool64", so it can be a program name with args.
6861 set dummy otool64; ac_word=$2
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863 $as_echo_n "checking for $ac_word... " >&6; }
6864 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6865 $as_echo_n "(cached) " >&6
6867 if test -n "$ac_ct_OTOOL64"; then
6868 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 test -z "$as_dir" && as_dir=.
6875 for ac_exec_ext in '' $ac_executable_extensions; do
6876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6877 ac_cv_prog_ac_ct_OTOOL64="otool64"
6878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6888 if test -n "$ac_ct_OTOOL64"; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6890 $as_echo "$ac_ct_OTOOL64" >&6; }
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6893 $as_echo "no" >&6; }
6896 if test "x$ac_ct_OTOOL64" = x; then
6899 case $cross_compiling:$ac_tool_warned in
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6903 ac_tool_warned=yes ;;
6905 OTOOL64=$ac_ct_OTOOL64
6908 OTOOL64="$ac_cv_prog_OTOOL64"
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6938 $as_echo_n "checking for -single_module linker flag... " >&6; }
6939 if ${lt_cv_apple_cc_single_mod+:} false; then :
6940 $as_echo_n "(cached) " >&6
6942 lt_cv_apple_cc_single_mod=no
6943 if test -z "${LT_MULTI_MODULE}"; then
6944 # By default we will add the -single_module flag. You can override
6945 # by either setting the environment variable LT_MULTI_MODULE
6946 # non-empty at configure time, or by adding -multi_module to the
6948 rm -rf libconftest.dylib*
6949 echo "int foo(void){return 1;}" > conftest.c
6950 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6951 -dynamiclib -Wl,-single_module conftest.c" >&5
6952 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6953 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6955 # If there is a non-empty error log, and "single_module"
6956 # appears in it, assume the flag caused a linker warning
6957 if test -s conftest.err && $GREP single_module conftest.err; then
6958 cat conftest.err >&5
6959 # Otherwise, if the output was created with a 0 exit code from
6960 # the compiler, it worked.
6961 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6962 lt_cv_apple_cc_single_mod=yes
6964 cat conftest.err >&5
6966 rm -rf libconftest.dylib*
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6971 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6974 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6975 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6976 $as_echo_n "(cached) " >&6
6978 lt_cv_ld_exported_symbols_list=no
6979 save_LDFLAGS=$LDFLAGS
6980 echo "_main" > conftest.sym
6981 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6983 /* end confdefs.h. */
6993 if ac_fn_c_try_link "$LINENO"; then :
6994 lt_cv_ld_exported_symbols_list=yes
6996 lt_cv_ld_exported_symbols_list=no
6998 rm -f core conftest.err conftest.$ac_objext \
6999 conftest$ac_exeext conftest.$ac_ext
7000 LDFLAGS="$save_LDFLAGS"
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7004 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7007 $as_echo_n "checking for -force_load linker flag... " >&6; }
7008 if ${lt_cv_ld_force_load+:} false; then :
7009 $as_echo_n "(cached) " >&6
7011 lt_cv_ld_force_load=no
7012 cat > conftest.c << _LT_EOF
7013 int forced_loaded() { return 2;}
7015 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7016 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7017 echo "$AR cru libconftest.a conftest.o" >&5
7018 $AR cru libconftest.a conftest.o 2>&5
7019 echo "$RANLIB libconftest.a" >&5
7020 $RANLIB libconftest.a 2>&5
7021 cat > conftest.c << _LT_EOF
7022 int main() { return 0;}
7024 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7025 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7027 if test -s conftest.err && $GREP force_load conftest.err; then
7028 cat conftest.err >&5
7029 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7030 lt_cv_ld_force_load=yes
7032 cat conftest.err >&5
7034 rm -f conftest.err libconftest.a conftest conftest.c
7035 rm -rf conftest.dSYM
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7039 $as_echo "$lt_cv_ld_force_load" >&6; }
7041 rhapsody* | darwin1.[012])
7042 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7044 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7045 darwin*) # darwin 5.x on
7046 # if running on 10.5 or later, the deployment target defaults
7047 # to the OS version, if on x86, and 10.4, the deployment
7048 # target defaults to 10.4. Don't you love it?
7049 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7050 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7051 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7053 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7055 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7059 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7060 _lt_dar_single_mod='$single_module'
7062 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7063 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7065 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7067 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7068 _lt_dsymutil='~$DSYMUTIL $lib || :'
7076 ac_cpp='$CPP $CPPFLAGS'
7077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7081 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7082 # On Suns, sometimes $CPP names a directory.
7083 if test -n "$CPP" && test -d "$CPP"; then
7086 if test -z "$CPP"; then
7087 if ${ac_cv_prog_CPP+:} false; then :
7088 $as_echo_n "(cached) " >&6
7090 # Double quotes because CPP needs to be expanded
7091 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7094 for ac_c_preproc_warn_flag in '' yes
7096 # Use a header file that comes with gcc, so configuring glibc
7097 # with a fresh cross-compiler works.
7098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7099 # <limits.h> exists even on freestanding compilers.
7100 # On the NeXT, cc -E runs the code through the compiler's parser,
7101 # not just through cpp. "Syntax error" is here to catch this case.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7105 # include <limits.h>
7107 # include <assert.h>
7111 if ac_fn_c_try_cpp "$LINENO"; then :
7114 # Broken: fails on valid input.
7117 rm -f conftest.err conftest.i conftest.$ac_ext
7119 # OK, works on sane cases. Now check whether nonexistent headers
7120 # can be detected and how.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #include <ac_nonexistent.h>
7125 if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: success on invalid input.
7129 # Passes both tests.
7133 rm -f conftest.err conftest.i conftest.$ac_ext
7136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7137 rm -f conftest.i conftest.err conftest.$ac_ext
7138 if $ac_preproc_ok; then :
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7151 $as_echo "$CPP" >&6; }
7153 for ac_c_preproc_warn_flag in '' yes
7155 # Use a header file that comes with gcc, so configuring glibc
7156 # with a fresh cross-compiler works.
7157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7158 # <limits.h> exists even on freestanding compilers.
7159 # On the NeXT, cc -E runs the code through the compiler's parser,
7160 # not just through cpp. "Syntax error" is here to catch this case.
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7164 # include <limits.h>
7166 # include <assert.h>
7170 if ac_fn_c_try_cpp "$LINENO"; then :
7173 # Broken: fails on valid input.
7176 rm -f conftest.err conftest.i conftest.$ac_ext
7178 # OK, works on sane cases. Now check whether nonexistent headers
7179 # can be detected and how.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #include <ac_nonexistent.h>
7184 if ac_fn_c_try_cpp "$LINENO"; then :
7185 # Broken: success on invalid input.
7188 # Passes both tests.
7192 rm -f conftest.err conftest.i conftest.$ac_ext
7195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7196 rm -f conftest.i conftest.err conftest.$ac_ext
7197 if $ac_preproc_ok; then :
7200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7202 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7203 See \`config.log' for more details" "$LINENO" 5; }
7207 ac_cpp='$CPP $CPPFLAGS'
7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7214 $as_echo_n "checking for ANSI C header files... " >&6; }
7215 if ${ac_cv_header_stdc+:} false; then :
7216 $as_echo_n "(cached) " >&6
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7233 if ac_fn_c_try_compile "$LINENO"; then :
7234 ac_cv_header_stdc=yes
7236 ac_cv_header_stdc=no
7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7240 if test $ac_cv_header_stdc = yes; then
7241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243 /* end confdefs.h. */
7247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7248 $EGREP "memchr" >/dev/null 2>&1; then :
7251 ac_cv_header_stdc=no
7257 if test $ac_cv_header_stdc = yes; then
7258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7265 $EGREP "free" >/dev/null 2>&1; then :
7268 ac_cv_header_stdc=no
7274 if test $ac_cv_header_stdc = yes; then
7275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7276 if test "$cross_compiling" = yes; then :
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7283 #if ((' ' & 0x0FF) == 0x020)
7284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7287 # define ISLOWER(c) \
7288 (('a' <= (c) && (c) <= 'i') \
7289 || ('j' <= (c) && (c) <= 'r') \
7290 || ('s' <= (c) && (c) <= 'z'))
7291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7299 for (i = 0; i < 256; i++)
7300 if (XOR (islower (i), ISLOWER (i))
7301 || toupper (i) != TOUPPER (i))
7306 if ac_fn_c_try_run "$LINENO"; then :
7309 ac_cv_header_stdc=no
7311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7312 conftest.$ac_objext conftest.beam conftest.$ac_ext
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7318 $as_echo "$ac_cv_header_stdc" >&6; }
7319 if test $ac_cv_header_stdc = yes; then
7321 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7325 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7326 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7327 inttypes.h stdint.h unistd.h
7329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7330 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7332 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7333 cat >>confdefs.h <<_ACEOF
7334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7342 for ac_header in dlfcn.h
7344 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7346 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7347 cat >>confdefs.h <<_ACEOF
7348 #define HAVE_DLFCN_H 1
7369 # Check whether --enable-shared was given.
7370 if test "${enable_shared+set}" = set; then :
7371 enableval=$enable_shared; p=${PACKAGE-default}
7373 yes) enable_shared=yes ;;
7374 no) enable_shared=no ;;
7377 # Look at the argument we got. We use all the common list separators.
7378 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7379 for pkg in $enableval; do
7381 if test "X$pkg" = "X$p"; then
7400 # Check whether --enable-static was given.
7401 if test "${enable_static+set}" = set; then :
7402 enableval=$enable_static; p=${PACKAGE-default}
7404 yes) enable_static=yes ;;
7405 no) enable_static=no ;;
7408 # Look at the argument we got. We use all the common list separators.
7409 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7410 for pkg in $enableval; do
7412 if test "X$pkg" = "X$p"; then
7432 # Check whether --with-pic was given.
7433 if test "${with_pic+set}" = set; then :
7434 withval=$with_pic; lt_p=${PACKAGE-default}
7436 yes|no) pic_mode=$withval ;;
7439 # Look at the argument we got. We use all the common list separators.
7440 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7441 for lt_pkg in $withval; do
7443 if test "X$lt_pkg" = "X$lt_p"; then
7455 test -z "$pic_mode" && pic_mode=default
7463 # Check whether --enable-fast-install was given.
7464 if test "${enable_fast_install+set}" = set; then :
7465 enableval=$enable_fast_install; p=${PACKAGE-default}
7467 yes) enable_fast_install=yes ;;
7468 no) enable_fast_install=no ;;
7470 enable_fast_install=no
7471 # Look at the argument we got. We use all the common list separators.
7472 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7473 for pkg in $enableval; do
7475 if test "X$pkg" = "X$p"; then
7476 enable_fast_install=yes
7483 enable_fast_install=yes
7496 # This can be used to rebuild libtool when needed
7497 LIBTOOL_DEPS="$ltmain"
7499 # Always use our own libtool.
7500 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7531 test -z "$LN_S" && LN_S="ln -s"
7546 if test -n "${ZSH_VERSION+set}" ; then
7547 setopt NO_GLOB_SUBST
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7551 $as_echo_n "checking for objdir... " >&6; }
7552 if ${lt_cv_objdir+:} false; then :
7553 $as_echo_n "(cached) " >&6
7555 rm -f .libs 2>/dev/null
7556 mkdir .libs 2>/dev/null
7557 if test -d .libs; then
7560 # MS-DOS does not allow filenames that begin with a dot.
7563 rmdir .libs 2>/dev/null
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7566 $as_echo "$lt_cv_objdir" >&6; }
7567 objdir=$lt_cv_objdir
7573 cat >>confdefs.h <<_ACEOF
7574 #define LT_OBJDIR "$lt_cv_objdir/"
7582 # AIX sometimes has problems with the GCC collect2 program. For some
7583 # reason, if we set the COLLECT_NAMES environment variable, the problems
7584 # vanish in a puff of smoke.
7585 if test "X${COLLECT_NAMES+set}" != Xset; then
7587 export COLLECT_NAMES
7594 can_build_shared=yes
7596 # All known linkers require a `.a' archive for static linking (except MSVC,
7597 # which needs '.lib').
7600 with_gnu_ld="$lt_cv_prog_gnu_ld"
7603 old_CFLAGS="$CFLAGS"
7605 # Set sane defaults for various variables
7606 test -z "$CC" && CC=cc
7607 test -z "$LTCC" && LTCC=$CC
7608 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7609 test -z "$LD" && LD=ld
7610 test -z "$ac_objext" && ac_objext=o
7612 for cc_temp in $compiler""; do
7614 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7615 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7620 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7623 # Only perform the check for file, if the check method requires it
7624 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7625 case $deplibs_check_method in
7627 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7629 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7630 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7631 $as_echo_n "(cached) " >&6
7635 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7638 lt_save_MAGIC_CMD="$MAGIC_CMD"
7639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7640 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7641 for ac_dir in $ac_dummy; do
7643 test -z "$ac_dir" && ac_dir=.
7644 if test -f $ac_dir/${ac_tool_prefix}file; then
7645 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7646 if test -n "$file_magic_test_file"; then
7647 case $deplibs_check_method in
7649 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7650 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7651 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7652 $EGREP "$file_magic_regex" > /dev/null; then
7657 *** Warning: the command libtool uses to detect shared libraries,
7658 *** $file_magic_cmd, produces output that libtool cannot recognize.
7659 *** The result is that libtool may fail to recognize shared libraries
7660 *** as such. This will affect the creation of libtool libraries that
7661 *** depend on shared libraries, but programs linked with such libtool
7662 *** libraries will work regardless of this problem. Nevertheless, you
7663 *** may want to report the problem to your system manager and/or to
7664 *** bug-libtool@gnu.org
7674 MAGIC_CMD="$lt_save_MAGIC_CMD"
7679 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7680 if test -n "$MAGIC_CMD"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7682 $as_echo "$MAGIC_CMD" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7692 if test -z "$lt_cv_path_MAGIC_CMD"; then
7693 if test -n "$ac_tool_prefix"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7695 $as_echo_n "checking for file... " >&6; }
7696 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7697 $as_echo_n "(cached) " >&6
7701 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7704 lt_save_MAGIC_CMD="$MAGIC_CMD"
7705 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7706 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7707 for ac_dir in $ac_dummy; do
7709 test -z "$ac_dir" && ac_dir=.
7710 if test -f $ac_dir/file; then
7711 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7712 if test -n "$file_magic_test_file"; then
7713 case $deplibs_check_method in
7715 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7716 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7717 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7718 $EGREP "$file_magic_regex" > /dev/null; then
7723 *** Warning: the command libtool uses to detect shared libraries,
7724 *** $file_magic_cmd, produces output that libtool cannot recognize.
7725 *** The result is that libtool may fail to recognize shared libraries
7726 *** as such. This will affect the creation of libtool libraries that
7727 *** depend on shared libraries, but programs linked with such libtool
7728 *** libraries will work regardless of this problem. Nevertheless, you
7729 *** may want to report the problem to your system manager and/or to
7730 *** bug-libtool@gnu.org
7740 MAGIC_CMD="$lt_save_MAGIC_CMD"
7745 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7746 if test -n "$MAGIC_CMD"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7748 $as_echo "$MAGIC_CMD" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7764 # Use C for the default configuration in the libtool script
7768 ac_cpp='$CPP $CPPFLAGS'
7769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7774 # Source file extension for C test sources.
7777 # Object file extension for compiled C test sources.
7781 # Code to be used in simple compile tests
7782 lt_simple_compile_test_code="int some_variable = 0;"
7784 # Code to be used in simple link tests
7785 lt_simple_link_test_code='int main(){return(0);}'
7793 # If no C compiler was specified, use CC.
7796 # If no C compiler flags were specified, use CFLAGS.
7797 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7799 # Allow CC to be a program name with arguments.
7802 # Save the default compiler, since it gets overwritten when the other
7803 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7804 compiler_DEFAULT=$CC
7806 # save warnings/boilerplate of simple test code
7807 ac_outfile=conftest.$ac_objext
7808 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7809 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7810 _lt_compiler_boilerplate=`cat conftest.err`
7813 ac_outfile=conftest.$ac_objext
7814 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7815 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7816 _lt_linker_boilerplate=`cat conftest.err`
7820 if test -n "$compiler"; then
7822 lt_prog_compiler_no_builtin_flag=
7824 if test "$GCC" = yes; then
7825 case $cc_basename in
7827 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7829 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7833 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7834 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7835 $as_echo_n "(cached) " >&6
7837 lt_cv_prog_compiler_rtti_exceptions=no
7838 ac_outfile=conftest.$ac_objext
7839 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7840 lt_compiler_flag="-fno-rtti -fno-exceptions"
7841 # Insert the option either (1) after the last *FLAGS variable, or
7842 # (2) before a word containing "conftest.", or (3) at the end.
7843 # Note that $ac_compile itself does not contain backslashes and begins
7844 # with a dollar sign (not a hyphen), so the echo should work correctly.
7845 # The option is referenced via a variable to avoid confusing sed.
7846 lt_compile=`echo "$ac_compile" | $SED \
7847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7849 -e 's:$: $lt_compiler_flag:'`
7850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7851 (eval "$lt_compile" 2>conftest.err)
7853 cat conftest.err >&5
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 if (exit $ac_status) && test -s "$ac_outfile"; then
7856 # The compiler can only warn and ignore the option if not recognized
7857 # So say no if there are warnings other than the usual output.
7858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7859 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7860 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7861 lt_cv_prog_compiler_rtti_exceptions=yes
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7868 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7870 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7871 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7883 lt_prog_compiler_wl=
7884 lt_prog_compiler_pic=
7885 lt_prog_compiler_static=
7888 if test "$GCC" = yes; then
7889 lt_prog_compiler_wl='-Wl,'
7890 lt_prog_compiler_static='-static'
7894 # All AIX code is PIC.
7895 if test "$host_cpu" = ia64; then
7896 # AIX 5 now supports IA64 processor
7897 lt_prog_compiler_static='-Bstatic'
7904 # see comment about AmigaOS4 .so support
7905 lt_prog_compiler_pic='-fPIC'
7908 # FIXME: we need at least 68020 code to build shared libraries, but
7909 # adding the `-m68020' flag to GCC prevents building anything better,
7911 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7916 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7917 # PIC is the default for these OSes.
7920 mingw* | cygwin* | pw32* | os2* | cegcc*)
7921 # This hack is so that the source file can tell whether it is being
7922 # built for inclusion in a dll (and should export symbols for example).
7923 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7924 # (--disable-auto-import) libraries
7925 lt_prog_compiler_pic='-DDLL_EXPORT'
7928 darwin* | rhapsody*)
7929 # PIC is the default on this platform
7930 # Common symbols not allowed in MH_DYLIB files
7931 lt_prog_compiler_pic='-fno-common'
7935 # PIC is the default for Haiku.
7936 # The "-static" flag exists, but is broken.
7937 lt_prog_compiler_static=
7941 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7942 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7943 # sets the default TLS model and affects inlining.
7949 lt_prog_compiler_pic='-fPIC'
7955 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7956 # Instead, we relocate shared libraries at runtime.
7960 # Just because we use GCC doesn't mean we suddenly get shared libraries
7961 # on systems that don't support them.
7962 lt_prog_compiler_can_build_shared=no
7967 # QNX uses GNU C++, but need to define -shared option too, otherwise
7969 lt_prog_compiler_pic='-fPIC -shared'
7973 if test -d /usr/nec; then
7974 lt_prog_compiler_pic=-Kconform_pic
7979 lt_prog_compiler_pic='-fPIC'
7983 case $cc_basename in
7984 nvcc*) # Cuda Compiler Driver 2.2
7985 lt_prog_compiler_wl='-Xlinker '
7986 if test -n "$lt_prog_compiler_pic"; then
7987 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7992 # PORTME Check for flag to pass linker flags through the system compiler.
7995 lt_prog_compiler_wl='-Wl,'
7996 if test "$host_cpu" = ia64; then
7997 # AIX 5 now supports IA64 processor
7998 lt_prog_compiler_static='-Bstatic'
8000 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8004 mingw* | cygwin* | pw32* | os2* | cegcc*)
8005 # This hack is so that the source file can tell whether it is being
8006 # built for inclusion in a dll (and should export symbols for example).
8007 lt_prog_compiler_pic='-DDLL_EXPORT'
8010 hpux9* | hpux10* | hpux11*)
8011 lt_prog_compiler_wl='-Wl,'
8012 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8019 lt_prog_compiler_pic='+Z'
8022 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8023 lt_prog_compiler_static='${wl}-a ${wl}archive'
8026 irix5* | irix6* | nonstopux*)
8027 lt_prog_compiler_wl='-Wl,'
8028 # PIC (with -KPIC) is the default.
8029 lt_prog_compiler_static='-non_shared'
8032 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8033 case $cc_basename in
8034 # old Intel for x86_64 which still supported -KPIC.
8036 lt_prog_compiler_wl='-Wl,'
8037 lt_prog_compiler_pic='-KPIC'
8038 lt_prog_compiler_static='-static'
8040 # icc used to be incompatible with GCC.
8041 # ICC 10 doesn't accept -KPIC any more.
8043 lt_prog_compiler_wl='-Wl,'
8044 lt_prog_compiler_pic='-fPIC'
8045 lt_prog_compiler_static='-static'
8047 # Lahey Fortran 8.1.
8049 lt_prog_compiler_wl='-Wl,'
8050 lt_prog_compiler_pic='--shared'
8051 lt_prog_compiler_static='--static'
8054 # NAG Fortran compiler
8055 lt_prog_compiler_wl='-Wl,-Wl,,'
8056 lt_prog_compiler_pic='-PIC'
8057 lt_prog_compiler_static='-Bstatic'
8059 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8060 # Portland Group compilers (*not* the Pentium gcc compiler,
8061 # which looks to be a dead project)
8062 lt_prog_compiler_wl='-Wl,'
8063 lt_prog_compiler_pic='-fpic'
8064 lt_prog_compiler_static='-Bstatic'
8067 lt_prog_compiler_wl='-Wl,'
8068 # All Alpha code is PIC.
8069 lt_prog_compiler_static='-non_shared'
8071 xl* | bgxl* | bgf* | mpixl*)
8072 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8073 lt_prog_compiler_wl='-Wl,'
8074 lt_prog_compiler_pic='-qpic'
8075 lt_prog_compiler_static='-qstaticlink'
8078 case `$CC -V 2>&1 | sed 5q` in
8079 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8080 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8081 lt_prog_compiler_pic='-KPIC'
8082 lt_prog_compiler_static='-Bstatic'
8083 lt_prog_compiler_wl=''
8085 *Sun\ F* | *Sun*Fortran*)
8086 lt_prog_compiler_pic='-KPIC'
8087 lt_prog_compiler_static='-Bstatic'
8088 lt_prog_compiler_wl='-Qoption ld '
8092 lt_prog_compiler_pic='-KPIC'
8093 lt_prog_compiler_static='-Bstatic'
8094 lt_prog_compiler_wl='-Wl,'
8096 *Intel*\ [CF]*Compiler*)
8097 lt_prog_compiler_wl='-Wl,'
8098 lt_prog_compiler_pic='-fPIC'
8099 lt_prog_compiler_static='-static'
8102 lt_prog_compiler_wl='-Wl,'
8103 lt_prog_compiler_pic='-fpic'
8104 lt_prog_compiler_static='-Bstatic'
8112 lt_prog_compiler_pic='-KPIC'
8113 lt_prog_compiler_static='-Bstatic'
8117 # QNX uses GNU C++, but need to define -shared option too, otherwise
8119 lt_prog_compiler_pic='-fPIC -shared'
8122 osf3* | osf4* | osf5*)
8123 lt_prog_compiler_wl='-Wl,'
8124 # All OSF/1 code is PIC.
8125 lt_prog_compiler_static='-non_shared'
8129 lt_prog_compiler_static='-non_shared'
8133 lt_prog_compiler_pic='-KPIC'
8134 lt_prog_compiler_static='-Bstatic'
8135 case $cc_basename in
8136 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8137 lt_prog_compiler_wl='-Qoption ld ';;
8139 lt_prog_compiler_wl='-Wl,';;
8144 lt_prog_compiler_wl='-Qoption ld '
8145 lt_prog_compiler_pic='-PIC'
8146 lt_prog_compiler_static='-Bstatic'
8149 sysv4 | sysv4.2uw2* | sysv4.3*)
8150 lt_prog_compiler_wl='-Wl,'
8151 lt_prog_compiler_pic='-KPIC'
8152 lt_prog_compiler_static='-Bstatic'
8156 if test -d /usr/nec ;then
8157 lt_prog_compiler_pic='-Kconform_pic'
8158 lt_prog_compiler_static='-Bstatic'
8162 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8163 lt_prog_compiler_wl='-Wl,'
8164 lt_prog_compiler_pic='-KPIC'
8165 lt_prog_compiler_static='-Bstatic'
8169 lt_prog_compiler_wl='-Wl,'
8170 lt_prog_compiler_can_build_shared=no
8174 lt_prog_compiler_pic='-pic'
8175 lt_prog_compiler_static='-Bstatic'
8179 lt_prog_compiler_can_build_shared=no
8185 # For platforms which do not support PIC, -DPIC is meaningless:
8187 lt_prog_compiler_pic=
8190 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8195 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8196 if ${lt_cv_prog_compiler_pic+:} false; then :
8197 $as_echo_n "(cached) " >&6
8199 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8202 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8203 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8206 # Check to make sure the PIC flag actually works.
8208 if test -n "$lt_prog_compiler_pic"; then
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8210 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8211 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8212 $as_echo_n "(cached) " >&6
8214 lt_cv_prog_compiler_pic_works=no
8215 ac_outfile=conftest.$ac_objext
8216 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8217 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8218 # Insert the option either (1) after the last *FLAGS variable, or
8219 # (2) before a word containing "conftest.", or (3) at the end.
8220 # Note that $ac_compile itself does not contain backslashes and begins
8221 # with a dollar sign (not a hyphen), so the echo should work correctly.
8222 # The option is referenced via a variable to avoid confusing sed.
8223 lt_compile=`echo "$ac_compile" | $SED \
8224 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8226 -e 's:$: $lt_compiler_flag:'`
8227 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8228 (eval "$lt_compile" 2>conftest.err)
8230 cat conftest.err >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 if (exit $ac_status) && test -s "$ac_outfile"; then
8233 # The compiler can only warn and ignore the option if not recognized
8234 # So say no if there are warnings other than the usual output.
8235 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8236 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8237 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8238 lt_cv_prog_compiler_pic_works=yes
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8245 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8247 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8248 case $lt_prog_compiler_pic in
8250 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8253 lt_prog_compiler_pic=
8254 lt_prog_compiler_can_build_shared=no
8270 # Check to make sure the static flag actually works.
8272 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8274 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8275 if ${lt_cv_prog_compiler_static_works+:} false; then :
8276 $as_echo_n "(cached) " >&6
8278 lt_cv_prog_compiler_static_works=no
8279 save_LDFLAGS="$LDFLAGS"
8280 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8281 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8282 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8283 # The linker can only warn and ignore the option if not recognized
8284 # So say no if there are warnings
8285 if test -s conftest.err; then
8286 # Append any errors to the config.log.
8287 cat conftest.err 1>&5
8288 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8289 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8290 if diff conftest.exp conftest.er2 >/dev/null; then
8291 lt_cv_prog_compiler_static_works=yes
8294 lt_cv_prog_compiler_static_works=yes
8298 LDFLAGS="$save_LDFLAGS"
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8302 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8304 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8307 lt_prog_compiler_static=
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8317 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8318 if ${lt_cv_prog_compiler_c_o+:} false; then :
8319 $as_echo_n "(cached) " >&6
8321 lt_cv_prog_compiler_c_o=no
8322 $RM -r conftest 2>/dev/null
8326 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8328 lt_compiler_flag="-o out/conftest2.$ac_objext"
8329 # Insert the option either (1) after the last *FLAGS variable, or
8330 # (2) before a word containing "conftest.", or (3) at the end.
8331 # Note that $ac_compile itself does not contain backslashes and begins
8332 # with a dollar sign (not a hyphen), so the echo should work correctly.
8333 lt_compile=`echo "$ac_compile" | $SED \
8334 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8336 -e 's:$: $lt_compiler_flag:'`
8337 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8338 (eval "$lt_compile" 2>out/conftest.err)
8340 cat out/conftest.err >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8344 # The compiler can only warn and ignore the option if not recognized
8345 # So say no if there are warnings
8346 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8347 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8348 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8349 lt_cv_prog_compiler_c_o=yes
8354 # SGI C++ compiler will create directory out/ii_files/ for
8355 # template instantiation
8356 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8357 $RM out/* && rmdir out
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8364 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8372 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8373 if ${lt_cv_prog_compiler_c_o+:} false; then :
8374 $as_echo_n "(cached) " >&6
8376 lt_cv_prog_compiler_c_o=no
8377 $RM -r conftest 2>/dev/null
8381 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8383 lt_compiler_flag="-o out/conftest2.$ac_objext"
8384 # Insert the option either (1) after the last *FLAGS variable, or
8385 # (2) before a word containing "conftest.", or (3) at the end.
8386 # Note that $ac_compile itself does not contain backslashes and begins
8387 # with a dollar sign (not a hyphen), so the echo should work correctly.
8388 lt_compile=`echo "$ac_compile" | $SED \
8389 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8390 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8391 -e 's:$: $lt_compiler_flag:'`
8392 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8393 (eval "$lt_compile" 2>out/conftest.err)
8395 cat out/conftest.err >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8399 # The compiler can only warn and ignore the option if not recognized
8400 # So say no if there are warnings
8401 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8402 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8403 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8404 lt_cv_prog_compiler_c_o=yes
8409 # SGI C++ compiler will create directory out/ii_files/ for
8410 # template instantiation
8411 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8412 $RM out/* && rmdir out
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8419 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8424 hard_links="nottested"
8425 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8426 # do not overwrite the value of need_locks provided by the user
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8428 $as_echo_n "checking if we can lock with hard links... " >&6; }
8431 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8433 ln conftest.a conftest.b 2>&5 || hard_links=no
8434 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8436 $as_echo "$hard_links" >&6; }
8437 if test "$hard_links" = no; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8439 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8452 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8455 allow_undefined_flag=
8456 always_export_symbols=no
8458 archive_expsym_cmds=
8459 compiler_needs_object=no
8460 enable_shared_with_static_runtimes=no
8461 export_dynamic_flag_spec=
8462 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8463 hardcode_automatic=no
8465 hardcode_direct_absolute=no
8466 hardcode_libdir_flag_spec=
8467 hardcode_libdir_separator=
8469 hardcode_shlibpath_var=unsupported
8471 link_all_deplibs=unknown
8474 old_archive_from_new_cmds=
8475 old_archive_from_expsyms_cmds=
8476 thread_safe_flag_spec=
8477 whole_archive_flag_spec=
8478 # include_expsyms should be a list of space-separated symbols to be *always*
8479 # included in the symbol list
8481 # exclude_expsyms can be an extended regexp of symbols to exclude
8482 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8483 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8484 # as well as any symbol that contains `d'.
8485 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8486 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8487 # platforms (ab)use it in PIC code, but their linkers get confused if
8488 # the symbol is explicitly referenced. Since portable code cannot
8489 # rely on this symbol name, it's probably fine to never include it in
8490 # preloaded symbol tables.
8491 # Exclude shared library initialization/finalization symbols.
8492 extract_expsyms_cmds=
8495 cygwin* | mingw* | pw32* | cegcc*)
8496 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8497 # When not using gcc, we currently assume that we are using
8498 # Microsoft Visual C++.
8499 if test "$GCC" != yes; then
8504 # we just hope/assume this is gcc and not c89 (= MSVC++)
8510 linux* | k*bsd*-gnu | gnu*)
8517 # On some targets, GNU ld is compatible enough with the native linker
8518 # that we're better off using the native interface for both.
8519 lt_use_gnu_ld_interface=no
8520 if test "$with_gnu_ld" = yes; then
8523 # The AIX port of GNU ld has always aspired to compatibility
8524 # with the native linker. However, as the warning in the GNU ld
8525 # block says, versions before 2.19.5* couldn't really create working
8526 # shared libraries, regardless of the interface used.
8527 case `$LD -v 2>&1` in
8528 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8529 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8530 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8532 lt_use_gnu_ld_interface=yes
8537 lt_use_gnu_ld_interface=yes
8542 if test "$lt_use_gnu_ld_interface" = yes; then
8543 # If archive_cmds runs LD, not CC, wlarc should be empty
8546 # Set some defaults for GNU ld with shared library support. These
8547 # are reset later if shared libraries are not supported. Putting them
8548 # here allows them to be overridden if necessary.
8549 runpath_var=LD_RUN_PATH
8550 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8551 export_dynamic_flag_spec='${wl}--export-dynamic'
8552 # ancient GNU ld didn't support --whole-archive et. al.
8553 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8554 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8556 whole_archive_flag_spec=
8558 supports_anon_versioning=no
8559 case `$LD -v 2>&1` in
8560 *GNU\ gold*) supports_anon_versioning=yes ;;
8561 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8562 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8563 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8564 *\ 2.11.*) ;; # other 2.11 versions
8565 *) supports_anon_versioning=yes ;;
8568 # See if GNU ld supports shared libraries.
8571 # On AIX/PPC, the GNU linker is very broken
8572 if test "$host_cpu" != ia64; then
8576 *** Warning: the GNU linker, at least up to release 2.19, is reported
8577 *** to be unable to reliably create shared libraries on AIX.
8578 *** Therefore, libtool is disabling shared libraries support. If you
8579 *** really care for shared libraries, you may want to install binutils
8580 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8581 *** You will then need to restart the configuration process.
8590 # see comment about AmigaOS4 .so support
8591 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8592 archive_expsym_cmds=''
8595 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)'
8596 hardcode_libdir_flag_spec='-L$libdir'
8597 hardcode_minus_L=yes
8603 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8604 allow_undefined_flag=unsupported
8605 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8606 # support --undefined. This deserves some investigation. FIXME
8607 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8613 cygwin* | mingw* | pw32* | cegcc*)
8614 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8615 # as there is no search path for DLLs.
8616 hardcode_libdir_flag_spec='-L$libdir'
8617 export_dynamic_flag_spec='${wl}--export-all-symbols'
8618 allow_undefined_flag=unsupported
8619 always_export_symbols=no
8620 enable_shared_with_static_runtimes=yes
8621 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8622 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8624 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8625 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8626 # If the export-symbols file already is a .def file (1st line
8627 # is EXPORTS), use it as is; otherwise, prepend...
8628 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8629 cp $export_symbols $output_objdir/$soname.def;
8631 echo EXPORTS > $output_objdir/$soname.def;
8632 cat $export_symbols >> $output_objdir/$soname.def;
8634 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8641 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8642 link_all_deplibs=yes
8647 hardcode_shlibpath_var=no
8648 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8649 export_dynamic_flag_spec='${wl}-E'
8650 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8651 # Instead, shared libraries are loaded at an image base (0x10000000 by
8652 # default) and relocated if they conflict, which is a slow very memory
8653 # consuming and fragmenting process. To avoid this, we pick a random,
8654 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8655 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8656 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8657 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'
8660 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8662 if test "$host_os" = linux-dietlibc; then
8663 case $cc_basename in
8664 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8667 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8668 && test "$tmp_diet" = no
8670 tmp_addflag=' $pic_flag'
8671 tmp_sharedflag='-shared'
8672 case $cc_basename,$host_cpu in
8673 pgcc*) # Portland Group C compiler
8674 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8675 tmp_addflag=' $pic_flag'
8677 pgf77* | pgf90* | pgf95* | pgfortran*)
8678 # Portland Group f77 and f90 compilers
8679 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8680 tmp_addflag=' $pic_flag -Mnomain' ;;
8681 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8682 tmp_addflag=' -i_dynamic' ;;
8683 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8684 tmp_addflag=' -i_dynamic -nofor_main' ;;
8685 ifc* | ifort*) # Intel Fortran compiler
8686 tmp_addflag=' -nofor_main' ;;
8687 lf95*) # Lahey Fortran 8.1
8688 whole_archive_flag_spec=
8689 tmp_sharedflag='--shared' ;;
8690 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8691 tmp_sharedflag='-qmkshrobj'
8693 nvcc*) # Cuda Compiler Driver 2.2
8694 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8695 compiler_needs_object=yes
8698 case `$CC -V 2>&1 | sed 5q` in
8699 *Sun\ C*) # Sun C 5.9
8700 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8701 compiler_needs_object=yes
8702 tmp_sharedflag='-G' ;;
8703 *Sun\ F*) # Sun Fortran 8.3
8704 tmp_sharedflag='-G' ;;
8706 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8708 if test "x$supports_anon_versioning" = xyes; then
8709 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8710 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8711 echo "local: *; };" >> $output_objdir/$libname.ver~
8712 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8715 case $cc_basename in
8716 xlf* | bgf* | bgxlf* | mpixlf*)
8717 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8718 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8719 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8720 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8721 if test "x$supports_anon_versioning" = xyes; then
8722 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8723 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8724 echo "local: *; };" >> $output_objdir/$libname.ver~
8725 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8734 netbsd* | netbsdelf*-gnu)
8735 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8736 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8739 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8740 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8745 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8749 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8750 *** create shared libraries on Solaris systems. Therefore, libtool
8751 *** is disabling shared libraries support. We urge you to upgrade GNU
8752 *** binutils to release 2.9.1 or newer. Another option is to modify
8753 *** your PATH or compiler configuration so that the native linker is
8754 *** used, and then restart.
8757 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8758 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8759 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8765 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8766 case `$LD -v 2>&1` in
8767 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8771 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8772 *** reliably create shared libraries on SCO systems. Therefore, libtool
8773 *** is disabling shared libraries support. We urge you to upgrade GNU
8774 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8775 *** your PATH or compiler configuration so that the native linker is
8776 *** used, and then restart.
8781 # For security reasons, it is highly recommended that you always
8782 # use absolute paths for naming shared libraries, and exclude the
8783 # DT_RUNPATH tag from executables and libraries. But doing so
8784 # requires that you compile everything twice, which is a pain.
8785 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8786 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8787 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8788 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8797 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8800 hardcode_shlibpath_var=no
8804 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8805 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8806 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8813 if test "$ld_shlibs" = no; then
8815 hardcode_libdir_flag_spec=
8816 export_dynamic_flag_spec=
8817 whole_archive_flag_spec=
8820 # PORTME fill in a description of your system's linker (not GNU ld)
8823 allow_undefined_flag=unsupported
8824 always_export_symbols=yes
8825 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'
8826 # Note: this linker hardcodes the directories in LIBPATH if there
8827 # are no directories specified by -L.
8828 hardcode_minus_L=yes
8829 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8830 # Neither direct hardcoding nor static linking is supported with a
8832 hardcode_direct=unsupported
8837 if test "$host_cpu" = ia64; then
8838 # On IA64, the linker does run time linking by default, so we don't
8839 # have to do anything special.
8840 aix_use_runtimelinking=no
8841 exp_sym_flag='-Bexport'
8844 # If we're using GNU nm, then we don't want the "-C" option.
8845 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8846 # Also, AIX nm treats weak defined symbols like other global
8847 # defined symbols, whereas GNU nm marks them as "W".
8848 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8849 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8851 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'
8853 aix_use_runtimelinking=no
8855 # Test if we are trying to use run time linking or normal
8856 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8857 # need to do runtime linking.
8858 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8859 for ld_flag in $LDFLAGS; do
8860 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8861 aix_use_runtimelinking=yes
8868 exp_sym_flag='-bexport'
8869 no_entry_flag='-bnoentry'
8872 # When large executables or shared objects are built, AIX ld can
8873 # have problems creating the table of contents. If linking a library
8874 # or program results in "error TOC overflow" add -mminimal-toc to
8875 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8876 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8880 hardcode_direct_absolute=yes
8881 hardcode_libdir_separator=':'
8882 link_all_deplibs=yes
8883 file_list_spec='${wl}-f,'
8885 if test "$GCC" = yes; then
8886 case $host_os in aix4.[012]|aix4.[012].*)
8887 # We only want to do this on AIX 4.2 and lower, the check
8888 # below for broken collect2 doesn't work under 4.3+
8889 collect2name=`${CC} -print-prog-name=collect2`
8890 if test -f "$collect2name" &&
8891 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8893 # We have reworked collect2
8896 # We have old collect2
8897 hardcode_direct=unsupported
8898 # It fails to find uninstalled libraries when the uninstalled
8899 # path is not listed in the libpath. Setting hardcode_minus_L
8900 # to unsupported forces relinking
8901 hardcode_minus_L=yes
8902 hardcode_libdir_flag_spec='-L$libdir'
8903 hardcode_libdir_separator=
8907 shared_flag='-shared'
8908 if test "$aix_use_runtimelinking" = yes; then
8909 shared_flag="$shared_flag "'${wl}-G'
8914 if test "$host_cpu" = ia64; then
8915 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8916 # chokes on -Wl,-G. The following line is correct:
8919 if test "$aix_use_runtimelinking" = yes; then
8920 shared_flag='${wl}-G'
8922 shared_flag='${wl}-bM:SRE'
8927 export_dynamic_flag_spec='${wl}-bexpall'
8928 # It seems that -bexpall does not export symbols beginning with
8929 # underscore (_), so it is better to generate a list of symbols to export.
8930 always_export_symbols=yes
8931 if test "$aix_use_runtimelinking" = yes; then
8932 # Warning - without using the other runtime loading flags (-brtl),
8933 # -berok will link without error, but may produce a broken library.
8934 allow_undefined_flag='-berok'
8935 # Determine the default libpath from the value encoded in an
8937 if test "${lt_cv_aix_libpath+set}" = set; then
8938 aix_libpath=$lt_cv_aix_libpath
8940 if ${lt_cv_aix_libpath_+:} false; then :
8941 $as_echo_n "(cached) " >&6
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8954 if ac_fn_c_try_link "$LINENO"; then :
8956 lt_aix_libpath_sed='
8957 /Import File Strings/,/^$/ {
8959 s/^0 *\([^ ]*\) *$/\1/
8963 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8964 # Check for a 64-bit object if we didn't find anything.
8965 if test -z "$lt_cv_aix_libpath_"; then
8966 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8969 rm -f core conftest.err conftest.$ac_objext \
8970 conftest$ac_exeext conftest.$ac_ext
8971 if test -z "$lt_cv_aix_libpath_"; then
8972 lt_cv_aix_libpath_="/usr/lib:/lib"
8977 aix_libpath=$lt_cv_aix_libpath_
8980 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8981 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8983 if test "$host_cpu" = ia64; then
8984 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8985 allow_undefined_flag="-z nodefs"
8986 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"
8988 # Determine the default libpath from the value encoded in an
8990 if test "${lt_cv_aix_libpath+set}" = set; then
8991 aix_libpath=$lt_cv_aix_libpath
8993 if ${lt_cv_aix_libpath_+:} false; then :
8994 $as_echo_n "(cached) " >&6
8996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
9007 if ac_fn_c_try_link "$LINENO"; then :
9009 lt_aix_libpath_sed='
9010 /Import File Strings/,/^$/ {
9012 s/^0 *\([^ ]*\) *$/\1/
9016 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9017 # Check for a 64-bit object if we didn't find anything.
9018 if test -z "$lt_cv_aix_libpath_"; then
9019 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9022 rm -f core conftest.err conftest.$ac_objext \
9023 conftest$ac_exeext conftest.$ac_ext
9024 if test -z "$lt_cv_aix_libpath_"; then
9025 lt_cv_aix_libpath_="/usr/lib:/lib"
9030 aix_libpath=$lt_cv_aix_libpath_
9033 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9034 # Warning - without using the other run time loading flags,
9035 # -berok will link without error, but may produce a broken library.
9036 no_undefined_flag=' ${wl}-bernotok'
9037 allow_undefined_flag=' ${wl}-berok'
9038 if test "$with_gnu_ld" = yes; then
9039 # We only use this code for GNU lds that support --whole-archive.
9040 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9042 # Exported symbols can be pulled into shared objects from archives
9043 whole_archive_flag_spec='$convenience'
9045 archive_cmds_need_lc=yes
9046 # This is similar to how AIX traditionally builds its shared libraries.
9047 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'
9055 # see comment about AmigaOS4 .so support
9056 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9057 archive_expsym_cmds=''
9060 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)'
9061 hardcode_libdir_flag_spec='-L$libdir'
9062 hardcode_minus_L=yes
9068 export_dynamic_flag_spec=-rdynamic
9071 cygwin* | mingw* | pw32* | cegcc*)
9072 # When not using gcc, we currently assume that we are using
9073 # Microsoft Visual C++.
9074 # hardcode_libdir_flag_spec is actually meaningless, as there is
9075 # no search path for DLLs.
9076 case $cc_basename in
9079 hardcode_libdir_flag_spec=' '
9080 allow_undefined_flag=unsupported
9081 always_export_symbols=yes
9083 # Tell ltmain to make .lib files, not .a files.
9085 # Tell ltmain to make .dll files, not .so files.
9087 # FIXME: Setting linknames here is a bad hack.
9088 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9089 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9090 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9092 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9094 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9096 # The linker will not automatically build a static lib if we build a DLL.
9097 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9098 enable_shared_with_static_runtimes=yes
9099 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9100 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9102 old_postinstall_cmds='chmod 644 $oldlib'
9103 postlink_cmds='lt_outputfile="@OUTPUT@"~
9104 lt_tool_outputfile="@TOOL_OUTPUT@"~
9105 case $lt_outputfile in
9108 lt_outputfile="$lt_outputfile.exe"
9109 lt_tool_outputfile="$lt_tool_outputfile.exe"
9112 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9113 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9114 $RM "$lt_outputfile.manifest";
9118 # Assume MSVC wrapper
9119 hardcode_libdir_flag_spec=' '
9120 allow_undefined_flag=unsupported
9121 # Tell ltmain to make .lib files, not .a files.
9123 # Tell ltmain to make .dll files, not .so files.
9125 # FIXME: Setting linknames here is a bad hack.
9126 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9127 # The linker will automatically build a .lib file if we build a DLL.
9128 old_archive_from_new_cmds='true'
9129 # FIXME: Should let the user specify the lib program.
9130 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9131 enable_shared_with_static_runtimes=yes
9136 darwin* | rhapsody*)
9139 archive_cmds_need_lc=no
9141 hardcode_automatic=yes
9142 hardcode_shlibpath_var=unsupported
9143 if test "$lt_cv_ld_force_load" = "yes"; then
9144 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9147 whole_archive_flag_spec=''
9149 link_all_deplibs=yes
9150 allow_undefined_flag="$_lt_dar_allow_undefined"
9151 case $cc_basename in
9152 ifort*) _lt_dar_can_shared=yes ;;
9153 *) _lt_dar_can_shared=$GCC ;;
9155 if test "$_lt_dar_can_shared" = "yes"; then
9156 output_verbose_link_cmd=func_echo_all
9157 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9158 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9159 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}"
9160 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}"
9169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9170 hardcode_libdir_flag_spec='-L$libdir'
9171 hardcode_shlibpath_var=no
9174 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9175 # support. Future versions do this automatically, but an explicit c++rt0.o
9176 # does not break anything, and helps significantly (at the cost of a little
9179 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9180 hardcode_libdir_flag_spec='-R$libdir'
9182 hardcode_shlibpath_var=no
9185 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9187 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9189 hardcode_minus_L=yes
9190 hardcode_shlibpath_var=no
9193 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9194 freebsd* | dragonfly*)
9195 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9196 hardcode_libdir_flag_spec='-R$libdir'
9198 hardcode_shlibpath_var=no
9202 if test "$GCC" = yes; then
9203 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9205 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'
9207 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9208 hardcode_libdir_separator=:
9211 # hardcode_minus_L: Not really in the search PATH,
9212 # but as the default location of the library.
9213 hardcode_minus_L=yes
9214 export_dynamic_flag_spec='${wl}-E'
9218 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9219 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9221 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9223 if test "$with_gnu_ld" = no; then
9224 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9225 hardcode_libdir_separator=:
9227 hardcode_direct_absolute=yes
9228 export_dynamic_flag_spec='${wl}-E'
9229 # hardcode_minus_L: Not really in the search PATH,
9230 # but as the default location of the library.
9231 hardcode_minus_L=yes
9236 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9239 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9242 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9245 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9251 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9254 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9258 # Older versions of the 11.00 compiler do not understand -b yet
9259 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9261 $as_echo_n "checking if $CC understands -b... " >&6; }
9262 if ${lt_cv_prog_compiler__b+:} false; then :
9263 $as_echo_n "(cached) " >&6
9265 lt_cv_prog_compiler__b=no
9266 save_LDFLAGS="$LDFLAGS"
9267 LDFLAGS="$LDFLAGS -b"
9268 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9269 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9270 # The linker can only warn and ignore the option if not recognized
9271 # So say no if there are warnings
9272 if test -s conftest.err; then
9273 # Append any errors to the config.log.
9274 cat conftest.err 1>&5
9275 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9276 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9277 if diff conftest.exp conftest.er2 >/dev/null; then
9278 lt_cv_prog_compiler__b=yes
9281 lt_cv_prog_compiler__b=yes
9285 LDFLAGS="$save_LDFLAGS"
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9289 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9291 if test x"$lt_cv_prog_compiler__b" = xyes; then
9292 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9294 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9300 if test "$with_gnu_ld" = no; then
9301 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9302 hardcode_libdir_separator=:
9307 hardcode_shlibpath_var=no
9311 hardcode_direct_absolute=yes
9312 export_dynamic_flag_spec='${wl}-E'
9314 # hardcode_minus_L: Not really in the search PATH,
9315 # but as the default location of the library.
9316 hardcode_minus_L=yes
9322 irix5* | irix6* | nonstopux*)
9323 if test "$GCC" = yes; then
9324 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9325 # Try to use the -exported_symbol ld option, if it does not
9326 # work, assume that -exports_file does not work either and
9327 # implicitly export all symbols.
9328 # This should be the same for all languages, so no per-tag cache variable.
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9330 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9331 if ${lt_cv_irix_exported_symbol+:} false; then :
9332 $as_echo_n "(cached) " >&6
9334 save_LDFLAGS="$LDFLAGS"
9335 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9338 int foo (void) { return 0; }
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 lt_cv_irix_exported_symbol=yes
9343 lt_cv_irix_exported_symbol=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LDFLAGS="$save_LDFLAGS"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9350 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9351 if test "$lt_cv_irix_exported_symbol" = yes; then
9352 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9355 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9356 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9358 archive_cmds_need_lc='no'
9359 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9360 hardcode_libdir_separator=:
9362 link_all_deplibs=yes
9365 netbsd* | netbsdelf*-gnu)
9366 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9367 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9369 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9371 hardcode_libdir_flag_spec='-R$libdir'
9373 hardcode_shlibpath_var=no
9377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9380 hardcode_libdir_separator=:
9381 hardcode_shlibpath_var=no
9388 if test -f /usr/libexec/ld.so; then
9390 hardcode_shlibpath_var=no
9391 hardcode_direct_absolute=yes
9392 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9393 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9395 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9396 export_dynamic_flag_spec='${wl}-E'
9399 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9400 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9401 hardcode_libdir_flag_spec='-R$libdir'
9404 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9405 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9415 hardcode_libdir_flag_spec='-L$libdir'
9416 hardcode_minus_L=yes
9417 allow_undefined_flag=unsupported
9418 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'
9419 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9423 if test "$GCC" = yes; then
9424 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9425 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9427 allow_undefined_flag=' -expect_unresolved \*'
9428 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9430 archive_cmds_need_lc='no'
9431 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9432 hardcode_libdir_separator=:
9435 osf4* | osf5*) # as osf3* with the addition of -msym flag
9436 if test "$GCC" = yes; then
9437 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9438 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9439 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9441 allow_undefined_flag=' -expect_unresolved \*'
9442 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9443 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~
9444 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9446 # Both c and cxx compiler support -rpath directly
9447 hardcode_libdir_flag_spec='-rpath $libdir'
9449 archive_cmds_need_lc='no'
9450 hardcode_libdir_separator=:
9454 no_undefined_flag=' -z defs'
9455 if test "$GCC" = yes; then
9457 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9458 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9459 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9461 case `$CC -V 2>&1` in
9464 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9466 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9470 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9471 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9472 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9476 hardcode_libdir_flag_spec='-R$libdir'
9477 hardcode_shlibpath_var=no
9479 solaris2.[0-5] | solaris2.[0-5].*) ;;
9481 # The compiler driver will combine and reorder linker options,
9482 # but understands `-z linker_flag'. GCC discards it without `$wl',
9483 # but is careful enough not to reorder.
9484 # Supported since Solaris 2.6 (maybe 2.5.1?)
9485 if test "$GCC" = yes; then
9486 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9488 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9492 link_all_deplibs=yes
9496 if test "x$host_vendor" = xsequent; then
9497 # Use $CC to link under sequent, because it throws in some extra .o
9498 # files that make .init and .fini sections work.
9499 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9501 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_libdir_flag_spec='-L$libdir'
9505 hardcode_minus_L=yes
9506 hardcode_shlibpath_var=no
9510 case $host_vendor in
9512 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9513 hardcode_direct=yes # is this really true???
9516 ## LD is ld it makes a PLAMLIB
9517 ## CC just makes a GrossModule.
9518 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9519 reload_cmds='$CC -r -o $output$reload_objs'
9523 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9524 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9527 runpath_var='LD_RUN_PATH'
9528 hardcode_shlibpath_var=no
9532 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9533 hardcode_shlibpath_var=no
9534 export_dynamic_flag_spec='-Bexport'
9538 if test -d /usr/nec; then
9539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9540 hardcode_shlibpath_var=no
9541 runpath_var=LD_RUN_PATH
9542 hardcode_runpath_var=yes
9547 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9548 no_undefined_flag='${wl}-z,text'
9549 archive_cmds_need_lc=no
9550 hardcode_shlibpath_var=no
9551 runpath_var='LD_RUN_PATH'
9553 if test "$GCC" = yes; then
9554 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9558 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9562 sysv5* | sco3.2v5* | sco5v6*)
9563 # Note: We can NOT use -z defs as we might desire, because we do not
9564 # link with -lc, and that would cause any symbols used from libc to
9565 # always be unresolved, which means just about no library would
9566 # ever link correctly. If we're not using GNU ld we use -z text
9567 # though, which does catch some bad symbols but isn't as heavy-handed
9569 no_undefined_flag='${wl}-z,text'
9570 allow_undefined_flag='${wl}-z,nodefs'
9571 archive_cmds_need_lc=no
9572 hardcode_shlibpath_var=no
9573 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9574 hardcode_libdir_separator=':'
9575 link_all_deplibs=yes
9576 export_dynamic_flag_spec='${wl}-Bexport'
9577 runpath_var='LD_RUN_PATH'
9579 if test "$GCC" = yes; then
9580 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9583 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9584 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9590 hardcode_libdir_flag_spec='-L$libdir'
9591 hardcode_shlibpath_var=no
9599 if test x$host_vendor = xsni; then
9601 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9602 export_dynamic_flag_spec='${wl}-Blargedynsym'
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9609 $as_echo "$ld_shlibs" >&6; }
9610 test "$ld_shlibs" = no && can_build_shared=no
9612 with_gnu_ld=$with_gnu_ld
9629 # Do we need to explicitly link libc?
9631 case "x$archive_cmds_need_lc" in
9633 # Assume -lc should be added
9634 archive_cmds_need_lc=yes
9636 if test "$enable_shared" = yes && test "$GCC" = yes; then
9637 case $archive_cmds in
9639 # FIXME: we may have to deal with multi-command sequences.
9642 # Test whether the compiler implicitly links with -lc since on some
9643 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9644 # to ld, don't add -lc before -lgcc.
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9646 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9647 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9648 $as_echo_n "(cached) " >&6
9651 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9654 (eval $ac_compile) 2>&5
9656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9657 test $ac_status = 0; } 2>conftest.err; then
9660 libobjs=conftest.$ac_objext
9662 wl=$lt_prog_compiler_wl
9663 pic_flag=$lt_prog_compiler_pic
9669 lt_save_allow_undefined_flag=$allow_undefined_flag
9670 allow_undefined_flag=
9671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9672 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9675 test $ac_status = 0; }
9677 lt_cv_archive_cmds_need_lc=no
9679 lt_cv_archive_cmds_need_lc=yes
9681 allow_undefined_flag=$lt_save_allow_undefined_flag
9683 cat conftest.err 1>&5
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9689 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9690 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9849 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9851 if test "$GCC" = yes; then
9853 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9854 *) lt_awk_arg="/^libraries:/" ;;
9857 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9858 *) lt_sed_strip_eq="s,=/,/,g" ;;
9860 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9861 case $lt_search_path_spec in
9863 # if the path contains ";" then we assume it to be the separator
9864 # otherwise default to the standard path separator (i.e. ":") - it is
9865 # assumed that no part of a normal pathname contains ";" but that should
9866 # okay in the real world where ";" in dirpaths is itself problematic.
9867 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9870 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9873 # Ok, now we have the path, separated by spaces, we can step through it
9874 # and add multilib dir if necessary.
9875 lt_tmp_lt_search_path_spec=
9876 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9877 for lt_sys_path in $lt_search_path_spec; do
9878 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9879 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9881 test -d "$lt_sys_path" && \
9882 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9885 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9886 BEGIN {RS=" "; FS="/|\n";} {
9889 for (lt_i = NF; lt_i > 0; lt_i--) {
9890 if ($lt_i != "" && $lt_i != ".") {
9891 if ($lt_i == "..") {
9894 if (lt_count == 0) {
9895 lt_foo="/" $lt_i lt_foo;
9902 if (lt_foo != "") { lt_freq[lt_foo]++; }
9903 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9905 # AWK program above erroneously prepends '/' to C:/dos/paths
9908 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9909 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9911 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9913 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9916 libname_spec='lib$name'
9924 shlibpath_overrides_runpath=unknown
9926 dynamic_linker="$host_os ld.so"
9927 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9928 need_lib_prefix=unknown
9929 hardcode_into_libs=no
9931 # when you set need_version to no, make sure it does not cause -set_version
9932 # flags to be left without arguments
9933 need_version=unknown
9937 version_type=linux # correct to gnu/linux during the next big refactor
9938 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9939 shlibpath_var=LIBPATH
9941 # AIX 3 has no versioning support, so we append a major version to the name.
9942 soname_spec='${libname}${release}${shared_ext}$major'
9946 version_type=linux # correct to gnu/linux during the next big refactor
9949 hardcode_into_libs=yes
9950 if test "$host_cpu" = ia64; then
9951 # AIX 5 supports IA64
9952 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9953 shlibpath_var=LD_LIBRARY_PATH
9955 # With GCC up to 2.95.x, collect2 would create an import file
9956 # for dependence libraries. The import file would start with
9957 # the line `#! .'. This would cause the generated library to
9958 # depend on `.', always an invalid library. This was fixed in
9959 # development snapshots of GCC prior to 3.0.
9961 aix4 | aix4.[01] | aix4.[01].*)
9962 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9964 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9971 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9972 # soname into executable. Probably we can add versioning support to
9973 # collect2, so additional links can be useful in future.
9974 if test "$aix_use_runtimelinking" = yes; then
9975 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9976 # instead of lib<name>.a to let people know that these are not
9977 # typical AIX shared libraries.
9978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9980 # We preserve .a as extension for shared libraries through AIX4.2
9981 # and later when we are not doing run time linking.
9982 library_names_spec='${libname}${release}.a $libname.a'
9983 soname_spec='${libname}${release}${shared_ext}$major'
9985 shlibpath_var=LIBPATH
9992 # Since July 2007 AmigaOS4 officially supports .so libraries.
9993 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9997 library_names_spec='$libname.ixlibrary $libname.a'
9998 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9999 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10005 library_names_spec='${libname}${shared_ext}'
10006 dynamic_linker="$host_os ld.so"
10007 shlibpath_var=LIBRARY_PATH
10011 version_type=linux # correct to gnu/linux during the next big refactor
10013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10014 soname_spec='${libname}${release}${shared_ext}$major'
10015 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10016 shlibpath_var=LD_LIBRARY_PATH
10017 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10018 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10019 # the default ld.so.conf also contains /usr/contrib/lib and
10020 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10021 # libtool to hard-code these into programs
10024 cygwin* | mingw* | pw32* | cegcc*)
10025 version_type=windows
10030 case $GCC,$cc_basename in
10033 library_names_spec='$libname.dll.a'
10034 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10035 postinstall_cmds='base_file=`basename \${file}`~
10036 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10037 dldir=$destdir/`dirname \$dlpath`~
10038 test -d \$dldir || mkdir -p \$dldir~
10039 $install_prog $dir/$dlname \$dldir/$dlname~
10040 chmod a+x \$dldir/$dlname~
10041 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10042 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10044 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10045 dlpath=$dir/\$dldll~
10047 shlibpath_overrides_runpath=yes
10051 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10052 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10054 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10057 # MinGW DLLs use traditional 'lib' prefix
10058 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10061 # pw32 DLLs use 'pw' prefix rather than 'lib'
10062 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10065 dynamic_linker='Win32 ld.exe'
10070 libname_spec='$name'
10071 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10072 library_names_spec='${libname}.dll.lib'
10076 sys_lib_search_path_spec=
10079 for lt_path in $LIB
10082 # Let DOS variable expansion print the short 8.3 style file name.
10083 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10084 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10087 # Convert to MSYS style.
10088 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10091 # Convert to unix form, then to dos form, then back to unix form
10092 # but this time dos style (no spaces!) so that the unix form looks
10093 # like /cygdrive/c/PROGRA~1:/cygdr...
10094 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10095 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10096 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10099 sys_lib_search_path_spec="$LIB"
10100 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10101 # It is most probably a Windows format PATH.
10102 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10104 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10106 # FIXME: find the short name or the path components, as spaces are
10107 # common. (e.g. "Program Files" -> "PROGRA~1")
10111 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10112 postinstall_cmds='base_file=`basename \${file}`~
10113 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10114 dldir=$destdir/`dirname \$dlpath`~
10115 test -d \$dldir || mkdir -p \$dldir~
10116 $install_prog $dir/$dlname \$dldir/$dlname'
10117 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10118 dlpath=$dir/\$dldll~
10120 shlibpath_overrides_runpath=yes
10121 dynamic_linker='Win32 link.exe'
10125 # Assume MSVC wrapper
10126 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10127 dynamic_linker='Win32 ld.exe'
10130 # FIXME: first we should search . and the directory the executable is in
10134 darwin* | rhapsody*)
10135 dynamic_linker="$host_os dyld"
10136 version_type=darwin
10139 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10140 soname_spec='${libname}${release}${major}$shared_ext'
10141 shlibpath_overrides_runpath=yes
10142 shlibpath_var=DYLD_LIBRARY_PATH
10143 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10145 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10146 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10150 version_type=linux # correct to gnu/linux during the next big refactor
10153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10154 soname_spec='${libname}${release}${shared_ext}$major'
10155 shlibpath_var=LD_LIBRARY_PATH
10158 freebsd* | dragonfly*)
10159 # DragonFly does not have aout. When/if they implement a new
10160 # versioning mechanism, adjust this.
10161 if test -x /usr/bin/objformat; then
10162 objformat=`/usr/bin/objformat`
10165 freebsd[23].*) objformat=aout ;;
10166 *) objformat=elf ;;
10169 version_type=freebsd-$objformat
10170 case $version_type in
10172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10181 shlibpath_var=LD_LIBRARY_PATH
10184 shlibpath_overrides_runpath=yes
10186 freebsd3.[01]* | freebsdelf3.[01]*)
10187 shlibpath_overrides_runpath=yes
10188 hardcode_into_libs=yes
10190 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10191 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10192 shlibpath_overrides_runpath=no
10193 hardcode_into_libs=yes
10195 *) # from 4.6 on, and DragonFly
10196 shlibpath_overrides_runpath=yes
10197 hardcode_into_libs=yes
10203 version_type=linux # correct to gnu/linux during the next big refactor
10206 dynamic_linker="$host_os runtime_loader"
10207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10208 soname_spec='${libname}${release}${shared_ext}$major'
10209 shlibpath_var=LIBRARY_PATH
10210 shlibpath_overrides_runpath=yes
10211 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10212 hardcode_into_libs=yes
10215 hpux9* | hpux10* | hpux11*)
10216 # Give a soname corresponding to the major version so that dld.sl refuses to
10217 # link against other versions.
10224 hardcode_into_libs=yes
10225 dynamic_linker="$host_os dld.so"
10226 shlibpath_var=LD_LIBRARY_PATH
10227 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10229 soname_spec='${libname}${release}${shared_ext}$major'
10230 if test "X$HPUX_IA64_MODE" = X32; then
10231 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10233 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10235 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10239 hardcode_into_libs=yes
10240 dynamic_linker="$host_os dld.sl"
10241 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10242 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10244 soname_spec='${libname}${release}${shared_ext}$major'
10245 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10246 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10250 dynamic_linker="$host_os dld.sl"
10251 shlibpath_var=SHLIB_PATH
10252 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10254 soname_spec='${libname}${release}${shared_ext}$major'
10257 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10258 postinstall_cmds='chmod 555 $lib'
10259 # or fails outright, so override atomically:
10260 install_override_mode=555
10264 version_type=linux # correct to gnu/linux during the next big refactor
10267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10268 soname_spec='${libname}${release}${shared_ext}$major'
10269 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10270 shlibpath_var=LD_LIBRARY_PATH
10271 shlibpath_overrides_runpath=no
10272 hardcode_into_libs=yes
10275 irix5* | irix6* | nonstopux*)
10277 nonstopux*) version_type=nonstopux ;;
10279 if test "$lt_cv_prog_gnu_ld" = yes; then
10280 version_type=linux # correct to gnu/linux during the next big refactor
10287 soname_spec='${libname}${release}${shared_ext}$major'
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10290 irix5* | nonstopux*)
10291 libsuff= shlibsuff=
10294 case $LD in # libtool.m4 will add one of these switches to LD
10295 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10296 libsuff= shlibsuff= libmagic=32-bit;;
10297 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10298 libsuff=32 shlibsuff=N32 libmagic=N32;;
10299 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10300 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10301 *) libsuff= shlibsuff= libmagic=never-match;;
10305 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10306 shlibpath_overrides_runpath=no
10307 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10308 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10309 hardcode_into_libs=yes
10312 # No shared lib support for Linux oldld, aout, or coff.
10313 linux*oldld* | linux*aout* | linux*coff*)
10317 # This must be glibc/ELF.
10318 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10319 version_type=linux # correct to gnu/linux during the next big refactor
10322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10323 soname_spec='${libname}${release}${shared_ext}$major'
10324 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10325 shlibpath_var=LD_LIBRARY_PATH
10326 shlibpath_overrides_runpath=no
10328 # Some binutils ld are patched to set DT_RUNPATH
10329 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10330 $as_echo_n "(cached) " >&6
10332 lt_cv_shlibpath_overrides_runpath=no
10333 save_LDFLAGS=$LDFLAGS
10334 save_libdir=$libdir
10335 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10336 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10350 lt_cv_shlibpath_overrides_runpath=yes
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LDFLAGS=$save_LDFLAGS
10356 libdir=$save_libdir
10360 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10362 # This implies no fast_install, which is unacceptable.
10363 # Some rework will be needed to allow for fast_install
10364 # before this can be enabled.
10365 hardcode_into_libs=yes
10367 # Append ld.so.conf contents to the search path
10368 if test -f /etc/ld.so.conf; then
10369 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10370 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10373 # We used to test for /lib/ld.so.1 and disable shared libraries on
10374 # powerpc, because MkLinux only supported shared libraries with the
10375 # GNU dynamic linker. Since this was broken with cross compilers,
10376 # most powerpc-linux boxes support dynamic linking these days and
10377 # people can always --disable-shared, the test was removed, and we
10378 # assume the GNU/Linux dynamic linker is in use.
10379 dynamic_linker='GNU/Linux ld.so'
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10387 soname_spec='${libname}${release}${shared_ext}$major'
10388 shlibpath_var=LD_LIBRARY_PATH
10389 shlibpath_overrides_runpath=no
10390 hardcode_into_libs=yes
10391 dynamic_linker='NetBSD ld.elf_so'
10398 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10400 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10401 dynamic_linker='NetBSD (a.out) ld.so'
10403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10404 soname_spec='${libname}${release}${shared_ext}$major'
10405 dynamic_linker='NetBSD ld.elf_so'
10407 shlibpath_var=LD_LIBRARY_PATH
10408 shlibpath_overrides_runpath=yes
10409 hardcode_into_libs=yes
10413 version_type=linux # correct to gnu/linux during the next big refactor
10414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10415 shlibpath_var=LD_LIBRARY_PATH
10416 shlibpath_overrides_runpath=yes
10423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10424 soname_spec='${libname}${release}${shared_ext}$major'
10425 shlibpath_var=LD_LIBRARY_PATH
10426 shlibpath_overrides_runpath=no
10427 hardcode_into_libs=yes
10428 dynamic_linker='ldqnx.so'
10433 sys_lib_dlsearch_path_spec="/usr/lib"
10435 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10437 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10438 *) need_version=no ;;
10440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10441 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10442 shlibpath_var=LD_LIBRARY_PATH
10443 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10445 openbsd2.[89] | openbsd2.[89].*)
10446 shlibpath_overrides_runpath=no
10449 shlibpath_overrides_runpath=yes
10453 shlibpath_overrides_runpath=yes
10458 libname_spec='$name'
10461 library_names_spec='$libname${shared_ext} $libname.a'
10462 dynamic_linker='OS/2 ld.exe'
10463 shlibpath_var=LIBPATH
10466 osf3* | osf4* | osf5*)
10470 soname_spec='${libname}${release}${shared_ext}$major'
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 shlibpath_var=LD_LIBRARY_PATH
10473 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10474 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10482 version_type=linux # correct to gnu/linux during the next big refactor
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10486 soname_spec='${libname}${release}${shared_ext}$major'
10487 shlibpath_var=LD_LIBRARY_PATH
10488 shlibpath_overrides_runpath=yes
10489 hardcode_into_libs=yes
10490 # ldd complains unless libraries are executable
10491 postinstall_cmds='chmod +x $lib'
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10497 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10498 shlibpath_var=LD_LIBRARY_PATH
10499 shlibpath_overrides_runpath=yes
10500 if test "$with_gnu_ld" = yes; then
10507 version_type=linux # correct to gnu/linux during the next big refactor
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 soname_spec='${libname}${release}${shared_ext}$major'
10510 shlibpath_var=LD_LIBRARY_PATH
10511 case $host_vendor in
10513 shlibpath_overrides_runpath=no
10515 runpath_var=LD_RUN_PATH
10523 shlibpath_overrides_runpath=no
10524 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10530 if test -d /usr/nec ;then
10531 version_type=linux # correct to gnu/linux during the next big refactor
10532 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10533 soname_spec='$libname${shared_ext}.$major'
10534 shlibpath_var=LD_LIBRARY_PATH
10538 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10539 version_type=freebsd-elf
10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10543 soname_spec='${libname}${release}${shared_ext}$major'
10544 shlibpath_var=LD_LIBRARY_PATH
10545 shlibpath_overrides_runpath=yes
10546 hardcode_into_libs=yes
10547 if test "$with_gnu_ld" = yes; then
10548 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10550 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10553 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10557 sys_lib_dlsearch_path_spec='/usr/lib'
10561 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10562 version_type=linux # correct to gnu/linux during the next big refactor
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 shlibpath_var=LD_LIBRARY_PATH
10567 shlibpath_overrides_runpath=no
10568 hardcode_into_libs=yes
10572 version_type=linux # correct to gnu/linux during the next big refactor
10573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 soname_spec='${libname}${release}${shared_ext}$major'
10575 shlibpath_var=LD_LIBRARY_PATH
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10583 $as_echo "$dynamic_linker" >&6; }
10584 test "$dynamic_linker" = no && can_build_shared=no
10586 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10587 if test "$GCC" = yes; then
10588 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10591 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10592 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10594 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10595 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10690 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10692 if test -n "$hardcode_libdir_flag_spec" ||
10693 test -n "$runpath_var" ||
10694 test "X$hardcode_automatic" = "Xyes" ; then
10696 # We can hardcode non-existent directories.
10697 if test "$hardcode_direct" != no &&
10698 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10699 # have to relink, otherwise we might link with an installed library
10700 # when we should be linking with a yet-to-be-installed one
10701 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10702 test "$hardcode_minus_L" != no; then
10703 # Linking always hardcodes the temporary library directory.
10704 hardcode_action=relink
10706 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10707 hardcode_action=immediate
10710 # We cannot hardcode anything, or else we can only hardcode existing
10712 hardcode_action=unsupported
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10715 $as_echo "$hardcode_action" >&6; }
10717 if test "$hardcode_action" = relink ||
10718 test "$inherit_rpath" = yes; then
10719 # Fast installation is not supported
10720 enable_fast_install=no
10721 elif test "$shlibpath_overrides_runpath" = yes ||
10722 test "$enable_shared" = no; then
10723 # Fast installation is not necessary
10724 enable_fast_install=needless
10732 if test "x$enable_dlopen" != xyes; then
10733 enable_dlopen=unknown
10734 enable_dlopen_self=unknown
10735 enable_dlopen_self_static=unknown
10742 lt_cv_dlopen="load_add_on"
10744 lt_cv_dlopen_self=yes
10747 mingw* | pw32* | cegcc*)
10748 lt_cv_dlopen="LoadLibrary"
10753 lt_cv_dlopen="dlopen"
10758 # if libdl is installed we need to link against it
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10760 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10761 if ${ac_cv_lib_dl_dlopen+:} false; then :
10762 $as_echo_n "(cached) " >&6
10764 ac_check_lib_save_LIBS=$LIBS
10766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10784 if ac_fn_c_try_link "$LINENO"; then :
10785 ac_cv_lib_dl_dlopen=yes
10787 ac_cv_lib_dl_dlopen=no
10789 rm -f core conftest.err conftest.$ac_objext \
10790 conftest$ac_exeext conftest.$ac_ext
10791 LIBS=$ac_check_lib_save_LIBS
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10794 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10795 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10796 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10799 lt_cv_dlopen="dyld"
10801 lt_cv_dlopen_self=yes
10808 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10809 if test "x$ac_cv_func_shl_load" = xyes; then :
10810 lt_cv_dlopen="shl_load"
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10813 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10814 if ${ac_cv_lib_dld_shl_load+:} false; then :
10815 $as_echo_n "(cached) " >&6
10817 ac_check_lib_save_LIBS=$LIBS
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10832 return shl_load ();
10837 if ac_fn_c_try_link "$LINENO"; then :
10838 ac_cv_lib_dld_shl_load=yes
10840 ac_cv_lib_dld_shl_load=no
10842 rm -f core conftest.err conftest.$ac_objext \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_lib_save_LIBS
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10847 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10848 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10849 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10851 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10852 if test "x$ac_cv_func_dlopen" = xyes; then :
10853 lt_cv_dlopen="dlopen"
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10856 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10857 if ${ac_cv_lib_dl_dlopen+:} false; then :
10858 $as_echo_n "(cached) " >&6
10860 ac_check_lib_save_LIBS=$LIBS
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10880 if ac_fn_c_try_link "$LINENO"; then :
10881 ac_cv_lib_dl_dlopen=yes
10883 ac_cv_lib_dl_dlopen=no
10885 rm -f core conftest.err conftest.$ac_objext \
10886 conftest$ac_exeext conftest.$ac_ext
10887 LIBS=$ac_check_lib_save_LIBS
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10890 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10891 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10892 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10895 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10896 if ${ac_cv_lib_svld_dlopen+:} false; then :
10897 $as_echo_n "(cached) " >&6
10899 ac_check_lib_save_LIBS=$LIBS
10900 LIBS="-lsvld $LIBS"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10919 if ac_fn_c_try_link "$LINENO"; then :
10920 ac_cv_lib_svld_dlopen=yes
10922 ac_cv_lib_svld_dlopen=no
10924 rm -f core conftest.err conftest.$ac_objext \
10925 conftest$ac_exeext conftest.$ac_ext
10926 LIBS=$ac_check_lib_save_LIBS
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10929 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10930 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10931 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10934 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10935 if ${ac_cv_lib_dld_dld_link+:} false; then :
10936 $as_echo_n "(cached) " >&6
10938 ac_check_lib_save_LIBS=$LIBS
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10953 return dld_link ();
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 ac_cv_lib_dld_dld_link=yes
10961 ac_cv_lib_dld_dld_link=no
10963 rm -f core conftest.err conftest.$ac_objext \
10964 conftest$ac_exeext conftest.$ac_ext
10965 LIBS=$ac_check_lib_save_LIBS
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10968 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10969 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10970 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10991 if test "x$lt_cv_dlopen" != xno; then
10997 case $lt_cv_dlopen in
10999 save_CPPFLAGS="$CPPFLAGS"
11000 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11002 save_LDFLAGS="$LDFLAGS"
11003 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11006 LIBS="$lt_cv_dlopen_libs $LIBS"
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11009 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11010 if ${lt_cv_dlopen_self+:} false; then :
11011 $as_echo_n "(cached) " >&6
11013 if test "$cross_compiling" = yes; then :
11014 lt_cv_dlopen_self=cross
11016 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11017 lt_status=$lt_dlunknown
11018 cat > conftest.$ac_ext <<_LT_EOF
11019 #line $LINENO "configure"
11020 #include "confdefs.h"
11029 # define LT_DLGLOBAL RTLD_GLOBAL
11032 # define LT_DLGLOBAL DL_GLOBAL
11034 # define LT_DLGLOBAL 0
11038 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11039 find out it does not work in some platform. */
11040 #ifndef LT_DLLAZY_OR_NOW
11042 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11045 # define LT_DLLAZY_OR_NOW DL_LAZY
11048 # define LT_DLLAZY_OR_NOW RTLD_NOW
11051 # define LT_DLLAZY_OR_NOW DL_NOW
11053 # define LT_DLLAZY_OR_NOW 0
11060 /* When -fvisbility=hidden is used, assume the code has been annotated
11061 correspondingly for the symbols needed. */
11062 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11063 int fnord () __attribute__((visibility("default")));
11066 int fnord () { return 42; }
11069 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11070 int status = $lt_dlunknown;
11074 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11077 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11078 else puts (dlerror ());
11080 /* dlclose (self); */
11088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11089 (eval $ac_link) 2>&5
11091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11092 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11093 (./conftest; exit; ) >&5 2>/dev/null
11095 case x$lt_status in
11096 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11097 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11098 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11101 # compilation failed
11102 lt_cv_dlopen_self=no
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11110 $as_echo "$lt_cv_dlopen_self" >&6; }
11112 if test "x$lt_cv_dlopen_self" = xyes; then
11113 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11115 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11116 if ${lt_cv_dlopen_self_static+:} false; then :
11117 $as_echo_n "(cached) " >&6
11119 if test "$cross_compiling" = yes; then :
11120 lt_cv_dlopen_self_static=cross
11122 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11123 lt_status=$lt_dlunknown
11124 cat > conftest.$ac_ext <<_LT_EOF
11125 #line $LINENO "configure"
11126 #include "confdefs.h"
11135 # define LT_DLGLOBAL RTLD_GLOBAL
11138 # define LT_DLGLOBAL DL_GLOBAL
11140 # define LT_DLGLOBAL 0
11144 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11145 find out it does not work in some platform. */
11146 #ifndef LT_DLLAZY_OR_NOW
11148 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11151 # define LT_DLLAZY_OR_NOW DL_LAZY
11154 # define LT_DLLAZY_OR_NOW RTLD_NOW
11157 # define LT_DLLAZY_OR_NOW DL_NOW
11159 # define LT_DLLAZY_OR_NOW 0
11166 /* When -fvisbility=hidden is used, assume the code has been annotated
11167 correspondingly for the symbols needed. */
11168 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11169 int fnord () __attribute__((visibility("default")));
11172 int fnord () { return 42; }
11175 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11176 int status = $lt_dlunknown;
11180 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11183 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11184 else puts (dlerror ());
11186 /* dlclose (self); */
11194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11195 (eval $ac_link) 2>&5
11197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11198 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11199 (./conftest; exit; ) >&5 2>/dev/null
11201 case x$lt_status in
11202 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11203 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11204 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11207 # compilation failed
11208 lt_cv_dlopen_self_static=no
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11216 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11219 CPPFLAGS="$save_CPPFLAGS"
11220 LDFLAGS="$save_LDFLAGS"
11225 case $lt_cv_dlopen_self in
11226 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11227 *) enable_dlopen_self=unknown ;;
11230 case $lt_cv_dlopen_self_static in
11231 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11232 *) enable_dlopen_self_static=unknown ;;
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11255 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11256 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11257 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11258 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11260 $as_echo "yes" >&6; }
11262 # FIXME - insert some real tests, host_os isn't really good enough
11265 if test -n "$STRIP" ; then
11266 striplib="$STRIP -x"
11267 old_striplib="$STRIP -S"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11269 $as_echo "yes" >&6; }
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11272 $as_echo "no" >&6; }
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11277 $as_echo "no" >&6; }
11293 # Report which library types will actually be built
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11295 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11297 $as_echo "$can_build_shared" >&6; }
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11300 $as_echo_n "checking whether to build shared libraries... " >&6; }
11301 test "$can_build_shared" = "no" && enable_shared=no
11303 # On AIX, shared libraries and static libraries use the same namespace, and
11304 # are all built from PIC.
11307 test "$enable_shared" = yes && enable_static=no
11308 if test -n "$RANLIB"; then
11309 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11310 postinstall_cmds='$RANLIB $lib'
11315 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11316 test "$enable_shared" = yes && enable_static=no
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11321 $as_echo "$enable_shared" >&6; }
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11324 $as_echo_n "checking whether to build static libraries... " >&6; }
11325 # Make sure either enable_shared or enable_static is yes.
11326 test "$enable_shared" = yes || enable_static=yes
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11328 $as_echo "$enable_static" >&6; }
11335 ac_cpp='$CPP $CPPFLAGS'
11336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11356 ac_config_commands="$ac_config_commands libtool"
11361 # Only expand once:
11364 # By default we simply use the C compiler to build assembly code.
11366 test "${CCAS+set}" = set || CCAS=$CC
11367 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11371 depcc="$CCAS" am_compiler_list=
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11374 $as_echo_n "checking dependency style of $depcc... " >&6; }
11375 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
11376 $as_echo_n "(cached) " >&6
11378 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11379 # We make a subdir and do the tests there. Otherwise we can end up
11380 # making bogus files that we don't know about and never remove. For
11381 # instance it was reported that on HP-UX the gcc test will end up
11382 # making a dummy file named 'D' -- because '-MD' means "put the output
11384 rm -rf conftest.dir
11386 # Copy depcomp to subdir because otherwise we won't find it if we're
11387 # using a relative directory.
11388 cp "$am_depcomp" conftest.dir
11390 # We will build objects and dependencies in a subdirectory because
11391 # it helps to detect inapplicable dependency modes. For instance
11392 # both Tru64's cc and ICC support -MD to output dependencies as a
11393 # side effect of compilation, but ICC will put the dependencies in
11394 # the current directory while Tru64 will put them in the object
11398 am_cv_CCAS_dependencies_compiler_type=none
11399 if test "$am_compiler_list" = ""; then
11400 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11402 am__universal=false
11405 for depmode in $am_compiler_list; do
11406 # Setup a source with many dependencies, because some compilers
11407 # like to wrap large dependency lists on column 80 (with \), and
11408 # we should not choose a depcomp mode which is confused by this.
11410 # We need to recreate these files for each test, as the compiler may
11411 # overwrite some of them when testing with obscure command lines.
11412 # This happens at least with the AIX C compiler.
11414 for i in 1 2 3 4 5 6; do
11415 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11416 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
11417 # Solaris 10 /bin/sh.
11418 echo '/* dummy */' > sub/conftst$i.h
11420 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11422 # We check with '-c' and '-o' for the sake of the "dashmstdout"
11423 # mode. It turns out that the SunPro C++ compiler does not properly
11424 # handle '-M -o', and we need to detect this. Also, some Intel
11425 # versions had trouble with output in subdirs.
11426 am__obj=sub/conftest.${OBJEXT-o}
11427 am__minus_obj="-o $am__obj"
11430 # This depmode causes a compiler race in universal mode.
11431 test "$am__universal" = false || continue
11434 # After this tag, mechanisms are not by side-effect, so they'll
11435 # only be used when explicitly requested.
11436 if test "x$enable_dependency_tracking" = xyes; then
11442 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11443 # This compiler won't grok '-c -o', but also, the minuso test has
11444 # not run yet. These depmodes are late enough in the game, and
11445 # so weak that their functioning should not be impacted.
11446 am__obj=conftest.${OBJEXT-o}
11451 if depmode=$depmode \
11452 source=sub/conftest.c object=$am__obj \
11453 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11454 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11455 >/dev/null 2>conftest.err &&
11456 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11457 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11458 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11459 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11460 # icc doesn't choke on unknown options, it will just issue warnings
11461 # or remarks (even with -Werror). So we grep stderr for any message
11462 # that says an option was ignored or not supported.
11463 # When given -MP, icc 7.0 and 7.1 complain thusly:
11464 # icc: Command line warning: ignoring option '-M'; no argument required
11465 # The diagnosis changed in icc 8.0:
11466 # icc: Command line remark: option '-MP' not supported
11467 if (grep 'ignoring option' conftest.err ||
11468 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11469 am_cv_CCAS_dependencies_compiler_type=$depmode
11476 rm -rf conftest.dir
11478 am_cv_CCAS_dependencies_compiler_type=none
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
11483 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
11484 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
11487 test "x$enable_dependency_tracking" != xno \
11488 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
11489 am__fastdepCCAS_TRUE=
11490 am__fastdepCCAS_FALSE='#'
11492 am__fastdepCCAS_TRUE='#'
11493 am__fastdepCCAS_FALSE=
11498 ac_cpp='$CPP $CPPFLAGS'
11499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11502 if test -n "$ac_tool_prefix"; then
11503 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11504 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11506 $as_echo_n "checking for $ac_word... " >&6; }
11507 if ${ac_cv_prog_CC+:} false; then :
11508 $as_echo_n "(cached) " >&6
11510 if test -n "$CC"; then
11511 ac_cv_prog_CC="$CC" # Let the user override the test.
11513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11514 for as_dir in $PATH
11517 test -z "$as_dir" && as_dir=.
11518 for ac_exec_ext in '' $ac_executable_extensions; do
11519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11520 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11531 if test -n "$CC"; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11533 $as_echo "$CC" >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536 $as_echo "no" >&6; }
11541 if test -z "$ac_cv_prog_CC"; then
11543 # Extract the first word of "gcc", so it can be a program name with args.
11544 set dummy gcc; ac_word=$2
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11546 $as_echo_n "checking for $ac_word... " >&6; }
11547 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11548 $as_echo_n "(cached) " >&6
11550 if test -n "$ac_ct_CC"; then
11551 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11554 for as_dir in $PATH
11557 test -z "$as_dir" && as_dir=.
11558 for ac_exec_ext in '' $ac_executable_extensions; do
11559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11560 ac_cv_prog_ac_ct_CC="gcc"
11561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11571 if test -n "$ac_ct_CC"; then
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11573 $as_echo "$ac_ct_CC" >&6; }
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11576 $as_echo "no" >&6; }
11579 if test "x$ac_ct_CC" = x; then
11582 case $cross_compiling:$ac_tool_warned in
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11586 ac_tool_warned=yes ;;
11591 CC="$ac_cv_prog_CC"
11594 if test -z "$CC"; then
11595 if test -n "$ac_tool_prefix"; then
11596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11597 set dummy ${ac_tool_prefix}cc; ac_word=$2
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11599 $as_echo_n "checking for $ac_word... " >&6; }
11600 if ${ac_cv_prog_CC+:} false; then :
11601 $as_echo_n "(cached) " >&6
11603 if test -n "$CC"; then
11604 ac_cv_prog_CC="$CC" # Let the user override the test.
11606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11607 for as_dir in $PATH
11610 test -z "$as_dir" && as_dir=.
11611 for ac_exec_ext in '' $ac_executable_extensions; do
11612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11613 ac_cv_prog_CC="${ac_tool_prefix}cc"
11614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11624 if test -n "$CC"; then
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11626 $as_echo "$CC" >&6; }
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11629 $as_echo "no" >&6; }
11635 if test -z "$CC"; then
11636 # Extract the first word of "cc", so it can be a program name with args.
11637 set dummy cc; ac_word=$2
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11639 $as_echo_n "checking for $ac_word... " >&6; }
11640 if ${ac_cv_prog_CC+:} false; then :
11641 $as_echo_n "(cached) " >&6
11643 if test -n "$CC"; then
11644 ac_cv_prog_CC="$CC" # Let the user override the test.
11646 ac_prog_rejected=no
11647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11648 for as_dir in $PATH
11651 test -z "$as_dir" && as_dir=.
11652 for ac_exec_ext in '' $ac_executable_extensions; do
11653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11654 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11655 ac_prog_rejected=yes
11659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11666 if test $ac_prog_rejected = yes; then
11667 # We found a bogon in the path, so make sure we never use it.
11668 set dummy $ac_cv_prog_CC
11670 if test $# != 0; then
11671 # We chose a different compiler from the bogus one.
11672 # However, it has the same basename, so the bogon will be chosen
11673 # first if we set CC to just the basename; use the full file name.
11675 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11681 if test -n "$CC"; then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11683 $as_echo "$CC" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11686 $as_echo "no" >&6; }
11691 if test -z "$CC"; then
11692 if test -n "$ac_tool_prefix"; then
11693 for ac_prog in cl.exe
11695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11698 $as_echo_n "checking for $ac_word... " >&6; }
11699 if ${ac_cv_prog_CC+:} false; then :
11700 $as_echo_n "(cached) " >&6
11702 if test -n "$CC"; then
11703 ac_cv_prog_CC="$CC" # Let the user override the test.
11705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11706 for as_dir in $PATH
11709 test -z "$as_dir" && as_dir=.
11710 for ac_exec_ext in '' $ac_executable_extensions; do
11711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11712 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11723 if test -n "$CC"; then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11725 $as_echo "$CC" >&6; }
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11728 $as_echo "no" >&6; }
11732 test -n "$CC" && break
11735 if test -z "$CC"; then
11737 for ac_prog in cl.exe
11739 # Extract the first word of "$ac_prog", so it can be a program name with args.
11740 set dummy $ac_prog; ac_word=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11744 $as_echo_n "(cached) " >&6
11746 if test -n "$ac_ct_CC"; then
11747 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11750 for as_dir in $PATH
11753 test -z "$as_dir" && as_dir=.
11754 for ac_exec_ext in '' $ac_executable_extensions; do
11755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11756 ac_cv_prog_ac_ct_CC="$ac_prog"
11757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11767 if test -n "$ac_ct_CC"; then
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11769 $as_echo "$ac_ct_CC" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11776 test -n "$ac_ct_CC" && break
11779 if test "x$ac_ct_CC" = x; then
11782 case $cross_compiling:$ac_tool_warned in
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11786 ac_tool_warned=yes ;;
11795 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11797 as_fn_error $? "no acceptable C compiler found in \$PATH
11798 See \`config.log' for more details" "$LINENO" 5; }
11800 # Provide some information about the compiler.
11801 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11804 for ac_option in --version -v -V -qversion; do
11805 { { ac_try="$ac_compiler $ac_option >&5"
11806 case "(($ac_try" in
11807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11808 *) ac_try_echo=$ac_try;;
11810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11811 $as_echo "$ac_try_echo"; } >&5
11812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11814 if test -s conftest.err; then
11816 ... rest of stderr output deleted ...
11817 10q' conftest.err >conftest.er1
11818 cat conftest.er1 >&5
11820 rm -f conftest.er1 conftest.err
11821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11822 test $ac_status = 0; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11827 if ${ac_cv_c_compiler_gnu+:} false; then :
11828 $as_echo_n "(cached) " >&6
11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11844 if ac_fn_c_try_compile "$LINENO"; then :
11845 ac_compiler_gnu=yes
11849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11855 if test $ac_compiler_gnu = yes; then
11860 ac_test_CFLAGS=${CFLAGS+set}
11861 ac_save_CFLAGS=$CFLAGS
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11864 if ${ac_cv_prog_cc_g+:} false; then :
11865 $as_echo_n "(cached) " >&6
11867 ac_save_c_werror_flag=$ac_c_werror_flag
11868 ac_c_werror_flag=yes
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11882 if ac_fn_c_try_compile "$LINENO"; then :
11883 ac_cv_prog_cc_g=yes
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11897 if ac_fn_c_try_compile "$LINENO"; then :
11900 ac_c_werror_flag=$ac_save_c_werror_flag
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11913 if ac_fn_c_try_compile "$LINENO"; then :
11914 ac_cv_prog_cc_g=yes
11916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11921 ac_c_werror_flag=$ac_save_c_werror_flag
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11924 $as_echo "$ac_cv_prog_cc_g" >&6; }
11925 if test "$ac_test_CFLAGS" = set; then
11926 CFLAGS=$ac_save_CFLAGS
11927 elif test $ac_cv_prog_cc_g = yes; then
11928 if test "$GCC" = yes; then
11934 if test "$GCC" = yes; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11942 if ${ac_cv_prog_cc_c89+:} false; then :
11943 $as_echo_n "(cached) " >&6
11945 ac_cv_prog_cc_c89=no
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11949 #include <stdarg.h>
11952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11953 struct buf { int x; };
11954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11955 static char *e (p, i)
11961 static char *f (char * (*g) (char **, int), char **p, ...)
11966 s = g (p, va_arg (v,int));
11971 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11972 function prototypes and stuff, but not '\xHH' hex character constants.
11973 These don't provoke an error unfortunately, instead are silently treated
11974 as 'x'. The following induces an error, until -std is added to get
11975 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11976 array size at least. It's necessary to write '\x00'==0 to get something
11977 that's true only with -std. */
11978 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11980 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11981 inside strings and character constants. */
11983 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11985 int test (int i, double x);
11986 struct s1 {int (*f) (int a);};
11987 struct s2 {int (*f) (double a);};
11988 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11994 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11999 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12000 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12002 CC="$ac_save_CC $ac_arg"
12003 if ac_fn_c_try_compile "$LINENO"; then :
12004 ac_cv_prog_cc_c89=$ac_arg
12006 rm -f core conftest.err conftest.$ac_objext
12007 test "x$ac_cv_prog_cc_c89" != "xno" && break
12009 rm -f conftest.$ac_ext
12014 case "x$ac_cv_prog_cc_c89" in
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12017 $as_echo "none needed" >&6; } ;;
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12020 $as_echo "unsupported" >&6; } ;;
12022 CC="$CC $ac_cv_prog_cc_c89"
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12024 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12026 if test "x$ac_cv_prog_cc_c89" != xno; then :
12031 ac_cpp='$CPP $CPPFLAGS'
12032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12037 ac_cpp='$CPP $CPPFLAGS'
12038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12042 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12043 if ${am_cv_prog_cc_c_o+:} false; then :
12044 $as_echo_n "(cached) " >&6
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12057 # Make sure it works both with $CC and with simple cc.
12058 # Following AC_PROG_CC_C_O, we do the test twice because some
12059 # compilers refuse to overwrite an existing .o file with -o,
12060 # though they will create one.
12061 am_cv_prog_cc_c_o=yes
12062 for am_i in 1 2; do
12063 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12064 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } \
12068 && test -f conftest2.$ac_objext; then
12071 am_cv_prog_cc_c_o=no
12075 rm -f core conftest*
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12079 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12080 if test "$am_cv_prog_cc_c_o" != yes; then
12081 # Losing compiler, so override with the script.
12082 # FIXME: It is wrong to rewrite CC.
12083 # But if we don't then we get into trouble of one sort or another.
12084 # A longer-term fix would be to have automake use am__CC in this case,
12085 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12086 CC="$am_aux_dir/compile $CC"
12089 ac_cpp='$CPP $CPPFLAGS'
12090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12095 depcc="$CC" am_compiler_list=
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12098 $as_echo_n "checking dependency style of $depcc... " >&6; }
12099 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12100 $as_echo_n "(cached) " >&6
12102 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12103 # We make a subdir and do the tests there. Otherwise we can end up
12104 # making bogus files that we don't know about and never remove. For
12105 # instance it was reported that on HP-UX the gcc test will end up
12106 # making a dummy file named 'D' -- because '-MD' means "put the output
12108 rm -rf conftest.dir
12110 # Copy depcomp to subdir because otherwise we won't find it if we're
12111 # using a relative directory.
12112 cp "$am_depcomp" conftest.dir
12114 # We will build objects and dependencies in a subdirectory because
12115 # it helps to detect inapplicable dependency modes. For instance
12116 # both Tru64's cc and ICC support -MD to output dependencies as a
12117 # side effect of compilation, but ICC will put the dependencies in
12118 # the current directory while Tru64 will put them in the object
12122 am_cv_CC_dependencies_compiler_type=none
12123 if test "$am_compiler_list" = ""; then
12124 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12126 am__universal=false
12127 case " $depcc " in #(
12128 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12131 for depmode in $am_compiler_list; do
12132 # Setup a source with many dependencies, because some compilers
12133 # like to wrap large dependency lists on column 80 (with \), and
12134 # we should not choose a depcomp mode which is confused by this.
12136 # We need to recreate these files for each test, as the compiler may
12137 # overwrite some of them when testing with obscure command lines.
12138 # This happens at least with the AIX C compiler.
12140 for i in 1 2 3 4 5 6; do
12141 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12142 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12143 # Solaris 10 /bin/sh.
12144 echo '/* dummy */' > sub/conftst$i.h
12146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12148 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12149 # mode. It turns out that the SunPro C++ compiler does not properly
12150 # handle '-M -o', and we need to detect this. Also, some Intel
12151 # versions had trouble with output in subdirs.
12152 am__obj=sub/conftest.${OBJEXT-o}
12153 am__minus_obj="-o $am__obj"
12156 # This depmode causes a compiler race in universal mode.
12157 test "$am__universal" = false || continue
12160 # After this tag, mechanisms are not by side-effect, so they'll
12161 # only be used when explicitly requested.
12162 if test "x$enable_dependency_tracking" = xyes; then
12168 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12169 # This compiler won't grok '-c -o', but also, the minuso test has
12170 # not run yet. These depmodes are late enough in the game, and
12171 # so weak that their functioning should not be impacted.
12172 am__obj=conftest.${OBJEXT-o}
12177 if depmode=$depmode \
12178 source=sub/conftest.c object=$am__obj \
12179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12180 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12181 >/dev/null 2>conftest.err &&
12182 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12184 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12186 # icc doesn't choke on unknown options, it will just issue warnings
12187 # or remarks (even with -Werror). So we grep stderr for any message
12188 # that says an option was ignored or not supported.
12189 # When given -MP, icc 7.0 and 7.1 complain thusly:
12190 # icc: Command line warning: ignoring option '-M'; no argument required
12191 # The diagnosis changed in icc 8.0:
12192 # icc: Command line remark: option '-MP' not supported
12193 if (grep 'ignoring option' conftest.err ||
12194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12195 am_cv_CC_dependencies_compiler_type=$depmode
12202 rm -rf conftest.dir
12204 am_cv_CC_dependencies_compiler_type=none
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12209 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12210 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12213 test "x$enable_dependency_tracking" != xno \
12214 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12215 am__fastdepCC_TRUE=
12216 am__fastdepCC_FALSE='#'
12218 am__fastdepCC_TRUE='#'
12219 am__fastdepCC_FALSE=
12226 # Check whether --with-plugin-toolkit was given.
12227 if test "${with_plugin_toolkit+set}" = set; then :
12228 withval=$with_plugin_toolkit; with_plugin_toolkit=${prefix}/include
12230 with_plugin_toolkit=.
12234 TOOLKIT_INCLUDE=${with_plugin_toolkit}
12236 if test "$with_plugin_toolkit" != "."; then
12237 WITH_PLUGIN_TOOLKIT_TRUE=
12238 WITH_PLUGIN_TOOLKIT_FALSE='#'
12240 WITH_PLUGIN_TOOLKIT_TRUE='#'
12241 WITH_PLUGIN_TOOLKIT_FALSE=
12244 ac_config_files="$ac_config_files Makefile"
12246 cat >confcache <<\_ACEOF
12247 # This file is a shell script that caches the results of configure
12248 # tests run on this system so they can be shared between configure
12249 # scripts and configure runs, see configure's option --config-cache.
12250 # It is not useful on other systems. If it contains results you don't
12251 # want to keep, you may remove or edit it.
12253 # config.status only pays attention to the cache file if you give it
12254 # the --recheck option to rerun configure.
12256 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12257 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12258 # following values.
12262 # The following way of writing the cache mishandles newlines in values,
12263 # but we know of no workaround that is simple, portable, and efficient.
12264 # So, we kill variables containing newlines.
12265 # Ultrix sh set writes to stderr and can't be redirected directly,
12266 # and sets the high bit in the cache file unless we assign to the vars.
12268 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12269 eval ac_val=\$$ac_var
12273 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12274 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12277 _ | IFS | as_nl) ;; #(
12278 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12279 *) { eval $ac_var=; unset $ac_var;} ;;
12285 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12286 *${as_nl}ac_space=\ *)
12287 # `set' does not quote correctly, so add quotes: double-quote
12288 # substitution turns \\\\ into \\, and sed turns \\ into \.
12291 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12294 # `set' quotes correctly as required by POSIX, so do not add quotes.
12295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12306 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12308 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12309 if test -w "$cache_file"; then
12310 if test "x$cache_file" != "x/dev/null"; then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12312 $as_echo "$as_me: updating cache $cache_file" >&6;}
12313 if test ! -f "$cache_file" || test -h "$cache_file"; then
12314 cat confcache >"$cache_file"
12316 case $cache_file in #(
12318 mv -f confcache "$cache_file"$$ &&
12319 mv -f "$cache_file"$$ "$cache_file" ;; #(
12321 mv -f confcache "$cache_file" ;;
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12327 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12332 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12333 # Let make expand exec_prefix.
12334 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12336 # Transform confdefs.h into DEFS.
12337 # Protect against shell expansion while executing Makefile rules.
12338 # Protect against Makefile macro expansion.
12340 # If the first sed substitution is executed (which looks for macros that
12341 # take arguments), then branch to the quote section. Otherwise,
12342 # look for a macro that doesn't take arguments.
12352 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
12354 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
12358 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12371 DEFS=`sed -n "$ac_script" confdefs.h`
12377 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12378 # 1. Remove the extension, and $U if already installed.
12379 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12380 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12381 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12382 # will be set to the directory where LIBOBJS objects are built.
12383 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12384 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12386 LIBOBJS=$ac_libobjs
12388 LTLIBOBJS=$ac_ltlibobjs
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12392 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12393 if test -n "$am_sleep_pid"; then
12394 # Hide warnings about reused PIDs.
12395 wait $am_sleep_pid 2>/dev/null
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12398 $as_echo "done" >&6; }
12399 if test -n "$EXEEXT"; then
12401 am__EXEEXT_FALSE='#'
12403 am__EXEEXT_TRUE='#'
12407 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12408 as_fn_error $? "conditional \"AMDEP\" was never defined.
12409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12411 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12412 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12415 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
12416 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
12417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12419 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12420 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12423 if test -z "${WITH_PLUGIN_TOOLKIT_TRUE}" && test -z "${WITH_PLUGIN_TOOLKIT_FALSE}"; then
12424 as_fn_error $? "conditional \"WITH_PLUGIN_TOOLKIT\" was never defined.
12425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12428 : "${CONFIG_STATUS=./config.status}"
12430 ac_clean_files_save=$ac_clean_files
12431 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12433 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12435 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12437 # Generated by $as_me.
12438 # Run this file to recreate the current configuration.
12439 # Compiler output produced by configure, useful for debugging
12440 # configure, is in config.log if it exists.
12443 ac_cs_recheck=false
12446 SHELL=\${CONFIG_SHELL-$SHELL}
12449 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12450 ## -------------------- ##
12451 ## M4sh Initialization. ##
12452 ## -------------------- ##
12454 # Be more Bourne compatible
12455 DUALCASE=1; export DUALCASE # for MKS sh
12456 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12459 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12460 # is contrary to our usage. Disable this feature.
12461 alias -g '${1+"$@"}'='"$@"'
12462 setopt NO_GLOB_SUBST
12464 case `(set -o) 2>/dev/null` in #(
12476 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12477 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12478 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12479 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12480 # Prefer a ksh shell builtin over an external printf program on Solaris,
12481 # but without wasting forks for bash or zsh.
12482 if test -z "$BASH_VERSION$ZSH_VERSION" \
12483 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12484 as_echo='print -r --'
12485 as_echo_n='print -rn --'
12486 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12487 as_echo='printf %s\n'
12488 as_echo_n='printf %s'
12490 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12491 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12492 as_echo_n='/usr/ucb/echo -n'
12494 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12495 as_echo_n_body='eval
12499 expr "X$arg" : "X\\(.*\\)$as_nl";
12500 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12502 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12504 export as_echo_n_body
12505 as_echo_n='sh -c $as_echo_n_body as_echo'
12507 export as_echo_body
12508 as_echo='sh -c $as_echo_body as_echo'
12511 # The user is always right.
12512 if test "${PATH_SEPARATOR+set}" != set; then
12514 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12515 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12522 # We need space, tab and new line, in precisely that order. Quoting is
12523 # there to prevent editors from complaining about space-tab.
12524 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12525 # splitting by setting IFS to empty value.)
12528 # Find who we are. Look in the path if we contain no directory separator.
12531 *[\\/]* ) as_myself=$0 ;;
12532 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12533 for as_dir in $PATH
12536 test -z "$as_dir" && as_dir=.
12537 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12543 # We did not find ourselves, most probably we were run as `sh COMMAND'
12544 # in which case we are not to be found in the path.
12545 if test "x$as_myself" = x; then
12548 if test ! -f "$as_myself"; then
12549 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12553 # Unset variables that we do not need and which cause bugs (e.g. in
12554 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12555 # suppresses any "Segmentation fault" message there. '((' could
12556 # trigger a bug in pdksh 5.2.14.
12557 for as_var in BASH_ENV ENV MAIL MAILPATH
12558 do eval test x\${$as_var+set} = xset \
12559 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12575 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12576 # ----------------------------------------
12577 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12578 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12579 # script with STATUS, using 1 if that was 0.
12582 as_status=$1; test $as_status -eq 0 && as_status=1
12584 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12585 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12587 $as_echo "$as_me: error: $2" >&2
12588 as_fn_exit $as_status
12592 # as_fn_set_status STATUS
12593 # -----------------------
12594 # Set $? to STATUS, without forking.
12595 as_fn_set_status ()
12598 } # as_fn_set_status
12600 # as_fn_exit STATUS
12601 # -----------------
12602 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12606 as_fn_set_status $1
12612 # Portably unset VAR.
12615 { eval $1=; unset $1;}
12617 as_unset=as_fn_unset
12618 # as_fn_append VAR VALUE
12619 # ----------------------
12620 # Append the text in VALUE to the end of the definition contained in VAR. Take
12621 # advantage of any shell optimizations that allow amortized linear growth over
12622 # repeated appends, instead of the typical quadratic growth present in naive
12624 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12625 eval 'as_fn_append ()
12636 # as_fn_arith ARG...
12637 # ------------------
12638 # Perform arithmetic evaluation on the ARGs, and store the result in the
12639 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12640 # must be portable across $(()) and expr.
12641 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12642 eval 'as_fn_arith ()
12649 as_val=`expr "$@" || test $? -eq 1`
12654 if expr a : '\(a\)' >/dev/null 2>&1 &&
12655 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12661 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12662 as_basename=basename
12667 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12673 as_me=`$as_basename -- "$0" ||
12674 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12675 X"$0" : 'X\(//\)$' \| \
12676 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12678 sed '/^.*\/\([^/][^/]*\)\/*$/{
12692 # Avoid depending upon Character Ranges.
12693 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12694 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12695 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12696 as_cr_digits='0123456789'
12697 as_cr_alnum=$as_cr_Letters$as_cr_digits
12699 ECHO_C= ECHO_N= ECHO_T=
12700 case `echo -n x` in #(((((
12702 case `echo 'xy\c'` in
12703 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12705 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12712 rm -f conf$$ conf$$.exe conf$$.file
12713 if test -d conf$$.dir; then
12714 rm -f conf$$.dir/conf$$.file
12717 mkdir conf$$.dir 2>/dev/null
12719 if (echo >conf$$.file) 2>/dev/null; then
12720 if ln -s conf$$.file conf$$ 2>/dev/null; then
12722 # ... but there are two gotchas:
12723 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12724 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12725 # In both cases, we have to default to `cp -pR'.
12726 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12728 elif ln conf$$.file conf$$ 2>/dev/null; then
12736 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12737 rmdir conf$$.dir 2>/dev/null
12742 # Create "$as_dir" as a directory, including parents if necessary.
12747 -*) as_dir=./$as_dir;;
12749 test -d "$as_dir" || eval $as_mkdir_p || {
12753 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12754 *) as_qdir=$as_dir;;
12756 as_dirs="'$as_qdir' $as_dirs"
12757 as_dir=`$as_dirname -- "$as_dir" ||
12758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12759 X"$as_dir" : 'X\(//\)[^/]' \| \
12760 X"$as_dir" : 'X\(//\)$' \| \
12761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12762 $as_echo X"$as_dir" |
12763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12767 /^X\(\/\/\)[^/].*/{
12780 test -d "$as_dir" && break
12782 test -z "$as_dirs" || eval "mkdir $as_dirs"
12783 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12787 if mkdir -p . 2>/dev/null; then
12788 as_mkdir_p='mkdir -p "$as_dir"'
12790 test -d ./-p && rmdir ./-p
12795 # as_fn_executable_p FILE
12796 # -----------------------
12797 # Test if FILE is an executable regular file.
12798 as_fn_executable_p ()
12800 test -f "$1" && test -x "$1"
12801 } # as_fn_executable_p
12802 as_test_x='test -x'
12803 as_executable_p=as_fn_executable_p
12805 # Sed expression to map a string onto a valid CPP name.
12806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12808 # Sed expression to map a string onto a valid variable name.
12809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12813 ## ----------------------------------- ##
12814 ## Main body of $CONFIG_STATUS script. ##
12815 ## ----------------------------------- ##
12817 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12820 # Save the log message, to keep $0 and so on meaningful, and to
12821 # report actual input values of CONFIG_FILES etc. instead of their
12822 # values after options handling.
12824 This file was extended by sample_plugin $as_me 1.0, which was
12825 generated by GNU Autoconf 2.69. Invocation command line was
12827 CONFIG_FILES = $CONFIG_FILES
12828 CONFIG_HEADERS = $CONFIG_HEADERS
12829 CONFIG_LINKS = $CONFIG_LINKS
12830 CONFIG_COMMANDS = $CONFIG_COMMANDS
12833 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12838 case $ac_config_files in *"
12839 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12845 # Files that config.status was made for.
12846 config_files="$ac_config_files"
12847 config_commands="$ac_config_commands"
12851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12853 \`$as_me' instantiates files and other configuration actions
12854 from templates according to the current configuration. Unless the files
12855 and actions are specified as TAGs, all are instantiated by default.
12857 Usage: $0 [OPTION]... [TAG]...
12859 -h, --help print this help, then exit
12860 -V, --version print version number and configuration settings, then exit
12861 --config print configuration, then exit
12862 -q, --quiet, --silent
12863 do not print progress messages
12864 -d, --debug don't remove temporary files
12865 --recheck update $as_me by reconfiguring in the same conditions
12866 --file=FILE[:TEMPLATE]
12867 instantiate the configuration file FILE
12869 Configuration files:
12872 Configuration commands:
12875 Report bugs to the package provider."
12878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12879 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12881 sample_plugin config.status 1.0
12882 configured by $0, generated by GNU Autoconf 2.69,
12883 with options \\"\$ac_cs_config\\"
12885 Copyright (C) 2012 Free Software Foundation, Inc.
12886 This config.status script is free software; the Free Software Foundation
12887 gives unlimited permission to copy, distribute and modify it."
12894 test -n "\$AWK" || AWK=awk
12897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12898 # The default lists apply if the user does not specify any file.
12904 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12905 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12909 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12921 # Handling of the options.
12922 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12924 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12925 $as_echo "$ac_cs_version"; exit ;;
12926 --config | --confi | --conf | --con | --co | --c )
12927 $as_echo "$ac_cs_config"; exit ;;
12928 --debug | --debu | --deb | --de | --d | -d )
12930 --file | --fil | --fi | --f )
12933 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12934 '') as_fn_error $? "missing file argument" ;;
12936 as_fn_append CONFIG_FILES " '$ac_optarg'"
12937 ac_need_defaults=false;;
12938 --he | --h | --help | --hel | -h )
12939 $as_echo "$ac_cs_usage"; exit ;;
12940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12941 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12944 # This is an error.
12945 -*) as_fn_error $? "unrecognized option: \`$1'
12946 Try \`$0 --help' for more information." ;;
12948 *) as_fn_append ac_config_targets " $1"
12949 ac_need_defaults=false ;;
12955 ac_configure_extra_args=
12957 if $ac_cs_silent; then
12959 ac_configure_extra_args="$ac_configure_extra_args --silent"
12963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12964 if \$ac_cs_recheck; then
12965 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12967 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12968 CONFIG_SHELL='$SHELL'
12969 export CONFIG_SHELL
12974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12978 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12979 ## Running $as_me. ##
12985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12989 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12992 # The HP-UX ksh and POSIX shell print the target directory to stdout
12993 # if CDPATH is set.
12994 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12996 sed_quote_subst='$sed_quote_subst'
12997 double_quote_subst='$double_quote_subst'
12998 delay_variable_subst='$delay_variable_subst'
12999 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13000 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13001 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13002 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13003 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13004 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13005 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13006 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13007 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13008 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13009 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13010 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13011 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13012 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13013 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13014 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13015 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13016 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13017 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13018 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13019 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13020 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13021 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13022 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13023 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13024 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13025 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13026 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13027 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13028 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13029 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13030 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13031 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13032 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13033 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13034 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13035 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13036 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13037 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13038 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13039 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13040 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13041 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13042 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13043 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13044 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13045 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13046 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13047 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13048 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13049 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13050 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13051 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13052 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13053 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13054 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13055 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13056 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13057 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13058 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13059 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13060 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13061 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13062 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13063 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13064 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13065 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13066 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13067 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13068 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13069 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13070 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13071 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13072 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13073 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13074 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13075 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13076 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13077 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13078 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13079 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13080 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13081 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13082 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13083 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13084 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13085 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13086 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13087 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13088 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13089 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13090 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13091 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13092 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13093 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13094 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13095 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13096 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13097 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13098 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13099 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13100 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13101 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13102 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13103 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13104 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13105 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13106 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13107 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13108 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13109 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13110 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13111 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13112 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13113 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13114 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13115 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13116 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13117 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13118 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13119 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13120 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13121 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13122 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13123 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13124 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13125 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13126 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13127 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13128 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13131 LTCFLAGS='$LTCFLAGS'
13132 compiler='$compiler_DEFAULT'
13134 # A function that is used when there is no print builtin or printf.
13135 func_fallback_echo ()
13137 eval 'cat <<_LTECHO_EOF
13142 # Quote evaled strings.
13157 deplibs_check_method \
13162 sharedlib_from_linklib_cmd \
13165 archiver_list_spec \
13171 lt_cv_sys_global_symbol_pipe \
13172 lt_cv_sys_global_symbol_to_cdecl \
13173 lt_cv_sys_global_symbol_to_c_name_address \
13174 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13175 nm_file_list_spec \
13176 lt_prog_compiler_no_builtin_flag \
13177 lt_prog_compiler_pic \
13178 lt_prog_compiler_wl \
13179 lt_prog_compiler_static \
13180 lt_cv_prog_compiler_c_o \
13189 export_dynamic_flag_spec \
13190 whole_archive_flag_spec \
13191 compiler_needs_object \
13193 allow_undefined_flag \
13194 no_undefined_flag \
13195 hardcode_libdir_flag_spec \
13196 hardcode_libdir_separator \
13200 variables_saved_for_relink \
13202 library_names_spec \
13204 install_override_mode \
13208 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13209 *[\\\\\\\`\\"\\\$]*)
13210 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13213 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13218 # Double-quote double-evaled strings.
13219 for var in reload_cmds \
13220 old_postinstall_cmds \
13221 old_postuninstall_cmds \
13223 extract_expsyms_cmds \
13224 old_archive_from_new_cmds \
13225 old_archive_from_expsyms_cmds \
13227 archive_expsym_cmds \
13229 module_expsym_cmds \
13230 export_symbols_cmds \
13234 postuninstall_cmds \
13236 sys_lib_search_path_spec \
13237 sys_lib_dlsearch_path_spec; do
13238 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13239 *[\\\\\\\`\\"\\\$]*)
13240 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13243 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13248 ac_aux_dir='$ac_aux_dir'
13249 xsi_shell='$xsi_shell'
13250 lt_shell_append='$lt_shell_append'
13252 # See if we are running on zsh, and set the options which allow our
13253 # commands through without removal of \ escapes INIT.
13254 if test -n "\${ZSH_VERSION+set}" ; then
13255 setopt NO_GLOB_SUBST
13261 TIMESTAMP='$TIMESTAMP'
13270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13272 # Handling of arguments.
13273 for ac_config_target in $ac_config_targets
13275 case $ac_config_target in
13276 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13277 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13278 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13280 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13285 # If the user did not use the arguments to specify the items to instantiate,
13286 # then the envvar interface is used. Set only those that are not.
13287 # We use the long form for the default assignment because of an extremely
13288 # bizarre bug on SunOS 4.1.3.
13289 if $ac_need_defaults; then
13290 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13294 # Have a temporary directory for convenience. Make it in the build tree
13295 # simply because there is no reason against having it here, and in addition,
13296 # creating and moving files from /tmp can sometimes cause problems.
13297 # Hook for its removal unless debugging.
13298 # Note that there is a small window in which the directory will not be cleaned:
13299 # after its creation but before its name has been assigned to `$tmp'.
13303 trap 'exit_status=$?
13304 : "${ac_tmp:=$tmp}"
13305 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13307 trap 'as_fn_exit 1' 1 2 13 15
13309 # Create a (secure) tmp directory for tmp files.
13312 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13316 tmp=./conf$$-$RANDOM
13317 (umask 077 && mkdir "$tmp")
13318 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13321 # Set up the scripts for CONFIG_FILES section.
13322 # No need to generate them if there are no CONFIG_FILES.
13323 # This happens for instance with `./config.status config.h'.
13324 if test -n "$CONFIG_FILES"; then
13327 ac_cr=`echo X | tr X '\015'`
13328 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13329 # But we know of no other shell where ac_cr would be empty at this
13330 # point, so we can use a bashism as a fallback.
13331 if test "x$ac_cr" = x; then
13332 eval ac_cr=\$\'\\r\'
13334 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13335 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13338 ac_cs_awk_cr=$ac_cr
13341 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13346 echo "cat >conf$$subs.awk <<_ACEOF" &&
13347 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13349 } >conf$$subs.sh ||
13350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13351 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13353 for ac_last_try in false false false false false :; do
13354 . ./conf$$subs.sh ||
13355 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13357 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13358 if test $ac_delim_n = $ac_delim_num; then
13360 elif $ac_last_try; then
13361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13366 rm -f conf$$subs.sh
13368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13369 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13373 s/^/S["/; s/!.*/"]=/
13383 s/\(.\{148\}\)..*/\1/
13385 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13390 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13397 s/\(.\{148\}\)..*/\1/
13399 s/["\\]/\\&/g; s/^/"/; s/$/"/
13403 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13408 ' <conf$$subs.awk | sed '
13413 ' >>$CONFIG_STATUS || ac_write_fail=1
13414 rm -f conf$$subs.awk
13415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13417 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13418 for (key in S) S_is_set[key] = 1
13424 nfields = split(line, field, "@")
13426 len = length(field[1])
13427 for (i = 2; i < nfields; i++) {
13429 keylen = length(key)
13430 if (S_is_set[key]) {
13432 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13433 len += length(value) + length(field[++i])
13444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13445 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13446 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13449 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13450 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13453 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13454 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13455 # trailing colons and then remove the whole line if VPATH becomes empty
13456 # (actually we leave an empty line to preserve line numbers).
13457 if test "x$srcdir" = x.; then
13458 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13477 fi # test -n "$CONFIG_FILES"
13480 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
13485 :[FHLC]) ac_mode=$ac_tag; continue;;
13487 case $ac_mode$ac_tag in
13489 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13490 :[FH]-) ac_tag=-:-;;
13491 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13508 -) ac_f="$ac_tmp/stdin";;
13509 *) # Look for the file first in the build tree, then in the source tree
13510 # (if the path is not absolute). The absolute path cannot be DOS-style,
13511 # because $ac_f cannot contain `:'.
13515 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13517 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13519 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13520 as_fn_append ac_file_inputs " '$ac_f'"
13523 # Let's still pretend it is `configure' which instantiates (i.e., don't
13524 # use $as_me), people would be surprised to read:
13525 # /* config.h. Generated by config.status. */
13526 configure_input='Generated from '`
13527 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13529 if test x"$ac_file" != x-; then
13530 configure_input="$ac_file. $configure_input"
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13532 $as_echo "$as_me: creating $ac_file" >&6;}
13534 # Neutralize special characters interpreted by sed in replacement strings.
13535 case $configure_input in #(
13536 *\&* | *\|* | *\\* )
13537 ac_sed_conf_input=`$as_echo "$configure_input" |
13538 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13539 *) ac_sed_conf_input=$configure_input;;
13543 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13549 ac_dir=`$as_dirname -- "$ac_file" ||
13550 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13551 X"$ac_file" : 'X\(//\)[^/]' \| \
13552 X"$ac_file" : 'X\(//\)$' \| \
13553 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13554 $as_echo X"$ac_file" |
13555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13559 /^X\(\/\/\)[^/].*/{
13572 as_dir="$ac_dir"; as_fn_mkdir_p
13576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13578 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13579 # A ".." for each directory in $ac_dir_suffix.
13580 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13581 case $ac_top_builddir_sub in
13582 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13583 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13586 ac_abs_top_builddir=$ac_pwd
13587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13588 # for backward compatibility:
13589 ac_top_builddir=$ac_top_build_prefix
13592 .) # We are building in place.
13594 ac_top_srcdir=$ac_top_builddir_sub
13595 ac_abs_top_srcdir=$ac_pwd ;;
13596 [\\/]* | ?:[\\/]* ) # Absolute name.
13597 ac_srcdir=$srcdir$ac_dir_suffix;
13598 ac_top_srcdir=$srcdir
13599 ac_abs_top_srcdir=$srcdir ;;
13600 *) # Relative name.
13601 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13602 ac_top_srcdir=$ac_top_build_prefix$srcdir
13603 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13615 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13616 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13618 ac_MKDIR_P=$MKDIR_P
13620 [\\/$]* | ?:[\\/]* ) ;;
13621 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13626 # If the template does not know about datarootdir, expand it.
13627 # FIXME: This hack should be removed a few years after 2.60.
13628 ac_datarootdir_hack=; ac_datarootdir_seen=
13639 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13640 *datarootdir*) ac_datarootdir_seen=yes;;
13641 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13643 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13646 ac_datarootdir_hack='
13647 s&@datadir@&$datadir&g
13648 s&@docdir@&$docdir&g
13649 s&@infodir@&$infodir&g
13650 s&@localedir@&$localedir&g
13651 s&@mandir@&$mandir&g
13652 s&\\\${datarootdir}&$datarootdir&g' ;;
13656 # Neutralize VPATH when `$srcdir' = `.'.
13657 # Shell code in configure.ac might set extrasub.
13658 # FIXME: do we really want to maintain this feature?
13659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13660 ac_sed_extra="$ac_vpsub
13663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13665 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13666 s|@configure_input@|$ac_sed_conf_input|;t t
13667 s&@top_builddir@&$ac_top_builddir_sub&;t t
13668 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13669 s&@srcdir@&$ac_srcdir&;t t
13670 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13671 s&@top_srcdir@&$ac_top_srcdir&;t t
13672 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13673 s&@builddir@&$ac_builddir&;t t
13674 s&@abs_builddir@&$ac_abs_builddir&;t t
13675 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13676 s&@INSTALL@&$ac_INSTALL&;t t
13677 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13678 $ac_datarootdir_hack
13680 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13681 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13683 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13684 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13685 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13686 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13688 which seems to be undefined. Please make sure it is defined" >&5
13689 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13690 which seems to be undefined. Please make sure it is defined" >&2;}
13692 rm -f "$ac_tmp/stdin"
13694 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13695 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13697 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13701 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13702 $as_echo "$as_me: executing $ac_file commands" >&6;}
13707 case $ac_file$ac_mode in
13708 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13709 # Older Autoconf quotes --file arguments for eval, but not when files
13710 # are listed without --file. Let's play safe and only enable the eval
13711 # if we detect the quoting.
13712 case $CONFIG_FILES in
13713 *\'*) eval set x "$CONFIG_FILES" ;;
13714 *) set x $CONFIG_FILES ;;
13719 # Strip MF so we end up with the name of the file.
13720 mf=`echo "$mf" | sed -e 's/:.*$//'`
13721 # Check whether this is an Automake generated Makefile or not.
13722 # We used to match only the files named 'Makefile.in', but
13723 # some people rename them; so instead we look at the file content.
13724 # Grep'ing the first line is not enough: some people post-process
13725 # each Makefile.in and add a new line on top of each file to say so.
13726 # Grep'ing the whole file is not good either: AIX grep has a line
13727 # limit of 2048, but all sed's we know have understand at least 4000.
13728 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13729 dirpart=`$as_dirname -- "$mf" ||
13730 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13731 X"$mf" : 'X\(//\)[^/]' \| \
13732 X"$mf" : 'X\(//\)$' \| \
13733 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13739 /^X\(\/\/\)[^/].*/{
13755 # Extract the definition of DEPDIR, am__include, and am__quote
13756 # from the Makefile without running 'make'.
13757 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13758 test -z "$DEPDIR" && continue
13759 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13760 test -z "$am__include" && continue
13761 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13762 # Find all dependency output files, they are included files with
13763 # $(DEPDIR) in their names. We invoke sed twice because it is the
13764 # simplest approach to changing $(DEPDIR) to its actual value in the
13766 for file in `sed -n "
13767 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13768 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13769 # Make sure the directory exists.
13770 test -f "$dirpart/$file" && continue
13771 fdir=`$as_dirname -- "$file" ||
13772 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13773 X"$file" : 'X\(//\)[^/]' \| \
13774 X"$file" : 'X\(//\)$' \| \
13775 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13776 $as_echo X"$file" |
13777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13781 /^X\(\/\/\)[^/].*/{
13794 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13795 # echo "creating $dirpart/$file"
13796 echo '# dummy' > "$dirpart/$file"
13803 # See if we are running on zsh, and set the options which allow our
13804 # commands through without removal of \ escapes.
13805 if test -n "${ZSH_VERSION+set}" ; then
13806 setopt NO_GLOB_SUBST
13809 cfgfile="${ofile}T"
13810 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13813 cat <<_LT_EOF >> "$cfgfile"
13816 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13817 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13818 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13819 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13821 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13822 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13824 # Written by Gordon Matzigkeit, 1996
13826 # This file is part of GNU Libtool.
13828 # GNU Libtool is free software; you can redistribute it and/or
13829 # modify it under the terms of the GNU General Public License as
13830 # published by the Free Software Foundation; either version 2 of
13831 # the License, or (at your option) any later version.
13833 # As a special exception to the GNU General Public License,
13834 # if you distribute this file as part of a program or library that
13835 # is built using GNU Libtool, you may include this file under the
13836 # same distribution terms that you use for the rest of that program.
13838 # GNU Libtool is distributed in the hope that it will be useful,
13839 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13840 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13841 # GNU General Public License for more details.
13843 # You should have received a copy of the GNU General Public License
13844 # along with GNU Libtool; see the file COPYING. If not, a copy
13845 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13846 # obtained by writing to the Free Software Foundation, Inc.,
13847 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13850 # The names of the tagged configurations supported by this script.
13853 # ### BEGIN LIBTOOL CONFIG
13855 # Which release of libtool.m4 was used?
13856 macro_version=$macro_version
13857 macro_revision=$macro_revision
13859 # Whether or not to build shared libraries.
13860 build_libtool_libs=$enable_shared
13862 # Whether or not to build static libraries.
13863 build_old_libs=$enable_static
13865 # What type of objects to build.
13868 # Whether or not to optimize for fast installation.
13869 fast_install=$enable_fast_install
13871 # Shell to use when invoking shell scripts.
13874 # An echo program that protects backslashes.
13877 # The PATH separator for the build system.
13878 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13881 host_alias=$host_alias
13885 # The build system.
13886 build_alias=$build_alias
13890 # A sed program that does not truncate output.
13893 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13894 Xsed="\$SED -e 1s/^X//"
13896 # A grep program that handles long lines.
13902 # A literal string matcher.
13905 # A BSD- or MS-compatible name lister.
13908 # Whether we need soft or hard links.
13911 # What is the maximum length of a command?
13912 max_cmd_len=$max_cmd_len
13914 # Object file suffix (normally "o").
13917 # Executable file suffix (normally "").
13920 # whether the shell understands "unset".
13923 # turn spaces into newlines.
13926 # turn newlines into spaces.
13929 # convert \$build file names to \$host format.
13930 to_host_file_cmd=$lt_cv_to_host_file_cmd
13932 # convert \$build files to toolchain format.
13933 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13935 # An object symbol dumper.
13936 OBJDUMP=$lt_OBJDUMP
13938 # Method to check whether dependent libraries are shared objects.
13939 deplibs_check_method=$lt_deplibs_check_method
13941 # Command to use when deplibs_check_method = "file_magic".
13942 file_magic_cmd=$lt_file_magic_cmd
13944 # How to find potential files when deplibs_check_method = "file_magic".
13945 file_magic_glob=$lt_file_magic_glob
13947 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13948 want_nocaseglob=$lt_want_nocaseglob
13950 # DLL creation program.
13951 DLLTOOL=$lt_DLLTOOL
13953 # Command to associate shared and link libraries.
13954 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13959 # Flags to create an archive.
13960 AR_FLAGS=$lt_AR_FLAGS
13962 # How to feed a file listing to the archiver.
13963 archiver_list_spec=$lt_archiver_list_spec
13965 # A symbol stripping program.
13968 # Commands used to install an old-style archive.
13970 old_postinstall_cmds=$lt_old_postinstall_cmds
13971 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13973 # Whether to use a lock for old archive extraction.
13974 lock_old_archive_extraction=$lock_old_archive_extraction
13979 # LTCC compiler flags.
13980 LTCFLAGS=$lt_CFLAGS
13982 # Take the output of nm and produce a listing of raw symbols and C names.
13983 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13985 # Transform the output of nm in a proper C declaration.
13986 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13988 # Transform the output of nm in a C name address pair.
13989 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13991 # Transform the output of nm in a C name address pair when lib prefix is needed.
13992 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13994 # Specify filename containing input files for \$NM.
13995 nm_file_list_spec=$lt_nm_file_list_spec
13997 # The root where to search for dependent libraries,and in which our libraries should be installed.
13998 lt_sysroot=$lt_sysroot
14000 # The name of the directory that contains temporary libtool files.
14003 # Used to examine libraries when file_magic_cmd begins with "file".
14004 MAGIC_CMD=$MAGIC_CMD
14006 # Must we lock files when doing compilation?
14007 need_locks=$lt_need_locks
14010 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14012 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14013 DSYMUTIL=$lt_DSYMUTIL
14015 # Tool to change global to local symbols on Mac OS X.
14018 # Tool to manipulate fat objects and archives on Mac OS X.
14021 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14024 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14025 OTOOL64=$lt_OTOOL64
14027 # Old archive suffix (normally "a").
14030 # Shared library suffix (normally ".so").
14031 shrext_cmds=$lt_shrext_cmds
14033 # The commands to extract the exported symbol list from a shared archive.
14034 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14036 # Variables whose values should be saved in libtool wrapper scripts and
14037 # restored at link time.
14038 variables_saved_for_relink=$lt_variables_saved_for_relink
14040 # Do we need the "lib" prefix for modules?
14041 need_lib_prefix=$need_lib_prefix
14043 # Do we need a version for libraries?
14044 need_version=$need_version
14046 # Library versioning type.
14047 version_type=$version_type
14049 # Shared library runtime path variable.
14050 runpath_var=$runpath_var
14052 # Shared library path variable.
14053 shlibpath_var=$shlibpath_var
14055 # Is shlibpath searched before the hard-coded library search path?
14056 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14058 # Format of library name prefix.
14059 libname_spec=$lt_libname_spec
14061 # List of archive names. First name is the real one, the rest are links.
14062 # The last name is the one that the linker finds with -lNAME
14063 library_names_spec=$lt_library_names_spec
14065 # The coded name of the library, if different from the real name.
14066 soname_spec=$lt_soname_spec
14068 # Permission mode override for installation of shared libraries.
14069 install_override_mode=$lt_install_override_mode
14071 # Command to use after installation of a shared archive.
14072 postinstall_cmds=$lt_postinstall_cmds
14074 # Command to use after uninstallation of a shared archive.
14075 postuninstall_cmds=$lt_postuninstall_cmds
14077 # Commands used to finish a libtool library installation in a directory.
14078 finish_cmds=$lt_finish_cmds
14080 # As "finish_cmds", except a single script fragment to be evaled but
14082 finish_eval=$lt_finish_eval
14084 # Whether we should hardcode library paths into libraries.
14085 hardcode_into_libs=$hardcode_into_libs
14087 # Compile-time system search path for libraries.
14088 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14090 # Run-time system search path for libraries.
14091 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14093 # Whether dlopen is supported.
14094 dlopen_support=$enable_dlopen
14096 # Whether dlopen of programs is supported.
14097 dlopen_self=$enable_dlopen_self
14099 # Whether dlopen of statically linked programs is supported.
14100 dlopen_self_static=$enable_dlopen_self_static
14102 # Commands to strip libraries.
14103 old_striplib=$lt_old_striplib
14104 striplib=$lt_striplib
14107 # The linker used to build libraries.
14110 # How to create reloadable object files.
14111 reload_flag=$lt_reload_flag
14112 reload_cmds=$lt_reload_cmds
14114 # Commands used to build an old-style archive.
14115 old_archive_cmds=$lt_old_archive_cmds
14117 # A language specific compiler.
14120 # Is the compiler the GNU compiler?
14123 # Compiler flag to turn off builtin functions.
14124 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14126 # Additional compiler flags for building library objects.
14127 pic_flag=$lt_lt_prog_compiler_pic
14129 # How to pass a linker flag through the compiler.
14130 wl=$lt_lt_prog_compiler_wl
14132 # Compiler flag to prevent dynamic linking.
14133 link_static_flag=$lt_lt_prog_compiler_static
14135 # Does compiler simultaneously support -c and -o options?
14136 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14138 # Whether or not to add -lc for building shared libraries.
14139 build_libtool_need_lc=$archive_cmds_need_lc
14141 # Whether or not to disallow shared libs when runtime libs are static.
14142 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14144 # Compiler flag to allow reflexive dlopens.
14145 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14147 # Compiler flag to generate shared objects directly from archives.
14148 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14150 # Whether the compiler copes with passing no objects directly.
14151 compiler_needs_object=$lt_compiler_needs_object
14153 # Create an old-style archive from a shared archive.
14154 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14156 # Create a temporary old-style archive to link instead of a shared archive.
14157 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14159 # Commands used to build a shared archive.
14160 archive_cmds=$lt_archive_cmds
14161 archive_expsym_cmds=$lt_archive_expsym_cmds
14163 # Commands used to build a loadable module if different from building
14164 # a shared archive.
14165 module_cmds=$lt_module_cmds
14166 module_expsym_cmds=$lt_module_expsym_cmds
14168 # Whether we are building with GNU ld or not.
14169 with_gnu_ld=$lt_with_gnu_ld
14171 # Flag that allows shared libraries with undefined symbols to be built.
14172 allow_undefined_flag=$lt_allow_undefined_flag
14174 # Flag that enforces no undefined symbols.
14175 no_undefined_flag=$lt_no_undefined_flag
14177 # Flag to hardcode \$libdir into a binary during linking.
14178 # This must work even if \$libdir does not exist
14179 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14181 # Whether we need a single "-rpath" flag with a separated argument.
14182 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14184 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14185 # DIR into the resulting binary.
14186 hardcode_direct=$hardcode_direct
14188 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14189 # DIR into the resulting binary and the resulting library dependency is
14190 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14191 # library is relocated.
14192 hardcode_direct_absolute=$hardcode_direct_absolute
14194 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14195 # into the resulting binary.
14196 hardcode_minus_L=$hardcode_minus_L
14198 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14199 # into the resulting binary.
14200 hardcode_shlibpath_var=$hardcode_shlibpath_var
14202 # Set to "yes" if building a shared library automatically hardcodes DIR
14203 # into the library and all subsequent libraries and executables linked
14205 hardcode_automatic=$hardcode_automatic
14207 # Set to yes if linker adds runtime paths of dependent libraries
14208 # to runtime path list.
14209 inherit_rpath=$inherit_rpath
14211 # Whether libtool must link a program against all its dependency libraries.
14212 link_all_deplibs=$link_all_deplibs
14214 # Set to "yes" if exported symbols are required.
14215 always_export_symbols=$always_export_symbols
14217 # The commands to list exported symbols.
14218 export_symbols_cmds=$lt_export_symbols_cmds
14220 # Symbols that should not be listed in the preloaded symbols.
14221 exclude_expsyms=$lt_exclude_expsyms
14223 # Symbols that must always be exported.
14224 include_expsyms=$lt_include_expsyms
14226 # Commands necessary for linking programs (against libraries) with templates.
14227 prelink_cmds=$lt_prelink_cmds
14229 # Commands necessary for finishing linking programs.
14230 postlink_cmds=$lt_postlink_cmds
14232 # Specify filename containing input files.
14233 file_list_spec=$lt_file_list_spec
14235 # How to hardcode a shared library path into an executable.
14236 hardcode_action=$hardcode_action
14238 # ### END LIBTOOL CONFIG
14244 cat <<\_LT_EOF >> "$cfgfile"
14245 # AIX sometimes has problems with the GCC collect2 program. For some
14246 # reason, if we set the COLLECT_NAMES environment variable, the problems
14247 # vanish in a puff of smoke.
14248 if test "X${COLLECT_NAMES+set}" != Xset; then
14250 export COLLECT_NAMES
14257 ltmain="$ac_aux_dir/ltmain.sh"
14260 # We use sed instead of cat because bash on DJGPP gets confused if
14261 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14262 # text mode, it properly converts lines to CR/LF. This bash problem
14263 # is reportedly fixed, but why not run on old versions too?
14264 sed '$q' "$ltmain" >> "$cfgfile" \
14265 || (rm -f "$cfgfile"; exit 1)
14267 if test x"$xsi_shell" = xyes; then
14268 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14272 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14273 \ * ) func_dirname_result="${3}" ;;\
14275 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14276 && mv -f "$cfgfile.tmp" "$cfgfile" \
14277 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14278 test 0 -eq $? || _lt_function_replace_fail=:
14281 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14284 \ func_basename_result="${1##*/}"\
14285 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14286 && mv -f "$cfgfile.tmp" "$cfgfile" \
14287 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14288 test 0 -eq $? || _lt_function_replace_fail=:
14291 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14292 func_dirname_and_basename ()\
14295 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14296 \ * ) func_dirname_result="${3}" ;;\
14298 \ func_basename_result="${1##*/}"\
14299 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14300 && mv -f "$cfgfile.tmp" "$cfgfile" \
14301 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14302 test 0 -eq $? || _lt_function_replace_fail=:
14305 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14308 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14309 \ # positional parameters, so assign one to ordinary parameter first.\
14310 \ func_stripname_result=${3}\
14311 \ func_stripname_result=${func_stripname_result#"${1}"}\
14312 \ func_stripname_result=${func_stripname_result%"${2}"}\
14313 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14314 && mv -f "$cfgfile.tmp" "$cfgfile" \
14315 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14316 test 0 -eq $? || _lt_function_replace_fail=:
14319 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14320 func_split_long_opt ()\
14322 \ func_split_long_opt_name=${1%%=*}\
14323 \ func_split_long_opt_arg=${1#*=}\
14324 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14325 && mv -f "$cfgfile.tmp" "$cfgfile" \
14326 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14327 test 0 -eq $? || _lt_function_replace_fail=:
14330 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14331 func_split_short_opt ()\
14333 \ func_split_short_opt_arg=${1#??}\
14334 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14335 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14336 && mv -f "$cfgfile.tmp" "$cfgfile" \
14337 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14338 test 0 -eq $? || _lt_function_replace_fail=:
14341 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14345 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14346 \ *) func_lo2o_result=${1} ;;\
14348 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14349 && mv -f "$cfgfile.tmp" "$cfgfile" \
14350 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14351 test 0 -eq $? || _lt_function_replace_fail=:
14354 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14357 func_xform_result=${1%.*}.lo\
14358 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14359 && mv -f "$cfgfile.tmp" "$cfgfile" \
14360 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14361 test 0 -eq $? || _lt_function_replace_fail=:
14364 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14367 func_arith_result=$(( $* ))\
14368 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14369 && mv -f "$cfgfile.tmp" "$cfgfile" \
14370 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14371 test 0 -eq $? || _lt_function_replace_fail=:
14374 sed -e '/^func_len ()$/,/^} # func_len /c\
14377 func_len_result=${#1}\
14378 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14379 && mv -f "$cfgfile.tmp" "$cfgfile" \
14380 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14381 test 0 -eq $? || _lt_function_replace_fail=:
14385 if test x"$lt_shell_append" = xyes; then
14386 sed -e '/^func_append ()$/,/^} # func_append /c\
14389 eval "${1}+=\\${2}"\
14390 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14391 && mv -f "$cfgfile.tmp" "$cfgfile" \
14392 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14393 test 0 -eq $? || _lt_function_replace_fail=:
14396 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14397 func_append_quoted ()\
14399 \ func_quote_for_eval "${2}"\
14400 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14401 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14402 && mv -f "$cfgfile.tmp" "$cfgfile" \
14403 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14404 test 0 -eq $? || _lt_function_replace_fail=:
14407 # Save a `func_append' function call where possible by direct use of '+='
14408 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14409 && mv -f "$cfgfile.tmp" "$cfgfile" \
14410 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14411 test 0 -eq $? || _lt_function_replace_fail=:
14413 # Save a `func_append' function call even when '+=' is not available
14414 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14415 && mv -f "$cfgfile.tmp" "$cfgfile" \
14416 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14417 test 0 -eq $? || _lt_function_replace_fail=:
14420 if test x"$_lt_function_replace_fail" = x":"; then
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14422 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14426 mv -f "$cfgfile" "$ofile" ||
14427 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14438 ac_clean_files=$ac_clean_files_save
14440 test $ac_write_fail = 0 ||
14441 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14444 # configure is writing to config.log, and then calls config.status.
14445 # config.status does its own redirection, appending to config.log.
14446 # Unfortunately, on DOS this fails, as config.log is still kept open
14447 # by configure, so config.status won't be able to write to it; its
14448 # output is simply discarded. So we exec the FD to /dev/null,
14449 # effectively closing config.log, so it can be properly (re)opened and
14450 # appended to by config.status. When coming back to configure, we
14451 # need to make the FD available again.
14452 if test "$no_create" != yes; then
14454 ac_config_status_args=
14455 test "$silent" = yes &&
14456 ac_config_status_args="$ac_config_status_args --quiet"
14458 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14460 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14461 # would make configure fail if this is the last instruction.
14462 $ac_cs_success || as_fn_exit 1
14464 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14466 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}