2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for obexd 0.48.
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
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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.
589 PACKAGE_TARNAME='obexd'
590 PACKAGE_VERSION='0.48'
591 PACKAGE_STRING='obexd 0.48'
595 ac_default_prefix=/usr/local
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars='am__EXEEXT_FALSE
718 MAINTAINER_MODE_FALSE
732 INSTALL_STRIP_PROGRAM
774 program_transform_name
787 enable_option_checking
789 enable_maintainer_mode
790 enable_dependency_tracking
807 ac_precious_vars='build_alias
837 # Initialize some variables set by options.
839 ac_init_version=false
840 ac_unrecognized_opts=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name=s,x,x,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\$ac_option
897 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir | --bindir | --bindi | --bind | --bin | --bi)
910 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913 -build | --build | --buil | --bui | --bu)
914 ac_prev=build_alias ;;
915 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916 build_alias=$ac_optarg ;;
918 -cache-file | --cache-file | --cache-fil | --cache-fi \
919 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920 ac_prev=cache_file ;;
921 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923 cache_file=$ac_optarg ;;
926 cache_file=config.cache ;;
928 -datadir | --datadir | --datadi | --datad)
930 -datadir=* | --datadir=* | --datadi=* | --datad=*)
931 datadir=$ac_optarg ;;
933 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934 | --dataroo | --dataro | --datar)
935 ac_prev=datarootdir ;;
936 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938 datarootdir=$ac_optarg ;;
940 -disable-* | --disable-*)
941 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944 as_fn_error $? "invalid feature name: $ac_useropt"
945 ac_useropt_orig=$ac_useropt
946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep=', ';;
954 eval enable_$ac_useropt=no ;;
956 -docdir | --docdir | --docdi | --doc | --do)
958 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
963 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966 -enable-* | --enable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error $? "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
980 eval enable_$ac_useropt=\$ac_optarg ;;
982 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984 | --exec | --exe | --ex)
985 ac_prev=exec_prefix ;;
986 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988 | --exec=* | --exe=* | --ex=*)
989 exec_prefix=$ac_optarg ;;
991 -gas | --gas | --ga | --g)
992 # Obsolete; use --with-gas.
995 -help | --help | --hel | --he | -h)
997 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998 ac_init_help=recursive ;;
999 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000 ac_init_help=short ;;
1002 -host | --host | --hos | --ho)
1003 ac_prev=host_alias ;;
1004 -host=* | --host=* | --hos=* | --ho=*)
1005 host_alias=$ac_optarg ;;
1007 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1009 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1011 htmldir=$ac_optarg ;;
1013 -includedir | --includedir | --includedi | --included | --include \
1014 | --includ | --inclu | --incl | --inc)
1015 ac_prev=includedir ;;
1016 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017 | --includ=* | --inclu=* | --incl=* | --inc=*)
1018 includedir=$ac_optarg ;;
1020 -infodir | --infodir | --infodi | --infod | --info | --inf)
1022 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023 infodir=$ac_optarg ;;
1025 -libdir | --libdir | --libdi | --libd)
1027 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028 libdir=$ac_optarg ;;
1030 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031 | --libexe | --libex | --libe)
1032 ac_prev=libexecdir ;;
1033 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034 | --libexe=* | --libex=* | --libe=*)
1035 libexecdir=$ac_optarg ;;
1037 -localedir | --localedir | --localedi | --localed | --locale)
1038 ac_prev=localedir ;;
1039 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040 localedir=$ac_optarg ;;
1042 -localstatedir | --localstatedir | --localstatedi | --localstated \
1043 | --localstate | --localstat | --localsta | --localst | --locals)
1044 ac_prev=localstatedir ;;
1045 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047 localstatedir=$ac_optarg ;;
1049 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1051 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052 mandir=$ac_optarg ;;
1054 -nfp | --nfp | --nf)
1055 # Obsolete; use --without-fp.
1058 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059 | --no-cr | --no-c | -n)
1062 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068 | --oldin | --oldi | --old | --ol | --o)
1069 ac_prev=oldincludedir ;;
1070 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073 oldincludedir=$ac_optarg ;;
1075 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1077 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078 prefix=$ac_optarg ;;
1080 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081 | --program-pre | --program-pr | --program-p)
1082 ac_prev=program_prefix ;;
1083 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085 program_prefix=$ac_optarg ;;
1087 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088 | --program-suf | --program-su | --program-s)
1089 ac_prev=program_suffix ;;
1090 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092 program_suffix=$ac_optarg ;;
1094 -program-transform-name | --program-transform-name \
1095 | --program-transform-nam | --program-transform-na \
1096 | --program-transform-n | --program-transform- \
1097 | --program-transform | --program-transfor \
1098 | --program-transfo | --program-transf \
1099 | --program-trans | --program-tran \
1100 | --progr-tra | --program-tr | --program-t)
1101 ac_prev=program_transform_name ;;
1102 -program-transform-name=* | --program-transform-name=* \
1103 | --program-transform-nam=* | --program-transform-na=* \
1104 | --program-transform-n=* | --program-transform-=* \
1105 | --program-transform=* | --program-transfor=* \
1106 | --program-transfo=* | --program-transf=* \
1107 | --program-trans=* | --program-tran=* \
1108 | --progr-tra=* | --program-tr=* | --program-t=*)
1109 program_transform_name=$ac_optarg ;;
1111 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1113 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114 pdfdir=$ac_optarg ;;
1116 -psdir | --psdir | --psdi | --psd | --ps)
1118 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122 | -silent | --silent | --silen | --sile | --sil)
1125 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129 sbindir=$ac_optarg ;;
1131 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133 | --sharedst | --shareds | --shared | --share | --shar \
1135 ac_prev=sharedstatedir ;;
1136 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140 sharedstatedir=$ac_optarg ;;
1142 -site | --site | --sit)
1144 -site=* | --site=* | --sit=*)
1147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150 srcdir=$ac_optarg ;;
1152 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153 | --syscon | --sysco | --sysc | --sys | --sy)
1154 ac_prev=sysconfdir ;;
1155 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157 sysconfdir=$ac_optarg ;;
1159 -target | --target | --targe | --targ | --tar | --ta | --t)
1160 ac_prev=target_alias ;;
1161 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162 target_alias=$ac_optarg ;;
1164 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 -version | --version | --versio | --versi | --vers | -V)
1168 ac_init_version=: ;;
1171 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 as_fn_error $? "invalid package name: $ac_useropt"
1175 ac_useropt_orig=$ac_useropt
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1184 eval with_$ac_useropt=\$ac_optarg ;;
1186 -without-* | --without-*)
1187 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=no ;;
1203 # Obsolete; use --with-x.
1206 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207 | --x-incl | --x-inc | --x-in | --x-i)
1208 ac_prev=x_includes ;;
1209 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211 x_includes=$ac_optarg ;;
1213 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215 ac_prev=x_libraries ;;
1216 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218 x_libraries=$ac_optarg ;;
1220 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' | [0-9]* | *[!_$as_cr_alnum]* )
1229 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $? "missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val=\$$ac_var
1265 # Remove trailing slashes.
1268 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$]* | ?:[\\/]* ) continue;;
1274 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288 if test "x$build_alias" = x; then
1289 cross_compiling=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1298 test "$silent" = yes && exec 6>/dev/null
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $? "working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $? "pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var in $ac_precious_vars; do
1362 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_${ac_var}_value=\$${ac_var}
1364 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures obexd 0.48 to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/obexd]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1438 --build=BUILD configure for building on BUILD [guessed]
1439 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive ) echo "Configuration of obexd 0.48:";;
1450 --disable-option-checking ignore unrecognized --enable/--with options
1451 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1452 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1453 --enable-silent-rules less verbose build output (undo: `make V=1')
1454 --disable-silent-rules verbose build output (undo: `make V=0')
1455 --enable-maintainer-mode enable make rules and dependencies not useful
1456 (and sometimes confusing) to the casual installer
1457 --disable-dependency-tracking speeds up one-time build
1458 --enable-dependency-tracking do not reject slow dependency extractors
1459 --enable-static[=PKGS] build static libraries [default=no]
1460 --enable-shared[=PKGS] build shared libraries [default=yes]
1461 --enable-fast-install[=PKGS]
1462 optimize for fast installation [default=yes]
1463 --disable-libtool-lock avoid locking (might break parallel builds)
1464 --disable-optimization disable code optimization through compiler
1465 --enable-debug enable compiling with debugging information
1466 --enable-usb enable USB plugin
1467 --enable-pcsuite enable Nokia PcSuite plugin
1468 --disable-server disable compilation of OBEX server
1469 --disable-client disable compilation of OBEX client
1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1474 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-sysroot=DIR Search for dependent libraries within DIR
1478 (or the compiler's sysroot if not specified).
1479 --with-messages=DRIVER select messages driver
1480 --with-phonebook=DRIVER select phonebook driver
1482 Some influential environment variables:
1483 CC C compiler command
1484 CFLAGS C compiler flags
1485 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1486 nonstandard directory <lib dir>
1487 LIBS libraries to pass to the linker, e.g. -l<library>
1488 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1489 you have headers in a nonstandard directory <include dir>
1491 PKG_CONFIG path to pkg-config utility
1493 directories to add to pkg-config's search path
1495 path overriding pkg-config's built-in search path
1496 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1497 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1498 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1499 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1501 C compiler flags for BLUEZ, overriding pkg-config
1502 BLUEZ_LIBS linker flags for BLUEZ, overriding pkg-config
1504 C compiler flags for LIBICAL, overriding pkg-config
1506 linker flags for LIBICAL, overriding pkg-config
1508 C compiler flags for EBOOK, overriding pkg-config
1509 EBOOK_LIBS linker flags for EBOOK, overriding pkg-config
1511 C compiler flags for GTHREAD, overriding pkg-config
1513 linker flags for GTHREAD, overriding pkg-config
1515 C compiler flags for TRACKER_09, overriding pkg-config
1517 linker flags for TRACKER_09, overriding pkg-config
1519 C compiler flags for TRACKER_10, overriding pkg-config
1521 linker flags for TRACKER_10, overriding pkg-config
1523 Use these variables to override the choices made by `configure' or to help
1524 it to find libraries and programs with nonstandard names/locations.
1526 Report bugs to the package provider.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1556 .) # We are building in place.
1558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
1561 ac_srcdir=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 cd "$ac_pwd" || { ac_status=$?; break; }
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1589 obexd configure 0.48
1590 generated by GNU Autoconf 2.69
1592 Copyright (C) 2012 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_c_try_compile
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_cpp conftest.$ac_ext"
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } > conftest.i && {
1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status $ac_retval
1678 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1679 # -------------------------------------------------------
1680 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1681 # the include files in INCLUDES and setting the cache variable VAR
1683 ac_fn_c_check_header_mongrel ()
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if eval \${$3+:} false; then :
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if eval \${$3+:} false; then :
1690 $as_echo_n "(cached) " >&6
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1696 # Is the header compilable?
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1698 $as_echo_n "checking $2 usability... " >&6; }
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile "$LINENO"; then :
1705 ac_header_compiler=yes
1707 ac_header_compiler=no
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1711 $as_echo "$ac_header_compiler" >&6; }
1713 # Is the header present?
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1715 $as_echo_n "checking $2 presence... " >&6; }
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1720 if ac_fn_c_try_cpp "$LINENO"; then :
1721 ac_header_preproc=yes
1723 ac_header_preproc=no
1725 rm -f conftest.err conftest.i conftest.$ac_ext
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1727 $as_echo "$ac_header_preproc" >&6; }
1729 # So? What about this header?
1730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1733 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1739 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1741 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1743 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1745 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if eval \${$3+:} false; then :
1753 $as_echo_n "(cached) " >&6
1755 eval "$3=\$ac_header_compiler"
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 } # ac_fn_c_check_header_mongrel
1765 # ac_fn_c_try_run LINENO
1766 # ----------------------
1767 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1768 # that executables *can* be run.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_link"
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_link") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1783 { { case "(($ac_try" in
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_try") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; }; }; then :
1795 $as_echo "$as_me: program exited with status $ac_status" >&5
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1799 ac_retval=$ac_status
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status $ac_retval
1807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists and can be compiled using the include files in
1810 # INCLUDES, setting the cache variable VAR accordingly.
1811 ac_fn_c_check_header_compile ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval \${$3+:} false; then :
1817 $as_echo_n "(cached) " >&6
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1824 if ac_fn_c_try_compile "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 } # ac_fn_c_check_header_compile
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 test -x conftest$ac_exeext
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 as_fn_set_status $ac_retval
1882 } # ac_fn_c_try_link
1884 # ac_fn_c_check_func LINENO FUNC VAR
1885 # ----------------------------------
1886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1887 ac_fn_c_check_func ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if eval \${$3+:} false; then :
1893 $as_echo_n "(cached) " >&6
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1897 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1899 #define $2 innocuous_$2
1901 /* System header to define __stub macros and hopefully few prototypes,
1902 which can conflict with char $2 (); below.
1903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1904 <limits.h> exists even on freestanding compilers. */
1907 # include <limits.h>
1909 # include <assert.h>
1914 /* Override any GCC internal prototype to avoid an error.
1915 Use char because int might match the return type of a GCC
1916 builtin and then its argument prototype would still apply. */
1921 /* The GNU C library defines this for functions which it implements
1922 to always fail with ENOSYS. Some functions are actually named
1923 something starting with __ and the normal name is an alias. */
1924 #if defined __stub_$2 || defined __stub___$2
1936 if ac_fn_c_try_link "$LINENO"; then :
1941 rm -f core conftest.err conftest.$ac_objext \
1942 conftest$ac_exeext conftest.$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 } # ac_fn_c_check_func
1950 cat >config.log <<_ACEOF
1951 This file contains any messages produced by compilers while
1952 running configure, to aid debugging if configure makes a mistake.
1954 It was created by obexd $as_me 0.48, which was
1955 generated by GNU Autoconf 2.69. Invocation command line was
1967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 $as_echo "PATH: $as_dir"
2007 # Keep a trace of the command line.
2008 # Strip out --no-create and --no-recursion so they do not pile up.
2009 # Strip out --silent because we don't want to record it for future runs.
2010 # Also quote any args containing shell meta-characters.
2011 # Make two passes to allow for proper duplicate-argument suppression.
2015 ac_must_keep_next=false
2021 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2023 | -silent | --silent | --silen | --sile | --sil)
2026 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2029 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2031 as_fn_append ac_configure_args1 " '$ac_arg'"
2032 if test $ac_must_keep_next = true; then
2033 ac_must_keep_next=false # Got value, back to normal.
2036 *=* | --config-cache | -C | -disable-* | --disable-* \
2037 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2038 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2039 | -with-* | --with-* | -without-* | --without-* | --x)
2040 case "$ac_configure_args0 " in
2041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2044 -* ) ac_must_keep_next=true ;;
2047 as_fn_append ac_configure_args " '$ac_arg'"
2052 { ac_configure_args0=; unset ac_configure_args0;}
2053 { ac_configure_args1=; unset ac_configure_args1;}
2055 # When interrupted or exit'd, cleanup temporary files, and complete
2056 # config.log. We remove comments because anyway the quotes in there
2057 # would cause problems or look ugly.
2058 # WARNING: Use '\'' to represent an apostrophe within the trap.
2059 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060 trap 'exit_status=$?
2061 # Save into config.log some information that might help in debugging.
2065 $as_echo "## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##"
2069 # The following way of writing the cache mishandles newlines in values,
2071 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072 eval ac_val=\$$ac_var
2076 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2080 _ | IFS | as_nl) ;; #(
2081 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082 *) { eval $ac_var=; unset $ac_var;} ;;
2087 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088 *${as_nl}ac_space=\ *)
2090 "s/'\''/'\''\\\\'\'''\''/g;
2091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2101 $as_echo "## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##"
2105 for ac_var in $ac_subst_vars
2107 eval ac_val=\$$ac_var
2109 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 $as_echo "$ac_var='\''$ac_val'\''"
2115 if test -n "$ac_subst_files"; then
2116 $as_echo "## ------------------- ##
2117 ## File substitutions. ##
2118 ## ------------------- ##"
2120 for ac_var in $ac_subst_files
2122 eval ac_val=\$$ac_var
2124 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -s confdefs.h; then
2132 $as_echo "## ----------- ##
2139 test "$ac_signal" != 0 &&
2140 $as_echo "$as_me: caught signal $ac_signal"
2141 $as_echo "$as_me: exit $exit_status"
2143 rm -f core *.core core.conftest.* &&
2144 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2147 for ac_signal in 1 2 13 15; do
2148 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest* confdefs.h
2155 $as_echo "/* confdefs.h */" > confdefs.h
2157 # Predefined preprocessor variables.
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_NAME "$PACKAGE_NAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_STRING "$PACKAGE_STRING"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_URL "$PACKAGE_URL"
2184 # Let the site file select an alternate cache file if it wants to.
2185 # Prefer an explicitly selected file to automatically selected ones.
2188 if test -n "$CONFIG_SITE"; then
2189 # We do not want a PATH search for config.site.
2190 case $CONFIG_SITE in #((
2191 -*) ac_site_file1=./$CONFIG_SITE;;
2192 */*) ac_site_file1=$CONFIG_SITE;;
2193 *) ac_site_file1=./$CONFIG_SITE;;
2195 elif test "x$prefix" != xNONE; then
2196 ac_site_file1=$prefix/share/config.site
2197 ac_site_file2=$prefix/etc/config.site
2199 ac_site_file1=$ac_default_prefix/share/config.site
2200 ac_site_file2=$ac_default_prefix/etc/config.site
2202 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2204 test "x$ac_site_file" = xNONE && continue
2205 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208 sed 's/^/| /' "$ac_site_file" >&5
2210 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 as_fn_error $? "failed to load site script $ac_site_file
2213 See \`config.log' for more details" "$LINENO" 5; }
2217 if test -r "$cache_file"; then
2218 # Some versions of bash will fail to source /dev/null (special files
2219 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2220 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222 $as_echo "$as_me: loading cache $cache_file" >&6;}
2224 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2225 *) . "./$cache_file";;
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230 $as_echo "$as_me: creating cache $cache_file" >&6;}
2234 # Check that the precious variables saved in the cache have kept the same
2236 ac_cache_corrupted=false
2237 for ac_var in $ac_precious_vars; do
2238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2239 eval ac_new_set=\$ac_env_${ac_var}_set
2240 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2241 eval ac_new_val=\$ac_env_${ac_var}_value
2242 case $ac_old_set,$ac_new_set in
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2245 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2246 ac_cache_corrupted=: ;;
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2249 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2250 ac_cache_corrupted=: ;;
2253 if test "x$ac_old_val" != "x$ac_new_val"; then
2254 # differences in whitespace do not lead to failure.
2255 ac_old_val_w=`echo x $ac_old_val`
2256 ac_new_val_w=`echo x $ac_new_val`
2257 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2259 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2260 ac_cache_corrupted=:
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2263 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2264 eval $ac_var=\$ac_old_val
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2267 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2269 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2272 # Pass precious variables to config.status.
2273 if test "$ac_new_set" = set; then
2275 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2276 *) ac_arg=$ac_var=$ac_new_val ;;
2278 case " $ac_configure_args " in
2279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2280 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2284 if $ac_cache_corrupted; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2288 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2289 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2291 ## -------------------- ##
2292 ## Main body of script. ##
2293 ## -------------------- ##
2296 ac_cpp='$CPP $CPPFLAGS'
2297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2303 am__api_version='1.11'
2306 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2307 if test -f "$ac_dir/install-sh"; then
2309 ac_install_sh="$ac_aux_dir/install-sh -c"
2311 elif test -f "$ac_dir/install.sh"; then
2313 ac_install_sh="$ac_aux_dir/install.sh -c"
2315 elif test -f "$ac_dir/shtool"; then
2317 ac_install_sh="$ac_aux_dir/shtool install -c"
2321 if test -z "$ac_aux_dir"; then
2322 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2325 # These three variables are undocumented and unsupported,
2326 # and are intended to be withdrawn in a future Autoconf release.
2327 # They can cause serious problems if a builder's source tree is in a directory
2328 # whose full name contains unusual characters.
2329 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2330 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2331 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2334 # Find a good install program. We prefer a C program (faster),
2335 # so one script is as good as another. But avoid the broken or
2336 # incompatible versions:
2337 # SysV /etc/install, /usr/sbin/install
2338 # SunOS /usr/etc/install
2339 # IRIX /sbin/install
2341 # AmigaOS /C/install, which installs bootblocks on floppy discs
2342 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2343 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2344 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2345 # OS/2's system install, which has a completely different semantic
2346 # ./install, which can be erroneously created by make from ./install.sh.
2347 # Reject install programs that cannot install multiple files.
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2349 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2350 if test -z "$INSTALL"; then
2351 if ${ac_cv_path_install+:} false; then :
2352 $as_echo_n "(cached) " >&6
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir=.
2359 # Account for people who put trailing slashes in PATH elements.
2360 case $as_dir/ in #((
2361 ./ | .// | /[cC]/* | \
2362 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2363 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2366 # OSF1 and SCO ODT 3.0 have their own names for install.
2367 # Don't use installbsd from OSF since it installs stuff as root
2369 for ac_prog in ginstall scoinst install; do
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2372 if test $ac_prog = install &&
2373 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2374 # AIX install. It has an incompatible calling convention.
2376 elif test $ac_prog = install &&
2377 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2378 # program-specific install script used by HP pwplus--don't use.
2381 rm -rf conftest.one conftest.two conftest.dir
2382 echo one > conftest.one
2383 echo two > conftest.two
2385 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2386 test -s conftest.one && test -s conftest.two &&
2387 test -s conftest.dir/conftest.one &&
2388 test -s conftest.dir/conftest.two
2390 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2403 rm -rf conftest.one conftest.two conftest.dir
2406 if test "${ac_cv_path_install+set}" = set; then
2407 INSTALL=$ac_cv_path_install
2409 # As a last resort, use the slow shell script. Don't cache a
2410 # value for INSTALL within a source directory, because that will
2411 # break other packages using the cache if that directory is
2412 # removed, or if the value is a relative name.
2413 INSTALL=$ac_install_sh
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2417 $as_echo "$INSTALL" >&6; }
2419 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2420 # It thinks the first close brace ends the variable substitution.
2421 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2423 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2425 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2428 $as_echo_n "checking whether build environment is sane... " >&6; }
2431 echo timestamp > conftest.file
2432 # Reject unsafe characters in $srcdir or the absolute working directory
2433 # name. Accept space and tab only in the latter.
2437 *[\\\"\#\$\&\'\`$am_lf]*)
2438 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2441 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2442 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2445 # Do `set' in a subshell so we don't clobber the current shell's
2446 # arguments. Must try -L first in case configure is actually a
2447 # symlink; some systems play weird games with the mod time of symlinks
2448 # (eg FreeBSD returns the mod time of the symlink's containing
2451 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2452 if test "$*" = "X"; then
2454 set X `ls -t "$srcdir/configure" conftest.file`
2457 if test "$*" != "X $srcdir/configure conftest.file" \
2458 && test "$*" != "X conftest.file $srcdir/configure"; then
2460 # If neither matched, then we have a broken ls. This can happen
2461 # if, for instance, CONFIG_SHELL is bash and it inherits a
2462 # broken ls alias from the environment. This has actually
2463 # happened. Such a system could not be considered "sane".
2464 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2465 alias in your environment" "$LINENO" 5
2468 test "$2" = conftest.file
2474 as_fn_error $? "newly created file is older than distributed files!
2475 Check your system clock" "$LINENO" 5
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2478 $as_echo "yes" >&6; }
2479 test "$program_prefix" != NONE &&
2480 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2481 # Use a double $ so make ignores it.
2482 test "$program_suffix" != NONE &&
2483 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2484 # Double any \ or $.
2485 # By default was `s,x,x', remove it if useless.
2486 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2487 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2489 # expand $ac_aux_dir to an absolute path
2490 am_aux_dir=`cd $ac_aux_dir && pwd`
2492 if test x"${MISSING+set}" != xset; then
2495 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2497 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2500 # Use eval to expand $SHELL
2501 if eval "$MISSING --run true"; then
2502 am_missing_run="$MISSING --run "
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2506 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2509 if test x"${install_sh}" != xset; then
2512 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2514 install_sh="\${SHELL} $am_aux_dir/install-sh"
2518 # Installed binaries are usually stripped using `strip' when the user
2519 # run `make install-strip'. However `strip' might not be the right
2520 # tool to use in cross-compilation environments, therefore Automake
2521 # will honor the `STRIP' environment variable to overrule this program.
2522 if test "$cross_compiling" != no; then
2523 if test -n "$ac_tool_prefix"; then
2524 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2525 set dummy ${ac_tool_prefix}strip; ac_word=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if ${ac_cv_prog_STRIP+:} false; then :
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$STRIP"; then
2532 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2541 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 STRIP=$ac_cv_prog_STRIP
2552 if test -n "$STRIP"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2554 $as_echo "$STRIP" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2562 if test -z "$ac_cv_prog_STRIP"; then
2564 # Extract the first word of "strip", so it can be a program name with args.
2565 set dummy strip; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$ac_ct_STRIP"; then
2572 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2581 ac_cv_prog_ac_ct_STRIP="strip"
2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2592 if test -n "$ac_ct_STRIP"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2594 $as_echo "$ac_ct_STRIP" >&6; }
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2600 if test "x$ac_ct_STRIP" = x; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2607 ac_tool_warned=yes ;;
2612 STRIP="$ac_cv_prog_STRIP"
2616 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2619 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2620 if test -z "$MKDIR_P"; then
2621 if ${ac_cv_path_mkdir+:} false; then :
2622 $as_echo_n "(cached) " >&6
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2628 test -z "$as_dir" && as_dir=.
2629 for ac_prog in mkdir gmkdir; do
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2632 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2633 'mkdir (GNU coreutils) '* | \
2634 'mkdir (coreutils) '* | \
2635 'mkdir (fileutils) '4.1*)
2636 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2646 test -d ./--version && rmdir ./--version
2647 if test "${ac_cv_path_mkdir+set}" = set; then
2648 MKDIR_P="$ac_cv_path_mkdir -p"
2650 # As a last resort, use the slow shell script. Don't cache a
2651 # value for MKDIR_P within a source directory, because that will
2652 # break other packages using the cache if that directory is
2653 # removed, or if the value is a relative name.
2654 MKDIR_P="$ac_install_sh -d"
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2658 $as_echo "$MKDIR_P" >&6; }
2662 [\\/$]* | ?:[\\/]*) ;;
2663 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2666 for ac_prog in gawk mawk nawk awk
2668 # Extract the first word of "$ac_prog", so it can be a program name with args.
2669 set dummy $ac_prog; ac_word=$2
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2671 $as_echo_n "checking for $ac_word... " >&6; }
2672 if ${ac_cv_prog_AWK+:} false; then :
2673 $as_echo_n "(cached) " >&6
2675 if test -n "$AWK"; then
2676 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 test -z "$as_dir" && as_dir=.
2683 for ac_exec_ext in '' $ac_executable_extensions; do
2684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685 ac_cv_prog_AWK="$ac_prog"
2686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 if test -n "$AWK"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2698 $as_echo "$AWK" >&6; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2705 test -n "$AWK" && break
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2709 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2711 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2712 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2713 $as_echo_n "(cached) " >&6
2715 cat >conftest.make <<\_ACEOF
2718 @echo '@@@%%%=$(MAKE)=@@@%%%'
2720 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2721 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2723 eval ac_cv_prog_make_${ac_make}_set=yes;;
2725 eval ac_cv_prog_make_${ac_make}_set=no;;
2729 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2731 $as_echo "yes" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2736 SET_MAKE="MAKE=${MAKE-make}"
2739 rm -rf .tst 2>/dev/null
2740 mkdir .tst 2>/dev/null
2741 if test -d .tst; then
2746 rmdir .tst 2>/dev/null
2748 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2749 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2750 # is not polluted with repeated "-I."
2751 am__isrc=' -I$(srcdir)'
2752 # test to see if srcdir already configured
2753 if test -f $srcdir/config.status; then
2754 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2758 # test whether we have cygpath
2759 if test -z "$CYGPATH_W"; then
2760 if (cygpath --version) >/dev/null 2>/dev/null; then
2761 CYGPATH_W='cygpath -w'
2768 # Define the identity of the package.
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE "$PACKAGE"
2778 cat >>confdefs.h <<_ACEOF
2779 #define VERSION "$VERSION"
2782 # Some tools Automake needs.
2784 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2787 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2790 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2793 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2796 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2798 # We need awk for the "check" target. The system "awk" is bad on
2800 # Always define AMTAR for backward compatibility. Yes, it's still used
2801 # in the wild :-( We should find a proper way to deprecate it ...
2804 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2810 ac_config_headers="$ac_config_headers config.h"
2813 # Check whether --enable-silent-rules was given.
2814 if test "${enable_silent_rules+set}" = set; then :
2815 enableval=$enable_silent_rules;
2818 case $enable_silent_rules in
2819 yes) AM_DEFAULT_VERBOSITY=0;;
2820 no) AM_DEFAULT_VERBOSITY=1;;
2821 *) AM_DEFAULT_VERBOSITY=0;;
2823 am_make=${MAKE-make}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2825 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2826 if ${am_cv_make_support_nested_variables+:} false; then :
2827 $as_echo_n "(cached) " >&6
2829 if $as_echo 'TRUE=$(BAR$(V))
2835 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2836 am_cv_make_support_nested_variables=yes
2838 am_cv_make_support_nested_variables=no
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2842 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2843 if test $am_cv_make_support_nested_variables = yes; then
2845 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2847 AM_V=$AM_DEFAULT_VERBOSITY
2848 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2855 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2856 # Check whether --enable-maintainer-mode was given.
2857 if test "${enable_maintainer_mode+set}" = set; then :
2858 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2860 USE_MAINTAINER_MODE=no
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2864 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2865 if test $USE_MAINTAINER_MODE = yes; then
2866 MAINTAINER_MODE_TRUE=
2867 MAINTAINER_MODE_FALSE='#'
2869 MAINTAINER_MODE_TRUE='#'
2870 MAINTAINER_MODE_FALSE=
2873 MAINT=$MAINTAINER_MODE_TRUE
2879 if (test "${libdir}" = '${exec_prefix}/lib'); then
2880 libdir="${prefix}/lib"
2883 plugindir="${libdir}/obex/plugins"
2885 if (test "$sysconfdir" = '${prefix}/etc'); then
2886 configdir="${prefix}/etc/obex"
2888 configdir="${sysconfdir}/obex"
2892 cat >>confdefs.h <<_ACEOF
2893 #define CONFIGDIR "${configdir}"
2898 if (test "${CFLAGS}" = ""); then
2899 CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
2901 if (test "$USE_MAINTAINER_MODE" = "yes"); then
2902 CFLAGS="$CFLAGS -Werror -Wextra"
2903 CFLAGS="$CFLAGS -Wno-unused-parameter"
2904 CFLAGS="$CFLAGS -Wno-missing-field-initializers"
2905 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
2906 CFLAGS="$CFLAGS -Wmissing-declarations"
2907 CFLAGS="$CFLAGS -Wredundant-decls"
2908 CFLAGS="$CFLAGS -Wcast-align"
2909 CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2921 ac_cpp='$CPP $CPPFLAGS'
2922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925 if test -n "$ac_tool_prefix"; then
2926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2927 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929 $as_echo_n "checking for $ac_word... " >&6; }
2930 if ${ac_cv_prog_CC+:} false; then :
2931 $as_echo_n "(cached) " >&6
2933 if test -n "$CC"; then
2934 ac_cv_prog_CC="$CC" # Let the user override the test.
2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir=.
2941 for ac_exec_ext in '' $ac_executable_extensions; do
2942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 if test -n "$CC"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2964 if test -z "$ac_cv_prog_CC"; then
2966 # Extract the first word of "gcc", so it can be a program name with args.
2967 set dummy 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_ac_ct_CC+:} false; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$ac_ct_CC"; then
2974 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2994 if test -n "$ac_ct_CC"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2996 $as_echo "$ac_ct_CC" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3002 if test "x$ac_ct_CC" = x; then
3005 case $cross_compiling:$ac_tool_warned in
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009 ac_tool_warned=yes ;;
3017 if test -z "$CC"; then
3018 if test -n "$ac_tool_prefix"; then
3019 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3020 set dummy ${ac_tool_prefix}cc; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if ${ac_cv_prog_CC+:} false; then :
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$CC"; then
3027 ac_cv_prog_CC="$CC" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3036 ac_cv_prog_CC="${ac_tool_prefix}cc"
3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 if test -n "$CC"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049 $as_echo "$CC" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3058 if test -z "$CC"; then
3059 # Extract the first word of "cc", so it can be a program name with args.
3060 set dummy 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.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3078 ac_prog_rejected=yes
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test $ac_prog_rejected = yes; then
3090 # We found a bogon in the path, so make sure we never use it.
3091 set dummy $ac_cv_prog_CC
3093 if test $# != 0; then
3094 # We chose a different compiler from the bogus one.
3095 # However, it has the same basename, so the bogon will be chosen
3096 # first if we set CC to just the basename; use the full file name.
3098 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3104 if test -n "$CC"; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106 $as_echo "$CC" >&6; }
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109 $as_echo "no" >&6; }
3114 if test -z "$CC"; then
3115 if test -n "$ac_tool_prefix"; then
3116 for ac_prog in cl.exe
3118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3119 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if ${ac_cv_prog_CC+:} false; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$CC"; then
3126 ac_cv_prog_CC="$CC" # Let the user override the test.
3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir=.
3133 for ac_exec_ext in '' $ac_executable_extensions; do
3134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 if test -n "$CC"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148 $as_echo "$CC" >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3155 test -n "$CC" && break
3158 if test -z "$CC"; then
3160 for ac_prog in cl.exe
3162 # Extract the first word of "$ac_prog", so it can be a program name with args.
3163 set dummy $ac_prog; ac_word=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3167 $as_echo_n "(cached) " >&6
3169 if test -n "$ac_ct_CC"; then
3170 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 ac_cv_prog_ac_ct_CC="$ac_prog"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3190 if test -n "$ac_ct_CC"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3192 $as_echo "$ac_ct_CC" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3199 test -n "$ac_ct_CC" && break
3202 if test "x$ac_ct_CC" = x; then
3205 case $cross_compiling:$ac_tool_warned in
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209 ac_tool_warned=yes ;;
3218 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $? "no acceptable C compiler found in \$PATH
3221 See \`config.log' for more details" "$LINENO" 5; }
3223 # Provide some information about the compiler.
3224 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3227 for ac_option in --version -v -V -qversion; do
3228 { { ac_try="$ac_compiler $ac_option >&5"
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234 $as_echo "$ac_try_echo"; } >&5
3235 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3237 if test -s conftest.err; then
3239 ... rest of stderr output deleted ...
3240 10q' conftest.err >conftest.er1
3241 cat conftest.er1 >&5
3243 rm -f conftest.er1 conftest.err
3244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245 test $ac_status = 0; }
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3259 ac_clean_files_save=$ac_clean_files
3260 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3261 # Try to create an executable without -o first, disregard a.out.
3262 # It will help us diagnose broken compilers, and finding out an intuition
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3265 $as_echo_n "checking whether the C compiler works... " >&6; }
3266 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3268 # The possible output files:
3269 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3272 for ac_file in $ac_files
3275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3276 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3281 if { { ac_try="$ac_link_default"
3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287 $as_echo "$ac_try_echo"; } >&5
3288 (eval "$ac_link_default") 2>&5
3290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291 test $ac_status = 0; }; then :
3292 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3293 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3294 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3295 # so that the user can short-circuit this test for compilers unknown to
3297 for ac_file in $ac_files ''
3299 test -f "$ac_file" || continue
3301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3304 # We found the default executable, but exeext='' is most
3308 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3310 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3312 # We set ac_cv_exeext here because the later test for it is not
3313 # safe: cross compilers may not add the suffix if given an `-o'
3314 # argument, so we may need to know it at that point already.
3315 # Even if this section looks crufty: it has the advantage of
3322 test "$ac_cv_exeext" = no && ac_cv_exeext=
3327 if test -z "$ac_file"; then :
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329 $as_echo "no" >&6; }
3330 $as_echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.$ac_ext >&5
3333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335 as_fn_error 77 "C compiler cannot create executables
3336 See \`config.log' for more details" "$LINENO" 5; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339 $as_echo "yes" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3342 $as_echo_n "checking for C compiler default output file name... " >&6; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3344 $as_echo "$ac_file" >&6; }
3345 ac_exeext=$ac_cv_exeext
3347 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3348 ac_clean_files=$ac_clean_files_save
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3350 $as_echo_n "checking for suffix of executables... " >&6; }
3351 if { { ac_try="$ac_link"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357 $as_echo "$ac_try_echo"; } >&5
3358 (eval "$ac_link") 2>&5
3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361 test $ac_status = 0; }; then :
3362 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3363 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3364 # work properly (i.e., refer to `conftest.exe'), while it won't with
3366 for ac_file in conftest.exe conftest conftest.*; do
3367 test -f "$ac_file" || continue
3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3379 See \`config.log' for more details" "$LINENO" 5; }
3381 rm -f conftest conftest$ac_cv_exeext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383 $as_echo "$ac_cv_exeext" >&6; }
3385 rm -f conftest.$ac_ext
3386 EXEEXT=$ac_cv_exeext
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3394 FILE *f = fopen ("conftest.out", "w");
3395 return ferror (f) || fclose (f) != 0;
3401 ac_clean_files="$ac_clean_files conftest.out"
3402 # Check that the compiler produces executables we can run. If not, either
3403 # the compiler is broken, or we cross compile.
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3405 $as_echo_n "checking whether we are cross compiling... " >&6; }
3406 if test "$cross_compiling" != yes; then
3407 { { ac_try="$ac_link"
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_link") 2>&5
3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417 test $ac_status = 0; }
3418 if { ac_try='./conftest$ac_cv_exeext'
3419 { { case "(($ac_try" in
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_try") 2>&5
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428 test $ac_status = 0; }; }; then
3431 if test "$cross_compiling" = maybe; then
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error $? "cannot run C compiled programs.
3437 If you meant to cross compile, use \`--host'.
3438 See \`config.log' for more details" "$LINENO" 5; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3443 $as_echo "$cross_compiling" >&6; }
3445 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3446 ac_clean_files=$ac_clean_files_save
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3448 $as_echo_n "checking for suffix of object files... " >&6; }
3449 if ${ac_cv_objext+:} false; then :
3450 $as_echo_n "(cached) " >&6
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3463 rm -f conftest.o conftest.obj
3464 if { { ac_try="$ac_compile"
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470 $as_echo "$ac_try_echo"; } >&5
3471 (eval "$ac_compile") 2>&5
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }; then :
3475 for ac_file in conftest.o conftest.obj conftest.*; do
3476 test -f "$ac_file" || continue;
3478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3479 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3484 $as_echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489 as_fn_error $? "cannot compute suffix of object files: cannot compile
3490 See \`config.log' for more details" "$LINENO" 5; }
3492 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3495 $as_echo "$ac_cv_objext" >&6; }
3496 OBJEXT=$ac_cv_objext
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500 if ${ac_cv_c_compiler_gnu+:} false; then :
3501 $as_echo_n "(cached) " >&6
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3517 if ac_fn_c_try_compile "$LINENO"; then :
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528 if test $ac_compiler_gnu = yes; then
3533 ac_test_CFLAGS=${CFLAGS+set}
3534 ac_save_CFLAGS=$CFLAGS
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3537 if ${ac_cv_prog_cc_g+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3555 if ac_fn_c_try_compile "$LINENO"; then :
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3570 if ac_fn_c_try_compile "$LINENO"; then :
3573 ac_c_werror_flag=$ac_save_c_werror_flag
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 ac_c_werror_flag=$ac_save_c_werror_flag
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597 $as_echo "$ac_cv_prog_cc_g" >&6; }
3598 if test "$ac_test_CFLAGS" = set; then
3599 CFLAGS=$ac_save_CFLAGS
3600 elif test $ac_cv_prog_cc_g = yes; then
3601 if test "$GCC" = yes; then
3607 if test "$GCC" = yes; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615 if ${ac_cv_prog_cc_c89+:} false; then :
3616 $as_echo_n "(cached) " >&6
3618 ac_cv_prog_cc_c89=no
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3625 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3626 struct buf { int x; };
3627 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3628 static char *e (p, i)
3634 static char *f (char * (*g) (char **, int), char **p, ...)
3639 s = g (p, va_arg (v,int));
3644 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3645 function prototypes and stuff, but not '\xHH' hex character constants.
3646 These don't provoke an error unfortunately, instead are silently treated
3647 as 'x'. The following induces an error, until -std is added to get
3648 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3649 array size at least. It's necessary to write '\x00'==0 to get something
3650 that's true only with -std. */
3651 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3653 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3654 inside strings and character constants. */
3656 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3658 int test (int i, double x);
3659 struct s1 {int (*f) (int a);};
3660 struct s2 {int (*f) (double a);};
3661 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3667 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3672 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3673 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3675 CC="$ac_save_CC $ac_arg"
3676 if ac_fn_c_try_compile "$LINENO"; then :
3677 ac_cv_prog_cc_c89=$ac_arg
3679 rm -f core conftest.err conftest.$ac_objext
3680 test "x$ac_cv_prog_cc_c89" != "xno" && break
3682 rm -f conftest.$ac_ext
3687 case "x$ac_cv_prog_cc_c89" in
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3690 $as_echo "none needed" >&6; } ;;
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3693 $as_echo "unsupported" >&6; } ;;
3695 CC="$CC $ac_cv_prog_cc_c89"
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3697 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3699 if test "x$ac_cv_prog_cc_c89" != xno; then :
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708 DEPDIR="${am__leading_dot}deps"
3710 ac_config_commands="$ac_config_commands depfiles"
3713 am_make=${MAKE-make}
3714 cat > confinc << 'END'
3716 @echo this is the am__doit target
3719 # If we don't find an include directive, just comment out the code.
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3721 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3725 # First try GNU make style include.
3726 echo "include confinc" > confmf
3727 # Ignore all kinds of additional output from `make'.
3728 case `$am_make -s -f confmf 2> /dev/null` in #(
3729 *the\ am__doit\ target*)
3735 # Now try BSD make style include.
3736 if test "$am__include" = "#"; then
3737 echo '.include "confinc"' > confmf
3738 case `$am_make -s -f confmf 2> /dev/null` in #(
3739 *the\ am__doit\ target*)
3740 am__include=.include
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3749 $as_echo "$_am_result" >&6; }
3750 rm -f confinc confmf
3752 # Check whether --enable-dependency-tracking was given.
3753 if test "${enable_dependency_tracking+set}" = set; then :
3754 enableval=$enable_dependency_tracking;
3757 if test "x$enable_dependency_tracking" != xno; then
3758 am_depcomp="$ac_aux_dir/depcomp"
3762 if test "x$enable_dependency_tracking" != xno; then
3772 depcc="$CC" am_compiler_list=
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3775 $as_echo_n "checking dependency style of $depcc... " >&6; }
3776 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3777 $as_echo_n "(cached) " >&6
3779 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3780 # We make a subdir and do the tests there. Otherwise we can end up
3781 # making bogus files that we don't know about and never remove. For
3782 # instance it was reported that on HP-UX the gcc test will end up
3783 # making a dummy file named `D' -- because `-MD' means `put the output
3787 # Copy depcomp to subdir because otherwise we won't find it if we're
3788 # using a relative directory.
3789 cp "$am_depcomp" conftest.dir
3791 # We will build objects and dependencies in a subdirectory because
3792 # it helps to detect inapplicable dependency modes. For instance
3793 # both Tru64's cc and ICC support -MD to output dependencies as a
3794 # side effect of compilation, but ICC will put the dependencies in
3795 # the current directory while Tru64 will put them in the object
3799 am_cv_CC_dependencies_compiler_type=none
3800 if test "$am_compiler_list" = ""; then
3801 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3804 case " $depcc " in #(
3805 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3808 for depmode in $am_compiler_list; do
3809 # Setup a source with many dependencies, because some compilers
3810 # like to wrap large dependency lists on column 80 (with \), and
3811 # we should not choose a depcomp mode which is confused by this.
3813 # We need to recreate these files for each test, as the compiler may
3814 # overwrite some of them when testing with obscure command lines.
3815 # This happens at least with the AIX C compiler.
3817 for i in 1 2 3 4 5 6; do
3818 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3819 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3820 # Solaris 8's {/usr,}/bin/sh.
3821 touch sub/conftst$i.h
3823 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3825 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3826 # mode. It turns out that the SunPro C++ compiler does not properly
3827 # handle `-M -o', and we need to detect this. Also, some Intel
3828 # versions had trouble with output in subdirs
3829 am__obj=sub/conftest.${OBJEXT-o}
3830 am__minus_obj="-o $am__obj"
3833 # This depmode causes a compiler race in universal mode.
3834 test "$am__universal" = false || continue
3837 # after this tag, mechanisms are not by side-effect, so they'll
3838 # only be used when explicitly requested
3839 if test "x$enable_dependency_tracking" = xyes; then
3845 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3846 # This compiler won't grok `-c -o', but also, the minuso test has
3847 # not run yet. These depmodes are late enough in the game, and
3848 # so weak that their functioning should not be impacted.
3849 am__obj=conftest.${OBJEXT-o}
3854 if depmode=$depmode \
3855 source=sub/conftest.c object=$am__obj \
3856 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3857 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3858 >/dev/null 2>conftest.err &&
3859 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3860 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3861 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3862 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3863 # icc doesn't choke on unknown options, it will just issue warnings
3864 # or remarks (even with -Werror). So we grep stderr for any message
3865 # that says an option was ignored or not supported.
3866 # When given -MP, icc 7.0 and 7.1 complain thusly:
3867 # icc: Command line warning: ignoring option '-M'; no argument required
3868 # The diagnosis changed in icc 8.0:
3869 # icc: Command line remark: option '-MP' not supported
3870 if (grep 'ignoring option' conftest.err ||
3871 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3872 am_cv_CC_dependencies_compiler_type=$depmode
3881 am_cv_CC_dependencies_compiler_type=none
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3886 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3887 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3890 test "x$enable_dependency_tracking" != xno \
3891 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3893 am__fastdepCC_FALSE='#'
3895 am__fastdepCC_TRUE='#'
3896 am__fastdepCC_FALSE=
3900 if test "x$CC" != xcc; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3902 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3905 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3907 set dummy $CC; ac_cc=`$as_echo "$2" |
3908 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3909 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3910 $as_echo_n "(cached) " >&6
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3923 # Make sure it works both with $CC and with simple cc.
3924 # We do the test twice because some compilers refuse to overwrite an
3925 # existing .o file with -o, though they will create one.
3926 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3928 if { { case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934 (eval "$ac_try") 2>&5
3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937 test $ac_status = 0; } &&
3938 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_try") 2>&5
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; };
3949 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3950 if test "x$CC" != xcc; then
3951 # Test first that cc exists at all.
3952 if { ac_try='cc -c conftest.$ac_ext >&5'
3953 { { case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_try") 2>&5
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; }; then
3963 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3965 if { { case "(($ac_try" in
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3970 $as_echo "$ac_try_echo"; } >&5
3971 (eval "$ac_try") 2>&5
3973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974 test $ac_status = 0; } &&
3975 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3977 *) ac_try_echo=$ac_try;;
3979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3980 $as_echo "$ac_try_echo"; } >&5
3981 (eval "$ac_try") 2>&5
3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3984 test $ac_status = 0; };
3989 # cc exists but doesn't like -o.
3990 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3995 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3997 rm -f core conftest*
4000 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4002 $as_echo "yes" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4007 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4011 # FIXME: we rely on the cache variable name because
4012 # there is no other way.
4014 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4015 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4016 if test "$am_t" != yes; then
4017 # Losing compiler, so override with the script.
4018 # FIXME: It is wrong to rewrite CC.
4019 # But if we don't then we get into trouble of one sort or another.
4020 # A longer-term fix would be to have automake use am__CC in this case,
4021 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4022 CC="$am_aux_dir/compile $CC"
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -fPIE" >&5
4028 $as_echo_n "checking whether ${CC-cc} accepts -fPIE... " >&6; }
4029 if ${ac_cv_prog_cc_pie+:} false; then :
4030 $as_echo_n "(cached) " >&6
4033 echo 'void f(){}' > conftest.c
4034 if test -z "`${CC-cc} -fPIE -pie -c conftest.c 2>&1`"; then
4035 ac_cv_prog_cc_pie=yes
4037 ac_cv_prog_cc_pie=no
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_pie" >&5
4043 $as_echo "$ac_cv_prog_cc_pie" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4047 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4048 if ${ac_cv_path_SED+:} false; then :
4049 $as_echo_n "(cached) " >&6
4051 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4052 for ac_i in 1 2 3 4 5 6 7; do
4053 ac_script="$ac_script$as_nl$ac_script"
4055 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4056 { ac_script=; unset ac_script;}
4057 if test -z "$SED"; then
4058 ac_path_SED_found=false
4059 # Loop through the user's path and test for each of PROGNAME-LIST
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir=.
4065 for ac_prog in sed gsed; do
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4068 as_fn_executable_p "$ac_path_SED" || continue
4069 # Check for GNU ac_path_SED and select it if it is found.
4070 # Check for GNU $ac_path_SED
4071 case `"$ac_path_SED" --version 2>&1` in
4073 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4076 $as_echo_n 0123456789 >"conftest.in"
4079 cat "conftest.in" "conftest.in" >"conftest.tmp"
4080 mv "conftest.tmp" "conftest.in"
4081 cp "conftest.in" "conftest.nl"
4082 $as_echo '' >> "conftest.nl"
4083 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4084 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4085 as_fn_arith $ac_count + 1 && ac_count=$as_val
4086 if test $ac_count -gt ${ac_path_SED_max-0}; then
4087 # Best one so far, save it but keep looking for a better one
4088 ac_cv_path_SED="$ac_path_SED"
4089 ac_path_SED_max=$ac_count
4091 # 10*(2^10) chars as input seems more than enough
4092 test $ac_count -gt 10 && break
4094 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4097 $ac_path_SED_found && break 3
4102 if test -z "$ac_cv_path_SED"; then
4103 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4111 $as_echo "$ac_cv_path_SED" >&6; }
4112 SED="$ac_cv_path_SED"
4118 ac_cpp='$CPP $CPPFLAGS'
4119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4123 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4124 # On Suns, sometimes $CPP names a directory.
4125 if test -n "$CPP" && test -d "$CPP"; then
4128 if test -z "$CPP"; then
4129 if ${ac_cv_prog_CPP+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 # Double quotes because CPP needs to be expanded
4133 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4136 for ac_c_preproc_warn_flag in '' yes
4138 # Use a header file that comes with gcc, so configuring glibc
4139 # with a fresh cross-compiler works.
4140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 # <limits.h> exists even on freestanding compilers.
4142 # On the NeXT, cc -E runs the code through the compiler's parser,
4143 # not just through cpp. "Syntax error" is here to catch this case.
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4147 # include <limits.h>
4149 # include <assert.h>
4153 if ac_fn_c_try_cpp "$LINENO"; then :
4156 # Broken: fails on valid input.
4159 rm -f conftest.err conftest.i conftest.$ac_ext
4161 # OK, works on sane cases. Now check whether nonexistent headers
4162 # can be detected and how.
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165 #include <ac_nonexistent.h>
4167 if ac_fn_c_try_cpp "$LINENO"; then :
4168 # Broken: success on invalid input.
4171 # Passes both tests.
4175 rm -f conftest.err conftest.i conftest.$ac_ext
4178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4179 rm -f conftest.i conftest.err conftest.$ac_ext
4180 if $ac_preproc_ok; then :
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4193 $as_echo "$CPP" >&6; }
4195 for ac_c_preproc_warn_flag in '' yes
4197 # Use a header file that comes with gcc, so configuring glibc
4198 # with a fresh cross-compiler works.
4199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4200 # <limits.h> exists even on freestanding compilers.
4201 # On the NeXT, cc -E runs the code through the compiler's parser,
4202 # not just through cpp. "Syntax error" is here to catch this case.
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4206 # include <limits.h>
4208 # include <assert.h>
4212 if ac_fn_c_try_cpp "$LINENO"; then :
4215 # Broken: fails on valid input.
4218 rm -f conftest.err conftest.i conftest.$ac_ext
4220 # OK, works on sane cases. Now check whether nonexistent headers
4221 # can be detected and how.
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224 #include <ac_nonexistent.h>
4226 if ac_fn_c_try_cpp "$LINENO"; then :
4227 # Broken: success on invalid input.
4230 # Passes both tests.
4234 rm -f conftest.err conftest.i conftest.$ac_ext
4237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4238 rm -f conftest.i conftest.err conftest.$ac_ext
4239 if $ac_preproc_ok; then :
4242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4244 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4245 See \`config.log' for more details" "$LINENO" 5; }
4249 ac_cpp='$CPP $CPPFLAGS'
4250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4256 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4257 if ${ac_cv_path_GREP+:} false; then :
4258 $as_echo_n "(cached) " >&6
4260 if test -z "$GREP"; then
4261 ac_path_GREP_found=false
4262 # Loop through the user's path and test for each of PROGNAME-LIST
4263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4267 test -z "$as_dir" && as_dir=.
4268 for ac_prog in grep ggrep; do
4269 for ac_exec_ext in '' $ac_executable_extensions; do
4270 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4271 as_fn_executable_p "$ac_path_GREP" || continue
4272 # Check for GNU ac_path_GREP and select it if it is found.
4273 # Check for GNU $ac_path_GREP
4274 case `"$ac_path_GREP" --version 2>&1` in
4276 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4279 $as_echo_n 0123456789 >"conftest.in"
4282 cat "conftest.in" "conftest.in" >"conftest.tmp"
4283 mv "conftest.tmp" "conftest.in"
4284 cp "conftest.in" "conftest.nl"
4285 $as_echo 'GREP' >> "conftest.nl"
4286 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4287 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4288 as_fn_arith $ac_count + 1 && ac_count=$as_val
4289 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4290 # Best one so far, save it but keep looking for a better one
4291 ac_cv_path_GREP="$ac_path_GREP"
4292 ac_path_GREP_max=$ac_count
4294 # 10*(2^10) chars as input seems more than enough
4295 test $ac_count -gt 10 && break
4297 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4300 $ac_path_GREP_found && break 3
4305 if test -z "$ac_cv_path_GREP"; then
4306 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4309 ac_cv_path_GREP=$GREP
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4314 $as_echo "$ac_cv_path_GREP" >&6; }
4315 GREP="$ac_cv_path_GREP"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4319 $as_echo_n "checking for egrep... " >&6; }
4320 if ${ac_cv_path_EGREP+:} false; then :
4321 $as_echo_n "(cached) " >&6
4323 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4324 then ac_cv_path_EGREP="$GREP -E"
4326 if test -z "$EGREP"; then
4327 ac_path_EGREP_found=false
4328 # Loop through the user's path and test for each of PROGNAME-LIST
4329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4333 test -z "$as_dir" && as_dir=.
4334 for ac_prog in egrep; do
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4337 as_fn_executable_p "$ac_path_EGREP" || continue
4338 # Check for GNU ac_path_EGREP and select it if it is found.
4339 # Check for GNU $ac_path_EGREP
4340 case `"$ac_path_EGREP" --version 2>&1` in
4342 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4345 $as_echo_n 0123456789 >"conftest.in"
4348 cat "conftest.in" "conftest.in" >"conftest.tmp"
4349 mv "conftest.tmp" "conftest.in"
4350 cp "conftest.in" "conftest.nl"
4351 $as_echo 'EGREP' >> "conftest.nl"
4352 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4353 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4354 as_fn_arith $ac_count + 1 && ac_count=$as_val
4355 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4356 # Best one so far, save it but keep looking for a better one
4357 ac_cv_path_EGREP="$ac_path_EGREP"
4358 ac_path_EGREP_max=$ac_count
4360 # 10*(2^10) chars as input seems more than enough
4361 test $ac_count -gt 10 && break
4363 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4366 $ac_path_EGREP_found && break 3
4371 if test -z "$ac_cv_path_EGREP"; then
4372 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4375 ac_cv_path_EGREP=$EGREP
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4381 $as_echo "$ac_cv_path_EGREP" >&6; }
4382 EGREP="$ac_cv_path_EGREP"
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4386 $as_echo_n "checking for ANSI C header files... " >&6; }
4387 if ${ac_cv_header_stdc+:} false; then :
4388 $as_echo_n "(cached) " >&6
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4405 if ac_fn_c_try_compile "$LINENO"; then :
4406 ac_cv_header_stdc=yes
4408 ac_cv_header_stdc=no
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412 if test $ac_cv_header_stdc = yes; then
4413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4420 $EGREP "memchr" >/dev/null 2>&1; then :
4423 ac_cv_header_stdc=no
4429 if test $ac_cv_header_stdc = yes; then
4430 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4437 $EGREP "free" >/dev/null 2>&1; then :
4440 ac_cv_header_stdc=no
4446 if test $ac_cv_header_stdc = yes; then
4447 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4448 if test "$cross_compiling" = yes; then :
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4455 #if ((' ' & 0x0FF) == 0x020)
4456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4459 # define ISLOWER(c) \
4460 (('a' <= (c) && (c) <= 'i') \
4461 || ('j' <= (c) && (c) <= 'r') \
4462 || ('s' <= (c) && (c) <= 'z'))
4463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4471 for (i = 0; i < 256; i++)
4472 if (XOR (islower (i), ISLOWER (i))
4473 || toupper (i) != TOUPPER (i))
4478 if ac_fn_c_try_run "$LINENO"; then :
4481 ac_cv_header_stdc=no
4483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4484 conftest.$ac_objext conftest.beam conftest.$ac_ext
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4490 $as_echo "$ac_cv_header_stdc" >&6; }
4491 if test $ac_cv_header_stdc = yes; then
4493 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4498 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4499 inttypes.h stdint.h unistd.h
4501 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4502 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4504 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4505 cat >>confdefs.h <<_ACEOF
4506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4515 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
4516 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
4518 $as_echo_n "checking for main in -lreadline... " >&6; }
4519 if ${ac_cv_lib_readline_main+:} false; then :
4520 $as_echo_n "(cached) " >&6
4522 ac_check_lib_save_LIBS=$LIBS
4523 LIBS="-lreadline $LIBS"
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4536 if ac_fn_c_try_link "$LINENO"; then :
4537 ac_cv_lib_readline_main=yes
4539 ac_cv_lib_readline_main=no
4541 rm -f core conftest.err conftest.$ac_objext \
4542 conftest$ac_exeext conftest.$ac_ext
4543 LIBS=$ac_check_lib_save_LIBS
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
4546 $as_echo "$ac_cv_lib_readline_main" >&6; }
4547 if test "x$ac_cv_lib_readline_main" = xyes; then :
4549 READLINE_LIBS="-lreadline"
4564 # Check whether --enable-static was given.
4565 if test "${enable_static+set}" = set; then :
4566 enableval=$enable_static; p=${PACKAGE-default}
4568 yes) enable_static=yes ;;
4569 no) enable_static=no ;;
4572 # Look at the argument we got. We use all the common list separators.
4573 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4574 for pkg in $enableval; do
4576 if test "X$pkg" = "X$p"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4598 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4603 macro_version='2.4.2'
4604 macro_revision='1.3337'
4618 ltmain="$ac_aux_dir/ltmain.sh"
4620 # Make sure we can run config.sub.
4621 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4622 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4625 $as_echo_n "checking build system type... " >&6; }
4626 if ${ac_cv_build+:} false; then :
4627 $as_echo_n "(cached) " >&6
4629 ac_build_alias=$build_alias
4630 test "x$ac_build_alias" = x &&
4631 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4632 test "x$ac_build_alias" = x &&
4633 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4634 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4635 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4639 $as_echo "$ac_cv_build" >&6; }
4640 case $ac_cv_build in
4642 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4645 ac_save_IFS=$IFS; IFS='-'
4651 # Remember, the first character of IFS is used to create $*,
4652 # except with old shells:
4655 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4659 $as_echo_n "checking host system type... " >&6; }
4660 if ${ac_cv_host+:} false; then :
4661 $as_echo_n "(cached) " >&6
4663 if test "x$host_alias" = x; then
4664 ac_cv_host=$ac_cv_build
4666 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4667 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4672 $as_echo "$ac_cv_host" >&6; }
4675 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4678 ac_save_IFS=$IFS; IFS='-'
4684 # Remember, the first character of IFS is used to create $*,
4685 # except with old shells:
4688 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4691 # Backslashify metacharacters that are still active within
4692 # double-quoted strings.
4693 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4695 # Same as above, but do not quote variable references.
4696 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4698 # Sed substitution to delay expansion of an escaped shell variable in a
4699 # double_quote_subst'ed string.
4700 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4702 # Sed substitution to delay expansion of an escaped single quote.
4703 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4705 # Sed substitution to avoid accidental globbing in evaled expressions
4706 no_glob_subst='s/\*/\\\*/g'
4708 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4709 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4710 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4713 $as_echo_n "checking how to print strings... " >&6; }
4714 # Test print first, because it will be a builtin if present.
4715 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4716 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4718 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4721 # Use this function as a fallback that always works.
4722 func_fallback_echo ()
4724 eval 'cat <<_LTECHO_EOF
4728 ECHO='func_fallback_echo'
4731 # func_echo_all arg...
4732 # Invoke $ECHO with all args, space-separated.
4739 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4740 $as_echo "printf" >&6; } ;;
4741 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4742 $as_echo "print -r" >&6; } ;;
4743 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4744 $as_echo "cat" >&6; } ;;
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4761 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4762 if ${ac_cv_path_SED+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4766 for ac_i in 1 2 3 4 5 6 7; do
4767 ac_script="$ac_script$as_nl$ac_script"
4769 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4770 { ac_script=; unset ac_script;}
4771 if test -z "$SED"; then
4772 ac_path_SED_found=false
4773 # Loop through the user's path and test for each of PROGNAME-LIST
4774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 test -z "$as_dir" && as_dir=.
4779 for ac_prog in sed gsed; do
4780 for ac_exec_ext in '' $ac_executable_extensions; do
4781 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4782 as_fn_executable_p "$ac_path_SED" || continue
4783 # Check for GNU ac_path_SED and select it if it is found.
4784 # Check for GNU $ac_path_SED
4785 case `"$ac_path_SED" --version 2>&1` in
4787 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4790 $as_echo_n 0123456789 >"conftest.in"
4793 cat "conftest.in" "conftest.in" >"conftest.tmp"
4794 mv "conftest.tmp" "conftest.in"
4795 cp "conftest.in" "conftest.nl"
4796 $as_echo '' >> "conftest.nl"
4797 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4798 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4799 as_fn_arith $ac_count + 1 && ac_count=$as_val
4800 if test $ac_count -gt ${ac_path_SED_max-0}; then
4801 # Best one so far, save it but keep looking for a better one
4802 ac_cv_path_SED="$ac_path_SED"
4803 ac_path_SED_max=$ac_count
4805 # 10*(2^10) chars as input seems more than enough
4806 test $ac_count -gt 10 && break
4808 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4811 $ac_path_SED_found && break 3
4816 if test -z "$ac_cv_path_SED"; then
4817 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4825 $as_echo "$ac_cv_path_SED" >&6; }
4826 SED="$ac_cv_path_SED"
4829 test -z "$SED" && SED=sed
4830 Xsed="$SED -e 1s/^X//"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4843 $as_echo_n "checking for fgrep... " >&6; }
4844 if ${ac_cv_path_FGREP+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4848 then ac_cv_path_FGREP="$GREP -F"
4850 if test -z "$FGREP"; then
4851 ac_path_FGREP_found=false
4852 # Loop through the user's path and test for each of PROGNAME-LIST
4853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4857 test -z "$as_dir" && as_dir=.
4858 for ac_prog in fgrep; do
4859 for ac_exec_ext in '' $ac_executable_extensions; do
4860 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4861 as_fn_executable_p "$ac_path_FGREP" || continue
4862 # Check for GNU ac_path_FGREP and select it if it is found.
4863 # Check for GNU $ac_path_FGREP
4864 case `"$ac_path_FGREP" --version 2>&1` in
4866 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4869 $as_echo_n 0123456789 >"conftest.in"
4872 cat "conftest.in" "conftest.in" >"conftest.tmp"
4873 mv "conftest.tmp" "conftest.in"
4874 cp "conftest.in" "conftest.nl"
4875 $as_echo 'FGREP' >> "conftest.nl"
4876 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4877 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4878 as_fn_arith $ac_count + 1 && ac_count=$as_val
4879 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4880 # Best one so far, save it but keep looking for a better one
4881 ac_cv_path_FGREP="$ac_path_FGREP"
4882 ac_path_FGREP_max=$ac_count
4884 # 10*(2^10) chars as input seems more than enough
4885 test $ac_count -gt 10 && break
4887 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4890 $ac_path_FGREP_found && break 3
4895 if test -z "$ac_cv_path_FGREP"; then
4896 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4899 ac_cv_path_FGREP=$FGREP
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4905 $as_echo "$ac_cv_path_FGREP" >&6; }
4906 FGREP="$ac_cv_path_FGREP"
4909 test -z "$GREP" && GREP=grep
4929 # Check whether --with-gnu-ld was given.
4930 if test "${with_gnu_ld+set}" = set; then :
4931 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4937 if test "$GCC" = yes; then
4938 # Check if gcc -print-prog-name=ld gives a path.
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4940 $as_echo_n "checking for ld used by $CC... " >&6; }
4943 # gcc leaves a trailing carriage return which upsets mingw
4944 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4946 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4949 # Accept absolute paths.
4951 re_direlt='/[^/][^/]*/\.\./'
4952 # Canonicalize the pathname of ld
4953 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4954 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4955 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4957 test -z "$LD" && LD="$ac_prog"
4960 # If it fails, then pretend we aren't using GCC.
4964 # If it is relative, then search for the first ld in PATH.
4968 elif test "$with_gnu_ld" = yes; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4970 $as_echo_n "checking for GNU ld... " >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4973 $as_echo_n "checking for non-GNU ld... " >&6; }
4975 if ${lt_cv_path_LD+:} false; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -z "$LD"; then
4979 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4980 for ac_dir in $PATH; do
4982 test -z "$ac_dir" && ac_dir=.
4983 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4984 lt_cv_path_LD="$ac_dir/$ac_prog"
4985 # Check to see if the program is GNU ld. I'd rather use --version,
4986 # but apparently some variants of GNU ld only accept -v.
4987 # Break only if it was the GNU/non-GNU ld that we prefer.
4988 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4989 *GNU* | *'with BFD'*)
4990 test "$with_gnu_ld" != no && break
4993 test "$with_gnu_ld" != yes && break
5000 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5005 if test -n "$LD"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5007 $as_echo "$LD" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5012 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5014 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5015 if ${lt_cv_prog_gnu_ld+:} false; then :
5016 $as_echo_n "(cached) " >&6
5018 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5019 case `$LD -v 2>&1 </dev/null` in
5020 *GNU* | *'with BFD'*)
5021 lt_cv_prog_gnu_ld=yes
5024 lt_cv_prog_gnu_ld=no
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5029 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5030 with_gnu_ld=$lt_cv_prog_gnu_ld
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5041 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5042 if ${lt_cv_path_NM+:} false; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$NM"; then
5046 # Let the user override the test.
5049 lt_nm_to_check="${ac_tool_prefix}nm"
5050 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5051 lt_nm_to_check="$lt_nm_to_check nm"
5053 for lt_tmp_nm in $lt_nm_to_check; do
5054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5055 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5057 test -z "$ac_dir" && ac_dir=.
5058 tmp_nm="$ac_dir/$lt_tmp_nm"
5059 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5060 # Check to see if the nm accepts a BSD-compat flag.
5061 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5062 # nm: unknown option "B" ignored
5063 # Tru64's nm complains that /dev/null is an invalid object file
5064 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5065 */dev/null* | *'Invalid file or object type'*)
5066 lt_cv_path_NM="$tmp_nm -B"
5070 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5072 lt_cv_path_NM="$tmp_nm -p"
5076 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5077 continue # so that we can try to find one that supports BSD flags
5086 : ${lt_cv_path_NM=no}
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5090 $as_echo "$lt_cv_path_NM" >&6; }
5091 if test "$lt_cv_path_NM" != "no"; then
5094 # Didn't find any BSD compatible name lister, look for dumpbin.
5095 if test -n "$DUMPBIN"; then :
5096 # Let the user override the test.
5098 if test -n "$ac_tool_prefix"; then
5099 for ac_prog in dumpbin "link -dump"
5101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if ${ac_cv_prog_DUMPBIN+:} false; then :
5106 $as_echo_n "(cached) " >&6
5108 if test -n "$DUMPBIN"; then
5109 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 DUMPBIN=$ac_cv_prog_DUMPBIN
5129 if test -n "$DUMPBIN"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5131 $as_echo "$DUMPBIN" >&6; }
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5138 test -n "$DUMPBIN" && break
5141 if test -z "$DUMPBIN"; then
5142 ac_ct_DUMPBIN=$DUMPBIN
5143 for ac_prog in dumpbin "link -dump"
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy $ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$ac_ct_DUMPBIN"; then
5153 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5173 if test -n "$ac_ct_DUMPBIN"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5175 $as_echo "$ac_ct_DUMPBIN" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$ac_ct_DUMPBIN" && break
5185 if test "x$ac_ct_DUMPBIN" = x; then
5188 case $cross_compiling:$ac_tool_warned in
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5192 ac_tool_warned=yes ;;
5194 DUMPBIN=$ac_ct_DUMPBIN
5198 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5200 DUMPBIN="$DUMPBIN -symbols"
5208 if test "$DUMPBIN" != ":"; then
5212 test -z "$NM" && NM=nm
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5220 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5221 if ${lt_cv_nm_interface+:} false; then :
5222 $as_echo_n "(cached) " >&6
5224 lt_cv_nm_interface="BSD nm"
5225 echo "int some_variable = 0;" > conftest.$ac_ext
5226 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5227 (eval "$ac_compile" 2>conftest.err)
5228 cat conftest.err >&5
5229 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5230 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5231 cat conftest.err >&5
5232 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5233 cat conftest.out >&5
5234 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5235 lt_cv_nm_interface="MS dumpbin"
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5240 $as_echo "$lt_cv_nm_interface" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5243 $as_echo_n "checking whether ln -s works... " >&6; }
5245 if test "$LN_S" = "ln -s"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5247 $as_echo "yes" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5250 $as_echo "no, using $LN_S" >&6; }
5253 # find the maximum length of command line arguments
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5255 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5256 if ${lt_cv_sys_max_cmd_len+:} false; then :
5257 $as_echo_n "(cached) " >&6
5264 # On DJGPP, this test can blow up pretty badly due to problems in libc
5265 # (any single argument exceeding 2000 bytes causes a buffer overrun
5266 # during glob expansion). Even if it were fixed, the result of this
5267 # check would be larger than it should be.
5268 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5272 # Under GNU Hurd, this test is not required because there is
5273 # no limit to the length of command line arguments.
5274 # Libtool will interpret -1 as no limit whatsoever
5275 lt_cv_sys_max_cmd_len=-1;
5278 cygwin* | mingw* | cegcc*)
5279 # On Win9x/ME, this test blows up -- it succeeds, but takes
5280 # about 5 minutes as the teststring grows exponentially.
5281 # Worse, since 9x/ME are not pre-emptively multitasking,
5282 # you end up with a "frozen" computer, even though with patience
5283 # the test eventually succeeds (with a max line length of 256k).
5284 # Instead, let's just punt: use the minimum linelength reported by
5285 # all of the supported platforms: 8192 (on NT/2K/XP).
5286 lt_cv_sys_max_cmd_len=8192;
5290 # On MiNT this can take a long time and run out of memory.
5291 lt_cv_sys_max_cmd_len=8192;
5295 # On AmigaOS with pdksh, this test takes hours, literally.
5296 # So we just punt and use a minimum line length of 8192.
5297 lt_cv_sys_max_cmd_len=8192;
5300 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5301 # This has been around since 386BSD, at least. Likely further.
5302 if test -x /sbin/sysctl; then
5303 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5304 elif test -x /usr/sbin/sysctl; then
5305 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5307 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5309 # And add a safety zone
5310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5315 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5316 lt_cv_sys_max_cmd_len=196608
5320 # The test takes a long time on OS/2.
5321 lt_cv_sys_max_cmd_len=8192
5325 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5326 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5327 # nice to cause kernel panics so lets avoid the loop below.
5328 # First set a reasonable default.
5329 lt_cv_sys_max_cmd_len=16384
5331 if test -x /sbin/sysconfig; then
5332 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5333 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5338 lt_cv_sys_max_cmd_len=102400
5340 sysv5* | sco5v6* | sysv4.2uw2*)
5341 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5342 if test -n "$kargmax"; then
5343 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5345 lt_cv_sys_max_cmd_len=32768
5349 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5350 if test -n "$lt_cv_sys_max_cmd_len"; then
5351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5352 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5354 # Make teststring a little bigger before we do anything with it.
5355 # a 1K string should be a reasonable start.
5356 for i in 1 2 3 4 5 6 7 8 ; do
5357 teststring=$teststring$teststring
5359 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5360 # If test is not a shell built-in, we'll probably end up computing a
5361 # maximum length that is only half of the actual maximum length, but
5363 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5364 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5365 test $i != 17 # 1/2 MB should be enough
5368 teststring=$teststring$teststring
5370 # Only check the string length outside the loop.
5371 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5373 # Add a significant safety factor because C++ compilers can tack on
5374 # massive amounts of additional arguments before passing them to the
5375 # linker. It appears as though 1/2 is a usable value.
5376 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5383 if test -n $lt_cv_sys_max_cmd_len ; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5385 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5388 $as_echo "none" >&6; }
5390 max_cmd_len=$lt_cv_sys_max_cmd_len
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5402 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5403 # Try some XSI features
5406 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5408 && eval 'test $(( 1 + 1 )) -eq 2 \
5409 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5412 $as_echo "$xsi_shell" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5416 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5418 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5420 && lt_shell_append=yes
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5422 $as_echo "$lt_shell_append" >&6; }
5425 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5435 # test EBCDIC or ASCII
5436 case `echo X|tr X '\101'` in
5437 A) # ASCII based system
5438 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5439 lt_SP2NL='tr \040 \012'
5440 lt_NL2SP='tr \015\012 \040\040'
5442 *) # EBCDIC based system
5443 lt_SP2NL='tr \100 \n'
5444 lt_NL2SP='tr \r\n \100\100'
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5457 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5458 if ${lt_cv_to_host_file_cmd+:} false; then :
5459 $as_echo_n "(cached) " >&6
5464 *-*-mingw* ) # actually msys
5465 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5468 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5470 * ) # otherwise, assume *nix
5471 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5477 *-*-mingw* ) # actually msys
5478 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5481 lt_cv_to_host_file_cmd=func_convert_file_noop
5483 * ) # otherwise, assume *nix
5484 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5488 * ) # unhandled hosts (and "normal" native builds)
5489 lt_cv_to_host_file_cmd=func_convert_file_noop
5495 to_host_file_cmd=$lt_cv_to_host_file_cmd
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5497 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5504 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5505 if ${lt_cv_to_tool_file_cmd+:} false; then :
5506 $as_echo_n "(cached) " >&6
5508 #assume ordinary cross tools, or native build.
5509 lt_cv_to_tool_file_cmd=func_convert_file_noop
5513 *-*-mingw* ) # actually msys
5514 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5522 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5524 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5531 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5532 if ${lt_cv_ld_reload_flag+:} false; then :
5533 $as_echo_n "(cached) " >&6
5535 lt_cv_ld_reload_flag='-r'
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5538 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5539 reload_flag=$lt_cv_ld_reload_flag
5540 case $reload_flag in
5542 *) reload_flag=" $reload_flag" ;;
5544 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5546 cygwin* | mingw* | pw32* | cegcc*)
5547 if test "$GCC" != yes; then
5552 if test "$GCC" = yes; then
5553 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5555 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5568 if test -n "$ac_tool_prefix"; then
5569 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5570 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 $as_echo_n "checking for $ac_word... " >&6; }
5573 if ${ac_cv_prog_OBJDUMP+:} false; then :
5574 $as_echo_n "(cached) " >&6
5576 if test -n "$OBJDUMP"; then
5577 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 OBJDUMP=$ac_cv_prog_OBJDUMP
5597 if test -n "$OBJDUMP"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5599 $as_echo "$OBJDUMP" >&6; }
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5607 if test -z "$ac_cv_prog_OBJDUMP"; then
5608 ac_ct_OBJDUMP=$OBJDUMP
5609 # Extract the first word of "objdump", so it can be a program name with args.
5610 set dummy objdump; ac_word=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5614 $as_echo_n "(cached) " >&6
5616 if test -n "$ac_ct_OBJDUMP"; then
5617 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623 test -z "$as_dir" && as_dir=.
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5637 if test -n "$ac_ct_OBJDUMP"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5639 $as_echo "$ac_ct_OBJDUMP" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5645 if test "x$ac_ct_OBJDUMP" = x; then
5648 case $cross_compiling:$ac_tool_warned in
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5652 ac_tool_warned=yes ;;
5654 OBJDUMP=$ac_ct_OBJDUMP
5657 OBJDUMP="$ac_cv_prog_OBJDUMP"
5660 test -z "$OBJDUMP" && OBJDUMP=objdump
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5671 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5672 if ${lt_cv_deplibs_check_method+:} false; then :
5673 $as_echo_n "(cached) " >&6
5675 lt_cv_file_magic_cmd='$MAGIC_CMD'
5676 lt_cv_file_magic_test_file=
5677 lt_cv_deplibs_check_method='unknown'
5678 # Need to set the preceding variable on all platforms that support
5679 # interlibrary dependencies.
5680 # 'none' -- dependencies not supported.
5681 # `unknown' -- same as none, but documents that we really don't know.
5682 # 'pass_all' -- all dependencies passed with no checks.
5683 # 'test_compile' -- check by making test program.
5684 # 'file_magic [[regex]]' -- check by looking for files in library path
5685 # which responds to the $file_magic_cmd with a given extended regex.
5686 # If you have `file' or equivalent on your system and you're not sure
5687 # whether `pass_all' will *always* work, you probably want this one.
5691 lt_cv_deplibs_check_method=pass_all
5695 lt_cv_deplibs_check_method=pass_all
5699 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5700 lt_cv_file_magic_cmd='/usr/bin/file -L'
5701 lt_cv_file_magic_test_file=/shlib/libc.so
5705 # func_win32_libid is a shell function defined in ltmain.sh
5706 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5707 lt_cv_file_magic_cmd='func_win32_libid'
5711 # Base MSYS/MinGW do not provide the 'file' command needed by
5712 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5713 # unless we find 'file', for example because we are cross-compiling.
5714 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5715 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5716 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5717 lt_cv_file_magic_cmd='func_win32_libid'
5719 # Keep this pattern in sync with the one in func_win32_libid.
5720 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5721 lt_cv_file_magic_cmd='$OBJDUMP -f'
5726 # use the weaker test based on 'objdump'. See mingw*.
5727 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5728 lt_cv_file_magic_cmd='$OBJDUMP -f'
5731 darwin* | rhapsody*)
5732 lt_cv_deplibs_check_method=pass_all
5735 freebsd* | dragonfly*)
5736 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5739 # Not sure whether the presence of OpenBSD here was a mistake.
5740 # Let's accept both of them until this is cleared up.
5741 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5742 lt_cv_file_magic_cmd=/usr/bin/file
5743 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5747 lt_cv_deplibs_check_method=pass_all
5752 lt_cv_deplibs_check_method=pass_all
5755 hpux10.20* | hpux11*)
5756 lt_cv_file_magic_cmd=/usr/bin/file
5759 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5760 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5763 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]'
5764 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5767 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5768 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5774 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5778 irix5* | irix6* | nonstopux*)
5780 *-32|*"-32 ") libmagic=32-bit;;
5781 *-n32|*"-n32 ") libmagic=N32;;
5782 *-64|*"-64 ") libmagic=64-bit;;
5783 *) libmagic=never-match;;
5785 lt_cv_deplibs_check_method=pass_all
5788 # This must be glibc/ELF.
5789 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5790 lt_cv_deplibs_check_method=pass_all
5793 netbsd* | netbsdelf*-gnu)
5794 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5795 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5797 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5802 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5803 lt_cv_file_magic_cmd=/usr/bin/file
5804 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5808 lt_cv_deplibs_check_method=pass_all
5812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5813 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5815 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5819 osf3* | osf4* | osf5*)
5820 lt_cv_deplibs_check_method=pass_all
5824 lt_cv_deplibs_check_method=pass_all
5828 lt_cv_deplibs_check_method=pass_all
5831 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5832 lt_cv_deplibs_check_method=pass_all
5836 case $host_vendor in
5838 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]'
5839 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5842 lt_cv_deplibs_check_method=pass_all
5845 lt_cv_file_magic_cmd='/bin/file'
5846 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5849 lt_cv_file_magic_cmd='/bin/file'
5850 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5851 lt_cv_file_magic_test_file=/lib/libc.so
5854 lt_cv_deplibs_check_method=pass_all
5857 lt_cv_deplibs_check_method=pass_all
5863 lt_cv_deplibs_check_method=pass_all
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5869 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5873 if test "$build" = "$host"; then
5876 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5879 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5885 file_magic_cmd=$lt_cv_file_magic_cmd
5886 deplibs_check_method=$lt_cv_deplibs_check_method
5887 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5910 if test -n "$ac_tool_prefix"; then
5911 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5912 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 $as_echo_n "checking for $ac_word... " >&6; }
5915 if ${ac_cv_prog_DLLTOOL+:} false; then :
5916 $as_echo_n "(cached) " >&6
5918 if test -n "$DLLTOOL"; then
5919 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 test -z "$as_dir" && as_dir=.
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 DLLTOOL=$ac_cv_prog_DLLTOOL
5939 if test -n "$DLLTOOL"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5941 $as_echo "$DLLTOOL" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 $as_echo "no" >&6; }
5949 if test -z "$ac_cv_prog_DLLTOOL"; then
5950 ac_ct_DLLTOOL=$DLLTOOL
5951 # Extract the first word of "dlltool", so it can be a program name with args.
5952 set dummy dlltool; ac_word=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5956 $as_echo_n "(cached) " >&6
5958 if test -n "$ac_ct_DLLTOOL"; then
5959 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5979 if test -n "$ac_ct_DLLTOOL"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5981 $as_echo "$ac_ct_DLLTOOL" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5987 if test "x$ac_ct_DLLTOOL" = x; then
5990 case $cross_compiling:$ac_tool_warned in
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5994 ac_tool_warned=yes ;;
5996 DLLTOOL=$ac_ct_DLLTOOL
5999 DLLTOOL="$ac_cv_prog_DLLTOOL"
6002 test -z "$DLLTOOL" && DLLTOOL=dlltool
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6014 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6015 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6016 $as_echo_n "(cached) " >&6
6018 lt_cv_sharedlib_from_linklib_cmd='unknown'
6021 cygwin* | mingw* | pw32* | cegcc*)
6022 # two different shell functions defined in ltmain.sh
6023 # decide which to use based on capabilities of $DLLTOOL
6024 case `$DLLTOOL --help 2>&1` in
6025 *--identify-strict*)
6026 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6029 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6034 # fallback: assume linklib IS sharedlib
6035 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6041 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6042 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6043 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6051 if test -n "$ac_tool_prefix"; then
6054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_AR+:} false; then :
6059 $as_echo_n "(cached) " >&6
6061 if test -n "$AR"; then
6062 ac_cv_prog_AR="$AR" # Let the user override the test.
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 if test -n "$AR"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6084 $as_echo "$AR" >&6; }
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6091 test -n "$AR" && break
6094 if test -z "$AR"; then
6098 # Extract the first word of "$ac_prog", so it can be a program name with args.
6099 set dummy $ac_prog; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6103 $as_echo_n "(cached) " >&6
6105 if test -n "$ac_ct_AR"; then
6106 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_AR="$ac_prog"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6126 if test -n "$ac_ct_AR"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6128 $as_echo "$ac_ct_AR" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6135 test -n "$ac_ct_AR" && break
6138 if test "x$ac_ct_AR" = x; then
6141 case $cross_compiling:$ac_tool_warned in
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6145 ac_tool_warned=yes ;;
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6165 $as_echo_n "checking for archiver @FILE support... " >&6; }
6166 if ${lt_cv_ar_at_file+:} false; then :
6167 $as_echo_n "(cached) " >&6
6170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6181 if ac_fn_c_try_compile "$LINENO"; then :
6182 echo conftest.$ac_objext > conftest.lst
6183 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6184 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6185 (eval $lt_ar_try) 2>&5
6187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6188 test $ac_status = 0; }
6189 if test "$ac_status" -eq 0; then
6190 # Ensure the archiver fails upon bogus file names.
6191 rm -f conftest.$ac_objext libconftest.a
6192 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6193 (eval $lt_ar_try) 2>&5
6195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6196 test $ac_status = 0; }
6197 if test "$ac_status" -ne 0; then
6201 rm -f conftest.* libconftest.a
6204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6208 $as_echo "$lt_cv_ar_at_file" >&6; }
6210 if test "x$lt_cv_ar_at_file" = xno; then
6213 archiver_list_spec=$lt_cv_ar_at_file
6222 if test -n "$ac_tool_prefix"; then
6223 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6224 set dummy ${ac_tool_prefix}strip; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if ${ac_cv_prog_STRIP+:} false; then :
6228 $as_echo_n "(cached) " >&6
6230 if test -n "$STRIP"; then
6231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6240 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 STRIP=$ac_cv_prog_STRIP
6251 if test -n "$STRIP"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6253 $as_echo "$STRIP" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6261 if test -z "$ac_cv_prog_STRIP"; then
6263 # Extract the first word of "strip", so it can be a program name with args.
6264 set dummy strip; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6268 $as_echo_n "(cached) " >&6
6270 if test -n "$ac_ct_STRIP"; then
6271 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_ac_ct_STRIP="strip"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6291 if test -n "$ac_ct_STRIP"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6293 $as_echo "$ac_ct_STRIP" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6299 if test "x$ac_ct_STRIP" = x; then
6302 case $cross_compiling:$ac_tool_warned in
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6306 ac_tool_warned=yes ;;
6311 STRIP="$ac_cv_prog_STRIP"
6314 test -z "$STRIP" && STRIP=:
6321 if test -n "$ac_tool_prefix"; then
6322 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6323 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325 $as_echo_n "checking for $ac_word... " >&6; }
6326 if ${ac_cv_prog_RANLIB+:} false; then :
6327 $as_echo_n "(cached) " >&6
6329 if test -n "$RANLIB"; then
6330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6339 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 RANLIB=$ac_cv_prog_RANLIB
6350 if test -n "$RANLIB"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6352 $as_echo "$RANLIB" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6360 if test -z "$ac_cv_prog_RANLIB"; then
6361 ac_ct_RANLIB=$RANLIB
6362 # Extract the first word of "ranlib", so it can be a program name with args.
6363 set dummy ranlib; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6367 $as_echo_n "(cached) " >&6
6369 if test -n "$ac_ct_RANLIB"; then
6370 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6379 ac_cv_prog_ac_ct_RANLIB="ranlib"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6390 if test -n "$ac_ct_RANLIB"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6392 $as_echo "$ac_ct_RANLIB" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6398 if test "x$ac_ct_RANLIB" = x; then
6401 case $cross_compiling:$ac_tool_warned in
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6405 ac_tool_warned=yes ;;
6407 RANLIB=$ac_ct_RANLIB
6410 RANLIB="$ac_cv_prog_RANLIB"
6413 test -z "$RANLIB" && RANLIB=:
6420 # Determine commands to create old-style static archives.
6421 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6422 old_postinstall_cmds='chmod 644 $oldlib'
6423 old_postuninstall_cmds=
6425 if test -n "$RANLIB"; then
6428 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6431 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6434 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6439 lock_old_archive_extraction=yes ;;
6441 lock_old_archive_extraction=no ;;
6482 # If no C compiler was specified, use CC.
6485 # If no C compiler flags were specified, use CFLAGS.
6486 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6488 # Allow CC to be a program name with arguments.
6492 # Check for command to grab the raw symbol name followed by C symbol from nm.
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6494 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6495 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6496 $as_echo_n "(cached) " >&6
6499 # These are sane defaults that work on at least a few old systems.
6500 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6502 # Character class describing NM global symbol codes.
6503 symcode='[BCDEGRST]'
6505 # Regexp to match symbols that can be accessed directly from C.
6506 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6508 # Define system-specific variables.
6513 cygwin* | mingw* | pw32* | cegcc*)
6514 symcode='[ABCDGISTW]'
6517 if test "$host_cpu" = ia64; then
6518 symcode='[ABCDEGRST]'
6522 symcode='[BCDEGRST]'
6525 symcode='[BCDEGQRST]'
6536 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6544 # If we're using GNU nm, then use its standard symbol codes.
6545 case `$NM -V 2>&1` in
6546 *GNU* | *'with BFD'*)
6547 symcode='[ABCDGIRSTW]' ;;
6550 # Transform an extracted symbol line into a proper C declaration.
6551 # Some systems (esp. on ia64) link data and code symbols differently,
6552 # so use this general approach.
6553 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6555 # Transform an extracted symbol line into symbol name and symbol address
6556 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6557 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'"
6559 # Handle CRLF in mingw tool chain
6563 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6567 # Try without a prefix underscore, then with it.
6568 for ac_symprfx in "" "_"; do
6570 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6571 symxfrm="\\1 $ac_symprfx\\2 \\2"
6573 # Write the raw and C identifiers.
6574 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6575 # Fake it for dumpbin and say T for any non-static function
6576 # and D for any global variable.
6577 # Also find C++ and __fastcall symbols from MSVC++,
6578 # which start with @ or ?.
6579 lt_cv_sys_global_symbol_pipe="$AWK '"\
6580 " {last_section=section; section=\$ 3};"\
6581 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6582 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6583 " \$ 0!~/External *\|/{next};"\
6584 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6585 " {if(hide[section]) next};"\
6586 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6587 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6588 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6589 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6590 " ' prfx=^$ac_symprfx"
6592 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6594 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6596 # Check to see that the pipe works correctly.
6600 cat > conftest.$ac_ext <<_LT_EOF
6605 void nm_test_func(void);
6606 void nm_test_func(void){}
6610 int main(){nm_test_var='a';nm_test_func();return(0);}
6613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6614 (eval $ac_compile) 2>&5
6616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6617 test $ac_status = 0; }; then
6618 # Now try to grab the symbols.
6620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6621 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6624 test $ac_status = 0; } && test -s "$nlist"; then
6625 # Try sorting and uniquifying the output.
6626 if sort "$nlist" | uniq > "$nlist"T; then
6627 mv -f "$nlist"T "$nlist"
6632 # Make sure that we snagged all the symbols we need.
6633 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6634 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6635 cat <<_LT_EOF > conftest.$ac_ext
6636 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6637 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6638 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6639 relocations are performed -- see ld's documentation on pseudo-relocs. */
6640 # define LT_DLSYM_CONST
6641 #elif defined(__osf__)
6642 /* This system does not cope well with relocations in const data. */
6643 # define LT_DLSYM_CONST
6645 # define LT_DLSYM_CONST const
6653 # Now generate the symbol file.
6654 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6656 cat <<_LT_EOF >> conftest.$ac_ext
6658 /* The mapping between symbol names and symbols. */
6659 LT_DLSYM_CONST struct {
6663 lt__PROGRAM__LTX_preloaded_symbols[] =
6665 { "@PROGRAM@", (void *) 0 },
6667 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6668 cat <<\_LT_EOF >> conftest.$ac_ext
6672 /* This works around a problem in FreeBSD linker */
6673 #ifdef FREEBSD_WORKAROUND
6674 static const void *lt_preloaded_setup() {
6675 return lt__PROGRAM__LTX_preloaded_symbols;
6683 # Now try linking the two files.
6684 mv conftest.$ac_objext conftstm.$ac_objext
6685 lt_globsym_save_LIBS=$LIBS
6686 lt_globsym_save_CFLAGS=$CFLAGS
6687 LIBS="conftstm.$ac_objext"
6688 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6690 (eval $ac_link) 2>&5
6692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6693 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6696 LIBS=$lt_globsym_save_LIBS
6697 CFLAGS=$lt_globsym_save_CFLAGS
6699 echo "cannot find nm_test_func in $nlist" >&5
6702 echo "cannot find nm_test_var in $nlist" >&5
6705 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6708 echo "$progname: failed program was:" >&5
6709 cat conftest.$ac_ext >&5
6711 rm -rf conftest* conftst*
6713 # Do not use the global_symbol_pipe unless it works.
6714 if test "$pipe_works" = yes; then
6717 lt_cv_sys_global_symbol_pipe=
6723 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6724 lt_cv_sys_global_symbol_to_cdecl=
6726 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6728 $as_echo "failed" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6731 $as_echo "ok" >&6; }
6734 # Response file support.
6735 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6736 nm_file_list_spec='@'
6737 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6738 nm_file_list_spec='@'
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6768 $as_echo_n "checking for sysroot... " >&6; }
6770 # Check whether --with-sysroot was given.
6771 if test "${with_sysroot+set}" = set; then :
6772 withval=$with_sysroot;
6779 case ${with_sysroot} in #(
6781 if test "$GCC" = yes; then
6782 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6786 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6792 $as_echo "${with_sysroot}" >&6; }
6793 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6798 $as_echo "${lt_sysroot:-no}" >&6; }
6804 # Check whether --enable-libtool-lock was given.
6805 if test "${enable_libtool_lock+set}" = set; then :
6806 enableval=$enable_libtool_lock;
6809 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6811 # Some flags need to be propagated to the compiler or linker for good
6815 # Find out which ABI we are using.
6816 echo 'int i;' > conftest.$ac_ext
6817 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6818 (eval $ac_compile) 2>&5
6820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6821 test $ac_status = 0; }; then
6822 case `/usr/bin/file conftest.$ac_objext` in
6834 # Find out which ABI we are using.
6835 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6837 (eval $ac_compile) 2>&5
6839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6840 test $ac_status = 0; }; then
6841 if test "$lt_cv_prog_gnu_ld" = yes; then
6842 case `/usr/bin/file conftest.$ac_objext` in
6844 LD="${LD-ld} -melf32bsmip"
6847 LD="${LD-ld} -melf32bmipn32"
6850 LD="${LD-ld} -melf64bmip"
6854 case `/usr/bin/file conftest.$ac_objext` in
6870 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6871 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6872 # Find out which ABI we are using.
6873 echo 'int i;' > conftest.$ac_ext
6874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6875 (eval $ac_compile) 2>&5
6877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6878 test $ac_status = 0; }; then
6879 case `/usr/bin/file conftest.o` in
6882 x86_64-*kfreebsd*-gnu)
6883 LD="${LD-ld} -m elf_i386_fbsd"
6886 LD="${LD-ld} -m elf_i386"
6888 ppc64-*linux*|powerpc64-*linux*)
6889 LD="${LD-ld} -m elf32ppclinux"
6892 LD="${LD-ld} -m elf_s390"
6895 LD="${LD-ld} -m elf32_sparc"
6901 x86_64-*kfreebsd*-gnu)
6902 LD="${LD-ld} -m elf_x86_64_fbsd"
6905 LD="${LD-ld} -m elf_x86_64"
6907 ppc*-*linux*|powerpc*-*linux*)
6908 LD="${LD-ld} -m elf64ppc"
6910 s390*-*linux*|s390*-*tpf*)
6911 LD="${LD-ld} -m elf64_s390"
6914 LD="${LD-ld} -m elf64_sparc"
6924 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6925 SAVE_CFLAGS="$CFLAGS"
6926 CFLAGS="$CFLAGS -belf"
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6928 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6929 if ${lt_cv_cc_needs_belf+:} false; then :
6930 $as_echo_n "(cached) " >&6
6933 ac_cpp='$CPP $CPPFLAGS'
6934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6949 if ac_fn_c_try_link "$LINENO"; then :
6950 lt_cv_cc_needs_belf=yes
6952 lt_cv_cc_needs_belf=no
6954 rm -f core conftest.err conftest.$ac_objext \
6955 conftest$ac_exeext conftest.$ac_ext
6957 ac_cpp='$CPP $CPPFLAGS'
6958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6964 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6965 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6966 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6967 CFLAGS="$SAVE_CFLAGS"
6971 # Find out which ABI we are using.
6972 echo 'int i;' > conftest.$ac_ext
6973 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6974 (eval $ac_compile) 2>&5
6976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6977 test $ac_status = 0; }; then
6978 case `/usr/bin/file conftest.o` in
6980 case $lt_cv_prog_gnu_ld in
6984 LD="${LD-ld} -m elf_x86_64"
6987 LD="${LD-ld} -m elf64_sparc"
6990 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6991 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6996 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7008 need_locks="$enable_libtool_lock"
7010 if test -n "$ac_tool_prefix"; then
7011 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7012 set dummy ${ac_tool_prefix}mt; ac_word=$2
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 $as_echo_n "checking for $ac_word... " >&6; }
7015 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7016 $as_echo_n "(cached) " >&6
7018 if test -n "$MANIFEST_TOOL"; then
7019 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 test -z "$as_dir" && as_dir=.
7026 for ac_exec_ext in '' $ac_executable_extensions; do
7027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7028 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7039 if test -n "$MANIFEST_TOOL"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7041 $as_echo "$MANIFEST_TOOL" >&6; }
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7049 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7050 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7051 # Extract the first word of "mt", so it can be a program name with args.
7052 set dummy mt; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$ac_ct_MANIFEST_TOOL"; then
7059 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir=.
7066 for ac_exec_ext in '' $ac_executable_extensions; do
7067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7079 if test -n "$ac_ct_MANIFEST_TOOL"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7081 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7087 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7090 case $cross_compiling:$ac_tool_warned in
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7094 ac_tool_warned=yes ;;
7096 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7099 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7102 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7104 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7105 if ${lt_cv_path_mainfest_tool+:} false; then :
7106 $as_echo_n "(cached) " >&6
7108 lt_cv_path_mainfest_tool=no
7109 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7110 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7111 cat conftest.err >&5
7112 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7113 lt_cv_path_mainfest_tool=yes
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7118 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7119 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7129 rhapsody* | darwin*)
7130 if test -n "$ac_tool_prefix"; then
7131 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7132 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7136 $as_echo_n "(cached) " >&6
7138 if test -n "$DSYMUTIL"; then
7139 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir=.
7146 for ac_exec_ext in '' $ac_executable_extensions; do
7147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7159 if test -n "$DSYMUTIL"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7161 $as_echo "$DSYMUTIL" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7169 if test -z "$ac_cv_prog_DSYMUTIL"; then
7170 ac_ct_DSYMUTIL=$DSYMUTIL
7171 # Extract the first word of "dsymutil", so it can be a program name with args.
7172 set dummy dsymutil; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7176 $as_echo_n "(cached) " >&6
7178 if test -n "$ac_ct_DSYMUTIL"; then
7179 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7199 if test -n "$ac_ct_DSYMUTIL"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7201 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7207 if test "x$ac_ct_DSYMUTIL" = x; then
7210 case $cross_compiling:$ac_tool_warned in
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7214 ac_tool_warned=yes ;;
7216 DSYMUTIL=$ac_ct_DSYMUTIL
7219 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7222 if test -n "$ac_tool_prefix"; then
7223 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7224 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_NMEDIT+:} false; then :
7228 $as_echo_n "(cached) " >&6
7230 if test -n "$NMEDIT"; then
7231 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 NMEDIT=$ac_cv_prog_NMEDIT
7251 if test -n "$NMEDIT"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7253 $as_echo "$NMEDIT" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7261 if test -z "$ac_cv_prog_NMEDIT"; then
7262 ac_ct_NMEDIT=$NMEDIT
7263 # Extract the first word of "nmedit", so it can be a program name with args.
7264 set dummy nmedit; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7268 $as_echo_n "(cached) " >&6
7270 if test -n "$ac_ct_NMEDIT"; then
7271 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7291 if test -n "$ac_ct_NMEDIT"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7293 $as_echo "$ac_ct_NMEDIT" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7299 if test "x$ac_ct_NMEDIT" = x; then
7302 case $cross_compiling:$ac_tool_warned in
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7306 ac_tool_warned=yes ;;
7308 NMEDIT=$ac_ct_NMEDIT
7311 NMEDIT="$ac_cv_prog_NMEDIT"
7314 if test -n "$ac_tool_prefix"; then
7315 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7316 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_LIPO+:} false; then :
7320 $as_echo_n "(cached) " >&6
7322 if test -n "$LIPO"; then
7323 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329 test -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 LIPO=$ac_cv_prog_LIPO
7343 if test -n "$LIPO"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7345 $as_echo "$LIPO" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7353 if test -z "$ac_cv_prog_LIPO"; then
7355 # Extract the first word of "lipo", so it can be a program name with args.
7356 set dummy lipo; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7360 $as_echo_n "(cached) " >&6
7362 if test -n "$ac_ct_LIPO"; then
7363 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_ac_ct_LIPO="lipo"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7383 if test -n "$ac_ct_LIPO"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7385 $as_echo "$ac_ct_LIPO" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7391 if test "x$ac_ct_LIPO" = x; then
7394 case $cross_compiling:$ac_tool_warned in
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7398 ac_tool_warned=yes ;;
7403 LIPO="$ac_cv_prog_LIPO"
7406 if test -n "$ac_tool_prefix"; then
7407 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7408 set dummy ${ac_tool_prefix}otool; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_OTOOL+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 if test -n "$OTOOL"; then
7415 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 OTOOL=$ac_cv_prog_OTOOL
7435 if test -n "$OTOOL"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7437 $as_echo "$OTOOL" >&6; }
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7445 if test -z "$ac_cv_prog_OTOOL"; then
7447 # Extract the first word of "otool", so it can be a program name with args.
7448 set dummy otool; ac_word=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7452 $as_echo_n "(cached) " >&6
7454 if test -n "$ac_ct_OTOOL"; then
7455 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7464 ac_cv_prog_ac_ct_OTOOL="otool"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7475 if test -n "$ac_ct_OTOOL"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7477 $as_echo "$ac_ct_OTOOL" >&6; }
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7483 if test "x$ac_ct_OTOOL" = x; then
7486 case $cross_compiling:$ac_tool_warned in
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7490 ac_tool_warned=yes ;;
7495 OTOOL="$ac_cv_prog_OTOOL"
7498 if test -n "$ac_tool_prefix"; then
7499 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7500 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502 $as_echo_n "checking for $ac_word... " >&6; }
7503 if ${ac_cv_prog_OTOOL64+:} false; then :
7504 $as_echo_n "(cached) " >&6
7506 if test -n "$OTOOL64"; then
7507 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7513 test -z "$as_dir" && as_dir=.
7514 for ac_exec_ext in '' $ac_executable_extensions; do
7515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7516 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 OTOOL64=$ac_cv_prog_OTOOL64
7527 if test -n "$OTOOL64"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7529 $as_echo "$OTOOL64" >&6; }
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7537 if test -z "$ac_cv_prog_OTOOL64"; then
7538 ac_ct_OTOOL64=$OTOOL64
7539 # Extract the first word of "otool64", so it can be a program name with args.
7540 set dummy otool64; ac_word=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7542 $as_echo_n "checking for $ac_word... " >&6; }
7543 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7544 $as_echo_n "(cached) " >&6
7546 if test -n "$ac_ct_OTOOL64"; then
7547 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 test -z "$as_dir" && as_dir=.
7554 for ac_exec_ext in '' $ac_executable_extensions; do
7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7556 ac_cv_prog_ac_ct_OTOOL64="otool64"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7567 if test -n "$ac_ct_OTOOL64"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7569 $as_echo "$ac_ct_OTOOL64" >&6; }
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7572 $as_echo "no" >&6; }
7575 if test "x$ac_ct_OTOOL64" = x; then
7578 case $cross_compiling:$ac_tool_warned in
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7582 ac_tool_warned=yes ;;
7584 OTOOL64=$ac_ct_OTOOL64
7587 OTOOL64="$ac_cv_prog_OTOOL64"
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7617 $as_echo_n "checking for -single_module linker flag... " >&6; }
7618 if ${lt_cv_apple_cc_single_mod+:} false; then :
7619 $as_echo_n "(cached) " >&6
7621 lt_cv_apple_cc_single_mod=no
7622 if test -z "${LT_MULTI_MODULE}"; then
7623 # By default we will add the -single_module flag. You can override
7624 # by either setting the environment variable LT_MULTI_MODULE
7625 # non-empty at configure time, or by adding -multi_module to the
7627 rm -rf libconftest.dylib*
7628 echo "int foo(void){return 1;}" > conftest.c
7629 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7630 -dynamiclib -Wl,-single_module conftest.c" >&5
7631 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7632 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7634 # If there is a non-empty error log, and "single_module"
7635 # appears in it, assume the flag caused a linker warning
7636 if test -s conftest.err && $GREP single_module conftest.err; then
7637 cat conftest.err >&5
7638 # Otherwise, if the output was created with a 0 exit code from
7639 # the compiler, it worked.
7640 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7641 lt_cv_apple_cc_single_mod=yes
7643 cat conftest.err >&5
7645 rm -rf libconftest.dylib*
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7650 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7653 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7654 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7655 $as_echo_n "(cached) " >&6
7657 lt_cv_ld_exported_symbols_list=no
7658 save_LDFLAGS=$LDFLAGS
7659 echo "_main" > conftest.sym
7660 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h. */
7672 if ac_fn_c_try_link "$LINENO"; then :
7673 lt_cv_ld_exported_symbols_list=yes
7675 lt_cv_ld_exported_symbols_list=no
7677 rm -f core conftest.err conftest.$ac_objext \
7678 conftest$ac_exeext conftest.$ac_ext
7679 LDFLAGS="$save_LDFLAGS"
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7683 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7686 $as_echo_n "checking for -force_load linker flag... " >&6; }
7687 if ${lt_cv_ld_force_load+:} false; then :
7688 $as_echo_n "(cached) " >&6
7690 lt_cv_ld_force_load=no
7691 cat > conftest.c << _LT_EOF
7692 int forced_loaded() { return 2;}
7694 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7695 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7696 echo "$AR cru libconftest.a conftest.o" >&5
7697 $AR cru libconftest.a conftest.o 2>&5
7698 echo "$RANLIB libconftest.a" >&5
7699 $RANLIB libconftest.a 2>&5
7700 cat > conftest.c << _LT_EOF
7701 int main() { return 0;}
7703 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7704 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7706 if test -s conftest.err && $GREP force_load conftest.err; then
7707 cat conftest.err >&5
7708 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7709 lt_cv_ld_force_load=yes
7711 cat conftest.err >&5
7713 rm -f conftest.err libconftest.a conftest conftest.c
7714 rm -rf conftest.dSYM
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7718 $as_echo "$lt_cv_ld_force_load" >&6; }
7720 rhapsody* | darwin1.[012])
7721 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7723 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7724 darwin*) # darwin 5.x on
7725 # if running on 10.5 or later, the deployment target defaults
7726 # to the OS version, if on x86, and 10.4, the deployment
7727 # target defaults to 10.4. Don't you love it?
7728 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7729 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7730 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7732 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7734 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7738 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7739 _lt_dar_single_mod='$single_module'
7741 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7742 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7744 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7746 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7747 _lt_dsymutil='~$DSYMUTIL $lib || :'
7754 for ac_header in dlfcn.h
7756 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7758 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7759 cat >>confdefs.h <<_ACEOF
7760 #define HAVE_DLFCN_H 1
7781 # Check whether --enable-shared was given.
7782 if test "${enable_shared+set}" = set; then :
7783 enableval=$enable_shared; p=${PACKAGE-default}
7785 yes) enable_shared=yes ;;
7786 no) enable_shared=no ;;
7789 # Look at the argument we got. We use all the common list separators.
7790 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7791 for pkg in $enableval; do
7793 if test "X$pkg" = "X$p"; then
7814 # Check whether --with-pic was given.
7815 if test "${with_pic+set}" = set; then :
7816 withval=$with_pic; lt_p=${PACKAGE-default}
7818 yes|no) pic_mode=$withval ;;
7821 # Look at the argument we got. We use all the common list separators.
7822 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7823 for lt_pkg in $withval; do
7825 if test "X$lt_pkg" = "X$lt_p"; then
7837 test -z "$pic_mode" && pic_mode=default
7845 # Check whether --enable-fast-install was given.
7846 if test "${enable_fast_install+set}" = set; then :
7847 enableval=$enable_fast_install; p=${PACKAGE-default}
7849 yes) enable_fast_install=yes ;;
7850 no) enable_fast_install=no ;;
7852 enable_fast_install=no
7853 # Look at the argument we got. We use all the common list separators.
7854 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7855 for pkg in $enableval; do
7857 if test "X$pkg" = "X$p"; then
7858 enable_fast_install=yes
7865 enable_fast_install=yes
7878 # This can be used to rebuild libtool when needed
7879 LIBTOOL_DEPS="$ltmain"
7881 # Always use our own libtool.
7882 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7913 test -z "$LN_S" && LN_S="ln -s"
7928 if test -n "${ZSH_VERSION+set}" ; then
7929 setopt NO_GLOB_SUBST
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7933 $as_echo_n "checking for objdir... " >&6; }
7934 if ${lt_cv_objdir+:} false; then :
7935 $as_echo_n "(cached) " >&6
7937 rm -f .libs 2>/dev/null
7938 mkdir .libs 2>/dev/null
7939 if test -d .libs; then
7942 # MS-DOS does not allow filenames that begin with a dot.
7945 rmdir .libs 2>/dev/null
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7948 $as_echo "$lt_cv_objdir" >&6; }
7949 objdir=$lt_cv_objdir
7955 cat >>confdefs.h <<_ACEOF
7956 #define LT_OBJDIR "$lt_cv_objdir/"
7964 # AIX sometimes has problems with the GCC collect2 program. For some
7965 # reason, if we set the COLLECT_NAMES environment variable, the problems
7966 # vanish in a puff of smoke.
7967 if test "X${COLLECT_NAMES+set}" != Xset; then
7969 export COLLECT_NAMES
7976 can_build_shared=yes
7978 # All known linkers require a `.a' archive for static linking (except MSVC,
7979 # which needs '.lib').
7982 with_gnu_ld="$lt_cv_prog_gnu_ld"
7985 old_CFLAGS="$CFLAGS"
7987 # Set sane defaults for various variables
7988 test -z "$CC" && CC=cc
7989 test -z "$LTCC" && LTCC=$CC
7990 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7991 test -z "$LD" && LD=ld
7992 test -z "$ac_objext" && ac_objext=o
7994 for cc_temp in $compiler""; do
7996 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7997 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8002 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8005 # Only perform the check for file, if the check method requires it
8006 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8007 case $deplibs_check_method in
8009 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8011 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8012 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8013 $as_echo_n "(cached) " >&6
8017 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8020 lt_save_MAGIC_CMD="$MAGIC_CMD"
8021 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8022 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8023 for ac_dir in $ac_dummy; do
8025 test -z "$ac_dir" && ac_dir=.
8026 if test -f $ac_dir/${ac_tool_prefix}file; then
8027 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8028 if test -n "$file_magic_test_file"; then
8029 case $deplibs_check_method in
8031 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8033 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8034 $EGREP "$file_magic_regex" > /dev/null; then
8039 *** Warning: the command libtool uses to detect shared libraries,
8040 *** $file_magic_cmd, produces output that libtool cannot recognize.
8041 *** The result is that libtool may fail to recognize shared libraries
8042 *** as such. This will affect the creation of libtool libraries that
8043 *** depend on shared libraries, but programs linked with such libtool
8044 *** libraries will work regardless of this problem. Nevertheless, you
8045 *** may want to report the problem to your system manager and/or to
8046 *** bug-libtool@gnu.org
8056 MAGIC_CMD="$lt_save_MAGIC_CMD"
8061 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8062 if test -n "$MAGIC_CMD"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8064 $as_echo "$MAGIC_CMD" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8074 if test -z "$lt_cv_path_MAGIC_CMD"; then
8075 if test -n "$ac_tool_prefix"; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8077 $as_echo_n "checking for file... " >&6; }
8078 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8079 $as_echo_n "(cached) " >&6
8083 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8086 lt_save_MAGIC_CMD="$MAGIC_CMD"
8087 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8088 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8089 for ac_dir in $ac_dummy; do
8091 test -z "$ac_dir" && ac_dir=.
8092 if test -f $ac_dir/file; then
8093 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8094 if test -n "$file_magic_test_file"; then
8095 case $deplibs_check_method in
8097 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8098 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8099 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8100 $EGREP "$file_magic_regex" > /dev/null; then
8105 *** Warning: the command libtool uses to detect shared libraries,
8106 *** $file_magic_cmd, produces output that libtool cannot recognize.
8107 *** The result is that libtool may fail to recognize shared libraries
8108 *** as such. This will affect the creation of libtool libraries that
8109 *** depend on shared libraries, but programs linked with such libtool
8110 *** libraries will work regardless of this problem. Nevertheless, you
8111 *** may want to report the problem to your system manager and/or to
8112 *** bug-libtool@gnu.org
8122 MAGIC_CMD="$lt_save_MAGIC_CMD"
8127 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8128 if test -n "$MAGIC_CMD"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8130 $as_echo "$MAGIC_CMD" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8146 # Use C for the default configuration in the libtool script
8150 ac_cpp='$CPP $CPPFLAGS'
8151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8156 # Source file extension for C test sources.
8159 # Object file extension for compiled C test sources.
8163 # Code to be used in simple compile tests
8164 lt_simple_compile_test_code="int some_variable = 0;"
8166 # Code to be used in simple link tests
8167 lt_simple_link_test_code='int main(){return(0);}'
8175 # If no C compiler was specified, use CC.
8178 # If no C compiler flags were specified, use CFLAGS.
8179 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8181 # Allow CC to be a program name with arguments.
8184 # Save the default compiler, since it gets overwritten when the other
8185 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8186 compiler_DEFAULT=$CC
8188 # save warnings/boilerplate of simple test code
8189 ac_outfile=conftest.$ac_objext
8190 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8191 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8192 _lt_compiler_boilerplate=`cat conftest.err`
8195 ac_outfile=conftest.$ac_objext
8196 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8197 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8198 _lt_linker_boilerplate=`cat conftest.err`
8202 if test -n "$compiler"; then
8204 lt_prog_compiler_no_builtin_flag=
8206 if test "$GCC" = yes; then
8207 case $cc_basename in
8209 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8211 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8215 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8216 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8217 $as_echo_n "(cached) " >&6
8219 lt_cv_prog_compiler_rtti_exceptions=no
8220 ac_outfile=conftest.$ac_objext
8221 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8222 lt_compiler_flag="-fno-rtti -fno-exceptions"
8223 # Insert the option either (1) after the last *FLAGS variable, or
8224 # (2) before a word containing "conftest.", or (3) at the end.
8225 # Note that $ac_compile itself does not contain backslashes and begins
8226 # with a dollar sign (not a hyphen), so the echo should work correctly.
8227 # The option is referenced via a variable to avoid confusing sed.
8228 lt_compile=`echo "$ac_compile" | $SED \
8229 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8230 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8231 -e 's:$: $lt_compiler_flag:'`
8232 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8233 (eval "$lt_compile" 2>conftest.err)
8235 cat conftest.err >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 if (exit $ac_status) && test -s "$ac_outfile"; then
8238 # The compiler can only warn and ignore the option if not recognized
8239 # So say no if there are warnings other than the usual output.
8240 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8241 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8242 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8243 lt_cv_prog_compiler_rtti_exceptions=yes
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8250 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8252 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8253 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8265 lt_prog_compiler_wl=
8266 lt_prog_compiler_pic=
8267 lt_prog_compiler_static=
8270 if test "$GCC" = yes; then
8271 lt_prog_compiler_wl='-Wl,'
8272 lt_prog_compiler_static='-static'
8276 # All AIX code is PIC.
8277 if test "$host_cpu" = ia64; then
8278 # AIX 5 now supports IA64 processor
8279 lt_prog_compiler_static='-Bstatic'
8286 # see comment about AmigaOS4 .so support
8287 lt_prog_compiler_pic='-fPIC'
8290 # FIXME: we need at least 68020 code to build shared libraries, but
8291 # adding the `-m68020' flag to GCC prevents building anything better,
8293 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8298 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8299 # PIC is the default for these OSes.
8302 mingw* | cygwin* | pw32* | os2* | cegcc*)
8303 # This hack is so that the source file can tell whether it is being
8304 # built for inclusion in a dll (and should export symbols for example).
8305 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8306 # (--disable-auto-import) libraries
8307 lt_prog_compiler_pic='-DDLL_EXPORT'
8310 darwin* | rhapsody*)
8311 # PIC is the default on this platform
8312 # Common symbols not allowed in MH_DYLIB files
8313 lt_prog_compiler_pic='-fno-common'
8317 # PIC is the default for Haiku.
8318 # The "-static" flag exists, but is broken.
8319 lt_prog_compiler_static=
8323 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8324 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8325 # sets the default TLS model and affects inlining.
8331 lt_prog_compiler_pic='-fPIC'
8337 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8338 # Instead, we relocate shared libraries at runtime.
8342 # Just because we use GCC doesn't mean we suddenly get shared libraries
8343 # on systems that don't support them.
8344 lt_prog_compiler_can_build_shared=no
8349 # QNX uses GNU C++, but need to define -shared option too, otherwise
8351 lt_prog_compiler_pic='-fPIC -shared'
8355 if test -d /usr/nec; then
8356 lt_prog_compiler_pic=-Kconform_pic
8361 lt_prog_compiler_pic='-fPIC'
8365 case $cc_basename in
8366 nvcc*) # Cuda Compiler Driver 2.2
8367 lt_prog_compiler_wl='-Xlinker '
8368 if test -n "$lt_prog_compiler_pic"; then
8369 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8374 # PORTME Check for flag to pass linker flags through the system compiler.
8377 lt_prog_compiler_wl='-Wl,'
8378 if test "$host_cpu" = ia64; then
8379 # AIX 5 now supports IA64 processor
8380 lt_prog_compiler_static='-Bstatic'
8382 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8386 mingw* | cygwin* | pw32* | os2* | cegcc*)
8387 # This hack is so that the source file can tell whether it is being
8388 # built for inclusion in a dll (and should export symbols for example).
8389 lt_prog_compiler_pic='-DDLL_EXPORT'
8392 hpux9* | hpux10* | hpux11*)
8393 lt_prog_compiler_wl='-Wl,'
8394 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8401 lt_prog_compiler_pic='+Z'
8404 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8405 lt_prog_compiler_static='${wl}-a ${wl}archive'
8408 irix5* | irix6* | nonstopux*)
8409 lt_prog_compiler_wl='-Wl,'
8410 # PIC (with -KPIC) is the default.
8411 lt_prog_compiler_static='-non_shared'
8414 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8415 case $cc_basename in
8416 # old Intel for x86_64 which still supported -KPIC.
8418 lt_prog_compiler_wl='-Wl,'
8419 lt_prog_compiler_pic='-KPIC'
8420 lt_prog_compiler_static='-static'
8422 # icc used to be incompatible with GCC.
8423 # ICC 10 doesn't accept -KPIC any more.
8425 lt_prog_compiler_wl='-Wl,'
8426 lt_prog_compiler_pic='-fPIC'
8427 lt_prog_compiler_static='-static'
8429 # Lahey Fortran 8.1.
8431 lt_prog_compiler_wl='-Wl,'
8432 lt_prog_compiler_pic='--shared'
8433 lt_prog_compiler_static='--static'
8436 # NAG Fortran compiler
8437 lt_prog_compiler_wl='-Wl,-Wl,,'
8438 lt_prog_compiler_pic='-PIC'
8439 lt_prog_compiler_static='-Bstatic'
8441 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8442 # Portland Group compilers (*not* the Pentium gcc compiler,
8443 # which looks to be a dead project)
8444 lt_prog_compiler_wl='-Wl,'
8445 lt_prog_compiler_pic='-fpic'
8446 lt_prog_compiler_static='-Bstatic'
8449 lt_prog_compiler_wl='-Wl,'
8450 # All Alpha code is PIC.
8451 lt_prog_compiler_static='-non_shared'
8453 xl* | bgxl* | bgf* | mpixl*)
8454 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_pic='-qpic'
8457 lt_prog_compiler_static='-qstaticlink'
8460 case `$CC -V 2>&1 | sed 5q` in
8461 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8462 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8463 lt_prog_compiler_pic='-KPIC'
8464 lt_prog_compiler_static='-Bstatic'
8465 lt_prog_compiler_wl=''
8467 *Sun\ F* | *Sun*Fortran*)
8468 lt_prog_compiler_pic='-KPIC'
8469 lt_prog_compiler_static='-Bstatic'
8470 lt_prog_compiler_wl='-Qoption ld '
8474 lt_prog_compiler_pic='-KPIC'
8475 lt_prog_compiler_static='-Bstatic'
8476 lt_prog_compiler_wl='-Wl,'
8478 *Intel*\ [CF]*Compiler*)
8479 lt_prog_compiler_wl='-Wl,'
8480 lt_prog_compiler_pic='-fPIC'
8481 lt_prog_compiler_static='-static'
8484 lt_prog_compiler_wl='-Wl,'
8485 lt_prog_compiler_pic='-fpic'
8486 lt_prog_compiler_static='-Bstatic'
8494 lt_prog_compiler_pic='-KPIC'
8495 lt_prog_compiler_static='-Bstatic'
8499 # QNX uses GNU C++, but need to define -shared option too, otherwise
8501 lt_prog_compiler_pic='-fPIC -shared'
8504 osf3* | osf4* | osf5*)
8505 lt_prog_compiler_wl='-Wl,'
8506 # All OSF/1 code is PIC.
8507 lt_prog_compiler_static='-non_shared'
8511 lt_prog_compiler_static='-non_shared'
8515 lt_prog_compiler_pic='-KPIC'
8516 lt_prog_compiler_static='-Bstatic'
8517 case $cc_basename in
8518 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8519 lt_prog_compiler_wl='-Qoption ld ';;
8521 lt_prog_compiler_wl='-Wl,';;
8526 lt_prog_compiler_wl='-Qoption ld '
8527 lt_prog_compiler_pic='-PIC'
8528 lt_prog_compiler_static='-Bstatic'
8531 sysv4 | sysv4.2uw2* | sysv4.3*)
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_pic='-KPIC'
8534 lt_prog_compiler_static='-Bstatic'
8538 if test -d /usr/nec ;then
8539 lt_prog_compiler_pic='-Kconform_pic'
8540 lt_prog_compiler_static='-Bstatic'
8544 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='-KPIC'
8547 lt_prog_compiler_static='-Bstatic'
8551 lt_prog_compiler_wl='-Wl,'
8552 lt_prog_compiler_can_build_shared=no
8556 lt_prog_compiler_pic='-pic'
8557 lt_prog_compiler_static='-Bstatic'
8561 lt_prog_compiler_can_build_shared=no
8567 # For platforms which do not support PIC, -DPIC is meaningless:
8569 lt_prog_compiler_pic=
8572 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8577 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8578 if ${lt_cv_prog_compiler_pic+:} false; then :
8579 $as_echo_n "(cached) " >&6
8581 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8584 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8585 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8588 # Check to make sure the PIC flag actually works.
8590 if test -n "$lt_prog_compiler_pic"; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8592 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8593 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8594 $as_echo_n "(cached) " >&6
8596 lt_cv_prog_compiler_pic_works=no
8597 ac_outfile=conftest.$ac_objext
8598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8599 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8600 # Insert the option either (1) after the last *FLAGS variable, or
8601 # (2) before a word containing "conftest.", or (3) at the end.
8602 # Note that $ac_compile itself does not contain backslashes and begins
8603 # with a dollar sign (not a hyphen), so the echo should work correctly.
8604 # The option is referenced via a variable to avoid confusing sed.
8605 lt_compile=`echo "$ac_compile" | $SED \
8606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8608 -e 's:$: $lt_compiler_flag:'`
8609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8610 (eval "$lt_compile" 2>conftest.err)
8612 cat conftest.err >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 if (exit $ac_status) && test -s "$ac_outfile"; then
8615 # The compiler can only warn and ignore the option if not recognized
8616 # So say no if there are warnings other than the usual output.
8617 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8618 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8619 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8620 lt_cv_prog_compiler_pic_works=yes
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8627 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8629 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8630 case $lt_prog_compiler_pic in
8632 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8635 lt_prog_compiler_pic=
8636 lt_prog_compiler_can_build_shared=no
8652 # Check to make sure the static flag actually works.
8654 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8656 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8657 if ${lt_cv_prog_compiler_static_works+:} false; then :
8658 $as_echo_n "(cached) " >&6
8660 lt_cv_prog_compiler_static_works=no
8661 save_LDFLAGS="$LDFLAGS"
8662 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8663 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8664 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8665 # The linker can only warn and ignore the option if not recognized
8666 # So say no if there are warnings
8667 if test -s conftest.err; then
8668 # Append any errors to the config.log.
8669 cat conftest.err 1>&5
8670 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8671 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8672 if diff conftest.exp conftest.er2 >/dev/null; then
8673 lt_cv_prog_compiler_static_works=yes
8676 lt_cv_prog_compiler_static_works=yes
8680 LDFLAGS="$save_LDFLAGS"
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8684 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8686 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8689 lt_prog_compiler_static=
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8699 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8700 if ${lt_cv_prog_compiler_c_o+:} false; then :
8701 $as_echo_n "(cached) " >&6
8703 lt_cv_prog_compiler_c_o=no
8704 $RM -r conftest 2>/dev/null
8708 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8710 lt_compiler_flag="-o out/conftest2.$ac_objext"
8711 # Insert the option either (1) after the last *FLAGS variable, or
8712 # (2) before a word containing "conftest.", or (3) at the end.
8713 # Note that $ac_compile itself does not contain backslashes and begins
8714 # with a dollar sign (not a hyphen), so the echo should work correctly.
8715 lt_compile=`echo "$ac_compile" | $SED \
8716 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8717 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8718 -e 's:$: $lt_compiler_flag:'`
8719 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8720 (eval "$lt_compile" 2>out/conftest.err)
8722 cat out/conftest.err >&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8726 # The compiler can only warn and ignore the option if not recognized
8727 # So say no if there are warnings
8728 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8729 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8730 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8731 lt_cv_prog_compiler_c_o=yes
8736 # SGI C++ compiler will create directory out/ii_files/ for
8737 # template instantiation
8738 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8739 $RM out/* && rmdir out
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8746 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8754 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8755 if ${lt_cv_prog_compiler_c_o+:} false; then :
8756 $as_echo_n "(cached) " >&6
8758 lt_cv_prog_compiler_c_o=no
8759 $RM -r conftest 2>/dev/null
8763 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8765 lt_compiler_flag="-o out/conftest2.$ac_objext"
8766 # Insert the option either (1) after the last *FLAGS variable, or
8767 # (2) before a word containing "conftest.", or (3) at the end.
8768 # Note that $ac_compile itself does not contain backslashes and begins
8769 # with a dollar sign (not a hyphen), so the echo should work correctly.
8770 lt_compile=`echo "$ac_compile" | $SED \
8771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8773 -e 's:$: $lt_compiler_flag:'`
8774 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8775 (eval "$lt_compile" 2>out/conftest.err)
8777 cat out/conftest.err >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8781 # The compiler can only warn and ignore the option if not recognized
8782 # So say no if there are warnings
8783 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8784 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8785 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8786 lt_cv_prog_compiler_c_o=yes
8791 # SGI C++ compiler will create directory out/ii_files/ for
8792 # template instantiation
8793 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8794 $RM out/* && rmdir out
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8801 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8806 hard_links="nottested"
8807 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8808 # do not overwrite the value of need_locks provided by the user
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8810 $as_echo_n "checking if we can lock with hard links... " >&6; }
8813 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8815 ln conftest.a conftest.b 2>&5 || hard_links=no
8816 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8818 $as_echo "$hard_links" >&6; }
8819 if test "$hard_links" = no; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8821 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8834 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8837 allow_undefined_flag=
8838 always_export_symbols=no
8840 archive_expsym_cmds=
8841 compiler_needs_object=no
8842 enable_shared_with_static_runtimes=no
8843 export_dynamic_flag_spec=
8844 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8845 hardcode_automatic=no
8847 hardcode_direct_absolute=no
8848 hardcode_libdir_flag_spec=
8849 hardcode_libdir_separator=
8851 hardcode_shlibpath_var=unsupported
8853 link_all_deplibs=unknown
8856 old_archive_from_new_cmds=
8857 old_archive_from_expsyms_cmds=
8858 thread_safe_flag_spec=
8859 whole_archive_flag_spec=
8860 # include_expsyms should be a list of space-separated symbols to be *always*
8861 # included in the symbol list
8863 # exclude_expsyms can be an extended regexp of symbols to exclude
8864 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8865 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8866 # as well as any symbol that contains `d'.
8867 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8868 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8869 # platforms (ab)use it in PIC code, but their linkers get confused if
8870 # the symbol is explicitly referenced. Since portable code cannot
8871 # rely on this symbol name, it's probably fine to never include it in
8872 # preloaded symbol tables.
8873 # Exclude shared library initialization/finalization symbols.
8874 extract_expsyms_cmds=
8877 cygwin* | mingw* | pw32* | cegcc*)
8878 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8879 # When not using gcc, we currently assume that we are using
8880 # Microsoft Visual C++.
8881 if test "$GCC" != yes; then
8886 # we just hope/assume this is gcc and not c89 (= MSVC++)
8892 linux* | k*bsd*-gnu | gnu*)
8899 # On some targets, GNU ld is compatible enough with the native linker
8900 # that we're better off using the native interface for both.
8901 lt_use_gnu_ld_interface=no
8902 if test "$with_gnu_ld" = yes; then
8905 # The AIX port of GNU ld has always aspired to compatibility
8906 # with the native linker. However, as the warning in the GNU ld
8907 # block says, versions before 2.19.5* couldn't really create working
8908 # shared libraries, regardless of the interface used.
8909 case `$LD -v 2>&1` in
8910 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8911 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8912 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8914 lt_use_gnu_ld_interface=yes
8919 lt_use_gnu_ld_interface=yes
8924 if test "$lt_use_gnu_ld_interface" = yes; then
8925 # If archive_cmds runs LD, not CC, wlarc should be empty
8928 # Set some defaults for GNU ld with shared library support. These
8929 # are reset later if shared libraries are not supported. Putting them
8930 # here allows them to be overridden if necessary.
8931 runpath_var=LD_RUN_PATH
8932 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8933 export_dynamic_flag_spec='${wl}--export-dynamic'
8934 # ancient GNU ld didn't support --whole-archive et. al.
8935 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8936 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8938 whole_archive_flag_spec=
8940 supports_anon_versioning=no
8941 case `$LD -v 2>&1` in
8942 *GNU\ gold*) supports_anon_versioning=yes ;;
8943 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8944 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8945 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8946 *\ 2.11.*) ;; # other 2.11 versions
8947 *) supports_anon_versioning=yes ;;
8950 # See if GNU ld supports shared libraries.
8953 # On AIX/PPC, the GNU linker is very broken
8954 if test "$host_cpu" != ia64; then
8958 *** Warning: the GNU linker, at least up to release 2.19, is reported
8959 *** to be unable to reliably create shared libraries on AIX.
8960 *** Therefore, libtool is disabling shared libraries support. If you
8961 *** really care for shared libraries, you may want to install binutils
8962 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8963 *** You will then need to restart the configuration process.
8972 # see comment about AmigaOS4 .so support
8973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8974 archive_expsym_cmds=''
8977 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)'
8978 hardcode_libdir_flag_spec='-L$libdir'
8979 hardcode_minus_L=yes
8985 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8986 allow_undefined_flag=unsupported
8987 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8988 # support --undefined. This deserves some investigation. FIXME
8989 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8995 cygwin* | mingw* | pw32* | cegcc*)
8996 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8997 # as there is no search path for DLLs.
8998 hardcode_libdir_flag_spec='-L$libdir'
8999 export_dynamic_flag_spec='${wl}--export-all-symbols'
9000 allow_undefined_flag=unsupported
9001 always_export_symbols=no
9002 enable_shared_with_static_runtimes=yes
9003 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'
9004 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9006 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9007 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9008 # If the export-symbols file already is a .def file (1st line
9009 # is EXPORTS), use it as is; otherwise, prepend...
9010 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9011 cp $export_symbols $output_objdir/$soname.def;
9013 echo EXPORTS > $output_objdir/$soname.def;
9014 cat $export_symbols >> $output_objdir/$soname.def;
9016 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9024 link_all_deplibs=yes
9029 hardcode_shlibpath_var=no
9030 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9031 export_dynamic_flag_spec='${wl}-E'
9032 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9033 # Instead, shared libraries are loaded at an image base (0x10000000 by
9034 # default) and relocated if they conflict, which is a slow very memory
9035 # consuming and fragmenting process. To avoid this, we pick a random,
9036 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9037 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9038 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9039 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'
9042 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9044 if test "$host_os" = linux-dietlibc; then
9045 case $cc_basename in
9046 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9049 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9050 && test "$tmp_diet" = no
9052 tmp_addflag=' $pic_flag'
9053 tmp_sharedflag='-shared'
9054 case $cc_basename,$host_cpu in
9055 pgcc*) # Portland Group C compiler
9056 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'
9057 tmp_addflag=' $pic_flag'
9059 pgf77* | pgf90* | pgf95* | pgfortran*)
9060 # Portland Group f77 and f90 compilers
9061 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'
9062 tmp_addflag=' $pic_flag -Mnomain' ;;
9063 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9064 tmp_addflag=' -i_dynamic' ;;
9065 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9066 tmp_addflag=' -i_dynamic -nofor_main' ;;
9067 ifc* | ifort*) # Intel Fortran compiler
9068 tmp_addflag=' -nofor_main' ;;
9069 lf95*) # Lahey Fortran 8.1
9070 whole_archive_flag_spec=
9071 tmp_sharedflag='--shared' ;;
9072 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9073 tmp_sharedflag='-qmkshrobj'
9075 nvcc*) # Cuda Compiler Driver 2.2
9076 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'
9077 compiler_needs_object=yes
9080 case `$CC -V 2>&1 | sed 5q` in
9081 *Sun\ C*) # Sun C 5.9
9082 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'
9083 compiler_needs_object=yes
9084 tmp_sharedflag='-G' ;;
9085 *Sun\ F*) # Sun Fortran 8.3
9086 tmp_sharedflag='-G' ;;
9088 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9090 if test "x$supports_anon_versioning" = xyes; then
9091 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9092 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9093 echo "local: *; };" >> $output_objdir/$libname.ver~
9094 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9097 case $cc_basename in
9098 xlf* | bgf* | bgxlf* | mpixlf*)
9099 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9100 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9101 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9102 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9103 if test "x$supports_anon_versioning" = xyes; then
9104 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9105 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9106 echo "local: *; };" >> $output_objdir/$libname.ver~
9107 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9116 netbsd* | netbsdelf*-gnu)
9117 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9118 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9121 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9127 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9131 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9132 *** create shared libraries on Solaris systems. Therefore, libtool
9133 *** is disabling shared libraries support. We urge you to upgrade GNU
9134 *** binutils to release 2.9.1 or newer. Another option is to modify
9135 *** your PATH or compiler configuration so that the native linker is
9136 *** used, and then restart.
9139 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9140 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9147 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9148 case `$LD -v 2>&1` in
9149 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9153 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9154 *** reliably create shared libraries on SCO systems. Therefore, libtool
9155 *** is disabling shared libraries support. We urge you to upgrade GNU
9156 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9157 *** your PATH or compiler configuration so that the native linker is
9158 *** used, and then restart.
9163 # For security reasons, it is highly recommended that you always
9164 # use absolute paths for naming shared libraries, and exclude the
9165 # DT_RUNPATH tag from executables and libraries. But doing so
9166 # requires that you compile everything twice, which is a pain.
9167 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9168 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9169 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9170 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9179 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9182 hardcode_shlibpath_var=no
9186 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9195 if test "$ld_shlibs" = no; then
9197 hardcode_libdir_flag_spec=
9198 export_dynamic_flag_spec=
9199 whole_archive_flag_spec=
9202 # PORTME fill in a description of your system's linker (not GNU ld)
9205 allow_undefined_flag=unsupported
9206 always_export_symbols=yes
9207 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'
9208 # Note: this linker hardcodes the directories in LIBPATH if there
9209 # are no directories specified by -L.
9210 hardcode_minus_L=yes
9211 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9212 # Neither direct hardcoding nor static linking is supported with a
9214 hardcode_direct=unsupported
9219 if test "$host_cpu" = ia64; then
9220 # On IA64, the linker does run time linking by default, so we don't
9221 # have to do anything special.
9222 aix_use_runtimelinking=no
9223 exp_sym_flag='-Bexport'
9226 # If we're using GNU nm, then we don't want the "-C" option.
9227 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9228 # Also, AIX nm treats weak defined symbols like other global
9229 # defined symbols, whereas GNU nm marks them as "W".
9230 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9231 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'
9233 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'
9235 aix_use_runtimelinking=no
9237 # Test if we are trying to use run time linking or normal
9238 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9239 # need to do runtime linking.
9240 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9241 for ld_flag in $LDFLAGS; do
9242 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9243 aix_use_runtimelinking=yes
9250 exp_sym_flag='-bexport'
9251 no_entry_flag='-bnoentry'
9254 # When large executables or shared objects are built, AIX ld can
9255 # have problems creating the table of contents. If linking a library
9256 # or program results in "error TOC overflow" add -mminimal-toc to
9257 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9258 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9262 hardcode_direct_absolute=yes
9263 hardcode_libdir_separator=':'
9264 link_all_deplibs=yes
9265 file_list_spec='${wl}-f,'
9267 if test "$GCC" = yes; then
9268 case $host_os in aix4.[012]|aix4.[012].*)
9269 # We only want to do this on AIX 4.2 and lower, the check
9270 # below for broken collect2 doesn't work under 4.3+
9271 collect2name=`${CC} -print-prog-name=collect2`
9272 if test -f "$collect2name" &&
9273 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9275 # We have reworked collect2
9278 # We have old collect2
9279 hardcode_direct=unsupported
9280 # It fails to find uninstalled libraries when the uninstalled
9281 # path is not listed in the libpath. Setting hardcode_minus_L
9282 # to unsupported forces relinking
9283 hardcode_minus_L=yes
9284 hardcode_libdir_flag_spec='-L$libdir'
9285 hardcode_libdir_separator=
9289 shared_flag='-shared'
9290 if test "$aix_use_runtimelinking" = yes; then
9291 shared_flag="$shared_flag "'${wl}-G'
9296 if test "$host_cpu" = ia64; then
9297 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9298 # chokes on -Wl,-G. The following line is correct:
9301 if test "$aix_use_runtimelinking" = yes; then
9302 shared_flag='${wl}-G'
9304 shared_flag='${wl}-bM:SRE'
9309 export_dynamic_flag_spec='${wl}-bexpall'
9310 # It seems that -bexpall does not export symbols beginning with
9311 # underscore (_), so it is better to generate a list of symbols to export.
9312 always_export_symbols=yes
9313 if test "$aix_use_runtimelinking" = yes; then
9314 # Warning - without using the other runtime loading flags (-brtl),
9315 # -berok will link without error, but may produce a broken library.
9316 allow_undefined_flag='-berok'
9317 # Determine the default libpath from the value encoded in an
9319 if test "${lt_cv_aix_libpath+set}" = set; then
9320 aix_libpath=$lt_cv_aix_libpath
9322 if ${lt_cv_aix_libpath_+:} false; then :
9323 $as_echo_n "(cached) " >&6
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9336 if ac_fn_c_try_link "$LINENO"; then :
9338 lt_aix_libpath_sed='
9339 /Import File Strings/,/^$/ {
9341 s/^0 *\([^ ]*\) *$/\1/
9345 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9346 # Check for a 64-bit object if we didn't find anything.
9347 if test -z "$lt_cv_aix_libpath_"; then
9348 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 if test -z "$lt_cv_aix_libpath_"; then
9354 lt_cv_aix_libpath_="/usr/lib:/lib"
9359 aix_libpath=$lt_cv_aix_libpath_
9362 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9363 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"
9365 if test "$host_cpu" = ia64; then
9366 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9367 allow_undefined_flag="-z nodefs"
9368 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"
9370 # Determine the default libpath from the value encoded in an
9372 if test "${lt_cv_aix_libpath+set}" = set; then
9373 aix_libpath=$lt_cv_aix_libpath
9375 if ${lt_cv_aix_libpath_+:} false; then :
9376 $as_echo_n "(cached) " >&6
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9389 if ac_fn_c_try_link "$LINENO"; then :
9391 lt_aix_libpath_sed='
9392 /Import File Strings/,/^$/ {
9394 s/^0 *\([^ ]*\) *$/\1/
9398 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9399 # Check for a 64-bit object if we didn't find anything.
9400 if test -z "$lt_cv_aix_libpath_"; then
9401 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 if test -z "$lt_cv_aix_libpath_"; then
9407 lt_cv_aix_libpath_="/usr/lib:/lib"
9412 aix_libpath=$lt_cv_aix_libpath_
9415 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9416 # Warning - without using the other run time loading flags,
9417 # -berok will link without error, but may produce a broken library.
9418 no_undefined_flag=' ${wl}-bernotok'
9419 allow_undefined_flag=' ${wl}-berok'
9420 if test "$with_gnu_ld" = yes; then
9421 # We only use this code for GNU lds that support --whole-archive.
9422 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9424 # Exported symbols can be pulled into shared objects from archives
9425 whole_archive_flag_spec='$convenience'
9427 archive_cmds_need_lc=yes
9428 # This is similar to how AIX traditionally builds its shared libraries.
9429 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'
9437 # see comment about AmigaOS4 .so support
9438 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9439 archive_expsym_cmds=''
9442 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)'
9443 hardcode_libdir_flag_spec='-L$libdir'
9444 hardcode_minus_L=yes
9450 export_dynamic_flag_spec=-rdynamic
9453 cygwin* | mingw* | pw32* | cegcc*)
9454 # When not using gcc, we currently assume that we are using
9455 # Microsoft Visual C++.
9456 # hardcode_libdir_flag_spec is actually meaningless, as there is
9457 # no search path for DLLs.
9458 case $cc_basename in
9461 hardcode_libdir_flag_spec=' '
9462 allow_undefined_flag=unsupported
9463 always_export_symbols=yes
9465 # Tell ltmain to make .lib files, not .a files.
9467 # Tell ltmain to make .dll files, not .so files.
9469 # FIXME: Setting linknames here is a bad hack.
9470 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9471 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9472 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9474 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9476 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9478 # The linker will not automatically build a static lib if we build a DLL.
9479 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9480 enable_shared_with_static_runtimes=yes
9481 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9482 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9484 old_postinstall_cmds='chmod 644 $oldlib'
9485 postlink_cmds='lt_outputfile="@OUTPUT@"~
9486 lt_tool_outputfile="@TOOL_OUTPUT@"~
9487 case $lt_outputfile in
9490 lt_outputfile="$lt_outputfile.exe"
9491 lt_tool_outputfile="$lt_tool_outputfile.exe"
9494 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9495 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9496 $RM "$lt_outputfile.manifest";
9500 # Assume MSVC wrapper
9501 hardcode_libdir_flag_spec=' '
9502 allow_undefined_flag=unsupported
9503 # Tell ltmain to make .lib files, not .a files.
9505 # Tell ltmain to make .dll files, not .so files.
9507 # FIXME: Setting linknames here is a bad hack.
9508 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9509 # The linker will automatically build a .lib file if we build a DLL.
9510 old_archive_from_new_cmds='true'
9511 # FIXME: Should let the user specify the lib program.
9512 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9513 enable_shared_with_static_runtimes=yes
9518 darwin* | rhapsody*)
9521 archive_cmds_need_lc=no
9523 hardcode_automatic=yes
9524 hardcode_shlibpath_var=unsupported
9525 if test "$lt_cv_ld_force_load" = "yes"; then
9526 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\"`'
9529 whole_archive_flag_spec=''
9531 link_all_deplibs=yes
9532 allow_undefined_flag="$_lt_dar_allow_undefined"
9533 case $cc_basename in
9534 ifort*) _lt_dar_can_shared=yes ;;
9535 *) _lt_dar_can_shared=$GCC ;;
9537 if test "$_lt_dar_can_shared" = "yes"; then
9538 output_verbose_link_cmd=func_echo_all
9539 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9540 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9541 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}"
9542 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}"
9551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9552 hardcode_libdir_flag_spec='-L$libdir'
9553 hardcode_shlibpath_var=no
9556 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9557 # support. Future versions do this automatically, but an explicit c++rt0.o
9558 # does not break anything, and helps significantly (at the cost of a little
9561 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9562 hardcode_libdir_flag_spec='-R$libdir'
9564 hardcode_shlibpath_var=no
9567 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9569 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9571 hardcode_minus_L=yes
9572 hardcode_shlibpath_var=no
9575 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9576 freebsd* | dragonfly*)
9577 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9578 hardcode_libdir_flag_spec='-R$libdir'
9580 hardcode_shlibpath_var=no
9584 if test "$GCC" = yes; then
9585 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'
9587 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'
9589 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9590 hardcode_libdir_separator=:
9593 # hardcode_minus_L: Not really in the search PATH,
9594 # but as the default location of the library.
9595 hardcode_minus_L=yes
9596 export_dynamic_flag_spec='${wl}-E'
9600 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9601 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9603 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9605 if test "$with_gnu_ld" = no; then
9606 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9607 hardcode_libdir_separator=:
9609 hardcode_direct_absolute=yes
9610 export_dynamic_flag_spec='${wl}-E'
9611 # hardcode_minus_L: Not really in the search PATH,
9612 # but as the default location of the library.
9613 hardcode_minus_L=yes
9618 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9621 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9624 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9627 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9633 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9636 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9640 # Older versions of the 11.00 compiler do not understand -b yet
9641 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9643 $as_echo_n "checking if $CC understands -b... " >&6; }
9644 if ${lt_cv_prog_compiler__b+:} false; then :
9645 $as_echo_n "(cached) " >&6
9647 lt_cv_prog_compiler__b=no
9648 save_LDFLAGS="$LDFLAGS"
9649 LDFLAGS="$LDFLAGS -b"
9650 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9651 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9652 # The linker can only warn and ignore the option if not recognized
9653 # So say no if there are warnings
9654 if test -s conftest.err; then
9655 # Append any errors to the config.log.
9656 cat conftest.err 1>&5
9657 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9658 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9659 if diff conftest.exp conftest.er2 >/dev/null; then
9660 lt_cv_prog_compiler__b=yes
9663 lt_cv_prog_compiler__b=yes
9667 LDFLAGS="$save_LDFLAGS"
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9671 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9673 if test x"$lt_cv_prog_compiler__b" = xyes; then
9674 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9682 if test "$with_gnu_ld" = no; then
9683 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9684 hardcode_libdir_separator=:
9689 hardcode_shlibpath_var=no
9693 hardcode_direct_absolute=yes
9694 export_dynamic_flag_spec='${wl}-E'
9696 # hardcode_minus_L: Not really in the search PATH,
9697 # but as the default location of the library.
9698 hardcode_minus_L=yes
9704 irix5* | irix6* | nonstopux*)
9705 if test "$GCC" = yes; then
9706 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'
9707 # Try to use the -exported_symbol ld option, if it does not
9708 # work, assume that -exports_file does not work either and
9709 # implicitly export all symbols.
9710 # This should be the same for all languages, so no per-tag cache variable.
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9712 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9713 if ${lt_cv_irix_exported_symbol+:} false; then :
9714 $as_echo_n "(cached) " >&6
9716 save_LDFLAGS="$LDFLAGS"
9717 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9720 int foo (void) { return 0; }
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 lt_cv_irix_exported_symbol=yes
9725 lt_cv_irix_exported_symbol=no
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LDFLAGS="$save_LDFLAGS"
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9732 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9733 if test "$lt_cv_irix_exported_symbol" = yes; then
9734 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'
9737 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'
9738 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'
9740 archive_cmds_need_lc='no'
9741 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9742 hardcode_libdir_separator=:
9744 link_all_deplibs=yes
9747 netbsd* | netbsdelf*-gnu)
9748 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9751 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9753 hardcode_libdir_flag_spec='-R$libdir'
9755 hardcode_shlibpath_var=no
9759 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9761 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9762 hardcode_libdir_separator=:
9763 hardcode_shlibpath_var=no
9770 if test -f /usr/libexec/ld.so; then
9772 hardcode_shlibpath_var=no
9773 hardcode_direct_absolute=yes
9774 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9775 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9776 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9777 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9778 export_dynamic_flag_spec='${wl}-E'
9781 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9782 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9783 hardcode_libdir_flag_spec='-R$libdir'
9786 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9787 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_minus_L=yes
9799 allow_undefined_flag=unsupported
9800 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'
9801 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9805 if test "$GCC" = yes; then
9806 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9807 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'
9809 allow_undefined_flag=' -expect_unresolved \*'
9810 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'
9812 archive_cmds_need_lc='no'
9813 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9814 hardcode_libdir_separator=:
9817 osf4* | osf5*) # as osf3* with the addition of -msym flag
9818 if test "$GCC" = yes; then
9819 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9820 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'
9821 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9823 allow_undefined_flag=' -expect_unresolved \*'
9824 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'
9825 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~
9826 $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'
9828 # Both c and cxx compiler support -rpath directly
9829 hardcode_libdir_flag_spec='-rpath $libdir'
9831 archive_cmds_need_lc='no'
9832 hardcode_libdir_separator=:
9836 no_undefined_flag=' -z defs'
9837 if test "$GCC" = yes; then
9839 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9841 $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'
9843 case `$CC -V 2>&1` in
9846 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9847 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9848 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9852 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9853 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9854 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9858 hardcode_libdir_flag_spec='-R$libdir'
9859 hardcode_shlibpath_var=no
9861 solaris2.[0-5] | solaris2.[0-5].*) ;;
9863 # The compiler driver will combine and reorder linker options,
9864 # but understands `-z linker_flag'. GCC discards it without `$wl',
9865 # but is careful enough not to reorder.
9866 # Supported since Solaris 2.6 (maybe 2.5.1?)
9867 if test "$GCC" = yes; then
9868 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9870 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9874 link_all_deplibs=yes
9878 if test "x$host_vendor" = xsequent; then
9879 # Use $CC to link under sequent, because it throws in some extra .o
9880 # files that make .init and .fini sections work.
9881 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_libdir_flag_spec='-L$libdir'
9887 hardcode_minus_L=yes
9888 hardcode_shlibpath_var=no
9892 case $host_vendor in
9894 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895 hardcode_direct=yes # is this really true???
9898 ## LD is ld it makes a PLAMLIB
9899 ## CC just makes a GrossModule.
9900 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9901 reload_cmds='$CC -r -o $output$reload_objs'
9905 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9906 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9909 runpath_var='LD_RUN_PATH'
9910 hardcode_shlibpath_var=no
9914 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_shlibpath_var=no
9916 export_dynamic_flag_spec='-Bexport'
9920 if test -d /usr/nec; then
9921 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9922 hardcode_shlibpath_var=no
9923 runpath_var=LD_RUN_PATH
9924 hardcode_runpath_var=yes
9929 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9930 no_undefined_flag='${wl}-z,text'
9931 archive_cmds_need_lc=no
9932 hardcode_shlibpath_var=no
9933 runpath_var='LD_RUN_PATH'
9935 if test "$GCC" = yes; then
9936 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9940 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 sysv5* | sco3.2v5* | sco5v6*)
9945 # Note: We can NOT use -z defs as we might desire, because we do not
9946 # link with -lc, and that would cause any symbols used from libc to
9947 # always be unresolved, which means just about no library would
9948 # ever link correctly. If we're not using GNU ld we use -z text
9949 # though, which does catch some bad symbols but isn't as heavy-handed
9951 no_undefined_flag='${wl}-z,text'
9952 allow_undefined_flag='${wl}-z,nodefs'
9953 archive_cmds_need_lc=no
9954 hardcode_shlibpath_var=no
9955 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9956 hardcode_libdir_separator=':'
9957 link_all_deplibs=yes
9958 export_dynamic_flag_spec='${wl}-Bexport'
9959 runpath_var='LD_RUN_PATH'
9961 if test "$GCC" = yes; then
9962 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 hardcode_libdir_flag_spec='-L$libdir'
9973 hardcode_shlibpath_var=no
9981 if test x$host_vendor = xsni; then
9983 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9984 export_dynamic_flag_spec='${wl}-Blargedynsym'
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9991 $as_echo "$ld_shlibs" >&6; }
9992 test "$ld_shlibs" = no && can_build_shared=no
9994 with_gnu_ld=$with_gnu_ld
10011 # Do we need to explicitly link libc?
10013 case "x$archive_cmds_need_lc" in
10015 # Assume -lc should be added
10016 archive_cmds_need_lc=yes
10018 if test "$enable_shared" = yes && test "$GCC" = yes; then
10019 case $archive_cmds in
10021 # FIXME: we may have to deal with multi-command sequences.
10024 # Test whether the compiler implicitly links with -lc since on some
10025 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10026 # to ld, don't add -lc before -lgcc.
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10028 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10029 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10030 $as_echo_n "(cached) " >&6
10033 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10036 (eval $ac_compile) 2>&5
10038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10039 test $ac_status = 0; } 2>conftest.err; then
10042 libobjs=conftest.$ac_objext
10044 wl=$lt_prog_compiler_wl
10045 pic_flag=$lt_prog_compiler_pic
10051 lt_save_allow_undefined_flag=$allow_undefined_flag
10052 allow_undefined_flag=
10053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10054 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10057 test $ac_status = 0; }
10059 lt_cv_archive_cmds_need_lc=no
10061 lt_cv_archive_cmds_need_lc=yes
10063 allow_undefined_flag=$lt_save_allow_undefined_flag
10065 cat conftest.err 1>&5
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10071 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10072 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10233 if test "$GCC" = yes; then
10235 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10236 *) lt_awk_arg="/^libraries:/" ;;
10239 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10240 *) lt_sed_strip_eq="s,=/,/,g" ;;
10242 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10243 case $lt_search_path_spec in
10245 # if the path contains ";" then we assume it to be the separator
10246 # otherwise default to the standard path separator (i.e. ":") - it is
10247 # assumed that no part of a normal pathname contains ";" but that should
10248 # okay in the real world where ";" in dirpaths is itself problematic.
10249 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10252 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10255 # Ok, now we have the path, separated by spaces, we can step through it
10256 # and add multilib dir if necessary.
10257 lt_tmp_lt_search_path_spec=
10258 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10259 for lt_sys_path in $lt_search_path_spec; do
10260 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10261 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10263 test -d "$lt_sys_path" && \
10264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10267 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10268 BEGIN {RS=" "; FS="/|\n";} {
10271 for (lt_i = NF; lt_i > 0; lt_i--) {
10272 if ($lt_i != "" && $lt_i != ".") {
10273 if ($lt_i == "..") {
10276 if (lt_count == 0) {
10277 lt_foo="/" $lt_i lt_foo;
10284 if (lt_foo != "") { lt_freq[lt_foo]++; }
10285 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10287 # AWK program above erroneously prepends '/' to C:/dos/paths
10290 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10291 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10293 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10295 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10297 library_names_spec=
10298 libname_spec='lib$name'
10302 postuninstall_cmds=
10306 shlibpath_overrides_runpath=unknown
10308 dynamic_linker="$host_os ld.so"
10309 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10310 need_lib_prefix=unknown
10311 hardcode_into_libs=no
10313 # when you set need_version to no, make sure it does not cause -set_version
10314 # flags to be left without arguments
10315 need_version=unknown
10319 version_type=linux # correct to gnu/linux during the next big refactor
10320 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10321 shlibpath_var=LIBPATH
10323 # AIX 3 has no versioning support, so we append a major version to the name.
10324 soname_spec='${libname}${release}${shared_ext}$major'
10328 version_type=linux # correct to gnu/linux during the next big refactor
10331 hardcode_into_libs=yes
10332 if test "$host_cpu" = ia64; then
10333 # AIX 5 supports IA64
10334 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10335 shlibpath_var=LD_LIBRARY_PATH
10337 # With GCC up to 2.95.x, collect2 would create an import file
10338 # for dependence libraries. The import file would start with
10339 # the line `#! .'. This would cause the generated library to
10340 # depend on `.', always an invalid library. This was fixed in
10341 # development snapshots of GCC prior to 3.0.
10343 aix4 | aix4.[01] | aix4.[01].*)
10344 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10346 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10349 can_build_shared=no
10353 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10354 # soname into executable. Probably we can add versioning support to
10355 # collect2, so additional links can be useful in future.
10356 if test "$aix_use_runtimelinking" = yes; then
10357 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10358 # instead of lib<name>.a to let people know that these are not
10359 # typical AIX shared libraries.
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362 # We preserve .a as extension for shared libraries through AIX4.2
10363 # and later when we are not doing run time linking.
10364 library_names_spec='${libname}${release}.a $libname.a'
10365 soname_spec='${libname}${release}${shared_ext}$major'
10367 shlibpath_var=LIBPATH
10374 # Since July 2007 AmigaOS4 officially supports .so libraries.
10375 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379 library_names_spec='$libname.ixlibrary $libname.a'
10380 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10381 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'
10387 library_names_spec='${libname}${shared_ext}'
10388 dynamic_linker="$host_os ld.so"
10389 shlibpath_var=LIBRARY_PATH
10393 version_type=linux # correct to gnu/linux during the next big refactor
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec='${libname}${release}${shared_ext}$major'
10397 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10400 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10401 # the default ld.so.conf also contains /usr/contrib/lib and
10402 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10403 # libtool to hard-code these into programs
10406 cygwin* | mingw* | pw32* | cegcc*)
10407 version_type=windows
10412 case $GCC,$cc_basename in
10415 library_names_spec='$libname.dll.a'
10416 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10417 postinstall_cmds='base_file=`basename \${file}`~
10418 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10419 dldir=$destdir/`dirname \$dlpath`~
10420 test -d \$dldir || mkdir -p \$dldir~
10421 $install_prog $dir/$dlname \$dldir/$dlname~
10422 chmod a+x \$dldir/$dlname~
10423 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10424 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10426 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10427 dlpath=$dir/\$dldll~
10429 shlibpath_overrides_runpath=yes
10433 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10434 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10436 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10439 # MinGW DLLs use traditional 'lib' prefix
10440 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10443 # pw32 DLLs use 'pw' prefix rather than 'lib'
10444 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10447 dynamic_linker='Win32 ld.exe'
10452 libname_spec='$name'
10453 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10454 library_names_spec='${libname}.dll.lib'
10458 sys_lib_search_path_spec=
10461 for lt_path in $LIB
10464 # Let DOS variable expansion print the short 8.3 style file name.
10465 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10466 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10469 # Convert to MSYS style.
10470 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10473 # Convert to unix form, then to dos form, then back to unix form
10474 # but this time dos style (no spaces!) so that the unix form looks
10475 # like /cygdrive/c/PROGRA~1:/cygdr...
10476 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10477 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10478 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10481 sys_lib_search_path_spec="$LIB"
10482 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10483 # It is most probably a Windows format PATH.
10484 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10486 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10488 # FIXME: find the short name or the path components, as spaces are
10489 # common. (e.g. "Program Files" -> "PROGRA~1")
10493 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10494 postinstall_cmds='base_file=`basename \${file}`~
10495 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10496 dldir=$destdir/`dirname \$dlpath`~
10497 test -d \$dldir || mkdir -p \$dldir~
10498 $install_prog $dir/$dlname \$dldir/$dlname'
10499 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10500 dlpath=$dir/\$dldll~
10502 shlibpath_overrides_runpath=yes
10503 dynamic_linker='Win32 link.exe'
10507 # Assume MSVC wrapper
10508 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10509 dynamic_linker='Win32 ld.exe'
10512 # FIXME: first we should search . and the directory the executable is in
10516 darwin* | rhapsody*)
10517 dynamic_linker="$host_os dyld"
10518 version_type=darwin
10521 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10522 soname_spec='${libname}${release}${major}$shared_ext'
10523 shlibpath_overrides_runpath=yes
10524 shlibpath_var=DYLD_LIBRARY_PATH
10525 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10527 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10528 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10532 version_type=linux # correct to gnu/linux during the next big refactor
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10537 shlibpath_var=LD_LIBRARY_PATH
10540 freebsd* | dragonfly*)
10541 # DragonFly does not have aout. When/if they implement a new
10542 # versioning mechanism, adjust this.
10543 if test -x /usr/bin/objformat; then
10544 objformat=`/usr/bin/objformat`
10547 freebsd[23].*) objformat=aout ;;
10548 *) objformat=elf ;;
10551 version_type=freebsd-$objformat
10552 case $version_type in
10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10563 shlibpath_var=LD_LIBRARY_PATH
10566 shlibpath_overrides_runpath=yes
10568 freebsd3.[01]* | freebsdelf3.[01]*)
10569 shlibpath_overrides_runpath=yes
10570 hardcode_into_libs=yes
10572 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10573 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10574 shlibpath_overrides_runpath=no
10575 hardcode_into_libs=yes
10577 *) # from 4.6 on, and DragonFly
10578 shlibpath_overrides_runpath=yes
10579 hardcode_into_libs=yes
10585 version_type=linux # correct to gnu/linux during the next big refactor
10588 dynamic_linker="$host_os runtime_loader"
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10590 soname_spec='${libname}${release}${shared_ext}$major'
10591 shlibpath_var=LIBRARY_PATH
10592 shlibpath_overrides_runpath=yes
10593 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10594 hardcode_into_libs=yes
10597 hpux9* | hpux10* | hpux11*)
10598 # Give a soname corresponding to the major version so that dld.sl refuses to
10599 # link against other versions.
10606 hardcode_into_libs=yes
10607 dynamic_linker="$host_os dld.so"
10608 shlibpath_var=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10611 soname_spec='${libname}${release}${shared_ext}$major'
10612 if test "X$HPUX_IA64_MODE" = X32; then
10613 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10615 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10617 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10621 hardcode_into_libs=yes
10622 dynamic_linker="$host_os dld.sl"
10623 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10624 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10628 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10632 dynamic_linker="$host_os dld.sl"
10633 shlibpath_var=SHLIB_PATH
10634 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10636 soname_spec='${libname}${release}${shared_ext}$major'
10639 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10640 postinstall_cmds='chmod 555 $lib'
10641 # or fails outright, so override atomically:
10642 install_override_mode=555
10646 version_type=linux # correct to gnu/linux during the next big refactor
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10651 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10652 shlibpath_var=LD_LIBRARY_PATH
10653 shlibpath_overrides_runpath=no
10654 hardcode_into_libs=yes
10657 irix5* | irix6* | nonstopux*)
10659 nonstopux*) version_type=nonstopux ;;
10661 if test "$lt_cv_prog_gnu_ld" = yes; then
10662 version_type=linux # correct to gnu/linux during the next big refactor
10669 soname_spec='${libname}${release}${shared_ext}$major'
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10672 irix5* | nonstopux*)
10673 libsuff= shlibsuff=
10676 case $LD in # libtool.m4 will add one of these switches to LD
10677 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10678 libsuff= shlibsuff= libmagic=32-bit;;
10679 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10680 libsuff=32 shlibsuff=N32 libmagic=N32;;
10681 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10682 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10683 *) libsuff= shlibsuff= libmagic=never-match;;
10687 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10688 shlibpath_overrides_runpath=no
10689 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10690 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10691 hardcode_into_libs=yes
10694 # No shared lib support for Linux oldld, aout, or coff.
10695 linux*oldld* | linux*aout* | linux*coff*)
10699 # This must be glibc/ELF.
10700 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10701 version_type=linux # correct to gnu/linux during the next big refactor
10704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10705 soname_spec='${libname}${release}${shared_ext}$major'
10706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 shlibpath_overrides_runpath=no
10710 # Some binutils ld are patched to set DT_RUNPATH
10711 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10712 $as_echo_n "(cached) " >&6
10714 lt_cv_shlibpath_overrides_runpath=no
10715 save_LDFLAGS=$LDFLAGS
10716 save_libdir=$libdir
10717 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10718 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10730 if ac_fn_c_try_link "$LINENO"; then :
10731 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10732 lt_cv_shlibpath_overrides_runpath=yes
10735 rm -f core conftest.err conftest.$ac_objext \
10736 conftest$ac_exeext conftest.$ac_ext
10737 LDFLAGS=$save_LDFLAGS
10738 libdir=$save_libdir
10742 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10744 # This implies no fast_install, which is unacceptable.
10745 # Some rework will be needed to allow for fast_install
10746 # before this can be enabled.
10747 hardcode_into_libs=yes
10749 # Append ld.so.conf contents to the search path
10750 if test -f /etc/ld.so.conf; then
10751 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' ' '`
10752 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10755 # We used to test for /lib/ld.so.1 and disable shared libraries on
10756 # powerpc, because MkLinux only supported shared libraries with the
10757 # GNU dynamic linker. Since this was broken with cross compilers,
10758 # most powerpc-linux boxes support dynamic linking these days and
10759 # people can always --disable-shared, the test was removed, and we
10760 # assume the GNU/Linux dynamic linker is in use.
10761 dynamic_linker='GNU/Linux ld.so'
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 shlibpath_overrides_runpath=no
10772 hardcode_into_libs=yes
10773 dynamic_linker='NetBSD ld.elf_so'
10780 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10782 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10783 dynamic_linker='NetBSD (a.out) ld.so'
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10786 soname_spec='${libname}${release}${shared_ext}$major'
10787 dynamic_linker='NetBSD ld.elf_so'
10789 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=yes
10791 hardcode_into_libs=yes
10795 version_type=linux # correct to gnu/linux during the next big refactor
10796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10797 shlibpath_var=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath=yes
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10806 soname_spec='${libname}${release}${shared_ext}$major'
10807 shlibpath_var=LD_LIBRARY_PATH
10808 shlibpath_overrides_runpath=no
10809 hardcode_into_libs=yes
10810 dynamic_linker='ldqnx.so'
10815 sys_lib_dlsearch_path_spec="/usr/lib"
10817 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10819 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10820 *) need_version=no ;;
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10823 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10824 shlibpath_var=LD_LIBRARY_PATH
10825 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10827 openbsd2.[89] | openbsd2.[89].*)
10828 shlibpath_overrides_runpath=no
10831 shlibpath_overrides_runpath=yes
10835 shlibpath_overrides_runpath=yes
10840 libname_spec='$name'
10843 library_names_spec='$libname${shared_ext} $libname.a'
10844 dynamic_linker='OS/2 ld.exe'
10845 shlibpath_var=LIBPATH
10848 osf3* | osf4* | osf5*)
10852 soname_spec='${libname}${release}${shared_ext}$major'
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10856 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10864 version_type=linux # correct to gnu/linux during the next big refactor
10867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868 soname_spec='${libname}${release}${shared_ext}$major'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath=yes
10871 hardcode_into_libs=yes
10872 # ldd complains unless libraries are executable
10873 postinstall_cmds='chmod +x $lib'
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10879 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10880 shlibpath_var=LD_LIBRARY_PATH
10881 shlibpath_overrides_runpath=yes
10882 if test "$with_gnu_ld" = yes; then
10889 version_type=linux # correct to gnu/linux during the next big refactor
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10891 soname_spec='${libname}${release}${shared_ext}$major'
10892 shlibpath_var=LD_LIBRARY_PATH
10893 case $host_vendor in
10895 shlibpath_overrides_runpath=no
10897 runpath_var=LD_RUN_PATH
10905 shlibpath_overrides_runpath=no
10906 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10912 if test -d /usr/nec ;then
10913 version_type=linux # correct to gnu/linux during the next big refactor
10914 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10915 soname_spec='$libname${shared_ext}.$major'
10916 shlibpath_var=LD_LIBRARY_PATH
10920 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10921 version_type=freebsd-elf
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10925 soname_spec='${libname}${release}${shared_ext}$major'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath=yes
10928 hardcode_into_libs=yes
10929 if test "$with_gnu_ld" = yes; then
10930 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10932 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10935 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10939 sys_lib_dlsearch_path_spec='/usr/lib'
10943 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10944 version_type=linux # correct to gnu/linux during the next big refactor
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=no
10950 hardcode_into_libs=yes
10954 version_type=linux # correct to gnu/linux during the next big refactor
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10956 soname_spec='${libname}${release}${shared_ext}$major'
10957 shlibpath_var=LD_LIBRARY_PATH
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10965 $as_echo "$dynamic_linker" >&6; }
10966 test "$dynamic_linker" = no && can_build_shared=no
10968 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10969 if test "$GCC" = yes; then
10970 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10973 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10974 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10976 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10977 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11072 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11074 if test -n "$hardcode_libdir_flag_spec" ||
11075 test -n "$runpath_var" ||
11076 test "X$hardcode_automatic" = "Xyes" ; then
11078 # We can hardcode non-existent directories.
11079 if test "$hardcode_direct" != no &&
11080 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11081 # have to relink, otherwise we might link with an installed library
11082 # when we should be linking with a yet-to-be-installed one
11083 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11084 test "$hardcode_minus_L" != no; then
11085 # Linking always hardcodes the temporary library directory.
11086 hardcode_action=relink
11088 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11089 hardcode_action=immediate
11092 # We cannot hardcode anything, or else we can only hardcode existing
11094 hardcode_action=unsupported
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11097 $as_echo "$hardcode_action" >&6; }
11099 if test "$hardcode_action" = relink ||
11100 test "$inherit_rpath" = yes; then
11101 # Fast installation is not supported
11102 enable_fast_install=no
11103 elif test "$shlibpath_overrides_runpath" = yes ||
11104 test "$enable_shared" = no; then
11105 # Fast installation is not necessary
11106 enable_fast_install=needless
11114 if test "x$enable_dlopen" != xyes; then
11115 enable_dlopen=unknown
11116 enable_dlopen_self=unknown
11117 enable_dlopen_self_static=unknown
11124 lt_cv_dlopen="load_add_on"
11126 lt_cv_dlopen_self=yes
11129 mingw* | pw32* | cegcc*)
11130 lt_cv_dlopen="LoadLibrary"
11135 lt_cv_dlopen="dlopen"
11140 # if libdl is installed we need to link against it
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11142 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11143 if ${ac_cv_lib_dl_dlopen+:} false; then :
11144 $as_echo_n "(cached) " >&6
11146 ac_check_lib_save_LIBS=$LIBS
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 ac_cv_lib_dl_dlopen=yes
11169 ac_cv_lib_dl_dlopen=no
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11176 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11177 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11178 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11181 lt_cv_dlopen="dyld"
11183 lt_cv_dlopen_self=yes
11190 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11191 if test "x$ac_cv_func_shl_load" = xyes; then :
11192 lt_cv_dlopen="shl_load"
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11195 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11196 if ${ac_cv_lib_dld_shl_load+:} false; then :
11197 $as_echo_n "(cached) " >&6
11199 ac_check_lib_save_LIBS=$LIBS
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11214 return shl_load ();
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_dld_shl_load=yes
11222 ac_cv_lib_dld_shl_load=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11229 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11230 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11231 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11233 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11234 if test "x$ac_cv_func_dlopen" = xyes; then :
11235 lt_cv_dlopen="dlopen"
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11238 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11239 if ${ac_cv_lib_dl_dlopen+:} false; then :
11240 $as_echo_n "(cached) " >&6
11242 ac_check_lib_save_LIBS=$LIBS
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11262 if ac_fn_c_try_link "$LINENO"; then :
11263 ac_cv_lib_dl_dlopen=yes
11265 ac_cv_lib_dl_dlopen=no
11267 rm -f core conftest.err conftest.$ac_objext \
11268 conftest$ac_exeext conftest.$ac_ext
11269 LIBS=$ac_check_lib_save_LIBS
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11272 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11273 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11274 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11277 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11278 if ${ac_cv_lib_svld_dlopen+:} false; then :
11279 $as_echo_n "(cached) " >&6
11281 ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-lsvld $LIBS"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_svld_dlopen=yes
11304 ac_cv_lib_svld_dlopen=no
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11311 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11312 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11313 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11316 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11317 if ${ac_cv_lib_dld_dld_link+:} false; then :
11318 $as_echo_n "(cached) " >&6
11320 ac_check_lib_save_LIBS=$LIBS
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11335 return dld_link ();
11340 if ac_fn_c_try_link "$LINENO"; then :
11341 ac_cv_lib_dld_dld_link=yes
11343 ac_cv_lib_dld_dld_link=no
11345 rm -f core conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_lib_save_LIBS
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11350 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11351 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11352 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11373 if test "x$lt_cv_dlopen" != xno; then
11379 case $lt_cv_dlopen in
11381 save_CPPFLAGS="$CPPFLAGS"
11382 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11384 save_LDFLAGS="$LDFLAGS"
11385 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11388 LIBS="$lt_cv_dlopen_libs $LIBS"
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11391 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11392 if ${lt_cv_dlopen_self+:} false; then :
11393 $as_echo_n "(cached) " >&6
11395 if test "$cross_compiling" = yes; then :
11396 lt_cv_dlopen_self=cross
11398 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11399 lt_status=$lt_dlunknown
11400 cat > conftest.$ac_ext <<_LT_EOF
11401 #line $LINENO "configure"
11402 #include "confdefs.h"
11411 # define LT_DLGLOBAL RTLD_GLOBAL
11414 # define LT_DLGLOBAL DL_GLOBAL
11416 # define LT_DLGLOBAL 0
11420 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11421 find out it does not work in some platform. */
11422 #ifndef LT_DLLAZY_OR_NOW
11424 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11427 # define LT_DLLAZY_OR_NOW DL_LAZY
11430 # define LT_DLLAZY_OR_NOW RTLD_NOW
11433 # define LT_DLLAZY_OR_NOW DL_NOW
11435 # define LT_DLLAZY_OR_NOW 0
11442 /* When -fvisbility=hidden is used, assume the code has been annotated
11443 correspondingly for the symbols needed. */
11444 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11445 int fnord () __attribute__((visibility("default")));
11448 int fnord () { return 42; }
11451 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11452 int status = $lt_dlunknown;
11456 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11459 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11460 else puts (dlerror ());
11462 /* dlclose (self); */
11470 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11471 (eval $ac_link) 2>&5
11473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11474 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11475 (./conftest; exit; ) >&5 2>/dev/null
11477 case x$lt_status in
11478 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11479 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11480 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11483 # compilation failed
11484 lt_cv_dlopen_self=no
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11492 $as_echo "$lt_cv_dlopen_self" >&6; }
11494 if test "x$lt_cv_dlopen_self" = xyes; then
11495 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11497 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11498 if ${lt_cv_dlopen_self_static+:} false; then :
11499 $as_echo_n "(cached) " >&6
11501 if test "$cross_compiling" = yes; then :
11502 lt_cv_dlopen_self_static=cross
11504 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11505 lt_status=$lt_dlunknown
11506 cat > conftest.$ac_ext <<_LT_EOF
11507 #line $LINENO "configure"
11508 #include "confdefs.h"
11517 # define LT_DLGLOBAL RTLD_GLOBAL
11520 # define LT_DLGLOBAL DL_GLOBAL
11522 # define LT_DLGLOBAL 0
11526 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11527 find out it does not work in some platform. */
11528 #ifndef LT_DLLAZY_OR_NOW
11530 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11533 # define LT_DLLAZY_OR_NOW DL_LAZY
11536 # define LT_DLLAZY_OR_NOW RTLD_NOW
11539 # define LT_DLLAZY_OR_NOW DL_NOW
11541 # define LT_DLLAZY_OR_NOW 0
11548 /* When -fvisbility=hidden is used, assume the code has been annotated
11549 correspondingly for the symbols needed. */
11550 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11551 int fnord () __attribute__((visibility("default")));
11554 int fnord () { return 42; }
11557 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11558 int status = $lt_dlunknown;
11562 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11565 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11566 else puts (dlerror ());
11568 /* dlclose (self); */
11576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11577 (eval $ac_link) 2>&5
11579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11580 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11581 (./conftest; exit; ) >&5 2>/dev/null
11583 case x$lt_status in
11584 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11585 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11586 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11589 # compilation failed
11590 lt_cv_dlopen_self_static=no
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11598 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11601 CPPFLAGS="$save_CPPFLAGS"
11602 LDFLAGS="$save_LDFLAGS"
11607 case $lt_cv_dlopen_self in
11608 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11609 *) enable_dlopen_self=unknown ;;
11612 case $lt_cv_dlopen_self_static in
11613 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11614 *) enable_dlopen_self_static=unknown ;;
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11637 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11638 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11639 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11640 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11642 $as_echo "yes" >&6; }
11644 # FIXME - insert some real tests, host_os isn't really good enough
11647 if test -n "$STRIP" ; then
11648 striplib="$STRIP -x"
11649 old_striplib="$STRIP -S"
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11651 $as_echo "yes" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11654 $as_echo "no" >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11659 $as_echo "no" >&6; }
11675 # Report which library types will actually be built
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11677 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11679 $as_echo "$can_build_shared" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11682 $as_echo_n "checking whether to build shared libraries... " >&6; }
11683 test "$can_build_shared" = "no" && enable_shared=no
11685 # On AIX, shared libraries and static libraries use the same namespace, and
11686 # are all built from PIC.
11689 test "$enable_shared" = yes && enable_static=no
11690 if test -n "$RANLIB"; then
11691 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11692 postinstall_cmds='$RANLIB $lib'
11697 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11698 test "$enable_shared" = yes && enable_static=no
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11703 $as_echo "$enable_shared" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11706 $as_echo_n "checking whether to build static libraries... " >&6; }
11707 # Make sure either enable_shared or enable_static is yes.
11708 test "$enable_shared" = yes || enable_static=yes
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11710 $as_echo "$enable_static" >&6; }
11717 ac_cpp='$CPP $CPPFLAGS'
11718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11738 ac_config_commands="$ac_config_commands libtool"
11743 # Only expand once:
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
11748 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
11749 if ${ac_cv_struct_tm_gmtoff+:} false; then :
11750 $as_echo_n "(cached) " >&6
11752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11753 /* end confdefs.h. */
11768 if ac_fn_c_try_compile "$LINENO"; then :
11769 ac_cv_struct_tm_gmtoff=yes
11771 ac_cv_struct_tm_gmtoff=no
11773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
11776 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
11778 if (test "$ac_cv_struct_tm_gmtoff" = "yes"); then
11780 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
11785 $as_echo_n "checking for timezone variable... " >&6; }
11786 if ${ac_cv_var_timezone+:} false; then :
11787 $as_echo_n "(cached) " >&6
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11804 if ac_fn_c_try_compile "$LINENO"; then :
11805 ac_cv_var_timezone=yes
11807 ac_cv_var_timezone=no
11809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
11812 $as_echo "$ac_cv_var_timezone" >&6; }
11814 if (test "$ac_cv_var_timezone" = "yes"); then
11816 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11821 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11822 if ${ac_cv_lib_dl_dlopen+:} false; then :
11823 $as_echo_n "(cached) " >&6
11825 ac_check_lib_save_LIBS=$LIBS
11827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11830 /* Override any GCC internal prototype to avoid an error.
11831 Use char because int might match the return type of a GCC
11832 builtin and then its argument prototype would still apply. */
11845 if ac_fn_c_try_link "$LINENO"; then :
11846 ac_cv_lib_dl_dlopen=yes
11848 ac_cv_lib_dl_dlopen=no
11850 rm -f core conftest.err conftest.$ac_objext \
11851 conftest$ac_exeext conftest.$ac_ext
11852 LIBS=$ac_check_lib_save_LIBS
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11855 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11856 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11859 as_fn_error $? "dynamic linking loader is required" "$LINENO" 5
11870 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11871 if test -n "$ac_tool_prefix"; then
11872 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11873 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11875 $as_echo_n "checking for $ac_word... " >&6; }
11876 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11877 $as_echo_n "(cached) " >&6
11879 case $PKG_CONFIG in
11881 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11885 for as_dir in $PATH
11888 test -z "$as_dir" && as_dir=.
11889 for ac_exec_ext in '' $ac_executable_extensions; do
11890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11891 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11902 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11903 if test -n "$PKG_CONFIG"; then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11905 $as_echo "$PKG_CONFIG" >&6; }
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11908 $as_echo "no" >&6; }
11913 if test -z "$ac_cv_path_PKG_CONFIG"; then
11914 ac_pt_PKG_CONFIG=$PKG_CONFIG
11915 # Extract the first word of "pkg-config", so it can be a program name with args.
11916 set dummy pkg-config; ac_word=$2
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11918 $as_echo_n "checking for $ac_word... " >&6; }
11919 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11920 $as_echo_n "(cached) " >&6
11922 case $ac_pt_PKG_CONFIG in
11924 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11928 for as_dir in $PATH
11931 test -z "$as_dir" && as_dir=.
11932 for ac_exec_ext in '' $ac_executable_extensions; do
11933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11934 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11946 if test -n "$ac_pt_PKG_CONFIG"; then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11948 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11951 $as_echo "no" >&6; }
11954 if test "x$ac_pt_PKG_CONFIG" = x; then
11957 case $cross_compiling:$ac_tool_warned in
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11961 ac_tool_warned=yes ;;
11963 PKG_CONFIG=$ac_pt_PKG_CONFIG
11966 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11970 if test -n "$PKG_CONFIG"; then
11971 _pkg_min_version=0.9.0
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11973 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11974 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11976 $as_echo "yes" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11979 $as_echo "no" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11986 $as_echo_n "checking for GLIB... " >&6; }
11988 if test -n "$GLIB_CFLAGS"; then
11989 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11990 elif test -n "$PKG_CONFIG"; then
11991 if test -n "$PKG_CONFIG" && \
11992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11993 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11996 test $ac_status = 0; }; then
11997 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11998 test "x$?" != "x0" && pkg_failed=yes
12005 if test -n "$GLIB_LIBS"; then
12006 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12007 elif test -n "$PKG_CONFIG"; then
12008 if test -n "$PKG_CONFIG" && \
12009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
12010 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
12012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12013 test $ac_status = 0; }; then
12014 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
12015 test "x$?" != "x0" && pkg_failed=yes
12025 if test $pkg_failed = yes; then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12027 $as_echo "no" >&6; }
12029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12030 _pkg_short_errors_supported=yes
12032 _pkg_short_errors_supported=no
12034 if test $_pkg_short_errors_supported = yes; then
12035 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
12037 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
12039 # Put the nasty error message in config.log where it belongs
12040 echo "$GLIB_PKG_ERRORS" >&5
12042 as_fn_error $? "GLib >= 2.28 is required" "$LINENO" 5
12043 elif test $pkg_failed = untried; then
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12045 $as_echo "no" >&6; }
12046 as_fn_error $? "GLib >= 2.28 is required" "$LINENO" 5
12048 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12049 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12051 $as_echo "yes" >&6; }
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12060 $as_echo_n "checking for DBUS... " >&6; }
12062 if test -n "$DBUS_CFLAGS"; then
12063 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12064 elif test -n "$PKG_CONFIG"; then
12065 if test -n "$PKG_CONFIG" && \
12066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.4\""; } >&5
12067 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.4") 2>&5
12069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12070 test $ac_status = 0; }; then
12071 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.4" 2>/dev/null`
12072 test "x$?" != "x0" && pkg_failed=yes
12079 if test -n "$DBUS_LIBS"; then
12080 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12081 elif test -n "$PKG_CONFIG"; then
12082 if test -n "$PKG_CONFIG" && \
12083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.4\""; } >&5
12084 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.4") 2>&5
12086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12087 test $ac_status = 0; }; then
12088 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.4" 2>/dev/null`
12089 test "x$?" != "x0" && pkg_failed=yes
12099 if test $pkg_failed = yes; then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12104 _pkg_short_errors_supported=yes
12106 _pkg_short_errors_supported=no
12108 if test $_pkg_short_errors_supported = yes; then
12109 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.4" 2>&1`
12111 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.4" 2>&1`
12113 # Put the nasty error message in config.log where it belongs
12114 echo "$DBUS_PKG_ERRORS" >&5
12116 as_fn_error $? "D-Bus >= 1.4 is required" "$LINENO" 5
12117 elif test $pkg_failed = untried; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12119 $as_echo "no" >&6; }
12120 as_fn_error $? "D-Bus >= 1.4 is required" "$LINENO" 5
12122 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12123 DBUS_LIBS=$pkg_cv_DBUS_LIBS
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12125 $as_echo "yes" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLUEZ" >&5
12134 $as_echo_n "checking for BLUEZ... " >&6; }
12136 if test -n "$BLUEZ_CFLAGS"; then
12137 pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
12138 elif test -n "$PKG_CONFIG"; then
12139 if test -n "$PKG_CONFIG" && \
12140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez >= 4.100\""; } >&5
12141 ($PKG_CONFIG --exists --print-errors "bluez >= 4.100") 2>&5
12143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12144 test $ac_status = 0; }; then
12145 pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez >= 4.100" 2>/dev/null`
12146 test "x$?" != "x0" && pkg_failed=yes
12153 if test -n "$BLUEZ_LIBS"; then
12154 pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
12155 elif test -n "$PKG_CONFIG"; then
12156 if test -n "$PKG_CONFIG" && \
12157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez >= 4.100\""; } >&5
12158 ($PKG_CONFIG --exists --print-errors "bluez >= 4.100") 2>&5
12160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12161 test $ac_status = 0; }; then
12162 pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs "bluez >= 4.100" 2>/dev/null`
12163 test "x$?" != "x0" && pkg_failed=yes
12173 if test $pkg_failed = yes; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12175 $as_echo "no" >&6; }
12177 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12178 _pkg_short_errors_supported=yes
12180 _pkg_short_errors_supported=no
12182 if test $_pkg_short_errors_supported = yes; then
12183 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bluez >= 4.100" 2>&1`
12185 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bluez >= 4.100" 2>&1`
12187 # Put the nasty error message in config.log where it belongs
12188 echo "$BLUEZ_PKG_ERRORS" >&5
12190 as_fn_error $? "BlueZ >= 4.100 is required" "$LINENO" 5
12191 elif test $pkg_failed = untried; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12194 as_fn_error $? "BlueZ >= 4.100 is required" "$LINENO" 5
12196 BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
12197 BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12199 $as_echo "yes" >&6; }
12205 # Check whether --enable-optimization was given.
12206 if test "${enable_optimization+set}" = set; then :
12207 enableval=$enable_optimization;
12208 if (test "${enableval}" = "no"); then
12209 CFLAGS="$CFLAGS -O0"
12215 # Check whether --enable-debug was given.
12216 if test "${enable_debug+set}" = set; then :
12217 enableval=$enable_debug;
12218 if (test "${enableval}" = "yes" && test "${ac_cv_prog_cc_g}" = "yes"); then
12219 CFLAGS="$CFLAGS -g"
12225 messages_driver=dummy
12227 # Check whether --with-messages was given.
12228 if test "${with_messages+set}" = set; then :
12229 withval=$with_messages;
12230 if (test "${withval}" = "no"); then
12231 messages_driver=dummy;
12233 messages_driver=${withval};
12239 MESSAGES_DRIVER=messages-${messages_driver}.c
12242 phonebook_driver=dummy
12244 # Check whether --with-phonebook was given.
12245 if test "${with_phonebook+set}" = set; then :
12246 withval=$with_phonebook;
12247 if (test "${withval}" = "no"); then
12248 phonebook_driver=dummy;
12250 phonebook_driver=${withval};
12256 if (test "${phonebook_driver}" = "dummy"); then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
12260 $as_echo_n "checking for LIBICAL... " >&6; }
12262 if test -n "$LIBICAL_CFLAGS"; then
12263 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
12264 elif test -n "$PKG_CONFIG"; then
12265 if test -n "$PKG_CONFIG" && \
12266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
12267 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
12269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12270 test $ac_status = 0; }; then
12271 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libical" 2>/dev/null`
12272 test "x$?" != "x0" && pkg_failed=yes
12279 if test -n "$LIBICAL_LIBS"; then
12280 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
12281 elif test -n "$PKG_CONFIG"; then
12282 if test -n "$PKG_CONFIG" && \
12283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
12284 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
12286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12287 test $ac_status = 0; }; then
12288 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libical" 2>/dev/null`
12289 test "x$?" != "x0" && pkg_failed=yes
12299 if test $pkg_failed = yes; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12301 $as_echo "no" >&6; }
12303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12304 _pkg_short_errors_supported=yes
12306 _pkg_short_errors_supported=no
12308 if test $_pkg_short_errors_supported = yes; then
12309 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical" 2>&1`
12311 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical" 2>&1`
12313 # Put the nasty error message in config.log where it belongs
12314 echo "$LIBICAL_PKG_ERRORS" >&5
12316 as_fn_error $? "libical is required" "$LINENO" 5
12317 elif test $pkg_failed = untried; then
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 $as_echo "no" >&6; }
12320 as_fn_error $? "libical is required" "$LINENO" 5
12322 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
12323 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12325 $as_echo "yes" >&6; }
12332 if (test "${phonebook_driver}" = "ebook"); then
12334 $as_echo "#define NEED_THREADS 1" >>confdefs.h
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK" >&5
12340 $as_echo_n "checking for EBOOK... " >&6; }
12342 if test -n "$EBOOK_CFLAGS"; then
12343 pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
12344 elif test -n "$PKG_CONFIG"; then
12345 if test -n "$PKG_CONFIG" && \
12346 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
12347 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
12349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12350 test $ac_status = 0; }; then
12351 pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
12352 test "x$?" != "x0" && pkg_failed=yes
12359 if test -n "$EBOOK_LIBS"; then
12360 pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
12361 elif test -n "$PKG_CONFIG"; then
12362 if test -n "$PKG_CONFIG" && \
12363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
12364 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
12366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12367 test $ac_status = 0; }; then
12368 pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
12369 test "x$?" != "x0" && pkg_failed=yes
12379 if test $pkg_failed = yes; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12381 $as_echo "no" >&6; }
12383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12384 _pkg_short_errors_supported=yes
12386 _pkg_short_errors_supported=no
12388 if test $_pkg_short_errors_supported = yes; then
12389 EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2" 2>&1`
12391 EBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2" 2>&1`
12393 # Put the nasty error message in config.log where it belongs
12394 echo "$EBOOK_PKG_ERRORS" >&5
12396 as_fn_error $? "libebook is required" "$LINENO" 5
12397 elif test $pkg_failed = untried; then
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 $as_echo "no" >&6; }
12400 as_fn_error $? "libebook is required" "$LINENO" 5
12402 EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
12403 EBOOK_LIBS=$pkg_cv_EBOOK_LIBS
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12405 $as_echo "yes" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
12414 $as_echo_n "checking for GTHREAD... " >&6; }
12416 if test -n "$GTHREAD_CFLAGS"; then
12417 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
12418 elif test -n "$PKG_CONFIG"; then
12419 if test -n "$PKG_CONFIG" && \
12420 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
12421 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
12423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12424 test $ac_status = 0; }; then
12425 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
12426 test "x$?" != "x0" && pkg_failed=yes
12433 if test -n "$GTHREAD_LIBS"; then
12434 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
12435 elif test -n "$PKG_CONFIG"; then
12436 if test -n "$PKG_CONFIG" && \
12437 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
12438 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
12440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12441 test $ac_status = 0; }; then
12442 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
12443 test "x$?" != "x0" && pkg_failed=yes
12453 if test $pkg_failed = yes; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12455 $as_echo "no" >&6; }
12457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12458 _pkg_short_errors_supported=yes
12460 _pkg_short_errors_supported=no
12462 if test $_pkg_short_errors_supported = yes; then
12463 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
12465 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
12467 # Put the nasty error message in config.log where it belongs
12468 echo "$GTHREAD_PKG_ERRORS" >&5
12470 as_fn_error $? "libgthread is required" "$LINENO" 5
12471 elif test $pkg_failed = untried; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473 $as_echo "no" >&6; }
12474 as_fn_error $? "libgthread is required" "$LINENO" 5
12476 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
12477 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12479 $as_echo "yes" >&6; }
12486 if (test "${phonebook_driver}" = "tracker"); then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TRACKER_09" >&5
12490 $as_echo_n "checking for TRACKER_09... " >&6; }
12492 if test -n "$TRACKER_09_CFLAGS"; then
12493 pkg_cv_TRACKER_09_CFLAGS="$TRACKER_09_CFLAGS"
12494 elif test -n "$PKG_CONFIG"; then
12495 if test -n "$PKG_CONFIG" && \
12496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.9\""; } >&5
12497 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.9") 2>&5
12499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12500 test $ac_status = 0; }; then
12501 pkg_cv_TRACKER_09_CFLAGS=`$PKG_CONFIG --cflags "tracker-sparql-0.9" 2>/dev/null`
12502 test "x$?" != "x0" && pkg_failed=yes
12509 if test -n "$TRACKER_09_LIBS"; then
12510 pkg_cv_TRACKER_09_LIBS="$TRACKER_09_LIBS"
12511 elif test -n "$PKG_CONFIG"; then
12512 if test -n "$PKG_CONFIG" && \
12513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.9\""; } >&5
12514 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.9") 2>&5
12516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12517 test $ac_status = 0; }; then
12518 pkg_cv_TRACKER_09_LIBS=`$PKG_CONFIG --libs "tracker-sparql-0.9" 2>/dev/null`
12519 test "x$?" != "x0" && pkg_failed=yes
12529 if test $pkg_failed = yes; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12534 _pkg_short_errors_supported=yes
12536 _pkg_short_errors_supported=no
12538 if test $_pkg_short_errors_supported = yes; then
12539 TRACKER_09_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-sparql-0.9" 2>&1`
12541 TRACKER_09_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-sparql-0.9" 2>&1`
12543 # Put the nasty error message in config.log where it belongs
12544 echo "$TRACKER_09_PKG_ERRORS" >&5
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TRACKER_10" >&5
12550 $as_echo_n "checking for TRACKER_10... " >&6; }
12552 if test -n "$TRACKER_10_CFLAGS"; then
12553 pkg_cv_TRACKER_10_CFLAGS="$TRACKER_10_CFLAGS"
12554 elif test -n "$PKG_CONFIG"; then
12555 if test -n "$PKG_CONFIG" && \
12556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.10\""; } >&5
12557 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.10") 2>&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12560 test $ac_status = 0; }; then
12561 pkg_cv_TRACKER_10_CFLAGS=`$PKG_CONFIG --cflags "tracker-sparql-0.10" 2>/dev/null`
12562 test "x$?" != "x0" && pkg_failed=yes
12569 if test -n "$TRACKER_10_LIBS"; then
12570 pkg_cv_TRACKER_10_LIBS="$TRACKER_10_LIBS"
12571 elif test -n "$PKG_CONFIG"; then
12572 if test -n "$PKG_CONFIG" && \
12573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.10\""; } >&5
12574 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.10") 2>&5
12576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12577 test $ac_status = 0; }; then
12578 pkg_cv_TRACKER_10_LIBS=`$PKG_CONFIG --libs "tracker-sparql-0.10" 2>/dev/null`
12579 test "x$?" != "x0" && pkg_failed=yes
12589 if test $pkg_failed = yes; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 $as_echo "no" >&6; }
12593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12594 _pkg_short_errors_supported=yes
12596 _pkg_short_errors_supported=no
12598 if test $_pkg_short_errors_supported = yes; then
12599 TRACKER_10_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-sparql-0.10" 2>&1`
12601 TRACKER_10_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-sparql-0.10" 2>&1`
12603 # Put the nasty error message in config.log where it belongs
12604 echo "$TRACKER_10_PKG_ERRORS" >&5
12606 as_fn_error $? "libtracker-sparql is required" "$LINENO" 5
12607 elif test $pkg_failed = untried; then
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12609 $as_echo "no" >&6; }
12610 as_fn_error $? "libtracker-sparql is required" "$LINENO" 5
12612 TRACKER_10_CFLAGS=$pkg_cv_TRACKER_10_CFLAGS
12613 TRACKER_10_LIBS=$pkg_cv_TRACKER_10_LIBS
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12615 $as_echo "yes" >&6; }
12617 TRACKER_CFLAGS=${TRACKER_10_CFLAGS}
12618 TRACKER_LIBS=${TRACKER_10_LIBS}
12621 elif test $pkg_failed = untried; then
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12623 $as_echo "no" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TRACKER_10" >&5
12628 $as_echo_n "checking for TRACKER_10... " >&6; }
12630 if test -n "$TRACKER_10_CFLAGS"; then
12631 pkg_cv_TRACKER_10_CFLAGS="$TRACKER_10_CFLAGS"
12632 elif test -n "$PKG_CONFIG"; then
12633 if test -n "$PKG_CONFIG" && \
12634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.10\""; } >&5
12635 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.10") 2>&5
12637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12638 test $ac_status = 0; }; then
12639 pkg_cv_TRACKER_10_CFLAGS=`$PKG_CONFIG --cflags "tracker-sparql-0.10" 2>/dev/null`
12640 test "x$?" != "x0" && pkg_failed=yes
12647 if test -n "$TRACKER_10_LIBS"; then
12648 pkg_cv_TRACKER_10_LIBS="$TRACKER_10_LIBS"
12649 elif test -n "$PKG_CONFIG"; then
12650 if test -n "$PKG_CONFIG" && \
12651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.10\""; } >&5
12652 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.10") 2>&5
12654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12655 test $ac_status = 0; }; then
12656 pkg_cv_TRACKER_10_LIBS=`$PKG_CONFIG --libs "tracker-sparql-0.10" 2>/dev/null`
12657 test "x$?" != "x0" && pkg_failed=yes
12667 if test $pkg_failed = yes; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669 $as_echo "no" >&6; }
12671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12672 _pkg_short_errors_supported=yes
12674 _pkg_short_errors_supported=no
12676 if test $_pkg_short_errors_supported = yes; then
12677 TRACKER_10_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-sparql-0.10" 2>&1`
12679 TRACKER_10_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-sparql-0.10" 2>&1`
12681 # Put the nasty error message in config.log where it belongs
12682 echo "$TRACKER_10_PKG_ERRORS" >&5
12684 as_fn_error $? "libtracker-sparql is required" "$LINENO" 5
12685 elif test $pkg_failed = untried; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12687 $as_echo "no" >&6; }
12688 as_fn_error $? "libtracker-sparql is required" "$LINENO" 5
12690 TRACKER_10_CFLAGS=$pkg_cv_TRACKER_10_CFLAGS
12691 TRACKER_10_LIBS=$pkg_cv_TRACKER_10_LIBS
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12693 $as_echo "yes" >&6; }
12695 TRACKER_CFLAGS=${TRACKER_10_CFLAGS}
12696 TRACKER_LIBS=${TRACKER_10_LIBS}
12700 TRACKER_09_CFLAGS=$pkg_cv_TRACKER_09_CFLAGS
12701 TRACKER_09_LIBS=$pkg_cv_TRACKER_09_LIBS
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12703 $as_echo "yes" >&6; }
12705 TRACKER_CFLAGS=${TRACKER_09_CFLAGS}
12706 TRACKER_LIBS=${TRACKER_09_LIBS}
12713 PHONEBOOK_DRIVER=phonebook-${phonebook_driver}.c
12716 # Check whether --enable-usb was given.
12717 if test "${enable_usb+set}" = set; then :
12718 enableval=$enable_usb;
12719 enable_usb=${enableval}
12723 if test "${enable_usb}" = "yes"; then
12732 # Check whether --enable-pcsuite was given.
12733 if test "${enable_pcsuite+set}" = set; then :
12734 enableval=$enable_pcsuite;
12735 enable_pcsuite=${enableval}
12739 if test "${enable_pcsuite}" = "yes"; then
12740 NOKIA_PCSUITE_TRUE=
12741 NOKIA_PCSUITE_FALSE='#'
12743 NOKIA_PCSUITE_TRUE='#'
12744 NOKIA_PCSUITE_FALSE=
12748 # Check whether --enable-server was given.
12749 if test "${enable_server+set}" = set; then :
12750 enableval=$enable_server;
12751 enable_server=${enableval}
12755 if test "${enable_server}" != "no"; then
12764 # Check whether --enable-client was given.
12765 if test "${enable_client+set}" = set; then :
12766 enableval=$enable_client;
12767 enable_client=${enableval}
12771 if test "${enable_client}" != "no"; then
12780 if test "${readline_found}" = "yes"; then
12789 ac_config_files="$ac_config_files Makefile"
12791 cat >confcache <<\_ACEOF
12792 # This file is a shell script that caches the results of configure
12793 # tests run on this system so they can be shared between configure
12794 # scripts and configure runs, see configure's option --config-cache.
12795 # It is not useful on other systems. If it contains results you don't
12796 # want to keep, you may remove or edit it.
12798 # config.status only pays attention to the cache file if you give it
12799 # the --recheck option to rerun configure.
12801 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12802 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12803 # following values.
12807 # The following way of writing the cache mishandles newlines in values,
12808 # but we know of no workaround that is simple, portable, and efficient.
12809 # So, we kill variables containing newlines.
12810 # Ultrix sh set writes to stderr and can't be redirected directly,
12811 # and sets the high bit in the cache file unless we assign to the vars.
12813 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12814 eval ac_val=\$$ac_var
12818 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12819 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12822 _ | IFS | as_nl) ;; #(
12823 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12824 *) { eval $ac_var=; unset $ac_var;} ;;
12830 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12831 *${as_nl}ac_space=\ *)
12832 # `set' does not quote correctly, so add quotes: double-quote
12833 # substitution turns \\\\ into \\, and sed turns \\ into \.
12836 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12839 # `set' quotes correctly as required by POSIX, so do not add quotes.
12840 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12849 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12851 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12853 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12854 if test -w "$cache_file"; then
12855 if test "x$cache_file" != "x/dev/null"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12857 $as_echo "$as_me: updating cache $cache_file" >&6;}
12858 if test ! -f "$cache_file" || test -h "$cache_file"; then
12859 cat confcache >"$cache_file"
12861 case $cache_file in #(
12863 mv -f confcache "$cache_file"$$ &&
12864 mv -f "$cache_file"$$ "$cache_file" ;; #(
12866 mv -f confcache "$cache_file" ;;
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12872 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12877 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12878 # Let make expand exec_prefix.
12879 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12881 DEFS=-DHAVE_CONFIG_H
12886 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12887 # 1. Remove the extension, and $U if already installed.
12888 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12889 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12890 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12891 # will be set to the directory where LIBOBJS objects are built.
12892 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12893 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12895 LIBOBJS=$ac_libobjs
12897 LTLIBOBJS=$ac_ltlibobjs
12900 if test -n "$EXEEXT"; then
12902 am__EXEEXT_FALSE='#'
12904 am__EXEEXT_TRUE='#'
12908 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12909 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12912 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12913 as_fn_error $? "conditional \"AMDEP\" was never defined.
12914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12916 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12917 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12920 if test -z "${USB_TRUE}" && test -z "${USB_FALSE}"; then
12921 as_fn_error $? "conditional \"USB\" was never defined.
12922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12924 if test -z "${NOKIA_PCSUITE_TRUE}" && test -z "${NOKIA_PCSUITE_FALSE}"; then
12925 as_fn_error $? "conditional \"NOKIA_PCSUITE\" was never defined.
12926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12928 if test -z "${SERVER_TRUE}" && test -z "${SERVER_FALSE}"; then
12929 as_fn_error $? "conditional \"SERVER\" was never defined.
12930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12932 if test -z "${CLIENT_TRUE}" && test -z "${CLIENT_FALSE}"; then
12933 as_fn_error $? "conditional \"CLIENT\" was never defined.
12934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12936 if test -z "${READLINE_TRUE}" && test -z "${READLINE_FALSE}"; then
12937 as_fn_error $? "conditional \"READLINE\" was never defined.
12938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12941 : "${CONFIG_STATUS=./config.status}"
12943 ac_clean_files_save=$ac_clean_files
12944 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12946 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12948 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12950 # Generated by $as_me.
12951 # Run this file to recreate the current configuration.
12952 # Compiler output produced by configure, useful for debugging
12953 # configure, is in config.log if it exists.
12956 ac_cs_recheck=false
12959 SHELL=\${CONFIG_SHELL-$SHELL}
12962 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12963 ## -------------------- ##
12964 ## M4sh Initialization. ##
12965 ## -------------------- ##
12967 # Be more Bourne compatible
12968 DUALCASE=1; export DUALCASE # for MKS sh
12969 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12972 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12973 # is contrary to our usage. Disable this feature.
12974 alias -g '${1+"$@"}'='"$@"'
12975 setopt NO_GLOB_SUBST
12977 case `(set -o) 2>/dev/null` in #(
12989 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12990 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12991 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12992 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12993 # Prefer a ksh shell builtin over an external printf program on Solaris,
12994 # but without wasting forks for bash or zsh.
12995 if test -z "$BASH_VERSION$ZSH_VERSION" \
12996 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12997 as_echo='print -r --'
12998 as_echo_n='print -rn --'
12999 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13000 as_echo='printf %s\n'
13001 as_echo_n='printf %s'
13003 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13004 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13005 as_echo_n='/usr/ucb/echo -n'
13007 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13008 as_echo_n_body='eval
13012 expr "X$arg" : "X\\(.*\\)$as_nl";
13013 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13015 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13017 export as_echo_n_body
13018 as_echo_n='sh -c $as_echo_n_body as_echo'
13020 export as_echo_body
13021 as_echo='sh -c $as_echo_body as_echo'
13024 # The user is always right.
13025 if test "${PATH_SEPARATOR+set}" != set; then
13027 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13028 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13035 # We need space, tab and new line, in precisely that order. Quoting is
13036 # there to prevent editors from complaining about space-tab.
13037 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13038 # splitting by setting IFS to empty value.)
13041 # Find who we are. Look in the path if we contain no directory separator.
13044 *[\\/]* ) as_myself=$0 ;;
13045 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13046 for as_dir in $PATH
13049 test -z "$as_dir" && as_dir=.
13050 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13056 # We did not find ourselves, most probably we were run as `sh COMMAND'
13057 # in which case we are not to be found in the path.
13058 if test "x$as_myself" = x; then
13061 if test ! -f "$as_myself"; then
13062 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13066 # Unset variables that we do not need and which cause bugs (e.g. in
13067 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13068 # suppresses any "Segmentation fault" message there. '((' could
13069 # trigger a bug in pdksh 5.2.14.
13070 for as_var in BASH_ENV ENV MAIL MAILPATH
13071 do eval test x\${$as_var+set} = xset \
13072 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13085 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13088 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13089 # ----------------------------------------
13090 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13091 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13092 # script with STATUS, using 1 if that was 0.
13095 as_status=$1; test $as_status -eq 0 && as_status=1
13097 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13098 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13100 $as_echo "$as_me: error: $2" >&2
13101 as_fn_exit $as_status
13105 # as_fn_set_status STATUS
13106 # -----------------------
13107 # Set $? to STATUS, without forking.
13108 as_fn_set_status ()
13111 } # as_fn_set_status
13113 # as_fn_exit STATUS
13114 # -----------------
13115 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13119 as_fn_set_status $1
13125 # Portably unset VAR.
13128 { eval $1=; unset $1;}
13130 as_unset=as_fn_unset
13131 # as_fn_append VAR VALUE
13132 # ----------------------
13133 # Append the text in VALUE to the end of the definition contained in VAR. Take
13134 # advantage of any shell optimizations that allow amortized linear growth over
13135 # repeated appends, instead of the typical quadratic growth present in naive
13137 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13138 eval 'as_fn_append ()
13149 # as_fn_arith ARG...
13150 # ------------------
13151 # Perform arithmetic evaluation on the ARGs, and store the result in the
13152 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13153 # must be portable across $(()) and expr.
13154 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13155 eval 'as_fn_arith ()
13162 as_val=`expr "$@" || test $? -eq 1`
13167 if expr a : '\(a\)' >/dev/null 2>&1 &&
13168 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13174 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13175 as_basename=basename
13180 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13186 as_me=`$as_basename -- "$0" ||
13187 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13188 X"$0" : 'X\(//\)$' \| \
13189 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13191 sed '/^.*\/\([^/][^/]*\)\/*$/{
13205 # Avoid depending upon Character Ranges.
13206 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13207 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13208 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13209 as_cr_digits='0123456789'
13210 as_cr_alnum=$as_cr_Letters$as_cr_digits
13212 ECHO_C= ECHO_N= ECHO_T=
13213 case `echo -n x` in #(((((
13215 case `echo 'xy\c'` in
13216 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13218 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13225 rm -f conf$$ conf$$.exe conf$$.file
13226 if test -d conf$$.dir; then
13227 rm -f conf$$.dir/conf$$.file
13230 mkdir conf$$.dir 2>/dev/null
13232 if (echo >conf$$.file) 2>/dev/null; then
13233 if ln -s conf$$.file conf$$ 2>/dev/null; then
13235 # ... but there are two gotchas:
13236 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13237 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13238 # In both cases, we have to default to `cp -pR'.
13239 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13241 elif ln conf$$.file conf$$ 2>/dev/null; then
13249 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13250 rmdir conf$$.dir 2>/dev/null
13255 # Create "$as_dir" as a directory, including parents if necessary.
13260 -*) as_dir=./$as_dir;;
13262 test -d "$as_dir" || eval $as_mkdir_p || {
13266 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13267 *) as_qdir=$as_dir;;
13269 as_dirs="'$as_qdir' $as_dirs"
13270 as_dir=`$as_dirname -- "$as_dir" ||
13271 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13272 X"$as_dir" : 'X\(//\)[^/]' \| \
13273 X"$as_dir" : 'X\(//\)$' \| \
13274 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13275 $as_echo X"$as_dir" |
13276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13280 /^X\(\/\/\)[^/].*/{
13293 test -d "$as_dir" && break
13295 test -z "$as_dirs" || eval "mkdir $as_dirs"
13296 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13300 if mkdir -p . 2>/dev/null; then
13301 as_mkdir_p='mkdir -p "$as_dir"'
13303 test -d ./-p && rmdir ./-p
13308 # as_fn_executable_p FILE
13309 # -----------------------
13310 # Test if FILE is an executable regular file.
13311 as_fn_executable_p ()
13313 test -f "$1" && test -x "$1"
13314 } # as_fn_executable_p
13315 as_test_x='test -x'
13316 as_executable_p=as_fn_executable_p
13318 # Sed expression to map a string onto a valid CPP name.
13319 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13321 # Sed expression to map a string onto a valid variable name.
13322 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13326 ## ----------------------------------- ##
13327 ## Main body of $CONFIG_STATUS script. ##
13328 ## ----------------------------------- ##
13330 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13333 # Save the log message, to keep $0 and so on meaningful, and to
13334 # report actual input values of CONFIG_FILES etc. instead of their
13335 # values after options handling.
13337 This file was extended by obexd $as_me 0.48, which was
13338 generated by GNU Autoconf 2.69. Invocation command line was
13340 CONFIG_FILES = $CONFIG_FILES
13341 CONFIG_HEADERS = $CONFIG_HEADERS
13342 CONFIG_LINKS = $CONFIG_LINKS
13343 CONFIG_COMMANDS = $CONFIG_COMMANDS
13346 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13351 case $ac_config_files in *"
13352 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13355 case $ac_config_headers in *"
13356 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13361 # Files that config.status was made for.
13362 config_files="$ac_config_files"
13363 config_headers="$ac_config_headers"
13364 config_commands="$ac_config_commands"
13368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13370 \`$as_me' instantiates files and other configuration actions
13371 from templates according to the current configuration. Unless the files
13372 and actions are specified as TAGs, all are instantiated by default.
13374 Usage: $0 [OPTION]... [TAG]...
13376 -h, --help print this help, then exit
13377 -V, --version print version number and configuration settings, then exit
13378 --config print configuration, then exit
13379 -q, --quiet, --silent
13380 do not print progress messages
13381 -d, --debug don't remove temporary files
13382 --recheck update $as_me by reconfiguring in the same conditions
13383 --file=FILE[:TEMPLATE]
13384 instantiate the configuration file FILE
13385 --header=FILE[:TEMPLATE]
13386 instantiate the configuration header FILE
13388 Configuration files:
13391 Configuration headers:
13394 Configuration commands:
13397 Report bugs to the package provider."
13400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13401 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13403 obexd config.status 0.48
13404 configured by $0, generated by GNU Autoconf 2.69,
13405 with options \\"\$ac_cs_config\\"
13407 Copyright (C) 2012 Free Software Foundation, Inc.
13408 This config.status script is free software; the Free Software Foundation
13409 gives unlimited permission to copy, distribute and modify it."
13416 test -n "\$AWK" || AWK=awk
13419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13420 # The default lists apply if the user does not specify any file.
13426 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13427 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13431 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13443 # Handling of the options.
13444 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13446 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13447 $as_echo "$ac_cs_version"; exit ;;
13448 --config | --confi | --conf | --con | --co | --c )
13449 $as_echo "$ac_cs_config"; exit ;;
13450 --debug | --debu | --deb | --de | --d | -d )
13452 --file | --fil | --fi | --f )
13455 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13456 '') as_fn_error $? "missing file argument" ;;
13458 as_fn_append CONFIG_FILES " '$ac_optarg'"
13459 ac_need_defaults=false;;
13460 --header | --heade | --head | --hea )
13463 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13465 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13466 ac_need_defaults=false;;
13468 # Conflict between --help and --header
13469 as_fn_error $? "ambiguous option: \`$1'
13470 Try \`$0 --help' for more information.";;
13471 --help | --hel | -h )
13472 $as_echo "$ac_cs_usage"; exit ;;
13473 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13474 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13477 # This is an error.
13478 -*) as_fn_error $? "unrecognized option: \`$1'
13479 Try \`$0 --help' for more information." ;;
13481 *) as_fn_append ac_config_targets " $1"
13482 ac_need_defaults=false ;;
13488 ac_configure_extra_args=
13490 if $ac_cs_silent; then
13492 ac_configure_extra_args="$ac_configure_extra_args --silent"
13496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13497 if \$ac_cs_recheck; then
13498 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13500 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13501 CONFIG_SHELL='$SHELL'
13502 export CONFIG_SHELL
13507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13511 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13512 ## Running $as_me. ##
13518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13522 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13525 # The HP-UX ksh and POSIX shell print the target directory to stdout
13526 # if CDPATH is set.
13527 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13529 sed_quote_subst='$sed_quote_subst'
13530 double_quote_subst='$double_quote_subst'
13531 delay_variable_subst='$delay_variable_subst'
13532 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13533 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13534 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13535 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13536 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13537 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13538 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13539 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13540 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13541 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13542 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13543 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13544 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13545 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13546 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13547 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13548 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13549 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13550 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13551 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13552 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13553 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13554 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13555 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13556 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13557 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13558 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13559 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13560 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13561 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13562 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13563 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13564 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13565 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13566 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13567 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13568 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13569 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13570 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13571 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13572 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13573 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13574 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13575 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13576 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13577 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13578 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13579 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13580 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13581 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13582 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13583 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13584 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13585 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13586 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13587 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13588 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"`'
13589 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13590 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13591 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13592 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13593 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13594 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13595 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13596 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13597 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13598 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13599 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13600 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13601 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13602 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13603 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13604 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13605 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13606 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13607 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13608 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13609 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13610 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13611 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13612 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13613 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13614 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13615 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13616 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13617 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13618 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13619 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13620 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13621 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13622 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13623 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13624 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13625 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13626 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13627 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13628 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13629 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13630 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13631 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13632 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13633 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13634 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13635 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13636 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13637 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13638 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13639 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13640 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13641 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13642 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13643 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13644 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13645 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13646 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13647 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13648 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13649 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13650 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13651 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13652 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13653 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13654 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13655 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13656 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13657 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13658 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13659 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13660 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13661 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13664 LTCFLAGS='$LTCFLAGS'
13665 compiler='$compiler_DEFAULT'
13667 # A function that is used when there is no print builtin or printf.
13668 func_fallback_echo ()
13670 eval 'cat <<_LTECHO_EOF
13675 # Quote evaled strings.
13690 deplibs_check_method \
13695 sharedlib_from_linklib_cmd \
13698 archiver_list_spec \
13704 lt_cv_sys_global_symbol_pipe \
13705 lt_cv_sys_global_symbol_to_cdecl \
13706 lt_cv_sys_global_symbol_to_c_name_address \
13707 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13708 nm_file_list_spec \
13709 lt_prog_compiler_no_builtin_flag \
13710 lt_prog_compiler_pic \
13711 lt_prog_compiler_wl \
13712 lt_prog_compiler_static \
13713 lt_cv_prog_compiler_c_o \
13722 export_dynamic_flag_spec \
13723 whole_archive_flag_spec \
13724 compiler_needs_object \
13726 allow_undefined_flag \
13727 no_undefined_flag \
13728 hardcode_libdir_flag_spec \
13729 hardcode_libdir_separator \
13733 variables_saved_for_relink \
13735 library_names_spec \
13737 install_override_mode \
13741 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13742 *[\\\\\\\`\\"\\\$]*)
13743 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13746 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13751 # Double-quote double-evaled strings.
13752 for var in reload_cmds \
13753 old_postinstall_cmds \
13754 old_postuninstall_cmds \
13756 extract_expsyms_cmds \
13757 old_archive_from_new_cmds \
13758 old_archive_from_expsyms_cmds \
13760 archive_expsym_cmds \
13762 module_expsym_cmds \
13763 export_symbols_cmds \
13767 postuninstall_cmds \
13769 sys_lib_search_path_spec \
13770 sys_lib_dlsearch_path_spec; do
13771 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13772 *[\\\\\\\`\\"\\\$]*)
13773 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13776 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13781 ac_aux_dir='$ac_aux_dir'
13782 xsi_shell='$xsi_shell'
13783 lt_shell_append='$lt_shell_append'
13785 # See if we are running on zsh, and set the options which allow our
13786 # commands through without removal of \ escapes INIT.
13787 if test -n "\${ZSH_VERSION+set}" ; then
13788 setopt NO_GLOB_SUBST
13794 TIMESTAMP='$TIMESTAMP'
13803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13805 # Handling of arguments.
13806 for ac_config_target in $ac_config_targets
13808 case $ac_config_target in
13809 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13810 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13811 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13812 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13814 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13819 # If the user did not use the arguments to specify the items to instantiate,
13820 # then the envvar interface is used. Set only those that are not.
13821 # We use the long form for the default assignment because of an extremely
13822 # bizarre bug on SunOS 4.1.3.
13823 if $ac_need_defaults; then
13824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13825 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13826 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13829 # Have a temporary directory for convenience. Make it in the build tree
13830 # simply because there is no reason against having it here, and in addition,
13831 # creating and moving files from /tmp can sometimes cause problems.
13832 # Hook for its removal unless debugging.
13833 # Note that there is a small window in which the directory will not be cleaned:
13834 # after its creation but before its name has been assigned to `$tmp'.
13838 trap 'exit_status=$?
13839 : "${ac_tmp:=$tmp}"
13840 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13842 trap 'as_fn_exit 1' 1 2 13 15
13844 # Create a (secure) tmp directory for tmp files.
13847 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13851 tmp=./conf$$-$RANDOM
13852 (umask 077 && mkdir "$tmp")
13853 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13856 # Set up the scripts for CONFIG_FILES section.
13857 # No need to generate them if there are no CONFIG_FILES.
13858 # This happens for instance with `./config.status config.h'.
13859 if test -n "$CONFIG_FILES"; then
13862 ac_cr=`echo X | tr X '\015'`
13863 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13864 # But we know of no other shell where ac_cr would be empty at this
13865 # point, so we can use a bashism as a fallback.
13866 if test "x$ac_cr" = x; then
13867 eval ac_cr=\$\'\\r\'
13869 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13870 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13873 ac_cs_awk_cr=$ac_cr
13876 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13881 echo "cat >conf$$subs.awk <<_ACEOF" &&
13882 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13884 } >conf$$subs.sh ||
13885 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13886 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13888 for ac_last_try in false false false false false :; do
13889 . ./conf$$subs.sh ||
13890 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13892 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13893 if test $ac_delim_n = $ac_delim_num; then
13895 elif $ac_last_try; then
13896 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13898 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13901 rm -f conf$$subs.sh
13903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13904 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13908 s/^/S["/; s/!.*/"]=/
13918 s/\(.\{148\}\)..*/\1/
13920 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13925 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13932 s/\(.\{148\}\)..*/\1/
13934 s/["\\]/\\&/g; s/^/"/; s/$/"/
13938 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13943 ' <conf$$subs.awk | sed '
13948 ' >>$CONFIG_STATUS || ac_write_fail=1
13949 rm -f conf$$subs.awk
13950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13952 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13953 for (key in S) S_is_set[key] = 1
13959 nfields = split(line, field, "@")
13961 len = length(field[1])
13962 for (i = 2; i < nfields; i++) {
13964 keylen = length(key)
13965 if (S_is_set[key]) {
13967 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13968 len += length(value) + length(field[++i])
13979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13980 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13981 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13984 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13985 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13988 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13989 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13990 # trailing colons and then remove the whole line if VPATH becomes empty
13991 # (actually we leave an empty line to preserve line numbers).
13992 if test "x$srcdir" = x.; then
13993 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14012 fi # test -n "$CONFIG_FILES"
14014 # Set up the scripts for CONFIG_HEADERS section.
14015 # No need to generate them if there are no CONFIG_HEADERS.
14016 # This happens for instance with `./config.status Makefile'.
14017 if test -n "$CONFIG_HEADERS"; then
14018 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14022 # Transform confdefs.h into an awk script `defines.awk', embedded as
14023 # here-document in config.status, that substitutes the proper values into
14024 # config.h.in to produce config.h.
14026 # Create a delimiter string that does not exist in confdefs.h, to ease
14027 # handling of long lines.
14029 for ac_last_try in false false :; do
14030 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14031 if test -z "$ac_tt"; then
14033 elif $ac_last_try; then
14034 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14040 # For the awk script, D is an array of macro values keyed by name,
14041 # likewise P contains macro parameters if any. Preserve backslash
14042 # newline sequences.
14044 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14046 s/.\{148\}/&'"$ac_delim"'/g
14049 s/^[ ]*#[ ]*define[ ][ ]*/ /
14056 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14058 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14062 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14063 D["\1"]=" \3\\\\\\n"\\/p
14065 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14070 s/.\{148\}/&'"$ac_delim"'/g
14075 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14078 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14080 ' <confdefs.h | sed '
14081 s/'"$ac_delim"'/"\\\
14082 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14085 for (key in D) D_is_set[key] = 1
14088 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14090 split(line, arg, " ")
14091 if (arg[1] == "#") {
14095 defundef = substr(arg[1], 2)
14098 split(mac1, mac2, "(") #)
14100 prefix = substr(line, 1, index(line, defundef) - 1)
14101 if (D_is_set[macro]) {
14102 # Preserve the white space surrounding the "#".
14103 print prefix "define", macro P[macro] D[macro]
14106 # Replace #undef with comments. This is necessary, for example,
14107 # in the case of _POSIX_SOURCE, which is predefined and required
14108 # on some systems where configure will not decide to define it.
14109 if (defundef == "undef") {
14110 print "/*", prefix defundef, macro, "*/"
14118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14119 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14120 fi # test -n "$CONFIG_HEADERS"
14123 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14128 :[FHLC]) ac_mode=$ac_tag; continue;;
14130 case $ac_mode$ac_tag in
14132 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14133 :[FH]-) ac_tag=-:-;;
14134 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14151 -) ac_f="$ac_tmp/stdin";;
14152 *) # Look for the file first in the build tree, then in the source tree
14153 # (if the path is not absolute). The absolute path cannot be DOS-style,
14154 # because $ac_f cannot contain `:'.
14158 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14160 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14162 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14163 as_fn_append ac_file_inputs " '$ac_f'"
14166 # Let's still pretend it is `configure' which instantiates (i.e., don't
14167 # use $as_me), people would be surprised to read:
14168 # /* config.h. Generated by config.status. */
14169 configure_input='Generated from '`
14170 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14172 if test x"$ac_file" != x-; then
14173 configure_input="$ac_file. $configure_input"
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14175 $as_echo "$as_me: creating $ac_file" >&6;}
14177 # Neutralize special characters interpreted by sed in replacement strings.
14178 case $configure_input in #(
14179 *\&* | *\|* | *\\* )
14180 ac_sed_conf_input=`$as_echo "$configure_input" |
14181 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14182 *) ac_sed_conf_input=$configure_input;;
14186 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14192 ac_dir=`$as_dirname -- "$ac_file" ||
14193 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14194 X"$ac_file" : 'X\(//\)[^/]' \| \
14195 X"$ac_file" : 'X\(//\)$' \| \
14196 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14197 $as_echo X"$ac_file" |
14198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14202 /^X\(\/\/\)[^/].*/{
14215 as_dir="$ac_dir"; as_fn_mkdir_p
14219 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14221 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14222 # A ".." for each directory in $ac_dir_suffix.
14223 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14224 case $ac_top_builddir_sub in
14225 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14226 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14229 ac_abs_top_builddir=$ac_pwd
14230 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14231 # for backward compatibility:
14232 ac_top_builddir=$ac_top_build_prefix
14235 .) # We are building in place.
14237 ac_top_srcdir=$ac_top_builddir_sub
14238 ac_abs_top_srcdir=$ac_pwd ;;
14239 [\\/]* | ?:[\\/]* ) # Absolute name.
14240 ac_srcdir=$srcdir$ac_dir_suffix;
14241 ac_top_srcdir=$srcdir
14242 ac_abs_top_srcdir=$srcdir ;;
14243 *) # Relative name.
14244 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14245 ac_top_srcdir=$ac_top_build_prefix$srcdir
14246 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14248 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14258 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14259 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14261 ac_MKDIR_P=$MKDIR_P
14263 [\\/$]* | ?:[\\/]* ) ;;
14264 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14269 # If the template does not know about datarootdir, expand it.
14270 # FIXME: This hack should be removed a few years after 2.60.
14271 ac_datarootdir_hack=; ac_datarootdir_seen=
14282 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14283 *datarootdir*) ac_datarootdir_seen=yes;;
14284 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14286 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14289 ac_datarootdir_hack='
14290 s&@datadir@&$datadir&g
14291 s&@docdir@&$docdir&g
14292 s&@infodir@&$infodir&g
14293 s&@localedir@&$localedir&g
14294 s&@mandir@&$mandir&g
14295 s&\\\${datarootdir}&$datarootdir&g' ;;
14299 # Neutralize VPATH when `$srcdir' = `.'.
14300 # Shell code in configure.ac might set extrasub.
14301 # FIXME: do we really want to maintain this feature?
14302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14303 ac_sed_extra="$ac_vpsub
14306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14308 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14309 s|@configure_input@|$ac_sed_conf_input|;t t
14310 s&@top_builddir@&$ac_top_builddir_sub&;t t
14311 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14312 s&@srcdir@&$ac_srcdir&;t t
14313 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14314 s&@top_srcdir@&$ac_top_srcdir&;t t
14315 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14316 s&@builddir@&$ac_builddir&;t t
14317 s&@abs_builddir@&$ac_abs_builddir&;t t
14318 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14319 s&@INSTALL@&$ac_INSTALL&;t t
14320 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14321 $ac_datarootdir_hack
14323 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14324 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14326 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14327 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14328 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14329 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14331 which seems to be undefined. Please make sure it is defined" >&5
14332 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14333 which seems to be undefined. Please make sure it is defined" >&2;}
14335 rm -f "$ac_tmp/stdin"
14337 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14338 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14340 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14346 if test x"$ac_file" != x-; then
14348 $as_echo "/* $configure_input */" \
14349 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14350 } >"$ac_tmp/config.h" \
14351 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14352 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14354 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14357 mv "$ac_tmp/config.h" "$ac_file" \
14358 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14361 $as_echo "/* $configure_input */" \
14362 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14363 || as_fn_error $? "could not create -" "$LINENO" 5
14365 # Compute "$ac_file"'s index in $config_headers.
14368 for _am_header in $config_headers :; do
14369 case $_am_header in
14370 $_am_arg | $_am_arg:* )
14373 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14376 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14377 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14378 X"$_am_arg" : 'X\(//\)[^/]' \| \
14379 X"$_am_arg" : 'X\(//\)$' \| \
14380 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14381 $as_echo X"$_am_arg" |
14382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14386 /^X\(\/\/\)[^/].*/{
14398 s/.*/./; q'`/stamp-h$_am_stamp_count
14401 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14402 $as_echo "$as_me: executing $ac_file commands" >&6;}
14407 case $ac_file$ac_mode in
14408 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14409 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14410 # are listed without --file. Let's play safe and only enable the eval
14411 # if we detect the quoting.
14412 case $CONFIG_FILES in
14413 *\'*) eval set x "$CONFIG_FILES" ;;
14414 *) set x $CONFIG_FILES ;;
14419 # Strip MF so we end up with the name of the file.
14420 mf=`echo "$mf" | sed -e 's/:.*$//'`
14421 # Check whether this is an Automake generated Makefile or not.
14422 # We used to match only the files named `Makefile.in', but
14423 # some people rename them; so instead we look at the file content.
14424 # Grep'ing the first line is not enough: some people post-process
14425 # each Makefile.in and add a new line on top of each file to say so.
14426 # Grep'ing the whole file is not good either: AIX grep has a line
14427 # limit of 2048, but all sed's we know have understand at least 4000.
14428 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14429 dirpart=`$as_dirname -- "$mf" ||
14430 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14431 X"$mf" : 'X\(//\)[^/]' \| \
14432 X"$mf" : 'X\(//\)$' \| \
14433 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14439 /^X\(\/\/\)[^/].*/{
14455 # Extract the definition of DEPDIR, am__include, and am__quote
14456 # from the Makefile without running `make'.
14457 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14458 test -z "$DEPDIR" && continue
14459 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14460 test -z "am__include" && continue
14461 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14462 # When using ansi2knr, U may be empty or an underscore; expand it
14463 U=`sed -n 's/^U = //p' < "$mf"`
14464 # Find all dependency output files, they are included files with
14465 # $(DEPDIR) in their names. We invoke sed twice because it is the
14466 # simplest approach to changing $(DEPDIR) to its actual value in the
14468 for file in `sed -n "
14469 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14470 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14471 # Make sure the directory exists.
14472 test -f "$dirpart/$file" && continue
14473 fdir=`$as_dirname -- "$file" ||
14474 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14475 X"$file" : 'X\(//\)[^/]' \| \
14476 X"$file" : 'X\(//\)$' \| \
14477 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14478 $as_echo X"$file" |
14479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14483 /^X\(\/\/\)[^/].*/{
14496 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14497 # echo "creating $dirpart/$file"
14498 echo '# dummy' > "$dirpart/$file"
14505 # See if we are running on zsh, and set the options which allow our
14506 # commands through without removal of \ escapes.
14507 if test -n "${ZSH_VERSION+set}" ; then
14508 setopt NO_GLOB_SUBST
14511 cfgfile="${ofile}T"
14512 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14515 cat <<_LT_EOF >> "$cfgfile"
14518 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14519 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14520 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14521 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14523 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14524 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14526 # Written by Gordon Matzigkeit, 1996
14528 # This file is part of GNU Libtool.
14530 # GNU Libtool is free software; you can redistribute it and/or
14531 # modify it under the terms of the GNU General Public License as
14532 # published by the Free Software Foundation; either version 2 of
14533 # the License, or (at your option) any later version.
14535 # As a special exception to the GNU General Public License,
14536 # if you distribute this file as part of a program or library that
14537 # is built using GNU Libtool, you may include this file under the
14538 # same distribution terms that you use for the rest of that program.
14540 # GNU Libtool is distributed in the hope that it will be useful,
14541 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14542 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14543 # GNU General Public License for more details.
14545 # You should have received a copy of the GNU General Public License
14546 # along with GNU Libtool; see the file COPYING. If not, a copy
14547 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14548 # obtained by writing to the Free Software Foundation, Inc.,
14549 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14552 # The names of the tagged configurations supported by this script.
14555 # ### BEGIN LIBTOOL CONFIG
14557 # Whether or not to build static libraries.
14558 build_old_libs=$enable_static
14560 # Which release of libtool.m4 was used?
14561 macro_version=$macro_version
14562 macro_revision=$macro_revision
14564 # Whether or not to build shared libraries.
14565 build_libtool_libs=$enable_shared
14567 # What type of objects to build.
14570 # Whether or not to optimize for fast installation.
14571 fast_install=$enable_fast_install
14573 # Shell to use when invoking shell scripts.
14576 # An echo program that protects backslashes.
14579 # The PATH separator for the build system.
14580 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14583 host_alias=$host_alias
14587 # The build system.
14588 build_alias=$build_alias
14592 # A sed program that does not truncate output.
14595 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14596 Xsed="\$SED -e 1s/^X//"
14598 # A grep program that handles long lines.
14604 # A literal string matcher.
14607 # A BSD- or MS-compatible name lister.
14610 # Whether we need soft or hard links.
14613 # What is the maximum length of a command?
14614 max_cmd_len=$max_cmd_len
14616 # Object file suffix (normally "o").
14619 # Executable file suffix (normally "").
14622 # whether the shell understands "unset".
14625 # turn spaces into newlines.
14628 # turn newlines into spaces.
14631 # convert \$build file names to \$host format.
14632 to_host_file_cmd=$lt_cv_to_host_file_cmd
14634 # convert \$build files to toolchain format.
14635 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14637 # An object symbol dumper.
14638 OBJDUMP=$lt_OBJDUMP
14640 # Method to check whether dependent libraries are shared objects.
14641 deplibs_check_method=$lt_deplibs_check_method
14643 # Command to use when deplibs_check_method = "file_magic".
14644 file_magic_cmd=$lt_file_magic_cmd
14646 # How to find potential files when deplibs_check_method = "file_magic".
14647 file_magic_glob=$lt_file_magic_glob
14649 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14650 want_nocaseglob=$lt_want_nocaseglob
14652 # DLL creation program.
14653 DLLTOOL=$lt_DLLTOOL
14655 # Command to associate shared and link libraries.
14656 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14661 # Flags to create an archive.
14662 AR_FLAGS=$lt_AR_FLAGS
14664 # How to feed a file listing to the archiver.
14665 archiver_list_spec=$lt_archiver_list_spec
14667 # A symbol stripping program.
14670 # Commands used to install an old-style archive.
14672 old_postinstall_cmds=$lt_old_postinstall_cmds
14673 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14675 # Whether to use a lock for old archive extraction.
14676 lock_old_archive_extraction=$lock_old_archive_extraction
14681 # LTCC compiler flags.
14682 LTCFLAGS=$lt_CFLAGS
14684 # Take the output of nm and produce a listing of raw symbols and C names.
14685 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14687 # Transform the output of nm in a proper C declaration.
14688 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14690 # Transform the output of nm in a C name address pair.
14691 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14693 # Transform the output of nm in a C name address pair when lib prefix is needed.
14694 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14696 # Specify filename containing input files for \$NM.
14697 nm_file_list_spec=$lt_nm_file_list_spec
14699 # The root where to search for dependent libraries,and in which our libraries should be installed.
14700 lt_sysroot=$lt_sysroot
14702 # The name of the directory that contains temporary libtool files.
14705 # Used to examine libraries when file_magic_cmd begins with "file".
14706 MAGIC_CMD=$MAGIC_CMD
14708 # Must we lock files when doing compilation?
14709 need_locks=$lt_need_locks
14712 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14714 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14715 DSYMUTIL=$lt_DSYMUTIL
14717 # Tool to change global to local symbols on Mac OS X.
14720 # Tool to manipulate fat objects and archives on Mac OS X.
14723 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14726 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14727 OTOOL64=$lt_OTOOL64
14729 # Old archive suffix (normally "a").
14732 # Shared library suffix (normally ".so").
14733 shrext_cmds=$lt_shrext_cmds
14735 # The commands to extract the exported symbol list from a shared archive.
14736 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14738 # Variables whose values should be saved in libtool wrapper scripts and
14739 # restored at link time.
14740 variables_saved_for_relink=$lt_variables_saved_for_relink
14742 # Do we need the "lib" prefix for modules?
14743 need_lib_prefix=$need_lib_prefix
14745 # Do we need a version for libraries?
14746 need_version=$need_version
14748 # Library versioning type.
14749 version_type=$version_type
14751 # Shared library runtime path variable.
14752 runpath_var=$runpath_var
14754 # Shared library path variable.
14755 shlibpath_var=$shlibpath_var
14757 # Is shlibpath searched before the hard-coded library search path?
14758 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14760 # Format of library name prefix.
14761 libname_spec=$lt_libname_spec
14763 # List of archive names. First name is the real one, the rest are links.
14764 # The last name is the one that the linker finds with -lNAME
14765 library_names_spec=$lt_library_names_spec
14767 # The coded name of the library, if different from the real name.
14768 soname_spec=$lt_soname_spec
14770 # Permission mode override for installation of shared libraries.
14771 install_override_mode=$lt_install_override_mode
14773 # Command to use after installation of a shared archive.
14774 postinstall_cmds=$lt_postinstall_cmds
14776 # Command to use after uninstallation of a shared archive.
14777 postuninstall_cmds=$lt_postuninstall_cmds
14779 # Commands used to finish a libtool library installation in a directory.
14780 finish_cmds=$lt_finish_cmds
14782 # As "finish_cmds", except a single script fragment to be evaled but
14784 finish_eval=$lt_finish_eval
14786 # Whether we should hardcode library paths into libraries.
14787 hardcode_into_libs=$hardcode_into_libs
14789 # Compile-time system search path for libraries.
14790 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14792 # Run-time system search path for libraries.
14793 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14795 # Whether dlopen is supported.
14796 dlopen_support=$enable_dlopen
14798 # Whether dlopen of programs is supported.
14799 dlopen_self=$enable_dlopen_self
14801 # Whether dlopen of statically linked programs is supported.
14802 dlopen_self_static=$enable_dlopen_self_static
14804 # Commands to strip libraries.
14805 old_striplib=$lt_old_striplib
14806 striplib=$lt_striplib
14809 # The linker used to build libraries.
14812 # How to create reloadable object files.
14813 reload_flag=$lt_reload_flag
14814 reload_cmds=$lt_reload_cmds
14816 # Commands used to build an old-style archive.
14817 old_archive_cmds=$lt_old_archive_cmds
14819 # A language specific compiler.
14822 # Is the compiler the GNU compiler?
14825 # Compiler flag to turn off builtin functions.
14826 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14828 # Additional compiler flags for building library objects.
14829 pic_flag=$lt_lt_prog_compiler_pic
14831 # How to pass a linker flag through the compiler.
14832 wl=$lt_lt_prog_compiler_wl
14834 # Compiler flag to prevent dynamic linking.
14835 link_static_flag=$lt_lt_prog_compiler_static
14837 # Does compiler simultaneously support -c and -o options?
14838 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14840 # Whether or not to add -lc for building shared libraries.
14841 build_libtool_need_lc=$archive_cmds_need_lc
14843 # Whether or not to disallow shared libs when runtime libs are static.
14844 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14846 # Compiler flag to allow reflexive dlopens.
14847 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14849 # Compiler flag to generate shared objects directly from archives.
14850 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14852 # Whether the compiler copes with passing no objects directly.
14853 compiler_needs_object=$lt_compiler_needs_object
14855 # Create an old-style archive from a shared archive.
14856 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14858 # Create a temporary old-style archive to link instead of a shared archive.
14859 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14861 # Commands used to build a shared archive.
14862 archive_cmds=$lt_archive_cmds
14863 archive_expsym_cmds=$lt_archive_expsym_cmds
14865 # Commands used to build a loadable module if different from building
14866 # a shared archive.
14867 module_cmds=$lt_module_cmds
14868 module_expsym_cmds=$lt_module_expsym_cmds
14870 # Whether we are building with GNU ld or not.
14871 with_gnu_ld=$lt_with_gnu_ld
14873 # Flag that allows shared libraries with undefined symbols to be built.
14874 allow_undefined_flag=$lt_allow_undefined_flag
14876 # Flag that enforces no undefined symbols.
14877 no_undefined_flag=$lt_no_undefined_flag
14879 # Flag to hardcode \$libdir into a binary during linking.
14880 # This must work even if \$libdir does not exist
14881 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14883 # Whether we need a single "-rpath" flag with a separated argument.
14884 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14886 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14887 # DIR into the resulting binary.
14888 hardcode_direct=$hardcode_direct
14890 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14891 # DIR into the resulting binary and the resulting library dependency is
14892 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14893 # library is relocated.
14894 hardcode_direct_absolute=$hardcode_direct_absolute
14896 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14897 # into the resulting binary.
14898 hardcode_minus_L=$hardcode_minus_L
14900 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14901 # into the resulting binary.
14902 hardcode_shlibpath_var=$hardcode_shlibpath_var
14904 # Set to "yes" if building a shared library automatically hardcodes DIR
14905 # into the library and all subsequent libraries and executables linked
14907 hardcode_automatic=$hardcode_automatic
14909 # Set to yes if linker adds runtime paths of dependent libraries
14910 # to runtime path list.
14911 inherit_rpath=$inherit_rpath
14913 # Whether libtool must link a program against all its dependency libraries.
14914 link_all_deplibs=$link_all_deplibs
14916 # Set to "yes" if exported symbols are required.
14917 always_export_symbols=$always_export_symbols
14919 # The commands to list exported symbols.
14920 export_symbols_cmds=$lt_export_symbols_cmds
14922 # Symbols that should not be listed in the preloaded symbols.
14923 exclude_expsyms=$lt_exclude_expsyms
14925 # Symbols that must always be exported.
14926 include_expsyms=$lt_include_expsyms
14928 # Commands necessary for linking programs (against libraries) with templates.
14929 prelink_cmds=$lt_prelink_cmds
14931 # Commands necessary for finishing linking programs.
14932 postlink_cmds=$lt_postlink_cmds
14934 # Specify filename containing input files.
14935 file_list_spec=$lt_file_list_spec
14937 # How to hardcode a shared library path into an executable.
14938 hardcode_action=$hardcode_action
14940 # ### END LIBTOOL CONFIG
14946 cat <<\_LT_EOF >> "$cfgfile"
14947 # AIX sometimes has problems with the GCC collect2 program. For some
14948 # reason, if we set the COLLECT_NAMES environment variable, the problems
14949 # vanish in a puff of smoke.
14950 if test "X${COLLECT_NAMES+set}" != Xset; then
14952 export COLLECT_NAMES
14959 ltmain="$ac_aux_dir/ltmain.sh"
14962 # We use sed instead of cat because bash on DJGPP gets confused if
14963 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14964 # text mode, it properly converts lines to CR/LF. This bash problem
14965 # is reportedly fixed, but why not run on old versions too?
14966 sed '$q' "$ltmain" >> "$cfgfile" \
14967 || (rm -f "$cfgfile"; exit 1)
14969 if test x"$xsi_shell" = xyes; then
14970 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14974 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14975 \ * ) func_dirname_result="${3}" ;;\
14977 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14978 && mv -f "$cfgfile.tmp" "$cfgfile" \
14979 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14980 test 0 -eq $? || _lt_function_replace_fail=:
14983 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14986 \ func_basename_result="${1##*/}"\
14987 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14988 && mv -f "$cfgfile.tmp" "$cfgfile" \
14989 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14990 test 0 -eq $? || _lt_function_replace_fail=:
14993 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14994 func_dirname_and_basename ()\
14997 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14998 \ * ) func_dirname_result="${3}" ;;\
15000 \ func_basename_result="${1##*/}"\
15001 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15002 && mv -f "$cfgfile.tmp" "$cfgfile" \
15003 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15004 test 0 -eq $? || _lt_function_replace_fail=:
15007 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15010 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15011 \ # positional parameters, so assign one to ordinary parameter first.\
15012 \ func_stripname_result=${3}\
15013 \ func_stripname_result=${func_stripname_result#"${1}"}\
15014 \ func_stripname_result=${func_stripname_result%"${2}"}\
15015 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15016 && mv -f "$cfgfile.tmp" "$cfgfile" \
15017 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15018 test 0 -eq $? || _lt_function_replace_fail=:
15021 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15022 func_split_long_opt ()\
15024 \ func_split_long_opt_name=${1%%=*}\
15025 \ func_split_long_opt_arg=${1#*=}\
15026 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15027 && mv -f "$cfgfile.tmp" "$cfgfile" \
15028 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15029 test 0 -eq $? || _lt_function_replace_fail=:
15032 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15033 func_split_short_opt ()\
15035 \ func_split_short_opt_arg=${1#??}\
15036 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15037 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15038 && mv -f "$cfgfile.tmp" "$cfgfile" \
15039 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15040 test 0 -eq $? || _lt_function_replace_fail=:
15043 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15047 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15048 \ *) func_lo2o_result=${1} ;;\
15050 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15051 && mv -f "$cfgfile.tmp" "$cfgfile" \
15052 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15053 test 0 -eq $? || _lt_function_replace_fail=:
15056 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15059 func_xform_result=${1%.*}.lo\
15060 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15061 && mv -f "$cfgfile.tmp" "$cfgfile" \
15062 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15063 test 0 -eq $? || _lt_function_replace_fail=:
15066 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15069 func_arith_result=$(( $* ))\
15070 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15071 && mv -f "$cfgfile.tmp" "$cfgfile" \
15072 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15073 test 0 -eq $? || _lt_function_replace_fail=:
15076 sed -e '/^func_len ()$/,/^} # func_len /c\
15079 func_len_result=${#1}\
15080 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15081 && mv -f "$cfgfile.tmp" "$cfgfile" \
15082 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15083 test 0 -eq $? || _lt_function_replace_fail=:
15087 if test x"$lt_shell_append" = xyes; then
15088 sed -e '/^func_append ()$/,/^} # func_append /c\
15091 eval "${1}+=\\${2}"\
15092 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15093 && mv -f "$cfgfile.tmp" "$cfgfile" \
15094 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15095 test 0 -eq $? || _lt_function_replace_fail=:
15098 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15099 func_append_quoted ()\
15101 \ func_quote_for_eval "${2}"\
15102 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15103 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15104 && mv -f "$cfgfile.tmp" "$cfgfile" \
15105 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15106 test 0 -eq $? || _lt_function_replace_fail=:
15109 # Save a `func_append' function call where possible by direct use of '+='
15110 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15111 && mv -f "$cfgfile.tmp" "$cfgfile" \
15112 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15113 test 0 -eq $? || _lt_function_replace_fail=:
15115 # Save a `func_append' function call even when '+=' is not available
15116 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15117 && mv -f "$cfgfile.tmp" "$cfgfile" \
15118 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15119 test 0 -eq $? || _lt_function_replace_fail=:
15122 if test x"$_lt_function_replace_fail" = x":"; then
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15124 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15128 mv -f "$cfgfile" "$ofile" ||
15129 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15140 ac_clean_files=$ac_clean_files_save
15142 test $ac_write_fail = 0 ||
15143 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15146 # configure is writing to config.log, and then calls config.status.
15147 # config.status does its own redirection, appending to config.log.
15148 # Unfortunately, on DOS this fails, as config.log is still kept open
15149 # by configure, so config.status won't be able to write to it; its
15150 # output is simply discarded. So we exec the FD to /dev/null,
15151 # effectively closing config.log, so it can be properly (re)opened and
15152 # appended to by config.status. When coming back to configure, we
15153 # need to make the FD available again.
15154 if test "$no_create" != yes; then
15156 ac_config_status_args=
15157 test "$silent" = yes &&
15158 ac_config_status_args="$ac_config_status_args --quiet"
15160 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15162 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15163 # would make configure fail if this is the last instruction.
15164 $ac_cs_success || as_fn_exit 1
15166 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15168 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}