2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for scss 1.0.0.
5 # Report bugs to <konn@users.sourceforge.jp>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: konn@users.sourceforge.jp about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
572 PACKAGE_TARNAME='scss'
573 PACKAGE_VERSION='1.0.0'
574 PACKAGE_STRING='scss 1.0.0'
575 PACKAGE_BUGREPORT='konn@users.sourceforge.jp'
578 ac_unique_file="src/main.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
670 INSTALL_STRIP_PROGRAM
724 program_transform_name
737 enable_option_checking
742 enable_dependency_tracking
749 ac_precious_vars='build_alias
765 # Initialize some variables set by options.
767 ac_init_version=false
768 ac_unrecognized_opts=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name=s,x,x,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir='${datarootdir}/info'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
825 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 # Accept the important Cygnus configure options, so we can diagnose typos.
832 case $ac_dashdash$ac_option in
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 -build | --build | --buil | --bui | --bu)
842 ac_prev=build_alias ;;
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844 build_alias=$ac_optarg ;;
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848 ac_prev=cache_file ;;
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851 cache_file=$ac_optarg ;;
854 cache_file=config.cache ;;
856 -datadir | --datadir | --datadi | --datad)
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
859 datadir=$ac_optarg ;;
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862 | --dataroo | --dataro | --datar)
863 ac_prev=datarootdir ;;
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866 datarootdir=$ac_optarg ;;
868 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: $ac_useropt"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
882 eval enable_$ac_useropt=no ;;
884 -docdir | --docdir | --docdi | --doc | --do)
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
908 eval enable_$ac_useropt=\$ac_optarg ;;
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
923 -help | --help | --hel | --he | -h)
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 htmldir=$ac_optarg ;;
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
953 -libdir | --libdir | --libdi | --libd)
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
965 -localedir | --localedir | --localedi | --localed | --locale)
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
983 # Obsolete; use --without-fp.
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1044 -psdir | --psdir | --psdi | --psd | --ps)
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 sbindir=$ac_optarg ;;
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 sharedstatedir=$ac_optarg ;;
1070 -site | --site | --sit)
1072 -site=* | --site=* | --sit=*)
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1112 eval with_$ac_useropt=\$ac_optarg ;;
1114 -without-* | --without-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1128 eval with_$ac_useropt=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information"
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 case $ac_envvar in #(
1156 '' | [0-9]* | *[!_$as_cr_alnum]* )
1157 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 as_fn_error $? "missing argument to $ac_option"
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186 # Check all directory arguments for consistency.
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val=\$$ac_var
1193 # Remove trailing slashes.
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\$ac_val;;
1199 # Be sure to have absolute directory names.
1201 [\\/$]* | ?:[\\/]* ) continue;;
1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1207 # There might be people who depend on the old broken behavior: `$host'
1208 # used to hold the argument of --host etc.
1209 # FIXME: To remove some day.
1212 target=$target_alias
1214 # FIXME: To remove some day.
1215 if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then
1217 cross_compiling=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then
1226 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228 test "$silent" = yes && exec 6>/dev/null
1231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di=`ls -di .` &&
1233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1234 as_fn_error $? "working directory cannot be determined"
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 as_fn_error $? "pwd does not report name of working directory"
1239 # Find the source files, if location was not specified.
1240 if test -z "$srcdir"; then
1241 ac_srcdir_defaulted=yes
1242 # Try the directory containing this script, then the parent directory.
1243 ac_confdir=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1271 ac_srcdir_defaulted=no
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1275 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 for ac_var in $ac_precious_vars; do
1292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_${ac_var}_value=\$${ac_var}
1294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1305 \`configure' configures scss 1.0.0 to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking ...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/scss]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
1365 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1368 --build=BUILD configure for building on BUILD [guessed]
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1370 --target=TARGET configure for building compilers for TARGET [HOST]
1374 if test -n "$ac_init_help"; then
1375 case $ac_init_help in
1376 short | recursive ) echo "Configuration of scss 1.0.0:";;
1381 --disable-option-checking ignore unrecognized --enable/--with options
1382 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1383 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1384 --enable-shared[=PKGS] build shared libraries [default=yes]
1385 --enable-static[=PKGS] build static libraries [default=yes]
1386 --enable-fast-install[=PKGS]
1387 optimize for fast installation [default=yes]
1388 --disable-dependency-tracking speeds up one-time build
1389 --enable-dependency-tracking do not reject slow dependency extractors
1390 --disable-libtool-lock avoid locking (might break parallel builds)
1393 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1394 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1395 --with-pic try to use only PIC/non-PIC objects [default=use
1397 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1398 --with-sysroot=DIR Search for dependent libraries within DIR
1399 (or the compiler's sysroot if not specified).
1400 --with-apr-config=ARG Path of apr-config program file.
1401 --with-apu-config=ARG Path of apu-config program file.
1403 Some influential environment variables:
1404 CC C compiler command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1407 nonstandard directory <lib dir>
1408 LIBS libraries to pass to the linker, e.g. -l<library>
1409 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1410 you have headers in a nonstandard directory <include dir>
1413 Use these variables to override the choices made by `configure' or to help
1414 it to find libraries and programs with nonstandard names/locations.
1416 Report bugs to <konn@users.sourceforge.jp>.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1446 .) # We are building in place.
1448 ac_top_srcdir=$ac_top_builddir_sub
1449 ac_abs_top_srcdir=$ac_pwd ;;
1450 [\\/]* | ?:[\\/]* ) # Absolute name.
1451 ac_srcdir=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir=$srcdir
1453 ac_abs_top_srcdir=$srcdir ;;
1455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" || { ac_status=$?; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" || { ac_status=$?; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1479 scss configure 1.0.0
1480 generated by GNU Autoconf 2.68
1482 Copyright (C) 2010 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1489 ## ------------------------ ##
1490 ## Autoconf initialization. ##
1491 ## ------------------------ ##
1493 # ac_fn_c_try_compile LINENO
1494 # --------------------------
1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_compile ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 rm -f conftest.$ac_objext
1500 if { { ac_try="$ac_compile"
1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503 *) ac_try_echo=$ac_try;;
1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507 (eval "$ac_compile") 2>conftest.err
1509 if test -s conftest.err; then
1510 grep -v '^ *+' conftest.err >conftest.er1
1511 cat conftest.er1 >&5
1512 mv -f conftest.er1 conftest.err
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && {
1516 test -z "$ac_c_werror_flag" ||
1517 test ! -s conftest.err
1518 } && test -s conftest.$ac_objext; then :
1521 $as_echo "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.$ac_ext >&5
1526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1527 as_fn_set_status $ac_retval
1529 } # ac_fn_c_try_compile
1531 # ac_fn_c_try_link LINENO
1532 # -----------------------
1533 # Try to link conftest.$ac_ext, and return whether this succeeded.
1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537 rm -f conftest.$ac_objext conftest$ac_exeext
1538 if { { ac_try="$ac_link"
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_link") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } && {
1554 test -z "$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1556 } && test -s conftest$ac_exeext && {
1557 test "$cross_compiling" = yes ||
1558 $as_test_x conftest$ac_exeext
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1568 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1569 # interfere with the next link command; also delete a directory that is
1570 # left behind by Apple's compiler. We do this before executing the actions.
1571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573 as_fn_set_status $ac_retval
1575 } # ac_fn_c_try_link
1577 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1578 # -------------------------------------------------------
1579 # Tests whether HEADER exists and can be compiled using the include files in
1580 # INCLUDES, setting the cache variable VAR accordingly.
1581 ac_fn_c_check_header_compile ()
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1585 $as_echo_n "checking for $2... " >&6; }
1586 if eval \${$3+:} false; then :
1587 $as_echo_n "(cached) " >&6
1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1590 /* end confdefs.h. */
1594 if ac_fn_c_try_compile "$LINENO"; then :
1599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1603 $as_echo "$ac_res" >&6; }
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 } # ac_fn_c_check_header_compile
1608 # ac_fn_c_try_cpp LINENO
1609 # ----------------------
1610 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 if { { ac_try="$ac_cpp conftest.$ac_ext"
1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617 *) ac_try_echo=$ac_try;;
1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1623 if test -s conftest.err; then
1624 grep -v '^ *+' conftest.err >conftest.er1
1625 cat conftest.er1 >&5
1626 mv -f conftest.er1 conftest.err
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } > conftest.i && {
1630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1631 test ! -s conftest.err
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.$ac_ext >&5
1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641 as_fn_set_status $ac_retval
1645 # ac_fn_c_try_run LINENO
1646 # ----------------------
1647 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1648 # that executables *can* be run.
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 if { { ac_try="$ac_link"
1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655 *) ac_try_echo=$ac_try;;
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_link") 2>&5
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1663 { { case "(($ac_try" in
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_try") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; }; }; then :
1675 $as_echo "$as_me: program exited with status $ac_status" >&5
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1679 ac_retval=$ac_status
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1687 # ac_fn_c_check_func LINENO FUNC VAR
1688 # ----------------------------------
1689 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1690 ac_fn_c_check_func ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if eval \${$3+:} false; then :
1696 $as_echo_n "(cached) " >&6
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1700 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1702 #define $2 innocuous_$2
1704 /* System header to define __stub macros and hopefully few prototypes,
1705 which can conflict with char $2 (); below.
1706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1707 <limits.h> exists even on freestanding compilers. */
1710 # include <limits.h>
1712 # include <assert.h>
1717 /* Override any GCC internal prototype to avoid an error.
1718 Use char because int might match the return type of a GCC
1719 builtin and then its argument prototype would still apply. */
1724 /* The GNU C library defines this for functions which it implements
1725 to always fail with ENOSYS. Some functions are actually named
1726 something starting with __ and the normal name is an alias. */
1727 #if defined __stub_$2 || defined __stub___$2
1739 if ac_fn_c_try_link "$LINENO"; then :
1744 rm -f core conftest.err conftest.$ac_objext \
1745 conftest$ac_exeext conftest.$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_func
1754 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1755 # -------------------------------------------------------
1756 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1757 # the include files in INCLUDES and setting the cache variable VAR
1759 ac_fn_c_check_header_mongrel ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if eval \${$3+:} false; then :
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1772 # Is the header compilable?
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1774 $as_echo_n "checking $2 usability... " >&6; }
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1780 if ac_fn_c_try_compile "$LINENO"; then :
1781 ac_header_compiler=yes
1783 ac_header_compiler=no
1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1787 $as_echo "$ac_header_compiler" >&6; }
1789 # Is the header present?
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1791 $as_echo_n "checking $2 presence... " >&6; }
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1796 if ac_fn_c_try_cpp "$LINENO"; then :
1797 ac_header_preproc=yes
1799 ac_header_preproc=no
1801 rm -f conftest.err conftest.i conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1803 $as_echo "$ac_header_preproc" >&6; }
1805 # So? What about this header?
1806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1809 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1811 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1815 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1817 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1819 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1821 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 ( $as_echo "## ---------------------------------------- ##
1825 ## Report this to konn@users.sourceforge.jp ##
1826 ## ---------------------------------------- ##"
1827 ) | sed "s/^/$as_me: WARNING: /" >&2
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1835 eval "$3=\$ac_header_compiler"
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 } # ac_fn_c_check_header_mongrel
1844 cat >config.log <<_ACEOF
1845 This file contains any messages produced by compilers while
1846 running configure, to aid debugging if configure makes a mistake.
1848 It was created by scss $as_me 1.0.0, which was
1849 generated by GNU Autoconf 2.68. Invocation command line was
1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1868 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1870 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1871 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1873 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1874 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1875 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1876 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884 test -z "$as_dir" && as_dir=.
1885 $as_echo "PATH: $as_dir"
1901 # Keep a trace of the command line.
1902 # Strip out --no-create and --no-recursion so they do not pile up.
1903 # Strip out --silent because we don't want to record it for future runs.
1904 # Also quote any args containing shell meta-characters.
1905 # Make two passes to allow for proper duplicate-argument suppression.
1909 ac_must_keep_next=false
1915 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1917 | -silent | --silent | --silen | --sile | --sil)
1920 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1923 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1925 as_fn_append ac_configure_args1 " '$ac_arg'"
1926 if test $ac_must_keep_next = true; then
1927 ac_must_keep_next=false # Got value, back to normal.
1930 *=* | --config-cache | -C | -disable-* | --disable-* \
1931 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1932 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1933 | -with-* | --with-* | -without-* | --without-* | --x)
1934 case "$ac_configure_args0 " in
1935 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1938 -* ) ac_must_keep_next=true ;;
1941 as_fn_append ac_configure_args " '$ac_arg'"
1946 { ac_configure_args0=; unset ac_configure_args0;}
1947 { ac_configure_args1=; unset ac_configure_args1;}
1949 # When interrupted or exit'd, cleanup temporary files, and complete
1950 # config.log. We remove comments because anyway the quotes in there
1951 # would cause problems or look ugly.
1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1954 trap 'exit_status=$?
1955 # Save into config.log some information that might help in debugging.
1959 $as_echo "## ---------------- ##
1960 ## Cache variables. ##
1961 ## ---------------- ##"
1963 # The following way of writing the cache mishandles newlines in values,
1965 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1966 eval ac_val=\$$ac_var
1970 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1974 _ | IFS | as_nl) ;; #(
1975 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1976 *) { eval $ac_var=; unset $ac_var;} ;;
1981 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1982 *${as_nl}ac_space=\ *)
1984 "s/'\''/'\''\\\\'\'''\''/g;
1985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1995 $as_echo "## ----------------- ##
1996 ## Output variables. ##
1997 ## ----------------- ##"
1999 for ac_var in $ac_subst_vars
2001 eval ac_val=\$$ac_var
2003 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005 $as_echo "$ac_var='\''$ac_val'\''"
2009 if test -n "$ac_subst_files"; then
2010 $as_echo "## ------------------- ##
2011 ## File substitutions. ##
2012 ## ------------------- ##"
2014 for ac_var in $ac_subst_files
2016 eval ac_val=\$$ac_var
2018 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2020 $as_echo "$ac_var='\''$ac_val'\''"
2025 if test -s confdefs.h; then
2026 $as_echo "## ----------- ##
2033 test "$ac_signal" != 0 &&
2034 $as_echo "$as_me: caught signal $ac_signal"
2035 $as_echo "$as_me: exit $exit_status"
2037 rm -f core *.core core.conftest.* &&
2038 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2041 for ac_signal in 1 2 13 15; do
2042 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2047 rm -f -r conftest* confdefs.h
2049 $as_echo "/* confdefs.h */" > confdefs.h
2051 # Predefined preprocessor variables.
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_NAME "$PACKAGE_NAME"
2057 cat >>confdefs.h <<_ACEOF
2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2061 cat >>confdefs.h <<_ACEOF
2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_STRING "$PACKAGE_STRING"
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_URL "$PACKAGE_URL"
2078 # Let the site file select an alternate cache file if it wants to.
2079 # Prefer an explicitly selected file to automatically selected ones.
2082 if test -n "$CONFIG_SITE"; then
2083 # We do not want a PATH search for config.site.
2084 case $CONFIG_SITE in #((
2085 -*) ac_site_file1=./$CONFIG_SITE;;
2086 */*) ac_site_file1=$CONFIG_SITE;;
2087 *) ac_site_file1=./$CONFIG_SITE;;
2089 elif test "x$prefix" != xNONE; then
2090 ac_site_file1=$prefix/share/config.site
2091 ac_site_file2=$prefix/etc/config.site
2093 ac_site_file1=$ac_default_prefix/share/config.site
2094 ac_site_file2=$ac_default_prefix/etc/config.site
2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2098 test "x$ac_site_file" = xNONE && continue
2099 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2102 sed 's/^/| /' "$ac_site_file" >&5
2104 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2106 as_fn_error $? "failed to load site script $ac_site_file
2107 See \`config.log' for more details" "$LINENO" 5; }
2111 if test -r "$cache_file"; then
2112 # Some versions of bash will fail to source /dev/null (special files
2113 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2114 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
2118 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2119 *) . "./$cache_file";;
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
2128 # Check that the precious variables saved in the cache have kept the same
2130 ac_cache_corrupted=false
2131 for ac_var in $ac_precious_vars; do
2132 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2133 eval ac_new_set=\$ac_env_${ac_var}_set
2134 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2135 eval ac_new_val=\$ac_env_${ac_var}_value
2136 case $ac_old_set,$ac_new_set in
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2140 ac_cache_corrupted=: ;;
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2144 ac_cache_corrupted=: ;;
2147 if test "x$ac_old_val" != "x$ac_new_val"; then
2148 # differences in whitespace do not lead to failure.
2149 ac_old_val_w=`echo x $ac_old_val`
2150 ac_new_val_w=`echo x $ac_new_val`
2151 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2154 ac_cache_corrupted=:
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2158 eval $ac_var=\$ac_old_val
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2161 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2163 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2166 # Pass precious variables to config.status.
2167 if test "$ac_new_set" = set; then
2169 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2170 *) ac_arg=$ac_var=$ac_new_val ;;
2172 case " $ac_configure_args " in
2173 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2174 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2178 if $ac_cache_corrupted; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2183 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2185 ## -------------------- ##
2186 ## Main body of script. ##
2187 ## -------------------- ##
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2197 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2198 if test -f "$ac_dir/install-sh"; then
2200 ac_install_sh="$ac_aux_dir/install-sh -c"
2202 elif test -f "$ac_dir/install.sh"; then
2204 ac_install_sh="$ac_aux_dir/install.sh -c"
2206 elif test -f "$ac_dir/shtool"; then
2208 ac_install_sh="$ac_aux_dir/shtool install -c"
2212 if test -z "$ac_aux_dir"; then
2213 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2216 # These three variables are undocumented and unsupported,
2217 # and are intended to be withdrawn in a future Autoconf release.
2218 # They can cause serious problems if a builder's source tree is in a directory
2219 # whose full name contains unusual characters.
2220 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2221 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2222 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2225 # Make sure we can run config.sub.
2226 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2227 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2230 $as_echo_n "checking build system type... " >&6; }
2231 if ${ac_cv_build+:} false; then :
2232 $as_echo_n "(cached) " >&6
2234 ac_build_alias=$build_alias
2235 test "x$ac_build_alias" = x &&
2236 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2237 test "x$ac_build_alias" = x &&
2238 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2239 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2240 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2244 $as_echo "$ac_cv_build" >&6; }
2245 case $ac_cv_build in
2247 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2250 ac_save_IFS=$IFS; IFS='-'
2256 # Remember, the first character of IFS is used to create $*,
2257 # except with old shells:
2260 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2264 $as_echo_n "checking host system type... " >&6; }
2265 if ${ac_cv_host+:} false; then :
2266 $as_echo_n "(cached) " >&6
2268 if test "x$host_alias" = x; then
2269 ac_cv_host=$ac_cv_build
2271 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2272 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2277 $as_echo "$ac_cv_host" >&6; }
2280 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2283 ac_save_IFS=$IFS; IFS='-'
2289 # Remember, the first character of IFS is used to create $*,
2290 # except with old shells:
2293 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2297 $as_echo_n "checking target system type... " >&6; }
2298 if ${ac_cv_target+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 if test "x$target_alias" = x; then
2302 ac_cv_target=$ac_cv_host
2304 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2310 $as_echo "$ac_cv_target" >&6; }
2311 case $ac_cv_target in
2313 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2315 target=$ac_cv_target
2316 ac_save_IFS=$IFS; IFS='-'
2322 # Remember, the first character of IFS is used to create $*,
2323 # except with old shells:
2326 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2329 # The aliases save the names the user supplied, while $host etc.
2330 # will get canonicalized.
2331 test -n "$target_alias" &&
2332 test "$program_prefix$program_suffix$program_transform_name" = \
2334 program_prefix=${target_alias}-
2335 am__api_version='1.11'
2337 # Find a good install program. We prefer a C program (faster),
2338 # so one script is as good as another. But avoid the broken or
2339 # incompatible versions:
2340 # SysV /etc/install, /usr/sbin/install
2341 # SunOS /usr/etc/install
2342 # IRIX /sbin/install
2344 # AmigaOS /C/install, which installs bootblocks on floppy discs
2345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2348 # OS/2's system install, which has a completely different semantic
2349 # ./install, which can be erroneously created by make from ./install.sh.
2350 # Reject install programs that cannot install multiple files.
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2353 if test -z "$INSTALL"; then
2354 if ${ac_cv_path_install+:} false; then :
2355 $as_echo_n "(cached) " >&6
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir=.
2362 # Account for people who put trailing slashes in PATH elements.
2363 case $as_dir/ in #((
2364 ./ | .// | /[cC]/* | \
2365 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2366 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2369 # OSF1 and SCO ODT 3.0 have their own names for install.
2370 # Don't use installbsd from OSF since it installs stuff as root
2372 for ac_prog in ginstall scoinst install; do
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2375 if test $ac_prog = install &&
2376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2377 # AIX install. It has an incompatible calling convention.
2379 elif test $ac_prog = install &&
2380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2381 # program-specific install script used by HP pwplus--don't use.
2384 rm -rf conftest.one conftest.two conftest.dir
2385 echo one > conftest.one
2386 echo two > conftest.two
2388 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2389 test -s conftest.one && test -s conftest.two &&
2390 test -s conftest.dir/conftest.one &&
2391 test -s conftest.dir/conftest.two
2393 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2406 rm -rf conftest.one conftest.two conftest.dir
2409 if test "${ac_cv_path_install+set}" = set; then
2410 INSTALL=$ac_cv_path_install
2412 # As a last resort, use the slow shell script. Don't cache a
2413 # value for INSTALL within a source directory, because that will
2414 # break other packages using the cache if that directory is
2415 # removed, or if the value is a relative name.
2416 INSTALL=$ac_install_sh
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2420 $as_echo "$INSTALL" >&6; }
2422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2423 # It thinks the first close brace ends the variable substitution.
2424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2431 $as_echo_n "checking whether build environment is sane... " >&6; }
2434 echo timestamp > conftest.file
2435 # Reject unsafe characters in $srcdir or the absolute working directory
2436 # name. Accept space and tab only in the latter.
2440 *[\\\"\#\$\&\'\`$am_lf]*)
2441 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2444 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2445 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2448 # Do `set' in a subshell so we don't clobber the current shell's
2449 # arguments. Must try -L first in case configure is actually a
2450 # symlink; some systems play weird games with the mod time of symlinks
2451 # (eg FreeBSD returns the mod time of the symlink's containing
2454 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2455 if test "$*" = "X"; then
2457 set X `ls -t "$srcdir/configure" conftest.file`
2460 if test "$*" != "X $srcdir/configure conftest.file" \
2461 && test "$*" != "X conftest.file $srcdir/configure"; then
2463 # If neither matched, then we have a broken ls. This can happen
2464 # if, for instance, CONFIG_SHELL is bash and it inherits a
2465 # broken ls alias from the environment. This has actually
2466 # happened. Such a system could not be considered "sane".
2467 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2468 alias in your environment" "$LINENO" 5
2471 test "$2" = conftest.file
2477 as_fn_error $? "newly created file is older than distributed files!
2478 Check your system clock" "$LINENO" 5
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2481 $as_echo "yes" >&6; }
2482 test "$program_prefix" != NONE &&
2483 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2484 # Use a double $ so make ignores it.
2485 test "$program_suffix" != NONE &&
2486 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2487 # Double any \ or $.
2488 # By default was `s,x,x', remove it if useless.
2489 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2490 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2492 # expand $ac_aux_dir to an absolute path
2493 am_aux_dir=`cd $ac_aux_dir && pwd`
2495 if test x"${MISSING+set}" != xset; then
2498 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2500 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2503 # Use eval to expand $SHELL
2504 if eval "$MISSING --run true"; then
2505 am_missing_run="$MISSING --run "
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2509 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2512 if test x"${install_sh}" != xset; then
2515 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2517 install_sh="\${SHELL} $am_aux_dir/install-sh"
2521 # Installed binaries are usually stripped using `strip' when the user
2522 # run `make install-strip'. However `strip' might not be the right
2523 # tool to use in cross-compilation environments, therefore Automake
2524 # will honor the `STRIP' environment variable to overrule this program.
2525 if test "$cross_compiling" != no; then
2526 if test -n "$ac_tool_prefix"; then
2527 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2528 set dummy ${ac_tool_prefix}strip; ac_word=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if ${ac_cv_prog_STRIP+:} false; then :
2532 $as_echo_n "(cached) " >&6
2534 if test -n "$STRIP"; then
2535 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir=.
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 STRIP=$ac_cv_prog_STRIP
2555 if test -n "$STRIP"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2557 $as_echo "$STRIP" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2565 if test -z "$ac_cv_prog_STRIP"; then
2567 # Extract the first word of "strip", so it can be a program name with args.
2568 set dummy strip; ac_word=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$ac_ct_STRIP"; then
2575 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 for ac_exec_ext in '' $ac_executable_extensions; do
2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584 ac_cv_prog_ac_ct_STRIP="strip"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2595 if test -n "$ac_ct_STRIP"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2597 $as_echo "$ac_ct_STRIP" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2603 if test "x$ac_ct_STRIP" = x; then
2606 case $cross_compiling:$ac_tool_warned in
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2610 ac_tool_warned=yes ;;
2615 STRIP="$ac_cv_prog_STRIP"
2619 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2622 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2623 if test -z "$MKDIR_P"; then
2624 if ${ac_cv_path_mkdir+:} false; then :
2625 $as_echo_n "(cached) " >&6
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2631 test -z "$as_dir" && as_dir=.
2632 for ac_prog in mkdir gmkdir; do
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2635 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2636 'mkdir (GNU coreutils) '* | \
2637 'mkdir (coreutils) '* | \
2638 'mkdir (fileutils) '4.1*)
2639 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2649 test -d ./--version && rmdir ./--version
2650 if test "${ac_cv_path_mkdir+set}" = set; then
2651 MKDIR_P="$ac_cv_path_mkdir -p"
2653 # As a last resort, use the slow shell script. Don't cache a
2654 # value for MKDIR_P within a source directory, because that will
2655 # break other packages using the cache if that directory is
2656 # removed, or if the value is a relative name.
2657 MKDIR_P="$ac_install_sh -d"
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2661 $as_echo "$MKDIR_P" >&6; }
2665 [\\/$]* | ?:[\\/]*) ;;
2666 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2669 for ac_prog in gawk mawk nawk awk
2671 # Extract the first word of "$ac_prog", so it can be a program name with args.
2672 set dummy $ac_prog; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_AWK+:} false; then :
2676 $as_echo_n "(cached) " >&6
2678 if test -n "$AWK"; then
2679 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688 ac_cv_prog_AWK="$ac_prog"
2689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test -n "$AWK"; then
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2701 $as_echo "$AWK" >&6; }
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2708 test -n "$AWK" && break
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2712 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2714 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2715 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2716 $as_echo_n "(cached) " >&6
2718 cat >conftest.make <<\_ACEOF
2721 @echo '@@@%%%=$(MAKE)=@@@%%%'
2723 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2726 eval ac_cv_prog_make_${ac_make}_set=yes;;
2728 eval ac_cv_prog_make_${ac_make}_set=no;;
2732 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2734 $as_echo "yes" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2739 SET_MAKE="MAKE=${MAKE-make}"
2742 rm -rf .tst 2>/dev/null
2743 mkdir .tst 2>/dev/null
2744 if test -d .tst; then
2749 rmdir .tst 2>/dev/null
2751 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2752 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2753 # is not polluted with repeated "-I."
2754 am__isrc=' -I$(srcdir)'
2755 # test to see if srcdir already configured
2756 if test -f $srcdir/config.status; then
2757 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2761 # test whether we have cygpath
2762 if test -z "$CYGPATH_W"; then
2763 if (cygpath --version) >/dev/null 2>/dev/null; then
2764 CYGPATH_W='cygpath -w'
2771 # Define the identity of the package.
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE "$PACKAGE"
2781 cat >>confdefs.h <<_ACEOF
2782 #define VERSION "$VERSION"
2785 # Some tools Automake needs.
2787 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2790 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2793 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2796 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2799 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2801 # We need awk for the "check" target. The system "awk" is bad on
2803 # Always define AMTAR for backward compatibility.
2805 AMTAR=${AMTAR-"${am_missing_run}tar"}
2807 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2814 ac_config_headers="$ac_config_headers include/config.h"
2817 # Checks for programs.
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2821 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2827 macro_revision='1.3293'
2841 ltmain="$ac_aux_dir/ltmain.sh"
2843 # Backslashify metacharacters that are still active within
2844 # double-quoted strings.
2845 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2847 # Same as above, but do not quote variable references.
2848 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2850 # Sed substitution to delay expansion of an escaped shell variable in a
2851 # double_quote_subst'ed string.
2852 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2854 # Sed substitution to delay expansion of an escaped single quote.
2855 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2857 # Sed substitution to avoid accidental globbing in evaled expressions
2858 no_glob_subst='s/\*/\\\*/g'
2860 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2861 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2862 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2865 $as_echo_n "checking how to print strings... " >&6; }
2866 # Test print first, because it will be a builtin if present.
2867 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2868 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2870 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2873 # Use this function as a fallback that always works.
2874 func_fallback_echo ()
2876 eval 'cat <<_LTECHO_EOF
2880 ECHO='func_fallback_echo'
2883 # func_echo_all arg...
2884 # Invoke $ECHO with all args, space-separated.
2891 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2892 $as_echo "printf" >&6; } ;;
2893 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2894 $as_echo "print -r" >&6; } ;;
2895 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2896 $as_echo "cat" >&6; } ;;
2912 DEPDIR="${am__leading_dot}deps"
2914 ac_config_commands="$ac_config_commands depfiles"
2917 am_make=${MAKE-make}
2918 cat > confinc << 'END'
2920 @echo this is the am__doit target
2923 # If we don't find an include directive, just comment out the code.
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2925 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2929 # First try GNU make style include.
2930 echo "include confinc" > confmf
2931 # Ignore all kinds of additional output from `make'.
2932 case `$am_make -s -f confmf 2> /dev/null` in #(
2933 *the\ am__doit\ target*)
2939 # Now try BSD make style include.
2940 if test "$am__include" = "#"; then
2941 echo '.include "confinc"' > confmf
2942 case `$am_make -s -f confmf 2> /dev/null` in #(
2943 *the\ am__doit\ target*)
2944 am__include=.include
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2953 $as_echo "$_am_result" >&6; }
2954 rm -f confinc confmf
2956 # Check whether --enable-dependency-tracking was given.
2957 if test "${enable_dependency_tracking+set}" = set; then :
2958 enableval=$enable_dependency_tracking;
2961 if test "x$enable_dependency_tracking" != xno; then
2962 am_depcomp="$ac_aux_dir/depcomp"
2965 if test "x$enable_dependency_tracking" != xno; then
2975 ac_cpp='$CPP $CPPFLAGS'
2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 if test -n "$ac_tool_prefix"; then
2980 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2981 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if ${ac_cv_prog_CC+:} false; then :
2985 $as_echo_n "(cached) " >&6
2987 if test -n "$CC"; then
2988 ac_cv_prog_CC="$CC" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 if test -n "$CC"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3010 $as_echo "$CC" >&6; }
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013 $as_echo "no" >&6; }
3018 if test -z "$ac_cv_prog_CC"; then
3020 # Extract the first word of "gcc", so it can be a program name with args.
3021 set dummy gcc; ac_word=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3025 $as_echo_n "(cached) " >&6
3027 if test -n "$ac_ct_CC"; then
3028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037 ac_cv_prog_ac_ct_CC="gcc"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3048 if test -n "$ac_ct_CC"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3050 $as_echo "$ac_ct_CC" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3056 if test "x$ac_ct_CC" = x; then
3059 case $cross_compiling:$ac_tool_warned in
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3063 ac_tool_warned=yes ;;
3071 if test -z "$CC"; then
3072 if test -n "$ac_tool_prefix"; then
3073 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3074 set dummy ${ac_tool_prefix}cc; ac_word=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if ${ac_cv_prog_CC+:} false; then :
3078 $as_echo_n "(cached) " >&6
3080 if test -n "$CC"; then
3081 ac_cv_prog_CC="$CC" # Let the user override the test.
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090 ac_cv_prog_CC="${ac_tool_prefix}cc"
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 if test -n "$CC"; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3103 $as_echo "$CC" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3112 if test -z "$CC"; then
3113 # Extract the first word of "cc", so it can be a program name with args.
3114 set dummy cc; ac_word=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false; then :
3118 $as_echo_n "(cached) " >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC="$CC" # Let the user override the test.
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir=.
3129 for ac_exec_ext in '' $ac_executable_extensions; do
3130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3132 ac_prog_rejected=yes
3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 if test $ac_prog_rejected = yes; then
3144 # We found a bogon in the path, so make sure we never use it.
3145 set dummy $ac_cv_prog_CC
3147 if test $# != 0; then
3148 # We chose a different compiler from the bogus one.
3149 # However, it has the same basename, so the bogon will be chosen
3150 # first if we set CC to just the basename; use the full file name.
3152 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3158 if test -n "$CC"; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3160 $as_echo "$CC" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3168 if test -z "$CC"; then
3169 if test -n "$ac_tool_prefix"; then
3170 for ac_prog in cl.exe
3172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_CC+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$CC"; then
3180 ac_cv_prog_CC="$CC" # Let the user override the test.
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir=.
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 if test -n "$CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202 $as_echo "$CC" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3209 test -n "$CC" && break
3212 if test -z "$CC"; then
3214 for ac_prog in cl.exe
3216 # Extract the first word of "$ac_prog", so it can be a program name with args.
3217 set dummy $ac_prog; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$ac_ct_CC"; then
3224 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_ac_ct_CC="$ac_prog"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3244 if test -n "$ac_ct_CC"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3246 $as_echo "$ac_ct_CC" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3253 test -n "$ac_ct_CC" && break
3256 if test "x$ac_ct_CC" = x; then
3259 case $cross_compiling:$ac_tool_warned in
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3263 ac_tool_warned=yes ;;
3272 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "no acceptable C compiler found in \$PATH
3275 See \`config.log' for more details" "$LINENO" 5; }
3277 # Provide some information about the compiler.
3278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3281 for ac_option in --version -v -V -qversion; do
3282 { { ac_try="$ac_compiler $ac_option >&5"
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3288 $as_echo "$ac_try_echo"; } >&5
3289 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3291 if test -s conftest.err; then
3293 ... rest of stderr output deleted ...
3294 10q' conftest.err >conftest.er1
3295 cat conftest.er1 >&5
3297 rm -f conftest.er1 conftest.err
3298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299 test $ac_status = 0; }
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3313 ac_clean_files_save=$ac_clean_files
3314 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3315 # Try to create an executable without -o first, disregard a.out.
3316 # It will help us diagnose broken compilers, and finding out an intuition
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3319 $as_echo_n "checking whether the C compiler works... " >&6; }
3320 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3322 # The possible output files:
3323 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3326 for ac_file in $ac_files
3329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3330 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3335 if { { ac_try="$ac_link_default"
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_link_default") 2>&5
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }; then :
3346 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3347 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3348 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3349 # so that the user can short-circuit this test for compilers unknown to
3351 for ac_file in $ac_files ''
3353 test -f "$ac_file" || continue
3355 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3358 # We found the default executable, but exeext='' is most
3362 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3364 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3366 # We set ac_cv_exeext here because the later test for it is not
3367 # safe: cross compilers may not add the suffix if given an `-o'
3368 # argument, so we may need to know it at that point already.
3369 # Even if this section looks crufty: it has the advantage of
3376 test "$ac_cv_exeext" = no && ac_cv_exeext=
3381 if test -z "$ac_file"; then :
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3383 $as_echo "no" >&6; }
3384 $as_echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.$ac_ext >&5
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error 77 "C compiler cannot create executables
3390 See \`config.log' for more details" "$LINENO" 5; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3393 $as_echo "yes" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3396 $as_echo_n "checking for C compiler default output file name... " >&6; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3398 $as_echo "$ac_file" >&6; }
3399 ac_exeext=$ac_cv_exeext
3401 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3402 ac_clean_files=$ac_clean_files_save
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3404 $as_echo_n "checking for suffix of executables... " >&6; }
3405 if { { ac_try="$ac_link"
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_link") 2>&5
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; then :
3416 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3417 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3418 # work properly (i.e., refer to `conftest.exe'), while it won't with
3420 for ac_file in conftest.exe conftest conftest.*; do
3421 test -f "$ac_file" || continue
3423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3424 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3433 See \`config.log' for more details" "$LINENO" 5; }
3435 rm -f conftest conftest$ac_cv_exeext
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3437 $as_echo "$ac_cv_exeext" >&6; }
3439 rm -f conftest.$ac_ext
3440 EXEEXT=$ac_cv_exeext
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3448 FILE *f = fopen ("conftest.out", "w");
3449 return ferror (f) || fclose (f) != 0;
3455 ac_clean_files="$ac_clean_files conftest.out"
3456 # Check that the compiler produces executables we can run. If not, either
3457 # the compiler is broken, or we cross compile.
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3459 $as_echo_n "checking whether we are cross compiling... " >&6; }
3460 if test "$cross_compiling" != yes; then
3461 { { ac_try="$ac_link"
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468 (eval "$ac_link") 2>&5
3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471 test $ac_status = 0; }
3472 if { ac_try='./conftest$ac_cv_exeext'
3473 { { case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_try") 2>&5
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }; }; then
3485 if test "$cross_compiling" = maybe; then
3488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 as_fn_error $? "cannot run C compiled programs.
3491 If you meant to cross compile, use \`--host'.
3492 See \`config.log' for more details" "$LINENO" 5; }
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3497 $as_echo "$cross_compiling" >&6; }
3499 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3500 ac_clean_files=$ac_clean_files_save
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3502 $as_echo_n "checking for suffix of object files... " >&6; }
3503 if ${ac_cv_objext+:} false; then :
3504 $as_echo_n "(cached) " >&6
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3517 rm -f conftest.o conftest.obj
3518 if { { ac_try="$ac_compile"
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 $as_echo "$ac_try_echo"; } >&5
3525 (eval "$ac_compile") 2>&5
3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528 test $ac_status = 0; }; then :
3529 for ac_file in conftest.o conftest.obj conftest.*; do
3530 test -f "$ac_file" || continue;
3532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3533 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3538 $as_echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error $? "cannot compute suffix of object files: cannot compile
3544 See \`config.log' for more details" "$LINENO" 5; }
3546 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3549 $as_echo "$ac_cv_objext" >&6; }
3550 OBJEXT=$ac_cv_objext
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3553 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3554 if ${ac_cv_c_compiler_gnu+:} false; then :
3555 $as_echo_n "(cached) " >&6
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3571 if ac_fn_c_try_compile "$LINENO"; then :
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3581 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3582 if test $ac_compiler_gnu = yes; then
3587 ac_test_CFLAGS=${CFLAGS+set}
3588 ac_save_CFLAGS=$CFLAGS
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3590 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3591 if ${ac_cv_prog_cc_g+:} false; then :
3592 $as_echo_n "(cached) " >&6
3594 ac_save_c_werror_flag=$ac_c_werror_flag
3595 ac_c_werror_flag=yes
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3609 if ac_fn_c_try_compile "$LINENO"; then :
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3624 if ac_fn_c_try_compile "$LINENO"; then :
3627 ac_c_werror_flag=$ac_save_c_werror_flag
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3640 if ac_fn_c_try_compile "$LINENO"; then :
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648 ac_c_werror_flag=$ac_save_c_werror_flag
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3651 $as_echo "$ac_cv_prog_cc_g" >&6; }
3652 if test "$ac_test_CFLAGS" = set; then
3653 CFLAGS=$ac_save_CFLAGS
3654 elif test $ac_cv_prog_cc_g = yes; then
3655 if test "$GCC" = yes; then
3661 if test "$GCC" = yes; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3668 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3669 if ${ac_cv_prog_cc_c89+:} false; then :
3670 $as_echo_n "(cached) " >&6
3672 ac_cv_prog_cc_c89=no
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3678 #include <sys/types.h>
3679 #include <sys/stat.h>
3680 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3681 struct buf { int x; };
3682 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3683 static char *e (p, i)
3689 static char *f (char * (*g) (char **, int), char **p, ...)
3694 s = g (p, va_arg (v,int));
3699 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3700 function prototypes and stuff, but not '\xHH' hex character constants.
3701 These don't provoke an error unfortunately, instead are silently treated
3702 as 'x'. The following induces an error, until -std is added to get
3703 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3704 array size at least. It's necessary to write '\x00'==0 to get something
3705 that's true only with -std. */
3706 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3708 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3709 inside strings and character constants. */
3711 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3713 int test (int i, double x);
3714 struct s1 {int (*f) (int a);};
3715 struct s2 {int (*f) (double a);};
3716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3722 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3727 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3728 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3730 CC="$ac_save_CC $ac_arg"
3731 if ac_fn_c_try_compile "$LINENO"; then :
3732 ac_cv_prog_cc_c89=$ac_arg
3734 rm -f core conftest.err conftest.$ac_objext
3735 test "x$ac_cv_prog_cc_c89" != "xno" && break
3737 rm -f conftest.$ac_ext
3742 case "x$ac_cv_prog_cc_c89" in
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3745 $as_echo "none needed" >&6; } ;;
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3748 $as_echo "unsupported" >&6; } ;;
3750 CC="$CC $ac_cv_prog_cc_c89"
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3752 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3754 if test "x$ac_cv_prog_cc_c89" != xno; then :
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3764 depcc="$CC" am_compiler_list=
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3767 $as_echo_n "checking dependency style of $depcc... " >&6; }
3768 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3769 $as_echo_n "(cached) " >&6
3771 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3772 # We make a subdir and do the tests there. Otherwise we can end up
3773 # making bogus files that we don't know about and never remove. For
3774 # instance it was reported that on HP-UX the gcc test will end up
3775 # making a dummy file named `D' -- because `-MD' means `put the output
3778 # Copy depcomp to subdir because otherwise we won't find it if we're
3779 # using a relative directory.
3780 cp "$am_depcomp" conftest.dir
3782 # We will build objects and dependencies in a subdirectory because
3783 # it helps to detect inapplicable dependency modes. For instance
3784 # both Tru64's cc and ICC support -MD to output dependencies as a
3785 # side effect of compilation, but ICC will put the dependencies in
3786 # the current directory while Tru64 will put them in the object
3790 am_cv_CC_dependencies_compiler_type=none
3791 if test "$am_compiler_list" = ""; then
3792 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3795 case " $depcc " in #(
3796 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3799 for depmode in $am_compiler_list; do
3800 # Setup a source with many dependencies, because some compilers
3801 # like to wrap large dependency lists on column 80 (with \), and
3802 # we should not choose a depcomp mode which is confused by this.
3804 # We need to recreate these files for each test, as the compiler may
3805 # overwrite some of them when testing with obscure command lines.
3806 # This happens at least with the AIX C compiler.
3808 for i in 1 2 3 4 5 6; do
3809 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3810 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3811 # Solaris 8's {/usr,}/bin/sh.
3812 touch sub/conftst$i.h
3814 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3816 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3817 # mode. It turns out that the SunPro C++ compiler does not properly
3818 # handle `-M -o', and we need to detect this. Also, some Intel
3819 # versions had trouble with output in subdirs
3820 am__obj=sub/conftest.${OBJEXT-o}
3821 am__minus_obj="-o $am__obj"
3824 # This depmode causes a compiler race in universal mode.
3825 test "$am__universal" = false || continue
3828 # after this tag, mechanisms are not by side-effect, so they'll
3829 # only be used when explicitly requested
3830 if test "x$enable_dependency_tracking" = xyes; then
3836 msvisualcpp | msvcmsys)
3837 # This compiler won't grok `-c -o', but also, the minuso test has
3838 # not run yet. These depmodes are late enough in the game, and
3839 # so weak that their functioning should not be impacted.
3840 am__obj=conftest.${OBJEXT-o}
3845 if depmode=$depmode \
3846 source=sub/conftest.c object=$am__obj \
3847 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3848 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3849 >/dev/null 2>conftest.err &&
3850 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3851 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3852 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3853 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3854 # icc doesn't choke on unknown options, it will just issue warnings
3855 # or remarks (even with -Werror). So we grep stderr for any message
3856 # that says an option was ignored or not supported.
3857 # When given -MP, icc 7.0 and 7.1 complain thusly:
3858 # icc: Command line warning: ignoring option '-M'; no argument required
3859 # The diagnosis changed in icc 8.0:
3860 # icc: Command line remark: option '-MP' not supported
3861 if (grep 'ignoring option' conftest.err ||
3862 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3863 am_cv_CC_dependencies_compiler_type=$depmode
3872 am_cv_CC_dependencies_compiler_type=none
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3877 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3878 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3881 test "x$enable_dependency_tracking" != xno \
3882 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3884 am__fastdepCC_FALSE='#'
3886 am__fastdepCC_TRUE='#'
3887 am__fastdepCC_FALSE=
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3892 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3893 if ${ac_cv_path_SED+:} false; then :
3894 $as_echo_n "(cached) " >&6
3896 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3897 for ac_i in 1 2 3 4 5 6 7; do
3898 ac_script="$ac_script$as_nl$ac_script"
3900 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3901 { ac_script=; unset ac_script;}
3902 if test -z "$SED"; then
3903 ac_path_SED_found=false
3904 # Loop through the user's path and test for each of PROGNAME-LIST
3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir=.
3910 for ac_prog in sed gsed; do
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3913 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3914 # Check for GNU ac_path_SED and select it if it is found.
3915 # Check for GNU $ac_path_SED
3916 case `"$ac_path_SED" --version 2>&1` in
3918 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3921 $as_echo_n 0123456789 >"conftest.in"
3924 cat "conftest.in" "conftest.in" >"conftest.tmp"
3925 mv "conftest.tmp" "conftest.in"
3926 cp "conftest.in" "conftest.nl"
3927 $as_echo '' >> "conftest.nl"
3928 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3930 as_fn_arith $ac_count + 1 && ac_count=$as_val
3931 if test $ac_count -gt ${ac_path_SED_max-0}; then
3932 # Best one so far, save it but keep looking for a better one
3933 ac_cv_path_SED="$ac_path_SED"
3934 ac_path_SED_max=$ac_count
3936 # 10*(2^10) chars as input seems more than enough
3937 test $ac_count -gt 10 && break
3939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3942 $ac_path_SED_found && break 3
3947 if test -z "$ac_cv_path_SED"; then
3948 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3956 $as_echo "$ac_cv_path_SED" >&6; }
3957 SED="$ac_cv_path_SED"
3960 test -z "$SED" && SED=sed
3961 Xsed="$SED -e 1s/^X//"
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3974 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3975 if ${ac_cv_path_GREP+:} false; then :
3976 $as_echo_n "(cached) " >&6
3978 if test -z "$GREP"; then
3979 ac_path_GREP_found=false
3980 # Loop through the user's path and test for each of PROGNAME-LIST
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3985 test -z "$as_dir" && as_dir=.
3986 for ac_prog in grep ggrep; do
3987 for ac_exec_ext in '' $ac_executable_extensions; do
3988 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3989 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3990 # Check for GNU ac_path_GREP and select it if it is found.
3991 # Check for GNU $ac_path_GREP
3992 case `"$ac_path_GREP" --version 2>&1` in
3994 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3997 $as_echo_n 0123456789 >"conftest.in"
4000 cat "conftest.in" "conftest.in" >"conftest.tmp"
4001 mv "conftest.tmp" "conftest.in"
4002 cp "conftest.in" "conftest.nl"
4003 $as_echo 'GREP' >> "conftest.nl"
4004 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4006 as_fn_arith $ac_count + 1 && ac_count=$as_val
4007 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4008 # Best one so far, save it but keep looking for a better one
4009 ac_cv_path_GREP="$ac_path_GREP"
4010 ac_path_GREP_max=$ac_count
4012 # 10*(2^10) chars as input seems more than enough
4013 test $ac_count -gt 10 && break
4015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4018 $ac_path_GREP_found && break 3
4023 if test -z "$ac_cv_path_GREP"; then
4024 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4027 ac_cv_path_GREP=$GREP
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4032 $as_echo "$ac_cv_path_GREP" >&6; }
4033 GREP="$ac_cv_path_GREP"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4037 $as_echo_n "checking for egrep... " >&6; }
4038 if ${ac_cv_path_EGREP+:} false; then :
4039 $as_echo_n "(cached) " >&6
4041 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4042 then ac_cv_path_EGREP="$GREP -E"
4044 if test -z "$EGREP"; then
4045 ac_path_EGREP_found=false
4046 # Loop through the user's path and test for each of PROGNAME-LIST
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4051 test -z "$as_dir" && as_dir=.
4052 for ac_prog in egrep; do
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4055 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4056 # Check for GNU ac_path_EGREP and select it if it is found.
4057 # Check for GNU $ac_path_EGREP
4058 case `"$ac_path_EGREP" --version 2>&1` in
4060 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4063 $as_echo_n 0123456789 >"conftest.in"
4066 cat "conftest.in" "conftest.in" >"conftest.tmp"
4067 mv "conftest.tmp" "conftest.in"
4068 cp "conftest.in" "conftest.nl"
4069 $as_echo 'EGREP' >> "conftest.nl"
4070 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4071 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4072 as_fn_arith $ac_count + 1 && ac_count=$as_val
4073 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4074 # Best one so far, save it but keep looking for a better one
4075 ac_cv_path_EGREP="$ac_path_EGREP"
4076 ac_path_EGREP_max=$ac_count
4078 # 10*(2^10) chars as input seems more than enough
4079 test $ac_count -gt 10 && break
4081 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4084 $ac_path_EGREP_found && break 3
4089 if test -z "$ac_cv_path_EGREP"; then
4090 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4093 ac_cv_path_EGREP=$EGREP
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4099 $as_echo "$ac_cv_path_EGREP" >&6; }
4100 EGREP="$ac_cv_path_EGREP"
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4104 $as_echo_n "checking for fgrep... " >&6; }
4105 if ${ac_cv_path_FGREP+:} false; then :
4106 $as_echo_n "(cached) " >&6
4108 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4109 then ac_cv_path_FGREP="$GREP -F"
4111 if test -z "$FGREP"; then
4112 ac_path_FGREP_found=false
4113 # Loop through the user's path and test for each of PROGNAME-LIST
4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4118 test -z "$as_dir" && as_dir=.
4119 for ac_prog in fgrep; do
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4122 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4123 # Check for GNU ac_path_FGREP and select it if it is found.
4124 # Check for GNU $ac_path_FGREP
4125 case `"$ac_path_FGREP" --version 2>&1` in
4127 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4130 $as_echo_n 0123456789 >"conftest.in"
4133 cat "conftest.in" "conftest.in" >"conftest.tmp"
4134 mv "conftest.tmp" "conftest.in"
4135 cp "conftest.in" "conftest.nl"
4136 $as_echo 'FGREP' >> "conftest.nl"
4137 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4138 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4139 as_fn_arith $ac_count + 1 && ac_count=$as_val
4140 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4141 # Best one so far, save it but keep looking for a better one
4142 ac_cv_path_FGREP="$ac_path_FGREP"
4143 ac_path_FGREP_max=$ac_count
4145 # 10*(2^10) chars as input seems more than enough
4146 test $ac_count -gt 10 && break
4148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4151 $ac_path_FGREP_found && break 3
4156 if test -z "$ac_cv_path_FGREP"; then
4157 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4160 ac_cv_path_FGREP=$FGREP
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4166 $as_echo "$ac_cv_path_FGREP" >&6; }
4167 FGREP="$ac_cv_path_FGREP"
4170 test -z "$GREP" && GREP=grep
4190 # Check whether --with-gnu-ld was given.
4191 if test "${with_gnu_ld+set}" = set; then :
4192 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4198 if test "$GCC" = yes; then
4199 # Check if gcc -print-prog-name=ld gives a path.
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4201 $as_echo_n "checking for ld used by $CC... " >&6; }
4204 # gcc leaves a trailing carriage return which upsets mingw
4205 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4207 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4210 # Accept absolute paths.
4212 re_direlt='/[^/][^/]*/\.\./'
4213 # Canonicalize the pathname of ld
4214 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4215 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4216 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4218 test -z "$LD" && LD="$ac_prog"
4221 # If it fails, then pretend we aren't using GCC.
4225 # If it is relative, then search for the first ld in PATH.
4229 elif test "$with_gnu_ld" = yes; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4231 $as_echo_n "checking for GNU ld... " >&6; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4234 $as_echo_n "checking for non-GNU ld... " >&6; }
4236 if ${lt_cv_path_LD+:} false; then :
4237 $as_echo_n "(cached) " >&6
4239 if test -z "$LD"; then
4240 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4241 for ac_dir in $PATH; do
4243 test -z "$ac_dir" && ac_dir=.
4244 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4245 lt_cv_path_LD="$ac_dir/$ac_prog"
4246 # Check to see if the program is GNU ld. I'd rather use --version,
4247 # but apparently some variants of GNU ld only accept -v.
4248 # Break only if it was the GNU/non-GNU ld that we prefer.
4249 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4250 *GNU* | *'with BFD'*)
4251 test "$with_gnu_ld" != no && break
4254 test "$with_gnu_ld" != yes && break
4261 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4266 if test -n "$LD"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4268 $as_echo "$LD" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4273 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4275 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4276 if ${lt_cv_prog_gnu_ld+:} false; then :
4277 $as_echo_n "(cached) " >&6
4279 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4280 case `$LD -v 2>&1 </dev/null` in
4281 *GNU* | *'with BFD'*)
4282 lt_cv_prog_gnu_ld=yes
4285 lt_cv_prog_gnu_ld=no
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4290 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4291 with_gnu_ld=$lt_cv_prog_gnu_ld
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4302 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4303 if ${lt_cv_path_NM+:} false; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$NM"; then
4307 # Let the user override the test.
4310 lt_nm_to_check="${ac_tool_prefix}nm"
4311 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4312 lt_nm_to_check="$lt_nm_to_check nm"
4314 for lt_tmp_nm in $lt_nm_to_check; do
4315 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4316 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4318 test -z "$ac_dir" && ac_dir=.
4319 tmp_nm="$ac_dir/$lt_tmp_nm"
4320 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4321 # Check to see if the nm accepts a BSD-compat flag.
4322 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4323 # nm: unknown option "B" ignored
4324 # Tru64's nm complains that /dev/null is an invalid object file
4325 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4326 */dev/null* | *'Invalid file or object type'*)
4327 lt_cv_path_NM="$tmp_nm -B"
4331 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4333 lt_cv_path_NM="$tmp_nm -p"
4337 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4338 continue # so that we can try to find one that supports BSD flags
4347 : ${lt_cv_path_NM=no}
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4351 $as_echo "$lt_cv_path_NM" >&6; }
4352 if test "$lt_cv_path_NM" != "no"; then
4355 # Didn't find any BSD compatible name lister, look for dumpbin.
4356 if test -n "$DUMPBIN"; then :
4357 # Let the user override the test.
4359 if test -n "$ac_tool_prefix"; then
4360 for ac_prog in dumpbin "link -dump"
4362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4363 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_DUMPBIN+:} false; then :
4367 $as_echo_n "(cached) " >&6
4369 if test -n "$DUMPBIN"; then
4370 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir=.
4377 for ac_exec_ext in '' $ac_executable_extensions; do
4378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 DUMPBIN=$ac_cv_prog_DUMPBIN
4390 if test -n "$DUMPBIN"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4392 $as_echo "$DUMPBIN" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4399 test -n "$DUMPBIN" && break
4402 if test -z "$DUMPBIN"; then
4403 ac_ct_DUMPBIN=$DUMPBIN
4404 for ac_prog in dumpbin "link -dump"
4406 # Extract the first word of "$ac_prog", so it can be a program name with args.
4407 set dummy $ac_prog; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$ac_ct_DUMPBIN"; then
4414 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4423 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4434 if test -n "$ac_ct_DUMPBIN"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4436 $as_echo "$ac_ct_DUMPBIN" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$ac_ct_DUMPBIN" && break
4446 if test "x$ac_ct_DUMPBIN" = x; then
4449 case $cross_compiling:$ac_tool_warned in
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4453 ac_tool_warned=yes ;;
4455 DUMPBIN=$ac_ct_DUMPBIN
4459 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4461 DUMPBIN="$DUMPBIN -symbols"
4469 if test "$DUMPBIN" != ":"; then
4473 test -z "$NM" && NM=nm
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4481 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4482 if ${lt_cv_nm_interface+:} false; then :
4483 $as_echo_n "(cached) " >&6
4485 lt_cv_nm_interface="BSD nm"
4486 echo "int some_variable = 0;" > conftest.$ac_ext
4487 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4488 (eval "$ac_compile" 2>conftest.err)
4489 cat conftest.err >&5
4490 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4491 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4492 cat conftest.err >&5
4493 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4494 cat conftest.out >&5
4495 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4496 lt_cv_nm_interface="MS dumpbin"
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4501 $as_echo "$lt_cv_nm_interface" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4504 $as_echo_n "checking whether ln -s works... " >&6; }
4506 if test "$LN_S" = "ln -s"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4508 $as_echo "yes" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4511 $as_echo "no, using $LN_S" >&6; }
4514 # find the maximum length of command line arguments
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4516 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4517 if ${lt_cv_sys_max_cmd_len+:} false; then :
4518 $as_echo_n "(cached) " >&6
4525 # On DJGPP, this test can blow up pretty badly due to problems in libc
4526 # (any single argument exceeding 2000 bytes causes a buffer overrun
4527 # during glob expansion). Even if it were fixed, the result of this
4528 # check would be larger than it should be.
4529 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4533 # Under GNU Hurd, this test is not required because there is
4534 # no limit to the length of command line arguments.
4535 # Libtool will interpret -1 as no limit whatsoever
4536 lt_cv_sys_max_cmd_len=-1;
4539 cygwin* | mingw* | cegcc*)
4540 # On Win9x/ME, this test blows up -- it succeeds, but takes
4541 # about 5 minutes as the teststring grows exponentially.
4542 # Worse, since 9x/ME are not pre-emptively multitasking,
4543 # you end up with a "frozen" computer, even though with patience
4544 # the test eventually succeeds (with a max line length of 256k).
4545 # Instead, let's just punt: use the minimum linelength reported by
4546 # all of the supported platforms: 8192 (on NT/2K/XP).
4547 lt_cv_sys_max_cmd_len=8192;
4551 # On MiNT this can take a long time and run out of memory.
4552 lt_cv_sys_max_cmd_len=8192;
4556 # On AmigaOS with pdksh, this test takes hours, literally.
4557 # So we just punt and use a minimum line length of 8192.
4558 lt_cv_sys_max_cmd_len=8192;
4561 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4562 # This has been around since 386BSD, at least. Likely further.
4563 if test -x /sbin/sysctl; then
4564 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4565 elif test -x /usr/sbin/sysctl; then
4566 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4568 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4570 # And add a safety zone
4571 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4572 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4576 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4577 lt_cv_sys_max_cmd_len=196608
4581 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4582 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4583 # nice to cause kernel panics so lets avoid the loop below.
4584 # First set a reasonable default.
4585 lt_cv_sys_max_cmd_len=16384
4587 if test -x /sbin/sysconfig; then
4588 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4589 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4594 lt_cv_sys_max_cmd_len=102400
4596 sysv5* | sco5v6* | sysv4.2uw2*)
4597 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4598 if test -n "$kargmax"; then
4599 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4601 lt_cv_sys_max_cmd_len=32768
4605 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4606 if test -n "$lt_cv_sys_max_cmd_len"; then
4607 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4608 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4610 # Make teststring a little bigger before we do anything with it.
4611 # a 1K string should be a reasonable start.
4612 for i in 1 2 3 4 5 6 7 8 ; do
4613 teststring=$teststring$teststring
4615 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4616 # If test is not a shell built-in, we'll probably end up computing a
4617 # maximum length that is only half of the actual maximum length, but
4619 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4620 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4621 test $i != 17 # 1/2 MB should be enough
4624 teststring=$teststring$teststring
4626 # Only check the string length outside the loop.
4627 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4629 # Add a significant safety factor because C++ compilers can tack on
4630 # massive amounts of additional arguments before passing them to the
4631 # linker. It appears as though 1/2 is a usable value.
4632 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4639 if test -n $lt_cv_sys_max_cmd_len ; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4641 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4644 $as_echo "none" >&6; }
4646 max_cmd_len=$lt_cv_sys_max_cmd_len
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4658 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4659 # Try some XSI features
4662 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4664 && eval 'test $(( 1 + 1 )) -eq 2 \
4665 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4668 $as_echo "$xsi_shell" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4672 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4674 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4676 && lt_shell_append=yes
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4678 $as_echo "$lt_shell_append" >&6; }
4681 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4691 # test EBCDIC or ASCII
4692 case `echo X|tr X '\101'` in
4693 A) # ASCII based system
4694 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4695 lt_SP2NL='tr \040 \012'
4696 lt_NL2SP='tr \015\012 \040\040'
4698 *) # EBCDIC based system
4699 lt_SP2NL='tr \100 \n'
4700 lt_NL2SP='tr \r\n \100\100'
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4713 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4714 if ${lt_cv_to_host_file_cmd+:} false; then :
4715 $as_echo_n "(cached) " >&6
4720 *-*-mingw* ) # actually msys
4721 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4724 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4726 * ) # otherwise, assume *nix
4727 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4733 *-*-mingw* ) # actually msys
4734 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4737 lt_cv_to_host_file_cmd=func_convert_file_noop
4739 * ) # otherwise, assume *nix
4740 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4744 * ) # unhandled hosts (and "normal" native builds)
4745 lt_cv_to_host_file_cmd=func_convert_file_noop
4751 to_host_file_cmd=$lt_cv_to_host_file_cmd
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4753 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4760 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4761 if ${lt_cv_to_tool_file_cmd+:} false; then :
4762 $as_echo_n "(cached) " >&6
4764 #assume ordinary cross tools, or native build.
4765 lt_cv_to_tool_file_cmd=func_convert_file_noop
4769 *-*-mingw* ) # actually msys
4770 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4778 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4780 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4787 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4788 if ${lt_cv_ld_reload_flag+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 lt_cv_ld_reload_flag='-r'
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4794 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4795 reload_flag=$lt_cv_ld_reload_flag
4796 case $reload_flag in
4798 *) reload_flag=" $reload_flag" ;;
4800 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4802 cygwin* | mingw* | pw32* | cegcc*)
4803 if test "$GCC" != yes; then
4808 if test "$GCC" = yes; then
4809 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4811 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4824 if test -n "$ac_tool_prefix"; then
4825 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4826 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_OBJDUMP+:} false; then :
4830 $as_echo_n "(cached) " >&6
4832 if test -n "$OBJDUMP"; then
4833 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4842 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 OBJDUMP=$ac_cv_prog_OBJDUMP
4853 if test -n "$OBJDUMP"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4855 $as_echo "$OBJDUMP" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4863 if test -z "$ac_cv_prog_OBJDUMP"; then
4864 ac_ct_OBJDUMP=$OBJDUMP
4865 # Extract the first word of "objdump", so it can be a program name with args.
4866 set dummy objdump; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$ac_ct_OBJDUMP"; then
4873 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4882 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4893 if test -n "$ac_ct_OBJDUMP"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4895 $as_echo "$ac_ct_OBJDUMP" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4901 if test "x$ac_ct_OBJDUMP" = x; then
4904 case $cross_compiling:$ac_tool_warned in
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4908 ac_tool_warned=yes ;;
4910 OBJDUMP=$ac_ct_OBJDUMP
4913 OBJDUMP="$ac_cv_prog_OBJDUMP"
4916 test -z "$OBJDUMP" && OBJDUMP=objdump
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4927 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4928 if ${lt_cv_deplibs_check_method+:} false; then :
4929 $as_echo_n "(cached) " >&6
4931 lt_cv_file_magic_cmd='$MAGIC_CMD'
4932 lt_cv_file_magic_test_file=
4933 lt_cv_deplibs_check_method='unknown'
4934 # Need to set the preceding variable on all platforms that support
4935 # interlibrary dependencies.
4936 # 'none' -- dependencies not supported.
4937 # `unknown' -- same as none, but documents that we really don't know.
4938 # 'pass_all' -- all dependencies passed with no checks.
4939 # 'test_compile' -- check by making test program.
4940 # 'file_magic [[regex]]' -- check by looking for files in library path
4941 # which responds to the $file_magic_cmd with a given extended regex.
4942 # If you have `file' or equivalent on your system and you're not sure
4943 # whether `pass_all' will *always* work, you probably want this one.
4947 lt_cv_deplibs_check_method=pass_all
4951 lt_cv_deplibs_check_method=pass_all
4955 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4956 lt_cv_file_magic_cmd='/usr/bin/file -L'
4957 lt_cv_file_magic_test_file=/shlib/libc.so
4961 # func_win32_libid is a shell function defined in ltmain.sh
4962 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4963 lt_cv_file_magic_cmd='func_win32_libid'
4967 # Base MSYS/MinGW do not provide the 'file' command needed by
4968 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4969 # unless we find 'file', for example because we are cross-compiling.
4970 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4971 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4972 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4973 lt_cv_file_magic_cmd='func_win32_libid'
4975 # Keep this pattern in sync with the one in func_win32_libid.
4976 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4977 lt_cv_file_magic_cmd='$OBJDUMP -f'
4982 # use the weaker test based on 'objdump'. See mingw*.
4983 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4984 lt_cv_file_magic_cmd='$OBJDUMP -f'
4987 darwin* | rhapsody*)
4988 lt_cv_deplibs_check_method=pass_all
4991 freebsd* | dragonfly*)
4992 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4995 # Not sure whether the presence of OpenBSD here was a mistake.
4996 # Let's accept both of them until this is cleared up.
4997 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4998 lt_cv_file_magic_cmd=/usr/bin/file
4999 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5003 lt_cv_deplibs_check_method=pass_all
5008 lt_cv_deplibs_check_method=pass_all
5012 lt_cv_deplibs_check_method=pass_all
5015 hpux10.20* | hpux11*)
5016 lt_cv_file_magic_cmd=/usr/bin/file
5019 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5020 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5023 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]'
5024 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5028 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5034 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5035 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5038 irix5* | irix6* | nonstopux*)
5040 *-32|*"-32 ") libmagic=32-bit;;
5041 *-n32|*"-n32 ") libmagic=N32;;
5042 *-64|*"-64 ") libmagic=64-bit;;
5043 *) libmagic=never-match;;
5045 lt_cv_deplibs_check_method=pass_all
5048 # This must be Linux ELF.
5049 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5050 lt_cv_deplibs_check_method=pass_all
5054 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5055 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5062 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5063 lt_cv_file_magic_cmd=/usr/bin/file
5064 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5068 lt_cv_deplibs_check_method=pass_all
5072 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5073 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5075 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5079 osf3* | osf4* | osf5*)
5080 lt_cv_deplibs_check_method=pass_all
5084 lt_cv_deplibs_check_method=pass_all
5088 lt_cv_deplibs_check_method=pass_all
5091 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5092 lt_cv_deplibs_check_method=pass_all
5096 case $host_vendor in
5098 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]'
5099 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5102 lt_cv_deplibs_check_method=pass_all
5105 lt_cv_file_magic_cmd='/bin/file'
5106 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5109 lt_cv_file_magic_cmd='/bin/file'
5110 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5111 lt_cv_file_magic_test_file=/lib/libc.so
5114 lt_cv_deplibs_check_method=pass_all
5117 lt_cv_deplibs_check_method=pass_all
5123 lt_cv_deplibs_check_method=pass_all
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5129 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5133 if test "$build" = "$host"; then
5136 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5139 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5145 file_magic_cmd=$lt_cv_file_magic_cmd
5146 deplibs_check_method=$lt_cv_deplibs_check_method
5147 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5170 if test -n "$ac_tool_prefix"; then
5171 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5172 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_DLLTOOL+:} false; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$DLLTOOL"; then
5179 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 DLLTOOL=$ac_cv_prog_DLLTOOL
5199 if test -n "$DLLTOOL"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5201 $as_echo "$DLLTOOL" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5209 if test -z "$ac_cv_prog_DLLTOOL"; then
5210 ac_ct_DLLTOOL=$DLLTOOL
5211 # Extract the first word of "dlltool", so it can be a program name with args.
5212 set dummy dlltool; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$ac_ct_DLLTOOL"; then
5219 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5239 if test -n "$ac_ct_DLLTOOL"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5241 $as_echo "$ac_ct_DLLTOOL" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5247 if test "x$ac_ct_DLLTOOL" = x; then
5250 case $cross_compiling:$ac_tool_warned in
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned=yes ;;
5256 DLLTOOL=$ac_ct_DLLTOOL
5259 DLLTOOL="$ac_cv_prog_DLLTOOL"
5262 test -z "$DLLTOOL" && DLLTOOL=dlltool
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5274 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5275 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5276 $as_echo_n "(cached) " >&6
5278 lt_cv_sharedlib_from_linklib_cmd='unknown'
5281 cygwin* | mingw* | pw32* | cegcc*)
5282 # two different shell functions defined in ltmain.sh
5283 # decide which to use based on capabilities of $DLLTOOL
5284 case `$DLLTOOL --help 2>&1` in
5285 *--identify-strict*)
5286 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5289 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5294 # fallback: assume linklib IS sharedlib
5295 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5301 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5302 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5303 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5312 if test -n "$ac_tool_prefix"; then
5315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5316 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if ${ac_cv_prog_AR+:} false; then :
5320 $as_echo_n "(cached) " >&6
5322 if test -n "$AR"; then
5323 ac_cv_prog_AR="$AR" # Let the user override the test.
5325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir=.
5330 for ac_exec_ext in '' $ac_executable_extensions; do
5331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5332 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 if test -n "$AR"; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5345 $as_echo "$AR" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5352 test -n "$AR" && break
5355 if test -z "$AR"; then
5359 # Extract the first word of "$ac_prog", so it can be a program name with args.
5360 set dummy $ac_prog; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5364 $as_echo_n "(cached) " >&6
5366 if test -n "$ac_ct_AR"; then
5367 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376 ac_cv_prog_ac_ct_AR="$ac_prog"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5387 if test -n "$ac_ct_AR"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5389 $as_echo "$ac_ct_AR" >&6; }
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5396 test -n "$ac_ct_AR" && break
5399 if test "x$ac_ct_AR" = x; then
5402 case $cross_compiling:$ac_tool_warned in
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5406 ac_tool_warned=yes ;;
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5426 $as_echo_n "checking for archiver @FILE support... " >&6; }
5427 if ${lt_cv_ar_at_file+:} false; then :
5428 $as_echo_n "(cached) " >&6
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5442 if ac_fn_c_try_compile "$LINENO"; then :
5443 echo conftest.$ac_objext > conftest.lst
5444 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5445 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5446 (eval $lt_ar_try) 2>&5
5448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5449 test $ac_status = 0; }
5450 if test "$ac_status" -eq 0; then
5451 # Ensure the archiver fails upon bogus file names.
5452 rm -f conftest.$ac_objext libconftest.a
5453 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5454 (eval $lt_ar_try) 2>&5
5456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5457 test $ac_status = 0; }
5458 if test "$ac_status" -ne 0; then
5462 rm -f conftest.* libconftest.a
5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5469 $as_echo "$lt_cv_ar_at_file" >&6; }
5471 if test "x$lt_cv_ar_at_file" = xno; then
5474 archiver_list_spec=$lt_cv_ar_at_file
5483 if test -n "$ac_tool_prefix"; then
5484 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5485 set dummy ${ac_tool_prefix}strip; ac_word=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_STRIP+:} false; then :
5489 $as_echo_n "(cached) " >&6
5491 if test -n "$STRIP"; then
5492 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5501 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 STRIP=$ac_cv_prog_STRIP
5512 if test -n "$STRIP"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5514 $as_echo "$STRIP" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5522 if test -z "$ac_cv_prog_STRIP"; then
5524 # Extract the first word of "strip", so it can be a program name with args.
5525 set dummy strip; ac_word=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5529 $as_echo_n "(cached) " >&6
5531 if test -n "$ac_ct_STRIP"; then
5532 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir=.
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 ac_cv_prog_ac_ct_STRIP="strip"
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5552 if test -n "$ac_ct_STRIP"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5554 $as_echo "$ac_ct_STRIP" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5560 if test "x$ac_ct_STRIP" = x; then
5563 case $cross_compiling:$ac_tool_warned in
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5567 ac_tool_warned=yes ;;
5572 STRIP="$ac_cv_prog_STRIP"
5575 test -z "$STRIP" && STRIP=:
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_RANLIB+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$RANLIB"; then
5591 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 RANLIB=$ac_cv_prog_RANLIB
5611 if test -n "$RANLIB"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5613 $as_echo "$RANLIB" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5621 if test -z "$ac_cv_prog_RANLIB"; then
5622 ac_ct_RANLIB=$RANLIB
5623 # Extract the first word of "ranlib", so it can be a program name with args.
5624 set dummy ranlib; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$ac_ct_RANLIB"; then
5631 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_RANLIB="ranlib"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5651 if test -n "$ac_ct_RANLIB"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5653 $as_echo "$ac_ct_RANLIB" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5659 if test "x$ac_ct_RANLIB" = x; then
5662 case $cross_compiling:$ac_tool_warned in
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5666 ac_tool_warned=yes ;;
5668 RANLIB=$ac_ct_RANLIB
5671 RANLIB="$ac_cv_prog_RANLIB"
5674 test -z "$RANLIB" && RANLIB=:
5681 # Determine commands to create old-style static archives.
5682 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5683 old_postinstall_cmds='chmod 644 $oldlib'
5684 old_postuninstall_cmds=
5686 if test -n "$RANLIB"; then
5689 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5692 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5695 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5700 lock_old_archive_extraction=yes ;;
5702 lock_old_archive_extraction=no ;;
5743 # If no C compiler was specified, use CC.
5746 # If no C compiler flags were specified, use CFLAGS.
5747 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5749 # Allow CC to be a program name with arguments.
5753 # Check for command to grab the raw symbol name followed by C symbol from nm.
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5755 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5756 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5757 $as_echo_n "(cached) " >&6
5760 # These are sane defaults that work on at least a few old systems.
5761 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5763 # Character class describing NM global symbol codes.
5764 symcode='[BCDEGRST]'
5766 # Regexp to match symbols that can be accessed directly from C.
5767 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5769 # Define system-specific variables.
5774 cygwin* | mingw* | pw32* | cegcc*)
5775 symcode='[ABCDGISTW]'
5778 if test "$host_cpu" = ia64; then
5779 symcode='[ABCDEGRST]'
5783 symcode='[BCDEGRST]'
5786 symcode='[BCDEGQRST]'
5797 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5805 # If we're using GNU nm, then use its standard symbol codes.
5806 case `$NM -V 2>&1` in
5807 *GNU* | *'with BFD'*)
5808 symcode='[ABCDGIRSTW]' ;;
5811 # Transform an extracted symbol line into a proper C declaration.
5812 # Some systems (esp. on ia64) link data and code symbols differently,
5813 # so use this general approach.
5814 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5816 # Transform an extracted symbol line into symbol name and symbol address
5817 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5818 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'"
5820 # Handle CRLF in mingw tool chain
5824 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5828 # Try without a prefix underscore, then with it.
5829 for ac_symprfx in "" "_"; do
5831 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5832 symxfrm="\\1 $ac_symprfx\\2 \\2"
5834 # Write the raw and C identifiers.
5835 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5836 # Fake it for dumpbin and say T for any non-static function
5837 # and D for any global variable.
5838 # Also find C++ and __fastcall symbols from MSVC++,
5839 # which start with @ or ?.
5840 lt_cv_sys_global_symbol_pipe="$AWK '"\
5841 " {last_section=section; section=\$ 3};"\
5842 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5843 " \$ 0!~/External *\|/{next};"\
5844 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5845 " {if(hide[section]) next};"\
5846 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5847 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5848 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5849 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5850 " ' prfx=^$ac_symprfx"
5852 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5854 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5856 # Check to see that the pipe works correctly.
5860 cat > conftest.$ac_ext <<_LT_EOF
5865 void nm_test_func(void);
5866 void nm_test_func(void){}
5870 int main(){nm_test_var='a';nm_test_func();return(0);}
5873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5874 (eval $ac_compile) 2>&5
5876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5877 test $ac_status = 0; }; then
5878 # Now try to grab the symbols.
5880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5881 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5884 test $ac_status = 0; } && test -s "$nlist"; then
5885 # Try sorting and uniquifying the output.
5886 if sort "$nlist" | uniq > "$nlist"T; then
5887 mv -f "$nlist"T "$nlist"
5892 # Make sure that we snagged all the symbols we need.
5893 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5894 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5895 cat <<_LT_EOF > conftest.$ac_ext
5896 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5897 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5898 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5899 relocations are performed -- see ld's documentation on pseudo-relocs. */
5900 # define LT_DLSYM_CONST
5901 #elif defined(__osf__)
5902 /* This system does not cope well with relocations in const data. */
5903 # define LT_DLSYM_CONST
5905 # define LT_DLSYM_CONST const
5913 # Now generate the symbol file.
5914 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5916 cat <<_LT_EOF >> conftest.$ac_ext
5918 /* The mapping between symbol names and symbols. */
5919 LT_DLSYM_CONST struct {
5923 lt__PROGRAM__LTX_preloaded_symbols[] =
5925 { "@PROGRAM@", (void *) 0 },
5927 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5928 cat <<\_LT_EOF >> conftest.$ac_ext
5932 /* This works around a problem in FreeBSD linker */
5933 #ifdef FREEBSD_WORKAROUND
5934 static const void *lt_preloaded_setup() {
5935 return lt__PROGRAM__LTX_preloaded_symbols;
5943 # Now try linking the two files.
5944 mv conftest.$ac_objext conftstm.$ac_objext
5945 lt_globsym_save_LIBS=$LIBS
5946 lt_globsym_save_CFLAGS=$CFLAGS
5947 LIBS="conftstm.$ac_objext"
5948 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5950 (eval $ac_link) 2>&5
5952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5953 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5956 LIBS=$lt_globsym_save_LIBS
5957 CFLAGS=$lt_globsym_save_CFLAGS
5959 echo "cannot find nm_test_func in $nlist" >&5
5962 echo "cannot find nm_test_var in $nlist" >&5
5965 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5968 echo "$progname: failed program was:" >&5
5969 cat conftest.$ac_ext >&5
5971 rm -rf conftest* conftst*
5973 # Do not use the global_symbol_pipe unless it works.
5974 if test "$pipe_works" = yes; then
5977 lt_cv_sys_global_symbol_pipe=
5983 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5984 lt_cv_sys_global_symbol_to_cdecl=
5986 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5988 $as_echo "failed" >&6; }
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5991 $as_echo "ok" >&6; }
5994 # Response file support.
5995 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5996 nm_file_list_spec='@'
5997 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5998 nm_file_list_spec='@'
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6028 $as_echo_n "checking for sysroot... " >&6; }
6030 # Check whether --with-sysroot was given.
6031 if test "${with_sysroot+set}" = set; then :
6032 withval=$with_sysroot;
6039 case ${with_sysroot} in #(
6041 if test "$GCC" = yes; then
6042 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6046 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6052 $as_echo "${with_sysroot}" >&6; }
6053 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6058 $as_echo "${lt_sysroot:-no}" >&6; }
6064 # Check whether --enable-libtool-lock was given.
6065 if test "${enable_libtool_lock+set}" = set; then :
6066 enableval=$enable_libtool_lock;
6069 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6071 # Some flags need to be propagated to the compiler or linker for good
6075 # Find out which ABI we are using.
6076 echo 'int i;' > conftest.$ac_ext
6077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6078 (eval $ac_compile) 2>&5
6080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6081 test $ac_status = 0; }; then
6082 case `/usr/bin/file conftest.$ac_objext` in
6094 # Find out which ABI we are using.
6095 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6096 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6097 (eval $ac_compile) 2>&5
6099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6100 test $ac_status = 0; }; then
6101 if test "$lt_cv_prog_gnu_ld" = yes; then
6102 case `/usr/bin/file conftest.$ac_objext` in
6104 LD="${LD-ld} -melf32bsmip"
6107 LD="${LD-ld} -melf32bmipn32"
6110 LD="${LD-ld} -melf64bmip"
6114 case `/usr/bin/file conftest.$ac_objext` in
6130 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6131 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6132 # Find out which ABI we are using.
6133 echo 'int i;' > conftest.$ac_ext
6134 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6135 (eval $ac_compile) 2>&5
6137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6138 test $ac_status = 0; }; then
6139 case `/usr/bin/file conftest.o` in
6142 x86_64-*kfreebsd*-gnu)
6143 LD="${LD-ld} -m elf_i386_fbsd"
6146 LD="${LD-ld} -m elf_i386"
6148 ppc64-*linux*|powerpc64-*linux*)
6149 LD="${LD-ld} -m elf32ppclinux"
6152 LD="${LD-ld} -m elf_s390"
6155 LD="${LD-ld} -m elf32_sparc"
6161 x86_64-*kfreebsd*-gnu)
6162 LD="${LD-ld} -m elf_x86_64_fbsd"
6165 LD="${LD-ld} -m elf_x86_64"
6167 ppc*-*linux*|powerpc*-*linux*)
6168 LD="${LD-ld} -m elf64ppc"
6170 s390*-*linux*|s390*-*tpf*)
6171 LD="${LD-ld} -m elf64_s390"
6174 LD="${LD-ld} -m elf64_sparc"
6184 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6185 SAVE_CFLAGS="$CFLAGS"
6186 CFLAGS="$CFLAGS -belf"
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6188 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6189 if ${lt_cv_cc_needs_belf+:} false; then :
6190 $as_echo_n "(cached) " >&6
6193 ac_cpp='$CPP $CPPFLAGS'
6194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h. */
6209 if ac_fn_c_try_link "$LINENO"; then :
6210 lt_cv_cc_needs_belf=yes
6212 lt_cv_cc_needs_belf=no
6214 rm -f core conftest.err conftest.$ac_objext \
6215 conftest$ac_exeext conftest.$ac_ext
6217 ac_cpp='$CPP $CPPFLAGS'
6218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6224 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6225 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6226 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6227 CFLAGS="$SAVE_CFLAGS"
6231 # Find out which ABI we are using.
6232 echo 'int i;' > conftest.$ac_ext
6233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234 (eval $ac_compile) 2>&5
6236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6237 test $ac_status = 0; }; then
6238 case `/usr/bin/file conftest.o` in
6240 case $lt_cv_prog_gnu_ld in
6241 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6243 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6255 need_locks="$enable_libtool_lock"
6257 if test -n "$ac_tool_prefix"; then
6258 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}mt; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6263 $as_echo_n "(cached) " >&6
6265 if test -n "$MANIFEST_TOOL"; then
6266 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6286 if test -n "$MANIFEST_TOOL"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6288 $as_echo "$MANIFEST_TOOL" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6296 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6297 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6298 # Extract the first word of "mt", so it can be a program name with args.
6299 set dummy mt; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6303 $as_echo_n "(cached) " >&6
6305 if test -n "$ac_ct_MANIFEST_TOOL"; then
6306 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6326 if test -n "$ac_ct_MANIFEST_TOOL"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6328 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6334 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6337 case $cross_compiling:$ac_tool_warned in
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6343 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6346 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6349 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6351 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6352 if ${lt_cv_path_mainfest_tool+:} false; then :
6353 $as_echo_n "(cached) " >&6
6355 lt_cv_path_mainfest_tool=no
6356 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6357 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6358 cat conftest.err >&5
6359 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6360 lt_cv_path_mainfest_tool=yes
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6365 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6366 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6376 rhapsody* | darwin*)
6377 if test -n "$ac_tool_prefix"; then
6378 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6379 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6383 $as_echo_n "(cached) " >&6
6385 if test -n "$DSYMUTIL"; then
6386 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6406 if test -n "$DSYMUTIL"; then
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6408 $as_echo "$DSYMUTIL" >&6; }
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411 $as_echo "no" >&6; }
6416 if test -z "$ac_cv_prog_DSYMUTIL"; then
6417 ac_ct_DSYMUTIL=$DSYMUTIL
6418 # Extract the first word of "dsymutil", so it can be a program name with args.
6419 set dummy dsymutil; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6423 $as_echo_n "(cached) " >&6
6425 if test -n "$ac_ct_DSYMUTIL"; then
6426 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6446 if test -n "$ac_ct_DSYMUTIL"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6448 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6454 if test "x$ac_ct_DSYMUTIL" = x; then
6457 case $cross_compiling:$ac_tool_warned in
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6461 ac_tool_warned=yes ;;
6463 DSYMUTIL=$ac_ct_DSYMUTIL
6466 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6469 if test -n "$ac_tool_prefix"; then
6470 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6471 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_NMEDIT+:} false; then :
6475 $as_echo_n "(cached) " >&6
6477 if test -n "$NMEDIT"; then
6478 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 NMEDIT=$ac_cv_prog_NMEDIT
6498 if test -n "$NMEDIT"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6500 $as_echo "$NMEDIT" >&6; }
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6508 if test -z "$ac_cv_prog_NMEDIT"; then
6509 ac_ct_NMEDIT=$NMEDIT
6510 # Extract the first word of "nmedit", so it can be a program name with args.
6511 set dummy nmedit; 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_ac_ct_NMEDIT+:} false; then :
6515 $as_echo_n "(cached) " >&6
6517 if test -n "$ac_ct_NMEDIT"; then
6518 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6538 if test -n "$ac_ct_NMEDIT"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6540 $as_echo "$ac_ct_NMEDIT" >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6546 if test "x$ac_ct_NMEDIT" = x; then
6549 case $cross_compiling:$ac_tool_warned in
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6553 ac_tool_warned=yes ;;
6555 NMEDIT=$ac_ct_NMEDIT
6558 NMEDIT="$ac_cv_prog_NMEDIT"
6561 if test -n "$ac_tool_prefix"; then
6562 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6563 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_LIPO+:} false; then :
6567 $as_echo_n "(cached) " >&6
6569 if test -n "$LIPO"; then
6570 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 LIPO=$ac_cv_prog_LIPO
6590 if test -n "$LIPO"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6592 $as_echo "$LIPO" >&6; }
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6600 if test -z "$ac_cv_prog_LIPO"; then
6602 # Extract the first word of "lipo", so it can be a program name with args.
6603 set dummy lipo; 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_ac_ct_LIPO+:} false; then :
6607 $as_echo_n "(cached) " >&6
6609 if test -n "$ac_ct_LIPO"; then
6610 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6619 ac_cv_prog_ac_ct_LIPO="lipo"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6630 if test -n "$ac_ct_LIPO"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6632 $as_echo "$ac_ct_LIPO" >&6; }
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6638 if test "x$ac_ct_LIPO" = x; then
6641 case $cross_compiling:$ac_tool_warned in
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6645 ac_tool_warned=yes ;;
6650 LIPO="$ac_cv_prog_LIPO"
6653 if test -n "$ac_tool_prefix"; then
6654 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6655 set dummy ${ac_tool_prefix}otool; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_OTOOL+:} false; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$OTOOL"; then
6662 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 OTOOL=$ac_cv_prog_OTOOL
6682 if test -n "$OTOOL"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6684 $as_echo "$OTOOL" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6692 if test -z "$ac_cv_prog_OTOOL"; then
6694 # Extract the first word of "otool", so it can be a program name with args.
6695 set dummy otool; 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_ac_ct_OTOOL+:} false; then :
6699 $as_echo_n "(cached) " >&6
6701 if test -n "$ac_ct_OTOOL"; then
6702 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711 ac_cv_prog_ac_ct_OTOOL="otool"
6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6722 if test -n "$ac_ct_OTOOL"; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6724 $as_echo "$ac_ct_OTOOL" >&6; }
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6730 if test "x$ac_ct_OTOOL" = x; then
6733 case $cross_compiling:$ac_tool_warned in
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737 ac_tool_warned=yes ;;
6742 OTOOL="$ac_cv_prog_OTOOL"
6745 if test -n "$ac_tool_prefix"; then
6746 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6747 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if ${ac_cv_prog_OTOOL64+:} false; then :
6751 $as_echo_n "(cached) " >&6
6753 if test -n "$OTOOL64"; then
6754 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 OTOOL64=$ac_cv_prog_OTOOL64
6774 if test -n "$OTOOL64"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6776 $as_echo "$OTOOL64" >&6; }
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6784 if test -z "$ac_cv_prog_OTOOL64"; then
6785 ac_ct_OTOOL64=$OTOOL64
6786 # Extract the first word of "otool64", so it can be a program name with args.
6787 set dummy otool64; 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_ac_ct_OTOOL64+:} false; then :
6791 $as_echo_n "(cached) " >&6
6793 if test -n "$ac_ct_OTOOL64"; then
6794 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803 ac_cv_prog_ac_ct_OTOOL64="otool64"
6804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6814 if test -n "$ac_ct_OTOOL64"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6816 $as_echo "$ac_ct_OTOOL64" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6822 if test "x$ac_ct_OTOOL64" = x; then
6825 case $cross_compiling:$ac_tool_warned in
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829 ac_tool_warned=yes ;;
6831 OTOOL64=$ac_ct_OTOOL64
6834 OTOOL64="$ac_cv_prog_OTOOL64"
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6864 $as_echo_n "checking for -single_module linker flag... " >&6; }
6865 if ${lt_cv_apple_cc_single_mod+:} false; then :
6866 $as_echo_n "(cached) " >&6
6868 lt_cv_apple_cc_single_mod=no
6869 if test -z "${LT_MULTI_MODULE}"; then
6870 # By default we will add the -single_module flag. You can override
6871 # by either setting the environment variable LT_MULTI_MODULE
6872 # non-empty at configure time, or by adding -multi_module to the
6874 rm -rf libconftest.dylib*
6875 echo "int foo(void){return 1;}" > conftest.c
6876 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6877 -dynamiclib -Wl,-single_module conftest.c" >&5
6878 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6879 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6881 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6882 lt_cv_apple_cc_single_mod=yes
6884 cat conftest.err >&5
6886 rm -rf libconftest.dylib*
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6891 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6893 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6894 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6895 $as_echo_n "(cached) " >&6
6897 lt_cv_ld_exported_symbols_list=no
6898 save_LDFLAGS=$LDFLAGS
6899 echo "_main" > conftest.sym
6900 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6902 /* end confdefs.h. */
6912 if ac_fn_c_try_link "$LINENO"; then :
6913 lt_cv_ld_exported_symbols_list=yes
6915 lt_cv_ld_exported_symbols_list=no
6917 rm -f core conftest.err conftest.$ac_objext \
6918 conftest$ac_exeext conftest.$ac_ext
6919 LDFLAGS="$save_LDFLAGS"
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6923 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6925 $as_echo_n "checking for -force_load linker flag... " >&6; }
6926 if ${lt_cv_ld_force_load+:} false; then :
6927 $as_echo_n "(cached) " >&6
6929 lt_cv_ld_force_load=no
6930 cat > conftest.c << _LT_EOF
6931 int forced_loaded() { return 2;}
6933 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6934 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6935 echo "$AR cru libconftest.a conftest.o" >&5
6936 $AR cru libconftest.a conftest.o 2>&5
6937 echo "$RANLIB libconftest.a" >&5
6938 $RANLIB libconftest.a 2>&5
6939 cat > conftest.c << _LT_EOF
6940 int main() { return 0;}
6942 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6943 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6945 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6946 lt_cv_ld_force_load=yes
6948 cat conftest.err >&5
6950 rm -f conftest.err libconftest.a conftest conftest.c
6951 rm -rf conftest.dSYM
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6955 $as_echo "$lt_cv_ld_force_load" >&6; }
6957 rhapsody* | darwin1.[012])
6958 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6960 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6961 darwin*) # darwin 5.x on
6962 # if running on 10.5 or later, the deployment target defaults
6963 # to the OS version, if on x86, and 10.4, the deployment
6964 # target defaults to 10.4. Don't you love it?
6965 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6966 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6967 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6969 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6971 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6975 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6976 _lt_dar_single_mod='$single_module'
6978 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6979 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6981 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6983 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6984 _lt_dsymutil='~$DSYMUTIL $lib || :'
6992 ac_cpp='$CPP $CPPFLAGS'
6993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6997 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6998 # On Suns, sometimes $CPP names a directory.
6999 if test -n "$CPP" && test -d "$CPP"; then
7002 if test -z "$CPP"; then
7003 if ${ac_cv_prog_CPP+:} false; then :
7004 $as_echo_n "(cached) " >&6
7006 # Double quotes because CPP needs to be expanded
7007 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7010 for ac_c_preproc_warn_flag in '' yes
7012 # Use a header file that comes with gcc, so configuring glibc
7013 # with a fresh cross-compiler works.
7014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7015 # <limits.h> exists even on freestanding compilers.
7016 # On the NeXT, cc -E runs the code through the compiler's parser,
7017 # not just through cpp. "Syntax error" is here to catch this case.
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7021 # include <limits.h>
7023 # include <assert.h>
7027 if ac_fn_c_try_cpp "$LINENO"; then :
7030 # Broken: fails on valid input.
7033 rm -f conftest.err conftest.i conftest.$ac_ext
7035 # OK, works on sane cases. Now check whether nonexistent headers
7036 # can be detected and how.
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7038 /* end confdefs.h. */
7039 #include <ac_nonexistent.h>
7041 if ac_fn_c_try_cpp "$LINENO"; then :
7042 # Broken: success on invalid input.
7045 # Passes both tests.
7049 rm -f conftest.err conftest.i conftest.$ac_ext
7052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7053 rm -f conftest.i conftest.err conftest.$ac_ext
7054 if $ac_preproc_ok; then :
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7067 $as_echo "$CPP" >&6; }
7069 for ac_c_preproc_warn_flag in '' yes
7071 # Use a header file that comes with gcc, so configuring glibc
7072 # with a fresh cross-compiler works.
7073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7074 # <limits.h> exists even on freestanding compilers.
7075 # On the NeXT, cc -E runs the code through the compiler's parser,
7076 # not just through cpp. "Syntax error" is here to catch this case.
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7080 # include <limits.h>
7082 # include <assert.h>
7086 if ac_fn_c_try_cpp "$LINENO"; then :
7089 # Broken: fails on valid input.
7092 rm -f conftest.err conftest.i conftest.$ac_ext
7094 # OK, works on sane cases. Now check whether nonexistent headers
7095 # can be detected and how.
7096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h. */
7098 #include <ac_nonexistent.h>
7100 if ac_fn_c_try_cpp "$LINENO"; then :
7101 # Broken: success on invalid input.
7104 # Passes both tests.
7108 rm -f conftest.err conftest.i conftest.$ac_ext
7111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7112 rm -f conftest.i conftest.err conftest.$ac_ext
7113 if $ac_preproc_ok; then :
7116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7118 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7119 See \`config.log' for more details" "$LINENO" 5; }
7123 ac_cpp='$CPP $CPPFLAGS'
7124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7130 $as_echo_n "checking for ANSI C header files... " >&6; }
7131 if ${ac_cv_header_stdc+:} false; then :
7132 $as_echo_n "(cached) " >&6
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7149 if ac_fn_c_try_compile "$LINENO"; then :
7150 ac_cv_header_stdc=yes
7152 ac_cv_header_stdc=no
7154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7156 if test $ac_cv_header_stdc = yes; then
7157 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7164 $EGREP "memchr" >/dev/null 2>&1; then :
7167 ac_cv_header_stdc=no
7173 if test $ac_cv_header_stdc = yes; then
7174 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7181 $EGREP "free" >/dev/null 2>&1; then :
7184 ac_cv_header_stdc=no
7190 if test $ac_cv_header_stdc = yes; then
7191 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7192 if test "$cross_compiling" = yes; then :
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7199 #if ((' ' & 0x0FF) == 0x020)
7200 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7201 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7203 # define ISLOWER(c) \
7204 (('a' <= (c) && (c) <= 'i') \
7205 || ('j' <= (c) && (c) <= 'r') \
7206 || ('s' <= (c) && (c) <= 'z'))
7207 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7210 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7215 for (i = 0; i < 256; i++)
7216 if (XOR (islower (i), ISLOWER (i))
7217 || toupper (i) != TOUPPER (i))
7222 if ac_fn_c_try_run "$LINENO"; then :
7225 ac_cv_header_stdc=no
7227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7228 conftest.$ac_objext conftest.beam conftest.$ac_ext
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7234 $as_echo "$ac_cv_header_stdc" >&6; }
7235 if test $ac_cv_header_stdc = yes; then
7237 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7241 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7242 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7243 inttypes.h stdint.h unistd.h
7245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7246 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7248 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7249 cat >>confdefs.h <<_ACEOF
7250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7258 for ac_header in dlfcn.h
7260 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7262 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7263 cat >>confdefs.h <<_ACEOF
7264 #define HAVE_DLFCN_H 1
7285 # Check whether --enable-shared was given.
7286 if test "${enable_shared+set}" = set; then :
7287 enableval=$enable_shared; p=${PACKAGE-default}
7289 yes) enable_shared=yes ;;
7290 no) enable_shared=no ;;
7293 # Look at the argument we got. We use all the common list separators.
7294 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7295 for pkg in $enableval; do
7297 if test "X$pkg" = "X$p"; then
7316 # Check whether --enable-static was given.
7317 if test "${enable_static+set}" = set; then :
7318 enableval=$enable_static; p=${PACKAGE-default}
7320 yes) enable_static=yes ;;
7321 no) enable_static=no ;;
7324 # Look at the argument we got. We use all the common list separators.
7325 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7326 for pkg in $enableval; do
7328 if test "X$pkg" = "X$p"; then
7348 # Check whether --with-pic was given.
7349 if test "${with_pic+set}" = set; then :
7350 withval=$with_pic; pic_mode="$withval"
7356 test -z "$pic_mode" && pic_mode=default
7364 # Check whether --enable-fast-install was given.
7365 if test "${enable_fast_install+set}" = set; then :
7366 enableval=$enable_fast_install; p=${PACKAGE-default}
7368 yes) enable_fast_install=yes ;;
7369 no) enable_fast_install=no ;;
7371 enable_fast_install=no
7372 # Look at the argument we got. We use all the common list separators.
7373 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7374 for pkg in $enableval; do
7376 if test "X$pkg" = "X$p"; then
7377 enable_fast_install=yes
7384 enable_fast_install=yes
7397 # This can be used to rebuild libtool when needed
7398 LIBTOOL_DEPS="$ltmain"
7400 # Always use our own libtool.
7401 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7428 test -z "$LN_S" && LN_S="ln -s"
7443 if test -n "${ZSH_VERSION+set}" ; then
7444 setopt NO_GLOB_SUBST
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7448 $as_echo_n "checking for objdir... " >&6; }
7449 if ${lt_cv_objdir+:} false; then :
7450 $as_echo_n "(cached) " >&6
7452 rm -f .libs 2>/dev/null
7453 mkdir .libs 2>/dev/null
7454 if test -d .libs; then
7457 # MS-DOS does not allow filenames that begin with a dot.
7460 rmdir .libs 2>/dev/null
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7463 $as_echo "$lt_cv_objdir" >&6; }
7464 objdir=$lt_cv_objdir
7470 cat >>confdefs.h <<_ACEOF
7471 #define LT_OBJDIR "$lt_cv_objdir/"
7479 # AIX sometimes has problems with the GCC collect2 program. For some
7480 # reason, if we set the COLLECT_NAMES environment variable, the problems
7481 # vanish in a puff of smoke.
7482 if test "X${COLLECT_NAMES+set}" != Xset; then
7484 export COLLECT_NAMES
7491 can_build_shared=yes
7493 # All known linkers require a `.a' archive for static linking (except MSVC,
7494 # which needs '.lib').
7497 with_gnu_ld="$lt_cv_prog_gnu_ld"
7500 old_CFLAGS="$CFLAGS"
7502 # Set sane defaults for various variables
7503 test -z "$CC" && CC=cc
7504 test -z "$LTCC" && LTCC=$CC
7505 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7506 test -z "$LD" && LD=ld
7507 test -z "$ac_objext" && ac_objext=o
7509 for cc_temp in $compiler""; do
7511 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7512 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7517 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7520 # Only perform the check for file, if the check method requires it
7521 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7522 case $deplibs_check_method in
7524 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7526 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7527 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7528 $as_echo_n "(cached) " >&6
7532 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7535 lt_save_MAGIC_CMD="$MAGIC_CMD"
7536 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7537 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7538 for ac_dir in $ac_dummy; do
7540 test -z "$ac_dir" && ac_dir=.
7541 if test -f $ac_dir/${ac_tool_prefix}file; then
7542 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7543 if test -n "$file_magic_test_file"; then
7544 case $deplibs_check_method in
7546 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7547 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7548 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7549 $EGREP "$file_magic_regex" > /dev/null; then
7554 *** Warning: the command libtool uses to detect shared libraries,
7555 *** $file_magic_cmd, produces output that libtool cannot recognize.
7556 *** The result is that libtool may fail to recognize shared libraries
7557 *** as such. This will affect the creation of libtool libraries that
7558 *** depend on shared libraries, but programs linked with such libtool
7559 *** libraries will work regardless of this problem. Nevertheless, you
7560 *** may want to report the problem to your system manager and/or to
7561 *** bug-libtool@gnu.org
7571 MAGIC_CMD="$lt_save_MAGIC_CMD"
7576 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7577 if test -n "$MAGIC_CMD"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7579 $as_echo "$MAGIC_CMD" >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7589 if test -z "$lt_cv_path_MAGIC_CMD"; then
7590 if test -n "$ac_tool_prefix"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7592 $as_echo_n "checking for file... " >&6; }
7593 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7594 $as_echo_n "(cached) " >&6
7598 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7601 lt_save_MAGIC_CMD="$MAGIC_CMD"
7602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7603 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7604 for ac_dir in $ac_dummy; do
7606 test -z "$ac_dir" && ac_dir=.
7607 if test -f $ac_dir/file; then
7608 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7609 if test -n "$file_magic_test_file"; then
7610 case $deplibs_check_method in
7612 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7613 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7614 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7615 $EGREP "$file_magic_regex" > /dev/null; then
7620 *** Warning: the command libtool uses to detect shared libraries,
7621 *** $file_magic_cmd, produces output that libtool cannot recognize.
7622 *** The result is that libtool may fail to recognize shared libraries
7623 *** as such. This will affect the creation of libtool libraries that
7624 *** depend on shared libraries, but programs linked with such libtool
7625 *** libraries will work regardless of this problem. Nevertheless, you
7626 *** may want to report the problem to your system manager and/or to
7627 *** bug-libtool@gnu.org
7637 MAGIC_CMD="$lt_save_MAGIC_CMD"
7642 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7643 if test -n "$MAGIC_CMD"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7645 $as_echo "$MAGIC_CMD" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7661 # Use C for the default configuration in the libtool script
7665 ac_cpp='$CPP $CPPFLAGS'
7666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7671 # Source file extension for C test sources.
7674 # Object file extension for compiled C test sources.
7678 # Code to be used in simple compile tests
7679 lt_simple_compile_test_code="int some_variable = 0;"
7681 # Code to be used in simple link tests
7682 lt_simple_link_test_code='int main(){return(0);}'
7690 # If no C compiler was specified, use CC.
7693 # If no C compiler flags were specified, use CFLAGS.
7694 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7696 # Allow CC to be a program name with arguments.
7699 # Save the default compiler, since it gets overwritten when the other
7700 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7701 compiler_DEFAULT=$CC
7703 # save warnings/boilerplate of simple test code
7704 ac_outfile=conftest.$ac_objext
7705 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7706 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7707 _lt_compiler_boilerplate=`cat conftest.err`
7710 ac_outfile=conftest.$ac_objext
7711 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7712 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7713 _lt_linker_boilerplate=`cat conftest.err`
7717 if test -n "$compiler"; then
7719 lt_prog_compiler_no_builtin_flag=
7721 if test "$GCC" = yes; then
7722 case $cc_basename in
7724 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7726 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7730 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7731 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7732 $as_echo_n "(cached) " >&6
7734 lt_cv_prog_compiler_rtti_exceptions=no
7735 ac_outfile=conftest.$ac_objext
7736 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7737 lt_compiler_flag="-fno-rtti -fno-exceptions"
7738 # Insert the option either (1) after the last *FLAGS variable, or
7739 # (2) before a word containing "conftest.", or (3) at the end.
7740 # Note that $ac_compile itself does not contain backslashes and begins
7741 # with a dollar sign (not a hyphen), so the echo should work correctly.
7742 # The option is referenced via a variable to avoid confusing sed.
7743 lt_compile=`echo "$ac_compile" | $SED \
7744 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7745 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7746 -e 's:$: $lt_compiler_flag:'`
7747 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7748 (eval "$lt_compile" 2>conftest.err)
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 if (exit $ac_status) && test -s "$ac_outfile"; then
7753 # The compiler can only warn and ignore the option if not recognized
7754 # So say no if there are warnings other than the usual output.
7755 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7756 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7757 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7758 lt_cv_prog_compiler_rtti_exceptions=yes
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7765 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7767 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7768 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7780 lt_prog_compiler_wl=
7781 lt_prog_compiler_pic=
7782 lt_prog_compiler_static=
7785 if test "$GCC" = yes; then
7786 lt_prog_compiler_wl='-Wl,'
7787 lt_prog_compiler_static='-static'
7791 # All AIX code is PIC.
7792 if test "$host_cpu" = ia64; then
7793 # AIX 5 now supports IA64 processor
7794 lt_prog_compiler_static='-Bstatic'
7801 # see comment about AmigaOS4 .so support
7802 lt_prog_compiler_pic='-fPIC'
7805 # FIXME: we need at least 68020 code to build shared libraries, but
7806 # adding the `-m68020' flag to GCC prevents building anything better,
7808 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7813 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7814 # PIC is the default for these OSes.
7817 mingw* | cygwin* | pw32* | os2* | cegcc*)
7818 # This hack is so that the source file can tell whether it is being
7819 # built for inclusion in a dll (and should export symbols for example).
7820 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7821 # (--disable-auto-import) libraries
7822 lt_prog_compiler_pic='-DDLL_EXPORT'
7825 darwin* | rhapsody*)
7826 # PIC is the default on this platform
7827 # Common symbols not allowed in MH_DYLIB files
7828 lt_prog_compiler_pic='-fno-common'
7832 # PIC is the default for Haiku.
7833 # The "-static" flag exists, but is broken.
7834 lt_prog_compiler_static=
7838 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7839 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7840 # sets the default TLS model and affects inlining.
7846 lt_prog_compiler_pic='-fPIC'
7852 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7853 # Instead, we relocate shared libraries at runtime.
7857 # Just because we use GCC doesn't mean we suddenly get shared libraries
7858 # on systems that don't support them.
7859 lt_prog_compiler_can_build_shared=no
7864 # QNX uses GNU C++, but need to define -shared option too, otherwise
7866 lt_prog_compiler_pic='-fPIC -shared'
7870 if test -d /usr/nec; then
7871 lt_prog_compiler_pic=-Kconform_pic
7876 lt_prog_compiler_pic='-fPIC'
7880 case $cc_basename in
7881 nvcc*) # Cuda Compiler Driver 2.2
7882 lt_prog_compiler_wl='-Xlinker '
7883 lt_prog_compiler_pic='-Xcompiler -fPIC'
7887 # PORTME Check for flag to pass linker flags through the system compiler.
7890 lt_prog_compiler_wl='-Wl,'
7891 if test "$host_cpu" = ia64; then
7892 # AIX 5 now supports IA64 processor
7893 lt_prog_compiler_static='-Bstatic'
7895 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7899 mingw* | cygwin* | pw32* | os2* | cegcc*)
7900 # This hack is so that the source file can tell whether it is being
7901 # built for inclusion in a dll (and should export symbols for example).
7902 lt_prog_compiler_pic='-DDLL_EXPORT'
7905 hpux9* | hpux10* | hpux11*)
7906 lt_prog_compiler_wl='-Wl,'
7907 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7914 lt_prog_compiler_pic='+Z'
7917 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7918 lt_prog_compiler_static='${wl}-a ${wl}archive'
7921 irix5* | irix6* | nonstopux*)
7922 lt_prog_compiler_wl='-Wl,'
7923 # PIC (with -KPIC) is the default.
7924 lt_prog_compiler_static='-non_shared'
7927 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7928 case $cc_basename in
7929 # old Intel for x86_64 which still supported -KPIC.
7931 lt_prog_compiler_wl='-Wl,'
7932 lt_prog_compiler_pic='-KPIC'
7933 lt_prog_compiler_static='-static'
7935 # icc used to be incompatible with GCC.
7936 # ICC 10 doesn't accept -KPIC any more.
7938 lt_prog_compiler_wl='-Wl,'
7939 lt_prog_compiler_pic='-fPIC'
7940 lt_prog_compiler_static='-static'
7942 # Lahey Fortran 8.1.
7944 lt_prog_compiler_wl='-Wl,'
7945 lt_prog_compiler_pic='--shared'
7946 lt_prog_compiler_static='--static'
7949 # NAG Fortran compiler
7950 lt_prog_compiler_wl='-Wl,-Wl,,'
7951 lt_prog_compiler_pic='-PIC'
7952 lt_prog_compiler_static='-Bstatic'
7954 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7955 # Portland Group compilers (*not* the Pentium gcc compiler,
7956 # which looks to be a dead project)
7957 lt_prog_compiler_wl='-Wl,'
7958 lt_prog_compiler_pic='-fpic'
7959 lt_prog_compiler_static='-Bstatic'
7962 lt_prog_compiler_wl='-Wl,'
7963 # All Alpha code is PIC.
7964 lt_prog_compiler_static='-non_shared'
7966 xl* | bgxl* | bgf* | mpixl*)
7967 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7968 lt_prog_compiler_wl='-Wl,'
7969 lt_prog_compiler_pic='-qpic'
7970 lt_prog_compiler_static='-qstaticlink'
7973 case `$CC -V 2>&1 | sed 5q` in
7974 *Sun\ F* | *Sun*Fortran*)
7975 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7976 lt_prog_compiler_pic='-KPIC'
7977 lt_prog_compiler_static='-Bstatic'
7978 lt_prog_compiler_wl=''
7982 lt_prog_compiler_pic='-KPIC'
7983 lt_prog_compiler_static='-Bstatic'
7984 lt_prog_compiler_wl='-Wl,'
7992 lt_prog_compiler_pic='-KPIC'
7993 lt_prog_compiler_static='-Bstatic'
7997 # QNX uses GNU C++, but need to define -shared option too, otherwise
7999 lt_prog_compiler_pic='-fPIC -shared'
8002 osf3* | osf4* | osf5*)
8003 lt_prog_compiler_wl='-Wl,'
8004 # All OSF/1 code is PIC.
8005 lt_prog_compiler_static='-non_shared'
8009 lt_prog_compiler_static='-non_shared'
8013 lt_prog_compiler_pic='-KPIC'
8014 lt_prog_compiler_static='-Bstatic'
8015 case $cc_basename in
8016 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8017 lt_prog_compiler_wl='-Qoption ld ';;
8019 lt_prog_compiler_wl='-Wl,';;
8024 lt_prog_compiler_wl='-Qoption ld '
8025 lt_prog_compiler_pic='-PIC'
8026 lt_prog_compiler_static='-Bstatic'
8029 sysv4 | sysv4.2uw2* | sysv4.3*)
8030 lt_prog_compiler_wl='-Wl,'
8031 lt_prog_compiler_pic='-KPIC'
8032 lt_prog_compiler_static='-Bstatic'
8036 if test -d /usr/nec ;then
8037 lt_prog_compiler_pic='-Kconform_pic'
8038 lt_prog_compiler_static='-Bstatic'
8042 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8043 lt_prog_compiler_wl='-Wl,'
8044 lt_prog_compiler_pic='-KPIC'
8045 lt_prog_compiler_static='-Bstatic'
8049 lt_prog_compiler_wl='-Wl,'
8050 lt_prog_compiler_can_build_shared=no
8054 lt_prog_compiler_pic='-pic'
8055 lt_prog_compiler_static='-Bstatic'
8059 lt_prog_compiler_can_build_shared=no
8065 # For platforms which do not support PIC, -DPIC is meaningless:
8067 lt_prog_compiler_pic=
8070 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8075 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8076 if ${lt_cv_prog_compiler_pic+:} false; then :
8077 $as_echo_n "(cached) " >&6
8079 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8082 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8083 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8086 # Check to make sure the PIC flag actually works.
8088 if test -n "$lt_prog_compiler_pic"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8090 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8091 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8092 $as_echo_n "(cached) " >&6
8094 lt_cv_prog_compiler_pic_works=no
8095 ac_outfile=conftest.$ac_objext
8096 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8097 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8098 # Insert the option either (1) after the last *FLAGS variable, or
8099 # (2) before a word containing "conftest.", or (3) at the end.
8100 # Note that $ac_compile itself does not contain backslashes and begins
8101 # with a dollar sign (not a hyphen), so the echo should work correctly.
8102 # The option is referenced via a variable to avoid confusing sed.
8103 lt_compile=`echo "$ac_compile" | $SED \
8104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8106 -e 's:$: $lt_compiler_flag:'`
8107 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8108 (eval "$lt_compile" 2>conftest.err)
8110 cat conftest.err >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 if (exit $ac_status) && test -s "$ac_outfile"; then
8113 # The compiler can only warn and ignore the option if not recognized
8114 # So say no if there are warnings other than the usual output.
8115 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8116 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8117 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8118 lt_cv_prog_compiler_pic_works=yes
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8125 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8127 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8128 case $lt_prog_compiler_pic in
8130 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8133 lt_prog_compiler_pic=
8134 lt_prog_compiler_can_build_shared=no
8150 # Check to make sure the static flag actually works.
8152 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8154 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8155 if ${lt_cv_prog_compiler_static_works+:} false; then :
8156 $as_echo_n "(cached) " >&6
8158 lt_cv_prog_compiler_static_works=no
8159 save_LDFLAGS="$LDFLAGS"
8160 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8161 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8162 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8163 # The linker can only warn and ignore the option if not recognized
8164 # So say no if there are warnings
8165 if test -s conftest.err; then
8166 # Append any errors to the config.log.
8167 cat conftest.err 1>&5
8168 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8169 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8170 if diff conftest.exp conftest.er2 >/dev/null; then
8171 lt_cv_prog_compiler_static_works=yes
8174 lt_cv_prog_compiler_static_works=yes
8178 LDFLAGS="$save_LDFLAGS"
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8182 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8184 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8187 lt_prog_compiler_static=
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8197 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8198 if ${lt_cv_prog_compiler_c_o+:} false; then :
8199 $as_echo_n "(cached) " >&6
8201 lt_cv_prog_compiler_c_o=no
8202 $RM -r conftest 2>/dev/null
8206 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208 lt_compiler_flag="-o out/conftest2.$ac_objext"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 lt_compile=`echo "$ac_compile" | $SED \
8214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8216 -e 's:$: $lt_compiler_flag:'`
8217 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8218 (eval "$lt_compile" 2>out/conftest.err)
8220 cat out/conftest.err >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings
8226 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8227 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8228 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8229 lt_cv_prog_compiler_c_o=yes
8234 # SGI C++ compiler will create directory out/ii_files/ for
8235 # template instantiation
8236 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8237 $RM out/* && rmdir out
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8244 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8253 if ${lt_cv_prog_compiler_c_o+:} false; then :
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_prog_compiler_c_o=no
8257 $RM -r conftest 2>/dev/null
8261 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8263 lt_compiler_flag="-o out/conftest2.$ac_objext"
8264 # Insert the option either (1) after the last *FLAGS variable, or
8265 # (2) before a word containing "conftest.", or (3) at the end.
8266 # Note that $ac_compile itself does not contain backslashes and begins
8267 # with a dollar sign (not a hyphen), so the echo should work correctly.
8268 lt_compile=`echo "$ac_compile" | $SED \
8269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8271 -e 's:$: $lt_compiler_flag:'`
8272 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8273 (eval "$lt_compile" 2>out/conftest.err)
8275 cat out/conftest.err >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8279 # The compiler can only warn and ignore the option if not recognized
8280 # So say no if there are warnings
8281 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8282 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8283 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8284 lt_cv_prog_compiler_c_o=yes
8289 # SGI C++ compiler will create directory out/ii_files/ for
8290 # template instantiation
8291 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8292 $RM out/* && rmdir out
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8304 hard_links="nottested"
8305 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8306 # do not overwrite the value of need_locks provided by the user
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8308 $as_echo_n "checking if we can lock with hard links... " >&6; }
8311 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8313 ln conftest.a conftest.b 2>&5 || hard_links=no
8314 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8316 $as_echo "$hard_links" >&6; }
8317 if test "$hard_links" = no; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8319 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8332 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8335 allow_undefined_flag=
8336 always_export_symbols=no
8338 archive_expsym_cmds=
8339 compiler_needs_object=no
8340 enable_shared_with_static_runtimes=no
8341 export_dynamic_flag_spec=
8342 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8343 hardcode_automatic=no
8345 hardcode_direct_absolute=no
8346 hardcode_libdir_flag_spec=
8347 hardcode_libdir_flag_spec_ld=
8348 hardcode_libdir_separator=
8350 hardcode_shlibpath_var=unsupported
8352 link_all_deplibs=unknown
8355 old_archive_from_new_cmds=
8356 old_archive_from_expsyms_cmds=
8357 thread_safe_flag_spec=
8358 whole_archive_flag_spec=
8359 # include_expsyms should be a list of space-separated symbols to be *always*
8360 # included in the symbol list
8362 # exclude_expsyms can be an extended regexp of symbols to exclude
8363 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8364 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8365 # as well as any symbol that contains `d'.
8366 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8367 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8368 # platforms (ab)use it in PIC code, but their linkers get confused if
8369 # the symbol is explicitly referenced. Since portable code cannot
8370 # rely on this symbol name, it's probably fine to never include it in
8371 # preloaded symbol tables.
8372 # Exclude shared library initialization/finalization symbols.
8373 extract_expsyms_cmds=
8376 cygwin* | mingw* | pw32* | cegcc*)
8377 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8378 # When not using gcc, we currently assume that we are using
8379 # Microsoft Visual C++.
8380 if test "$GCC" != yes; then
8385 # we just hope/assume this is gcc and not c89 (= MSVC++)
8395 # On some targets, GNU ld is compatible enough with the native linker
8396 # that we're better off using the native interface for both.
8397 lt_use_gnu_ld_interface=no
8398 if test "$with_gnu_ld" = yes; then
8401 # The AIX port of GNU ld has always aspired to compatibility
8402 # with the native linker. However, as the warning in the GNU ld
8403 # block says, versions before 2.19.5* couldn't really create working
8404 # shared libraries, regardless of the interface used.
8405 case `$LD -v 2>&1` in
8406 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8407 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8408 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8410 lt_use_gnu_ld_interface=yes
8415 lt_use_gnu_ld_interface=yes
8420 if test "$lt_use_gnu_ld_interface" = yes; then
8421 # If archive_cmds runs LD, not CC, wlarc should be empty
8424 # Set some defaults for GNU ld with shared library support. These
8425 # are reset later if shared libraries are not supported. Putting them
8426 # here allows them to be overridden if necessary.
8427 runpath_var=LD_RUN_PATH
8428 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8429 export_dynamic_flag_spec='${wl}--export-dynamic'
8430 # ancient GNU ld didn't support --whole-archive et. al.
8431 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8432 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8434 whole_archive_flag_spec=
8436 supports_anon_versioning=no
8437 case `$LD -v 2>&1` in
8438 *GNU\ gold*) supports_anon_versioning=yes ;;
8439 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8440 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8441 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8442 *\ 2.11.*) ;; # other 2.11 versions
8443 *) supports_anon_versioning=yes ;;
8446 # See if GNU ld supports shared libraries.
8449 # On AIX/PPC, the GNU linker is very broken
8450 if test "$host_cpu" != ia64; then
8454 *** Warning: the GNU linker, at least up to release 2.19, is reported
8455 *** to be unable to reliably create shared libraries on AIX.
8456 *** Therefore, libtool is disabling shared libraries support. If you
8457 *** really care for shared libraries, you may want to install binutils
8458 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8459 *** You will then need to restart the configuration process.
8468 # see comment about AmigaOS4 .so support
8469 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8470 archive_expsym_cmds=''
8473 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)'
8474 hardcode_libdir_flag_spec='-L$libdir'
8475 hardcode_minus_L=yes
8481 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8482 allow_undefined_flag=unsupported
8483 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8484 # support --undefined. This deserves some investigation. FIXME
8485 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8491 cygwin* | mingw* | pw32* | cegcc*)
8492 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8493 # as there is no search path for DLLs.
8494 hardcode_libdir_flag_spec='-L$libdir'
8495 export_dynamic_flag_spec='${wl}--export-all-symbols'
8496 allow_undefined_flag=unsupported
8497 always_export_symbols=no
8498 enable_shared_with_static_runtimes=yes
8499 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'
8500 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8502 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8503 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8504 # If the export-symbols file already is a .def file (1st line
8505 # is EXPORTS), use it as is; otherwise, prepend...
8506 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8507 cp $export_symbols $output_objdir/$soname.def;
8509 echo EXPORTS > $output_objdir/$soname.def;
8510 cat $export_symbols >> $output_objdir/$soname.def;
8512 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8519 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8520 link_all_deplibs=yes
8525 hardcode_shlibpath_var=no
8526 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8527 export_dynamic_flag_spec='${wl}-E'
8528 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8529 # Instead, shared libraries are loaded at an image base (0x10000000 by
8530 # default) and relocated if they conflict, which is a slow very memory
8531 # consuming and fragmenting process. To avoid this, we pick a random,
8532 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8533 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8534 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8535 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'
8538 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8540 if test "$host_os" = linux-dietlibc; then
8541 case $cc_basename in
8542 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8545 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8546 && test "$tmp_diet" = no
8548 tmp_addflag=' $pic_flag'
8549 tmp_sharedflag='-shared'
8550 case $cc_basename,$host_cpu in
8551 pgcc*) # Portland Group C compiler
8552 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'
8553 tmp_addflag=' $pic_flag'
8555 pgf77* | pgf90* | pgf95* | pgfortran*)
8556 # Portland Group f77 and f90 compilers
8557 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'
8558 tmp_addflag=' $pic_flag -Mnomain' ;;
8559 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8560 tmp_addflag=' -i_dynamic' ;;
8561 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8562 tmp_addflag=' -i_dynamic -nofor_main' ;;
8563 ifc* | ifort*) # Intel Fortran compiler
8564 tmp_addflag=' -nofor_main' ;;
8565 lf95*) # Lahey Fortran 8.1
8566 whole_archive_flag_spec=
8567 tmp_sharedflag='--shared' ;;
8568 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8569 tmp_sharedflag='-qmkshrobj'
8571 nvcc*) # Cuda Compiler Driver 2.2
8572 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'
8573 compiler_needs_object=yes
8576 case `$CC -V 2>&1 | sed 5q` in
8577 *Sun\ C*) # Sun C 5.9
8578 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'
8579 compiler_needs_object=yes
8580 tmp_sharedflag='-G' ;;
8581 *Sun\ F*) # Sun Fortran 8.3
8582 tmp_sharedflag='-G' ;;
8584 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8586 if test "x$supports_anon_versioning" = xyes; then
8587 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8588 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8589 echo "local: *; };" >> $output_objdir/$libname.ver~
8590 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8593 case $cc_basename in
8594 xlf* | bgf* | bgxlf* | mpixlf*)
8595 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8596 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8597 hardcode_libdir_flag_spec=
8598 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8599 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8600 if test "x$supports_anon_versioning" = xyes; then
8601 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8602 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8603 echo "local: *; };" >> $output_objdir/$libname.ver~
8604 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8614 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8615 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8618 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8619 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8624 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8628 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8629 *** create shared libraries on Solaris systems. Therefore, libtool
8630 *** is disabling shared libraries support. We urge you to upgrade GNU
8631 *** binutils to release 2.9.1 or newer. Another option is to modify
8632 *** your PATH or compiler configuration so that the native linker is
8633 *** used, and then restart.
8636 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8637 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8644 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8645 case `$LD -v 2>&1` in
8646 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8650 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8651 *** reliably create shared libraries on SCO systems. Therefore, libtool
8652 *** is disabling shared libraries support. We urge you to upgrade GNU
8653 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8654 *** your PATH or compiler configuration so that the native linker is
8655 *** used, and then restart.
8660 # For security reasons, it is highly recommended that you always
8661 # use absolute paths for naming shared libraries, and exclude the
8662 # DT_RUNPATH tag from executables and libraries. But doing so
8663 # requires that you compile everything twice, which is a pain.
8664 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8665 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8666 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8667 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8676 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8679 hardcode_shlibpath_var=no
8683 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8684 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8692 if test "$ld_shlibs" = no; then
8694 hardcode_libdir_flag_spec=
8695 export_dynamic_flag_spec=
8696 whole_archive_flag_spec=
8699 # PORTME fill in a description of your system's linker (not GNU ld)
8702 allow_undefined_flag=unsupported
8703 always_export_symbols=yes
8704 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'
8705 # Note: this linker hardcodes the directories in LIBPATH if there
8706 # are no directories specified by -L.
8707 hardcode_minus_L=yes
8708 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8709 # Neither direct hardcoding nor static linking is supported with a
8711 hardcode_direct=unsupported
8716 if test "$host_cpu" = ia64; then
8717 # On IA64, the linker does run time linking by default, so we don't
8718 # have to do anything special.
8719 aix_use_runtimelinking=no
8720 exp_sym_flag='-Bexport'
8723 # If we're using GNU nm, then we don't want the "-C" option.
8724 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8725 # Also, AIX nm treats weak defined symbols like other global
8726 # defined symbols, whereas GNU nm marks them as "W".
8727 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8728 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'
8730 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'
8732 aix_use_runtimelinking=no
8734 # Test if we are trying to use run time linking or normal
8735 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8736 # need to do runtime linking.
8737 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8738 for ld_flag in $LDFLAGS; do
8739 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8740 aix_use_runtimelinking=yes
8747 exp_sym_flag='-bexport'
8748 no_entry_flag='-bnoentry'
8751 # When large executables or shared objects are built, AIX ld can
8752 # have problems creating the table of contents. If linking a library
8753 # or program results in "error TOC overflow" add -mminimal-toc to
8754 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8755 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8759 hardcode_direct_absolute=yes
8760 hardcode_libdir_separator=':'
8761 link_all_deplibs=yes
8762 file_list_spec='${wl}-f,'
8764 if test "$GCC" = yes; then
8765 case $host_os in aix4.[012]|aix4.[012].*)
8766 # We only want to do this on AIX 4.2 and lower, the check
8767 # below for broken collect2 doesn't work under 4.3+
8768 collect2name=`${CC} -print-prog-name=collect2`
8769 if test -f "$collect2name" &&
8770 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8772 # We have reworked collect2
8775 # We have old collect2
8776 hardcode_direct=unsupported
8777 # It fails to find uninstalled libraries when the uninstalled
8778 # path is not listed in the libpath. Setting hardcode_minus_L
8779 # to unsupported forces relinking
8780 hardcode_minus_L=yes
8781 hardcode_libdir_flag_spec='-L$libdir'
8782 hardcode_libdir_separator=
8786 shared_flag='-shared'
8787 if test "$aix_use_runtimelinking" = yes; then
8788 shared_flag="$shared_flag "'${wl}-G'
8792 if test "$host_cpu" = ia64; then
8793 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8794 # chokes on -Wl,-G. The following line is correct:
8797 if test "$aix_use_runtimelinking" = yes; then
8798 shared_flag='${wl}-G'
8800 shared_flag='${wl}-bM:SRE'
8805 export_dynamic_flag_spec='${wl}-bexpall'
8806 # It seems that -bexpall does not export symbols beginning with
8807 # underscore (_), so it is better to generate a list of symbols to export.
8808 always_export_symbols=yes
8809 if test "$aix_use_runtimelinking" = yes; then
8810 # Warning - without using the other runtime loading flags (-brtl),
8811 # -berok will link without error, but may produce a broken library.
8812 allow_undefined_flag='-berok'
8813 # Determine the default libpath from the value encoded in an
8815 if test "${lt_cv_aix_libpath+set}" = set; then
8816 aix_libpath=$lt_cv_aix_libpath
8818 if ${lt_cv_aix_libpath_+:} false; then :
8819 $as_echo_n "(cached) " >&6
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8832 if ac_fn_c_try_link "$LINENO"; then :
8834 lt_aix_libpath_sed='
8835 /Import File Strings/,/^$/ {
8837 s/^0 *\([^ ]*\) *$/\1/
8841 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8842 # Check for a 64-bit object if we didn't find anything.
8843 if test -z "$lt_cv_aix_libpath_"; then
8844 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8847 rm -f core conftest.err conftest.$ac_objext \
8848 conftest$ac_exeext conftest.$ac_ext
8849 if test -z "$lt_cv_aix_libpath_"; then
8850 lt_cv_aix_libpath_="/usr/lib:/lib"
8855 aix_libpath=$lt_cv_aix_libpath_
8858 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8859 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"
8861 if test "$host_cpu" = ia64; then
8862 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8863 allow_undefined_flag="-z nodefs"
8864 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"
8866 # Determine the default libpath from the value encoded in an
8868 if test "${lt_cv_aix_libpath+set}" = set; then
8869 aix_libpath=$lt_cv_aix_libpath
8871 if ${lt_cv_aix_libpath_+:} false; then :
8872 $as_echo_n "(cached) " >&6
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8885 if ac_fn_c_try_link "$LINENO"; then :
8887 lt_aix_libpath_sed='
8888 /Import File Strings/,/^$/ {
8890 s/^0 *\([^ ]*\) *$/\1/
8894 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8895 # Check for a 64-bit object if we didn't find anything.
8896 if test -z "$lt_cv_aix_libpath_"; then
8897 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8900 rm -f core conftest.err conftest.$ac_objext \
8901 conftest$ac_exeext conftest.$ac_ext
8902 if test -z "$lt_cv_aix_libpath_"; then
8903 lt_cv_aix_libpath_="/usr/lib:/lib"
8908 aix_libpath=$lt_cv_aix_libpath_
8911 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8912 # Warning - without using the other run time loading flags,
8913 # -berok will link without error, but may produce a broken library.
8914 no_undefined_flag=' ${wl}-bernotok'
8915 allow_undefined_flag=' ${wl}-berok'
8916 if test "$with_gnu_ld" = yes; then
8917 # We only use this code for GNU lds that support --whole-archive.
8918 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8920 # Exported symbols can be pulled into shared objects from archives
8921 whole_archive_flag_spec='$convenience'
8923 archive_cmds_need_lc=yes
8924 # This is similar to how AIX traditionally builds its shared libraries.
8925 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'
8933 # see comment about AmigaOS4 .so support
8934 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935 archive_expsym_cmds=''
8938 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)'
8939 hardcode_libdir_flag_spec='-L$libdir'
8940 hardcode_minus_L=yes
8946 export_dynamic_flag_spec=-rdynamic
8949 cygwin* | mingw* | pw32* | cegcc*)
8950 # When not using gcc, we currently assume that we are using
8951 # Microsoft Visual C++.
8952 # hardcode_libdir_flag_spec is actually meaningless, as there is
8953 # no search path for DLLs.
8954 case $cc_basename in
8957 hardcode_libdir_flag_spec=' '
8958 allow_undefined_flag=unsupported
8959 always_export_symbols=yes
8961 # Tell ltmain to make .lib files, not .a files.
8963 # Tell ltmain to make .dll files, not .so files.
8965 # FIXME: Setting linknames here is a bad hack.
8966 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8967 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8968 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8970 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8972 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8974 # The linker will not automatically build a static lib if we build a DLL.
8975 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8976 enable_shared_with_static_runtimes=yes
8977 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8979 old_postinstall_cmds='chmod 644 $oldlib'
8980 postlink_cmds='lt_outputfile="@OUTPUT@"~
8981 lt_tool_outputfile="@TOOL_OUTPUT@"~
8982 case $lt_outputfile in
8985 lt_outputfile="$lt_outputfile.exe"
8986 lt_tool_outputfile="$lt_tool_outputfile.exe"
8989 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8990 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8991 $RM "$lt_outputfile.manifest";
8995 # Assume MSVC wrapper
8996 hardcode_libdir_flag_spec=' '
8997 allow_undefined_flag=unsupported
8998 # Tell ltmain to make .lib files, not .a files.
9000 # Tell ltmain to make .dll files, not .so files.
9002 # FIXME: Setting linknames here is a bad hack.
9003 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9004 # The linker will automatically build a .lib file if we build a DLL.
9005 old_archive_from_new_cmds='true'
9006 # FIXME: Should let the user specify the lib program.
9007 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9008 enable_shared_with_static_runtimes=yes
9013 darwin* | rhapsody*)
9016 archive_cmds_need_lc=no
9018 hardcode_automatic=yes
9019 hardcode_shlibpath_var=unsupported
9020 if test "$lt_cv_ld_force_load" = "yes"; then
9021 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\"`'
9023 whole_archive_flag_spec=''
9025 link_all_deplibs=yes
9026 allow_undefined_flag="$_lt_dar_allow_undefined"
9027 case $cc_basename in
9028 ifort*) _lt_dar_can_shared=yes ;;
9029 *) _lt_dar_can_shared=$GCC ;;
9031 if test "$_lt_dar_can_shared" = "yes"; then
9032 output_verbose_link_cmd=func_echo_all
9033 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9034 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9035 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}"
9036 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}"
9045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9046 hardcode_libdir_flag_spec='-L$libdir'
9047 hardcode_shlibpath_var=no
9054 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9055 # support. Future versions do this automatically, but an explicit c++rt0.o
9056 # does not break anything, and helps significantly (at the cost of a little
9059 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9060 hardcode_libdir_flag_spec='-R$libdir'
9062 hardcode_shlibpath_var=no
9065 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9067 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9069 hardcode_minus_L=yes
9070 hardcode_shlibpath_var=no
9073 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9074 freebsd* | dragonfly*)
9075 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9076 hardcode_libdir_flag_spec='-R$libdir'
9078 hardcode_shlibpath_var=no
9082 if test "$GCC" = yes; then
9083 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'
9085 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'
9087 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9088 hardcode_libdir_separator=:
9091 # hardcode_minus_L: Not really in the search PATH,
9092 # but as the default location of the library.
9093 hardcode_minus_L=yes
9094 export_dynamic_flag_spec='${wl}-E'
9098 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9099 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9101 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9103 if test "$with_gnu_ld" = no; then
9104 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9105 hardcode_libdir_flag_spec_ld='+b $libdir'
9106 hardcode_libdir_separator=:
9108 hardcode_direct_absolute=yes
9109 export_dynamic_flag_spec='${wl}-E'
9110 # hardcode_minus_L: Not really in the search PATH,
9111 # but as the default location of the library.
9112 hardcode_minus_L=yes
9117 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9120 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9126 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9135 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9139 # Older versions of the 11.00 compiler do not understand -b yet
9140 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9142 $as_echo_n "checking if $CC understands -b... " >&6; }
9143 if ${lt_cv_prog_compiler__b+:} false; then :
9144 $as_echo_n "(cached) " >&6
9146 lt_cv_prog_compiler__b=no
9147 save_LDFLAGS="$LDFLAGS"
9148 LDFLAGS="$LDFLAGS -b"
9149 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9150 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9151 # The linker can only warn and ignore the option if not recognized
9152 # So say no if there are warnings
9153 if test -s conftest.err; then
9154 # Append any errors to the config.log.
9155 cat conftest.err 1>&5
9156 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9157 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9158 if diff conftest.exp conftest.er2 >/dev/null; then
9159 lt_cv_prog_compiler__b=yes
9162 lt_cv_prog_compiler__b=yes
9166 LDFLAGS="$save_LDFLAGS"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9170 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9172 if test x"$lt_cv_prog_compiler__b" = xyes; then
9173 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9175 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9181 if test "$with_gnu_ld" = no; then
9182 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9183 hardcode_libdir_separator=:
9188 hardcode_shlibpath_var=no
9192 hardcode_direct_absolute=yes
9193 export_dynamic_flag_spec='${wl}-E'
9195 # hardcode_minus_L: Not really in the search PATH,
9196 # but as the default location of the library.
9197 hardcode_minus_L=yes
9203 irix5* | irix6* | nonstopux*)
9204 if test "$GCC" = yes; then
9205 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'
9206 # Try to use the -exported_symbol ld option, if it does not
9207 # work, assume that -exports_file does not work either and
9208 # implicitly export all symbols.
9209 # This should be the same for all languages, so no per-tag cache variable.
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9211 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9212 if ${lt_cv_irix_exported_symbol+:} false; then :
9213 $as_echo_n "(cached) " >&6
9215 save_LDFLAGS="$LDFLAGS"
9216 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9219 int foo (void) { return 0; }
9221 if ac_fn_c_try_link "$LINENO"; then :
9222 lt_cv_irix_exported_symbol=yes
9224 lt_cv_irix_exported_symbol=no
9226 rm -f core conftest.err conftest.$ac_objext \
9227 conftest$ac_exeext conftest.$ac_ext
9228 LDFLAGS="$save_LDFLAGS"
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9231 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9232 if test "$lt_cv_irix_exported_symbol" = yes; then
9233 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'
9236 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'
9237 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'
9239 archive_cmds_need_lc='no'
9240 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9241 hardcode_libdir_separator=:
9243 link_all_deplibs=yes
9247 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9248 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9250 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9252 hardcode_libdir_flag_spec='-R$libdir'
9254 hardcode_shlibpath_var=no
9258 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9260 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9261 hardcode_libdir_separator=:
9262 hardcode_shlibpath_var=no
9269 if test -f /usr/libexec/ld.so; then
9271 hardcode_shlibpath_var=no
9272 hardcode_direct_absolute=yes
9273 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9274 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9275 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9276 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9277 export_dynamic_flag_spec='${wl}-E'
9280 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9281 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9282 hardcode_libdir_flag_spec='-R$libdir'
9285 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9286 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9296 hardcode_libdir_flag_spec='-L$libdir'
9297 hardcode_minus_L=yes
9298 allow_undefined_flag=unsupported
9299 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'
9300 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9304 if test "$GCC" = yes; then
9305 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9306 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'
9308 allow_undefined_flag=' -expect_unresolved \*'
9309 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'
9311 archive_cmds_need_lc='no'
9312 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9313 hardcode_libdir_separator=:
9316 osf4* | osf5*) # as osf3* with the addition of -msym flag
9317 if test "$GCC" = yes; then
9318 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9319 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'
9320 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9322 allow_undefined_flag=' -expect_unresolved \*'
9323 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'
9324 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~
9325 $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'
9327 # Both c and cxx compiler support -rpath directly
9328 hardcode_libdir_flag_spec='-rpath $libdir'
9330 archive_cmds_need_lc='no'
9331 hardcode_libdir_separator=:
9335 no_undefined_flag=' -z defs'
9336 if test "$GCC" = yes; then
9338 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9339 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9340 $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'
9342 case `$CC -V 2>&1` in
9345 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9346 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9347 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9351 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9352 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9353 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9357 hardcode_libdir_flag_spec='-R$libdir'
9358 hardcode_shlibpath_var=no
9360 solaris2.[0-5] | solaris2.[0-5].*) ;;
9362 # The compiler driver will combine and reorder linker options,
9363 # but understands `-z linker_flag'. GCC discards it without `$wl',
9364 # but is careful enough not to reorder.
9365 # Supported since Solaris 2.6 (maybe 2.5.1?)
9366 if test "$GCC" = yes; then
9367 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9369 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9373 link_all_deplibs=yes
9377 if test "x$host_vendor" = xsequent; then
9378 # Use $CC to link under sequent, because it throws in some extra .o
9379 # files that make .init and .fini sections work.
9380 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9384 hardcode_libdir_flag_spec='-L$libdir'
9386 hardcode_minus_L=yes
9387 hardcode_shlibpath_var=no
9391 case $host_vendor in
9393 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9394 hardcode_direct=yes # is this really true???
9397 ## LD is ld it makes a PLAMLIB
9398 ## CC just makes a GrossModule.
9399 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9400 reload_cmds='$CC -r -o $output$reload_objs'
9404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9408 runpath_var='LD_RUN_PATH'
9409 hardcode_shlibpath_var=no
9413 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_shlibpath_var=no
9415 export_dynamic_flag_spec='-Bexport'
9419 if test -d /usr/nec; then
9420 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9421 hardcode_shlibpath_var=no
9422 runpath_var=LD_RUN_PATH
9423 hardcode_runpath_var=yes
9428 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9429 no_undefined_flag='${wl}-z,text'
9430 archive_cmds_need_lc=no
9431 hardcode_shlibpath_var=no
9432 runpath_var='LD_RUN_PATH'
9434 if test "$GCC" = yes; then
9435 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9438 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9443 sysv5* | sco3.2v5* | sco5v6*)
9444 # Note: We can NOT use -z defs as we might desire, because we do not
9445 # link with -lc, and that would cause any symbols used from libc to
9446 # always be unresolved, which means just about no library would
9447 # ever link correctly. If we're not using GNU ld we use -z text
9448 # though, which does catch some bad symbols but isn't as heavy-handed
9450 no_undefined_flag='${wl}-z,text'
9451 allow_undefined_flag='${wl}-z,nodefs'
9452 archive_cmds_need_lc=no
9453 hardcode_shlibpath_var=no
9454 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9455 hardcode_libdir_separator=':'
9456 link_all_deplibs=yes
9457 export_dynamic_flag_spec='${wl}-Bexport'
9458 runpath_var='LD_RUN_PATH'
9460 if test "$GCC" = yes; then
9461 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9462 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9464 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9465 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9471 hardcode_libdir_flag_spec='-L$libdir'
9472 hardcode_shlibpath_var=no
9480 if test x$host_vendor = xsni; then
9482 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9483 export_dynamic_flag_spec='${wl}-Blargedynsym'
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9490 $as_echo "$ld_shlibs" >&6; }
9491 test "$ld_shlibs" = no && can_build_shared=no
9493 with_gnu_ld=$with_gnu_ld
9510 # Do we need to explicitly link libc?
9512 case "x$archive_cmds_need_lc" in
9514 # Assume -lc should be added
9515 archive_cmds_need_lc=yes
9517 if test "$enable_shared" = yes && test "$GCC" = yes; then
9518 case $archive_cmds in
9520 # FIXME: we may have to deal with multi-command sequences.
9523 # Test whether the compiler implicitly links with -lc since on some
9524 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9525 # to ld, don't add -lc before -lgcc.
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9527 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9528 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9529 $as_echo_n "(cached) " >&6
9532 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9535 (eval $ac_compile) 2>&5
9537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9538 test $ac_status = 0; } 2>conftest.err; then
9541 libobjs=conftest.$ac_objext
9543 wl=$lt_prog_compiler_wl
9544 pic_flag=$lt_prog_compiler_pic
9550 lt_save_allow_undefined_flag=$allow_undefined_flag
9551 allow_undefined_flag=
9552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9553 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9556 test $ac_status = 0; }
9558 lt_cv_archive_cmds_need_lc=no
9560 lt_cv_archive_cmds_need_lc=yes
9562 allow_undefined_flag=$lt_save_allow_undefined_flag
9564 cat conftest.err 1>&5
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9570 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9571 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9735 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9737 if test "$GCC" = yes; then
9739 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9740 *) lt_awk_arg="/^libraries:/" ;;
9743 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9744 *) lt_sed_strip_eq="s,=/,/,g" ;;
9746 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9747 case $lt_search_path_spec in
9749 # if the path contains ";" then we assume it to be the separator
9750 # otherwise default to the standard path separator (i.e. ":") - it is
9751 # assumed that no part of a normal pathname contains ";" but that should
9752 # okay in the real world where ";" in dirpaths is itself problematic.
9753 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9756 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9759 # Ok, now we have the path, separated by spaces, we can step through it
9760 # and add multilib dir if necessary.
9761 lt_tmp_lt_search_path_spec=
9762 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9763 for lt_sys_path in $lt_search_path_spec; do
9764 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9765 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9767 test -d "$lt_sys_path" && \
9768 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9771 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9772 BEGIN {RS=" "; FS="/|\n";} {
9775 for (lt_i = NF; lt_i > 0; lt_i--) {
9776 if ($lt_i != "" && $lt_i != ".") {
9777 if ($lt_i == "..") {
9780 if (lt_count == 0) {
9781 lt_foo="/" $lt_i lt_foo;
9788 if (lt_foo != "") { lt_freq[lt_foo]++; }
9789 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9791 # AWK program above erroneously prepends '/' to C:/dos/paths
9794 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9795 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9797 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9799 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9802 libname_spec='lib$name'
9810 shlibpath_overrides_runpath=unknown
9812 dynamic_linker="$host_os ld.so"
9813 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9814 need_lib_prefix=unknown
9815 hardcode_into_libs=no
9817 # when you set need_version to no, make sure it does not cause -set_version
9818 # flags to be left without arguments
9819 need_version=unknown
9824 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9825 shlibpath_var=LIBPATH
9827 # AIX 3 has no versioning support, so we append a major version to the name.
9828 soname_spec='${libname}${release}${shared_ext}$major'
9835 hardcode_into_libs=yes
9836 if test "$host_cpu" = ia64; then
9837 # AIX 5 supports IA64
9838 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9839 shlibpath_var=LD_LIBRARY_PATH
9841 # With GCC up to 2.95.x, collect2 would create an import file
9842 # for dependence libraries. The import file would start with
9843 # the line `#! .'. This would cause the generated library to
9844 # depend on `.', always an invalid library. This was fixed in
9845 # development snapshots of GCC prior to 3.0.
9847 aix4 | aix4.[01] | aix4.[01].*)
9848 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9850 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9857 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9858 # soname into executable. Probably we can add versioning support to
9859 # collect2, so additional links can be useful in future.
9860 if test "$aix_use_runtimelinking" = yes; then
9861 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9862 # instead of lib<name>.a to let people know that these are not
9863 # typical AIX shared libraries.
9864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9866 # We preserve .a as extension for shared libraries through AIX4.2
9867 # and later when we are not doing run time linking.
9868 library_names_spec='${libname}${release}.a $libname.a'
9869 soname_spec='${libname}${release}${shared_ext}$major'
9871 shlibpath_var=LIBPATH
9878 # Since July 2007 AmigaOS4 officially supports .so libraries.
9879 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9883 library_names_spec='$libname.ixlibrary $libname.a'
9884 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9885 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'
9891 library_names_spec='${libname}${shared_ext}'
9892 dynamic_linker="$host_os ld.so"
9893 shlibpath_var=LIBRARY_PATH
9899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900 soname_spec='${libname}${release}${shared_ext}$major'
9901 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9902 shlibpath_var=LD_LIBRARY_PATH
9903 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9904 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9905 # the default ld.so.conf also contains /usr/contrib/lib and
9906 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9907 # libtool to hard-code these into programs
9910 cygwin* | mingw* | pw32* | cegcc*)
9911 version_type=windows
9916 case $GCC,$cc_basename in
9919 library_names_spec='$libname.dll.a'
9920 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9921 postinstall_cmds='base_file=`basename \${file}`~
9922 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9923 dldir=$destdir/`dirname \$dlpath`~
9924 test -d \$dldir || mkdir -p \$dldir~
9925 $install_prog $dir/$dlname \$dldir/$dlname~
9926 chmod a+x \$dldir/$dlname~
9927 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9928 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9930 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9931 dlpath=$dir/\$dldll~
9933 shlibpath_overrides_runpath=yes
9937 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9938 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9940 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9943 # MinGW DLLs use traditional 'lib' prefix
9944 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9947 # pw32 DLLs use 'pw' prefix rather than 'lib'
9948 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9951 dynamic_linker='Win32 ld.exe'
9956 libname_spec='$name'
9957 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9958 library_names_spec='${libname}.dll.lib'
9962 sys_lib_search_path_spec=
9968 # Let DOS variable expansion print the short 8.3 style file name.
9969 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9970 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9973 # Convert to MSYS style.
9974 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9977 # Convert to unix form, then to dos form, then back to unix form
9978 # but this time dos style (no spaces!) so that the unix form looks
9979 # like /cygdrive/c/PROGRA~1:/cygdr...
9980 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9981 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9982 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9985 sys_lib_search_path_spec="$LIB"
9986 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9987 # It is most probably a Windows format PATH.
9988 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9990 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9992 # FIXME: find the short name or the path components, as spaces are
9993 # common. (e.g. "Program Files" -> "PROGRA~1")
9997 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9998 postinstall_cmds='base_file=`basename \${file}`~
9999 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10000 dldir=$destdir/`dirname \$dlpath`~
10001 test -d \$dldir || mkdir -p \$dldir~
10002 $install_prog $dir/$dlname \$dldir/$dlname'
10003 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10004 dlpath=$dir/\$dldll~
10006 shlibpath_overrides_runpath=yes
10007 dynamic_linker='Win32 link.exe'
10011 # Assume MSVC wrapper
10012 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10013 dynamic_linker='Win32 ld.exe'
10016 # FIXME: first we should search . and the directory the executable is in
10020 darwin* | rhapsody*)
10021 dynamic_linker="$host_os dyld"
10022 version_type=darwin
10025 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10026 soname_spec='${libname}${release}${major}$shared_ext'
10027 shlibpath_overrides_runpath=yes
10028 shlibpath_var=DYLD_LIBRARY_PATH
10029 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10031 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10032 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10040 soname_spec='${libname}${release}${shared_ext}$major'
10041 shlibpath_var=LD_LIBRARY_PATH
10048 freebsd* | dragonfly*)
10049 # DragonFly does not have aout. When/if they implement a new
10050 # versioning mechanism, adjust this.
10051 if test -x /usr/bin/objformat; then
10052 objformat=`/usr/bin/objformat`
10055 freebsd[123]*) objformat=aout ;;
10056 *) objformat=elf ;;
10059 version_type=freebsd-$objformat
10060 case $version_type in
10062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10067 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10071 shlibpath_var=LD_LIBRARY_PATH
10074 shlibpath_overrides_runpath=yes
10076 freebsd3.[01]* | freebsdelf3.[01]*)
10077 shlibpath_overrides_runpath=yes
10078 hardcode_into_libs=yes
10080 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10081 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10082 shlibpath_overrides_runpath=no
10083 hardcode_into_libs=yes
10085 *) # from 4.6 on, and DragonFly
10086 shlibpath_overrides_runpath=yes
10087 hardcode_into_libs=yes
10096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10097 soname_spec='${libname}${release}${shared_ext}$major'
10098 shlibpath_var=LD_LIBRARY_PATH
10099 hardcode_into_libs=yes
10106 dynamic_linker="$host_os runtime_loader"
10107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10108 soname_spec='${libname}${release}${shared_ext}$major'
10109 shlibpath_var=LIBRARY_PATH
10110 shlibpath_overrides_runpath=yes
10111 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10112 hardcode_into_libs=yes
10115 hpux9* | hpux10* | hpux11*)
10116 # Give a soname corresponding to the major version so that dld.sl refuses to
10117 # link against other versions.
10124 hardcode_into_libs=yes
10125 dynamic_linker="$host_os dld.so"
10126 shlibpath_var=LD_LIBRARY_PATH
10127 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 soname_spec='${libname}${release}${shared_ext}$major'
10130 if test "X$HPUX_IA64_MODE" = X32; then
10131 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10133 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10135 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10139 hardcode_into_libs=yes
10140 dynamic_linker="$host_os dld.sl"
10141 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10142 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10144 soname_spec='${libname}${release}${shared_ext}$major'
10145 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10146 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10150 dynamic_linker="$host_os dld.sl"
10151 shlibpath_var=SHLIB_PATH
10152 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10154 soname_spec='${libname}${release}${shared_ext}$major'
10157 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10158 postinstall_cmds='chmod 555 $lib'
10159 # or fails outright, so override atomically:
10160 install_override_mode=555
10167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10168 soname_spec='${libname}${release}${shared_ext}$major'
10169 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10170 shlibpath_var=LD_LIBRARY_PATH
10171 shlibpath_overrides_runpath=no
10172 hardcode_into_libs=yes
10175 irix5* | irix6* | nonstopux*)
10177 nonstopux*) version_type=nonstopux ;;
10179 if test "$lt_cv_prog_gnu_ld" = yes; then
10187 soname_spec='${libname}${release}${shared_ext}$major'
10188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10190 irix5* | nonstopux*)
10191 libsuff= shlibsuff=
10194 case $LD in # libtool.m4 will add one of these switches to LD
10195 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10196 libsuff= shlibsuff= libmagic=32-bit;;
10197 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10198 libsuff=32 shlibsuff=N32 libmagic=N32;;
10199 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10200 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10201 *) libsuff= shlibsuff= libmagic=never-match;;
10205 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10206 shlibpath_overrides_runpath=no
10207 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10208 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10209 hardcode_into_libs=yes
10212 # No shared lib support for Linux oldld, aout, or coff.
10213 linux*oldld* | linux*aout* | linux*coff*)
10217 # This must be Linux ELF.
10218 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 soname_spec='${libname}${release}${shared_ext}$major'
10224 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10225 shlibpath_var=LD_LIBRARY_PATH
10226 shlibpath_overrides_runpath=no
10228 # Some binutils ld are patched to set DT_RUNPATH
10229 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10230 $as_echo_n "(cached) " >&6
10232 lt_cv_shlibpath_overrides_runpath=no
10233 save_LDFLAGS=$LDFLAGS
10234 save_libdir=$libdir
10235 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10236 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10250 lt_cv_shlibpath_overrides_runpath=yes
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 LDFLAGS=$save_LDFLAGS
10256 libdir=$save_libdir
10260 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10262 # This implies no fast_install, which is unacceptable.
10263 # Some rework will be needed to allow for fast_install
10264 # before this can be enabled.
10265 hardcode_into_libs=yes
10267 # Append ld.so.conf contents to the search path
10268 if test -f /etc/ld.so.conf; then
10269 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' ' '`
10270 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10273 # We used to test for /lib/ld.so.1 and disable shared libraries on
10274 # powerpc, because MkLinux only supported shared libraries with the
10275 # GNU dynamic linker. Since this was broken with cross compilers,
10276 # most powerpc-linux boxes support dynamic linking these days and
10277 # people can always --disable-shared, the test was removed, and we
10278 # assume the GNU/Linux dynamic linker is in use.
10279 dynamic_linker='GNU/Linux ld.so'
10286 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10288 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10289 dynamic_linker='NetBSD (a.out) ld.so'
10291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10292 soname_spec='${libname}${release}${shared_ext}$major'
10293 dynamic_linker='NetBSD ld.elf_so'
10295 shlibpath_var=LD_LIBRARY_PATH
10296 shlibpath_overrides_runpath=yes
10297 hardcode_into_libs=yes
10302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10303 shlibpath_var=LD_LIBRARY_PATH
10304 shlibpath_overrides_runpath=yes
10311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10312 soname_spec='${libname}${release}${shared_ext}$major'
10313 shlibpath_var=LD_LIBRARY_PATH
10314 shlibpath_overrides_runpath=no
10315 hardcode_into_libs=yes
10316 dynamic_linker='ldqnx.so'
10321 sys_lib_dlsearch_path_spec="/usr/lib"
10323 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10325 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10326 *) need_version=no ;;
10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10329 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10330 shlibpath_var=LD_LIBRARY_PATH
10331 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10333 openbsd2.[89] | openbsd2.[89].*)
10334 shlibpath_overrides_runpath=no
10337 shlibpath_overrides_runpath=yes
10341 shlibpath_overrides_runpath=yes
10346 libname_spec='$name'
10349 library_names_spec='$libname${shared_ext} $libname.a'
10350 dynamic_linker='OS/2 ld.exe'
10351 shlibpath_var=LIBPATH
10354 osf3* | osf4* | osf5*)
10358 soname_spec='${libname}${release}${shared_ext}$major'
10359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360 shlibpath_var=LD_LIBRARY_PATH
10361 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10362 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10374 soname_spec='${libname}${release}${shared_ext}$major'
10375 shlibpath_var=LD_LIBRARY_PATH
10376 shlibpath_overrides_runpath=yes
10377 hardcode_into_libs=yes
10378 # ldd complains unless libraries are executable
10379 postinstall_cmds='chmod +x $lib'
10384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10385 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10386 shlibpath_var=LD_LIBRARY_PATH
10387 shlibpath_overrides_runpath=yes
10388 if test "$with_gnu_ld" = yes; then
10396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397 soname_spec='${libname}${release}${shared_ext}$major'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 case $host_vendor in
10401 shlibpath_overrides_runpath=no
10403 runpath_var=LD_RUN_PATH
10411 shlibpath_overrides_runpath=no
10412 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10418 if test -d /usr/nec ;then
10420 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10421 soname_spec='$libname${shared_ext}.$major'
10422 shlibpath_var=LD_LIBRARY_PATH
10426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10427 version_type=freebsd-elf
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10431 soname_spec='${libname}${release}${shared_ext}$major'
10432 shlibpath_var=LD_LIBRARY_PATH
10433 shlibpath_overrides_runpath=yes
10434 hardcode_into_libs=yes
10435 if test "$with_gnu_ld" = yes; then
10436 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10438 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10441 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10445 sys_lib_dlsearch_path_spec='/usr/lib'
10449 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10454 shlibpath_var=LD_LIBRARY_PATH
10455 shlibpath_overrides_runpath=no
10456 hardcode_into_libs=yes
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 soname_spec='${libname}${release}${shared_ext}$major'
10463 shlibpath_var=LD_LIBRARY_PATH
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10471 $as_echo "$dynamic_linker" >&6; }
10472 test "$dynamic_linker" = no && can_build_shared=no
10474 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10475 if test "$GCC" = yes; then
10476 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10479 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10480 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10482 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10483 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10578 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10580 if test -n "$hardcode_libdir_flag_spec" ||
10581 test -n "$runpath_var" ||
10582 test "X$hardcode_automatic" = "Xyes" ; then
10584 # We can hardcode non-existent directories.
10585 if test "$hardcode_direct" != no &&
10586 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10587 # have to relink, otherwise we might link with an installed library
10588 # when we should be linking with a yet-to-be-installed one
10589 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10590 test "$hardcode_minus_L" != no; then
10591 # Linking always hardcodes the temporary library directory.
10592 hardcode_action=relink
10594 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10595 hardcode_action=immediate
10598 # We cannot hardcode anything, or else we can only hardcode existing
10600 hardcode_action=unsupported
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10603 $as_echo "$hardcode_action" >&6; }
10605 if test "$hardcode_action" = relink ||
10606 test "$inherit_rpath" = yes; then
10607 # Fast installation is not supported
10608 enable_fast_install=no
10609 elif test "$shlibpath_overrides_runpath" = yes ||
10610 test "$enable_shared" = no; then
10611 # Fast installation is not necessary
10612 enable_fast_install=needless
10620 if test "x$enable_dlopen" != xyes; then
10621 enable_dlopen=unknown
10622 enable_dlopen_self=unknown
10623 enable_dlopen_self_static=unknown
10630 lt_cv_dlopen="load_add_on"
10632 lt_cv_dlopen_self=yes
10635 mingw* | pw32* | cegcc*)
10636 lt_cv_dlopen="LoadLibrary"
10641 lt_cv_dlopen="dlopen"
10646 # if libdl is installed we need to link against it
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10648 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10649 if ${ac_cv_lib_dl_dlopen+:} false; then :
10650 $as_echo_n "(cached) " >&6
10652 ac_check_lib_save_LIBS=$LIBS
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 ac_cv_lib_dl_dlopen=yes
10675 ac_cv_lib_dl_dlopen=no
10677 rm -f core conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_lib_save_LIBS
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10682 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10683 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10684 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10687 lt_cv_dlopen="dyld"
10689 lt_cv_dlopen_self=yes
10696 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10697 if test "x$ac_cv_func_shl_load" = xyes; then :
10698 lt_cv_dlopen="shl_load"
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10701 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10702 if ${ac_cv_lib_dld_shl_load+:} false; then :
10703 $as_echo_n "(cached) " >&6
10705 ac_check_lib_save_LIBS=$LIBS
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10720 return shl_load ();
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 ac_cv_lib_dld_shl_load=yes
10728 ac_cv_lib_dld_shl_load=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10735 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10736 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10737 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10739 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10740 if test "x$ac_cv_func_dlopen" = xyes; then :
10741 lt_cv_dlopen="dlopen"
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10744 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10745 if ${ac_cv_lib_dl_dlopen+:} false; then :
10746 $as_echo_n "(cached) " >&6
10748 ac_check_lib_save_LIBS=$LIBS
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_dl_dlopen=yes
10771 ac_cv_lib_dl_dlopen=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10778 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10779 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10780 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10783 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10784 if ${ac_cv_lib_svld_dlopen+:} false; then :
10785 $as_echo_n "(cached) " >&6
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lsvld $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_svld_dlopen=yes
10810 ac_cv_lib_svld_dlopen=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10817 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10818 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10819 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10822 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10823 if ${ac_cv_lib_dld_dld_link+:} false; then :
10824 $as_echo_n "(cached) " >&6
10826 ac_check_lib_save_LIBS=$LIBS
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10841 return dld_link ();
10846 if ac_fn_c_try_link "$LINENO"; then :
10847 ac_cv_lib_dld_dld_link=yes
10849 ac_cv_lib_dld_dld_link=no
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_lib_save_LIBS
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10856 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10857 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10858 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10879 if test "x$lt_cv_dlopen" != xno; then
10885 case $lt_cv_dlopen in
10887 save_CPPFLAGS="$CPPFLAGS"
10888 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10890 save_LDFLAGS="$LDFLAGS"
10891 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10894 LIBS="$lt_cv_dlopen_libs $LIBS"
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10897 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10898 if ${lt_cv_dlopen_self+:} false; then :
10899 $as_echo_n "(cached) " >&6
10901 if test "$cross_compiling" = yes; then :
10902 lt_cv_dlopen_self=cross
10904 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10905 lt_status=$lt_dlunknown
10906 cat > conftest.$ac_ext <<_LT_EOF
10907 #line $LINENO "configure"
10908 #include "confdefs.h"
10917 # define LT_DLGLOBAL RTLD_GLOBAL
10920 # define LT_DLGLOBAL DL_GLOBAL
10922 # define LT_DLGLOBAL 0
10926 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10927 find out it does not work in some platform. */
10928 #ifndef LT_DLLAZY_OR_NOW
10930 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10933 # define LT_DLLAZY_OR_NOW DL_LAZY
10936 # define LT_DLLAZY_OR_NOW RTLD_NOW
10939 # define LT_DLLAZY_OR_NOW DL_NOW
10941 # define LT_DLLAZY_OR_NOW 0
10948 /* When -fvisbility=hidden is used, assume the code has been annotated
10949 correspondingly for the symbols needed. */
10950 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10951 int fnord () __attribute__((visibility("default")));
10954 int fnord () { return 42; }
10957 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10958 int status = $lt_dlunknown;
10962 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10965 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10966 else puts (dlerror ());
10968 /* dlclose (self); */
10976 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10977 (eval $ac_link) 2>&5
10979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10980 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10981 (./conftest; exit; ) >&5 2>/dev/null
10983 case x$lt_status in
10984 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10985 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10986 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10989 # compilation failed
10990 lt_cv_dlopen_self=no
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10998 $as_echo "$lt_cv_dlopen_self" >&6; }
11000 if test "x$lt_cv_dlopen_self" = xyes; then
11001 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11003 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11004 if ${lt_cv_dlopen_self_static+:} false; then :
11005 $as_echo_n "(cached) " >&6
11007 if test "$cross_compiling" = yes; then :
11008 lt_cv_dlopen_self_static=cross
11010 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11011 lt_status=$lt_dlunknown
11012 cat > conftest.$ac_ext <<_LT_EOF
11013 #line $LINENO "configure"
11014 #include "confdefs.h"
11023 # define LT_DLGLOBAL RTLD_GLOBAL
11026 # define LT_DLGLOBAL DL_GLOBAL
11028 # define LT_DLGLOBAL 0
11032 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11033 find out it does not work in some platform. */
11034 #ifndef LT_DLLAZY_OR_NOW
11036 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11039 # define LT_DLLAZY_OR_NOW DL_LAZY
11042 # define LT_DLLAZY_OR_NOW RTLD_NOW
11045 # define LT_DLLAZY_OR_NOW DL_NOW
11047 # define LT_DLLAZY_OR_NOW 0
11054 /* When -fvisbility=hidden is used, assume the code has been annotated
11055 correspondingly for the symbols needed. */
11056 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11057 int fnord () __attribute__((visibility("default")));
11060 int fnord () { return 42; }
11063 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11064 int status = $lt_dlunknown;
11068 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11071 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11072 else puts (dlerror ());
11074 /* dlclose (self); */
11082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11083 (eval $ac_link) 2>&5
11085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11086 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11087 (./conftest; exit; ) >&5 2>/dev/null
11089 case x$lt_status in
11090 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11091 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11092 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11095 # compilation failed
11096 lt_cv_dlopen_self_static=no
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11104 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11107 CPPFLAGS="$save_CPPFLAGS"
11108 LDFLAGS="$save_LDFLAGS"
11113 case $lt_cv_dlopen_self in
11114 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11115 *) enable_dlopen_self=unknown ;;
11118 case $lt_cv_dlopen_self_static in
11119 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11120 *) enable_dlopen_self_static=unknown ;;
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11143 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11144 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11145 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11146 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11148 $as_echo "yes" >&6; }
11150 # FIXME - insert some real tests, host_os isn't really good enough
11153 if test -n "$STRIP" ; then
11154 striplib="$STRIP -x"
11155 old_striplib="$STRIP -S"
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11157 $as_echo "yes" >&6; }
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11160 $as_echo "no" >&6; }
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11165 $as_echo "no" >&6; }
11181 # Report which library types will actually be built
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11183 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11185 $as_echo "$can_build_shared" >&6; }
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11188 $as_echo_n "checking whether to build shared libraries... " >&6; }
11189 test "$can_build_shared" = "no" && enable_shared=no
11191 # On AIX, shared libraries and static libraries use the same namespace, and
11192 # are all built from PIC.
11195 test "$enable_shared" = yes && enable_static=no
11196 if test -n "$RANLIB"; then
11197 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11198 postinstall_cmds='$RANLIB $lib'
11203 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11204 test "$enable_shared" = yes && enable_static=no
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11209 $as_echo "$enable_shared" >&6; }
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11212 $as_echo_n "checking whether to build static libraries... " >&6; }
11213 # Make sure either enable_shared or enable_static is yes.
11214 test "$enable_shared" = yes || enable_static=yes
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11216 $as_echo "$enable_static" >&6; }
11223 ac_cpp='$CPP $CPPFLAGS'
11224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11242 ac_config_commands="$ac_config_commands libtool"
11247 # Only expand once:
11252 ac_cpp='$CPP $CPPFLAGS'
11253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11256 if test -n "$ac_tool_prefix"; then
11257 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11258 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11260 $as_echo_n "checking for $ac_word... " >&6; }
11261 if ${ac_cv_prog_CC+:} false; then :
11262 $as_echo_n "(cached) " >&6
11264 if test -n "$CC"; then
11265 ac_cv_prog_CC="$CC" # Let the user override the test.
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11271 test -z "$as_dir" && as_dir=.
11272 for ac_exec_ext in '' $ac_executable_extensions; do
11273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11274 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11285 if test -n "$CC"; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11287 $as_echo "$CC" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11290 $as_echo "no" >&6; }
11295 if test -z "$ac_cv_prog_CC"; then
11297 # Extract the first word of "gcc", so it can be a program name with args.
11298 set dummy gcc; ac_word=$2
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11300 $as_echo_n "checking for $ac_word... " >&6; }
11301 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11302 $as_echo_n "(cached) " >&6
11304 if test -n "$ac_ct_CC"; then
11305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11308 for as_dir in $PATH
11311 test -z "$as_dir" && as_dir=.
11312 for ac_exec_ext in '' $ac_executable_extensions; do
11313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11314 ac_cv_prog_ac_ct_CC="gcc"
11315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11325 if test -n "$ac_ct_CC"; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11327 $as_echo "$ac_ct_CC" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 $as_echo "no" >&6; }
11333 if test "x$ac_ct_CC" = x; then
11336 case $cross_compiling:$ac_tool_warned in
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11340 ac_tool_warned=yes ;;
11345 CC="$ac_cv_prog_CC"
11348 if test -z "$CC"; then
11349 if test -n "$ac_tool_prefix"; then
11350 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11351 set dummy ${ac_tool_prefix}cc; ac_word=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; }
11354 if ${ac_cv_prog_CC+:} false; then :
11355 $as_echo_n "(cached) " >&6
11357 if test -n "$CC"; then
11358 ac_cv_prog_CC="$CC" # Let the user override the test.
11360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11361 for as_dir in $PATH
11364 test -z "$as_dir" && as_dir=.
11365 for ac_exec_ext in '' $ac_executable_extensions; do
11366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11367 ac_cv_prog_CC="${ac_tool_prefix}cc"
11368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11378 if test -n "$CC"; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11380 $as_echo "$CC" >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11383 $as_echo "no" >&6; }
11389 if test -z "$CC"; then
11390 # Extract the first word of "cc", so it can be a program name with args.
11391 set dummy cc; ac_word=$2
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11393 $as_echo_n "checking for $ac_word... " >&6; }
11394 if ${ac_cv_prog_CC+:} false; then :
11395 $as_echo_n "(cached) " >&6
11397 if test -n "$CC"; then
11398 ac_cv_prog_CC="$CC" # Let the user override the test.
11400 ac_prog_rejected=no
11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11402 for as_dir in $PATH
11405 test -z "$as_dir" && as_dir=.
11406 for ac_exec_ext in '' $ac_executable_extensions; do
11407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11408 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11409 ac_prog_rejected=yes
11413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11420 if test $ac_prog_rejected = yes; then
11421 # We found a bogon in the path, so make sure we never use it.
11422 set dummy $ac_cv_prog_CC
11424 if test $# != 0; then
11425 # We chose a different compiler from the bogus one.
11426 # However, it has the same basename, so the bogon will be chosen
11427 # first if we set CC to just the basename; use the full file name.
11429 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11435 if test -n "$CC"; then
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11437 $as_echo "$CC" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11440 $as_echo "no" >&6; }
11445 if test -z "$CC"; then
11446 if test -n "$ac_tool_prefix"; then
11447 for ac_prog in cl.exe
11449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11452 $as_echo_n "checking for $ac_word... " >&6; }
11453 if ${ac_cv_prog_CC+:} false; then :
11454 $as_echo_n "(cached) " >&6
11456 if test -n "$CC"; then
11457 ac_cv_prog_CC="$CC" # Let the user override the test.
11459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11460 for as_dir in $PATH
11463 test -z "$as_dir" && as_dir=.
11464 for ac_exec_ext in '' $ac_executable_extensions; do
11465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11466 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11477 if test -n "$CC"; then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11479 $as_echo "$CC" >&6; }
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11482 $as_echo "no" >&6; }
11486 test -n "$CC" && break
11489 if test -z "$CC"; then
11491 for ac_prog in cl.exe
11493 # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy $ac_prog; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11496 $as_echo_n "checking for $ac_word... " >&6; }
11497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11498 $as_echo_n "(cached) " >&6
11500 if test -n "$ac_ct_CC"; then
11501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11504 for as_dir in $PATH
11507 test -z "$as_dir" && as_dir=.
11508 for ac_exec_ext in '' $ac_executable_extensions; do
11509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11510 ac_cv_prog_ac_ct_CC="$ac_prog"
11511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11521 if test -n "$ac_ct_CC"; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11523 $as_echo "$ac_ct_CC" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526 $as_echo "no" >&6; }
11530 test -n "$ac_ct_CC" && break
11533 if test "x$ac_ct_CC" = x; then
11536 case $cross_compiling:$ac_tool_warned in
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11540 ac_tool_warned=yes ;;
11549 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11551 as_fn_error $? "no acceptable C compiler found in \$PATH
11552 See \`config.log' for more details" "$LINENO" 5; }
11554 # Provide some information about the compiler.
11555 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11558 for ac_option in --version -v -V -qversion; do
11559 { { ac_try="$ac_compiler $ac_option >&5"
11560 case "(($ac_try" in
11561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11565 $as_echo "$ac_try_echo"; } >&5
11566 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11568 if test -s conftest.err; then
11570 ... rest of stderr output deleted ...
11571 10q' conftest.err >conftest.er1
11572 cat conftest.er1 >&5
11574 rm -f conftest.er1 conftest.err
11575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11576 test $ac_status = 0; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11580 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11581 if ${ac_cv_c_compiler_gnu+:} false; then :
11582 $as_echo_n "(cached) " >&6
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11598 if ac_fn_c_try_compile "$LINENO"; then :
11599 ac_compiler_gnu=yes
11603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11604 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11608 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11609 if test $ac_compiler_gnu = yes; then
11614 ac_test_CFLAGS=${CFLAGS+set}
11615 ac_save_CFLAGS=$CFLAGS
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11617 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11618 if ${ac_cv_prog_cc_g+:} false; then :
11619 $as_echo_n "(cached) " >&6
11621 ac_save_c_werror_flag=$ac_c_werror_flag
11622 ac_c_werror_flag=yes
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11636 if ac_fn_c_try_compile "$LINENO"; then :
11637 ac_cv_prog_cc_g=yes
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11651 if ac_fn_c_try_compile "$LINENO"; then :
11654 ac_c_werror_flag=$ac_save_c_werror_flag
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11667 if ac_fn_c_try_compile "$LINENO"; then :
11668 ac_cv_prog_cc_g=yes
11670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11675 ac_c_werror_flag=$ac_save_c_werror_flag
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11678 $as_echo "$ac_cv_prog_cc_g" >&6; }
11679 if test "$ac_test_CFLAGS" = set; then
11680 CFLAGS=$ac_save_CFLAGS
11681 elif test $ac_cv_prog_cc_g = yes; then
11682 if test "$GCC" = yes; then
11688 if test "$GCC" = yes; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11695 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11696 if ${ac_cv_prog_cc_c89+:} false; then :
11697 $as_echo_n "(cached) " >&6
11699 ac_cv_prog_cc_c89=no
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11703 #include <stdarg.h>
11705 #include <sys/types.h>
11706 #include <sys/stat.h>
11707 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11708 struct buf { int x; };
11709 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11710 static char *e (p, i)
11716 static char *f (char * (*g) (char **, int), char **p, ...)
11721 s = g (p, va_arg (v,int));
11726 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11727 function prototypes and stuff, but not '\xHH' hex character constants.
11728 These don't provoke an error unfortunately, instead are silently treated
11729 as 'x'. The following induces an error, until -std is added to get
11730 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11731 array size at least. It's necessary to write '\x00'==0 to get something
11732 that's true only with -std. */
11733 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11735 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11736 inside strings and character constants. */
11738 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11740 int test (int i, double x);
11741 struct s1 {int (*f) (int a);};
11742 struct s2 {int (*f) (double a);};
11743 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11749 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11754 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11755 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11757 CC="$ac_save_CC $ac_arg"
11758 if ac_fn_c_try_compile "$LINENO"; then :
11759 ac_cv_prog_cc_c89=$ac_arg
11761 rm -f core conftest.err conftest.$ac_objext
11762 test "x$ac_cv_prog_cc_c89" != "xno" && break
11764 rm -f conftest.$ac_ext
11769 case "x$ac_cv_prog_cc_c89" in
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11772 $as_echo "none needed" >&6; } ;;
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11775 $as_echo "unsupported" >&6; } ;;
11777 CC="$CC $ac_cv_prog_cc_c89"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11779 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11781 if test "x$ac_cv_prog_cc_c89" != xno; then :
11786 ac_cpp='$CPP $CPPFLAGS'
11787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11791 depcc="$CC" am_compiler_list=
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11794 $as_echo_n "checking dependency style of $depcc... " >&6; }
11795 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11796 $as_echo_n "(cached) " >&6
11798 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11799 # We make a subdir and do the tests there. Otherwise we can end up
11800 # making bogus files that we don't know about and never remove. For
11801 # instance it was reported that on HP-UX the gcc test will end up
11802 # making a dummy file named `D' -- because `-MD' means `put the output
11805 # Copy depcomp to subdir because otherwise we won't find it if we're
11806 # using a relative directory.
11807 cp "$am_depcomp" conftest.dir
11809 # We will build objects and dependencies in a subdirectory because
11810 # it helps to detect inapplicable dependency modes. For instance
11811 # both Tru64's cc and ICC support -MD to output dependencies as a
11812 # side effect of compilation, but ICC will put the dependencies in
11813 # the current directory while Tru64 will put them in the object
11817 am_cv_CC_dependencies_compiler_type=none
11818 if test "$am_compiler_list" = ""; then
11819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11821 am__universal=false
11822 case " $depcc " in #(
11823 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11826 for depmode in $am_compiler_list; do
11827 # Setup a source with many dependencies, because some compilers
11828 # like to wrap large dependency lists on column 80 (with \), and
11829 # we should not choose a depcomp mode which is confused by this.
11831 # We need to recreate these files for each test, as the compiler may
11832 # overwrite some of them when testing with obscure command lines.
11833 # This happens at least with the AIX C compiler.
11835 for i in 1 2 3 4 5 6; do
11836 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11837 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11838 # Solaris 8's {/usr,}/bin/sh.
11839 touch sub/conftst$i.h
11841 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11843 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11844 # mode. It turns out that the SunPro C++ compiler does not properly
11845 # handle `-M -o', and we need to detect this. Also, some Intel
11846 # versions had trouble with output in subdirs
11847 am__obj=sub/conftest.${OBJEXT-o}
11848 am__minus_obj="-o $am__obj"
11851 # This depmode causes a compiler race in universal mode.
11852 test "$am__universal" = false || continue
11855 # after this tag, mechanisms are not by side-effect, so they'll
11856 # only be used when explicitly requested
11857 if test "x$enable_dependency_tracking" = xyes; then
11863 msvisualcpp | msvcmsys)
11864 # This compiler won't grok `-c -o', but also, the minuso test has
11865 # not run yet. These depmodes are late enough in the game, and
11866 # so weak that their functioning should not be impacted.
11867 am__obj=conftest.${OBJEXT-o}
11872 if depmode=$depmode \
11873 source=sub/conftest.c object=$am__obj \
11874 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11875 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11876 >/dev/null 2>conftest.err &&
11877 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11878 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11879 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11880 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11881 # icc doesn't choke on unknown options, it will just issue warnings
11882 # or remarks (even with -Werror). So we grep stderr for any message
11883 # that says an option was ignored or not supported.
11884 # When given -MP, icc 7.0 and 7.1 complain thusly:
11885 # icc: Command line warning: ignoring option '-M'; no argument required
11886 # The diagnosis changed in icc 8.0:
11887 # icc: Command line remark: option '-MP' not supported
11888 if (grep 'ignoring option' conftest.err ||
11889 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11890 am_cv_CC_dependencies_compiler_type=$depmode
11897 rm -rf conftest.dir
11899 am_cv_CC_dependencies_compiler_type=none
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11904 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11905 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11908 test "x$enable_dependency_tracking" != xno \
11909 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11910 am__fastdepCC_TRUE=
11911 am__fastdepCC_FALSE='#'
11913 am__fastdepCC_TRUE='#'
11914 am__fastdepCC_FALSE=
11919 # Checks for libraries.
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lapr-1" >&5
11921 $as_echo_n "checking for main in -lapr-1... " >&6; }
11922 if ${ac_cv_lib_apr_1_main+:} false; then :
11923 $as_echo_n "(cached) " >&6
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lapr-1 $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11939 if ac_fn_c_try_link "$LINENO"; then :
11940 ac_cv_lib_apr_1_main=yes
11942 ac_cv_lib_apr_1_main=no
11944 rm -f core conftest.err conftest.$ac_objext \
11945 conftest$ac_exeext conftest.$ac_ext
11946 LIBS=$ac_check_lib_save_LIBS
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_1_main" >&5
11949 $as_echo "$ac_cv_lib_apr_1_main" >&6; }
11950 if test "x$ac_cv_lib_apr_1_main" = xyes; then :
11951 cat >>confdefs.h <<_ACEOF
11952 #define HAVE_LIBAPR_1 1
11955 LIBS="-lapr-1 $LIBS"
11960 # Checks for header files.
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11962 $as_echo_n "checking for ANSI C header files... " >&6; }
11963 if ${ac_cv_header_stdc+:} false; then :
11964 $as_echo_n "(cached) " >&6
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11968 #include <stdlib.h>
11969 #include <stdarg.h>
11970 #include <string.h>
11981 if ac_fn_c_try_compile "$LINENO"; then :
11982 ac_cv_header_stdc=yes
11984 ac_cv_header_stdc=no
11986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11988 if test $ac_cv_header_stdc = yes; then
11989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11992 #include <string.h>
11995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11996 $EGREP "memchr" >/dev/null 2>&1; then :
11999 ac_cv_header_stdc=no
12005 if test $ac_cv_header_stdc = yes; then
12006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #include <stdlib.h>
12012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12013 $EGREP "free" >/dev/null 2>&1; then :
12016 ac_cv_header_stdc=no
12022 if test $ac_cv_header_stdc = yes; then
12023 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12024 if test "$cross_compiling" = yes; then :
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 #include <stdlib.h>
12031 #if ((' ' & 0x0FF) == 0x020)
12032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12035 # define ISLOWER(c) \
12036 (('a' <= (c) && (c) <= 'i') \
12037 || ('j' <= (c) && (c) <= 'r') \
12038 || ('s' <= (c) && (c) <= 'z'))
12039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12047 for (i = 0; i < 256; i++)
12048 if (XOR (islower (i), ISLOWER (i))
12049 || toupper (i) != TOUPPER (i))
12054 if ac_fn_c_try_run "$LINENO"; then :
12057 ac_cv_header_stdc=no
12059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12060 conftest.$ac_objext conftest.beam conftest.$ac_ext
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12066 $as_echo "$ac_cv_header_stdc" >&6; }
12067 if test $ac_cv_header_stdc = yes; then
12069 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12073 for ac_header in string.h
12075 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_string_h" = xyes; then :
12077 cat >>confdefs.h <<_ACEOF
12078 #define HAVE_STRING_H 1
12087 # Check whether --with-apr-config was given.
12088 if test "${with_apr_config+set}" = set; then :
12089 withval=$with_apr_config;
12092 if test "x$with_apr_config" = "xyes" ; then
12094 Please specify the --with-apr-config option. And, please specify the place of the apr-config program.
12099 # Check whether --with-apu-config was given.
12100 if test "${with_apu_config+set}" = set; then :
12101 withval=$with_apu_config;
12104 if test "x$with_apu_config" = "xyes" ; then
12106 Please specify the --with-apu-config option. And, please specify the place of the apu-config program.
12110 # Extract the first word of "libtool", so it can be a program name with args.
12111 set dummy libtool; ac_word=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12113 $as_echo_n "checking for $ac_word... " >&6; }
12114 if ${ac_cv_path_LIBTOOL+:} false; then :
12115 $as_echo_n "(cached) " >&6
12119 ac_cv_path_LIBTOOL="$LIBTOOL" # Let the user override the test with a path.
12122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12124 for as_dir in $as_dummy
12127 test -z "$as_dir" && as_dir=.
12128 for ac_exec_ext in '' $ac_executable_extensions; do
12129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12130 ac_cv_path_LIBTOOL="$as_dir/$ac_word$ac_exec_ext"
12131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12138 test -z "$ac_cv_path_LIBTOOL" && ac_cv_path_LIBTOOL="no"
12142 LIBTOOL=$ac_cv_path_LIBTOOL
12143 if test -n "$LIBTOOL"; then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBTOOL" >&5
12145 $as_echo "$LIBTOOL" >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148 $as_echo "no" >&6; }
12152 if test "x$LIBTOOL" = "xno"; then
12153 as_fn_error $? "libtool not found." "$LINENO" 5
12157 if test "x$with_apr_config" = "x" ; then
12158 # Extract the first word of "apr-config", so it can be a program name with args.
12159 set dummy apr-config; ac_word=$2
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12161 $as_echo_n "checking for $ac_word... " >&6; }
12162 if ${ac_cv_path_APR_CONFIG+:} false; then :
12163 $as_echo_n "(cached) " >&6
12165 case $APR_CONFIG in
12167 ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
12170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12172 for as_dir in $as_dummy
12175 test -z "$as_dir" && as_dir=.
12176 for ac_exec_ext in '' $ac_executable_extensions; do
12177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12178 ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12186 test -z "$ac_cv_path_APR_CONFIG" && ac_cv_path_APR_CONFIG="no"
12190 APR_CONFIG=$ac_cv_path_APR_CONFIG
12191 if test -n "$APR_CONFIG"; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_CONFIG" >&5
12193 $as_echo "$APR_CONFIG" >&6; }
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12200 if test "x$APR_CONFIG" = "xno" ; then
12201 # Extract the first word of "apr-1-config", so it can be a program name with args.
12202 set dummy apr-1-config; ac_word=$2
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204 $as_echo_n "checking for $ac_word... " >&6; }
12205 if ${ac_cv_path_APR_1_CONFIG+:} false; then :
12206 $as_echo_n "(cached) " >&6
12208 case $APR_1_CONFIG in
12210 ac_cv_path_APR_1_CONFIG="$APR_1_CONFIG" # Let the user override the test with a path.
12213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12215 for as_dir in $as_dummy
12218 test -z "$as_dir" && as_dir=.
12219 for ac_exec_ext in '' $ac_executable_extensions; do
12220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12221 ac_cv_path_APR_1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12229 test -z "$ac_cv_path_APR_1_CONFIG" && ac_cv_path_APR_1_CONFIG="no"
12233 APR_1_CONFIG=$ac_cv_path_APR_1_CONFIG
12234 if test -n "$APR_1_CONFIG"; then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_1_CONFIG" >&5
12236 $as_echo "$APR_1_CONFIG" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12243 if test "x$APR_1_CONFIG" = "xno" ; then
12244 as_fn_error $? "apr-config and apr-1-config not found." "$LINENO" 5
12246 APR_CONFIG="$APR_1_CONFIG"
12250 if test "x$with_apr_config" != "x" ; then
12251 APR_CONFIG=$with_apr_config
12253 if test "x$with_apu_config" = "x" ; then
12254 # Extract the first word of "apu-config", so it can be a program name with args.
12255 set dummy apu-config; ac_word=$2
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12257 $as_echo_n "checking for $ac_word... " >&6; }
12258 if ${ac_cv_path_APU_CONFIG+:} false; then :
12259 $as_echo_n "(cached) " >&6
12261 case $APU_CONFIG in
12263 ac_cv_path_APU_CONFIG="$APU_CONFIG" # Let the user override the test with a path.
12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12268 for as_dir in $as_dummy
12271 test -z "$as_dir" && as_dir=.
12272 for ac_exec_ext in '' $ac_executable_extensions; do
12273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12274 ac_cv_path_APU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12282 test -z "$ac_cv_path_APU_CONFIG" && ac_cv_path_APU_CONFIG="no"
12286 APU_CONFIG=$ac_cv_path_APU_CONFIG
12287 if test -n "$APU_CONFIG"; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_CONFIG" >&5
12289 $as_echo "$APU_CONFIG" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12296 if test "x$APU_CONFIG" = "xno" ; then
12297 # Extract the first word of "apu-1-config", so it can be a program name with args.
12298 set dummy apu-1-config; ac_word=$2
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12300 $as_echo_n "checking for $ac_word... " >&6; }
12301 if ${ac_cv_path_APU_1_CONFIG+:} false; then :
12302 $as_echo_n "(cached) " >&6
12304 case $APU_1_CONFIG in
12306 ac_cv_path_APU_1_CONFIG="$APU_1_CONFIG" # Let the user override the test with a path.
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12311 for as_dir in $as_dummy
12314 test -z "$as_dir" && as_dir=.
12315 for ac_exec_ext in '' $ac_executable_extensions; do
12316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12317 ac_cv_path_APU_1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12325 test -z "$ac_cv_path_APU_1_CONFIG" && ac_cv_path_APU_1_CONFIG="no"
12329 APU_1_CONFIG=$ac_cv_path_APU_1_CONFIG
12330 if test -n "$APU_1_CONFIG"; then
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_1_CONFIG" >&5
12332 $as_echo "$APU_1_CONFIG" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12339 if test "x$APU_1_CONFIG" = "xno" ; then
12340 as_fn_error $? "apu-config and apu-1-config not found." "$LINENO" 5
12342 APU_CONFIG="$APU_1_CONFIG"
12346 if test "x$with_apu_config" != "x" ; then
12347 APU_CONFIG=$with_apu_config
12351 if test "x$with_apu_config" != "x" ; then
12352 APU_CONFIG=$with_apu_config
12355 # Checks for typedefs, structures, and compiler characteristics.
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12357 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12358 if ${ac_cv_c_const+:} false; then :
12359 $as_echo_n "(cached) " >&6
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12367 /* FIXME: Include the comments suggested by Paul. */
12368 #ifndef __cplusplus
12369 /* Ultrix mips cc rejects this. */
12370 typedef int charset[2];
12372 /* SunOS 4.1.1 cc rejects this. */
12373 char const *const *pcpcc;
12375 /* NEC SVR4.0.2 mips cc rejects this. */
12376 struct point {int x, y;};
12377 static struct point const zero = {0,0};
12378 /* AIX XL C 1.02.0.0 rejects this.
12379 It does not let you subtract one const X* pointer from another in
12380 an arm of an if-expression whose if-part is not a constant
12382 const char *g = "string";
12383 pcpcc = &g + (g ? g-g : 0);
12384 /* HPUX 7.0 cc rejects these. */
12386 ppc = (char**) pcpcc;
12387 pcpcc = (char const *const *) ppc;
12388 { /* SCO 3.2v4 cc rejects this. */
12390 char const *s = 0 ? (char *) 0 : (char const *) 0;
12395 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12396 int x[] = {25, 17};
12397 const int *foo = &x[0];
12400 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12401 typedef const int *iptr;
12405 { /* AIX XL C 1.02.0.0 rejects this saying
12406 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12407 struct s { int j; const int *ap[3]; };
12408 struct s *b; b->j = 5;
12410 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12411 const int foo = 10;
12412 if (!foo) return 0;
12414 return !cs[0] && !zero.x;
12421 if ac_fn_c_try_compile "$LINENO"; then :
12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12429 $as_echo "$ac_cv_c_const" >&6; }
12430 if test $ac_cv_c_const = no; then
12432 $as_echo "#define const /**/" >>confdefs.h
12437 # Checks for library functions.
12438 for ac_func in memset strcasecmp strncasecmp
12440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12443 cat >>confdefs.h <<_ACEOF
12444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12451 CFLAGS="${CFLAGS} -DLIBICONV_PLUG -l/usr/local/include "
12452 LIBS="${LIBS} `${APR_CONFIG} --ldflags` `${APR_CONFIG} --libs` "
12453 LIBS="${LIBS} `${APU_CONFIG} --ldflags` `${APU_CONFIG} --libs` "
12454 CFLAGS="${CFLAGS} `${APR_CONFIG} --includes` `${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags`"
12455 CFLAGS="${CFLAGS} `${APU_CONFIG} --includes`"
12463 ac_config_files="$ac_config_files Makefile src/Makefile"
12465 cat >confcache <<\_ACEOF
12466 # This file is a shell script that caches the results of configure
12467 # tests run on this system so they can be shared between configure
12468 # scripts and configure runs, see configure's option --config-cache.
12469 # It is not useful on other systems. If it contains results you don't
12470 # want to keep, you may remove or edit it.
12472 # config.status only pays attention to the cache file if you give it
12473 # the --recheck option to rerun configure.
12475 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12476 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12477 # following values.
12481 # The following way of writing the cache mishandles newlines in values,
12482 # but we know of no workaround that is simple, portable, and efficient.
12483 # So, we kill variables containing newlines.
12484 # Ultrix sh set writes to stderr and can't be redirected directly,
12485 # and sets the high bit in the cache file unless we assign to the vars.
12487 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12488 eval ac_val=\$$ac_var
12492 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12496 _ | IFS | as_nl) ;; #(
12497 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12498 *) { eval $ac_var=; unset $ac_var;} ;;
12504 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12505 *${as_nl}ac_space=\ *)
12506 # `set' does not quote correctly, so add quotes: double-quote
12507 # substitution turns \\\\ into \\, and sed turns \\ into \.
12510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12513 # `set' quotes correctly as required by POSIX, so do not add quotes.
12514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12525 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12527 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12528 if test -w "$cache_file"; then
12529 if test "x$cache_file" != "x/dev/null"; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12531 $as_echo "$as_me: updating cache $cache_file" >&6;}
12532 if test ! -f "$cache_file" || test -h "$cache_file"; then
12533 cat confcache >"$cache_file"
12535 case $cache_file in #(
12537 mv -f confcache "$cache_file"$$ &&
12538 mv -f "$cache_file"$$ "$cache_file" ;; #(
12540 mv -f confcache "$cache_file" ;;
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12546 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12551 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12552 # Let make expand exec_prefix.
12553 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12555 DEFS=-DHAVE_CONFIG_H
12560 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12561 # 1. Remove the extension, and $U if already installed.
12562 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12563 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12564 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12565 # will be set to the directory where LIBOBJS objects are built.
12566 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12567 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12569 LIBOBJS=$ac_libobjs
12571 LTLIBOBJS=$ac_ltlibobjs
12574 if test -n "$EXEEXT"; then
12576 am__EXEEXT_FALSE='#'
12578 am__EXEEXT_TRUE='#'
12582 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12583 as_fn_error $? "conditional \"AMDEP\" was never defined.
12584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12586 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12587 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12590 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12591 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12595 : "${CONFIG_STATUS=./config.status}"
12597 ac_clean_files_save=$ac_clean_files
12598 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12600 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12602 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12604 # Generated by $as_me.
12605 # Run this file to recreate the current configuration.
12606 # Compiler output produced by configure, useful for debugging
12607 # configure, is in config.log if it exists.
12610 ac_cs_recheck=false
12613 SHELL=\${CONFIG_SHELL-$SHELL}
12616 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12617 ## -------------------- ##
12618 ## M4sh Initialization. ##
12619 ## -------------------- ##
12621 # Be more Bourne compatible
12622 DUALCASE=1; export DUALCASE # for MKS sh
12623 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12626 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12627 # is contrary to our usage. Disable this feature.
12628 alias -g '${1+"$@"}'='"$@"'
12629 setopt NO_GLOB_SUBST
12631 case `(set -o) 2>/dev/null` in #(
12643 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12644 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12646 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12647 # Prefer a ksh shell builtin over an external printf program on Solaris,
12648 # but without wasting forks for bash or zsh.
12649 if test -z "$BASH_VERSION$ZSH_VERSION" \
12650 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12651 as_echo='print -r --'
12652 as_echo_n='print -rn --'
12653 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12654 as_echo='printf %s\n'
12655 as_echo_n='printf %s'
12657 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12658 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12659 as_echo_n='/usr/ucb/echo -n'
12661 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12662 as_echo_n_body='eval
12666 expr "X$arg" : "X\\(.*\\)$as_nl";
12667 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12669 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12671 export as_echo_n_body
12672 as_echo_n='sh -c $as_echo_n_body as_echo'
12674 export as_echo_body
12675 as_echo='sh -c $as_echo_body as_echo'
12678 # The user is always right.
12679 if test "${PATH_SEPARATOR+set}" != set; then
12681 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12682 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12689 # We need space, tab and new line, in precisely that order. Quoting is
12690 # there to prevent editors from complaining about space-tab.
12691 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12692 # splitting by setting IFS to empty value.)
12695 # Find who we are. Look in the path if we contain no directory separator.
12698 *[\\/]* ) as_myself=$0 ;;
12699 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12703 test -z "$as_dir" && as_dir=.
12704 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12710 # We did not find ourselves, most probably we were run as `sh COMMAND'
12711 # in which case we are not to be found in the path.
12712 if test "x$as_myself" = x; then
12715 if test ! -f "$as_myself"; then
12716 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12720 # Unset variables that we do not need and which cause bugs (e.g. in
12721 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12722 # suppresses any "Segmentation fault" message there. '((' could
12723 # trigger a bug in pdksh 5.2.14.
12724 for as_var in BASH_ENV ENV MAIL MAILPATH
12725 do eval test x\${$as_var+set} = xset \
12726 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12739 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12742 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12743 # ----------------------------------------
12744 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12745 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12746 # script with STATUS, using 1 if that was 0.
12749 as_status=$1; test $as_status -eq 0 && as_status=1
12751 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12752 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12754 $as_echo "$as_me: error: $2" >&2
12755 as_fn_exit $as_status
12759 # as_fn_set_status STATUS
12760 # -----------------------
12761 # Set $? to STATUS, without forking.
12762 as_fn_set_status ()
12765 } # as_fn_set_status
12767 # as_fn_exit STATUS
12768 # -----------------
12769 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12773 as_fn_set_status $1
12779 # Portably unset VAR.
12782 { eval $1=; unset $1;}
12784 as_unset=as_fn_unset
12785 # as_fn_append VAR VALUE
12786 # ----------------------
12787 # Append the text in VALUE to the end of the definition contained in VAR. Take
12788 # advantage of any shell optimizations that allow amortized linear growth over
12789 # repeated appends, instead of the typical quadratic growth present in naive
12791 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12792 eval 'as_fn_append ()
12803 # as_fn_arith ARG...
12804 # ------------------
12805 # Perform arithmetic evaluation on the ARGs, and store the result in the
12806 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12807 # must be portable across $(()) and expr.
12808 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12809 eval 'as_fn_arith ()
12816 as_val=`expr "$@" || test $? -eq 1`
12821 if expr a : '\(a\)' >/dev/null 2>&1 &&
12822 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12828 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12829 as_basename=basename
12834 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12840 as_me=`$as_basename -- "$0" ||
12841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12842 X"$0" : 'X\(//\)$' \| \
12843 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12845 sed '/^.*\/\([^/][^/]*\)\/*$/{
12859 # Avoid depending upon Character Ranges.
12860 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12861 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12862 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12863 as_cr_digits='0123456789'
12864 as_cr_alnum=$as_cr_Letters$as_cr_digits
12866 ECHO_C= ECHO_N= ECHO_T=
12867 case `echo -n x` in #(((((
12869 case `echo 'xy\c'` in
12870 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12872 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12879 rm -f conf$$ conf$$.exe conf$$.file
12880 if test -d conf$$.dir; then
12881 rm -f conf$$.dir/conf$$.file
12884 mkdir conf$$.dir 2>/dev/null
12886 if (echo >conf$$.file) 2>/dev/null; then
12887 if ln -s conf$$.file conf$$ 2>/dev/null; then
12889 # ... but there are two gotchas:
12890 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12891 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12892 # In both cases, we have to default to `cp -p'.
12893 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12895 elif ln conf$$.file conf$$ 2>/dev/null; then
12903 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12904 rmdir conf$$.dir 2>/dev/null
12909 # Create "$as_dir" as a directory, including parents if necessary.
12914 -*) as_dir=./$as_dir;;
12916 test -d "$as_dir" || eval $as_mkdir_p || {
12920 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12921 *) as_qdir=$as_dir;;
12923 as_dirs="'$as_qdir' $as_dirs"
12924 as_dir=`$as_dirname -- "$as_dir" ||
12925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12926 X"$as_dir" : 'X\(//\)[^/]' \| \
12927 X"$as_dir" : 'X\(//\)$' \| \
12928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12929 $as_echo X"$as_dir" |
12930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12934 /^X\(\/\/\)[^/].*/{
12947 test -d "$as_dir" && break
12949 test -z "$as_dirs" || eval "mkdir $as_dirs"
12950 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12954 if mkdir -p . 2>/dev/null; then
12955 as_mkdir_p='mkdir -p "$as_dir"'
12957 test -d ./-p && rmdir ./-p
12961 if test -x / >/dev/null 2>&1; then
12962 as_test_x='test -x'
12964 if ls -dL / >/dev/null 2>&1; then
12971 if test -d "$1"; then
12977 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12978 ???[sx]*):;;*)false;;esac;fi
12982 as_executable_p=$as_test_x
12984 # Sed expression to map a string onto a valid CPP name.
12985 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12987 # Sed expression to map a string onto a valid variable name.
12988 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12992 ## ----------------------------------- ##
12993 ## Main body of $CONFIG_STATUS script. ##
12994 ## ----------------------------------- ##
12996 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12999 # Save the log message, to keep $0 and so on meaningful, and to
13000 # report actual input values of CONFIG_FILES etc. instead of their
13001 # values after options handling.
13003 This file was extended by scss $as_me 1.0.0, which was
13004 generated by GNU Autoconf 2.68. Invocation command line was
13006 CONFIG_FILES = $CONFIG_FILES
13007 CONFIG_HEADERS = $CONFIG_HEADERS
13008 CONFIG_LINKS = $CONFIG_LINKS
13009 CONFIG_COMMANDS = $CONFIG_COMMANDS
13012 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13017 case $ac_config_files in *"
13018 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13021 case $ac_config_headers in *"
13022 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13027 # Files that config.status was made for.
13028 config_files="$ac_config_files"
13029 config_headers="$ac_config_headers"
13030 config_commands="$ac_config_commands"
13034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13036 \`$as_me' instantiates files and other configuration actions
13037 from templates according to the current configuration. Unless the files
13038 and actions are specified as TAGs, all are instantiated by default.
13040 Usage: $0 [OPTION]... [TAG]...
13042 -h, --help print this help, then exit
13043 -V, --version print version number and configuration settings, then exit
13044 --config print configuration, then exit
13045 -q, --quiet, --silent
13046 do not print progress messages
13047 -d, --debug don't remove temporary files
13048 --recheck update $as_me by reconfiguring in the same conditions
13049 --file=FILE[:TEMPLATE]
13050 instantiate the configuration file FILE
13051 --header=FILE[:TEMPLATE]
13052 instantiate the configuration header FILE
13054 Configuration files:
13057 Configuration headers:
13060 Configuration commands:
13063 Report bugs to <konn@users.sourceforge.jp>."
13066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13067 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13069 scss config.status 1.0.0
13070 configured by $0, generated by GNU Autoconf 2.68,
13071 with options \\"\$ac_cs_config\\"
13073 Copyright (C) 2010 Free Software Foundation, Inc.
13074 This config.status script is free software; the Free Software Foundation
13075 gives unlimited permission to copy, distribute and modify it."
13082 test -n "\$AWK" || AWK=awk
13085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13086 # The default lists apply if the user does not specify any file.
13092 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13093 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13097 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13109 # Handling of the options.
13110 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13112 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13113 $as_echo "$ac_cs_version"; exit ;;
13114 --config | --confi | --conf | --con | --co | --c )
13115 $as_echo "$ac_cs_config"; exit ;;
13116 --debug | --debu | --deb | --de | --d | -d )
13118 --file | --fil | --fi | --f )
13121 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13122 '') as_fn_error $? "missing file argument" ;;
13124 as_fn_append CONFIG_FILES " '$ac_optarg'"
13125 ac_need_defaults=false;;
13126 --header | --heade | --head | --hea )
13129 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13131 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13132 ac_need_defaults=false;;
13134 # Conflict between --help and --header
13135 as_fn_error $? "ambiguous option: \`$1'
13136 Try \`$0 --help' for more information.";;
13137 --help | --hel | -h )
13138 $as_echo "$ac_cs_usage"; exit ;;
13139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13140 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13143 # This is an error.
13144 -*) as_fn_error $? "unrecognized option: \`$1'
13145 Try \`$0 --help' for more information." ;;
13147 *) as_fn_append ac_config_targets " $1"
13148 ac_need_defaults=false ;;
13154 ac_configure_extra_args=
13156 if $ac_cs_silent; then
13158 ac_configure_extra_args="$ac_configure_extra_args --silent"
13162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13163 if \$ac_cs_recheck; then
13164 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13166 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13167 CONFIG_SHELL='$SHELL'
13168 export CONFIG_SHELL
13173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13177 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13178 ## Running $as_me. ##
13184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13188 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13191 # The HP-UX ksh and POSIX shell print the target directory to stdout
13192 # if CDPATH is set.
13193 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13195 sed_quote_subst='$sed_quote_subst'
13196 double_quote_subst='$double_quote_subst'
13197 delay_variable_subst='$delay_variable_subst'
13198 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13199 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13200 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13201 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13202 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13203 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13204 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13205 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13206 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13207 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13208 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13209 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13210 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13211 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13212 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13213 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13214 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13215 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13216 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13217 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13218 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13219 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13220 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13221 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13222 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13223 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13224 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13225 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13226 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13227 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13228 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13229 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13230 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13231 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13232 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13233 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13234 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13235 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13236 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13237 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13238 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13239 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13240 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13241 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13242 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13243 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13244 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13245 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13246 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13247 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13248 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13249 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13250 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13251 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13252 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13253 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"`'
13254 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13255 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13256 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13257 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13258 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13259 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13260 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13261 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13262 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13263 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13264 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13265 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13266 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13267 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13268 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13269 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13270 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13271 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13272 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13273 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13274 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13275 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13276 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13277 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13278 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13279 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13280 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13281 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13282 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13283 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13284 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13285 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13286 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13287 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13288 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13289 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13290 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13291 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13292 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13293 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13294 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13295 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13296 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13297 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13298 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13299 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13300 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13301 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13302 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13303 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13304 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13305 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13306 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13307 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13308 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13309 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13310 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13311 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13312 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13313 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13314 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13315 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13316 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13317 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13318 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13319 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13320 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13321 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13322 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13323 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13324 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13325 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13326 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13327 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13330 LTCFLAGS='$LTCFLAGS'
13331 compiler='$compiler_DEFAULT'
13333 # A function that is used when there is no print builtin or printf.
13334 func_fallback_echo ()
13336 eval 'cat <<_LTECHO_EOF
13341 # Quote evaled strings.
13355 deplibs_check_method \
13360 sharedlib_from_linklib_cmd \
13363 archiver_list_spec \
13369 lt_cv_sys_global_symbol_pipe \
13370 lt_cv_sys_global_symbol_to_cdecl \
13371 lt_cv_sys_global_symbol_to_c_name_address \
13372 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13373 nm_file_list_spec \
13374 lt_prog_compiler_no_builtin_flag \
13375 lt_prog_compiler_pic \
13376 lt_prog_compiler_wl \
13377 lt_prog_compiler_static \
13378 lt_cv_prog_compiler_c_o \
13387 export_dynamic_flag_spec \
13388 whole_archive_flag_spec \
13389 compiler_needs_object \
13391 allow_undefined_flag \
13392 no_undefined_flag \
13393 hardcode_libdir_flag_spec \
13394 hardcode_libdir_flag_spec_ld \
13395 hardcode_libdir_separator \
13399 variables_saved_for_relink \
13401 library_names_spec \
13403 install_override_mode \
13407 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13408 *[\\\\\\\`\\"\\\$]*)
13409 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13412 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13417 # Double-quote double-evaled strings.
13418 for var in reload_cmds \
13419 old_postinstall_cmds \
13420 old_postuninstall_cmds \
13422 extract_expsyms_cmds \
13423 old_archive_from_new_cmds \
13424 old_archive_from_expsyms_cmds \
13426 archive_expsym_cmds \
13428 module_expsym_cmds \
13429 export_symbols_cmds \
13433 postuninstall_cmds \
13435 sys_lib_search_path_spec \
13436 sys_lib_dlsearch_path_spec; do
13437 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13438 *[\\\\\\\`\\"\\\$]*)
13439 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13442 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13447 ac_aux_dir='$ac_aux_dir'
13448 xsi_shell='$xsi_shell'
13449 lt_shell_append='$lt_shell_append'
13451 # See if we are running on zsh, and set the options which allow our
13452 # commands through without removal of \ escapes INIT.
13453 if test -n "\${ZSH_VERSION+set}" ; then
13454 setopt NO_GLOB_SUBST
13460 TIMESTAMP='$TIMESTAMP'
13469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13471 # Handling of arguments.
13472 for ac_config_target in $ac_config_targets
13474 case $ac_config_target in
13475 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13476 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13477 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13478 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13479 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13481 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13486 # If the user did not use the arguments to specify the items to instantiate,
13487 # then the envvar interface is used. Set only those that are not.
13488 # We use the long form for the default assignment because of an extremely
13489 # bizarre bug on SunOS 4.1.3.
13490 if $ac_need_defaults; then
13491 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13492 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13493 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13496 # Have a temporary directory for convenience. Make it in the build tree
13497 # simply because there is no reason against having it here, and in addition,
13498 # creating and moving files from /tmp can sometimes cause problems.
13499 # Hook for its removal unless debugging.
13500 # Note that there is a small window in which the directory will not be cleaned:
13501 # after its creation but before its name has been assigned to `$tmp'.
13505 trap 'exit_status=$?
13506 : "${ac_tmp:=$tmp}"
13507 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13509 trap 'as_fn_exit 1' 1 2 13 15
13511 # Create a (secure) tmp directory for tmp files.
13514 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13518 tmp=./conf$$-$RANDOM
13519 (umask 077 && mkdir "$tmp")
13520 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13523 # Set up the scripts for CONFIG_FILES section.
13524 # No need to generate them if there are no CONFIG_FILES.
13525 # This happens for instance with `./config.status config.h'.
13526 if test -n "$CONFIG_FILES"; then
13529 ac_cr=`echo X | tr X '\015'`
13530 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13531 # But we know of no other shell where ac_cr would be empty at this
13532 # point, so we can use a bashism as a fallback.
13533 if test "x$ac_cr" = x; then
13534 eval ac_cr=\$\'\\r\'
13536 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13537 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13540 ac_cs_awk_cr=$ac_cr
13543 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13548 echo "cat >conf$$subs.awk <<_ACEOF" &&
13549 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13551 } >conf$$subs.sh ||
13552 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13553 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13555 for ac_last_try in false false false false false :; do
13556 . ./conf$$subs.sh ||
13557 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13559 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13560 if test $ac_delim_n = $ac_delim_num; then
13562 elif $ac_last_try; then
13563 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13565 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13568 rm -f conf$$subs.sh
13570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13571 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13575 s/^/S["/; s/!.*/"]=/
13585 s/\(.\{148\}\)..*/\1/
13587 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13592 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13599 s/\(.\{148\}\)..*/\1/
13601 s/["\\]/\\&/g; s/^/"/; s/$/"/
13605 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13610 ' <conf$$subs.awk | sed '
13615 ' >>$CONFIG_STATUS || ac_write_fail=1
13616 rm -f conf$$subs.awk
13617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13619 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13620 for (key in S) S_is_set[key] = 1
13626 nfields = split(line, field, "@")
13628 len = length(field[1])
13629 for (i = 2; i < nfields; i++) {
13631 keylen = length(key)
13632 if (S_is_set[key]) {
13634 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13635 len += length(value) + length(field[++i])
13646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13647 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13648 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13651 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13652 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13655 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13656 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13657 # trailing colons and then remove the whole line if VPATH becomes empty
13658 # (actually we leave an empty line to preserve line numbers).
13659 if test "x$srcdir" = x.; then
13660 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13679 fi # test -n "$CONFIG_FILES"
13681 # Set up the scripts for CONFIG_HEADERS section.
13682 # No need to generate them if there are no CONFIG_HEADERS.
13683 # This happens for instance with `./config.status Makefile'.
13684 if test -n "$CONFIG_HEADERS"; then
13685 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13689 # Transform confdefs.h into an awk script `defines.awk', embedded as
13690 # here-document in config.status, that substitutes the proper values into
13691 # config.h.in to produce config.h.
13693 # Create a delimiter string that does not exist in confdefs.h, to ease
13694 # handling of long lines.
13696 for ac_last_try in false false :; do
13697 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13698 if test -z "$ac_tt"; then
13700 elif $ac_last_try; then
13701 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13703 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13707 # For the awk script, D is an array of macro values keyed by name,
13708 # likewise P contains macro parameters if any. Preserve backslash
13709 # newline sequences.
13711 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13713 s/.\{148\}/&'"$ac_delim"'/g
13716 s/^[ ]*#[ ]*define[ ][ ]*/ /
13723 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13725 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13729 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13730 D["\1"]=" \3\\\\\\n"\\/p
13732 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13737 s/.\{148\}/&'"$ac_delim"'/g
13742 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13745 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13747 ' <confdefs.h | sed '
13748 s/'"$ac_delim"'/"\\\
13749 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13752 for (key in D) D_is_set[key] = 1
13755 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13757 split(line, arg, " ")
13758 if (arg[1] == "#") {
13762 defundef = substr(arg[1], 2)
13765 split(mac1, mac2, "(") #)
13767 prefix = substr(line, 1, index(line, defundef) - 1)
13768 if (D_is_set[macro]) {
13769 # Preserve the white space surrounding the "#".
13770 print prefix "define", macro P[macro] D[macro]
13773 # Replace #undef with comments. This is necessary, for example,
13774 # in the case of _POSIX_SOURCE, which is predefined and required
13775 # on some systems where configure will not decide to define it.
13776 if (defundef == "undef") {
13777 print "/*", prefix defundef, macro, "*/"
13785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13786 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13787 fi # test -n "$CONFIG_HEADERS"
13790 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13795 :[FHLC]) ac_mode=$ac_tag; continue;;
13797 case $ac_mode$ac_tag in
13799 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13800 :[FH]-) ac_tag=-:-;;
13801 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13818 -) ac_f="$ac_tmp/stdin";;
13819 *) # Look for the file first in the build tree, then in the source tree
13820 # (if the path is not absolute). The absolute path cannot be DOS-style,
13821 # because $ac_f cannot contain `:'.
13825 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13827 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13829 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13830 as_fn_append ac_file_inputs " '$ac_f'"
13833 # Let's still pretend it is `configure' which instantiates (i.e., don't
13834 # use $as_me), people would be surprised to read:
13835 # /* config.h. Generated by config.status. */
13836 configure_input='Generated from '`
13837 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13839 if test x"$ac_file" != x-; then
13840 configure_input="$ac_file. $configure_input"
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13842 $as_echo "$as_me: creating $ac_file" >&6;}
13844 # Neutralize special characters interpreted by sed in replacement strings.
13845 case $configure_input in #(
13846 *\&* | *\|* | *\\* )
13847 ac_sed_conf_input=`$as_echo "$configure_input" |
13848 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13849 *) ac_sed_conf_input=$configure_input;;
13853 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13859 ac_dir=`$as_dirname -- "$ac_file" ||
13860 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13861 X"$ac_file" : 'X\(//\)[^/]' \| \
13862 X"$ac_file" : 'X\(//\)$' \| \
13863 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13864 $as_echo X"$ac_file" |
13865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13869 /^X\(\/\/\)[^/].*/{
13882 as_dir="$ac_dir"; as_fn_mkdir_p
13886 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13888 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13889 # A ".." for each directory in $ac_dir_suffix.
13890 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13891 case $ac_top_builddir_sub in
13892 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13893 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13896 ac_abs_top_builddir=$ac_pwd
13897 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13898 # for backward compatibility:
13899 ac_top_builddir=$ac_top_build_prefix
13902 .) # We are building in place.
13904 ac_top_srcdir=$ac_top_builddir_sub
13905 ac_abs_top_srcdir=$ac_pwd ;;
13906 [\\/]* | ?:[\\/]* ) # Absolute name.
13907 ac_srcdir=$srcdir$ac_dir_suffix;
13908 ac_top_srcdir=$srcdir
13909 ac_abs_top_srcdir=$srcdir ;;
13910 *) # Relative name.
13911 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13912 ac_top_srcdir=$ac_top_build_prefix$srcdir
13913 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13915 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13925 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13926 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13928 ac_MKDIR_P=$MKDIR_P
13930 [\\/$]* | ?:[\\/]* ) ;;
13931 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13936 # If the template does not know about datarootdir, expand it.
13937 # FIXME: This hack should be removed a few years after 2.60.
13938 ac_datarootdir_hack=; ac_datarootdir_seen=
13949 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13950 *datarootdir*) ac_datarootdir_seen=yes;;
13951 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13953 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13956 ac_datarootdir_hack='
13957 s&@datadir@&$datadir&g
13958 s&@docdir@&$docdir&g
13959 s&@infodir@&$infodir&g
13960 s&@localedir@&$localedir&g
13961 s&@mandir@&$mandir&g
13962 s&\\\${datarootdir}&$datarootdir&g' ;;
13966 # Neutralize VPATH when `$srcdir' = `.'.
13967 # Shell code in configure.ac might set extrasub.
13968 # FIXME: do we really want to maintain this feature?
13969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13970 ac_sed_extra="$ac_vpsub
13973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13975 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13976 s|@configure_input@|$ac_sed_conf_input|;t t
13977 s&@top_builddir@&$ac_top_builddir_sub&;t t
13978 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13979 s&@srcdir@&$ac_srcdir&;t t
13980 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13981 s&@top_srcdir@&$ac_top_srcdir&;t t
13982 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13983 s&@builddir@&$ac_builddir&;t t
13984 s&@abs_builddir@&$ac_abs_builddir&;t t
13985 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13986 s&@INSTALL@&$ac_INSTALL&;t t
13987 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13988 $ac_datarootdir_hack
13990 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13991 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13993 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13994 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13995 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13996 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13998 which seems to be undefined. Please make sure it is defined" >&5
13999 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14000 which seems to be undefined. Please make sure it is defined" >&2;}
14002 rm -f "$ac_tmp/stdin"
14004 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14005 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14007 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14013 if test x"$ac_file" != x-; then
14015 $as_echo "/* $configure_input */" \
14016 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14017 } >"$ac_tmp/config.h" \
14018 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14019 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14021 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14024 mv "$ac_tmp/config.h" "$ac_file" \
14025 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14028 $as_echo "/* $configure_input */" \
14029 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14030 || as_fn_error $? "could not create -" "$LINENO" 5
14032 # Compute "$ac_file"'s index in $config_headers.
14035 for _am_header in $config_headers :; do
14036 case $_am_header in
14037 $_am_arg | $_am_arg:* )
14040 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14043 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14044 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14045 X"$_am_arg" : 'X\(//\)[^/]' \| \
14046 X"$_am_arg" : 'X\(//\)$' \| \
14047 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14048 $as_echo X"$_am_arg" |
14049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14053 /^X\(\/\/\)[^/].*/{
14065 s/.*/./; q'`/stamp-h$_am_stamp_count
14068 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14069 $as_echo "$as_me: executing $ac_file commands" >&6;}
14074 case $ac_file$ac_mode in
14075 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14076 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14077 # are listed without --file. Let's play safe and only enable the eval
14078 # if we detect the quoting.
14079 case $CONFIG_FILES in
14080 *\'*) eval set x "$CONFIG_FILES" ;;
14081 *) set x $CONFIG_FILES ;;
14086 # Strip MF so we end up with the name of the file.
14087 mf=`echo "$mf" | sed -e 's/:.*$//'`
14088 # Check whether this is an Automake generated Makefile or not.
14089 # We used to match only the files named `Makefile.in', but
14090 # some people rename them; so instead we look at the file content.
14091 # Grep'ing the first line is not enough: some people post-process
14092 # each Makefile.in and add a new line on top of each file to say so.
14093 # Grep'ing the whole file is not good either: AIX grep has a line
14094 # limit of 2048, but all sed's we know have understand at least 4000.
14095 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14096 dirpart=`$as_dirname -- "$mf" ||
14097 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14098 X"$mf" : 'X\(//\)[^/]' \| \
14099 X"$mf" : 'X\(//\)$' \| \
14100 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14106 /^X\(\/\/\)[^/].*/{
14122 # Extract the definition of DEPDIR, am__include, and am__quote
14123 # from the Makefile without running `make'.
14124 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14125 test -z "$DEPDIR" && continue
14126 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14127 test -z "am__include" && continue
14128 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14129 # When using ansi2knr, U may be empty or an underscore; expand it
14130 U=`sed -n 's/^U = //p' < "$mf"`
14131 # Find all dependency output files, they are included files with
14132 # $(DEPDIR) in their names. We invoke sed twice because it is the
14133 # simplest approach to changing $(DEPDIR) to its actual value in the
14135 for file in `sed -n "
14136 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14137 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14138 # Make sure the directory exists.
14139 test -f "$dirpart/$file" && continue
14140 fdir=`$as_dirname -- "$file" ||
14141 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14142 X"$file" : 'X\(//\)[^/]' \| \
14143 X"$file" : 'X\(//\)$' \| \
14144 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14145 $as_echo X"$file" |
14146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14150 /^X\(\/\/\)[^/].*/{
14163 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14164 # echo "creating $dirpart/$file"
14165 echo '# dummy' > "$dirpart/$file"
14172 # See if we are running on zsh, and set the options which allow our
14173 # commands through without removal of \ escapes.
14174 if test -n "${ZSH_VERSION+set}" ; then
14175 setopt NO_GLOB_SUBST
14178 cfgfile="${ofile}T"
14179 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14182 cat <<_LT_EOF >> "$cfgfile"
14185 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14186 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14188 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14190 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14191 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14193 # Written by Gordon Matzigkeit, 1996
14195 # This file is part of GNU Libtool.
14197 # GNU Libtool is free software; you can redistribute it and/or
14198 # modify it under the terms of the GNU General Public License as
14199 # published by the Free Software Foundation; either version 2 of
14200 # the License, or (at your option) any later version.
14202 # As a special exception to the GNU General Public License,
14203 # if you distribute this file as part of a program or library that
14204 # is built using GNU Libtool, you may include this file under the
14205 # same distribution terms that you use for the rest of that program.
14207 # GNU Libtool is distributed in the hope that it will be useful,
14208 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14209 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14210 # GNU General Public License for more details.
14212 # You should have received a copy of the GNU General Public License
14213 # along with GNU Libtool; see the file COPYING. If not, a copy
14214 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14215 # obtained by writing to the Free Software Foundation, Inc.,
14216 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14219 # The names of the tagged configurations supported by this script.
14222 # ### BEGIN LIBTOOL CONFIG
14224 # Which release of libtool.m4 was used?
14225 macro_version=$macro_version
14226 macro_revision=$macro_revision
14228 # Whether or not to build shared libraries.
14229 build_libtool_libs=$enable_shared
14231 # Whether or not to build static libraries.
14232 build_old_libs=$enable_static
14234 # What type of objects to build.
14237 # Whether or not to optimize for fast installation.
14238 fast_install=$enable_fast_install
14240 # Shell to use when invoking shell scripts.
14243 # An echo program that protects backslashes.
14247 host_alias=$host_alias
14251 # The build system.
14252 build_alias=$build_alias
14256 # A sed program that does not truncate output.
14259 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14260 Xsed="\$SED -e 1s/^X//"
14262 # A grep program that handles long lines.
14268 # A literal string matcher.
14271 # A BSD- or MS-compatible name lister.
14274 # Whether we need soft or hard links.
14277 # What is the maximum length of a command?
14278 max_cmd_len=$max_cmd_len
14280 # Object file suffix (normally "o").
14283 # Executable file suffix (normally "").
14286 # whether the shell understands "unset".
14289 # turn spaces into newlines.
14292 # turn newlines into spaces.
14295 # convert \$build file names to \$host format.
14296 to_host_file_cmd=$lt_cv_to_host_file_cmd
14298 # convert \$build files to toolchain format.
14299 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14301 # An object symbol dumper.
14302 OBJDUMP=$lt_OBJDUMP
14304 # Method to check whether dependent libraries are shared objects.
14305 deplibs_check_method=$lt_deplibs_check_method
14307 # Command to use when deplibs_check_method = "file_magic".
14308 file_magic_cmd=$lt_file_magic_cmd
14310 # How to find potential files when deplibs_check_method = "file_magic".
14311 file_magic_glob=$lt_file_magic_glob
14313 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14314 want_nocaseglob=$lt_want_nocaseglob
14316 # DLL creation program.
14317 DLLTOOL=$lt_DLLTOOL
14319 # Command to associate shared and link libraries.
14320 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14325 # Flags to create an archive.
14326 AR_FLAGS=$lt_AR_FLAGS
14328 # How to feed a file listing to the archiver.
14329 archiver_list_spec=$lt_archiver_list_spec
14331 # A symbol stripping program.
14334 # Commands used to install an old-style archive.
14336 old_postinstall_cmds=$lt_old_postinstall_cmds
14337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14339 # Whether to use a lock for old archive extraction.
14340 lock_old_archive_extraction=$lock_old_archive_extraction
14345 # LTCC compiler flags.
14346 LTCFLAGS=$lt_CFLAGS
14348 # Take the output of nm and produce a listing of raw symbols and C names.
14349 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14351 # Transform the output of nm in a proper C declaration.
14352 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14354 # Transform the output of nm in a C name address pair.
14355 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14357 # Transform the output of nm in a C name address pair when lib prefix is needed.
14358 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14360 # Specify filename containing input files for \$NM.
14361 nm_file_list_spec=$lt_nm_file_list_spec
14363 # The root where to search for dependent libraries,and in which our libraries should be installed.
14364 lt_sysroot=$lt_sysroot
14366 # The name of the directory that contains temporary libtool files.
14369 # Used to examine libraries when file_magic_cmd begins with "file".
14370 MAGIC_CMD=$MAGIC_CMD
14372 # Must we lock files when doing compilation?
14373 need_locks=$lt_need_locks
14376 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14378 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14379 DSYMUTIL=$lt_DSYMUTIL
14381 # Tool to change global to local symbols on Mac OS X.
14384 # Tool to manipulate fat objects and archives on Mac OS X.
14387 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14390 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14391 OTOOL64=$lt_OTOOL64
14393 # Old archive suffix (normally "a").
14396 # Shared library suffix (normally ".so").
14397 shrext_cmds=$lt_shrext_cmds
14399 # The commands to extract the exported symbol list from a shared archive.
14400 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14402 # Variables whose values should be saved in libtool wrapper scripts and
14403 # restored at link time.
14404 variables_saved_for_relink=$lt_variables_saved_for_relink
14406 # Do we need the "lib" prefix for modules?
14407 need_lib_prefix=$need_lib_prefix
14409 # Do we need a version for libraries?
14410 need_version=$need_version
14412 # Library versioning type.
14413 version_type=$version_type
14415 # Shared library runtime path variable.
14416 runpath_var=$runpath_var
14418 # Shared library path variable.
14419 shlibpath_var=$shlibpath_var
14421 # Is shlibpath searched before the hard-coded library search path?
14422 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14424 # Format of library name prefix.
14425 libname_spec=$lt_libname_spec
14427 # List of archive names. First name is the real one, the rest are links.
14428 # The last name is the one that the linker finds with -lNAME
14429 library_names_spec=$lt_library_names_spec
14431 # The coded name of the library, if different from the real name.
14432 soname_spec=$lt_soname_spec
14434 # Permission mode override for installation of shared libraries.
14435 install_override_mode=$lt_install_override_mode
14437 # Command to use after installation of a shared archive.
14438 postinstall_cmds=$lt_postinstall_cmds
14440 # Command to use after uninstallation of a shared archive.
14441 postuninstall_cmds=$lt_postuninstall_cmds
14443 # Commands used to finish a libtool library installation in a directory.
14444 finish_cmds=$lt_finish_cmds
14446 # As "finish_cmds", except a single script fragment to be evaled but
14448 finish_eval=$lt_finish_eval
14450 # Whether we should hardcode library paths into libraries.
14451 hardcode_into_libs=$hardcode_into_libs
14453 # Compile-time system search path for libraries.
14454 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14456 # Run-time system search path for libraries.
14457 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14459 # Whether dlopen is supported.
14460 dlopen_support=$enable_dlopen
14462 # Whether dlopen of programs is supported.
14463 dlopen_self=$enable_dlopen_self
14465 # Whether dlopen of statically linked programs is supported.
14466 dlopen_self_static=$enable_dlopen_self_static
14468 # Commands to strip libraries.
14469 old_striplib=$lt_old_striplib
14470 striplib=$lt_striplib
14473 # The linker used to build libraries.
14476 # How to create reloadable object files.
14477 reload_flag=$lt_reload_flag
14478 reload_cmds=$lt_reload_cmds
14480 # Commands used to build an old-style archive.
14481 old_archive_cmds=$lt_old_archive_cmds
14483 # A language specific compiler.
14486 # Is the compiler the GNU compiler?
14489 # Compiler flag to turn off builtin functions.
14490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14492 # Additional compiler flags for building library objects.
14493 pic_flag=$lt_lt_prog_compiler_pic
14495 # How to pass a linker flag through the compiler.
14496 wl=$lt_lt_prog_compiler_wl
14498 # Compiler flag to prevent dynamic linking.
14499 link_static_flag=$lt_lt_prog_compiler_static
14501 # Does compiler simultaneously support -c and -o options?
14502 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14504 # Whether or not to add -lc for building shared libraries.
14505 build_libtool_need_lc=$archive_cmds_need_lc
14507 # Whether or not to disallow shared libs when runtime libs are static.
14508 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14510 # Compiler flag to allow reflexive dlopens.
14511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14513 # Compiler flag to generate shared objects directly from archives.
14514 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14516 # Whether the compiler copes with passing no objects directly.
14517 compiler_needs_object=$lt_compiler_needs_object
14519 # Create an old-style archive from a shared archive.
14520 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14522 # Create a temporary old-style archive to link instead of a shared archive.
14523 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14525 # Commands used to build a shared archive.
14526 archive_cmds=$lt_archive_cmds
14527 archive_expsym_cmds=$lt_archive_expsym_cmds
14529 # Commands used to build a loadable module if different from building
14530 # a shared archive.
14531 module_cmds=$lt_module_cmds
14532 module_expsym_cmds=$lt_module_expsym_cmds
14534 # Whether we are building with GNU ld or not.
14535 with_gnu_ld=$lt_with_gnu_ld
14537 # Flag that allows shared libraries with undefined symbols to be built.
14538 allow_undefined_flag=$lt_allow_undefined_flag
14540 # Flag that enforces no undefined symbols.
14541 no_undefined_flag=$lt_no_undefined_flag
14543 # Flag to hardcode \$libdir into a binary during linking.
14544 # This must work even if \$libdir does not exist
14545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14547 # If ld is used when linking, flag to hardcode \$libdir into a binary
14548 # during linking. This must work even if \$libdir does not exist.
14549 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14551 # Whether we need a single "-rpath" flag with a separated argument.
14552 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14554 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14555 # DIR into the resulting binary.
14556 hardcode_direct=$hardcode_direct
14558 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14559 # DIR into the resulting binary and the resulting library dependency is
14560 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14561 # library is relocated.
14562 hardcode_direct_absolute=$hardcode_direct_absolute
14564 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14565 # into the resulting binary.
14566 hardcode_minus_L=$hardcode_minus_L
14568 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14569 # into the resulting binary.
14570 hardcode_shlibpath_var=$hardcode_shlibpath_var
14572 # Set to "yes" if building a shared library automatically hardcodes DIR
14573 # into the library and all subsequent libraries and executables linked
14575 hardcode_automatic=$hardcode_automatic
14577 # Set to yes if linker adds runtime paths of dependent libraries
14578 # to runtime path list.
14579 inherit_rpath=$inherit_rpath
14581 # Whether libtool must link a program against all its dependency libraries.
14582 link_all_deplibs=$link_all_deplibs
14584 # Set to "yes" if exported symbols are required.
14585 always_export_symbols=$always_export_symbols
14587 # The commands to list exported symbols.
14588 export_symbols_cmds=$lt_export_symbols_cmds
14590 # Symbols that should not be listed in the preloaded symbols.
14591 exclude_expsyms=$lt_exclude_expsyms
14593 # Symbols that must always be exported.
14594 include_expsyms=$lt_include_expsyms
14596 # Commands necessary for linking programs (against libraries) with templates.
14597 prelink_cmds=$lt_prelink_cmds
14599 # Commands necessary for finishing linking programs.
14600 postlink_cmds=$lt_postlink_cmds
14602 # Specify filename containing input files.
14603 file_list_spec=$lt_file_list_spec
14605 # How to hardcode a shared library path into an executable.
14606 hardcode_action=$hardcode_action
14608 # ### END LIBTOOL CONFIG
14614 cat <<\_LT_EOF >> "$cfgfile"
14615 # AIX sometimes has problems with the GCC collect2 program. For some
14616 # reason, if we set the COLLECT_NAMES environment variable, the problems
14617 # vanish in a puff of smoke.
14618 if test "X${COLLECT_NAMES+set}" != Xset; then
14620 export COLLECT_NAMES
14627 ltmain="$ac_aux_dir/ltmain.sh"
14630 # We use sed instead of cat because bash on DJGPP gets confused if
14631 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14632 # text mode, it properly converts lines to CR/LF. This bash problem
14633 # is reportedly fixed, but why not run on old versions too?
14634 sed '$q' "$ltmain" >> "$cfgfile" \
14635 || (rm -f "$cfgfile"; exit 1)
14637 if test x"$xsi_shell" = xyes; then
14638 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14642 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14643 \ * ) func_dirname_result="${3}" ;;\
14645 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14646 && mv -f "$cfgfile.tmp" "$cfgfile" \
14647 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14648 test 0 -eq $? || _lt_function_replace_fail=:
14651 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14654 \ func_basename_result="${1##*/}"\
14655 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14656 && mv -f "$cfgfile.tmp" "$cfgfile" \
14657 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14658 test 0 -eq $? || _lt_function_replace_fail=:
14661 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14662 func_dirname_and_basename ()\
14665 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14666 \ * ) func_dirname_result="${3}" ;;\
14668 \ func_basename_result="${1##*/}"\
14669 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14670 && mv -f "$cfgfile.tmp" "$cfgfile" \
14671 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14672 test 0 -eq $? || _lt_function_replace_fail=:
14675 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14678 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14679 \ # positional parameters, so assign one to ordinary parameter first.\
14680 \ func_stripname_result=${3}\
14681 \ func_stripname_result=${func_stripname_result#"${1}"}\
14682 \ func_stripname_result=${func_stripname_result%"${2}"}\
14683 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14684 && mv -f "$cfgfile.tmp" "$cfgfile" \
14685 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14686 test 0 -eq $? || _lt_function_replace_fail=:
14689 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14690 func_split_long_opt ()\
14692 \ func_split_long_opt_name=${1%%=*}\
14693 \ func_split_long_opt_arg=${1#*=}\
14694 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14695 && mv -f "$cfgfile.tmp" "$cfgfile" \
14696 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14697 test 0 -eq $? || _lt_function_replace_fail=:
14700 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14701 func_split_short_opt ()\
14703 \ func_split_short_opt_arg=${1#??}\
14704 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14705 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14706 && mv -f "$cfgfile.tmp" "$cfgfile" \
14707 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14708 test 0 -eq $? || _lt_function_replace_fail=:
14711 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14715 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14716 \ *) func_lo2o_result=${1} ;;\
14718 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14719 && mv -f "$cfgfile.tmp" "$cfgfile" \
14720 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14721 test 0 -eq $? || _lt_function_replace_fail=:
14724 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14727 func_xform_result=${1%.*}.lo\
14728 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14729 && mv -f "$cfgfile.tmp" "$cfgfile" \
14730 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14731 test 0 -eq $? || _lt_function_replace_fail=:
14734 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14737 func_arith_result=$(( $* ))\
14738 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14739 && mv -f "$cfgfile.tmp" "$cfgfile" \
14740 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14741 test 0 -eq $? || _lt_function_replace_fail=:
14744 sed -e '/^func_len ()$/,/^} # func_len /c\
14747 func_len_result=${#1}\
14748 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14749 && mv -f "$cfgfile.tmp" "$cfgfile" \
14750 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14751 test 0 -eq $? || _lt_function_replace_fail=:
14755 if test x"$lt_shell_append" = xyes; then
14756 sed -e '/^func_append ()$/,/^} # func_append /c\
14759 eval "${1}+=\\${2}"\
14760 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14761 && mv -f "$cfgfile.tmp" "$cfgfile" \
14762 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14763 test 0 -eq $? || _lt_function_replace_fail=:
14766 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14767 func_append_quoted ()\
14769 \ func_quote_for_eval "${2}"\
14770 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14771 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14772 && mv -f "$cfgfile.tmp" "$cfgfile" \
14773 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14774 test 0 -eq $? || _lt_function_replace_fail=:
14777 # Save a `func_append' function call where possible by direct use of '+='
14778 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14779 && mv -f "$cfgfile.tmp" "$cfgfile" \
14780 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14781 test 0 -eq $? || _lt_function_replace_fail=:
14783 # Save a `func_append' function call even when '+=' is not available
14784 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14785 && mv -f "$cfgfile.tmp" "$cfgfile" \
14786 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14787 test 0 -eq $? || _lt_function_replace_fail=:
14790 if test x"$_lt_function_replace_fail" = x":"; then
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14792 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14796 mv -f "$cfgfile" "$ofile" ||
14797 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14808 ac_clean_files=$ac_clean_files_save
14810 test $ac_write_fail = 0 ||
14811 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14814 # configure is writing to config.log, and then calls config.status.
14815 # config.status does its own redirection, appending to config.log.
14816 # Unfortunately, on DOS this fails, as config.log is still kept open
14817 # by configure, so config.status won't be able to write to it; its
14818 # output is simply discarded. So we exec the FD to /dev/null,
14819 # effectively closing config.log, so it can be properly (re)opened and
14820 # appended to by config.status. When coming back to configure, we
14821 # need to make the FD available again.
14822 if test "$no_create" != yes; then
14824 ac_config_status_args=
14825 test "$silent" = yes &&
14826 ac_config_status_args="$ac_config_status_args --quiet"
14828 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14830 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14831 # would make configure fail if this is the last instruction.
14832 $ac_cs_success || as_fn_exit 1
14834 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14836 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}