2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for weekeyboard 0.0.2.
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.
588 PACKAGE_NAME='weekeyboard'
589 PACKAGE_TARNAME='weekeyboard'
590 PACKAGE_VERSION='0.0.2'
591 PACKAGE_STRING='weekeyboard 0.0.2'
595 # Factoring default headers for most tests.
596 ac_includes_default="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars='am__EXEEXT_FALSE
639 WAYLAND_SCANNER_CFLAGS
710 INSTALL_STRIP_PROGRAM
756 program_transform_name
767 ac_subst_files='wayland_scanner_rules'
769 enable_option_checking
771 enable_dependency_tracking
781 ac_precious_vars='build_alias
799 WAYLAND_SCANNER_CFLAGS
800 WAYLAND_SCANNER_LIBS'
803 # Initialize some variables set by options.
805 ac_init_version=false
806 ac_unrecognized_opts=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name=s,x,x,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir='${exec_prefix}/bin'
832 sbindir='${exec_prefix}/sbin'
833 libexecdir='${exec_prefix}/libexec'
834 datarootdir='${prefix}/share'
835 datadir='${datarootdir}'
836 sysconfdir='${prefix}/etc'
837 sharedstatedir='${prefix}/com'
838 localstatedir='${prefix}/var'
839 includedir='${prefix}/include'
840 oldincludedir='/usr/include'
841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir='${datarootdir}/info'
847 libdir='${exec_prefix}/lib'
848 localedir='${datarootdir}/locale'
849 mandir='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\$ac_option
863 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868 # Accept the important Cygnus configure options, so we can diagnose typos.
870 case $ac_dashdash$ac_option in
874 -bindir | --bindir | --bindi | --bind | --bin | --bi)
876 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
879 -build | --build | --buil | --bui | --bu)
880 ac_prev=build_alias ;;
881 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
882 build_alias=$ac_optarg ;;
884 -cache-file | --cache-file | --cache-fil | --cache-fi \
885 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
886 ac_prev=cache_file ;;
887 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
888 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
889 cache_file=$ac_optarg ;;
892 cache_file=config.cache ;;
894 -datadir | --datadir | --datadi | --datad)
896 -datadir=* | --datadir=* | --datadi=* | --datad=*)
897 datadir=$ac_optarg ;;
899 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
900 | --dataroo | --dataro | --datar)
901 ac_prev=datarootdir ;;
902 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
903 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
904 datarootdir=$ac_optarg ;;
906 -disable-* | --disable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
920 eval enable_$ac_useropt=no ;;
922 -docdir | --docdir | --docdi | --doc | --do)
924 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
927 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
929 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
932 -enable-* | --enable-*)
933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
936 as_fn_error $? "invalid feature name: $ac_useropt"
937 ac_useropt_orig=$ac_useropt
938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
944 ac_unrecognized_sep=', ';;
946 eval enable_$ac_useropt=\$ac_optarg ;;
948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
949 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
950 | --exec | --exe | --ex)
951 ac_prev=exec_prefix ;;
952 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
953 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
954 | --exec=* | --exe=* | --ex=*)
955 exec_prefix=$ac_optarg ;;
957 -gas | --gas | --ga | --g)
958 # Obsolete; use --with-gas.
961 -help | --help | --hel | --he | -h)
963 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
964 ac_init_help=recursive ;;
965 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
966 ac_init_help=short ;;
968 -host | --host | --hos | --ho)
969 ac_prev=host_alias ;;
970 -host=* | --host=* | --hos=* | --ho=*)
971 host_alias=$ac_optarg ;;
973 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
975 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
977 htmldir=$ac_optarg ;;
979 -includedir | --includedir | --includedi | --included | --include \
980 | --includ | --inclu | --incl | --inc)
981 ac_prev=includedir ;;
982 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
983 | --includ=* | --inclu=* | --incl=* | --inc=*)
984 includedir=$ac_optarg ;;
986 -infodir | --infodir | --infodi | --infod | --info | --inf)
988 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
989 infodir=$ac_optarg ;;
991 -libdir | --libdir | --libdi | --libd)
993 -libdir=* | --libdir=* | --libdi=* | --libd=*)
996 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
997 | --libexe | --libex | --libe)
998 ac_prev=libexecdir ;;
999 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1000 | --libexe=* | --libex=* | --libe=*)
1001 libexecdir=$ac_optarg ;;
1003 -localedir | --localedir | --localedi | --localed | --locale)
1004 ac_prev=localedir ;;
1005 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1006 localedir=$ac_optarg ;;
1008 -localstatedir | --localstatedir | --localstatedi | --localstated \
1009 | --localstate | --localstat | --localsta | --localst | --locals)
1010 ac_prev=localstatedir ;;
1011 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1012 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1013 localstatedir=$ac_optarg ;;
1015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1017 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1018 mandir=$ac_optarg ;;
1020 -nfp | --nfp | --nf)
1021 # Obsolete; use --without-fp.
1024 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1025 | --no-cr | --no-c | -n)
1028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1032 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1033 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1034 | --oldin | --oldi | --old | --ol | --o)
1035 ac_prev=oldincludedir ;;
1036 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1037 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1038 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1039 oldincludedir=$ac_optarg ;;
1041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1044 prefix=$ac_optarg ;;
1046 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1047 | --program-pre | --program-pr | --program-p)
1048 ac_prev=program_prefix ;;
1049 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1050 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1051 program_prefix=$ac_optarg ;;
1053 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1054 | --program-suf | --program-su | --program-s)
1055 ac_prev=program_suffix ;;
1056 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1057 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1058 program_suffix=$ac_optarg ;;
1060 -program-transform-name | --program-transform-name \
1061 | --program-transform-nam | --program-transform-na \
1062 | --program-transform-n | --program-transform- \
1063 | --program-transform | --program-transfor \
1064 | --program-transfo | --program-transf \
1065 | --program-trans | --program-tran \
1066 | --progr-tra | --program-tr | --program-t)
1067 ac_prev=program_transform_name ;;
1068 -program-transform-name=* | --program-transform-name=* \
1069 | --program-transform-nam=* | --program-transform-na=* \
1070 | --program-transform-n=* | --program-transform-=* \
1071 | --program-transform=* | --program-transfor=* \
1072 | --program-transfo=* | --program-transf=* \
1073 | --program-trans=* | --program-tran=* \
1074 | --progr-tra=* | --program-tr=* | --program-t=*)
1075 program_transform_name=$ac_optarg ;;
1077 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1079 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1080 pdfdir=$ac_optarg ;;
1082 -psdir | --psdir | --psdi | --psd | --ps)
1084 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1088 | -silent | --silent | --silen | --sile | --sil)
1091 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1093 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1095 sbindir=$ac_optarg ;;
1097 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1098 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1099 | --sharedst | --shareds | --shared | --share | --shar \
1101 ac_prev=sharedstatedir ;;
1102 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1103 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1104 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1106 sharedstatedir=$ac_optarg ;;
1108 -site | --site | --sit)
1110 -site=* | --site=* | --sit=*)
1113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1116 srcdir=$ac_optarg ;;
1118 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1119 | --syscon | --sysco | --sysc | --sys | --sy)
1120 ac_prev=sysconfdir ;;
1121 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1122 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1123 sysconfdir=$ac_optarg ;;
1125 -target | --target | --targe | --targ | --tar | --ta | --t)
1126 ac_prev=target_alias ;;
1127 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1128 target_alias=$ac_optarg ;;
1130 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1133 -version | --version | --versio | --versi | --vers | -V)
1134 ac_init_version=: ;;
1137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140 as_fn_error $? "invalid package name: $ac_useropt"
1141 ac_useropt_orig=$ac_useropt
1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep=', ';;
1150 eval with_$ac_useropt=\$ac_optarg ;;
1152 -without-* | --without-*)
1153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156 as_fn_error $? "invalid package name: $ac_useropt"
1157 ac_useropt_orig=$ac_useropt
1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep=', ';;
1166 eval with_$ac_useropt=no ;;
1169 # Obsolete; use --with-x.
1172 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1173 | --x-incl | --x-inc | --x-in | --x-i)
1174 ac_prev=x_includes ;;
1175 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1176 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1177 x_includes=$ac_optarg ;;
1179 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1180 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1181 ac_prev=x_libraries ;;
1182 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1183 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1184 x_libraries=$ac_optarg ;;
1186 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1187 Try \`$0 --help' for more information"
1191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 case $ac_envvar in #(
1194 '' | [0-9]* | *[!_$as_cr_alnum]* )
1195 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1197 eval $ac_envvar=\$ac_optarg
1198 export $ac_envvar ;;
1201 # FIXME: should be removed in autoconf 3.0.
1202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1211 if test -n "$ac_prev"; then
1212 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1213 as_fn_error $? "missing argument to $ac_option"
1216 if test -n "$ac_unrecognized_opts"; then
1217 case $enable_option_checking in
1219 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 # Check all directory arguments for consistency.
1225 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226 datadir sysconfdir sharedstatedir localstatedir includedir \
1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228 libdir localedir mandir
1230 eval ac_val=\$$ac_var
1231 # Remove trailing slashes.
1234 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235 eval $ac_var=\$ac_val;;
1237 # Be sure to have absolute directory names.
1239 [\\/$]* | ?:[\\/]* ) continue;;
1240 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1242 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1245 # There might be people who depend on the old broken behavior: `$host'
1246 # used to hold the argument of --host etc.
1247 # FIXME: To remove some day.
1250 target=$target_alias
1252 # FIXME: To remove some day.
1253 if test "x$host_alias" != x; then
1254 if test "x$build_alias" = x; then
1255 cross_compiling=maybe
1256 elif test "x$build_alias" != "x$host_alias"; then
1262 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1264 test "$silent" = yes && exec 6>/dev/null
1267 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di=`ls -di .` &&
1269 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error $? "working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error $? "pwd does not report name of working directory"
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 $as_echo X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1307 ac_srcdir_defaulted=no
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1313 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1325 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 for ac_var in $ac_precious_vars; do
1328 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_${ac_var}_value=\$${ac_var}
1330 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1335 # Report the --help message.
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1341 \`configure' configures weekeyboard 0.0.2 to adapt to many kinds of systems.
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1348 Defaults for the options are specified in brackets.
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print \`checking ...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for \`--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1367 By default, \`make install' will install all the files in
1368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370 for instance \`--prefix=\$HOME'.
1372 For better control, use the options below.
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root [DATAROOTDIR/doc/weekeyboard]
1390 --htmldir=DIR html documentation [DOCDIR]
1391 --dvidir=DIR dvi documentation [DOCDIR]
1392 --pdfdir=DIR pdf documentation [DOCDIR]
1393 --psdir=DIR ps documentation [DOCDIR]
1399 --program-prefix=PREFIX prepend PREFIX to installed program names
1400 --program-suffix=SUFFIX append SUFFIX to installed program names
1401 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1404 --build=BUILD configure for building on BUILD [guessed]
1405 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive ) echo "Configuration of weekeyboard 0.0.2:";;
1416 --disable-option-checking ignore unrecognized --enable/--with options
1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1419 --enable-silent-rules less verbose build output (undo: "make V=1")
1420 --disable-silent-rules verbose build output (undo: "make V=0")
1421 --enable-dependency-tracking
1422 do not reject slow dependency extractors
1423 --disable-dependency-tracking
1424 speeds up one-time build
1425 --enable-static[=PKGS] build static libraries [default=no]
1426 --enable-shared[=PKGS] build shared libraries [default=yes]
1427 --enable-fast-install[=PKGS]
1428 optimize for fast installation [default=yes]
1429 --disable-libtool-lock avoid locking (might break parallel builds)
1432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1434 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1436 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1437 --with-sysroot=DIR Search for dependent libraries within DIR
1438 (or the compiler's sysroot if not specified).
1439 --with-edje-cc=PATH Path to edje_cc binary
1441 Some influential environment variables:
1442 CC C compiler command
1443 CFLAGS C compiler flags
1444 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1445 nonstandard directory <lib dir>
1446 LIBS libraries to pass to the linker, e.g. -l<library>
1447 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1448 you have headers in a nonstandard directory <include dir>
1450 PKG_CONFIG path to pkg-config utility
1452 directories to add to pkg-config's search path
1454 path overriding pkg-config's built-in search path
1456 C compiler flags for WAYLAND, overriding pkg-config
1458 linker flags for WAYLAND, overriding pkg-config
1459 EFL_CFLAGS C compiler flags for EFL, overriding pkg-config
1460 EFL_LIBS linker flags for EFL, overriding pkg-config
1461 IBUS_CFLAGS C compiler flags for IBUS, overriding pkg-config
1462 IBUS_LIBS linker flags for IBUS, overriding pkg-config
1463 WAYLAND_SCANNER_CFLAGS
1464 C compiler flags for WAYLAND_SCANNER, overriding pkg-config
1465 WAYLAND_SCANNER_LIBS
1466 linker flags for WAYLAND_SCANNER, overriding pkg-config
1468 Use these variables to override the choices made by `configure' or to help
1469 it to find libraries and programs with nonstandard names/locations.
1471 Report bugs to the package provider.
1476 if test "$ac_init_help" = "recursive"; then
1477 # If there are subdirs, report their specific --help.
1478 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1479 test -d "$ac_dir" ||
1480 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1488 # A ".." for each directory in $ac_dir_suffix.
1489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1490 case $ac_top_builddir_sub in
1491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1495 ac_abs_top_builddir=$ac_pwd
1496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1497 # for backward compatibility:
1498 ac_top_builddir=$ac_top_build_prefix
1501 .) # We are building in place.
1503 ac_top_srcdir=$ac_top_builddir_sub
1504 ac_abs_top_srcdir=$ac_pwd ;;
1505 [\\/]* | ?:[\\/]* ) # Absolute name.
1506 ac_srcdir=$srcdir$ac_dir_suffix;
1507 ac_top_srcdir=$srcdir
1508 ac_abs_top_srcdir=$srcdir ;;
1510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1511 ac_top_srcdir=$ac_top_build_prefix$srcdir
1512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1516 cd "$ac_dir" || { ac_status=$?; continue; }
1517 # Check for guested configure.
1518 if test -f "$ac_srcdir/configure.gnu"; then
1520 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1521 elif test -f "$ac_srcdir/configure"; then
1523 $SHELL "$ac_srcdir/configure" --help=recursive
1525 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1527 cd "$ac_pwd" || { ac_status=$?; break; }
1531 test -n "$ac_init_help" && exit $ac_status
1532 if $ac_init_version; then
1534 weekeyboard configure 0.0.2
1535 generated by GNU Autoconf 2.69
1537 Copyright (C) 2012 Free Software Foundation, Inc.
1538 This configure script is free software; the Free Software Foundation
1539 gives unlimited permission to copy, distribute and modify it.
1544 ## ------------------------ ##
1545 ## Autoconf initialization. ##
1546 ## ------------------------ ##
1548 # ac_fn_c_try_compile LINENO
1549 # --------------------------
1550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1551 ac_fn_c_try_compile ()
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 rm -f conftest.$ac_objext
1555 if { { ac_try="$ac_compile"
1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_compile") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest.$ac_objext; then :
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status $ac_retval
1584 } # ac_fn_c_try_compile
1586 # ac_fn_c_try_link LINENO
1587 # -----------------------
1588 # Try to link conftest.$ac_ext, and return whether this succeeded.
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 rm -f conftest.$ac_objext conftest$ac_exeext
1593 if { { ac_try="$ac_link"
1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596 *) ac_try_echo=$ac_try;;
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600 (eval "$ac_link") 2>conftest.err
1602 if test -s conftest.err; then
1603 grep -v '^ *+' conftest.err >conftest.er1
1604 cat conftest.er1 >&5
1605 mv -f conftest.er1 conftest.err
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } && {
1609 test -z "$ac_c_werror_flag" ||
1610 test ! -s conftest.err
1611 } && test -s conftest$ac_exeext && {
1612 test "$cross_compiling" = yes ||
1613 test -x conftest$ac_exeext
1617 $as_echo "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.$ac_ext >&5
1622 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1623 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1624 # interfere with the next link command; also delete a directory that is
1625 # left behind by Apple's compiler. We do this before executing the actions.
1626 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1630 } # ac_fn_c_try_link
1632 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1633 # -------------------------------------------------------
1634 # Tests whether HEADER exists and can be compiled using the include files in
1635 # INCLUDES, setting the cache variable VAR accordingly.
1636 ac_fn_c_check_header_compile ()
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 $as_echo_n "checking for $2... " >&6; }
1641 if eval \${$3+:} false; then :
1642 $as_echo_n "(cached) " >&6
1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1649 if ac_fn_c_try_compile "$LINENO"; then :
1654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 $as_echo "$ac_res" >&6; }
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 } # ac_fn_c_check_header_compile
1663 # ac_fn_c_try_cpp LINENO
1664 # ----------------------
1665 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 if { { ac_try="$ac_cpp conftest.$ac_ext"
1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672 *) ac_try_echo=$ac_try;;
1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675 $as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1678 if test -s conftest.err; then
1679 grep -v '^ *+' conftest.err >conftest.er1
1680 cat conftest.er1 >&5
1681 mv -f conftest.er1 conftest.err
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; } > conftest.i && {
1685 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1686 test ! -s conftest.err
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1700 # ac_fn_c_try_run LINENO
1701 # ----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703 # that executables *can* be run.
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 if { { ac_try="$ac_link"
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1718 { { case "(($ac_try" in
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_try") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; }; }; then :
1730 $as_echo "$as_me: program exited with status $ac_status" >&5
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1734 ac_retval=$ac_status
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status $ac_retval
1742 # ac_fn_c_check_func LINENO FUNC VAR
1743 # ----------------------------------
1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1745 ac_fn_c_check_func ()
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749 $as_echo_n "checking for $2... " >&6; }
1750 if eval \${$3+:} false; then :
1751 $as_echo_n "(cached) " >&6
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1757 #define $2 innocuous_$2
1759 /* System header to define __stub macros and hopefully few prototypes,
1760 which can conflict with char $2 (); below.
1761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1762 <limits.h> exists even on freestanding compilers. */
1765 # include <limits.h>
1767 # include <assert.h>
1772 /* Override any GCC internal prototype to avoid an error.
1773 Use char because int might match the return type of a GCC
1774 builtin and then its argument prototype would still apply. */
1779 /* The GNU C library defines this for functions which it implements
1780 to always fail with ENOSYS. Some functions are actually named
1781 something starting with __ and the normal name is an alias. */
1782 #if defined __stub_$2 || defined __stub___$2
1794 if ac_fn_c_try_link "$LINENO"; then :
1799 rm -f core conftest.err conftest.$ac_objext \
1800 conftest$ac_exeext conftest.$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807 } # ac_fn_c_check_func
1808 cat >config.log <<_ACEOF
1809 This file contains any messages produced by compilers while
1810 running configure, to aid debugging if configure makes a mistake.
1812 It was created by weekeyboard $as_me 0.0.2, which was
1813 generated by GNU Autoconf 2.69. Invocation command line was
1825 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1826 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1827 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1828 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1829 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1831 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1832 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1834 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1835 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1836 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1837 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1838 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1839 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1840 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir=.
1849 $as_echo "PATH: $as_dir"
1865 # Keep a trace of the command line.
1866 # Strip out --no-create and --no-recursion so they do not pile up.
1867 # Strip out --silent because we don't want to record it for future runs.
1868 # Also quote any args containing shell meta-characters.
1869 # Make two passes to allow for proper duplicate-argument suppression.
1873 ac_must_keep_next=false
1879 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1880 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1881 | -silent | --silent | --silen | --sile | --sil)
1884 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1887 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1889 as_fn_append ac_configure_args1 " '$ac_arg'"
1890 if test $ac_must_keep_next = true; then
1891 ac_must_keep_next=false # Got value, back to normal.
1894 *=* | --config-cache | -C | -disable-* | --disable-* \
1895 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1896 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1897 | -with-* | --with-* | -without-* | --without-* | --x)
1898 case "$ac_configure_args0 " in
1899 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1902 -* ) ac_must_keep_next=true ;;
1905 as_fn_append ac_configure_args " '$ac_arg'"
1910 { ac_configure_args0=; unset ac_configure_args0;}
1911 { ac_configure_args1=; unset ac_configure_args1;}
1913 # When interrupted or exit'd, cleanup temporary files, and complete
1914 # config.log. We remove comments because anyway the quotes in there
1915 # would cause problems or look ugly.
1916 # WARNING: Use '\'' to represent an apostrophe within the trap.
1917 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1918 trap 'exit_status=$?
1919 # Save into config.log some information that might help in debugging.
1923 $as_echo "## ---------------- ##
1924 ## Cache variables. ##
1925 ## ---------------- ##"
1927 # The following way of writing the cache mishandles newlines in values,
1929 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1930 eval ac_val=\$$ac_var
1934 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1935 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1938 _ | IFS | as_nl) ;; #(
1939 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1940 *) { eval $ac_var=; unset $ac_var;} ;;
1945 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1946 *${as_nl}ac_space=\ *)
1948 "s/'\''/'\''\\\\'\'''\''/g;
1949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1959 $as_echo "## ----------------- ##
1960 ## Output variables. ##
1961 ## ----------------- ##"
1963 for ac_var in $ac_subst_vars
1965 eval ac_val=\$$ac_var
1967 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1969 $as_echo "$ac_var='\''$ac_val'\''"
1973 if test -n "$ac_subst_files"; then
1974 $as_echo "## ------------------- ##
1975 ## File substitutions. ##
1976 ## ------------------- ##"
1978 for ac_var in $ac_subst_files
1980 eval ac_val=\$$ac_var
1982 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984 $as_echo "$ac_var='\''$ac_val'\''"
1989 if test -s confdefs.h; then
1990 $as_echo "## ----------- ##
1997 test "$ac_signal" != 0 &&
1998 $as_echo "$as_me: caught signal $ac_signal"
1999 $as_echo "$as_me: exit $exit_status"
2001 rm -f core *.core core.conftest.* &&
2002 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2005 for ac_signal in 1 2 13 15; do
2006 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2010 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2011 rm -f -r conftest* confdefs.h
2013 $as_echo "/* confdefs.h */" > confdefs.h
2015 # Predefined preprocessor variables.
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_NAME "$PACKAGE_NAME"
2021 cat >>confdefs.h <<_ACEOF
2022 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE_STRING "$PACKAGE_STRING"
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2037 cat >>confdefs.h <<_ACEOF
2038 #define PACKAGE_URL "$PACKAGE_URL"
2042 # Let the site file select an alternate cache file if it wants to.
2043 # Prefer an explicitly selected file to automatically selected ones.
2046 if test -n "$CONFIG_SITE"; then
2047 # We do not want a PATH search for config.site.
2048 case $CONFIG_SITE in #((
2049 -*) ac_site_file1=./$CONFIG_SITE;;
2050 */*) ac_site_file1=$CONFIG_SITE;;
2051 *) ac_site_file1=./$CONFIG_SITE;;
2053 elif test "x$prefix" != xNONE; then
2054 ac_site_file1=$prefix/share/config.site
2055 ac_site_file2=$prefix/etc/config.site
2057 ac_site_file1=$ac_default_prefix/share/config.site
2058 ac_site_file2=$ac_default_prefix/etc/config.site
2060 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2062 test "x$ac_site_file" = xNONE && continue
2063 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2065 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2066 sed 's/^/| /' "$ac_site_file" >&5
2068 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2070 as_fn_error $? "failed to load site script $ac_site_file
2071 See \`config.log' for more details" "$LINENO" 5; }
2075 if test -r "$cache_file"; then
2076 # Some versions of bash will fail to source /dev/null (special files
2077 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2078 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2080 $as_echo "$as_me: loading cache $cache_file" >&6;}
2082 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2083 *) . "./$cache_file";;
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2088 $as_echo "$as_me: creating cache $cache_file" >&6;}
2092 # Check that the precious variables saved in the cache have kept the same
2094 ac_cache_corrupted=false
2095 for ac_var in $ac_precious_vars; do
2096 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2097 eval ac_new_set=\$ac_env_${ac_var}_set
2098 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2099 eval ac_new_val=\$ac_env_${ac_var}_value
2100 case $ac_old_set,$ac_new_set in
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2103 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2104 ac_cache_corrupted=: ;;
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2107 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2108 ac_cache_corrupted=: ;;
2111 if test "x$ac_old_val" != "x$ac_new_val"; then
2112 # differences in whitespace do not lead to failure.
2113 ac_old_val_w=`echo x $ac_old_val`
2114 ac_new_val_w=`echo x $ac_new_val`
2115 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2117 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2118 ac_cache_corrupted=:
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2121 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2122 eval $ac_var=\$ac_old_val
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2125 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2127 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2130 # Pass precious variables to config.status.
2131 if test "$ac_new_set" = set; then
2133 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2134 *) ac_arg=$ac_var=$ac_new_val ;;
2136 case " $ac_configure_args " in
2137 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2138 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2142 if $ac_cache_corrupted; then
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2146 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2147 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2149 ## -------------------- ##
2150 ## Main body of script. ##
2151 ## -------------------- ##
2154 ac_cpp='$CPP $CPPFLAGS'
2155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2167 weekeyboard_VERSION=0.0.2
2170 ac_config_headers="$ac_config_headers config.h"
2173 am__api_version='1.13'
2176 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2177 if test -f "$ac_dir/install-sh"; then
2179 ac_install_sh="$ac_aux_dir/install-sh -c"
2181 elif test -f "$ac_dir/install.sh"; then
2183 ac_install_sh="$ac_aux_dir/install.sh -c"
2185 elif test -f "$ac_dir/shtool"; then
2187 ac_install_sh="$ac_aux_dir/shtool install -c"
2191 if test -z "$ac_aux_dir"; then
2192 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2195 # These three variables are undocumented and unsupported,
2196 # and are intended to be withdrawn in a future Autoconf release.
2197 # They can cause serious problems if a builder's source tree is in a directory
2198 # whose full name contains unusual characters.
2199 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2200 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2201 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2204 # Find a good install program. We prefer a C program (faster),
2205 # so one script is as good as another. But avoid the broken or
2206 # incompatible versions:
2207 # SysV /etc/install, /usr/sbin/install
2208 # SunOS /usr/etc/install
2209 # IRIX /sbin/install
2211 # AmigaOS /C/install, which installs bootblocks on floppy discs
2212 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2213 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2214 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2215 # OS/2's system install, which has a completely different semantic
2216 # ./install, which can be erroneously created by make from ./install.sh.
2217 # Reject install programs that cannot install multiple files.
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2219 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2220 if test -z "$INSTALL"; then
2221 if ${ac_cv_path_install+:} false; then :
2222 $as_echo_n "(cached) " >&6
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir=.
2229 # Account for people who put trailing slashes in PATH elements.
2230 case $as_dir/ in #((
2231 ./ | .// | /[cC]/* | \
2232 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2233 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2236 # OSF1 and SCO ODT 3.0 have their own names for install.
2237 # Don't use installbsd from OSF since it installs stuff as root
2239 for ac_prog in ginstall scoinst install; do
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2242 if test $ac_prog = install &&
2243 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2244 # AIX install. It has an incompatible calling convention.
2246 elif test $ac_prog = install &&
2247 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2248 # program-specific install script used by HP pwplus--don't use.
2251 rm -rf conftest.one conftest.two conftest.dir
2252 echo one > conftest.one
2253 echo two > conftest.two
2255 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2256 test -s conftest.one && test -s conftest.two &&
2257 test -s conftest.dir/conftest.one &&
2258 test -s conftest.dir/conftest.two
2260 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2273 rm -rf conftest.one conftest.two conftest.dir
2276 if test "${ac_cv_path_install+set}" = set; then
2277 INSTALL=$ac_cv_path_install
2279 # As a last resort, use the slow shell script. Don't cache a
2280 # value for INSTALL within a source directory, because that will
2281 # break other packages using the cache if that directory is
2282 # removed, or if the value is a relative name.
2283 INSTALL=$ac_install_sh
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2287 $as_echo "$INSTALL" >&6; }
2289 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2290 # It thinks the first close brace ends the variable substitution.
2291 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2293 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2295 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2298 $as_echo_n "checking whether build environment is sane... " >&6; }
2299 # Reject unsafe characters in $srcdir or the absolute working directory
2300 # name. Accept space and tab only in the latter.
2304 *[\\\"\#\$\&\'\`$am_lf]*)
2305 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2308 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2309 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2312 # Do 'set' in a subshell so we don't clobber the current shell's
2313 # arguments. Must try -L first in case configure is actually a
2314 # symlink; some systems play weird games with the mod time of symlinks
2315 # (eg FreeBSD returns the mod time of the symlink's containing
2319 for am_try in 1 2; do
2320 echo "timestamp, slept: $am_has_slept" > conftest.file
2321 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2322 if test "$*" = "X"; then
2324 set X `ls -t "$srcdir/configure" conftest.file`
2326 if test "$*" != "X $srcdir/configure conftest.file" \
2327 && test "$*" != "X conftest.file $srcdir/configure"; then
2329 # If neither matched, then we have a broken ls. This can happen
2330 # if, for instance, CONFIG_SHELL is bash and it inherits a
2331 # broken ls alias from the environment. This has actually
2332 # happened. Such a system could not be considered "sane".
2333 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2334 alias in your environment" "$LINENO" 5
2336 if test "$2" = conftest.file || test $am_try -eq 2; then
2343 test "$2" = conftest.file
2349 as_fn_error $? "newly created file is older than distributed files!
2350 Check your system clock" "$LINENO" 5
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2353 $as_echo "yes" >&6; }
2354 # If we didn't sleep, we still need to ensure time stamps of config.status and
2355 # generated files are strictly newer.
2357 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2364 test "$program_prefix" != NONE &&
2365 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2366 # Use a double $ so make ignores it.
2367 test "$program_suffix" != NONE &&
2368 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2369 # Double any \ or $.
2370 # By default was `s,x,x', remove it if useless.
2371 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2372 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2374 # expand $ac_aux_dir to an absolute path
2375 am_aux_dir=`cd $ac_aux_dir && pwd`
2377 if test x"${MISSING+set}" != xset; then
2380 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2382 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2385 # Use eval to expand $SHELL
2386 if eval "$MISSING --is-lightweight"; then
2387 am_missing_run="$MISSING "
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2391 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2394 if test x"${install_sh}" != xset; then
2397 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2399 install_sh="\${SHELL} $am_aux_dir/install-sh"
2403 # Installed binaries are usually stripped using 'strip' when the user
2404 # run "make install-strip". However 'strip' might not be the right
2405 # tool to use in cross-compilation environments, therefore Automake
2406 # will honor the 'STRIP' environment variable to overrule this program.
2407 if test "$cross_compiling" != no; then
2408 if test -n "$ac_tool_prefix"; then
2409 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2410 set dummy ${ac_tool_prefix}strip; ac_word=$2
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2412 $as_echo_n "checking for $ac_word... " >&6; }
2413 if ${ac_cv_prog_STRIP+:} false; then :
2414 $as_echo_n "(cached) " >&6
2416 if test -n "$STRIP"; then
2417 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2426 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 STRIP=$ac_cv_prog_STRIP
2437 if test -n "$STRIP"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2439 $as_echo "$STRIP" >&6; }
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442 $as_echo "no" >&6; }
2447 if test -z "$ac_cv_prog_STRIP"; then
2449 # Extract the first word of "strip", so it can be a program name with args.
2450 set dummy strip; ac_word=$2
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2452 $as_echo_n "checking for $ac_word... " >&6; }
2453 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2454 $as_echo_n "(cached) " >&6
2456 if test -n "$ac_ct_STRIP"; then
2457 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2466 ac_cv_prog_ac_ct_STRIP="strip"
2467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2477 if test -n "$ac_ct_STRIP"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2479 $as_echo "$ac_ct_STRIP" >&6; }
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2482 $as_echo "no" >&6; }
2485 if test "x$ac_ct_STRIP" = x; then
2488 case $cross_compiling:$ac_tool_warned in
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2492 ac_tool_warned=yes ;;
2497 STRIP="$ac_cv_prog_STRIP"
2501 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2504 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2505 if test -z "$MKDIR_P"; then
2506 if ${ac_cv_path_mkdir+:} false; then :
2507 $as_echo_n "(cached) " >&6
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2513 test -z "$as_dir" && as_dir=.
2514 for ac_prog in mkdir gmkdir; do
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2517 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2518 'mkdir (GNU coreutils) '* | \
2519 'mkdir (coreutils) '* | \
2520 'mkdir (fileutils) '4.1*)
2521 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2531 test -d ./--version && rmdir ./--version
2532 if test "${ac_cv_path_mkdir+set}" = set; then
2533 MKDIR_P="$ac_cv_path_mkdir -p"
2535 # As a last resort, use the slow shell script. Don't cache a
2536 # value for MKDIR_P within a source directory, because that will
2537 # break other packages using the cache if that directory is
2538 # removed, or if the value is a relative name.
2539 MKDIR_P="$ac_install_sh -d"
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2543 $as_echo "$MKDIR_P" >&6; }
2545 for ac_prog in gawk mawk nawk awk
2547 # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 set dummy $ac_prog; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_AWK+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$AWK"; then
2555 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2564 ac_cv_prog_AWK="$ac_prog"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test -n "$AWK"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2577 $as_echo "$AWK" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2584 test -n "$AWK" && break
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2588 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2590 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2591 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2592 $as_echo_n "(cached) " >&6
2594 cat >conftest.make <<\_ACEOF
2597 @echo '@@@%%%=$(MAKE)=@@@%%%'
2599 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2600 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2602 eval ac_cv_prog_make_${ac_make}_set=yes;;
2604 eval ac_cv_prog_make_${ac_make}_set=no;;
2608 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610 $as_echo "yes" >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2615 SET_MAKE="MAKE=${MAKE-make}"
2618 rm -rf .tst 2>/dev/null
2619 mkdir .tst 2>/dev/null
2620 if test -d .tst; then
2625 rmdir .tst 2>/dev/null
2627 # Check whether --enable-silent-rules was given.
2628 if test "${enable_silent_rules+set}" = set; then :
2629 enableval=$enable_silent_rules;
2632 case $enable_silent_rules in # (((
2633 yes) AM_DEFAULT_VERBOSITY=0;;
2634 no) AM_DEFAULT_VERBOSITY=1;;
2635 *) AM_DEFAULT_VERBOSITY=1;;
2637 am_make=${MAKE-make}
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2639 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2640 if ${am_cv_make_support_nested_variables+:} false; then :
2641 $as_echo_n "(cached) " >&6
2643 if $as_echo 'TRUE=$(BAR$(V))
2649 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2650 am_cv_make_support_nested_variables=yes
2652 am_cv_make_support_nested_variables=no
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2656 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2657 if test $am_cv_make_support_nested_variables = yes; then
2659 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2661 AM_V=$AM_DEFAULT_VERBOSITY
2662 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2666 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2667 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2668 # is not polluted with repeated "-I."
2669 am__isrc=' -I$(srcdir)'
2670 # test to see if srcdir already configured
2671 if test -f $srcdir/config.status; then
2672 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2676 # test whether we have cygpath
2677 if test -z "$CYGPATH_W"; then
2678 if (cygpath --version) >/dev/null 2>/dev/null; then
2679 CYGPATH_W='cygpath -w'
2686 # Define the identity of the package.
2687 PACKAGE='weekeyboard'
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE "$PACKAGE"
2696 cat >>confdefs.h <<_ACEOF
2697 #define VERSION "$VERSION"
2700 # Some tools Automake needs.
2702 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2705 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2708 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2711 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2714 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2716 # For better backward compatibility. To be removed once Automake 1.9.x
2717 # dies out for good. For more background, see:
2718 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2719 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2720 mkdir_p='$(MKDIR_P)'
2722 # We need awk for the "check" target. The system "awk" is bad on
2724 # Always define AMTAR for backward compatibility. Yes, it's still used
2725 # in the wild :-( We should find a proper way to deprecate it ...
2729 # We'll loop over all known methods to create a tar archive until one works.
2730 _am_tools='gnutar pax cpio none'
2732 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2740 # Check whether --enable-silent-rules was given.
2741 if test "${enable_silent_rules+set}" = set; then :
2742 enableval=$enable_silent_rules;
2745 case $enable_silent_rules in # (((
2746 yes) AM_DEFAULT_VERBOSITY=0;;
2747 no) AM_DEFAULT_VERBOSITY=1;;
2748 *) AM_DEFAULT_VERBOSITY=0;;
2750 am_make=${MAKE-make}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2752 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2753 if ${am_cv_make_support_nested_variables+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 if $as_echo 'TRUE=$(BAR$(V))
2762 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2763 am_cv_make_support_nested_variables=yes
2765 am_cv_make_support_nested_variables=no
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2769 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2770 if test $am_cv_make_support_nested_variables = yes; then
2772 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2774 AM_V=$AM_DEFAULT_VERBOSITY
2775 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2780 # Check for programs
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2786 if test -n "$ac_tool_prefix"; then
2787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2788 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790 $as_echo_n "checking for $ac_word... " >&6; }
2791 if ${ac_cv_prog_CC+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 if test -n "$CC"; then
2795 ac_cv_prog_CC="$CC" # Let the user override the test.
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$CC"; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2817 $as_echo "$CC" >&6; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820 $as_echo "no" >&6; }
2825 if test -z "$ac_cv_prog_CC"; then
2827 # Extract the first word of "gcc", so it can be a program name with args.
2828 set dummy gcc; ac_word=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 $as_echo_n "checking for $ac_word... " >&6; }
2831 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2832 $as_echo_n "(cached) " >&6
2834 if test -n "$ac_ct_CC"; then
2835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir=.
2842 for ac_exec_ext in '' $ac_executable_extensions; do
2843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_ac_ct_CC="gcc"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2855 if test -n "$ac_ct_CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2857 $as_echo "$ac_ct_CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2863 if test "x$ac_ct_CC" = x; then
2866 case $cross_compiling:$ac_tool_warned in
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2870 ac_tool_warned=yes ;;
2878 if test -z "$CC"; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2881 set dummy ${ac_tool_prefix}cc; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_CC+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC="$CC" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_CC="${ac_tool_prefix}cc"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2919 if test -z "$CC"; then
2920 # Extract the first word of "cc", so it can be a program name with args.
2921 set dummy cc; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_CC+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC="$CC" # Let the user override the test.
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2939 ac_prog_rejected=yes
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test $ac_prog_rejected = yes; then
2951 # We found a bogon in the path, so make sure we never use it.
2952 set dummy $ac_cv_prog_CC
2954 if test $# != 0; then
2955 # We chose a different compiler from the bogus one.
2956 # However, it has the same basename, so the bogon will be chosen
2957 # first if we set CC to just the basename; use the full file name.
2959 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$CC"; then
2976 if test -n "$ac_tool_prefix"; then
2977 for ac_prog in cl.exe
2979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC="$CC" # Let the user override the test.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3009 $as_echo "$CC" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3016 test -n "$CC" && break
3019 if test -z "$CC"; then
3021 for ac_prog in cl.exe
3023 # Extract the first word of "$ac_prog", so it can be a program name with args.
3024 set dummy $ac_prog; ac_word=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$ac_ct_CC"; then
3031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_ac_ct_CC="$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3051 if test -n "$ac_ct_CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3053 $as_echo "$ac_ct_CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$ac_ct_CC" && break
3063 if test "x$ac_ct_CC" = x; then
3066 case $cross_compiling:$ac_tool_warned in
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3070 ac_tool_warned=yes ;;
3079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $? "no acceptable C compiler found in \$PATH
3082 See \`config.log' for more details" "$LINENO" 5; }
3084 # Provide some information about the compiler.
3085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3088 for ac_option in --version -v -V -qversion; do
3089 { { ac_try="$ac_compiler $ac_option >&5"
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3098 if test -s conftest.err; then
3100 ... rest of stderr output deleted ...
3101 10q' conftest.err >conftest.er1
3102 cat conftest.er1 >&5
3104 rm -f conftest.er1 conftest.err
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }
3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3120 ac_clean_files_save=$ac_clean_files
3121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3122 # Try to create an executable without -o first, disregard a.out.
3123 # It will help us diagnose broken compilers, and finding out an intuition
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3126 $as_echo_n "checking whether the C compiler works... " >&6; }
3127 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3129 # The possible output files:
3130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3133 for ac_file in $ac_files
3136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3142 if { { ac_try="$ac_link_default"
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link_default") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3156 # so that the user can short-circuit this test for compilers unknown to
3158 for ac_file in $ac_files ''
3160 test -f "$ac_file" || continue
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3165 # We found the default executable, but exeext='' is most
3169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 # We set ac_cv_exeext here because the later test for it is not
3174 # safe: cross compilers may not add the suffix if given an `-o'
3175 # argument, so we may need to know it at that point already.
3176 # Even if this section looks crufty: it has the advantage of
3183 test "$ac_cv_exeext" = no && ac_cv_exeext=
3188 if test -z "$ac_file"; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error 77 "C compiler cannot create executables
3197 See \`config.log' for more details" "$LINENO" 5; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3203 $as_echo_n "checking for C compiler default output file name... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3205 $as_echo "$ac_file" >&6; }
3206 ac_exeext=$ac_cv_exeext
3208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3209 ac_clean_files=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3211 $as_echo_n "checking for suffix of executables... " >&6; }
3212 if { { ac_try="$ac_link"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3224 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3225 # work properly (i.e., refer to `conftest.exe'), while it won't with
3227 for ac_file in conftest.exe conftest conftest.*; do
3228 test -f "$ac_file" || continue
3230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3231 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 rm -f conftest conftest$ac_cv_exeext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3244 $as_echo "$ac_cv_exeext" >&6; }
3246 rm -f conftest.$ac_ext
3247 EXEEXT=$ac_cv_exeext
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3255 FILE *f = fopen ("conftest.out", "w");
3256 return ferror (f) || fclose (f) != 0;
3262 ac_clean_files="$ac_clean_files conftest.out"
3263 # Check that the compiler produces executables we can run. If not, either
3264 # the compiler is broken, or we cross compile.
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3266 $as_echo_n "checking whether we are cross compiling... " >&6; }
3267 if test "$cross_compiling" != yes; then
3268 { { ac_try="$ac_link"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }
3279 if { ac_try='./conftest$ac_cv_exeext'
3280 { { case "(($ac_try" in
3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_try") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; }; then
3292 if test "$cross_compiling" = maybe; then
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $? "cannot run C compiled programs.
3298 If you meant to cross compile, use \`--host'.
3299 See \`config.log' for more details" "$LINENO" 5; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3304 $as_echo "$cross_compiling" >&6; }
3306 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3307 ac_clean_files=$ac_clean_files_save
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3309 $as_echo_n "checking for suffix of object files... " >&6; }
3310 if ${ac_cv_objext+:} false; then :
3311 $as_echo_n "(cached) " >&6
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 rm -f conftest.o conftest.obj
3325 if { { ac_try="$ac_compile"
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_compile") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 for ac_file in conftest.o conftest.obj conftest.*; do
3337 test -f "$ac_file" || continue;
3339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 as_fn_error $? "cannot compute suffix of object files: cannot compile
3351 See \`config.log' for more details" "$LINENO" 5; }
3353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3356 $as_echo "$ac_cv_objext" >&6; }
3357 OBJEXT=$ac_cv_objext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3361 if ${ac_cv_c_compiler_gnu+:} false; then :
3362 $as_echo_n "(cached) " >&6
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3378 if ac_fn_c_try_compile "$LINENO"; then :
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3389 if test $ac_compiler_gnu = yes; then
3394 ac_test_CFLAGS=${CFLAGS+set}
3395 ac_save_CFLAGS=$CFLAGS
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3398 if ${ac_cv_prog_cc_g+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 ac_save_c_werror_flag=$ac_c_werror_flag
3402 ac_c_werror_flag=yes
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3416 if ac_fn_c_try_compile "$LINENO"; then :
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_c_werror_flag=$ac_save_c_werror_flag
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3447 if ac_fn_c_try_compile "$LINENO"; then :
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 ac_c_werror_flag=$ac_save_c_werror_flag
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3458 $as_echo "$ac_cv_prog_cc_g" >&6; }
3459 if test "$ac_test_CFLAGS" = set; then
3460 CFLAGS=$ac_save_CFLAGS
3461 elif test $ac_cv_prog_cc_g = yes; then
3462 if test "$GCC" = yes; then
3468 if test "$GCC" = yes; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3476 if ${ac_cv_prog_cc_c89+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 ac_cv_prog_cc_c89=no
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3487 struct buf { int x; };
3488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3489 static char *e (p, i)
3495 static char *f (char * (*g) (char **, int), char **p, ...)
3500 s = g (p, va_arg (v,int));
3505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3506 function prototypes and stuff, but not '\xHH' hex character constants.
3507 These don't provoke an error unfortunately, instead are silently treated
3508 as 'x'. The following induces an error, until -std is added to get
3509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3510 array size at least. It's necessary to write '\x00'==0 to get something
3511 that's true only with -std. */
3512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3514 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3515 inside strings and character constants. */
3517 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3519 int test (int i, double x);
3520 struct s1 {int (*f) (int a);};
3521 struct s2 {int (*f) (double a);};
3522 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3528 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3533 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3534 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3536 CC="$ac_save_CC $ac_arg"
3537 if ac_fn_c_try_compile "$LINENO"; then :
3538 ac_cv_prog_cc_c89=$ac_arg
3540 rm -f core conftest.err conftest.$ac_objext
3541 test "x$ac_cv_prog_cc_c89" != "xno" && break
3543 rm -f conftest.$ac_ext
3548 case "x$ac_cv_prog_cc_c89" in
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3551 $as_echo "none needed" >&6; } ;;
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3554 $as_echo "unsupported" >&6; } ;;
3556 CC="$CC $ac_cv_prog_cc_c89"
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3558 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3560 if test "x$ac_cv_prog_cc_c89" != xno; then :
3565 ac_cpp='$CPP $CPPFLAGS'
3566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 DEPDIR="${am__leading_dot}deps"
3571 ac_config_commands="$ac_config_commands depfiles"
3574 am_make=${MAKE-make}
3575 cat > confinc << 'END'
3577 @echo this is the am__doit target
3580 # If we don't find an include directive, just comment out the code.
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3582 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3586 # First try GNU make style include.
3587 echo "include confinc" > confmf
3588 # Ignore all kinds of additional output from 'make'.
3589 case `$am_make -s -f confmf 2> /dev/null` in #(
3590 *the\ am__doit\ target*)
3596 # Now try BSD make style include.
3597 if test "$am__include" = "#"; then
3598 echo '.include "confinc"' > confmf
3599 case `$am_make -s -f confmf 2> /dev/null` in #(
3600 *the\ am__doit\ target*)
3601 am__include=.include
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3610 $as_echo "$_am_result" >&6; }
3611 rm -f confinc confmf
3613 # Check whether --enable-dependency-tracking was given.
3614 if test "${enable_dependency_tracking+set}" = set; then :
3615 enableval=$enable_dependency_tracking;
3618 if test "x$enable_dependency_tracking" != xno; then
3619 am_depcomp="$ac_aux_dir/depcomp"
3623 if test "x$enable_dependency_tracking" != xno; then
3633 depcc="$CC" am_compiler_list=
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3636 $as_echo_n "checking dependency style of $depcc... " >&6; }
3637 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3641 # We make a subdir and do the tests there. Otherwise we can end up
3642 # making bogus files that we don't know about and never remove. For
3643 # instance it was reported that on HP-UX the gcc test will end up
3644 # making a dummy file named 'D' -- because '-MD' means "put the output
3648 # Copy depcomp to subdir because otherwise we won't find it if we're
3649 # using a relative directory.
3650 cp "$am_depcomp" conftest.dir
3652 # We will build objects and dependencies in a subdirectory because
3653 # it helps to detect inapplicable dependency modes. For instance
3654 # both Tru64's cc and ICC support -MD to output dependencies as a
3655 # side effect of compilation, but ICC will put the dependencies in
3656 # the current directory while Tru64 will put them in the object
3660 am_cv_CC_dependencies_compiler_type=none
3661 if test "$am_compiler_list" = ""; then
3662 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3665 case " $depcc " in #(
3666 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3669 for depmode in $am_compiler_list; do
3670 # Setup a source with many dependencies, because some compilers
3671 # like to wrap large dependency lists on column 80 (with \), and
3672 # we should not choose a depcomp mode which is confused by this.
3674 # We need to recreate these files for each test, as the compiler may
3675 # overwrite some of them when testing with obscure command lines.
3676 # This happens at least with the AIX C compiler.
3678 for i in 1 2 3 4 5 6; do
3679 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3680 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3681 # Solaris 10 /bin/sh.
3682 echo '/* dummy */' > sub/conftst$i.h
3684 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3686 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3687 # mode. It turns out that the SunPro C++ compiler does not properly
3688 # handle '-M -o', and we need to detect this. Also, some Intel
3689 # versions had trouble with output in subdirs.
3690 am__obj=sub/conftest.${OBJEXT-o}
3691 am__minus_obj="-o $am__obj"
3694 # This depmode causes a compiler race in universal mode.
3695 test "$am__universal" = false || continue
3698 # After this tag, mechanisms are not by side-effect, so they'll
3699 # only be used when explicitly requested.
3700 if test "x$enable_dependency_tracking" = xyes; then
3706 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3707 # This compiler won't grok '-c -o', but also, the minuso test has
3708 # not run yet. These depmodes are late enough in the game, and
3709 # so weak that their functioning should not be impacted.
3710 am__obj=conftest.${OBJEXT-o}
3715 if depmode=$depmode \
3716 source=sub/conftest.c object=$am__obj \
3717 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3718 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3719 >/dev/null 2>conftest.err &&
3720 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3721 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3722 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3723 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3724 # icc doesn't choke on unknown options, it will just issue warnings
3725 # or remarks (even with -Werror). So we grep stderr for any message
3726 # that says an option was ignored or not supported.
3727 # When given -MP, icc 7.0 and 7.1 complain thusly:
3728 # icc: Command line warning: ignoring option '-M'; no argument required
3729 # The diagnosis changed in icc 8.0:
3730 # icc: Command line remark: option '-MP' not supported
3731 if (grep 'ignoring option' conftest.err ||
3732 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3733 am_cv_CC_dependencies_compiler_type=$depmode
3742 am_cv_CC_dependencies_compiler_type=none
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3747 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3748 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3751 test "x$enable_dependency_tracking" != xno \
3752 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3754 am__fastdepCC_FALSE='#'
3756 am__fastdepCC_TRUE='#'
3757 am__fastdepCC_FALSE=
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3762 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3763 if ${ac_cv_path_SED+:} false; then :
3764 $as_echo_n "(cached) " >&6
3766 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3767 for ac_i in 1 2 3 4 5 6 7; do
3768 ac_script="$ac_script$as_nl$ac_script"
3770 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3771 { ac_script=; unset ac_script;}
3772 if test -z "$SED"; then
3773 ac_path_SED_found=false
3774 # Loop through the user's path and test for each of PROGNAME-LIST
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir=.
3780 for ac_prog in sed gsed; do
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3783 as_fn_executable_p "$ac_path_SED" || continue
3784 # Check for GNU ac_path_SED and select it if it is found.
3785 # Check for GNU $ac_path_SED
3786 case `"$ac_path_SED" --version 2>&1` in
3788 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3791 $as_echo_n 0123456789 >"conftest.in"
3794 cat "conftest.in" "conftest.in" >"conftest.tmp"
3795 mv "conftest.tmp" "conftest.in"
3796 cp "conftest.in" "conftest.nl"
3797 $as_echo '' >> "conftest.nl"
3798 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3799 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3800 as_fn_arith $ac_count + 1 && ac_count=$as_val
3801 if test $ac_count -gt ${ac_path_SED_max-0}; then
3802 # Best one so far, save it but keep looking for a better one
3803 ac_cv_path_SED="$ac_path_SED"
3804 ac_path_SED_max=$ac_count
3806 # 10*(2^10) chars as input seems more than enough
3807 test $ac_count -gt 10 && break
3809 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3812 $ac_path_SED_found && break 3
3817 if test -z "$ac_cv_path_SED"; then
3818 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3826 $as_echo "$ac_cv_path_SED" >&6; }
3827 SED="$ac_cv_path_SED"
3831 # Initialize libtool
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3836 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3841 macro_version='2.4.2'
3842 macro_revision='1.3337'
3856 ltmain="$ac_aux_dir/ltmain.sh"
3858 # Make sure we can run config.sub.
3859 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3860 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3863 $as_echo_n "checking build system type... " >&6; }
3864 if ${ac_cv_build+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 ac_build_alias=$build_alias
3868 test "x$ac_build_alias" = x &&
3869 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3870 test "x$ac_build_alias" = x &&
3871 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3873 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3877 $as_echo "$ac_cv_build" >&6; }
3878 case $ac_cv_build in
3880 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3883 ac_save_IFS=$IFS; IFS='-'
3889 # Remember, the first character of IFS is used to create $*,
3890 # except with old shells:
3893 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3897 $as_echo_n "checking host system type... " >&6; }
3898 if ${ac_cv_host+:} false; then :
3899 $as_echo_n "(cached) " >&6
3901 if test "x$host_alias" = x; then
3902 ac_cv_host=$ac_cv_build
3904 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3905 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3910 $as_echo "$ac_cv_host" >&6; }
3913 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3916 ac_save_IFS=$IFS; IFS='-'
3922 # Remember, the first character of IFS is used to create $*,
3923 # except with old shells:
3926 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3929 # Backslashify metacharacters that are still active within
3930 # double-quoted strings.
3931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3933 # Same as above, but do not quote variable references.
3934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3936 # Sed substitution to delay expansion of an escaped shell variable in a
3937 # double_quote_subst'ed string.
3938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3940 # Sed substitution to delay expansion of an escaped single quote.
3941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3943 # Sed substitution to avoid accidental globbing in evaled expressions
3944 no_glob_subst='s/\*/\\\*/g'
3946 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3947 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3948 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3951 $as_echo_n "checking how to print strings... " >&6; }
3952 # Test print first, because it will be a builtin if present.
3953 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3954 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3956 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3959 # Use this function as a fallback that always works.
3960 func_fallback_echo ()
3962 eval 'cat <<_LTECHO_EOF
3966 ECHO='func_fallback_echo'
3969 # func_echo_all arg...
3970 # Invoke $ECHO with all args, space-separated.
3977 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3978 $as_echo "printf" >&6; } ;;
3979 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3980 $as_echo "print -r" >&6; } ;;
3981 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3982 $as_echo "cat" >&6; } ;;
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3999 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4000 if ${ac_cv_path_SED+:} false; then :
4001 $as_echo_n "(cached) " >&6
4003 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4004 for ac_i in 1 2 3 4 5 6 7; do
4005 ac_script="$ac_script$as_nl$ac_script"
4007 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4008 { ac_script=; unset ac_script;}
4009 if test -z "$SED"; then
4010 ac_path_SED_found=false
4011 # Loop through the user's path and test for each of PROGNAME-LIST
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir=.
4017 for ac_prog in sed gsed; do
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4020 as_fn_executable_p "$ac_path_SED" || continue
4021 # Check for GNU ac_path_SED and select it if it is found.
4022 # Check for GNU $ac_path_SED
4023 case `"$ac_path_SED" --version 2>&1` in
4025 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4028 $as_echo_n 0123456789 >"conftest.in"
4031 cat "conftest.in" "conftest.in" >"conftest.tmp"
4032 mv "conftest.tmp" "conftest.in"
4033 cp "conftest.in" "conftest.nl"
4034 $as_echo '' >> "conftest.nl"
4035 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4036 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4037 as_fn_arith $ac_count + 1 && ac_count=$as_val
4038 if test $ac_count -gt ${ac_path_SED_max-0}; then
4039 # Best one so far, save it but keep looking for a better one
4040 ac_cv_path_SED="$ac_path_SED"
4041 ac_path_SED_max=$ac_count
4043 # 10*(2^10) chars as input seems more than enough
4044 test $ac_count -gt 10 && break
4046 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4049 $ac_path_SED_found && break 3
4054 if test -z "$ac_cv_path_SED"; then
4055 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4063 $as_echo "$ac_cv_path_SED" >&6; }
4064 SED="$ac_cv_path_SED"
4067 test -z "$SED" && SED=sed
4068 Xsed="$SED -e 1s/^X//"
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4081 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4082 if ${ac_cv_path_GREP+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 if test -z "$GREP"; then
4086 ac_path_GREP_found=false
4087 # Loop through the user's path and test for each of PROGNAME-LIST
4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4092 test -z "$as_dir" && as_dir=.
4093 for ac_prog in grep ggrep; do
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4096 as_fn_executable_p "$ac_path_GREP" || continue
4097 # Check for GNU ac_path_GREP and select it if it is found.
4098 # Check for GNU $ac_path_GREP
4099 case `"$ac_path_GREP" --version 2>&1` in
4101 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4104 $as_echo_n 0123456789 >"conftest.in"
4107 cat "conftest.in" "conftest.in" >"conftest.tmp"
4108 mv "conftest.tmp" "conftest.in"
4109 cp "conftest.in" "conftest.nl"
4110 $as_echo 'GREP' >> "conftest.nl"
4111 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4112 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4113 as_fn_arith $ac_count + 1 && ac_count=$as_val
4114 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4115 # Best one so far, save it but keep looking for a better one
4116 ac_cv_path_GREP="$ac_path_GREP"
4117 ac_path_GREP_max=$ac_count
4119 # 10*(2^10) chars as input seems more than enough
4120 test $ac_count -gt 10 && break
4122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4125 $ac_path_GREP_found && break 3
4130 if test -z "$ac_cv_path_GREP"; then
4131 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4134 ac_cv_path_GREP=$GREP
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4139 $as_echo "$ac_cv_path_GREP" >&6; }
4140 GREP="$ac_cv_path_GREP"
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4144 $as_echo_n "checking for egrep... " >&6; }
4145 if ${ac_cv_path_EGREP+:} false; then :
4146 $as_echo_n "(cached) " >&6
4148 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4149 then ac_cv_path_EGREP="$GREP -E"
4151 if test -z "$EGREP"; then
4152 ac_path_EGREP_found=false
4153 # Loop through the user's path and test for each of PROGNAME-LIST
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4158 test -z "$as_dir" && as_dir=.
4159 for ac_prog in egrep; do
4160 for ac_exec_ext in '' $ac_executable_extensions; do
4161 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4162 as_fn_executable_p "$ac_path_EGREP" || continue
4163 # Check for GNU ac_path_EGREP and select it if it is found.
4164 # Check for GNU $ac_path_EGREP
4165 case `"$ac_path_EGREP" --version 2>&1` in
4167 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4170 $as_echo_n 0123456789 >"conftest.in"
4173 cat "conftest.in" "conftest.in" >"conftest.tmp"
4174 mv "conftest.tmp" "conftest.in"
4175 cp "conftest.in" "conftest.nl"
4176 $as_echo 'EGREP' >> "conftest.nl"
4177 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4179 as_fn_arith $ac_count + 1 && ac_count=$as_val
4180 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4181 # Best one so far, save it but keep looking for a better one
4182 ac_cv_path_EGREP="$ac_path_EGREP"
4183 ac_path_EGREP_max=$ac_count
4185 # 10*(2^10) chars as input seems more than enough
4186 test $ac_count -gt 10 && break
4188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4191 $ac_path_EGREP_found && break 3
4196 if test -z "$ac_cv_path_EGREP"; then
4197 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4200 ac_cv_path_EGREP=$EGREP
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4206 $as_echo "$ac_cv_path_EGREP" >&6; }
4207 EGREP="$ac_cv_path_EGREP"
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4211 $as_echo_n "checking for fgrep... " >&6; }
4212 if ${ac_cv_path_FGREP+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4216 then ac_cv_path_FGREP="$GREP -F"
4218 if test -z "$FGREP"; then
4219 ac_path_FGREP_found=false
4220 # Loop through the user's path and test for each of PROGNAME-LIST
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4225 test -z "$as_dir" && as_dir=.
4226 for ac_prog in fgrep; do
4227 for ac_exec_ext in '' $ac_executable_extensions; do
4228 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4229 as_fn_executable_p "$ac_path_FGREP" || continue
4230 # Check for GNU ac_path_FGREP and select it if it is found.
4231 # Check for GNU $ac_path_FGREP
4232 case `"$ac_path_FGREP" --version 2>&1` in
4234 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4237 $as_echo_n 0123456789 >"conftest.in"
4240 cat "conftest.in" "conftest.in" >"conftest.tmp"
4241 mv "conftest.tmp" "conftest.in"
4242 cp "conftest.in" "conftest.nl"
4243 $as_echo 'FGREP' >> "conftest.nl"
4244 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4245 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4246 as_fn_arith $ac_count + 1 && ac_count=$as_val
4247 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4248 # Best one so far, save it but keep looking for a better one
4249 ac_cv_path_FGREP="$ac_path_FGREP"
4250 ac_path_FGREP_max=$ac_count
4252 # 10*(2^10) chars as input seems more than enough
4253 test $ac_count -gt 10 && break
4255 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4258 $ac_path_FGREP_found && break 3
4263 if test -z "$ac_cv_path_FGREP"; then
4264 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4267 ac_cv_path_FGREP=$FGREP
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4273 $as_echo "$ac_cv_path_FGREP" >&6; }
4274 FGREP="$ac_cv_path_FGREP"
4277 test -z "$GREP" && GREP=grep
4297 # Check whether --with-gnu-ld was given.
4298 if test "${with_gnu_ld+set}" = set; then :
4299 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4305 if test "$GCC" = yes; then
4306 # Check if gcc -print-prog-name=ld gives a path.
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4308 $as_echo_n "checking for ld used by $CC... " >&6; }
4311 # gcc leaves a trailing carriage return which upsets mingw
4312 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4314 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4317 # Accept absolute paths.
4319 re_direlt='/[^/][^/]*/\.\./'
4320 # Canonicalize the pathname of ld
4321 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4322 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4323 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4325 test -z "$LD" && LD="$ac_prog"
4328 # If it fails, then pretend we aren't using GCC.
4332 # If it is relative, then search for the first ld in PATH.
4336 elif test "$with_gnu_ld" = yes; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4338 $as_echo_n "checking for GNU ld... " >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4341 $as_echo_n "checking for non-GNU ld... " >&6; }
4343 if ${lt_cv_path_LD+:} false; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -z "$LD"; then
4347 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4348 for ac_dir in $PATH; do
4350 test -z "$ac_dir" && ac_dir=.
4351 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4352 lt_cv_path_LD="$ac_dir/$ac_prog"
4353 # Check to see if the program is GNU ld. I'd rather use --version,
4354 # but apparently some variants of GNU ld only accept -v.
4355 # Break only if it was the GNU/non-GNU ld that we prefer.
4356 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4357 *GNU* | *'with BFD'*)
4358 test "$with_gnu_ld" != no && break
4361 test "$with_gnu_ld" != yes && break
4368 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4373 if test -n "$LD"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4375 $as_echo "$LD" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4380 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4382 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4383 if ${lt_cv_prog_gnu_ld+:} false; then :
4384 $as_echo_n "(cached) " >&6
4386 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4387 case `$LD -v 2>&1 </dev/null` in
4388 *GNU* | *'with BFD'*)
4389 lt_cv_prog_gnu_ld=yes
4392 lt_cv_prog_gnu_ld=no
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4397 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4398 with_gnu_ld=$lt_cv_prog_gnu_ld
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4409 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4410 if ${lt_cv_path_NM+:} false; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$NM"; then
4414 # Let the user override the test.
4417 lt_nm_to_check="${ac_tool_prefix}nm"
4418 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4419 lt_nm_to_check="$lt_nm_to_check nm"
4421 for lt_tmp_nm in $lt_nm_to_check; do
4422 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4423 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4425 test -z "$ac_dir" && ac_dir=.
4426 tmp_nm="$ac_dir/$lt_tmp_nm"
4427 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4428 # Check to see if the nm accepts a BSD-compat flag.
4429 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4430 # nm: unknown option "B" ignored
4431 # Tru64's nm complains that /dev/null is an invalid object file
4432 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4433 */dev/null* | *'Invalid file or object type'*)
4434 lt_cv_path_NM="$tmp_nm -B"
4438 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4440 lt_cv_path_NM="$tmp_nm -p"
4444 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4445 continue # so that we can try to find one that supports BSD flags
4454 : ${lt_cv_path_NM=no}
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4458 $as_echo "$lt_cv_path_NM" >&6; }
4459 if test "$lt_cv_path_NM" != "no"; then
4462 # Didn't find any BSD compatible name lister, look for dumpbin.
4463 if test -n "$DUMPBIN"; then :
4464 # Let the user override the test.
4466 if test -n "$ac_tool_prefix"; then
4467 for ac_prog in dumpbin "link -dump"
4469 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4470 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_DUMPBIN+:} false; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -n "$DUMPBIN"; then
4477 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 DUMPBIN=$ac_cv_prog_DUMPBIN
4497 if test -n "$DUMPBIN"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4499 $as_echo "$DUMPBIN" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4506 test -n "$DUMPBIN" && break
4509 if test -z "$DUMPBIN"; then
4510 ac_ct_DUMPBIN=$DUMPBIN
4511 for ac_prog in dumpbin "link -dump"
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy $ac_prog; ac_word=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4518 $as_echo_n "(cached) " >&6
4520 if test -n "$ac_ct_DUMPBIN"; then
4521 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4530 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4541 if test -n "$ac_ct_DUMPBIN"; then
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4543 $as_echo "$ac_ct_DUMPBIN" >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4550 test -n "$ac_ct_DUMPBIN" && break
4553 if test "x$ac_ct_DUMPBIN" = x; then
4556 case $cross_compiling:$ac_tool_warned in
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4560 ac_tool_warned=yes ;;
4562 DUMPBIN=$ac_ct_DUMPBIN
4566 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4568 DUMPBIN="$DUMPBIN -symbols"
4576 if test "$DUMPBIN" != ":"; then
4580 test -z "$NM" && NM=nm
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4588 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4589 if ${lt_cv_nm_interface+:} false; then :
4590 $as_echo_n "(cached) " >&6
4592 lt_cv_nm_interface="BSD nm"
4593 echo "int some_variable = 0;" > conftest.$ac_ext
4594 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4595 (eval "$ac_compile" 2>conftest.err)
4596 cat conftest.err >&5
4597 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4598 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4599 cat conftest.err >&5
4600 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4601 cat conftest.out >&5
4602 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4603 lt_cv_nm_interface="MS dumpbin"
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4608 $as_echo "$lt_cv_nm_interface" >&6; }
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4611 $as_echo_n "checking whether ln -s works... " >&6; }
4613 if test "$LN_S" = "ln -s"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4615 $as_echo "yes" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4618 $as_echo "no, using $LN_S" >&6; }
4621 # find the maximum length of command line arguments
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4623 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4624 if ${lt_cv_sys_max_cmd_len+:} false; then :
4625 $as_echo_n "(cached) " >&6
4632 # On DJGPP, this test can blow up pretty badly due to problems in libc
4633 # (any single argument exceeding 2000 bytes causes a buffer overrun
4634 # during glob expansion). Even if it were fixed, the result of this
4635 # check would be larger than it should be.
4636 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4640 # Under GNU Hurd, this test is not required because there is
4641 # no limit to the length of command line arguments.
4642 # Libtool will interpret -1 as no limit whatsoever
4643 lt_cv_sys_max_cmd_len=-1;
4646 cygwin* | mingw* | cegcc*)
4647 # On Win9x/ME, this test blows up -- it succeeds, but takes
4648 # about 5 minutes as the teststring grows exponentially.
4649 # Worse, since 9x/ME are not pre-emptively multitasking,
4650 # you end up with a "frozen" computer, even though with patience
4651 # the test eventually succeeds (with a max line length of 256k).
4652 # Instead, let's just punt: use the minimum linelength reported by
4653 # all of the supported platforms: 8192 (on NT/2K/XP).
4654 lt_cv_sys_max_cmd_len=8192;
4658 # On MiNT this can take a long time and run out of memory.
4659 lt_cv_sys_max_cmd_len=8192;
4663 # On AmigaOS with pdksh, this test takes hours, literally.
4664 # So we just punt and use a minimum line length of 8192.
4665 lt_cv_sys_max_cmd_len=8192;
4668 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4669 # This has been around since 386BSD, at least. Likely further.
4670 if test -x /sbin/sysctl; then
4671 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4672 elif test -x /usr/sbin/sysctl; then
4673 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4675 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4677 # And add a safety zone
4678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4683 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4684 lt_cv_sys_max_cmd_len=196608
4688 # The test takes a long time on OS/2.
4689 lt_cv_sys_max_cmd_len=8192
4693 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4694 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4695 # nice to cause kernel panics so lets avoid the loop below.
4696 # First set a reasonable default.
4697 lt_cv_sys_max_cmd_len=16384
4699 if test -x /sbin/sysconfig; then
4700 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4701 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4706 lt_cv_sys_max_cmd_len=102400
4708 sysv5* | sco5v6* | sysv4.2uw2*)
4709 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4710 if test -n "$kargmax"; then
4711 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4713 lt_cv_sys_max_cmd_len=32768
4717 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4718 if test -n "$lt_cv_sys_max_cmd_len"; then
4719 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4722 # Make teststring a little bigger before we do anything with it.
4723 # a 1K string should be a reasonable start.
4724 for i in 1 2 3 4 5 6 7 8 ; do
4725 teststring=$teststring$teststring
4727 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4728 # If test is not a shell built-in, we'll probably end up computing a
4729 # maximum length that is only half of the actual maximum length, but
4731 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4732 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4733 test $i != 17 # 1/2 MB should be enough
4736 teststring=$teststring$teststring
4738 # Only check the string length outside the loop.
4739 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4741 # Add a significant safety factor because C++ compilers can tack on
4742 # massive amounts of additional arguments before passing them to the
4743 # linker. It appears as though 1/2 is a usable value.
4744 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4751 if test -n $lt_cv_sys_max_cmd_len ; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4753 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4756 $as_echo "none" >&6; }
4758 max_cmd_len=$lt_cv_sys_max_cmd_len
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4770 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4771 # Try some XSI features
4774 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4776 && eval 'test $(( 1 + 1 )) -eq 2 \
4777 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4780 $as_echo "$xsi_shell" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4784 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4786 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4788 && lt_shell_append=yes
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4790 $as_echo "$lt_shell_append" >&6; }
4793 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4803 # test EBCDIC or ASCII
4804 case `echo X|tr X '\101'` in
4805 A) # ASCII based system
4806 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4807 lt_SP2NL='tr \040 \012'
4808 lt_NL2SP='tr \015\012 \040\040'
4810 *) # EBCDIC based system
4811 lt_SP2NL='tr \100 \n'
4812 lt_NL2SP='tr \r\n \100\100'
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4825 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4826 if ${lt_cv_to_host_file_cmd+:} false; then :
4827 $as_echo_n "(cached) " >&6
4832 *-*-mingw* ) # actually msys
4833 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4836 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4838 * ) # otherwise, assume *nix
4839 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4845 *-*-mingw* ) # actually msys
4846 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4849 lt_cv_to_host_file_cmd=func_convert_file_noop
4851 * ) # otherwise, assume *nix
4852 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4856 * ) # unhandled hosts (and "normal" native builds)
4857 lt_cv_to_host_file_cmd=func_convert_file_noop
4863 to_host_file_cmd=$lt_cv_to_host_file_cmd
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4865 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4872 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4873 if ${lt_cv_to_tool_file_cmd+:} false; then :
4874 $as_echo_n "(cached) " >&6
4876 #assume ordinary cross tools, or native build.
4877 lt_cv_to_tool_file_cmd=func_convert_file_noop
4881 *-*-mingw* ) # actually msys
4882 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4890 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4892 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4899 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4900 if ${lt_cv_ld_reload_flag+:} false; then :
4901 $as_echo_n "(cached) " >&6
4903 lt_cv_ld_reload_flag='-r'
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4906 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4907 reload_flag=$lt_cv_ld_reload_flag
4908 case $reload_flag in
4910 *) reload_flag=" $reload_flag" ;;
4912 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4914 cygwin* | mingw* | pw32* | cegcc*)
4915 if test "$GCC" != yes; then
4920 if test "$GCC" = yes; then
4921 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4923 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4936 if test -n "$ac_tool_prefix"; then
4937 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4938 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_OBJDUMP+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$OBJDUMP"; then
4945 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 OBJDUMP=$ac_cv_prog_OBJDUMP
4965 if test -n "$OBJDUMP"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4967 $as_echo "$OBJDUMP" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4975 if test -z "$ac_cv_prog_OBJDUMP"; then
4976 ac_ct_OBJDUMP=$OBJDUMP
4977 # Extract the first word of "objdump", so it can be a program name with args.
4978 set dummy objdump; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4982 $as_echo_n "(cached) " >&6
4984 if test -n "$ac_ct_OBJDUMP"; then
4985 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5005 if test -n "$ac_ct_OBJDUMP"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5007 $as_echo "$ac_ct_OBJDUMP" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5013 if test "x$ac_ct_OBJDUMP" = x; then
5016 case $cross_compiling:$ac_tool_warned in
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5022 OBJDUMP=$ac_ct_OBJDUMP
5025 OBJDUMP="$ac_cv_prog_OBJDUMP"
5028 test -z "$OBJDUMP" && OBJDUMP=objdump
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5039 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5040 if ${lt_cv_deplibs_check_method+:} false; then :
5041 $as_echo_n "(cached) " >&6
5043 lt_cv_file_magic_cmd='$MAGIC_CMD'
5044 lt_cv_file_magic_test_file=
5045 lt_cv_deplibs_check_method='unknown'
5046 # Need to set the preceding variable on all platforms that support
5047 # interlibrary dependencies.
5048 # 'none' -- dependencies not supported.
5049 # `unknown' -- same as none, but documents that we really don't know.
5050 # 'pass_all' -- all dependencies passed with no checks.
5051 # 'test_compile' -- check by making test program.
5052 # 'file_magic [[regex]]' -- check by looking for files in library path
5053 # which responds to the $file_magic_cmd with a given extended regex.
5054 # If you have `file' or equivalent on your system and you're not sure
5055 # whether `pass_all' will *always* work, you probably want this one.
5059 lt_cv_deplibs_check_method=pass_all
5063 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5068 lt_cv_file_magic_cmd='/usr/bin/file -L'
5069 lt_cv_file_magic_test_file=/shlib/libc.so
5073 # func_win32_libid is a shell function defined in ltmain.sh
5074 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5075 lt_cv_file_magic_cmd='func_win32_libid'
5079 # Base MSYS/MinGW do not provide the 'file' command needed by
5080 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5081 # unless we find 'file', for example because we are cross-compiling.
5082 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5083 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5084 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5085 lt_cv_file_magic_cmd='func_win32_libid'
5087 # Keep this pattern in sync with the one in func_win32_libid.
5088 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5089 lt_cv_file_magic_cmd='$OBJDUMP -f'
5094 # use the weaker test based on 'objdump'. See mingw*.
5095 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5096 lt_cv_file_magic_cmd='$OBJDUMP -f'
5099 darwin* | rhapsody*)
5100 lt_cv_deplibs_check_method=pass_all
5103 freebsd* | dragonfly*)
5104 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5107 # Not sure whether the presence of OpenBSD here was a mistake.
5108 # Let's accept both of them until this is cleared up.
5109 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5110 lt_cv_file_magic_cmd=/usr/bin/file
5111 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5115 lt_cv_deplibs_check_method=pass_all
5120 lt_cv_deplibs_check_method=pass_all
5124 lt_cv_deplibs_check_method=pass_all
5127 hpux10.20* | hpux11*)
5128 lt_cv_file_magic_cmd=/usr/bin/file
5131 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5132 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5135 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]'
5136 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5139 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5140 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5146 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5147 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5150 irix5* | irix6* | nonstopux*)
5152 *-32|*"-32 ") libmagic=32-bit;;
5153 *-n32|*"-n32 ") libmagic=N32;;
5154 *-64|*"-64 ") libmagic=64-bit;;
5155 *) libmagic=never-match;;
5157 lt_cv_deplibs_check_method=pass_all
5160 # This must be glibc/ELF.
5161 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5162 lt_cv_deplibs_check_method=pass_all
5166 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5167 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5169 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5174 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5175 lt_cv_file_magic_cmd=/usr/bin/file
5176 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5180 lt_cv_deplibs_check_method=pass_all
5184 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5185 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5187 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5191 osf3* | osf4* | osf5*)
5192 lt_cv_deplibs_check_method=pass_all
5196 lt_cv_deplibs_check_method=pass_all
5200 lt_cv_deplibs_check_method=pass_all
5203 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5204 lt_cv_deplibs_check_method=pass_all
5208 case $host_vendor in
5210 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]'
5211 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5214 lt_cv_deplibs_check_method=pass_all
5217 lt_cv_file_magic_cmd='/bin/file'
5218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5221 lt_cv_file_magic_cmd='/bin/file'
5222 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5223 lt_cv_file_magic_test_file=/lib/libc.so
5226 lt_cv_deplibs_check_method=pass_all
5229 lt_cv_deplibs_check_method=pass_all
5235 lt_cv_deplibs_check_method=pass_all
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5241 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5245 if test "$build" = "$host"; then
5248 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5251 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5257 file_magic_cmd=$lt_cv_file_magic_cmd
5258 deplibs_check_method=$lt_cv_deplibs_check_method
5259 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5282 if test -n "$ac_tool_prefix"; then
5283 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5284 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_DLLTOOL+:} false; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$DLLTOOL"; then
5291 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir=.
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 DLLTOOL=$ac_cv_prog_DLLTOOL
5311 if test -n "$DLLTOOL"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5313 $as_echo "$DLLTOOL" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5321 if test -z "$ac_cv_prog_DLLTOOL"; then
5322 ac_ct_DLLTOOL=$DLLTOOL
5323 # Extract the first word of "dlltool", so it can be a program name with args.
5324 set dummy dlltool; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5328 $as_echo_n "(cached) " >&6
5330 if test -n "$ac_ct_DLLTOOL"; then
5331 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5351 if test -n "$ac_ct_DLLTOOL"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5353 $as_echo "$ac_ct_DLLTOOL" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5359 if test "x$ac_ct_DLLTOOL" = x; then
5362 case $cross_compiling:$ac_tool_warned in
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5366 ac_tool_warned=yes ;;
5368 DLLTOOL=$ac_ct_DLLTOOL
5371 DLLTOOL="$ac_cv_prog_DLLTOOL"
5374 test -z "$DLLTOOL" && DLLTOOL=dlltool
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5386 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5387 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5388 $as_echo_n "(cached) " >&6
5390 lt_cv_sharedlib_from_linklib_cmd='unknown'
5393 cygwin* | mingw* | pw32* | cegcc*)
5394 # two different shell functions defined in ltmain.sh
5395 # decide which to use based on capabilities of $DLLTOOL
5396 case `$DLLTOOL --help 2>&1` in
5397 *--identify-strict*)
5398 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5401 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5406 # fallback: assume linklib IS sharedlib
5407 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5413 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5414 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5415 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5424 if test -n "$ac_tool_prefix"; then
5427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430 $as_echo_n "checking for $ac_word... " >&6; }
5431 if ${ac_cv_prog_AR+:} false; then :
5432 $as_echo_n "(cached) " >&6
5434 if test -n "$AR"; then
5435 ac_cv_prog_AR="$AR" # Let the user override the test.
5437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 test -z "$as_dir" && as_dir=.
5442 for ac_exec_ext in '' $ac_executable_extensions; do
5443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5444 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 if test -n "$AR"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5457 $as_echo "$AR" >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5464 test -n "$AR" && break
5467 if test -z "$AR"; then
5471 # Extract the first word of "$ac_prog", so it can be a program name with args.
5472 set dummy $ac_prog; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5476 $as_echo_n "(cached) " >&6
5478 if test -n "$ac_ct_AR"; then
5479 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_ac_ct_AR="$ac_prog"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5499 if test -n "$ac_ct_AR"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5501 $as_echo "$ac_ct_AR" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5508 test -n "$ac_ct_AR" && break
5511 if test "x$ac_ct_AR" = x; then
5514 case $cross_compiling:$ac_tool_warned in
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5518 ac_tool_warned=yes ;;
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5538 $as_echo_n "checking for archiver @FILE support... " >&6; }
5539 if ${lt_cv_ar_at_file+:} false; then :
5540 $as_echo_n "(cached) " >&6
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5554 if ac_fn_c_try_compile "$LINENO"; then :
5555 echo conftest.$ac_objext > conftest.lst
5556 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5557 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5558 (eval $lt_ar_try) 2>&5
5560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5561 test $ac_status = 0; }
5562 if test "$ac_status" -eq 0; then
5563 # Ensure the archiver fails upon bogus file names.
5564 rm -f conftest.$ac_objext libconftest.a
5565 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5566 (eval $lt_ar_try) 2>&5
5568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5569 test $ac_status = 0; }
5570 if test "$ac_status" -ne 0; then
5574 rm -f conftest.* libconftest.a
5577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5581 $as_echo "$lt_cv_ar_at_file" >&6; }
5583 if test "x$lt_cv_ar_at_file" = xno; then
5586 archiver_list_spec=$lt_cv_ar_at_file
5595 if test -n "$ac_tool_prefix"; then
5596 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5597 set dummy ${ac_tool_prefix}strip; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_STRIP+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$STRIP"; then
5604 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 STRIP=$ac_cv_prog_STRIP
5624 if test -n "$STRIP"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5626 $as_echo "$STRIP" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5634 if test -z "$ac_cv_prog_STRIP"; then
5636 # Extract the first word of "strip", so it can be a program name with args.
5637 set dummy strip; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$ac_ct_STRIP"; then
5644 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_ac_ct_STRIP="strip"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5664 if test -n "$ac_ct_STRIP"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5666 $as_echo "$ac_ct_STRIP" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5672 if test "x$ac_ct_STRIP" = x; then
5675 case $cross_compiling:$ac_tool_warned in
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5679 ac_tool_warned=yes ;;
5684 STRIP="$ac_cv_prog_STRIP"
5687 test -z "$STRIP" && STRIP=:
5694 if test -n "$ac_tool_prefix"; then
5695 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5696 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_RANLIB+:} false; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$RANLIB"; then
5703 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 RANLIB=$ac_cv_prog_RANLIB
5723 if test -n "$RANLIB"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5725 $as_echo "$RANLIB" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5733 if test -z "$ac_cv_prog_RANLIB"; then
5734 ac_ct_RANLIB=$RANLIB
5735 # Extract the first word of "ranlib", so it can be a program name with args.
5736 set dummy ranlib; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5740 $as_echo_n "(cached) " >&6
5742 if test -n "$ac_ct_RANLIB"; then
5743 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_ac_ct_RANLIB="ranlib"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5763 if test -n "$ac_ct_RANLIB"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5765 $as_echo "$ac_ct_RANLIB" >&6; }
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5771 if test "x$ac_ct_RANLIB" = x; then
5774 case $cross_compiling:$ac_tool_warned in
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned=yes ;;
5780 RANLIB=$ac_ct_RANLIB
5783 RANLIB="$ac_cv_prog_RANLIB"
5786 test -z "$RANLIB" && RANLIB=:
5793 # Determine commands to create old-style static archives.
5794 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5795 old_postinstall_cmds='chmod 644 $oldlib'
5796 old_postuninstall_cmds=
5798 if test -n "$RANLIB"; then
5801 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5804 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5807 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5812 lock_old_archive_extraction=yes ;;
5814 lock_old_archive_extraction=no ;;
5855 # If no C compiler was specified, use CC.
5858 # If no C compiler flags were specified, use CFLAGS.
5859 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5861 # Allow CC to be a program name with arguments.
5865 # Check for command to grab the raw symbol name followed by C symbol from nm.
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5867 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5868 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5869 $as_echo_n "(cached) " >&6
5872 # These are sane defaults that work on at least a few old systems.
5873 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5875 # Character class describing NM global symbol codes.
5876 symcode='[BCDEGRST]'
5878 # Regexp to match symbols that can be accessed directly from C.
5879 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5881 # Define system-specific variables.
5886 cygwin* | mingw* | pw32* | cegcc*)
5887 symcode='[ABCDGISTW]'
5890 if test "$host_cpu" = ia64; then
5891 symcode='[ABCDEGRST]'
5895 symcode='[BCDEGRST]'
5898 symcode='[BCDEGQRST]'
5909 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5917 # If we're using GNU nm, then use its standard symbol codes.
5918 case `$NM -V 2>&1` in
5919 *GNU* | *'with BFD'*)
5920 symcode='[ABCDGIRSTW]' ;;
5923 # Transform an extracted symbol line into a proper C declaration.
5924 # Some systems (esp. on ia64) link data and code symbols differently,
5925 # so use this general approach.
5926 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5928 # Transform an extracted symbol line into symbol name and symbol address
5929 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5930 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'"
5932 # Handle CRLF in mingw tool chain
5936 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5940 # Try without a prefix underscore, then with it.
5941 for ac_symprfx in "" "_"; do
5943 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5944 symxfrm="\\1 $ac_symprfx\\2 \\2"
5946 # Write the raw and C identifiers.
5947 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5948 # Fake it for dumpbin and say T for any non-static function
5949 # and D for any global variable.
5950 # Also find C++ and __fastcall symbols from MSVC++,
5951 # which start with @ or ?.
5952 lt_cv_sys_global_symbol_pipe="$AWK '"\
5953 " {last_section=section; section=\$ 3};"\
5954 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5955 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5956 " \$ 0!~/External *\|/{next};"\
5957 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5958 " {if(hide[section]) next};"\
5959 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5960 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5961 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5962 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5963 " ' prfx=^$ac_symprfx"
5965 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5967 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5969 # Check to see that the pipe works correctly.
5973 cat > conftest.$ac_ext <<_LT_EOF
5978 void nm_test_func(void);
5979 void nm_test_func(void){}
5983 int main(){nm_test_var='a';nm_test_func();return(0);}
5986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5987 (eval $ac_compile) 2>&5
5989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5990 test $ac_status = 0; }; then
5991 # Now try to grab the symbols.
5993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5994 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5997 test $ac_status = 0; } && test -s "$nlist"; then
5998 # Try sorting and uniquifying the output.
5999 if sort "$nlist" | uniq > "$nlist"T; then
6000 mv -f "$nlist"T "$nlist"
6005 # Make sure that we snagged all the symbols we need.
6006 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6007 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6008 cat <<_LT_EOF > conftest.$ac_ext
6009 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6010 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6011 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6012 relocations are performed -- see ld's documentation on pseudo-relocs. */
6013 # define LT_DLSYM_CONST
6014 #elif defined(__osf__)
6015 /* This system does not cope well with relocations in const data. */
6016 # define LT_DLSYM_CONST
6018 # define LT_DLSYM_CONST const
6026 # Now generate the symbol file.
6027 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6029 cat <<_LT_EOF >> conftest.$ac_ext
6031 /* The mapping between symbol names and symbols. */
6032 LT_DLSYM_CONST struct {
6036 lt__PROGRAM__LTX_preloaded_symbols[] =
6038 { "@PROGRAM@", (void *) 0 },
6040 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6041 cat <<\_LT_EOF >> conftest.$ac_ext
6045 /* This works around a problem in FreeBSD linker */
6046 #ifdef FREEBSD_WORKAROUND
6047 static const void *lt_preloaded_setup() {
6048 return lt__PROGRAM__LTX_preloaded_symbols;
6056 # Now try linking the two files.
6057 mv conftest.$ac_objext conftstm.$ac_objext
6058 lt_globsym_save_LIBS=$LIBS
6059 lt_globsym_save_CFLAGS=$CFLAGS
6060 LIBS="conftstm.$ac_objext"
6061 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6063 (eval $ac_link) 2>&5
6065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6066 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6069 LIBS=$lt_globsym_save_LIBS
6070 CFLAGS=$lt_globsym_save_CFLAGS
6072 echo "cannot find nm_test_func in $nlist" >&5
6075 echo "cannot find nm_test_var in $nlist" >&5
6078 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6081 echo "$progname: failed program was:" >&5
6082 cat conftest.$ac_ext >&5
6084 rm -rf conftest* conftst*
6086 # Do not use the global_symbol_pipe unless it works.
6087 if test "$pipe_works" = yes; then
6090 lt_cv_sys_global_symbol_pipe=
6096 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6097 lt_cv_sys_global_symbol_to_cdecl=
6099 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6101 $as_echo "failed" >&6; }
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6104 $as_echo "ok" >&6; }
6107 # Response file support.
6108 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6109 nm_file_list_spec='@'
6110 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6111 nm_file_list_spec='@'
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6141 $as_echo_n "checking for sysroot... " >&6; }
6143 # Check whether --with-sysroot was given.
6144 if test "${with_sysroot+set}" = set; then :
6145 withval=$with_sysroot;
6152 case ${with_sysroot} in #(
6154 if test "$GCC" = yes; then
6155 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6159 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6165 $as_echo "${with_sysroot}" >&6; }
6166 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6171 $as_echo "${lt_sysroot:-no}" >&6; }
6177 # Check whether --enable-libtool-lock was given.
6178 if test "${enable_libtool_lock+set}" = set; then :
6179 enableval=$enable_libtool_lock;
6182 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6184 # Some flags need to be propagated to the compiler or linker for good
6188 # Find out which ABI we are using.
6189 echo 'int i;' > conftest.$ac_ext
6190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6191 (eval $ac_compile) 2>&5
6193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6194 test $ac_status = 0; }; then
6195 case `/usr/bin/file conftest.$ac_objext` in
6207 # Find out which ABI we are using.
6208 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6210 (eval $ac_compile) 2>&5
6212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6213 test $ac_status = 0; }; then
6214 if test "$lt_cv_prog_gnu_ld" = yes; then
6215 case `/usr/bin/file conftest.$ac_objext` in
6217 LD="${LD-ld} -melf32bsmip"
6220 LD="${LD-ld} -melf32bmipn32"
6223 LD="${LD-ld} -melf64bmip"
6227 case `/usr/bin/file conftest.$ac_objext` in
6243 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6244 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6245 # Find out which ABI we are using.
6246 echo 'int i;' > conftest.$ac_ext
6247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6248 (eval $ac_compile) 2>&5
6250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6251 test $ac_status = 0; }; then
6252 case `/usr/bin/file conftest.o` in
6255 x86_64-*kfreebsd*-gnu)
6256 LD="${LD-ld} -m elf_i386_fbsd"
6259 LD="${LD-ld} -m elf_i386"
6262 LD="${LD-ld} -m elf32lppclinux"
6265 LD="${LD-ld} -m elf32ppclinux"
6268 LD="${LD-ld} -m elf_s390"
6271 LD="${LD-ld} -m elf32_sparc"
6277 x86_64-*kfreebsd*-gnu)
6278 LD="${LD-ld} -m elf_x86_64_fbsd"
6281 LD="${LD-ld} -m elf_x86_64"
6284 LD="${LD-ld} -m elf64lppc"
6287 LD="${LD-ld} -m elf64ppc"
6289 s390*-*linux*|s390*-*tpf*)
6290 LD="${LD-ld} -m elf64_s390"
6293 LD="${LD-ld} -m elf64_sparc"
6303 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6304 SAVE_CFLAGS="$CFLAGS"
6305 CFLAGS="$CFLAGS -belf"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6307 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6308 if ${lt_cv_cc_needs_belf+:} false; then :
6309 $as_echo_n "(cached) " >&6
6312 ac_cpp='$CPP $CPPFLAGS'
6313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6328 if ac_fn_c_try_link "$LINENO"; then :
6329 lt_cv_cc_needs_belf=yes
6331 lt_cv_cc_needs_belf=no
6333 rm -f core conftest.err conftest.$ac_objext \
6334 conftest$ac_exeext conftest.$ac_ext
6336 ac_cpp='$CPP $CPPFLAGS'
6337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6343 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6344 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6345 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6346 CFLAGS="$SAVE_CFLAGS"
6350 # Find out which ABI we are using.
6351 echo 'int i;' > conftest.$ac_ext
6352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6353 (eval $ac_compile) 2>&5
6355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6356 test $ac_status = 0; }; then
6357 case `/usr/bin/file conftest.o` in
6359 case $lt_cv_prog_gnu_ld in
6363 LD="${LD-ld} -m elf_x86_64"
6366 LD="${LD-ld} -m elf64_sparc"
6369 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6370 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6375 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6387 need_locks="$enable_libtool_lock"
6389 if test -n "$ac_tool_prefix"; then
6390 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6391 set dummy ${ac_tool_prefix}mt; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6395 $as_echo_n "(cached) " >&6
6397 if test -n "$MANIFEST_TOOL"; then
6398 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir=.
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6418 if test -n "$MANIFEST_TOOL"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6420 $as_echo "$MANIFEST_TOOL" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6428 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6429 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6430 # Extract the first word of "mt", so it can be a program name with args.
6431 set dummy mt; ac_word=$2
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433 $as_echo_n "checking for $ac_word... " >&6; }
6434 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6435 $as_echo_n "(cached) " >&6
6437 if test -n "$ac_ct_MANIFEST_TOOL"; then
6438 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6458 if test -n "$ac_ct_MANIFEST_TOOL"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6460 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6466 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6469 case $cross_compiling:$ac_tool_warned in
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6473 ac_tool_warned=yes ;;
6475 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6478 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6481 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6483 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6484 if ${lt_cv_path_mainfest_tool+:} false; then :
6485 $as_echo_n "(cached) " >&6
6487 lt_cv_path_mainfest_tool=no
6488 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6489 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6490 cat conftest.err >&5
6491 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6492 lt_cv_path_mainfest_tool=yes
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6497 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6498 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6508 rhapsody* | darwin*)
6509 if test -n "$ac_tool_prefix"; then
6510 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6511 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6515 $as_echo_n "(cached) " >&6
6517 if test -n "$DSYMUTIL"; then
6518 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6538 if test -n "$DSYMUTIL"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6540 $as_echo "$DSYMUTIL" >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 if test -z "$ac_cv_prog_DSYMUTIL"; then
6549 ac_ct_DSYMUTIL=$DSYMUTIL
6550 # Extract the first word of "dsymutil", so it can be a program name with args.
6551 set dummy dsymutil; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6555 $as_echo_n "(cached) " >&6
6557 if test -n "$ac_ct_DSYMUTIL"; then
6558 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6578 if test -n "$ac_ct_DSYMUTIL"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6580 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6586 if test "x$ac_ct_DSYMUTIL" = x; then
6589 case $cross_compiling:$ac_tool_warned in
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6593 ac_tool_warned=yes ;;
6595 DSYMUTIL=$ac_ct_DSYMUTIL
6598 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6601 if test -n "$ac_tool_prefix"; then
6602 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6603 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_NMEDIT+:} false; then :
6607 $as_echo_n "(cached) " >&6
6609 if test -n "$NMEDIT"; then
6610 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 test -z "$as_dir" && as_dir=.
6617 for ac_exec_ext in '' $ac_executable_extensions; do
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 NMEDIT=$ac_cv_prog_NMEDIT
6630 if test -n "$NMEDIT"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6632 $as_echo "$NMEDIT" >&6; }
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6640 if test -z "$ac_cv_prog_NMEDIT"; then
6641 ac_ct_NMEDIT=$NMEDIT
6642 # Extract the first word of "nmedit", so it can be a program name with args.
6643 set dummy nmedit; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6647 $as_echo_n "(cached) " >&6
6649 if test -n "$ac_ct_NMEDIT"; then
6650 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6670 if test -n "$ac_ct_NMEDIT"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6672 $as_echo "$ac_ct_NMEDIT" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6678 if test "x$ac_ct_NMEDIT" = x; then
6681 case $cross_compiling:$ac_tool_warned in
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6685 ac_tool_warned=yes ;;
6687 NMEDIT=$ac_ct_NMEDIT
6690 NMEDIT="$ac_cv_prog_NMEDIT"
6693 if test -n "$ac_tool_prefix"; then
6694 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6695 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if ${ac_cv_prog_LIPO+:} false; then :
6699 $as_echo_n "(cached) " >&6
6701 if test -n "$LIPO"; then
6702 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 LIPO=$ac_cv_prog_LIPO
6722 if test -n "$LIPO"; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6724 $as_echo "$LIPO" >&6; }
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6732 if test -z "$ac_cv_prog_LIPO"; then
6734 # Extract the first word of "lipo", so it can be a program name with args.
6735 set dummy lipo; ac_word=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 $as_echo_n "checking for $ac_word... " >&6; }
6738 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6739 $as_echo_n "(cached) " >&6
6741 if test -n "$ac_ct_LIPO"; then
6742 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir=.
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ac_ct_LIPO="lipo"
6752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6762 if test -n "$ac_ct_LIPO"; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6764 $as_echo "$ac_ct_LIPO" >&6; }
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 $as_echo "no" >&6; }
6770 if test "x$ac_ct_LIPO" = x; then
6773 case $cross_compiling:$ac_tool_warned in
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned=yes ;;
6782 LIPO="$ac_cv_prog_LIPO"
6785 if test -n "$ac_tool_prefix"; then
6786 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6787 set dummy ${ac_tool_prefix}otool; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_OTOOL+:} false; then :
6791 $as_echo_n "(cached) " >&6
6793 if test -n "$OTOOL"; then
6794 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 test -z "$as_dir" && as_dir=.
6801 for ac_exec_ext in '' $ac_executable_extensions; do
6802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6803 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 OTOOL=$ac_cv_prog_OTOOL
6814 if test -n "$OTOOL"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6816 $as_echo "$OTOOL" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6824 if test -z "$ac_cv_prog_OTOOL"; then
6826 # Extract the first word of "otool", so it can be a program name with args.
6827 set dummy otool; ac_word=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6831 $as_echo_n "(cached) " >&6
6833 if test -n "$ac_ct_OTOOL"; then
6834 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir=.
6841 for ac_exec_ext in '' $ac_executable_extensions; do
6842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6843 ac_cv_prog_ac_ct_OTOOL="otool"
6844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6854 if test -n "$ac_ct_OTOOL"; then
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6856 $as_echo "$ac_ct_OTOOL" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6862 if test "x$ac_ct_OTOOL" = x; then
6865 case $cross_compiling:$ac_tool_warned in
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6869 ac_tool_warned=yes ;;
6874 OTOOL="$ac_cv_prog_OTOOL"
6877 if test -n "$ac_tool_prefix"; then
6878 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_OTOOL64+:} false; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$OTOOL64"; then
6886 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 OTOOL64=$ac_cv_prog_OTOOL64
6906 if test -n "$OTOOL64"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6908 $as_echo "$OTOOL64" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6916 if test -z "$ac_cv_prog_OTOOL64"; then
6917 ac_ct_OTOOL64=$OTOOL64
6918 # Extract the first word of "otool64", so it can be a program name with args.
6919 set dummy otool64; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6923 $as_echo_n "(cached) " >&6
6925 if test -n "$ac_ct_OTOOL64"; then
6926 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6935 ac_cv_prog_ac_ct_OTOOL64="otool64"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6945 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6946 if test -n "$ac_ct_OTOOL64"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6948 $as_echo "$ac_ct_OTOOL64" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6954 if test "x$ac_ct_OTOOL64" = x; then
6957 case $cross_compiling:$ac_tool_warned in
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned=yes ;;
6963 OTOOL64=$ac_ct_OTOOL64
6966 OTOOL64="$ac_cv_prog_OTOOL64"
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6996 $as_echo_n "checking for -single_module linker flag... " >&6; }
6997 if ${lt_cv_apple_cc_single_mod+:} false; then :
6998 $as_echo_n "(cached) " >&6
7000 lt_cv_apple_cc_single_mod=no
7001 if test -z "${LT_MULTI_MODULE}"; then
7002 # By default we will add the -single_module flag. You can override
7003 # by either setting the environment variable LT_MULTI_MODULE
7004 # non-empty at configure time, or by adding -multi_module to the
7006 rm -rf libconftest.dylib*
7007 echo "int foo(void){return 1;}" > conftest.c
7008 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7009 -dynamiclib -Wl,-single_module conftest.c" >&5
7010 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7011 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7013 # If there is a non-empty error log, and "single_module"
7014 # appears in it, assume the flag caused a linker warning
7015 if test -s conftest.err && $GREP single_module conftest.err; then
7016 cat conftest.err >&5
7017 # Otherwise, if the output was created with a 0 exit code from
7018 # the compiler, it worked.
7019 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7020 lt_cv_apple_cc_single_mod=yes
7022 cat conftest.err >&5
7024 rm -rf libconftest.dylib*
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7029 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7032 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7033 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7034 $as_echo_n "(cached) " >&6
7036 lt_cv_ld_exported_symbols_list=no
7037 save_LDFLAGS=$LDFLAGS
7038 echo "_main" > conftest.sym
7039 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7051 if ac_fn_c_try_link "$LINENO"; then :
7052 lt_cv_ld_exported_symbols_list=yes
7054 lt_cv_ld_exported_symbols_list=no
7056 rm -f core conftest.err conftest.$ac_objext \
7057 conftest$ac_exeext conftest.$ac_ext
7058 LDFLAGS="$save_LDFLAGS"
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7062 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7065 $as_echo_n "checking for -force_load linker flag... " >&6; }
7066 if ${lt_cv_ld_force_load+:} false; then :
7067 $as_echo_n "(cached) " >&6
7069 lt_cv_ld_force_load=no
7070 cat > conftest.c << _LT_EOF
7071 int forced_loaded() { return 2;}
7073 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7074 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7075 echo "$AR cru libconftest.a conftest.o" >&5
7076 $AR cru libconftest.a conftest.o 2>&5
7077 echo "$RANLIB libconftest.a" >&5
7078 $RANLIB libconftest.a 2>&5
7079 cat > conftest.c << _LT_EOF
7080 int main() { return 0;}
7082 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7083 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7085 if test -s conftest.err && $GREP force_load conftest.err; then
7086 cat conftest.err >&5
7087 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7088 lt_cv_ld_force_load=yes
7090 cat conftest.err >&5
7092 rm -f conftest.err libconftest.a conftest conftest.c
7093 rm -rf conftest.dSYM
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7097 $as_echo "$lt_cv_ld_force_load" >&6; }
7099 rhapsody* | darwin1.[012])
7100 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7102 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7103 darwin*) # darwin 5.x on
7104 # if running on 10.5 or later, the deployment target defaults
7105 # to the OS version, if on x86, and 10.4, the deployment
7106 # target defaults to 10.4. Don't you love it?
7107 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7108 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7109 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7111 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7113 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7117 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7118 _lt_dar_single_mod='$single_module'
7120 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7121 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7123 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7125 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7126 _lt_dsymutil='~$DSYMUTIL $lib || :'
7134 ac_cpp='$CPP $CPPFLAGS'
7135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7139 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7140 # On Suns, sometimes $CPP names a directory.
7141 if test -n "$CPP" && test -d "$CPP"; then
7144 if test -z "$CPP"; then
7145 if ${ac_cv_prog_CPP+:} false; then :
7146 $as_echo_n "(cached) " >&6
7148 # Double quotes because CPP needs to be expanded
7149 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7152 for ac_c_preproc_warn_flag in '' yes
7154 # Use a header file that comes with gcc, so configuring glibc
7155 # with a fresh cross-compiler works.
7156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7157 # <limits.h> exists even on freestanding compilers.
7158 # On the NeXT, cc -E runs the code through the compiler's parser,
7159 # not just through cpp. "Syntax error" is here to catch this case.
7160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h. */
7163 # include <limits.h>
7165 # include <assert.h>
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7172 # Broken: fails on valid input.
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 # OK, works on sane cases. Now check whether nonexistent headers
7178 # can be detected and how.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #include <ac_nonexistent.h>
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7184 # Broken: success on invalid input.
7187 # Passes both tests.
7191 rm -f conftest.err conftest.i conftest.$ac_ext
7194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7195 rm -f conftest.i conftest.err conftest.$ac_ext
7196 if $ac_preproc_ok; then :
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7209 $as_echo "$CPP" >&6; }
7211 for ac_c_preproc_warn_flag in '' yes
7213 # Use a header file that comes with gcc, so configuring glibc
7214 # with a fresh cross-compiler works.
7215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7216 # <limits.h> exists even on freestanding compilers.
7217 # On the NeXT, cc -E runs the code through the compiler's parser,
7218 # not just through cpp. "Syntax error" is here to catch this case.
7219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7222 # include <limits.h>
7224 # include <assert.h>
7228 if ac_fn_c_try_cpp "$LINENO"; then :
7231 # Broken: fails on valid input.
7234 rm -f conftest.err conftest.i conftest.$ac_ext
7236 # OK, works on sane cases. Now check whether nonexistent headers
7237 # can be detected and how.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #include <ac_nonexistent.h>
7242 if ac_fn_c_try_cpp "$LINENO"; then :
7243 # Broken: success on invalid input.
7246 # Passes both tests.
7250 rm -f conftest.err conftest.i conftest.$ac_ext
7253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7254 rm -f conftest.i conftest.err conftest.$ac_ext
7255 if $ac_preproc_ok; then :
7258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7260 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7261 See \`config.log' for more details" "$LINENO" 5; }
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7272 $as_echo_n "checking for ANSI C header files... " >&6; }
7273 if ${ac_cv_header_stdc+:} false; then :
7274 $as_echo_n "(cached) " >&6
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7291 if ac_fn_c_try_compile "$LINENO"; then :
7292 ac_cv_header_stdc=yes
7294 ac_cv_header_stdc=no
7296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7298 if test $ac_cv_header_stdc = yes; then
7299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7306 $EGREP "memchr" >/dev/null 2>&1; then :
7309 ac_cv_header_stdc=no
7315 if test $ac_cv_header_stdc = yes; then
7316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7318 /* end confdefs.h. */
7322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7323 $EGREP "free" >/dev/null 2>&1; then :
7326 ac_cv_header_stdc=no
7332 if test $ac_cv_header_stdc = yes; then
7333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7334 if test "$cross_compiling" = yes; then :
7337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7338 /* end confdefs.h. */
7341 #if ((' ' & 0x0FF) == 0x020)
7342 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7343 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7345 # define ISLOWER(c) \
7346 (('a' <= (c) && (c) <= 'i') \
7347 || ('j' <= (c) && (c) <= 'r') \
7348 || ('s' <= (c) && (c) <= 'z'))
7349 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7352 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7357 for (i = 0; i < 256; i++)
7358 if (XOR (islower (i), ISLOWER (i))
7359 || toupper (i) != TOUPPER (i))
7364 if ac_fn_c_try_run "$LINENO"; then :
7367 ac_cv_header_stdc=no
7369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7370 conftest.$ac_objext conftest.beam conftest.$ac_ext
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7376 $as_echo "$ac_cv_header_stdc" >&6; }
7377 if test $ac_cv_header_stdc = yes; then
7379 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7383 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7384 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7385 inttypes.h stdint.h unistd.h
7387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7388 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7390 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7391 cat >>confdefs.h <<_ACEOF
7392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7400 for ac_header in dlfcn.h
7402 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7404 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7405 cat >>confdefs.h <<_ACEOF
7406 #define HAVE_DLFCN_H 1
7418 # Check whether --enable-static was given.
7419 if test "${enable_static+set}" = set; then :
7420 enableval=$enable_static; p=${PACKAGE-default}
7422 yes) enable_static=yes ;;
7423 no) enable_static=no ;;
7426 # Look at the argument we got. We use all the common list separators.
7427 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7428 for pkg in $enableval; do
7430 if test "X$pkg" = "X$p"; then
7456 # Check whether --enable-shared was given.
7457 if test "${enable_shared+set}" = set; then :
7458 enableval=$enable_shared; p=${PACKAGE-default}
7460 yes) enable_shared=yes ;;
7461 no) enable_shared=no ;;
7464 # Look at the argument we got. We use all the common list separators.
7465 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7466 for pkg in $enableval; do
7468 if test "X$pkg" = "X$p"; then
7489 # Check whether --with-pic was given.
7490 if test "${with_pic+set}" = set; then :
7491 withval=$with_pic; lt_p=${PACKAGE-default}
7493 yes|no) pic_mode=$withval ;;
7496 # Look at the argument we got. We use all the common list separators.
7497 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7498 for lt_pkg in $withval; do
7500 if test "X$lt_pkg" = "X$lt_p"; then
7512 test -z "$pic_mode" && pic_mode=default
7520 # Check whether --enable-fast-install was given.
7521 if test "${enable_fast_install+set}" = set; then :
7522 enableval=$enable_fast_install; p=${PACKAGE-default}
7524 yes) enable_fast_install=yes ;;
7525 no) enable_fast_install=no ;;
7527 enable_fast_install=no
7528 # Look at the argument we got. We use all the common list separators.
7529 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7530 for pkg in $enableval; do
7532 if test "X$pkg" = "X$p"; then
7533 enable_fast_install=yes
7540 enable_fast_install=yes
7553 # This can be used to rebuild libtool when needed
7554 LIBTOOL_DEPS="$ltmain"
7556 # Always use our own libtool.
7557 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7588 test -z "$LN_S" && LN_S="ln -s"
7603 if test -n "${ZSH_VERSION+set}" ; then
7604 setopt NO_GLOB_SUBST
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7608 $as_echo_n "checking for objdir... " >&6; }
7609 if ${lt_cv_objdir+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 rm -f .libs 2>/dev/null
7613 mkdir .libs 2>/dev/null
7614 if test -d .libs; then
7617 # MS-DOS does not allow filenames that begin with a dot.
7620 rmdir .libs 2>/dev/null
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7623 $as_echo "$lt_cv_objdir" >&6; }
7624 objdir=$lt_cv_objdir
7630 cat >>confdefs.h <<_ACEOF
7631 #define LT_OBJDIR "$lt_cv_objdir/"
7639 # AIX sometimes has problems with the GCC collect2 program. For some
7640 # reason, if we set the COLLECT_NAMES environment variable, the problems
7641 # vanish in a puff of smoke.
7642 if test "X${COLLECT_NAMES+set}" != Xset; then
7644 export COLLECT_NAMES
7651 can_build_shared=yes
7653 # All known linkers require a `.a' archive for static linking (except MSVC,
7654 # which needs '.lib').
7657 with_gnu_ld="$lt_cv_prog_gnu_ld"
7660 old_CFLAGS="$CFLAGS"
7662 # Set sane defaults for various variables
7663 test -z "$CC" && CC=cc
7664 test -z "$LTCC" && LTCC=$CC
7665 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7666 test -z "$LD" && LD=ld
7667 test -z "$ac_objext" && ac_objext=o
7669 for cc_temp in $compiler""; do
7671 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7672 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7677 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7680 # Only perform the check for file, if the check method requires it
7681 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7682 case $deplibs_check_method in
7684 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7686 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7687 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7688 $as_echo_n "(cached) " >&6
7692 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7695 lt_save_MAGIC_CMD="$MAGIC_CMD"
7696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7697 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7698 for ac_dir in $ac_dummy; do
7700 test -z "$ac_dir" && ac_dir=.
7701 if test -f $ac_dir/${ac_tool_prefix}file; then
7702 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7703 if test -n "$file_magic_test_file"; then
7704 case $deplibs_check_method in
7706 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7707 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7708 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7709 $EGREP "$file_magic_regex" > /dev/null; then
7714 *** Warning: the command libtool uses to detect shared libraries,
7715 *** $file_magic_cmd, produces output that libtool cannot recognize.
7716 *** The result is that libtool may fail to recognize shared libraries
7717 *** as such. This will affect the creation of libtool libraries that
7718 *** depend on shared libraries, but programs linked with such libtool
7719 *** libraries will work regardless of this problem. Nevertheless, you
7720 *** may want to report the problem to your system manager and/or to
7721 *** bug-libtool@gnu.org
7731 MAGIC_CMD="$lt_save_MAGIC_CMD"
7736 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7737 if test -n "$MAGIC_CMD"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7739 $as_echo "$MAGIC_CMD" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742 $as_echo "no" >&6; }
7749 if test -z "$lt_cv_path_MAGIC_CMD"; then
7750 if test -n "$ac_tool_prefix"; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7752 $as_echo_n "checking for file... " >&6; }
7753 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7754 $as_echo_n "(cached) " >&6
7758 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7761 lt_save_MAGIC_CMD="$MAGIC_CMD"
7762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7763 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7764 for ac_dir in $ac_dummy; do
7766 test -z "$ac_dir" && ac_dir=.
7767 if test -f $ac_dir/file; then
7768 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7769 if test -n "$file_magic_test_file"; then
7770 case $deplibs_check_method in
7772 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7773 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7774 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7775 $EGREP "$file_magic_regex" > /dev/null; then
7780 *** Warning: the command libtool uses to detect shared libraries,
7781 *** $file_magic_cmd, produces output that libtool cannot recognize.
7782 *** The result is that libtool may fail to recognize shared libraries
7783 *** as such. This will affect the creation of libtool libraries that
7784 *** depend on shared libraries, but programs linked with such libtool
7785 *** libraries will work regardless of this problem. Nevertheless, you
7786 *** may want to report the problem to your system manager and/or to
7787 *** bug-libtool@gnu.org
7797 MAGIC_CMD="$lt_save_MAGIC_CMD"
7802 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7803 if test -n "$MAGIC_CMD"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7805 $as_echo "$MAGIC_CMD" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808 $as_echo "no" >&6; }
7821 # Use C for the default configuration in the libtool script
7825 ac_cpp='$CPP $CPPFLAGS'
7826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7831 # Source file extension for C test sources.
7834 # Object file extension for compiled C test sources.
7838 # Code to be used in simple compile tests
7839 lt_simple_compile_test_code="int some_variable = 0;"
7841 # Code to be used in simple link tests
7842 lt_simple_link_test_code='int main(){return(0);}'
7850 # If no C compiler was specified, use CC.
7853 # If no C compiler flags were specified, use CFLAGS.
7854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7856 # Allow CC to be a program name with arguments.
7859 # Save the default compiler, since it gets overwritten when the other
7860 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7861 compiler_DEFAULT=$CC
7863 # save warnings/boilerplate of simple test code
7864 ac_outfile=conftest.$ac_objext
7865 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7866 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7867 _lt_compiler_boilerplate=`cat conftest.err`
7870 ac_outfile=conftest.$ac_objext
7871 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7872 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7873 _lt_linker_boilerplate=`cat conftest.err`
7877 if test -n "$compiler"; then
7879 lt_prog_compiler_no_builtin_flag=
7881 if test "$GCC" = yes; then
7882 case $cc_basename in
7884 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7886 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7890 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7891 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7892 $as_echo_n "(cached) " >&6
7894 lt_cv_prog_compiler_rtti_exceptions=no
7895 ac_outfile=conftest.$ac_objext
7896 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7897 lt_compiler_flag="-fno-rtti -fno-exceptions"
7898 # Insert the option either (1) after the last *FLAGS variable, or
7899 # (2) before a word containing "conftest.", or (3) at the end.
7900 # Note that $ac_compile itself does not contain backslashes and begins
7901 # with a dollar sign (not a hyphen), so the echo should work correctly.
7902 # The option is referenced via a variable to avoid confusing sed.
7903 lt_compile=`echo "$ac_compile" | $SED \
7904 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7905 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7906 -e 's:$: $lt_compiler_flag:'`
7907 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7908 (eval "$lt_compile" 2>conftest.err)
7910 cat conftest.err >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 if (exit $ac_status) && test -s "$ac_outfile"; then
7913 # The compiler can only warn and ignore the option if not recognized
7914 # So say no if there are warnings other than the usual output.
7915 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7916 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7917 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7918 lt_cv_prog_compiler_rtti_exceptions=yes
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7925 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7927 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7928 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7940 lt_prog_compiler_wl=
7941 lt_prog_compiler_pic=
7942 lt_prog_compiler_static=
7945 if test "$GCC" = yes; then
7946 lt_prog_compiler_wl='-Wl,'
7947 lt_prog_compiler_static='-static'
7951 # All AIX code is PIC.
7952 if test "$host_cpu" = ia64; then
7953 # AIX 5 now supports IA64 processor
7954 lt_prog_compiler_static='-Bstatic'
7961 # see comment about AmigaOS4 .so support
7962 lt_prog_compiler_pic='-fPIC'
7965 # FIXME: we need at least 68020 code to build shared libraries, but
7966 # adding the `-m68020' flag to GCC prevents building anything better,
7968 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7973 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7974 # PIC is the default for these OSes.
7977 mingw* | cygwin* | pw32* | os2* | cegcc*)
7978 # This hack is so that the source file can tell whether it is being
7979 # built for inclusion in a dll (and should export symbols for example).
7980 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7981 # (--disable-auto-import) libraries
7982 lt_prog_compiler_pic='-DDLL_EXPORT'
7985 darwin* | rhapsody*)
7986 # PIC is the default on this platform
7987 # Common symbols not allowed in MH_DYLIB files
7988 lt_prog_compiler_pic='-fno-common'
7992 # PIC is the default for Haiku.
7993 # The "-static" flag exists, but is broken.
7994 lt_prog_compiler_static=
7998 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7999 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8000 # sets the default TLS model and affects inlining.
8006 lt_prog_compiler_pic='-fPIC'
8012 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8013 # Instead, we relocate shared libraries at runtime.
8017 # Just because we use GCC doesn't mean we suddenly get shared libraries
8018 # on systems that don't support them.
8019 lt_prog_compiler_can_build_shared=no
8024 # QNX uses GNU C++, but need to define -shared option too, otherwise
8026 lt_prog_compiler_pic='-fPIC -shared'
8030 if test -d /usr/nec; then
8031 lt_prog_compiler_pic=-Kconform_pic
8036 lt_prog_compiler_pic='-fPIC'
8040 case $cc_basename in
8041 nvcc*) # Cuda Compiler Driver 2.2
8042 lt_prog_compiler_wl='-Xlinker '
8043 if test -n "$lt_prog_compiler_pic"; then
8044 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8049 # PORTME Check for flag to pass linker flags through the system compiler.
8052 lt_prog_compiler_wl='-Wl,'
8053 if test "$host_cpu" = ia64; then
8054 # AIX 5 now supports IA64 processor
8055 lt_prog_compiler_static='-Bstatic'
8057 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8061 mingw* | cygwin* | pw32* | os2* | cegcc*)
8062 # This hack is so that the source file can tell whether it is being
8063 # built for inclusion in a dll (and should export symbols for example).
8064 lt_prog_compiler_pic='-DDLL_EXPORT'
8067 hpux9* | hpux10* | hpux11*)
8068 lt_prog_compiler_wl='-Wl,'
8069 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8076 lt_prog_compiler_pic='+Z'
8079 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8080 lt_prog_compiler_static='${wl}-a ${wl}archive'
8083 irix5* | irix6* | nonstopux*)
8084 lt_prog_compiler_wl='-Wl,'
8085 # PIC (with -KPIC) is the default.
8086 lt_prog_compiler_static='-non_shared'
8089 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8090 case $cc_basename in
8091 # old Intel for x86_64 which still supported -KPIC.
8093 lt_prog_compiler_wl='-Wl,'
8094 lt_prog_compiler_pic='-KPIC'
8095 lt_prog_compiler_static='-static'
8097 # icc used to be incompatible with GCC.
8098 # ICC 10 doesn't accept -KPIC any more.
8100 lt_prog_compiler_wl='-Wl,'
8101 lt_prog_compiler_pic='-fPIC'
8102 lt_prog_compiler_static='-static'
8104 # Lahey Fortran 8.1.
8106 lt_prog_compiler_wl='-Wl,'
8107 lt_prog_compiler_pic='--shared'
8108 lt_prog_compiler_static='--static'
8111 # NAG Fortran compiler
8112 lt_prog_compiler_wl='-Wl,-Wl,,'
8113 lt_prog_compiler_pic='-PIC'
8114 lt_prog_compiler_static='-Bstatic'
8116 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8117 # Portland Group compilers (*not* the Pentium gcc compiler,
8118 # which looks to be a dead project)
8119 lt_prog_compiler_wl='-Wl,'
8120 lt_prog_compiler_pic='-fpic'
8121 lt_prog_compiler_static='-Bstatic'
8124 lt_prog_compiler_wl='-Wl,'
8125 # All Alpha code is PIC.
8126 lt_prog_compiler_static='-non_shared'
8128 xl* | bgxl* | bgf* | mpixl*)
8129 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8130 lt_prog_compiler_wl='-Wl,'
8131 lt_prog_compiler_pic='-qpic'
8132 lt_prog_compiler_static='-qstaticlink'
8135 case `$CC -V 2>&1 | sed 5q` in
8136 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8137 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8138 lt_prog_compiler_pic='-KPIC'
8139 lt_prog_compiler_static='-Bstatic'
8140 lt_prog_compiler_wl=''
8142 *Sun\ F* | *Sun*Fortran*)
8143 lt_prog_compiler_pic='-KPIC'
8144 lt_prog_compiler_static='-Bstatic'
8145 lt_prog_compiler_wl='-Qoption ld '
8149 lt_prog_compiler_pic='-KPIC'
8150 lt_prog_compiler_static='-Bstatic'
8151 lt_prog_compiler_wl='-Wl,'
8153 *Intel*\ [CF]*Compiler*)
8154 lt_prog_compiler_wl='-Wl,'
8155 lt_prog_compiler_pic='-fPIC'
8156 lt_prog_compiler_static='-static'
8159 lt_prog_compiler_wl='-Wl,'
8160 lt_prog_compiler_pic='-fpic'
8161 lt_prog_compiler_static='-Bstatic'
8169 lt_prog_compiler_pic='-KPIC'
8170 lt_prog_compiler_static='-Bstatic'
8174 # QNX uses GNU C++, but need to define -shared option too, otherwise
8176 lt_prog_compiler_pic='-fPIC -shared'
8179 osf3* | osf4* | osf5*)
8180 lt_prog_compiler_wl='-Wl,'
8181 # All OSF/1 code is PIC.
8182 lt_prog_compiler_static='-non_shared'
8186 lt_prog_compiler_static='-non_shared'
8190 lt_prog_compiler_pic='-KPIC'
8191 lt_prog_compiler_static='-Bstatic'
8192 case $cc_basename in
8193 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8194 lt_prog_compiler_wl='-Qoption ld ';;
8196 lt_prog_compiler_wl='-Wl,';;
8201 lt_prog_compiler_wl='-Qoption ld '
8202 lt_prog_compiler_pic='-PIC'
8203 lt_prog_compiler_static='-Bstatic'
8206 sysv4 | sysv4.2uw2* | sysv4.3*)
8207 lt_prog_compiler_wl='-Wl,'
8208 lt_prog_compiler_pic='-KPIC'
8209 lt_prog_compiler_static='-Bstatic'
8213 if test -d /usr/nec ;then
8214 lt_prog_compiler_pic='-Kconform_pic'
8215 lt_prog_compiler_static='-Bstatic'
8219 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8220 lt_prog_compiler_wl='-Wl,'
8221 lt_prog_compiler_pic='-KPIC'
8222 lt_prog_compiler_static='-Bstatic'
8226 lt_prog_compiler_wl='-Wl,'
8227 lt_prog_compiler_can_build_shared=no
8231 lt_prog_compiler_pic='-pic'
8232 lt_prog_compiler_static='-Bstatic'
8236 lt_prog_compiler_can_build_shared=no
8242 # For platforms which do not support PIC, -DPIC is meaningless:
8244 lt_prog_compiler_pic=
8247 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8252 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8253 if ${lt_cv_prog_compiler_pic+:} false; then :
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8259 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8260 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8263 # Check to make sure the PIC flag actually works.
8265 if test -n "$lt_prog_compiler_pic"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8267 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8268 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8269 $as_echo_n "(cached) " >&6
8271 lt_cv_prog_compiler_pic_works=no
8272 ac_outfile=conftest.$ac_objext
8273 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8274 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8275 # Insert the option either (1) after the last *FLAGS variable, or
8276 # (2) before a word containing "conftest.", or (3) at the end.
8277 # Note that $ac_compile itself does not contain backslashes and begins
8278 # with a dollar sign (not a hyphen), so the echo should work correctly.
8279 # The option is referenced via a variable to avoid confusing sed.
8280 lt_compile=`echo "$ac_compile" | $SED \
8281 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8282 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8283 -e 's:$: $lt_compiler_flag:'`
8284 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8285 (eval "$lt_compile" 2>conftest.err)
8287 cat conftest.err >&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 if (exit $ac_status) && test -s "$ac_outfile"; then
8290 # The compiler can only warn and ignore the option if not recognized
8291 # So say no if there are warnings other than the usual output.
8292 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8293 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8294 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8295 lt_cv_prog_compiler_pic_works=yes
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8302 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8304 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8305 case $lt_prog_compiler_pic in
8307 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8310 lt_prog_compiler_pic=
8311 lt_prog_compiler_can_build_shared=no
8327 # Check to make sure the static flag actually works.
8329 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8331 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8332 if ${lt_cv_prog_compiler_static_works+:} false; then :
8333 $as_echo_n "(cached) " >&6
8335 lt_cv_prog_compiler_static_works=no
8336 save_LDFLAGS="$LDFLAGS"
8337 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8338 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8339 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8340 # The linker can only warn and ignore the option if not recognized
8341 # So say no if there are warnings
8342 if test -s conftest.err; then
8343 # Append any errors to the config.log.
8344 cat conftest.err 1>&5
8345 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8346 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8347 if diff conftest.exp conftest.er2 >/dev/null; then
8348 lt_cv_prog_compiler_static_works=yes
8351 lt_cv_prog_compiler_static_works=yes
8355 LDFLAGS="$save_LDFLAGS"
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8359 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8361 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8364 lt_prog_compiler_static=
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8374 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8375 if ${lt_cv_prog_compiler_c_o+:} false; then :
8376 $as_echo_n "(cached) " >&6
8378 lt_cv_prog_compiler_c_o=no
8379 $RM -r conftest 2>/dev/null
8383 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8385 lt_compiler_flag="-o out/conftest2.$ac_objext"
8386 # Insert the option either (1) after the last *FLAGS variable, or
8387 # (2) before a word containing "conftest.", or (3) at the end.
8388 # Note that $ac_compile itself does not contain backslashes and begins
8389 # with a dollar sign (not a hyphen), so the echo should work correctly.
8390 lt_compile=`echo "$ac_compile" | $SED \
8391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8393 -e 's:$: $lt_compiler_flag:'`
8394 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8395 (eval "$lt_compile" 2>out/conftest.err)
8397 cat out/conftest.err >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8401 # The compiler can only warn and ignore the option if not recognized
8402 # So say no if there are warnings
8403 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8404 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8405 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8406 lt_cv_prog_compiler_c_o=yes
8411 # SGI C++ compiler will create directory out/ii_files/ for
8412 # template instantiation
8413 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8414 $RM out/* && rmdir out
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8421 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8429 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8430 if ${lt_cv_prog_compiler_c_o+:} false; then :
8431 $as_echo_n "(cached) " >&6
8433 lt_cv_prog_compiler_c_o=no
8434 $RM -r conftest 2>/dev/null
8438 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8440 lt_compiler_flag="-o out/conftest2.$ac_objext"
8441 # Insert the option either (1) after the last *FLAGS variable, or
8442 # (2) before a word containing "conftest.", or (3) at the end.
8443 # Note that $ac_compile itself does not contain backslashes and begins
8444 # with a dollar sign (not a hyphen), so the echo should work correctly.
8445 lt_compile=`echo "$ac_compile" | $SED \
8446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8448 -e 's:$: $lt_compiler_flag:'`
8449 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8450 (eval "$lt_compile" 2>out/conftest.err)
8452 cat out/conftest.err >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8456 # The compiler can only warn and ignore the option if not recognized
8457 # So say no if there are warnings
8458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8459 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8460 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8461 lt_cv_prog_compiler_c_o=yes
8466 # SGI C++ compiler will create directory out/ii_files/ for
8467 # template instantiation
8468 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8469 $RM out/* && rmdir out
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8476 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8481 hard_links="nottested"
8482 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8483 # do not overwrite the value of need_locks provided by the user
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8485 $as_echo_n "checking if we can lock with hard links... " >&6; }
8488 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8490 ln conftest.a conftest.b 2>&5 || hard_links=no
8491 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8493 $as_echo "$hard_links" >&6; }
8494 if test "$hard_links" = no; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8496 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8509 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8512 allow_undefined_flag=
8513 always_export_symbols=no
8515 archive_expsym_cmds=
8516 compiler_needs_object=no
8517 enable_shared_with_static_runtimes=no
8518 export_dynamic_flag_spec=
8519 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8520 hardcode_automatic=no
8522 hardcode_direct_absolute=no
8523 hardcode_libdir_flag_spec=
8524 hardcode_libdir_separator=
8526 hardcode_shlibpath_var=unsupported
8528 link_all_deplibs=unknown
8531 old_archive_from_new_cmds=
8532 old_archive_from_expsyms_cmds=
8533 thread_safe_flag_spec=
8534 whole_archive_flag_spec=
8535 # include_expsyms should be a list of space-separated symbols to be *always*
8536 # included in the symbol list
8538 # exclude_expsyms can be an extended regexp of symbols to exclude
8539 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8540 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8541 # as well as any symbol that contains `d'.
8542 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8543 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8544 # platforms (ab)use it in PIC code, but their linkers get confused if
8545 # the symbol is explicitly referenced. Since portable code cannot
8546 # rely on this symbol name, it's probably fine to never include it in
8547 # preloaded symbol tables.
8548 # Exclude shared library initialization/finalization symbols.
8549 extract_expsyms_cmds=
8552 cygwin* | mingw* | pw32* | cegcc*)
8553 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8554 # When not using gcc, we currently assume that we are using
8555 # Microsoft Visual C++.
8556 if test "$GCC" != yes; then
8561 # we just hope/assume this is gcc and not c89 (= MSVC++)
8571 # On some targets, GNU ld is compatible enough with the native linker
8572 # that we're better off using the native interface for both.
8573 lt_use_gnu_ld_interface=no
8574 if test "$with_gnu_ld" = yes; then
8577 # The AIX port of GNU ld has always aspired to compatibility
8578 # with the native linker. However, as the warning in the GNU ld
8579 # block says, versions before 2.19.5* couldn't really create working
8580 # shared libraries, regardless of the interface used.
8581 case `$LD -v 2>&1` in
8582 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8583 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8584 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8586 lt_use_gnu_ld_interface=yes
8591 lt_use_gnu_ld_interface=yes
8596 if test "$lt_use_gnu_ld_interface" = yes; then
8597 # If archive_cmds runs LD, not CC, wlarc should be empty
8600 # Set some defaults for GNU ld with shared library support. These
8601 # are reset later if shared libraries are not supported. Putting them
8602 # here allows them to be overridden if necessary.
8603 runpath_var=LD_RUN_PATH
8604 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8605 export_dynamic_flag_spec='${wl}--export-dynamic'
8606 # ancient GNU ld didn't support --whole-archive et. al.
8607 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8608 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8610 whole_archive_flag_spec=
8612 supports_anon_versioning=no
8613 case `$LD -v 2>&1` in
8614 *GNU\ gold*) supports_anon_versioning=yes ;;
8615 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8616 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8617 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8618 *\ 2.11.*) ;; # other 2.11 versions
8619 *) supports_anon_versioning=yes ;;
8622 # See if GNU ld supports shared libraries.
8625 # On AIX/PPC, the GNU linker is very broken
8626 if test "$host_cpu" != ia64; then
8630 *** Warning: the GNU linker, at least up to release 2.19, is reported
8631 *** to be unable to reliably create shared libraries on AIX.
8632 *** Therefore, libtool is disabling shared libraries support. If you
8633 *** really care for shared libraries, you may want to install binutils
8634 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8635 *** You will then need to restart the configuration process.
8644 # see comment about AmigaOS4 .so support
8645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8646 archive_expsym_cmds=''
8649 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)'
8650 hardcode_libdir_flag_spec='-L$libdir'
8651 hardcode_minus_L=yes
8657 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8658 allow_undefined_flag=unsupported
8659 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8660 # support --undefined. This deserves some investigation. FIXME
8661 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8667 cygwin* | mingw* | pw32* | cegcc*)
8668 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8669 # as there is no search path for DLLs.
8670 hardcode_libdir_flag_spec='-L$libdir'
8671 export_dynamic_flag_spec='${wl}--export-all-symbols'
8672 allow_undefined_flag=unsupported
8673 always_export_symbols=no
8674 enable_shared_with_static_runtimes=yes
8675 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'
8676 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8678 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8679 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8680 # If the export-symbols file already is a .def file (1st line
8681 # is EXPORTS), use it as is; otherwise, prepend...
8682 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8683 cp $export_symbols $output_objdir/$soname.def;
8685 echo EXPORTS > $output_objdir/$soname.def;
8686 cat $export_symbols >> $output_objdir/$soname.def;
8688 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8695 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8696 link_all_deplibs=yes
8701 hardcode_shlibpath_var=no
8702 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8703 export_dynamic_flag_spec='${wl}-E'
8704 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8705 # Instead, shared libraries are loaded at an image base (0x10000000 by
8706 # default) and relocated if they conflict, which is a slow very memory
8707 # consuming and fragmenting process. To avoid this, we pick a random,
8708 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8709 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8710 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8711 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'
8714 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8716 if test "$host_os" = linux-dietlibc; then
8717 case $cc_basename in
8718 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8721 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8722 && test "$tmp_diet" = no
8724 tmp_addflag=' $pic_flag'
8725 tmp_sharedflag='-shared'
8726 case $cc_basename,$host_cpu in
8727 pgcc*) # Portland Group C compiler
8728 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'
8729 tmp_addflag=' $pic_flag'
8731 pgf77* | pgf90* | pgf95* | pgfortran*)
8732 # Portland Group f77 and f90 compilers
8733 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'
8734 tmp_addflag=' $pic_flag -Mnomain' ;;
8735 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8736 tmp_addflag=' -i_dynamic' ;;
8737 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8738 tmp_addflag=' -i_dynamic -nofor_main' ;;
8739 ifc* | ifort*) # Intel Fortran compiler
8740 tmp_addflag=' -nofor_main' ;;
8741 lf95*) # Lahey Fortran 8.1
8742 whole_archive_flag_spec=
8743 tmp_sharedflag='--shared' ;;
8744 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8745 tmp_sharedflag='-qmkshrobj'
8747 nvcc*) # Cuda Compiler Driver 2.2
8748 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'
8749 compiler_needs_object=yes
8752 case `$CC -V 2>&1 | sed 5q` in
8753 *Sun\ C*) # Sun C 5.9
8754 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'
8755 compiler_needs_object=yes
8756 tmp_sharedflag='-G' ;;
8757 *Sun\ F*) # Sun Fortran 8.3
8758 tmp_sharedflag='-G' ;;
8760 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8762 if test "x$supports_anon_versioning" = xyes; then
8763 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8764 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8765 echo "local: *; };" >> $output_objdir/$libname.ver~
8766 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8769 case $cc_basename in
8770 xlf* | bgf* | bgxlf* | mpixlf*)
8771 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8772 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8773 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8774 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8775 if test "x$supports_anon_versioning" = xyes; then
8776 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8777 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8778 echo "local: *; };" >> $output_objdir/$libname.ver~
8779 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8789 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8790 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8793 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8794 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8799 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8803 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8804 *** create shared libraries on Solaris systems. Therefore, libtool
8805 *** is disabling shared libraries support. We urge you to upgrade GNU
8806 *** binutils to release 2.9.1 or newer. Another option is to modify
8807 *** your PATH or compiler configuration so that the native linker is
8808 *** used, and then restart.
8811 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8812 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8819 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8820 case `$LD -v 2>&1` in
8821 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8825 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8826 *** reliably create shared libraries on SCO systems. Therefore, libtool
8827 *** is disabling shared libraries support. We urge you to upgrade GNU
8828 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8829 *** your PATH or compiler configuration so that the native linker is
8830 *** used, and then restart.
8835 # For security reasons, it is highly recommended that you always
8836 # use absolute paths for naming shared libraries, and exclude the
8837 # DT_RUNPATH tag from executables and libraries. But doing so
8838 # requires that you compile everything twice, which is a pain.
8839 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8840 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8842 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8851 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8854 hardcode_shlibpath_var=no
8858 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8859 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8860 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8867 if test "$ld_shlibs" = no; then
8869 hardcode_libdir_flag_spec=
8870 export_dynamic_flag_spec=
8871 whole_archive_flag_spec=
8874 # PORTME fill in a description of your system's linker (not GNU ld)
8877 allow_undefined_flag=unsupported
8878 always_export_symbols=yes
8879 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'
8880 # Note: this linker hardcodes the directories in LIBPATH if there
8881 # are no directories specified by -L.
8882 hardcode_minus_L=yes
8883 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8884 # Neither direct hardcoding nor static linking is supported with a
8886 hardcode_direct=unsupported
8891 if test "$host_cpu" = ia64; then
8892 # On IA64, the linker does run time linking by default, so we don't
8893 # have to do anything special.
8894 aix_use_runtimelinking=no
8895 exp_sym_flag='-Bexport'
8898 # If we're using GNU nm, then we don't want the "-C" option.
8899 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8900 # Also, AIX nm treats weak defined symbols like other global
8901 # defined symbols, whereas GNU nm marks them as "W".
8902 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8903 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'
8905 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'
8907 aix_use_runtimelinking=no
8909 # Test if we are trying to use run time linking or normal
8910 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8911 # need to do runtime linking.
8912 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8913 for ld_flag in $LDFLAGS; do
8914 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8915 aix_use_runtimelinking=yes
8922 exp_sym_flag='-bexport'
8923 no_entry_flag='-bnoentry'
8926 # When large executables or shared objects are built, AIX ld can
8927 # have problems creating the table of contents. If linking a library
8928 # or program results in "error TOC overflow" add -mminimal-toc to
8929 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8930 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8934 hardcode_direct_absolute=yes
8935 hardcode_libdir_separator=':'
8936 link_all_deplibs=yes
8937 file_list_spec='${wl}-f,'
8939 if test "$GCC" = yes; then
8940 case $host_os in aix4.[012]|aix4.[012].*)
8941 # We only want to do this on AIX 4.2 and lower, the check
8942 # below for broken collect2 doesn't work under 4.3+
8943 collect2name=`${CC} -print-prog-name=collect2`
8944 if test -f "$collect2name" &&
8945 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8947 # We have reworked collect2
8950 # We have old collect2
8951 hardcode_direct=unsupported
8952 # It fails to find uninstalled libraries when the uninstalled
8953 # path is not listed in the libpath. Setting hardcode_minus_L
8954 # to unsupported forces relinking
8955 hardcode_minus_L=yes
8956 hardcode_libdir_flag_spec='-L$libdir'
8957 hardcode_libdir_separator=
8961 shared_flag='-shared'
8962 if test "$aix_use_runtimelinking" = yes; then
8963 shared_flag="$shared_flag "'${wl}-G'
8967 if test "$host_cpu" = ia64; then
8968 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8969 # chokes on -Wl,-G. The following line is correct:
8972 if test "$aix_use_runtimelinking" = yes; then
8973 shared_flag='${wl}-G'
8975 shared_flag='${wl}-bM:SRE'
8980 export_dynamic_flag_spec='${wl}-bexpall'
8981 # It seems that -bexpall does not export symbols beginning with
8982 # underscore (_), so it is better to generate a list of symbols to export.
8983 always_export_symbols=yes
8984 if test "$aix_use_runtimelinking" = yes; then
8985 # Warning - without using the other runtime loading flags (-brtl),
8986 # -berok will link without error, but may produce a broken library.
8987 allow_undefined_flag='-berok'
8988 # Determine the default libpath from the value encoded in an
8990 if test "${lt_cv_aix_libpath+set}" = set; then
8991 aix_libpath=$lt_cv_aix_libpath
8993 if ${lt_cv_aix_libpath_+:} false; then :
8994 $as_echo_n "(cached) " >&6
8996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
9007 if ac_fn_c_try_link "$LINENO"; then :
9009 lt_aix_libpath_sed='
9010 /Import File Strings/,/^$/ {
9012 s/^0 *\([^ ]*\) *$/\1/
9016 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9017 # Check for a 64-bit object if we didn't find anything.
9018 if test -z "$lt_cv_aix_libpath_"; then
9019 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9022 rm -f core conftest.err conftest.$ac_objext \
9023 conftest$ac_exeext conftest.$ac_ext
9024 if test -z "$lt_cv_aix_libpath_"; then
9025 lt_cv_aix_libpath_="/usr/lib:/lib"
9030 aix_libpath=$lt_cv_aix_libpath_
9033 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9034 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"
9036 if test "$host_cpu" = ia64; then
9037 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9038 allow_undefined_flag="-z nodefs"
9039 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"
9041 # Determine the default libpath from the value encoded in an
9043 if test "${lt_cv_aix_libpath+set}" = set; then
9044 aix_libpath=$lt_cv_aix_libpath
9046 if ${lt_cv_aix_libpath_+:} false; then :
9047 $as_echo_n "(cached) " >&6
9049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9050 /* end confdefs.h. */
9060 if ac_fn_c_try_link "$LINENO"; then :
9062 lt_aix_libpath_sed='
9063 /Import File Strings/,/^$/ {
9065 s/^0 *\([^ ]*\) *$/\1/
9069 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9070 # Check for a 64-bit object if we didn't find anything.
9071 if test -z "$lt_cv_aix_libpath_"; then
9072 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9075 rm -f core conftest.err conftest.$ac_objext \
9076 conftest$ac_exeext conftest.$ac_ext
9077 if test -z "$lt_cv_aix_libpath_"; then
9078 lt_cv_aix_libpath_="/usr/lib:/lib"
9083 aix_libpath=$lt_cv_aix_libpath_
9086 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9087 # Warning - without using the other run time loading flags,
9088 # -berok will link without error, but may produce a broken library.
9089 no_undefined_flag=' ${wl}-bernotok'
9090 allow_undefined_flag=' ${wl}-berok'
9091 if test "$with_gnu_ld" = yes; then
9092 # We only use this code for GNU lds that support --whole-archive.
9093 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9095 # Exported symbols can be pulled into shared objects from archives
9096 whole_archive_flag_spec='$convenience'
9098 archive_cmds_need_lc=yes
9099 # This is similar to how AIX traditionally builds its shared libraries.
9100 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'
9108 # see comment about AmigaOS4 .so support
9109 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9110 archive_expsym_cmds=''
9113 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)'
9114 hardcode_libdir_flag_spec='-L$libdir'
9115 hardcode_minus_L=yes
9121 export_dynamic_flag_spec=-rdynamic
9124 cygwin* | mingw* | pw32* | cegcc*)
9125 # When not using gcc, we currently assume that we are using
9126 # Microsoft Visual C++.
9127 # hardcode_libdir_flag_spec is actually meaningless, as there is
9128 # no search path for DLLs.
9129 case $cc_basename in
9132 hardcode_libdir_flag_spec=' '
9133 allow_undefined_flag=unsupported
9134 always_export_symbols=yes
9136 # Tell ltmain to make .lib files, not .a files.
9138 # Tell ltmain to make .dll files, not .so files.
9140 # FIXME: Setting linknames here is a bad hack.
9141 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9142 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9143 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9145 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9147 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9149 # The linker will not automatically build a static lib if we build a DLL.
9150 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9151 enable_shared_with_static_runtimes=yes
9152 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9153 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9155 old_postinstall_cmds='chmod 644 $oldlib'
9156 postlink_cmds='lt_outputfile="@OUTPUT@"~
9157 lt_tool_outputfile="@TOOL_OUTPUT@"~
9158 case $lt_outputfile in
9161 lt_outputfile="$lt_outputfile.exe"
9162 lt_tool_outputfile="$lt_tool_outputfile.exe"
9165 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9166 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9167 $RM "$lt_outputfile.manifest";
9171 # Assume MSVC wrapper
9172 hardcode_libdir_flag_spec=' '
9173 allow_undefined_flag=unsupported
9174 # Tell ltmain to make .lib files, not .a files.
9176 # Tell ltmain to make .dll files, not .so files.
9178 # FIXME: Setting linknames here is a bad hack.
9179 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9180 # The linker will automatically build a .lib file if we build a DLL.
9181 old_archive_from_new_cmds='true'
9182 # FIXME: Should let the user specify the lib program.
9183 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9184 enable_shared_with_static_runtimes=yes
9189 darwin* | rhapsody*)
9192 archive_cmds_need_lc=no
9194 hardcode_automatic=yes
9195 hardcode_shlibpath_var=unsupported
9196 if test "$lt_cv_ld_force_load" = "yes"; then
9197 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\"`'
9200 whole_archive_flag_spec=''
9202 link_all_deplibs=yes
9203 allow_undefined_flag="$_lt_dar_allow_undefined"
9204 case $cc_basename in
9205 ifort*) _lt_dar_can_shared=yes ;;
9206 *) _lt_dar_can_shared=$GCC ;;
9208 if test "$_lt_dar_can_shared" = "yes"; then
9209 output_verbose_link_cmd=func_echo_all
9210 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9211 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9212 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}"
9213 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}"
9222 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9223 hardcode_libdir_flag_spec='-L$libdir'
9224 hardcode_shlibpath_var=no
9227 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9228 # support. Future versions do this automatically, but an explicit c++rt0.o
9229 # does not break anything, and helps significantly (at the cost of a little
9232 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9233 hardcode_libdir_flag_spec='-R$libdir'
9235 hardcode_shlibpath_var=no
9238 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9240 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9242 hardcode_minus_L=yes
9243 hardcode_shlibpath_var=no
9246 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9247 freebsd* | dragonfly*)
9248 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9249 hardcode_libdir_flag_spec='-R$libdir'
9251 hardcode_shlibpath_var=no
9255 if test "$GCC" = yes; then
9256 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'
9258 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'
9260 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9261 hardcode_libdir_separator=:
9264 # hardcode_minus_L: Not really in the search PATH,
9265 # but as the default location of the library.
9266 hardcode_minus_L=yes
9267 export_dynamic_flag_spec='${wl}-E'
9271 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9272 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9274 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9276 if test "$with_gnu_ld" = no; then
9277 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9278 hardcode_libdir_separator=:
9280 hardcode_direct_absolute=yes
9281 export_dynamic_flag_spec='${wl}-E'
9282 # hardcode_minus_L: Not really in the search PATH,
9283 # but as the default location of the library.
9284 hardcode_minus_L=yes
9289 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9292 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9298 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9304 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9307 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9311 # Older versions of the 11.00 compiler do not understand -b yet
9312 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9314 $as_echo_n "checking if $CC understands -b... " >&6; }
9315 if ${lt_cv_prog_compiler__b+:} false; then :
9316 $as_echo_n "(cached) " >&6
9318 lt_cv_prog_compiler__b=no
9319 save_LDFLAGS="$LDFLAGS"
9320 LDFLAGS="$LDFLAGS -b"
9321 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9322 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9323 # The linker can only warn and ignore the option if not recognized
9324 # So say no if there are warnings
9325 if test -s conftest.err; then
9326 # Append any errors to the config.log.
9327 cat conftest.err 1>&5
9328 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9329 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9330 if diff conftest.exp conftest.er2 >/dev/null; then
9331 lt_cv_prog_compiler__b=yes
9334 lt_cv_prog_compiler__b=yes
9338 LDFLAGS="$save_LDFLAGS"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9342 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9344 if test x"$lt_cv_prog_compiler__b" = xyes; then
9345 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9353 if test "$with_gnu_ld" = no; then
9354 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9355 hardcode_libdir_separator=:
9360 hardcode_shlibpath_var=no
9364 hardcode_direct_absolute=yes
9365 export_dynamic_flag_spec='${wl}-E'
9367 # hardcode_minus_L: Not really in the search PATH,
9368 # but as the default location of the library.
9369 hardcode_minus_L=yes
9375 irix5* | irix6* | nonstopux*)
9376 if test "$GCC" = yes; then
9377 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'
9378 # Try to use the -exported_symbol ld option, if it does not
9379 # work, assume that -exports_file does not work either and
9380 # implicitly export all symbols.
9381 # This should be the same for all languages, so no per-tag cache variable.
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9383 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9384 if ${lt_cv_irix_exported_symbol+:} false; then :
9385 $as_echo_n "(cached) " >&6
9387 save_LDFLAGS="$LDFLAGS"
9388 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391 int foo (void) { return 0; }
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 lt_cv_irix_exported_symbol=yes
9396 lt_cv_irix_exported_symbol=no
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 LDFLAGS="$save_LDFLAGS"
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9403 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9404 if test "$lt_cv_irix_exported_symbol" = yes; then
9405 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'
9408 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'
9409 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'
9411 archive_cmds_need_lc='no'
9412 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9413 hardcode_libdir_separator=:
9415 link_all_deplibs=yes
9419 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9420 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9422 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9424 hardcode_libdir_flag_spec='-R$libdir'
9426 hardcode_shlibpath_var=no
9430 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9432 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9433 hardcode_libdir_separator=:
9434 hardcode_shlibpath_var=no
9441 if test -f /usr/libexec/ld.so; then
9443 hardcode_shlibpath_var=no
9444 hardcode_direct_absolute=yes
9445 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9446 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9447 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9448 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9449 export_dynamic_flag_spec='${wl}-E'
9452 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9453 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9454 hardcode_libdir_flag_spec='-R$libdir'
9457 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9458 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9468 hardcode_libdir_flag_spec='-L$libdir'
9469 hardcode_minus_L=yes
9470 allow_undefined_flag=unsupported
9471 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'
9472 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9476 if test "$GCC" = yes; then
9477 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9478 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'
9480 allow_undefined_flag=' -expect_unresolved \*'
9481 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'
9483 archive_cmds_need_lc='no'
9484 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9485 hardcode_libdir_separator=:
9488 osf4* | osf5*) # as osf3* with the addition of -msym flag
9489 if test "$GCC" = yes; then
9490 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9491 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'
9492 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9494 allow_undefined_flag=' -expect_unresolved \*'
9495 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'
9496 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~
9497 $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'
9499 # Both c and cxx compiler support -rpath directly
9500 hardcode_libdir_flag_spec='-rpath $libdir'
9502 archive_cmds_need_lc='no'
9503 hardcode_libdir_separator=:
9507 no_undefined_flag=' -z defs'
9508 if test "$GCC" = yes; then
9510 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9511 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9512 $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'
9514 case `$CC -V 2>&1` in
9517 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9518 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9519 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9523 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9524 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9525 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9529 hardcode_libdir_flag_spec='-R$libdir'
9530 hardcode_shlibpath_var=no
9532 solaris2.[0-5] | solaris2.[0-5].*) ;;
9534 # The compiler driver will combine and reorder linker options,
9535 # but understands `-z linker_flag'. GCC discards it without `$wl',
9536 # but is careful enough not to reorder.
9537 # Supported since Solaris 2.6 (maybe 2.5.1?)
9538 if test "$GCC" = yes; then
9539 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9541 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9545 link_all_deplibs=yes
9549 if test "x$host_vendor" = xsequent; then
9550 # Use $CC to link under sequent, because it throws in some extra .o
9551 # files that make .init and .fini sections work.
9552 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9556 hardcode_libdir_flag_spec='-L$libdir'
9558 hardcode_minus_L=yes
9559 hardcode_shlibpath_var=no
9563 case $host_vendor in
9565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9566 hardcode_direct=yes # is this really true???
9569 ## LD is ld it makes a PLAMLIB
9570 ## CC just makes a GrossModule.
9571 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9572 reload_cmds='$CC -r -o $output$reload_objs'
9576 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9577 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9580 runpath_var='LD_RUN_PATH'
9581 hardcode_shlibpath_var=no
9585 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9586 hardcode_shlibpath_var=no
9587 export_dynamic_flag_spec='-Bexport'
9591 if test -d /usr/nec; then
9592 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9593 hardcode_shlibpath_var=no
9594 runpath_var=LD_RUN_PATH
9595 hardcode_runpath_var=yes
9600 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9601 no_undefined_flag='${wl}-z,text'
9602 archive_cmds_need_lc=no
9603 hardcode_shlibpath_var=no
9604 runpath_var='LD_RUN_PATH'
9606 if test "$GCC" = yes; then
9607 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9608 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9610 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9615 sysv5* | sco3.2v5* | sco5v6*)
9616 # Note: We can NOT use -z defs as we might desire, because we do not
9617 # link with -lc, and that would cause any symbols used from libc to
9618 # always be unresolved, which means just about no library would
9619 # ever link correctly. If we're not using GNU ld we use -z text
9620 # though, which does catch some bad symbols but isn't as heavy-handed
9622 no_undefined_flag='${wl}-z,text'
9623 allow_undefined_flag='${wl}-z,nodefs'
9624 archive_cmds_need_lc=no
9625 hardcode_shlibpath_var=no
9626 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9627 hardcode_libdir_separator=':'
9628 link_all_deplibs=yes
9629 export_dynamic_flag_spec='${wl}-Bexport'
9630 runpath_var='LD_RUN_PATH'
9632 if test "$GCC" = yes; then
9633 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9636 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9643 hardcode_libdir_flag_spec='-L$libdir'
9644 hardcode_shlibpath_var=no
9652 if test x$host_vendor = xsni; then
9654 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9655 export_dynamic_flag_spec='${wl}-Blargedynsym'
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9662 $as_echo "$ld_shlibs" >&6; }
9663 test "$ld_shlibs" = no && can_build_shared=no
9665 with_gnu_ld=$with_gnu_ld
9682 # Do we need to explicitly link libc?
9684 case "x$archive_cmds_need_lc" in
9686 # Assume -lc should be added
9687 archive_cmds_need_lc=yes
9689 if test "$enable_shared" = yes && test "$GCC" = yes; then
9690 case $archive_cmds in
9692 # FIXME: we may have to deal with multi-command sequences.
9695 # Test whether the compiler implicitly links with -lc since on some
9696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9697 # to ld, don't add -lc before -lgcc.
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9700 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9701 $as_echo_n "(cached) " >&6
9704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9707 (eval $ac_compile) 2>&5
9709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9710 test $ac_status = 0; } 2>conftest.err; then
9713 libobjs=conftest.$ac_objext
9715 wl=$lt_prog_compiler_wl
9716 pic_flag=$lt_prog_compiler_pic
9722 lt_save_allow_undefined_flag=$allow_undefined_flag
9723 allow_undefined_flag=
9724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9725 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9728 test $ac_status = 0; }
9730 lt_cv_archive_cmds_need_lc=no
9732 lt_cv_archive_cmds_need_lc=yes
9734 allow_undefined_flag=$lt_save_allow_undefined_flag
9736 cat conftest.err 1>&5
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9742 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9743 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9902 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9904 if test "$GCC" = yes; then
9906 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9907 *) lt_awk_arg="/^libraries:/" ;;
9910 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9911 *) lt_sed_strip_eq="s,=/,/,g" ;;
9913 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9914 case $lt_search_path_spec in
9916 # if the path contains ";" then we assume it to be the separator
9917 # otherwise default to the standard path separator (i.e. ":") - it is
9918 # assumed that no part of a normal pathname contains ";" but that should
9919 # okay in the real world where ";" in dirpaths is itself problematic.
9920 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9923 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9926 # Ok, now we have the path, separated by spaces, we can step through it
9927 # and add multilib dir if necessary.
9928 lt_tmp_lt_search_path_spec=
9929 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9930 for lt_sys_path in $lt_search_path_spec; do
9931 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9932 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9934 test -d "$lt_sys_path" && \
9935 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9938 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9939 BEGIN {RS=" "; FS="/|\n";} {
9942 for (lt_i = NF; lt_i > 0; lt_i--) {
9943 if ($lt_i != "" && $lt_i != ".") {
9944 if ($lt_i == "..") {
9947 if (lt_count == 0) {
9948 lt_foo="/" $lt_i lt_foo;
9955 if (lt_foo != "") { lt_freq[lt_foo]++; }
9956 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9958 # AWK program above erroneously prepends '/' to C:/dos/paths
9961 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9962 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9964 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9966 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9969 libname_spec='lib$name'
9977 shlibpath_overrides_runpath=unknown
9979 dynamic_linker="$host_os ld.so"
9980 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9981 need_lib_prefix=unknown
9982 hardcode_into_libs=no
9984 # when you set need_version to no, make sure it does not cause -set_version
9985 # flags to be left without arguments
9986 need_version=unknown
9990 version_type=linux # correct to gnu/linux during the next big refactor
9991 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9992 shlibpath_var=LIBPATH
9994 # AIX 3 has no versioning support, so we append a major version to the name.
9995 soname_spec='${libname}${release}${shared_ext}$major'
9999 version_type=linux # correct to gnu/linux during the next big refactor
10002 hardcode_into_libs=yes
10003 if test "$host_cpu" = ia64; then
10004 # AIX 5 supports IA64
10005 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10006 shlibpath_var=LD_LIBRARY_PATH
10008 # With GCC up to 2.95.x, collect2 would create an import file
10009 # for dependence libraries. The import file would start with
10010 # the line `#! .'. This would cause the generated library to
10011 # depend on `.', always an invalid library. This was fixed in
10012 # development snapshots of GCC prior to 3.0.
10014 aix4 | aix4.[01] | aix4.[01].*)
10015 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10017 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10020 can_build_shared=no
10024 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10025 # soname into executable. Probably we can add versioning support to
10026 # collect2, so additional links can be useful in future.
10027 if test "$aix_use_runtimelinking" = yes; then
10028 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10029 # instead of lib<name>.a to let people know that these are not
10030 # typical AIX shared libraries.
10031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10033 # We preserve .a as extension for shared libraries through AIX4.2
10034 # and later when we are not doing run time linking.
10035 library_names_spec='${libname}${release}.a $libname.a'
10036 soname_spec='${libname}${release}${shared_ext}$major'
10038 shlibpath_var=LIBPATH
10045 # Since July 2007 AmigaOS4 officially supports .so libraries.
10046 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10050 library_names_spec='$libname.ixlibrary $libname.a'
10051 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10052 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'
10058 library_names_spec='${libname}${shared_ext}'
10059 dynamic_linker="$host_os ld.so"
10060 shlibpath_var=LIBRARY_PATH
10064 version_type=linux # correct to gnu/linux during the next big refactor
10066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10067 soname_spec='${libname}${release}${shared_ext}$major'
10068 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10069 shlibpath_var=LD_LIBRARY_PATH
10070 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10071 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10072 # the default ld.so.conf also contains /usr/contrib/lib and
10073 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10074 # libtool to hard-code these into programs
10077 cygwin* | mingw* | pw32* | cegcc*)
10078 version_type=windows
10083 case $GCC,$cc_basename in
10086 library_names_spec='$libname.dll.a'
10087 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10088 postinstall_cmds='base_file=`basename \${file}`~
10089 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10090 dldir=$destdir/`dirname \$dlpath`~
10091 test -d \$dldir || mkdir -p \$dldir~
10092 $install_prog $dir/$dlname \$dldir/$dlname~
10093 chmod a+x \$dldir/$dlname~
10094 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10095 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10097 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10098 dlpath=$dir/\$dldll~
10100 shlibpath_overrides_runpath=yes
10104 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10105 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10107 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10110 # MinGW DLLs use traditional 'lib' prefix
10111 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10114 # pw32 DLLs use 'pw' prefix rather than 'lib'
10115 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10118 dynamic_linker='Win32 ld.exe'
10123 libname_spec='$name'
10124 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10125 library_names_spec='${libname}.dll.lib'
10129 sys_lib_search_path_spec=
10132 for lt_path in $LIB
10135 # Let DOS variable expansion print the short 8.3 style file name.
10136 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10137 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10140 # Convert to MSYS style.
10141 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10144 # Convert to unix form, then to dos form, then back to unix form
10145 # but this time dos style (no spaces!) so that the unix form looks
10146 # like /cygdrive/c/PROGRA~1:/cygdr...
10147 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10148 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10149 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10152 sys_lib_search_path_spec="$LIB"
10153 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10154 # It is most probably a Windows format PATH.
10155 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10157 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10159 # FIXME: find the short name or the path components, as spaces are
10160 # common. (e.g. "Program Files" -> "PROGRA~1")
10164 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10165 postinstall_cmds='base_file=`basename \${file}`~
10166 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10167 dldir=$destdir/`dirname \$dlpath`~
10168 test -d \$dldir || mkdir -p \$dldir~
10169 $install_prog $dir/$dlname \$dldir/$dlname'
10170 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10171 dlpath=$dir/\$dldll~
10173 shlibpath_overrides_runpath=yes
10174 dynamic_linker='Win32 link.exe'
10178 # Assume MSVC wrapper
10179 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10180 dynamic_linker='Win32 ld.exe'
10183 # FIXME: first we should search . and the directory the executable is in
10187 darwin* | rhapsody*)
10188 dynamic_linker="$host_os dyld"
10189 version_type=darwin
10192 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10193 soname_spec='${libname}${release}${major}$shared_ext'
10194 shlibpath_overrides_runpath=yes
10195 shlibpath_var=DYLD_LIBRARY_PATH
10196 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10198 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10199 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10203 version_type=linux # correct to gnu/linux during the next big refactor
10206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10207 soname_spec='${libname}${release}${shared_ext}$major'
10208 shlibpath_var=LD_LIBRARY_PATH
10211 freebsd* | dragonfly*)
10212 # DragonFly does not have aout. When/if they implement a new
10213 # versioning mechanism, adjust this.
10214 if test -x /usr/bin/objformat; then
10215 objformat=`/usr/bin/objformat`
10218 freebsd[23].*) objformat=aout ;;
10219 *) objformat=elf ;;
10222 version_type=freebsd-$objformat
10223 case $version_type in
10225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10230 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10234 shlibpath_var=LD_LIBRARY_PATH
10237 shlibpath_overrides_runpath=yes
10239 freebsd3.[01]* | freebsdelf3.[01]*)
10240 shlibpath_overrides_runpath=yes
10241 hardcode_into_libs=yes
10243 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10244 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10245 shlibpath_overrides_runpath=no
10246 hardcode_into_libs=yes
10248 *) # from 4.6 on, and DragonFly
10249 shlibpath_overrides_runpath=yes
10250 hardcode_into_libs=yes
10256 version_type=linux # correct to gnu/linux during the next big refactor
10259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10260 soname_spec='${libname}${release}${shared_ext}$major'
10261 shlibpath_var=LD_LIBRARY_PATH
10262 shlibpath_overrides_runpath=no
10263 hardcode_into_libs=yes
10267 version_type=linux # correct to gnu/linux during the next big refactor
10270 dynamic_linker="$host_os runtime_loader"
10271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10272 soname_spec='${libname}${release}${shared_ext}$major'
10273 shlibpath_var=LIBRARY_PATH
10274 shlibpath_overrides_runpath=yes
10275 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10276 hardcode_into_libs=yes
10279 hpux9* | hpux10* | hpux11*)
10280 # Give a soname corresponding to the major version so that dld.sl refuses to
10281 # link against other versions.
10288 hardcode_into_libs=yes
10289 dynamic_linker="$host_os dld.so"
10290 shlibpath_var=LD_LIBRARY_PATH
10291 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10293 soname_spec='${libname}${release}${shared_ext}$major'
10294 if test "X$HPUX_IA64_MODE" = X32; then
10295 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10297 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10299 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10303 hardcode_into_libs=yes
10304 dynamic_linker="$host_os dld.sl"
10305 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10306 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 soname_spec='${libname}${release}${shared_ext}$major'
10309 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10310 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10314 dynamic_linker="$host_os dld.sl"
10315 shlibpath_var=SHLIB_PATH
10316 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 soname_spec='${libname}${release}${shared_ext}$major'
10321 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10322 postinstall_cmds='chmod 555 $lib'
10323 # or fails outright, so override atomically:
10324 install_override_mode=555
10328 version_type=linux # correct to gnu/linux during the next big refactor
10331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10332 soname_spec='${libname}${release}${shared_ext}$major'
10333 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10334 shlibpath_var=LD_LIBRARY_PATH
10335 shlibpath_overrides_runpath=no
10336 hardcode_into_libs=yes
10339 irix5* | irix6* | nonstopux*)
10341 nonstopux*) version_type=nonstopux ;;
10343 if test "$lt_cv_prog_gnu_ld" = yes; then
10344 version_type=linux # correct to gnu/linux during the next big refactor
10351 soname_spec='${libname}${release}${shared_ext}$major'
10352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10354 irix5* | nonstopux*)
10355 libsuff= shlibsuff=
10358 case $LD in # libtool.m4 will add one of these switches to LD
10359 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10360 libsuff= shlibsuff= libmagic=32-bit;;
10361 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10362 libsuff=32 shlibsuff=N32 libmagic=N32;;
10363 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10364 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10365 *) libsuff= shlibsuff= libmagic=never-match;;
10369 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10370 shlibpath_overrides_runpath=no
10371 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10372 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10373 hardcode_into_libs=yes
10376 # No shared lib support for Linux oldld, aout, or coff.
10377 linux*oldld* | linux*aout* | linux*coff*)
10381 # This must be glibc/ELF.
10382 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10383 version_type=linux # correct to gnu/linux during the next big refactor
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10387 soname_spec='${libname}${release}${shared_ext}$major'
10388 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10389 shlibpath_var=LD_LIBRARY_PATH
10390 shlibpath_overrides_runpath=no
10392 # Some binutils ld are patched to set DT_RUNPATH
10393 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10394 $as_echo_n "(cached) " >&6
10396 lt_cv_shlibpath_overrides_runpath=no
10397 save_LDFLAGS=$LDFLAGS
10398 save_libdir=$libdir
10399 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10400 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10414 lt_cv_shlibpath_overrides_runpath=yes
10417 rm -f core conftest.err conftest.$ac_objext \
10418 conftest$ac_exeext conftest.$ac_ext
10419 LDFLAGS=$save_LDFLAGS
10420 libdir=$save_libdir
10424 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10426 # This implies no fast_install, which is unacceptable.
10427 # Some rework will be needed to allow for fast_install
10428 # before this can be enabled.
10429 hardcode_into_libs=yes
10431 # Add ABI-specific directories to the system library path.
10432 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10434 # Append ld.so.conf contents to the search path
10435 if test -f /etc/ld.so.conf; then
10436 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' ' '`
10437 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10441 # We used to test for /lib/ld.so.1 and disable shared libraries on
10442 # powerpc, because MkLinux only supported shared libraries with the
10443 # GNU dynamic linker. Since this was broken with cross compilers,
10444 # most powerpc-linux boxes support dynamic linking these days and
10445 # people can always --disable-shared, the test was removed, and we
10446 # assume the GNU/Linux dynamic linker is in use.
10447 dynamic_linker='GNU/Linux ld.so'
10454 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10457 dynamic_linker='NetBSD (a.out) ld.so'
10459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10460 soname_spec='${libname}${release}${shared_ext}$major'
10461 dynamic_linker='NetBSD ld.elf_so'
10463 shlibpath_var=LD_LIBRARY_PATH
10464 shlibpath_overrides_runpath=yes
10465 hardcode_into_libs=yes
10469 version_type=linux # correct to gnu/linux during the next big refactor
10470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10471 shlibpath_var=LD_LIBRARY_PATH
10472 shlibpath_overrides_runpath=yes
10479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 soname_spec='${libname}${release}${shared_ext}$major'
10481 shlibpath_var=LD_LIBRARY_PATH
10482 shlibpath_overrides_runpath=no
10483 hardcode_into_libs=yes
10484 dynamic_linker='ldqnx.so'
10489 sys_lib_dlsearch_path_spec="/usr/lib"
10491 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10493 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10494 *) need_version=no ;;
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10497 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10498 shlibpath_var=LD_LIBRARY_PATH
10499 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10501 openbsd2.[89] | openbsd2.[89].*)
10502 shlibpath_overrides_runpath=no
10505 shlibpath_overrides_runpath=yes
10509 shlibpath_overrides_runpath=yes
10514 libname_spec='$name'
10517 library_names_spec='$libname${shared_ext} $libname.a'
10518 dynamic_linker='OS/2 ld.exe'
10519 shlibpath_var=LIBPATH
10522 osf3* | osf4* | osf5*)
10526 soname_spec='${libname}${release}${shared_ext}$major'
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 shlibpath_var=LD_LIBRARY_PATH
10529 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10530 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10538 version_type=linux # correct to gnu/linux during the next big refactor
10541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542 soname_spec='${libname}${release}${shared_ext}$major'
10543 shlibpath_var=LD_LIBRARY_PATH
10544 shlibpath_overrides_runpath=yes
10545 hardcode_into_libs=yes
10546 # ldd complains unless libraries are executable
10547 postinstall_cmds='chmod +x $lib'
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10553 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10554 shlibpath_var=LD_LIBRARY_PATH
10555 shlibpath_overrides_runpath=yes
10556 if test "$with_gnu_ld" = yes; then
10563 version_type=linux # correct to gnu/linux during the next big refactor
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565 soname_spec='${libname}${release}${shared_ext}$major'
10566 shlibpath_var=LD_LIBRARY_PATH
10567 case $host_vendor in
10569 shlibpath_overrides_runpath=no
10571 runpath_var=LD_RUN_PATH
10579 shlibpath_overrides_runpath=no
10580 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10586 if test -d /usr/nec ;then
10587 version_type=linux # correct to gnu/linux during the next big refactor
10588 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10589 soname_spec='$libname${shared_ext}.$major'
10590 shlibpath_var=LD_LIBRARY_PATH
10594 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10595 version_type=freebsd-elf
10598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10599 soname_spec='${libname}${release}${shared_ext}$major'
10600 shlibpath_var=LD_LIBRARY_PATH
10601 shlibpath_overrides_runpath=yes
10602 hardcode_into_libs=yes
10603 if test "$with_gnu_ld" = yes; then
10604 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10606 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10609 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10613 sys_lib_dlsearch_path_spec='/usr/lib'
10617 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10618 version_type=linux # correct to gnu/linux during the next big refactor
10621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622 shlibpath_var=LD_LIBRARY_PATH
10623 shlibpath_overrides_runpath=no
10624 hardcode_into_libs=yes
10628 version_type=linux # correct to gnu/linux during the next big refactor
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 soname_spec='${libname}${release}${shared_ext}$major'
10631 shlibpath_var=LD_LIBRARY_PATH
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10639 $as_echo "$dynamic_linker" >&6; }
10640 test "$dynamic_linker" = no && can_build_shared=no
10642 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10643 if test "$GCC" = yes; then
10644 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10647 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10648 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10650 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10651 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10746 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10748 if test -n "$hardcode_libdir_flag_spec" ||
10749 test -n "$runpath_var" ||
10750 test "X$hardcode_automatic" = "Xyes" ; then
10752 # We can hardcode non-existent directories.
10753 if test "$hardcode_direct" != no &&
10754 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10755 # have to relink, otherwise we might link with an installed library
10756 # when we should be linking with a yet-to-be-installed one
10757 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10758 test "$hardcode_minus_L" != no; then
10759 # Linking always hardcodes the temporary library directory.
10760 hardcode_action=relink
10762 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10763 hardcode_action=immediate
10766 # We cannot hardcode anything, or else we can only hardcode existing
10768 hardcode_action=unsupported
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10771 $as_echo "$hardcode_action" >&6; }
10773 if test "$hardcode_action" = relink ||
10774 test "$inherit_rpath" = yes; then
10775 # Fast installation is not supported
10776 enable_fast_install=no
10777 elif test "$shlibpath_overrides_runpath" = yes ||
10778 test "$enable_shared" = no; then
10779 # Fast installation is not necessary
10780 enable_fast_install=needless
10788 if test "x$enable_dlopen" != xyes; then
10789 enable_dlopen=unknown
10790 enable_dlopen_self=unknown
10791 enable_dlopen_self_static=unknown
10798 lt_cv_dlopen="load_add_on"
10800 lt_cv_dlopen_self=yes
10803 mingw* | pw32* | cegcc*)
10804 lt_cv_dlopen="LoadLibrary"
10809 lt_cv_dlopen="dlopen"
10814 # if libdl is installed we need to link against it
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10816 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10817 if ${ac_cv_lib_dl_dlopen+:} false; then :
10818 $as_echo_n "(cached) " >&6
10820 ac_check_lib_save_LIBS=$LIBS
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10825 /* Override any GCC internal prototype to avoid an error.
10826 Use char because int might match the return type of a GCC
10827 builtin and then its argument prototype would still apply. */
10840 if ac_fn_c_try_link "$LINENO"; then :
10841 ac_cv_lib_dl_dlopen=yes
10843 ac_cv_lib_dl_dlopen=no
10845 rm -f core conftest.err conftest.$ac_objext \
10846 conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_check_lib_save_LIBS
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10850 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10851 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10852 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10855 lt_cv_dlopen="dyld"
10857 lt_cv_dlopen_self=yes
10864 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10865 if test "x$ac_cv_func_shl_load" = xyes; then :
10866 lt_cv_dlopen="shl_load"
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10869 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10870 if ${ac_cv_lib_dld_shl_load+:} false; then :
10871 $as_echo_n "(cached) " >&6
10873 ac_check_lib_save_LIBS=$LIBS
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10888 return shl_load ();
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_dld_shl_load=yes
10896 ac_cv_lib_dld_shl_load=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10903 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10904 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10905 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10907 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10908 if test "x$ac_cv_func_dlopen" = xyes; then :
10909 lt_cv_dlopen="dlopen"
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10912 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10913 if ${ac_cv_lib_dl_dlopen+:} false; then :
10914 $as_echo_n "(cached) " >&6
10916 ac_check_lib_save_LIBS=$LIBS
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 ac_cv_lib_dl_dlopen=yes
10939 ac_cv_lib_dl_dlopen=no
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_lib_save_LIBS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10946 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10947 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10948 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10951 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10952 if ${ac_cv_lib_svld_dlopen+:} false; then :
10953 $as_echo_n "(cached) " >&6
10955 ac_check_lib_save_LIBS=$LIBS
10956 LIBS="-lsvld $LIBS"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10975 if ac_fn_c_try_link "$LINENO"; then :
10976 ac_cv_lib_svld_dlopen=yes
10978 ac_cv_lib_svld_dlopen=no
10980 rm -f core conftest.err conftest.$ac_objext \
10981 conftest$ac_exeext conftest.$ac_ext
10982 LIBS=$ac_check_lib_save_LIBS
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10985 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10986 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10987 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10990 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10991 if ${ac_cv_lib_dld_dld_link+:} false; then :
10992 $as_echo_n "(cached) " >&6
10994 ac_check_lib_save_LIBS=$LIBS
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11009 return dld_link ();
11014 if ac_fn_c_try_link "$LINENO"; then :
11015 ac_cv_lib_dld_dld_link=yes
11017 ac_cv_lib_dld_dld_link=no
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_lib_save_LIBS
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11024 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11025 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11026 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11047 if test "x$lt_cv_dlopen" != xno; then
11053 case $lt_cv_dlopen in
11055 save_CPPFLAGS="$CPPFLAGS"
11056 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11058 save_LDFLAGS="$LDFLAGS"
11059 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11062 LIBS="$lt_cv_dlopen_libs $LIBS"
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11065 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11066 if ${lt_cv_dlopen_self+:} false; then :
11067 $as_echo_n "(cached) " >&6
11069 if test "$cross_compiling" = yes; then :
11070 lt_cv_dlopen_self=cross
11072 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11073 lt_status=$lt_dlunknown
11074 cat > conftest.$ac_ext <<_LT_EOF
11075 #line $LINENO "configure"
11076 #include "confdefs.h"
11085 # define LT_DLGLOBAL RTLD_GLOBAL
11088 # define LT_DLGLOBAL DL_GLOBAL
11090 # define LT_DLGLOBAL 0
11094 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11095 find out it does not work in some platform. */
11096 #ifndef LT_DLLAZY_OR_NOW
11098 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11101 # define LT_DLLAZY_OR_NOW DL_LAZY
11104 # define LT_DLLAZY_OR_NOW RTLD_NOW
11107 # define LT_DLLAZY_OR_NOW DL_NOW
11109 # define LT_DLLAZY_OR_NOW 0
11116 /* When -fvisbility=hidden is used, assume the code has been annotated
11117 correspondingly for the symbols needed. */
11118 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11119 int fnord () __attribute__((visibility("default")));
11122 int fnord () { return 42; }
11125 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11126 int status = $lt_dlunknown;
11130 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11133 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11134 else puts (dlerror ());
11136 /* dlclose (self); */
11144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11145 (eval $ac_link) 2>&5
11147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11148 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11149 (./conftest; exit; ) >&5 2>/dev/null
11151 case x$lt_status in
11152 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11153 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11154 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11157 # compilation failed
11158 lt_cv_dlopen_self=no
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11166 $as_echo "$lt_cv_dlopen_self" >&6; }
11168 if test "x$lt_cv_dlopen_self" = xyes; then
11169 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11171 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11172 if ${lt_cv_dlopen_self_static+:} false; then :
11173 $as_echo_n "(cached) " >&6
11175 if test "$cross_compiling" = yes; then :
11176 lt_cv_dlopen_self_static=cross
11178 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11179 lt_status=$lt_dlunknown
11180 cat > conftest.$ac_ext <<_LT_EOF
11181 #line $LINENO "configure"
11182 #include "confdefs.h"
11191 # define LT_DLGLOBAL RTLD_GLOBAL
11194 # define LT_DLGLOBAL DL_GLOBAL
11196 # define LT_DLGLOBAL 0
11200 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11201 find out it does not work in some platform. */
11202 #ifndef LT_DLLAZY_OR_NOW
11204 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11207 # define LT_DLLAZY_OR_NOW DL_LAZY
11210 # define LT_DLLAZY_OR_NOW RTLD_NOW
11213 # define LT_DLLAZY_OR_NOW DL_NOW
11215 # define LT_DLLAZY_OR_NOW 0
11222 /* When -fvisbility=hidden is used, assume the code has been annotated
11223 correspondingly for the symbols needed. */
11224 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11225 int fnord () __attribute__((visibility("default")));
11228 int fnord () { return 42; }
11231 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11232 int status = $lt_dlunknown;
11236 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11239 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11240 else puts (dlerror ());
11242 /* dlclose (self); */
11250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11251 (eval $ac_link) 2>&5
11253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11254 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11255 (./conftest; exit; ) >&5 2>/dev/null
11257 case x$lt_status in
11258 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11259 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11260 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11263 # compilation failed
11264 lt_cv_dlopen_self_static=no
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11272 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11275 CPPFLAGS="$save_CPPFLAGS"
11276 LDFLAGS="$save_LDFLAGS"
11281 case $lt_cv_dlopen_self in
11282 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11283 *) enable_dlopen_self=unknown ;;
11286 case $lt_cv_dlopen_self_static in
11287 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11288 *) enable_dlopen_self_static=unknown ;;
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11311 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11312 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11313 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11314 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11316 $as_echo "yes" >&6; }
11318 # FIXME - insert some real tests, host_os isn't really good enough
11321 if test -n "$STRIP" ; then
11322 striplib="$STRIP -x"
11323 old_striplib="$STRIP -S"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11325 $as_echo "yes" >&6; }
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11328 $as_echo "no" >&6; }
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11333 $as_echo "no" >&6; }
11349 # Report which library types will actually be built
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11351 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11353 $as_echo "$can_build_shared" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11356 $as_echo_n "checking whether to build shared libraries... " >&6; }
11357 test "$can_build_shared" = "no" && enable_shared=no
11359 # On AIX, shared libraries and static libraries use the same namespace, and
11360 # are all built from PIC.
11363 test "$enable_shared" = yes && enable_static=no
11364 if test -n "$RANLIB"; then
11365 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11366 postinstall_cmds='$RANLIB $lib'
11371 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11372 test "$enable_shared" = yes && enable_static=no
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11377 $as_echo "$enable_shared" >&6; }
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11380 $as_echo_n "checking whether to build static libraries... " >&6; }
11381 # Make sure either enable_shared or enable_static is yes.
11382 test "$enable_shared" = yes || enable_static=yes
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11384 $as_echo "$enable_static" >&6; }
11391 ac_cpp='$CPP $CPPFLAGS'
11392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11412 ac_config_commands="$ac_config_commands libtool"
11417 # Only expand once:
11428 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11429 if test -n "$ac_tool_prefix"; then
11430 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11431 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11433 $as_echo_n "checking for $ac_word... " >&6; }
11434 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11435 $as_echo_n "(cached) " >&6
11437 case $PKG_CONFIG in
11439 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11443 for as_dir in $PATH
11446 test -z "$as_dir" && as_dir=.
11447 for ac_exec_ext in '' $ac_executable_extensions; do
11448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11449 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11460 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11461 if test -n "$PKG_CONFIG"; then
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11463 $as_echo "$PKG_CONFIG" >&6; }
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11466 $as_echo "no" >&6; }
11471 if test -z "$ac_cv_path_PKG_CONFIG"; then
11472 ac_pt_PKG_CONFIG=$PKG_CONFIG
11473 # Extract the first word of "pkg-config", so it can be a program name with args.
11474 set dummy pkg-config; ac_word=$2
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11476 $as_echo_n "checking for $ac_word... " >&6; }
11477 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11478 $as_echo_n "(cached) " >&6
11480 case $ac_pt_PKG_CONFIG in
11482 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11486 for as_dir in $PATH
11489 test -z "$as_dir" && as_dir=.
11490 for ac_exec_ext in '' $ac_executable_extensions; do
11491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11492 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11503 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11504 if test -n "$ac_pt_PKG_CONFIG"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11506 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11509 $as_echo "no" >&6; }
11512 if test "x$ac_pt_PKG_CONFIG" = x; then
11515 case $cross_compiling:$ac_tool_warned in
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11519 ac_tool_warned=yes ;;
11521 PKG_CONFIG=$ac_pt_PKG_CONFIG
11524 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11528 if test -n "$PKG_CONFIG"; then
11529 _pkg_min_version=0.9.0
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11531 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11532 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11534 $as_echo "yes" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537 $as_echo "no" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5
11545 $as_echo_n "checking for WAYLAND... " >&6; }
11547 if test -n "$WAYLAND_CFLAGS"; then
11548 pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
11549 elif test -n "$PKG_CONFIG"; then
11550 if test -n "$PKG_CONFIG" && \
11551 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= 1.2.0\""; } >&5
11552 ($PKG_CONFIG --exists --print-errors "wayland-client >= 1.2.0") 2>&5
11554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11555 test $ac_status = 0; }; then
11556 pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "wayland-client >= 1.2.0" 2>/dev/null`
11557 test "x$?" != "x0" && pkg_failed=yes
11564 if test -n "$WAYLAND_LIBS"; then
11565 pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS"
11566 elif test -n "$PKG_CONFIG"; then
11567 if test -n "$PKG_CONFIG" && \
11568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= 1.2.0\""; } >&5
11569 ($PKG_CONFIG --exists --print-errors "wayland-client >= 1.2.0") 2>&5
11571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11572 test $ac_status = 0; }; then
11573 pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "wayland-client >= 1.2.0" 2>/dev/null`
11574 test "x$?" != "x0" && pkg_failed=yes
11584 if test $pkg_failed = yes; then
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11586 $as_echo "no" >&6; }
11588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11589 _pkg_short_errors_supported=yes
11591 _pkg_short_errors_supported=no
11593 if test $_pkg_short_errors_supported = yes; then
11594 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client >= 1.2.0" 2>&1`
11596 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client >= 1.2.0" 2>&1`
11598 # Put the nasty error message in config.log where it belongs
11599 echo "$WAYLAND_PKG_ERRORS" >&5
11601 as_fn_error $? "Package requirements (wayland-client >= 1.2.0) were not met:
11603 $WAYLAND_PKG_ERRORS
11605 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11606 installed software in a non-standard prefix.
11608 Alternatively, you may set the environment variables WAYLAND_CFLAGS
11609 and WAYLAND_LIBS to avoid the need to call pkg-config.
11610 See the pkg-config man page for more details." "$LINENO" 5
11611 elif test $pkg_failed = untried; then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11613 $as_echo "no" >&6; }
11614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11616 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11617 is in your PATH or set the PKG_CONFIG environment variable to the full
11618 path to pkg-config.
11620 Alternatively, you may set the environment variables WAYLAND_CFLAGS
11621 and WAYLAND_LIBS to avoid the need to call pkg-config.
11622 See the pkg-config man page for more details.
11624 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11625 See \`config.log' for more details" "$LINENO" 5; }
11627 WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS
11628 WAYLAND_LIBS=$pkg_cv_WAYLAND_LIBS
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11630 $as_echo "yes" >&6; }
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EFL" >&5
11636 $as_echo_n "checking for EFL... " >&6; }
11638 if test -n "$EFL_CFLAGS"; then
11639 pkg_cv_EFL_CFLAGS="$EFL_CFLAGS"
11640 elif test -n "$PKG_CONFIG"; then
11641 if test -n "$PKG_CONFIG" && \
11642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina evas ecore ecore-evas ecore-wayland edje\""; } >&5
11643 ($PKG_CONFIG --exists --print-errors "eina evas ecore ecore-evas ecore-wayland edje") 2>&5
11645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11646 test $ac_status = 0; }; then
11647 pkg_cv_EFL_CFLAGS=`$PKG_CONFIG --cflags "eina evas ecore ecore-evas ecore-wayland edje" 2>/dev/null`
11648 test "x$?" != "x0" && pkg_failed=yes
11655 if test -n "$EFL_LIBS"; then
11656 pkg_cv_EFL_LIBS="$EFL_LIBS"
11657 elif test -n "$PKG_CONFIG"; then
11658 if test -n "$PKG_CONFIG" && \
11659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina evas ecore ecore-evas ecore-wayland edje\""; } >&5
11660 ($PKG_CONFIG --exists --print-errors "eina evas ecore ecore-evas ecore-wayland edje") 2>&5
11662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11663 test $ac_status = 0; }; then
11664 pkg_cv_EFL_LIBS=`$PKG_CONFIG --libs "eina evas ecore ecore-evas ecore-wayland edje" 2>/dev/null`
11665 test "x$?" != "x0" && pkg_failed=yes
11675 if test $pkg_failed = yes; then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11677 $as_echo "no" >&6; }
11679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11680 _pkg_short_errors_supported=yes
11682 _pkg_short_errors_supported=no
11684 if test $_pkg_short_errors_supported = yes; then
11685 EFL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina evas ecore ecore-evas ecore-wayland edje" 2>&1`
11687 EFL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina evas ecore ecore-evas ecore-wayland edje" 2>&1`
11689 # Put the nasty error message in config.log where it belongs
11690 echo "$EFL_PKG_ERRORS" >&5
11692 as_fn_error $? "Package requirements (eina evas ecore ecore-evas ecore-wayland edje) were not met:
11696 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11697 installed software in a non-standard prefix.
11699 Alternatively, you may set the environment variables EFL_CFLAGS
11700 and EFL_LIBS to avoid the need to call pkg-config.
11701 See the pkg-config man page for more details." "$LINENO" 5
11702 elif test $pkg_failed = untried; then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11704 $as_echo "no" >&6; }
11705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11707 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11708 is in your PATH or set the PKG_CONFIG environment variable to the full
11709 path to pkg-config.
11711 Alternatively, you may set the environment variables EFL_CFLAGS
11712 and EFL_LIBS to avoid the need to call pkg-config.
11713 See the pkg-config man page for more details.
11715 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11716 See \`config.log' for more details" "$LINENO" 5; }
11718 EFL_CFLAGS=$pkg_cv_EFL_CFLAGS
11719 EFL_LIBS=$pkg_cv_EFL_LIBS
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11721 $as_echo "yes" >&6; }
11726 # Check whether --with-edje-cc was given.
11727 if test "${with_edje_cc+set}" = set; then :
11728 withval=$with_edje_cc; EDJE_CC_PATH=${withval}
11730 EDJE_CC_PATH=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IBUS" >&5
11738 $as_echo_n "checking for IBUS... " >&6; }
11740 if test -n "$IBUS_CFLAGS"; then
11741 pkg_cv_IBUS_CFLAGS="$IBUS_CFLAGS"
11742 elif test -n "$PKG_CONFIG"; then
11743 if test -n "$PKG_CONFIG" && \
11744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eldbus eet efreet\""; } >&5
11745 ($PKG_CONFIG --exists --print-errors "eldbus eet efreet") 2>&5
11747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11748 test $ac_status = 0; }; then
11749 pkg_cv_IBUS_CFLAGS=`$PKG_CONFIG --cflags "eldbus eet efreet" 2>/dev/null`
11750 test "x$?" != "x0" && pkg_failed=yes
11757 if test -n "$IBUS_LIBS"; then
11758 pkg_cv_IBUS_LIBS="$IBUS_LIBS"
11759 elif test -n "$PKG_CONFIG"; then
11760 if test -n "$PKG_CONFIG" && \
11761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eldbus eet efreet\""; } >&5
11762 ($PKG_CONFIG --exists --print-errors "eldbus eet efreet") 2>&5
11764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11765 test $ac_status = 0; }; then
11766 pkg_cv_IBUS_LIBS=`$PKG_CONFIG --libs "eldbus eet efreet" 2>/dev/null`
11767 test "x$?" != "x0" && pkg_failed=yes
11777 if test $pkg_failed = yes; then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779 $as_echo "no" >&6; }
11781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11782 _pkg_short_errors_supported=yes
11784 _pkg_short_errors_supported=no
11786 if test $_pkg_short_errors_supported = yes; then
11787 IBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eldbus eet efreet" 2>&1`
11789 IBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eldbus eet efreet" 2>&1`
11791 # Put the nasty error message in config.log where it belongs
11792 echo "$IBUS_PKG_ERRORS" >&5
11794 as_fn_error $? "Package requirements (eldbus eet efreet) were not met:
11798 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11799 installed software in a non-standard prefix.
11801 Alternatively, you may set the environment variables IBUS_CFLAGS
11802 and IBUS_LIBS to avoid the need to call pkg-config.
11803 See the pkg-config man page for more details." "$LINENO" 5
11804 elif test $pkg_failed = untried; then
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11806 $as_echo "no" >&6; }
11807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11809 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11810 is in your PATH or set the PKG_CONFIG environment variable to the full
11811 path to pkg-config.
11813 Alternatively, you may set the environment variables IBUS_CFLAGS
11814 and IBUS_LIBS to avoid the need to call pkg-config.
11815 See the pkg-config man page for more details.
11817 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11818 See \`config.log' for more details" "$LINENO" 5; }
11820 IBUS_CFLAGS=$pkg_cv_IBUS_CFLAGS
11821 IBUS_LIBS=$pkg_cv_IBUS_LIBS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11823 $as_echo "yes" >&6; }
11826 # Extract the first word of "ibus", so it can be a program name with args.
11827 set dummy ibus; ac_word=$2
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11829 $as_echo_n "checking for $ac_word... " >&6; }
11830 if ${ac_cv_prog_have_ibus+:} false; then :
11831 $as_echo_n "(cached) " >&6
11833 if test -n "$have_ibus"; then
11834 ac_cv_prog_have_ibus="$have_ibus" # Let the user override the test.
11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837 for as_dir in $PATH
11840 test -z "$as_dir" && as_dir=.
11841 for ac_exec_ext in '' $ac_executable_extensions; do
11842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11843 ac_cv_prog_have_ibus="yes"
11844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 test -z "$ac_cv_prog_have_ibus" && ac_cv_prog_have_ibus="no"
11854 have_ibus=$ac_cv_prog_have_ibus
11855 if test -n "$have_ibus"; then
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ibus" >&5
11857 $as_echo "$have_ibus" >&6; }
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11865 if test "x$have ibus" = "xno" ; then :
11866 as_fn_error $? "The ibus executable was not found." "$LINENO" 5
11869 IBUS_ADDR=`ibus address > /dev/null 2>&1`
11870 if test $? -ne 0 ; then :
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The ibus executable does not support 'address' argument." >&5
11872 $as_echo "$as_me: WARNING: The ibus executable does not support 'address' argument." >&2;}
11883 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11884 if test -n "$ac_tool_prefix"; then
11885 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11886 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11888 $as_echo_n "checking for $ac_word... " >&6; }
11889 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11890 $as_echo_n "(cached) " >&6
11892 case $PKG_CONFIG in
11894 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11898 for as_dir in $PATH
11901 test -z "$as_dir" && as_dir=.
11902 for ac_exec_ext in '' $ac_executable_extensions; do
11903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11904 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11915 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11916 if test -n "$PKG_CONFIG"; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11918 $as_echo "$PKG_CONFIG" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11926 if test -z "$ac_cv_path_PKG_CONFIG"; then
11927 ac_pt_PKG_CONFIG=$PKG_CONFIG
11928 # Extract the first word of "pkg-config", so it can be a program name with args.
11929 set dummy pkg-config; ac_word=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11931 $as_echo_n "checking for $ac_word... " >&6; }
11932 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11933 $as_echo_n "(cached) " >&6
11935 case $ac_pt_PKG_CONFIG in
11937 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11941 for as_dir in $PATH
11944 test -z "$as_dir" && as_dir=.
11945 for ac_exec_ext in '' $ac_executable_extensions; do
11946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11947 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11959 if test -n "$ac_pt_PKG_CONFIG"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11961 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11967 if test "x$ac_pt_PKG_CONFIG" = x; then
11970 case $cross_compiling:$ac_tool_warned in
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11974 ac_tool_warned=yes ;;
11976 PKG_CONFIG=$ac_pt_PKG_CONFIG
11979 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11983 if test -n "$PKG_CONFIG"; then
11984 _pkg_min_version=0.9.0
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11986 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11987 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11989 $as_echo "yes" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11992 $as_echo "no" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_SCANNER" >&5
12000 $as_echo_n "checking for WAYLAND_SCANNER... " >&6; }
12002 if test -n "$WAYLAND_SCANNER_CFLAGS"; then
12003 pkg_cv_WAYLAND_SCANNER_CFLAGS="$WAYLAND_SCANNER_CFLAGS"
12004 elif test -n "$PKG_CONFIG"; then
12005 if test -n "$PKG_CONFIG" && \
12006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner\""; } >&5
12007 ($PKG_CONFIG --exists --print-errors "wayland-scanner") 2>&5
12009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12010 test $ac_status = 0; }; then
12011 pkg_cv_WAYLAND_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "wayland-scanner" 2>/dev/null`
12012 test "x$?" != "x0" && pkg_failed=yes
12019 if test -n "$WAYLAND_SCANNER_LIBS"; then
12020 pkg_cv_WAYLAND_SCANNER_LIBS="$WAYLAND_SCANNER_LIBS"
12021 elif test -n "$PKG_CONFIG"; then
12022 if test -n "$PKG_CONFIG" && \
12023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner\""; } >&5
12024 ($PKG_CONFIG --exists --print-errors "wayland-scanner") 2>&5
12026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027 test $ac_status = 0; }; then
12028 pkg_cv_WAYLAND_SCANNER_LIBS=`$PKG_CONFIG --libs "wayland-scanner" 2>/dev/null`
12029 test "x$?" != "x0" && pkg_failed=yes
12039 if test $pkg_failed = yes; then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041 $as_echo "no" >&6; }
12043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12044 _pkg_short_errors_supported=yes
12046 _pkg_short_errors_supported=no
12048 if test $_pkg_short_errors_supported = yes; then
12049 WAYLAND_SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-scanner" 2>&1`
12051 WAYLAND_SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-scanner" 2>&1`
12053 # Put the nasty error message in config.log where it belongs
12054 echo "$WAYLAND_SCANNER_PKG_ERRORS" >&5
12056 as_fn_error $? "Package requirements (wayland-scanner) were not met:
12058 $WAYLAND_SCANNER_PKG_ERRORS
12060 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12061 installed software in a non-standard prefix.
12063 Alternatively, you may set the environment variables WAYLAND_SCANNER_CFLAGS
12064 and WAYLAND_SCANNER_LIBS to avoid the need to call pkg-config.
12065 See the pkg-config man page for more details." "$LINENO" 5
12066 elif test $pkg_failed = untried; then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12071 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12072 is in your PATH or set the PKG_CONFIG environment variable to the full
12073 path to pkg-config.
12075 Alternatively, you may set the environment variables WAYLAND_SCANNER_CFLAGS
12076 and WAYLAND_SCANNER_LIBS to avoid the need to call pkg-config.
12077 See the pkg-config man page for more details.
12079 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12080 See \`config.log' for more details" "$LINENO" 5; }
12082 WAYLAND_SCANNER_CFLAGS=$pkg_cv_WAYLAND_SCANNER_CFLAGS
12083 WAYLAND_SCANNER_LIBS=$pkg_cv_WAYLAND_SCANNER_LIBS
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12085 $as_echo "yes" >&6; }
12089 wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`
12092 wayland_scanner_rules=`$PKG_CONFIG --variable=pkgdatadir wayland-scanner`/wayland-scanner.mk
12095 wayland_protocoldir='$(top_srcdir)/protocol'
12099 CFLAGS="$CFLAGS -Wextra -Wno-unused-parameter"
12102 CXXFLAGS="$CXXFLAGS -Wextra -Wno-unused-parameter"
12105 ac_config_files="$ac_config_files Makefile src/Makefile data/themes/Makefile protocol/Makefile"
12107 cat >confcache <<\_ACEOF
12108 # This file is a shell script that caches the results of configure
12109 # tests run on this system so they can be shared between configure
12110 # scripts and configure runs, see configure's option --config-cache.
12111 # It is not useful on other systems. If it contains results you don't
12112 # want to keep, you may remove or edit it.
12114 # config.status only pays attention to the cache file if you give it
12115 # the --recheck option to rerun configure.
12117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12119 # following values.
12123 # The following way of writing the cache mishandles newlines in values,
12124 # but we know of no workaround that is simple, portable, and efficient.
12125 # So, we kill variables containing newlines.
12126 # Ultrix sh set writes to stderr and can't be redirected directly,
12127 # and sets the high bit in the cache file unless we assign to the vars.
12129 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12130 eval ac_val=\$$ac_var
12134 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12138 _ | IFS | as_nl) ;; #(
12139 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12140 *) { eval $ac_var=; unset $ac_var;} ;;
12146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12147 *${as_nl}ac_space=\ *)
12148 # `set' does not quote correctly, so add quotes: double-quote
12149 # substitution turns \\\\ into \\, and sed turns \\ into \.
12152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12155 # `set' quotes correctly as required by POSIX, so do not add quotes.
12156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12169 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12170 if test -w "$cache_file"; then
12171 if test "x$cache_file" != "x/dev/null"; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12173 $as_echo "$as_me: updating cache $cache_file" >&6;}
12174 if test ! -f "$cache_file" || test -h "$cache_file"; then
12175 cat confcache >"$cache_file"
12177 case $cache_file in #(
12179 mv -f confcache "$cache_file"$$ &&
12180 mv -f "$cache_file"$$ "$cache_file" ;; #(
12182 mv -f confcache "$cache_file" ;;
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12188 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12193 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12194 # Let make expand exec_prefix.
12195 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12197 DEFS=-DHAVE_CONFIG_H
12202 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12203 # 1. Remove the extension, and $U if already installed.
12204 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12205 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12206 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12207 # will be set to the directory where LIBOBJS objects are built.
12208 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12209 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12211 LIBOBJS=$ac_libobjs
12213 LTLIBOBJS=$ac_ltlibobjs
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12217 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12218 if test -n "$am_sleep_pid"; then
12219 # Hide warnings about reused PIDs.
12220 wait $am_sleep_pid 2>/dev/null
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12223 $as_echo "done" >&6; }
12224 if test -n "$EXEEXT"; then
12226 am__EXEEXT_FALSE='#'
12228 am__EXEEXT_TRUE='#'
12232 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12233 as_fn_error $? "conditional \"AMDEP\" was never defined.
12234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12236 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12237 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12241 : "${CONFIG_STATUS=./config.status}"
12243 ac_clean_files_save=$ac_clean_files
12244 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12246 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12248 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12250 # Generated by $as_me.
12251 # Run this file to recreate the current configuration.
12252 # Compiler output produced by configure, useful for debugging
12253 # configure, is in config.log if it exists.
12256 ac_cs_recheck=false
12259 SHELL=\${CONFIG_SHELL-$SHELL}
12262 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12263 ## -------------------- ##
12264 ## M4sh Initialization. ##
12265 ## -------------------- ##
12267 # Be more Bourne compatible
12268 DUALCASE=1; export DUALCASE # for MKS sh
12269 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12272 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12273 # is contrary to our usage. Disable this feature.
12274 alias -g '${1+"$@"}'='"$@"'
12275 setopt NO_GLOB_SUBST
12277 case `(set -o) 2>/dev/null` in #(
12289 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12290 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12291 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12292 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12293 # Prefer a ksh shell builtin over an external printf program on Solaris,
12294 # but without wasting forks for bash or zsh.
12295 if test -z "$BASH_VERSION$ZSH_VERSION" \
12296 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12297 as_echo='print -r --'
12298 as_echo_n='print -rn --'
12299 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12300 as_echo='printf %s\n'
12301 as_echo_n='printf %s'
12303 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12304 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12305 as_echo_n='/usr/ucb/echo -n'
12307 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12308 as_echo_n_body='eval
12312 expr "X$arg" : "X\\(.*\\)$as_nl";
12313 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12315 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12317 export as_echo_n_body
12318 as_echo_n='sh -c $as_echo_n_body as_echo'
12320 export as_echo_body
12321 as_echo='sh -c $as_echo_body as_echo'
12324 # The user is always right.
12325 if test "${PATH_SEPARATOR+set}" != set; then
12327 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12328 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12335 # We need space, tab and new line, in precisely that order. Quoting is
12336 # there to prevent editors from complaining about space-tab.
12337 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12338 # splitting by setting IFS to empty value.)
12341 # Find who we are. Look in the path if we contain no directory separator.
12344 *[\\/]* ) as_myself=$0 ;;
12345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12346 for as_dir in $PATH
12349 test -z "$as_dir" && as_dir=.
12350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12356 # We did not find ourselves, most probably we were run as `sh COMMAND'
12357 # in which case we are not to be found in the path.
12358 if test "x$as_myself" = x; then
12361 if test ! -f "$as_myself"; then
12362 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12366 # Unset variables that we do not need and which cause bugs (e.g. in
12367 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12368 # suppresses any "Segmentation fault" message there. '((' could
12369 # trigger a bug in pdksh 5.2.14.
12370 for as_var in BASH_ENV ENV MAIL MAILPATH
12371 do eval test x\${$as_var+set} = xset \
12372 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12385 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12388 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12389 # ----------------------------------------
12390 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12391 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12392 # script with STATUS, using 1 if that was 0.
12395 as_status=$1; test $as_status -eq 0 && as_status=1
12397 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12398 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12400 $as_echo "$as_me: error: $2" >&2
12401 as_fn_exit $as_status
12405 # as_fn_set_status STATUS
12406 # -----------------------
12407 # Set $? to STATUS, without forking.
12408 as_fn_set_status ()
12411 } # as_fn_set_status
12413 # as_fn_exit STATUS
12414 # -----------------
12415 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12419 as_fn_set_status $1
12425 # Portably unset VAR.
12428 { eval $1=; unset $1;}
12430 as_unset=as_fn_unset
12431 # as_fn_append VAR VALUE
12432 # ----------------------
12433 # Append the text in VALUE to the end of the definition contained in VAR. Take
12434 # advantage of any shell optimizations that allow amortized linear growth over
12435 # repeated appends, instead of the typical quadratic growth present in naive
12437 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12438 eval 'as_fn_append ()
12449 # as_fn_arith ARG...
12450 # ------------------
12451 # Perform arithmetic evaluation on the ARGs, and store the result in the
12452 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12453 # must be portable across $(()) and expr.
12454 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12455 eval 'as_fn_arith ()
12462 as_val=`expr "$@" || test $? -eq 1`
12467 if expr a : '\(a\)' >/dev/null 2>&1 &&
12468 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12474 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12475 as_basename=basename
12480 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12486 as_me=`$as_basename -- "$0" ||
12487 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12488 X"$0" : 'X\(//\)$' \| \
12489 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12491 sed '/^.*\/\([^/][^/]*\)\/*$/{
12505 # Avoid depending upon Character Ranges.
12506 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12507 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12508 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12509 as_cr_digits='0123456789'
12510 as_cr_alnum=$as_cr_Letters$as_cr_digits
12512 ECHO_C= ECHO_N= ECHO_T=
12513 case `echo -n x` in #(((((
12515 case `echo 'xy\c'` in
12516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12525 rm -f conf$$ conf$$.exe conf$$.file
12526 if test -d conf$$.dir; then
12527 rm -f conf$$.dir/conf$$.file
12530 mkdir conf$$.dir 2>/dev/null
12532 if (echo >conf$$.file) 2>/dev/null; then
12533 if ln -s conf$$.file conf$$ 2>/dev/null; then
12535 # ... but there are two gotchas:
12536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12538 # In both cases, we have to default to `cp -pR'.
12539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12541 elif ln conf$$.file conf$$ 2>/dev/null; then
12549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12550 rmdir conf$$.dir 2>/dev/null
12555 # Create "$as_dir" as a directory, including parents if necessary.
12560 -*) as_dir=./$as_dir;;
12562 test -d "$as_dir" || eval $as_mkdir_p || {
12566 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12567 *) as_qdir=$as_dir;;
12569 as_dirs="'$as_qdir' $as_dirs"
12570 as_dir=`$as_dirname -- "$as_dir" ||
12571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12572 X"$as_dir" : 'X\(//\)[^/]' \| \
12573 X"$as_dir" : 'X\(//\)$' \| \
12574 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12575 $as_echo X"$as_dir" |
12576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12580 /^X\(\/\/\)[^/].*/{
12593 test -d "$as_dir" && break
12595 test -z "$as_dirs" || eval "mkdir $as_dirs"
12596 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12600 if mkdir -p . 2>/dev/null; then
12601 as_mkdir_p='mkdir -p "$as_dir"'
12603 test -d ./-p && rmdir ./-p
12608 # as_fn_executable_p FILE
12609 # -----------------------
12610 # Test if FILE is an executable regular file.
12611 as_fn_executable_p ()
12613 test -f "$1" && test -x "$1"
12614 } # as_fn_executable_p
12615 as_test_x='test -x'
12616 as_executable_p=as_fn_executable_p
12618 # Sed expression to map a string onto a valid CPP name.
12619 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12621 # Sed expression to map a string onto a valid variable name.
12622 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12626 ## ----------------------------------- ##
12627 ## Main body of $CONFIG_STATUS script. ##
12628 ## ----------------------------------- ##
12630 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12633 # Save the log message, to keep $0 and so on meaningful, and to
12634 # report actual input values of CONFIG_FILES etc. instead of their
12635 # values after options handling.
12637 This file was extended by weekeyboard $as_me 0.0.2, which was
12638 generated by GNU Autoconf 2.69. Invocation command line was
12640 CONFIG_FILES = $CONFIG_FILES
12641 CONFIG_HEADERS = $CONFIG_HEADERS
12642 CONFIG_LINKS = $CONFIG_LINKS
12643 CONFIG_COMMANDS = $CONFIG_COMMANDS
12646 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12651 case $ac_config_files in *"
12652 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12655 case $ac_config_headers in *"
12656 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12661 # Files that config.status was made for.
12662 config_files="$ac_config_files"
12663 config_headers="$ac_config_headers"
12664 config_commands="$ac_config_commands"
12668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12670 \`$as_me' instantiates files and other configuration actions
12671 from templates according to the current configuration. Unless the files
12672 and actions are specified as TAGs, all are instantiated by default.
12674 Usage: $0 [OPTION]... [TAG]...
12676 -h, --help print this help, then exit
12677 -V, --version print version number and configuration settings, then exit
12678 --config print configuration, then exit
12679 -q, --quiet, --silent
12680 do not print progress messages
12681 -d, --debug don't remove temporary files
12682 --recheck update $as_me by reconfiguring in the same conditions
12683 --file=FILE[:TEMPLATE]
12684 instantiate the configuration file FILE
12685 --header=FILE[:TEMPLATE]
12686 instantiate the configuration header FILE
12688 Configuration files:
12691 Configuration headers:
12694 Configuration commands:
12697 Report bugs to the package provider."
12700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12701 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12703 weekeyboard config.status 0.0.2
12704 configured by $0, generated by GNU Autoconf 2.69,
12705 with options \\"\$ac_cs_config\\"
12707 Copyright (C) 2012 Free Software Foundation, Inc.
12708 This config.status script is free software; the Free Software Foundation
12709 gives unlimited permission to copy, distribute and modify it."
12716 test -n "\$AWK" || AWK=awk
12719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12720 # The default lists apply if the user does not specify any file.
12726 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12727 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12731 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12743 # Handling of the options.
12744 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12746 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12747 $as_echo "$ac_cs_version"; exit ;;
12748 --config | --confi | --conf | --con | --co | --c )
12749 $as_echo "$ac_cs_config"; exit ;;
12750 --debug | --debu | --deb | --de | --d | -d )
12752 --file | --fil | --fi | --f )
12755 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12756 '') as_fn_error $? "missing file argument" ;;
12758 as_fn_append CONFIG_FILES " '$ac_optarg'"
12759 ac_need_defaults=false;;
12760 --header | --heade | --head | --hea )
12763 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12765 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12766 ac_need_defaults=false;;
12768 # Conflict between --help and --header
12769 as_fn_error $? "ambiguous option: \`$1'
12770 Try \`$0 --help' for more information.";;
12771 --help | --hel | -h )
12772 $as_echo "$ac_cs_usage"; exit ;;
12773 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12774 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12777 # This is an error.
12778 -*) as_fn_error $? "unrecognized option: \`$1'
12779 Try \`$0 --help' for more information." ;;
12781 *) as_fn_append ac_config_targets " $1"
12782 ac_need_defaults=false ;;
12788 ac_configure_extra_args=
12790 if $ac_cs_silent; then
12792 ac_configure_extra_args="$ac_configure_extra_args --silent"
12796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12797 if \$ac_cs_recheck; then
12798 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12800 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12801 CONFIG_SHELL='$SHELL'
12802 export CONFIG_SHELL
12807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12811 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12812 ## Running $as_me. ##
12818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12822 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12825 # The HP-UX ksh and POSIX shell print the target directory to stdout
12826 # if CDPATH is set.
12827 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12829 sed_quote_subst='$sed_quote_subst'
12830 double_quote_subst='$double_quote_subst'
12831 delay_variable_subst='$delay_variable_subst'
12832 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12833 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12834 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12835 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12836 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12837 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12838 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12839 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12840 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12841 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12842 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12843 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12844 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12845 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12846 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12847 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12848 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12849 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12850 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12851 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12852 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12853 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12854 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12855 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12856 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12857 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12858 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12859 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12860 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12861 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12862 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12863 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12864 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12865 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12866 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12867 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12868 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12869 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12870 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12871 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12872 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12873 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12874 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12875 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12876 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12877 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12878 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12879 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12880 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12881 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12882 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12883 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12884 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12885 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12886 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12887 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12888 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"`'
12889 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12890 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12891 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12892 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12893 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12894 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12895 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12896 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12897 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12898 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12899 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12900 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12901 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12902 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12903 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12904 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12905 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12906 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12907 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12908 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12909 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12910 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12911 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12912 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12913 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12914 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12915 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12916 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12917 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12918 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12919 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12920 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12921 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12922 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12923 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12924 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12925 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12926 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12927 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12928 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12929 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12930 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12931 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12932 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12933 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12934 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12935 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12936 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12937 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12938 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12939 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12940 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12941 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12942 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12943 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12944 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12945 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12946 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12947 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12948 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12949 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12950 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12951 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12952 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12953 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12954 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12955 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12956 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12957 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12958 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12959 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12960 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12961 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12964 LTCFLAGS='$LTCFLAGS'
12965 compiler='$compiler_DEFAULT'
12967 # A function that is used when there is no print builtin or printf.
12968 func_fallback_echo ()
12970 eval 'cat <<_LTECHO_EOF
12975 # Quote evaled strings.
12990 deplibs_check_method \
12995 sharedlib_from_linklib_cmd \
12998 archiver_list_spec \
13004 lt_cv_sys_global_symbol_pipe \
13005 lt_cv_sys_global_symbol_to_cdecl \
13006 lt_cv_sys_global_symbol_to_c_name_address \
13007 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13008 nm_file_list_spec \
13009 lt_prog_compiler_no_builtin_flag \
13010 lt_prog_compiler_pic \
13011 lt_prog_compiler_wl \
13012 lt_prog_compiler_static \
13013 lt_cv_prog_compiler_c_o \
13022 export_dynamic_flag_spec \
13023 whole_archive_flag_spec \
13024 compiler_needs_object \
13026 allow_undefined_flag \
13027 no_undefined_flag \
13028 hardcode_libdir_flag_spec \
13029 hardcode_libdir_separator \
13033 variables_saved_for_relink \
13035 library_names_spec \
13037 install_override_mode \
13041 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13042 *[\\\\\\\`\\"\\\$]*)
13043 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13046 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13051 # Double-quote double-evaled strings.
13052 for var in reload_cmds \
13053 old_postinstall_cmds \
13054 old_postuninstall_cmds \
13056 extract_expsyms_cmds \
13057 old_archive_from_new_cmds \
13058 old_archive_from_expsyms_cmds \
13060 archive_expsym_cmds \
13062 module_expsym_cmds \
13063 export_symbols_cmds \
13067 postuninstall_cmds \
13069 sys_lib_search_path_spec \
13070 sys_lib_dlsearch_path_spec; do
13071 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13072 *[\\\\\\\`\\"\\\$]*)
13073 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13076 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13081 ac_aux_dir='$ac_aux_dir'
13082 xsi_shell='$xsi_shell'
13083 lt_shell_append='$lt_shell_append'
13085 # See if we are running on zsh, and set the options which allow our
13086 # commands through without removal of \ escapes INIT.
13087 if test -n "\${ZSH_VERSION+set}" ; then
13088 setopt NO_GLOB_SUBST
13094 TIMESTAMP='$TIMESTAMP'
13103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13105 # Handling of arguments.
13106 for ac_config_target in $ac_config_targets
13108 case $ac_config_target in
13109 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13110 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13111 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13112 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13113 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13114 "data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES data/themes/Makefile" ;;
13115 "protocol/Makefile") CONFIG_FILES="$CONFIG_FILES protocol/Makefile" ;;
13117 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13122 # If the user did not use the arguments to specify the items to instantiate,
13123 # then the envvar interface is used. Set only those that are not.
13124 # We use the long form for the default assignment because of an extremely
13125 # bizarre bug on SunOS 4.1.3.
13126 if $ac_need_defaults; then
13127 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13128 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13129 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13132 # Have a temporary directory for convenience. Make it in the build tree
13133 # simply because there is no reason against having it here, and in addition,
13134 # creating and moving files from /tmp can sometimes cause problems.
13135 # Hook for its removal unless debugging.
13136 # Note that there is a small window in which the directory will not be cleaned:
13137 # after its creation but before its name has been assigned to `$tmp'.
13141 trap 'exit_status=$?
13142 : "${ac_tmp:=$tmp}"
13143 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13145 trap 'as_fn_exit 1' 1 2 13 15
13147 # Create a (secure) tmp directory for tmp files.
13150 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13154 tmp=./conf$$-$RANDOM
13155 (umask 077 && mkdir "$tmp")
13156 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13159 # Set up the scripts for CONFIG_FILES section.
13160 # No need to generate them if there are no CONFIG_FILES.
13161 # This happens for instance with `./config.status config.h'.
13162 if test -n "$CONFIG_FILES"; then
13164 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
13165 ac_cs_awk_getline=:
13166 ac_cs_awk_pipe_init=
13167 ac_cs_awk_read_file='
13168 while ((getline aline < (F[key])) > 0)
13171 ac_cs_awk_pipe_fini=
13173 ac_cs_awk_getline=false
13174 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
13175 ac_cs_awk_read_file='
13177 print "cat " F[key] " &&"
13178 '$ac_cs_awk_pipe_init
13179 # The final `:' finishes the AND list.
13180 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
13182 ac_cr=`echo X | tr X '\015'`
13183 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13184 # But we know of no other shell where ac_cr would be empty at this
13185 # point, so we can use a bashism as a fallback.
13186 if test "x$ac_cr" = x; then
13187 eval ac_cr=\$\'\\r\'
13189 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13190 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13193 ac_cs_awk_cr=$ac_cr
13196 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13199 # Create commands to substitute file output variables.
13201 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
13202 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
13203 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
13206 } >conf$$files.sh &&
13207 . ./conf$$files.sh ||
13208 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13209 rm -f conf$$files.sh
13212 echo "cat >conf$$subs.awk <<_ACEOF" &&
13213 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13215 } >conf$$subs.sh ||
13216 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13217 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13219 for ac_last_try in false false false false false :; do
13220 . ./conf$$subs.sh ||
13221 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13223 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13224 if test $ac_delim_n = $ac_delim_num; then
13226 elif $ac_last_try; then
13227 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13229 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13232 rm -f conf$$subs.sh
13234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13235 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13239 s/^/S["/; s/!.*/"]=/
13249 s/\(.\{148\}\)..*/\1/
13251 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13256 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13263 s/\(.\{148\}\)..*/\1/
13265 s/["\\]/\\&/g; s/^/"/; s/$/"/
13269 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13274 ' <conf$$subs.awk | sed '
13279 ' >>$CONFIG_STATUS || ac_write_fail=1
13280 rm -f conf$$subs.awk
13281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13283 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13284 for (key in S) S_is_set[key] = 1
13286 \$ac_cs_awk_pipe_init
13290 nfields = split(line, field, "@")
13292 len = length(field[1])
13293 for (i = 2; i < nfields; i++) {
13295 keylen = length(key)
13296 if (S_is_set[key]) {
13298 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13299 len += length(value) + length(field[++i])
13304 if (nfields == 3 && !substed) {
13306 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
13307 \$ac_cs_awk_read_file
13313 \$ac_cs_awk_pipe_fini
13316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13317 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13318 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13321 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13322 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13325 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13326 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13327 # trailing colons and then remove the whole line if VPATH becomes empty
13328 # (actually we leave an empty line to preserve line numbers).
13329 if test "x$srcdir" = x.; then
13330 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13349 fi # test -n "$CONFIG_FILES"
13351 # Set up the scripts for CONFIG_HEADERS section.
13352 # No need to generate them if there are no CONFIG_HEADERS.
13353 # This happens for instance with `./config.status Makefile'.
13354 if test -n "$CONFIG_HEADERS"; then
13355 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13359 # Transform confdefs.h into an awk script `defines.awk', embedded as
13360 # here-document in config.status, that substitutes the proper values into
13361 # config.h.in to produce config.h.
13363 # Create a delimiter string that does not exist in confdefs.h, to ease
13364 # handling of long lines.
13366 for ac_last_try in false false :; do
13367 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13368 if test -z "$ac_tt"; then
13370 elif $ac_last_try; then
13371 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13377 # For the awk script, D is an array of macro values keyed by name,
13378 # likewise P contains macro parameters if any. Preserve backslash
13379 # newline sequences.
13381 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13383 s/.\{148\}/&'"$ac_delim"'/g
13386 s/^[ ]*#[ ]*define[ ][ ]*/ /
13393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13395 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13400 D["\1"]=" \3\\\\\\n"\\/p
13402 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13407 s/.\{148\}/&'"$ac_delim"'/g
13412 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13415 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13417 ' <confdefs.h | sed '
13418 s/'"$ac_delim"'/"\\\
13419 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13422 for (key in D) D_is_set[key] = 1
13425 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13427 split(line, arg, " ")
13428 if (arg[1] == "#") {
13432 defundef = substr(arg[1], 2)
13435 split(mac1, mac2, "(") #)
13437 prefix = substr(line, 1, index(line, defundef) - 1)
13438 if (D_is_set[macro]) {
13439 # Preserve the white space surrounding the "#".
13440 print prefix "define", macro P[macro] D[macro]
13443 # Replace #undef with comments. This is necessary, for example,
13444 # in the case of _POSIX_SOURCE, which is predefined and required
13445 # on some systems where configure will not decide to define it.
13446 if (defundef == "undef") {
13447 print "/*", prefix defundef, macro, "*/"
13455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13456 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13457 fi # test -n "$CONFIG_HEADERS"
13460 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13465 :[FHLC]) ac_mode=$ac_tag; continue;;
13467 case $ac_mode$ac_tag in
13469 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13470 :[FH]-) ac_tag=-:-;;
13471 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13488 -) ac_f="$ac_tmp/stdin";;
13489 *) # Look for the file first in the build tree, then in the source tree
13490 # (if the path is not absolute). The absolute path cannot be DOS-style,
13491 # because $ac_f cannot contain `:'.
13495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13497 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13499 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13500 as_fn_append ac_file_inputs " '$ac_f'"
13503 # Let's still pretend it is `configure' which instantiates (i.e., don't
13504 # use $as_me), people would be surprised to read:
13505 # /* config.h. Generated by config.status. */
13506 configure_input='Generated from '`
13507 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13509 if test x"$ac_file" != x-; then
13510 configure_input="$ac_file. $configure_input"
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13512 $as_echo "$as_me: creating $ac_file" >&6;}
13514 # Neutralize special characters interpreted by sed in replacement strings.
13515 case $configure_input in #(
13516 *\&* | *\|* | *\\* )
13517 ac_sed_conf_input=`$as_echo "$configure_input" |
13518 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13519 *) ac_sed_conf_input=$configure_input;;
13523 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13529 ac_dir=`$as_dirname -- "$ac_file" ||
13530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13531 X"$ac_file" : 'X\(//\)[^/]' \| \
13532 X"$ac_file" : 'X\(//\)$' \| \
13533 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13534 $as_echo X"$ac_file" |
13535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13539 /^X\(\/\/\)[^/].*/{
13552 as_dir="$ac_dir"; as_fn_mkdir_p
13556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13558 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13559 # A ".." for each directory in $ac_dir_suffix.
13560 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13561 case $ac_top_builddir_sub in
13562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13566 ac_abs_top_builddir=$ac_pwd
13567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13568 # for backward compatibility:
13569 ac_top_builddir=$ac_top_build_prefix
13572 .) # We are building in place.
13574 ac_top_srcdir=$ac_top_builddir_sub
13575 ac_abs_top_srcdir=$ac_pwd ;;
13576 [\\/]* | ?:[\\/]* ) # Absolute name.
13577 ac_srcdir=$srcdir$ac_dir_suffix;
13578 ac_top_srcdir=$srcdir
13579 ac_abs_top_srcdir=$srcdir ;;
13580 *) # Relative name.
13581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13582 ac_top_srcdir=$ac_top_build_prefix$srcdir
13583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13595 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13596 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13598 ac_MKDIR_P=$MKDIR_P
13600 [\\/$]* | ?:[\\/]* ) ;;
13601 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13606 # If the template does not know about datarootdir, expand it.
13607 # FIXME: This hack should be removed a few years after 2.60.
13608 ac_datarootdir_hack=; ac_datarootdir_seen=
13619 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13620 *datarootdir*) ac_datarootdir_seen=yes;;
13621 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13623 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13626 ac_datarootdir_hack='
13627 s&@datadir@&$datadir&g
13628 s&@docdir@&$docdir&g
13629 s&@infodir@&$infodir&g
13630 s&@localedir@&$localedir&g
13631 s&@mandir@&$mandir&g
13632 s&\\\${datarootdir}&$datarootdir&g' ;;
13636 # Neutralize VPATH when `$srcdir' = `.'.
13637 # Shell code in configure.ac might set extrasub.
13638 # FIXME: do we really want to maintain this feature?
13639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13640 ac_sed_extra="$ac_vpsub
13643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13646 s|@configure_input@|$ac_sed_conf_input|;t t
13647 s&@top_builddir@&$ac_top_builddir_sub&;t t
13648 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13649 s&@srcdir@&$ac_srcdir&;t t
13650 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13651 s&@top_srcdir@&$ac_top_srcdir&;t t
13652 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13653 s&@builddir@&$ac_builddir&;t t
13654 s&@abs_builddir@&$ac_abs_builddir&;t t
13655 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13656 s&@INSTALL@&$ac_INSTALL&;t t
13657 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13658 $ac_datarootdir_hack
13660 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
13661 if $ac_cs_awk_getline; then
13662 $AWK -f "$ac_tmp/subs.awk"
13664 $AWK -f "$ac_tmp/subs.awk" | $SHELL
13666 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13668 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13669 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13670 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13671 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13673 which seems to be undefined. Please make sure it is defined" >&5
13674 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13675 which seems to be undefined. Please make sure it is defined" >&2;}
13677 rm -f "$ac_tmp/stdin"
13679 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13680 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13688 if test x"$ac_file" != x-; then
13690 $as_echo "/* $configure_input */" \
13691 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13692 } >"$ac_tmp/config.h" \
13693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13694 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13696 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13699 mv "$ac_tmp/config.h" "$ac_file" \
13700 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13703 $as_echo "/* $configure_input */" \
13704 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13705 || as_fn_error $? "could not create -" "$LINENO" 5
13707 # Compute "$ac_file"'s index in $config_headers.
13710 for _am_header in $config_headers :; do
13711 case $_am_header in
13712 $_am_arg | $_am_arg:* )
13715 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13718 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13719 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13720 X"$_am_arg" : 'X\(//\)[^/]' \| \
13721 X"$_am_arg" : 'X\(//\)$' \| \
13722 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13723 $as_echo X"$_am_arg" |
13724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13728 /^X\(\/\/\)[^/].*/{
13740 s/.*/./; q'`/stamp-h$_am_stamp_count
13743 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13744 $as_echo "$as_me: executing $ac_file commands" >&6;}
13749 case $ac_file$ac_mode in
13750 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13751 # Older Autoconf quotes --file arguments for eval, but not when files
13752 # are listed without --file. Let's play safe and only enable the eval
13753 # if we detect the quoting.
13754 case $CONFIG_FILES in
13755 *\'*) eval set x "$CONFIG_FILES" ;;
13756 *) set x $CONFIG_FILES ;;
13761 # Strip MF so we end up with the name of the file.
13762 mf=`echo "$mf" | sed -e 's/:.*$//'`
13763 # Check whether this is an Automake generated Makefile or not.
13764 # We used to match only the files named 'Makefile.in', but
13765 # some people rename them; so instead we look at the file content.
13766 # Grep'ing the first line is not enough: some people post-process
13767 # each Makefile.in and add a new line on top of each file to say so.
13768 # Grep'ing the whole file is not good either: AIX grep has a line
13769 # limit of 2048, but all sed's we know have understand at least 4000.
13770 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13771 dirpart=`$as_dirname -- "$mf" ||
13772 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13773 X"$mf" : 'X\(//\)[^/]' \| \
13774 X"$mf" : 'X\(//\)$' \| \
13775 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13781 /^X\(\/\/\)[^/].*/{
13797 # Extract the definition of DEPDIR, am__include, and am__quote
13798 # from the Makefile without running 'make'.
13799 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13800 test -z "$DEPDIR" && continue
13801 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13802 test -z "$am__include" && continue
13803 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13804 # Find all dependency output files, they are included files with
13805 # $(DEPDIR) in their names. We invoke sed twice because it is the
13806 # simplest approach to changing $(DEPDIR) to its actual value in the
13808 for file in `sed -n "
13809 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13810 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13811 # Make sure the directory exists.
13812 test -f "$dirpart/$file" && continue
13813 fdir=`$as_dirname -- "$file" ||
13814 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13815 X"$file" : 'X\(//\)[^/]' \| \
13816 X"$file" : 'X\(//\)$' \| \
13817 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13818 $as_echo X"$file" |
13819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13823 /^X\(\/\/\)[^/].*/{
13836 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13837 # echo "creating $dirpart/$file"
13838 echo '# dummy' > "$dirpart/$file"
13845 # See if we are running on zsh, and set the options which allow our
13846 # commands through without removal of \ escapes.
13847 if test -n "${ZSH_VERSION+set}" ; then
13848 setopt NO_GLOB_SUBST
13851 cfgfile="${ofile}T"
13852 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13855 cat <<_LT_EOF >> "$cfgfile"
13858 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13859 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13860 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13861 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13863 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13864 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13866 # Written by Gordon Matzigkeit, 1996
13868 # This file is part of GNU Libtool.
13870 # GNU Libtool is free software; you can redistribute it and/or
13871 # modify it under the terms of the GNU General Public License as
13872 # published by the Free Software Foundation; either version 2 of
13873 # the License, or (at your option) any later version.
13875 # As a special exception to the GNU General Public License,
13876 # if you distribute this file as part of a program or library that
13877 # is built using GNU Libtool, you may include this file under the
13878 # same distribution terms that you use for the rest of that program.
13880 # GNU Libtool is distributed in the hope that it will be useful,
13881 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13882 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13883 # GNU General Public License for more details.
13885 # You should have received a copy of the GNU General Public License
13886 # along with GNU Libtool; see the file COPYING. If not, a copy
13887 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13888 # obtained by writing to the Free Software Foundation, Inc.,
13889 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13892 # The names of the tagged configurations supported by this script.
13895 # ### BEGIN LIBTOOL CONFIG
13897 # Which release of libtool.m4 was used?
13898 macro_version=$macro_version
13899 macro_revision=$macro_revision
13901 # Whether or not to build static libraries.
13902 build_old_libs=$enable_static
13904 # Whether or not to build shared libraries.
13905 build_libtool_libs=$enable_shared
13907 # What type of objects to build.
13910 # Whether or not to optimize for fast installation.
13911 fast_install=$enable_fast_install
13913 # Shell to use when invoking shell scripts.
13916 # An echo program that protects backslashes.
13919 # The PATH separator for the build system.
13920 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13923 host_alias=$host_alias
13927 # The build system.
13928 build_alias=$build_alias
13932 # A sed program that does not truncate output.
13935 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13936 Xsed="\$SED -e 1s/^X//"
13938 # A grep program that handles long lines.
13944 # A literal string matcher.
13947 # A BSD- or MS-compatible name lister.
13950 # Whether we need soft or hard links.
13953 # What is the maximum length of a command?
13954 max_cmd_len=$max_cmd_len
13956 # Object file suffix (normally "o").
13959 # Executable file suffix (normally "").
13962 # whether the shell understands "unset".
13965 # turn spaces into newlines.
13968 # turn newlines into spaces.
13971 # convert \$build file names to \$host format.
13972 to_host_file_cmd=$lt_cv_to_host_file_cmd
13974 # convert \$build files to toolchain format.
13975 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13977 # An object symbol dumper.
13978 OBJDUMP=$lt_OBJDUMP
13980 # Method to check whether dependent libraries are shared objects.
13981 deplibs_check_method=$lt_deplibs_check_method
13983 # Command to use when deplibs_check_method = "file_magic".
13984 file_magic_cmd=$lt_file_magic_cmd
13986 # How to find potential files when deplibs_check_method = "file_magic".
13987 file_magic_glob=$lt_file_magic_glob
13989 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13990 want_nocaseglob=$lt_want_nocaseglob
13992 # DLL creation program.
13993 DLLTOOL=$lt_DLLTOOL
13995 # Command to associate shared and link libraries.
13996 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14001 # Flags to create an archive.
14002 AR_FLAGS=$lt_AR_FLAGS
14004 # How to feed a file listing to the archiver.
14005 archiver_list_spec=$lt_archiver_list_spec
14007 # A symbol stripping program.
14010 # Commands used to install an old-style archive.
14012 old_postinstall_cmds=$lt_old_postinstall_cmds
14013 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14015 # Whether to use a lock for old archive extraction.
14016 lock_old_archive_extraction=$lock_old_archive_extraction
14021 # LTCC compiler flags.
14022 LTCFLAGS=$lt_CFLAGS
14024 # Take the output of nm and produce a listing of raw symbols and C names.
14025 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14027 # Transform the output of nm in a proper C declaration.
14028 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14030 # Transform the output of nm in a C name address pair.
14031 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14033 # Transform the output of nm in a C name address pair when lib prefix is needed.
14034 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14036 # Specify filename containing input files for \$NM.
14037 nm_file_list_spec=$lt_nm_file_list_spec
14039 # The root where to search for dependent libraries,and in which our libraries should be installed.
14040 lt_sysroot=$lt_sysroot
14042 # The name of the directory that contains temporary libtool files.
14045 # Used to examine libraries when file_magic_cmd begins with "file".
14046 MAGIC_CMD=$MAGIC_CMD
14048 # Must we lock files when doing compilation?
14049 need_locks=$lt_need_locks
14052 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14054 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14055 DSYMUTIL=$lt_DSYMUTIL
14057 # Tool to change global to local symbols on Mac OS X.
14060 # Tool to manipulate fat objects and archives on Mac OS X.
14063 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14066 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14067 OTOOL64=$lt_OTOOL64
14069 # Old archive suffix (normally "a").
14072 # Shared library suffix (normally ".so").
14073 shrext_cmds=$lt_shrext_cmds
14075 # The commands to extract the exported symbol list from a shared archive.
14076 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14078 # Variables whose values should be saved in libtool wrapper scripts and
14079 # restored at link time.
14080 variables_saved_for_relink=$lt_variables_saved_for_relink
14082 # Do we need the "lib" prefix for modules?
14083 need_lib_prefix=$need_lib_prefix
14085 # Do we need a version for libraries?
14086 need_version=$need_version
14088 # Library versioning type.
14089 version_type=$version_type
14091 # Shared library runtime path variable.
14092 runpath_var=$runpath_var
14094 # Shared library path variable.
14095 shlibpath_var=$shlibpath_var
14097 # Is shlibpath searched before the hard-coded library search path?
14098 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14100 # Format of library name prefix.
14101 libname_spec=$lt_libname_spec
14103 # List of archive names. First name is the real one, the rest are links.
14104 # The last name is the one that the linker finds with -lNAME
14105 library_names_spec=$lt_library_names_spec
14107 # The coded name of the library, if different from the real name.
14108 soname_spec=$lt_soname_spec
14110 # Permission mode override for installation of shared libraries.
14111 install_override_mode=$lt_install_override_mode
14113 # Command to use after installation of a shared archive.
14114 postinstall_cmds=$lt_postinstall_cmds
14116 # Command to use after uninstallation of a shared archive.
14117 postuninstall_cmds=$lt_postuninstall_cmds
14119 # Commands used to finish a libtool library installation in a directory.
14120 finish_cmds=$lt_finish_cmds
14122 # As "finish_cmds", except a single script fragment to be evaled but
14124 finish_eval=$lt_finish_eval
14126 # Whether we should hardcode library paths into libraries.
14127 hardcode_into_libs=$hardcode_into_libs
14129 # Compile-time system search path for libraries.
14130 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14132 # Run-time system search path for libraries.
14133 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14135 # Whether dlopen is supported.
14136 dlopen_support=$enable_dlopen
14138 # Whether dlopen of programs is supported.
14139 dlopen_self=$enable_dlopen_self
14141 # Whether dlopen of statically linked programs is supported.
14142 dlopen_self_static=$enable_dlopen_self_static
14144 # Commands to strip libraries.
14145 old_striplib=$lt_old_striplib
14146 striplib=$lt_striplib
14149 # The linker used to build libraries.
14152 # How to create reloadable object files.
14153 reload_flag=$lt_reload_flag
14154 reload_cmds=$lt_reload_cmds
14156 # Commands used to build an old-style archive.
14157 old_archive_cmds=$lt_old_archive_cmds
14159 # A language specific compiler.
14162 # Is the compiler the GNU compiler?
14165 # Compiler flag to turn off builtin functions.
14166 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14168 # Additional compiler flags for building library objects.
14169 pic_flag=$lt_lt_prog_compiler_pic
14171 # How to pass a linker flag through the compiler.
14172 wl=$lt_lt_prog_compiler_wl
14174 # Compiler flag to prevent dynamic linking.
14175 link_static_flag=$lt_lt_prog_compiler_static
14177 # Does compiler simultaneously support -c and -o options?
14178 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14180 # Whether or not to add -lc for building shared libraries.
14181 build_libtool_need_lc=$archive_cmds_need_lc
14183 # Whether or not to disallow shared libs when runtime libs are static.
14184 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14186 # Compiler flag to allow reflexive dlopens.
14187 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14189 # Compiler flag to generate shared objects directly from archives.
14190 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14192 # Whether the compiler copes with passing no objects directly.
14193 compiler_needs_object=$lt_compiler_needs_object
14195 # Create an old-style archive from a shared archive.
14196 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14198 # Create a temporary old-style archive to link instead of a shared archive.
14199 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14201 # Commands used to build a shared archive.
14202 archive_cmds=$lt_archive_cmds
14203 archive_expsym_cmds=$lt_archive_expsym_cmds
14205 # Commands used to build a loadable module if different from building
14206 # a shared archive.
14207 module_cmds=$lt_module_cmds
14208 module_expsym_cmds=$lt_module_expsym_cmds
14210 # Whether we are building with GNU ld or not.
14211 with_gnu_ld=$lt_with_gnu_ld
14213 # Flag that allows shared libraries with undefined symbols to be built.
14214 allow_undefined_flag=$lt_allow_undefined_flag
14216 # Flag that enforces no undefined symbols.
14217 no_undefined_flag=$lt_no_undefined_flag
14219 # Flag to hardcode \$libdir into a binary during linking.
14220 # This must work even if \$libdir does not exist
14221 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14223 # Whether we need a single "-rpath" flag with a separated argument.
14224 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14226 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14227 # DIR into the resulting binary.
14228 hardcode_direct=$hardcode_direct
14230 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14231 # DIR into the resulting binary and the resulting library dependency is
14232 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14233 # library is relocated.
14234 hardcode_direct_absolute=$hardcode_direct_absolute
14236 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14237 # into the resulting binary.
14238 hardcode_minus_L=$hardcode_minus_L
14240 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14241 # into the resulting binary.
14242 hardcode_shlibpath_var=$hardcode_shlibpath_var
14244 # Set to "yes" if building a shared library automatically hardcodes DIR
14245 # into the library and all subsequent libraries and executables linked
14247 hardcode_automatic=$hardcode_automatic
14249 # Set to yes if linker adds runtime paths of dependent libraries
14250 # to runtime path list.
14251 inherit_rpath=$inherit_rpath
14253 # Whether libtool must link a program against all its dependency libraries.
14254 link_all_deplibs=$link_all_deplibs
14256 # Set to "yes" if exported symbols are required.
14257 always_export_symbols=$always_export_symbols
14259 # The commands to list exported symbols.
14260 export_symbols_cmds=$lt_export_symbols_cmds
14262 # Symbols that should not be listed in the preloaded symbols.
14263 exclude_expsyms=$lt_exclude_expsyms
14265 # Symbols that must always be exported.
14266 include_expsyms=$lt_include_expsyms
14268 # Commands necessary for linking programs (against libraries) with templates.
14269 prelink_cmds=$lt_prelink_cmds
14271 # Commands necessary for finishing linking programs.
14272 postlink_cmds=$lt_postlink_cmds
14274 # Specify filename containing input files.
14275 file_list_spec=$lt_file_list_spec
14277 # How to hardcode a shared library path into an executable.
14278 hardcode_action=$hardcode_action
14280 # ### END LIBTOOL CONFIG
14286 cat <<\_LT_EOF >> "$cfgfile"
14287 # AIX sometimes has problems with the GCC collect2 program. For some
14288 # reason, if we set the COLLECT_NAMES environment variable, the problems
14289 # vanish in a puff of smoke.
14290 if test "X${COLLECT_NAMES+set}" != Xset; then
14292 export COLLECT_NAMES
14299 ltmain="$ac_aux_dir/ltmain.sh"
14302 # We use sed instead of cat because bash on DJGPP gets confused if
14303 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14304 # text mode, it properly converts lines to CR/LF. This bash problem
14305 # is reportedly fixed, but why not run on old versions too?
14306 sed '$q' "$ltmain" >> "$cfgfile" \
14307 || (rm -f "$cfgfile"; exit 1)
14309 if test x"$xsi_shell" = xyes; then
14310 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14314 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14315 \ * ) func_dirname_result="${3}" ;;\
14317 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14318 && mv -f "$cfgfile.tmp" "$cfgfile" \
14319 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14320 test 0 -eq $? || _lt_function_replace_fail=:
14323 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14326 \ func_basename_result="${1##*/}"\
14327 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14328 && mv -f "$cfgfile.tmp" "$cfgfile" \
14329 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14330 test 0 -eq $? || _lt_function_replace_fail=:
14333 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14334 func_dirname_and_basename ()\
14337 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14338 \ * ) func_dirname_result="${3}" ;;\
14340 \ func_basename_result="${1##*/}"\
14341 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14342 && mv -f "$cfgfile.tmp" "$cfgfile" \
14343 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14344 test 0 -eq $? || _lt_function_replace_fail=:
14347 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14350 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14351 \ # positional parameters, so assign one to ordinary parameter first.\
14352 \ func_stripname_result=${3}\
14353 \ func_stripname_result=${func_stripname_result#"${1}"}\
14354 \ func_stripname_result=${func_stripname_result%"${2}"}\
14355 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14356 && mv -f "$cfgfile.tmp" "$cfgfile" \
14357 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14358 test 0 -eq $? || _lt_function_replace_fail=:
14361 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14362 func_split_long_opt ()\
14364 \ func_split_long_opt_name=${1%%=*}\
14365 \ func_split_long_opt_arg=${1#*=}\
14366 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14367 && mv -f "$cfgfile.tmp" "$cfgfile" \
14368 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14369 test 0 -eq $? || _lt_function_replace_fail=:
14372 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14373 func_split_short_opt ()\
14375 \ func_split_short_opt_arg=${1#??}\
14376 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14377 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14378 && mv -f "$cfgfile.tmp" "$cfgfile" \
14379 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14380 test 0 -eq $? || _lt_function_replace_fail=:
14383 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14387 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14388 \ *) func_lo2o_result=${1} ;;\
14390 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14391 && mv -f "$cfgfile.tmp" "$cfgfile" \
14392 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14393 test 0 -eq $? || _lt_function_replace_fail=:
14396 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14399 func_xform_result=${1%.*}.lo\
14400 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14401 && mv -f "$cfgfile.tmp" "$cfgfile" \
14402 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14403 test 0 -eq $? || _lt_function_replace_fail=:
14406 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14409 func_arith_result=$(( $* ))\
14410 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14411 && mv -f "$cfgfile.tmp" "$cfgfile" \
14412 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14413 test 0 -eq $? || _lt_function_replace_fail=:
14416 sed -e '/^func_len ()$/,/^} # func_len /c\
14419 func_len_result=${#1}\
14420 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14421 && mv -f "$cfgfile.tmp" "$cfgfile" \
14422 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14423 test 0 -eq $? || _lt_function_replace_fail=:
14427 if test x"$lt_shell_append" = xyes; then
14428 sed -e '/^func_append ()$/,/^} # func_append /c\
14431 eval "${1}+=\\${2}"\
14432 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14433 && mv -f "$cfgfile.tmp" "$cfgfile" \
14434 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14435 test 0 -eq $? || _lt_function_replace_fail=:
14438 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14439 func_append_quoted ()\
14441 \ func_quote_for_eval "${2}"\
14442 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14443 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14444 && mv -f "$cfgfile.tmp" "$cfgfile" \
14445 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14446 test 0 -eq $? || _lt_function_replace_fail=:
14449 # Save a `func_append' function call where possible by direct use of '+='
14450 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14451 && mv -f "$cfgfile.tmp" "$cfgfile" \
14452 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14453 test 0 -eq $? || _lt_function_replace_fail=:
14455 # Save a `func_append' function call even when '+=' is not available
14456 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14457 && mv -f "$cfgfile.tmp" "$cfgfile" \
14458 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14459 test 0 -eq $? || _lt_function_replace_fail=:
14462 if test x"$_lt_function_replace_fail" = x":"; then
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14464 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14468 mv -f "$cfgfile" "$ofile" ||
14469 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14480 ac_clean_files=$ac_clean_files_save
14482 test $ac_write_fail = 0 ||
14483 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14486 # configure is writing to config.log, and then calls config.status.
14487 # config.status does its own redirection, appending to config.log.
14488 # Unfortunately, on DOS this fails, as config.log is still kept open
14489 # by configure, so config.status won't be able to write to it; its
14490 # output is simply discarded. So we exec the FD to /dev/null,
14491 # effectively closing config.log, so it can be properly (re)opened and
14492 # appended to by config.status. When coming back to configure, we
14493 # need to make the FD available again.
14494 if test "$no_create" != yes; then
14496 ac_config_status_args=
14497 test "$silent" = yes &&
14498 ac_config_status_args="$ac_config_status_args --quiet"
14500 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14502 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14503 # would make configure fail if this is the last instruction.
14504 $ac_cs_success || as_fn_exit 1
14506 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14508 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}