2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68.
6 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 @%:@ This configure script is free software; the Free Software Foundation
12 @%:@ gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in @%:@(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in @%:@(
148 set -o posix ;; @%:@(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
199 case $as_dir in @%:@(
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 @%:@ Portably unset VAR.
270 { eval $1=; unset $1;}
274 @%:@ as_fn_set_status STATUS
275 @%:@ -----------------------
276 @%:@ Set @S|@? to STATUS, without forking.
280 } @%:@ as_fn_set_status
282 @%:@ as_fn_exit STATUS
283 @%:@ -----------------
284 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 @%:@ as_fn_append VAR VALUE
340 @%:@ ----------------------
341 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
342 @%:@ advantage of any shell optimizations that allow amortized linear growth over
343 @%:@ repeated appends, instead of the typical quadratic growth present in naive
344 @%:@ implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
357 @%:@ as_fn_arith ARG...
358 @%:@ ------------------
359 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
360 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
361 @%:@ must be portable across @S|@(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
376 @%:@ ----------------------------------------
377 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 @%:@ script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in @%:@(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
575 ac_unique_file="glist.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
589 # ifdef HAVE_STDLIB_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
612 ac_subst_vars='am__EXEEXT_FALSE
619 G_MODULE_BROKEN_RTLD_GLOBAL
621 G_MODULE_HAVE_DLERROR
628 MAINTAINER_MODE_FALSE
684 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
754 enable_dependency_tracking
758 enable_maintainer_mode
766 ac_precious_vars='build_alias
777 # Initialize some variables set by options.
779 ac_init_version=false
780 ac_unrecognized_opts=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name=s,x,x,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir='${exec_prefix}/bin'
806 sbindir='${exec_prefix}/sbin'
807 libexecdir='${exec_prefix}/libexec'
808 datarootdir='${prefix}/share'
809 datadir='${datarootdir}'
810 sysconfdir='${prefix}/etc'
811 sharedstatedir='${prefix}/com'
812 localstatedir='${prefix}/var'
813 includedir='${prefix}/include'
814 oldincludedir='/usr/include'
815 docdir='${datarootdir}/doc/${PACKAGE}'
816 infodir='${datarootdir}/info'
821 libdir='${exec_prefix}/lib'
822 localedir='${datarootdir}/locale'
823 mandir='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\$ac_option
837 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=no ;;
896 -docdir | --docdir | --docdi | --doc | --do)
898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906 -enable-* | --enable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
920 eval enable_$ac_useropt=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 -help | --help | --hel | --he | -h)
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
995 # Obsolete; use --without-fp.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1084 -site=* | --site=* | --sit=*)
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 as_fn_error $? "invalid package name: $ac_useropt"
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1124 eval with_$ac_useropt=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130 as_fn_error $? "invalid package name: $ac_useropt"
1131 ac_useropt_orig=$ac_useropt
1132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep=', ';;
1140 eval with_$ac_useropt=no ;;
1143 # Obsolete; use --with-x.
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev=x_includes ;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151 x_includes=$ac_optarg ;;
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev=x_libraries ;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158 x_libraries=$ac_optarg ;;
1160 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
1169 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $? "missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val=\$$ac_var
1205 # Remove trailing slashes.
1208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228 if test "x$build_alias" = x; then
1229 cross_compiling=maybe
1230 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1231 If a cross compiler is detected then cross compile mode will be used" >&2
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240 test "$silent" = yes && exec 6>/dev/null
1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di=`ls -di .` &&
1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error $? "working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error $? "pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var in $ac_precious_vars; do
1304 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_${ac_var}_value=\$${ac_var}
1306 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures this package to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking ...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 @<:@@S|@ac_default_prefix@:>@
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1380 --build=BUILD configure for building on BUILD [guessed]
1381 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1385 if test -n "$ac_init_help"; then
1390 --disable-option-checking ignore unrecognized --enable/--with options
1391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1393 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1394 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1395 --enable-fast-install@<:@=PKGS@:>@
1396 optimize for fast installation @<:@default=yes@:>@
1397 --disable-dependency-tracking speeds up one-time build
1398 --enable-dependency-tracking do not reject slow dependency extractors
1399 --disable-libtool-lock avoid locking (might break parallel builds)
1400 --enable-maintainer-mode enable make rules and dependencies not useful
1401 (and sometimes confusing) to the casual installer
1402 --enable-debug=no/minimum/yes turn on debugging default=$debug_default
1403 --enable-mem-check turn on malloc/free sanity checking (not recommended) default=no
1404 --enable-mem-profile turn on malloc profiling atexit (not recommended) default=no
1405 --enable-ansi turn on strict ansi default=no
1406 --enable-threads turn on basic thread support default=yes
1407 (=no will override --with-threads)
1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1412 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1414 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1415 --with-sysroot=DIR Search for dependent libraries within DIR
1416 (or the compiler's sysroot if not specified).
1417 --with-threads=none/posix/solaris/nspr specify a thread implementation to use
1419 Some influential environment variables:
1420 CC C compiler command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1423 nonstandard directory <lib dir>
1424 LIBS libraries to pass to the linker, e.g. -l<library>
1425 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1426 you have headers in a nonstandard directory <include dir>
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to the package provider.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" ||
1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1462 .) # We are building in place.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1496 generated by GNU Autoconf 2.68
1498 Copyright (C) 2010 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1509 @%:@ ac_fn_c_try_compile LINENO
1510 @%:@ --------------------------
1511 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext
1516 if { { ac_try="$ac_compile"
1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_compile") 2>conftest.err
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest.$ac_objext; then :
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status $ac_retval
1545 } @%:@ ac_fn_c_try_compile
1547 @%:@ ac_fn_c_try_link LINENO
1548 @%:@ -----------------------
1549 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 rm -f conftest.$ac_objext conftest$ac_exeext
1554 if { { ac_try="$ac_link"
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_link") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } && {
1570 test -z "$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1572 } && test -s conftest$ac_exeext && {
1573 test "$cross_compiling" = yes ||
1574 $as_test_x conftest$ac_exeext
1578 $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.$ac_ext >&5
1583 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1584 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1585 # interfere with the next link command; also delete a directory that is
1586 # left behind by Apple's compiler. We do this before executing the actions.
1587 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status $ac_retval
1591 } @%:@ ac_fn_c_try_link
1593 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1594 @%:@ -------------------------------------------------------
1595 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1596 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1597 ac_fn_c_check_header_compile ()
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1601 $as_echo_n "checking for $2... " >&6; }
1602 if eval \${$3+:} false; then :
1603 $as_echo_n "(cached) " >&6
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1610 if ac_fn_c_try_compile "$LINENO"; then :
1615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 } @%:@ ac_fn_c_check_header_compile
1624 @%:@ ac_fn_c_try_cpp LINENO
1625 @%:@ ----------------------
1626 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if { { ac_try="$ac_cpp conftest.$ac_ext"
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1639 if test -s conftest.err; then
1640 grep -v '^ *+' conftest.err >conftest.er1
1641 cat conftest.er1 >&5
1642 mv -f conftest.er1 conftest.err
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } > conftest.i && {
1646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1647 test ! -s conftest.err
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 as_fn_set_status $ac_retval
1659 } @%:@ ac_fn_c_try_cpp
1661 @%:@ ac_fn_c_try_run LINENO
1662 @%:@ ----------------------
1663 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1664 @%:@ that executables *can* be run.
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 if { { ac_try="$ac_link"
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_link") 2>&5
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1679 { { case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_try") 2>&5
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; }; }; then :
1691 $as_echo "$as_me: program exited with status $ac_status" >&5
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1695 ac_retval=$ac_status
1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status $ac_retval
1701 } @%:@ ac_fn_c_try_run
1703 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1704 @%:@ ----------------------------------
1705 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1706 ac_fn_c_check_func ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \${$3+:} false; then :
1712 $as_echo_n "(cached) " >&6
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1716 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1718 #define $2 innocuous_$2
1720 /* System header to define __stub macros and hopefully few prototypes,
1721 which can conflict with char $2 (); below.
1722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1723 <limits.h> exists even on freestanding compilers. */
1726 # include <limits.h>
1728 # include <assert.h>
1733 /* Override any GCC internal prototype to avoid an error.
1734 Use char because int might match the return type of a GCC
1735 builtin and then its argument prototype would still apply. */
1740 /* The GNU C library defines this for functions which it implements
1741 to always fail with ENOSYS. Some functions are actually named
1742 something starting with __ and the normal name is an alias. */
1743 #if defined __stub_$2 || defined __stub___$2
1755 if ac_fn_c_try_link "$LINENO"; then :
1760 rm -f core conftest.err conftest.$ac_objext \
1761 conftest$ac_exeext conftest.$ac_ext
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 } @%:@ ac_fn_c_check_func
1770 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1771 @%:@ --------------------------------------------
1772 @%:@ Tries to find the compile-time value of EXPR in a program that includes
1773 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
1775 ac_fn_c_compute_int ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 if test "$cross_compiling" = yes; then
1779 # Depending upon the size, compute the lo and hi bounds.
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1786 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
1787 test_array @<:@0@:>@ = 0
1793 if ac_fn_c_try_compile "$LINENO"; then :
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1802 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1803 test_array @<:@0@:>@ = 0
1809 if ac_fn_c_try_compile "$LINENO"; then :
1810 ac_hi=$ac_mid; break
1812 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1813 if test $ac_lo -le $ac_mid; then
1817 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1828 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
1829 test_array @<:@0@:>@ = 0
1835 if ac_fn_c_try_compile "$LINENO"; then :
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1844 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
1845 test_array @<:@0@:>@ = 0
1851 if ac_fn_c_try_compile "$LINENO"; then :
1852 ac_lo=$ac_mid; break
1854 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1855 if test $ac_mid -le $ac_hi; then
1859 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 # Binary search between lo and hi bounds.
1870 while test "x$ac_lo" != "x$ac_hi"; do
1871 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1878 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1879 test_array @<:@0@:>@ = 0
1885 if ac_fn_c_try_compile "$LINENO"; then :
1888 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892 case $ac_lo in @%:@((
1893 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1900 static long int longval () { return $2; }
1901 static unsigned long int ulongval () { return $2; }
1902 @%:@include <stdio.h>
1903 @%:@include <stdlib.h>
1908 FILE *f = fopen ("conftest.val", "w");
1913 long int i = longval ();
1916 fprintf (f, "%ld", i);
1920 unsigned long int i = ulongval ();
1923 fprintf (f, "%lu", i);
1925 /* Do not output a trailing newline, as this causes \r\n confusion
1926 on some platforms. */
1927 return ferror (f) || fclose (f) != 0;
1933 if ac_fn_c_try_run "$LINENO"; then :
1934 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1939 conftest.$ac_objext conftest.beam conftest.$ac_ext
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 as_fn_set_status $ac_retval
1946 } @%:@ ac_fn_c_compute_int
1948 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1949 @%:@ -------------------------------------------------------
1950 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1951 @%:@ the include files in INCLUDES and setting the cache variable VAR
1953 ac_fn_c_check_header_mongrel ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 if eval \${$3+:} false; then :
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if eval \${$3+:} false; then :
1960 $as_echo_n "(cached) " >&6
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1966 # Is the header compilable?
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1968 $as_echo_n "checking $2 usability... " >&6; }
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975 ac_header_compiler=yes
1977 ac_header_compiler=no
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1981 $as_echo "$ac_header_compiler" >&6; }
1983 # Is the header present?
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1985 $as_echo_n "checking $2 presence... " >&6; }
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1990 if ac_fn_c_try_cpp "$LINENO"; then :
1991 ac_header_preproc=yes
1993 ac_header_preproc=no
1995 rm -f conftest.err conftest.i conftest.$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1997 $as_echo "$ac_header_preproc" >&6; }
1999 # So? What about this header?
2000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2003 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2005 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2009 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2011 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2013 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2015 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2017 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021 $as_echo_n "checking for $2... " >&6; }
2022 if eval \${$3+:} false; then :
2023 $as_echo_n "(cached) " >&6
2025 eval "$3=\$ac_header_compiler"
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } @%:@ ac_fn_c_check_header_mongrel
2034 cat >config.log <<_ACEOF
2035 This file contains any messages produced by compilers while
2036 running configure, to aid debugging if configure makes a mistake.
2038 It was created by $as_me, which was
2039 generated by GNU Autoconf 2.68. Invocation command line was
2051 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2052 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2053 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2054 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2055 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2057 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2058 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2060 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2061 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2062 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2063 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2064 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2065 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2066 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 $as_echo "PATH: $as_dir"
2091 # Keep a trace of the command line.
2092 # Strip out --no-create and --no-recursion so they do not pile up.
2093 # Strip out --silent because we don't want to record it for future runs.
2094 # Also quote any args containing shell meta-characters.
2095 # Make two passes to allow for proper duplicate-argument suppression.
2099 ac_must_keep_next=false
2105 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107 | -silent | --silent | --silen | --sile | --sil)
2110 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2115 as_fn_append ac_configure_args1 " '$ac_arg'"
2116 if test $ac_must_keep_next = true; then
2117 ac_must_keep_next=false # Got value, back to normal.
2120 *=* | --config-cache | -C | -disable-* | --disable-* \
2121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2123 | -with-* | --with-* | -without-* | --without-* | --x)
2124 case "$ac_configure_args0 " in
2125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128 -* ) ac_must_keep_next=true ;;
2131 as_fn_append ac_configure_args " '$ac_arg'"
2136 { ac_configure_args0=; unset ac_configure_args0;}
2137 { ac_configure_args1=; unset ac_configure_args1;}
2139 # When interrupted or exit'd, cleanup temporary files, and complete
2140 # config.log. We remove comments because anyway the quotes in there
2141 # would cause problems or look ugly.
2142 # WARNING: Use '\'' to represent an apostrophe within the trap.
2143 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2144 trap 'exit_status=$?
2145 # Save into config.log some information that might help in debugging.
2149 $as_echo "## ---------------- ##
2150 ## Cache variables. ##
2151 ## ---------------- ##"
2153 # The following way of writing the cache mishandles newlines in values,
2155 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2156 eval ac_val=\$$ac_var
2160 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2161 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2164 _ | IFS | as_nl) ;; #(
2165 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2166 *) { eval $ac_var=; unset $ac_var;} ;;
2171 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2172 *${as_nl}ac_space=\ *)
2174 "s/'\''/'\''\\\\'\'''\''/g;
2175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2178 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2185 $as_echo "## ----------------- ##
2186 ## Output variables. ##
2187 ## ----------------- ##"
2189 for ac_var in $ac_subst_vars
2191 eval ac_val=\$$ac_var
2193 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2195 $as_echo "$ac_var='\''$ac_val'\''"
2199 if test -n "$ac_subst_files"; then
2200 $as_echo "## ------------------- ##
2201 ## File substitutions. ##
2202 ## ------------------- ##"
2204 for ac_var in $ac_subst_files
2206 eval ac_val=\$$ac_var
2208 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 $as_echo "$ac_var='\''$ac_val'\''"
2215 if test -s confdefs.h; then
2216 $as_echo "## ----------- ##
2223 test "$ac_signal" != 0 &&
2224 $as_echo "$as_me: caught signal $ac_signal"
2225 $as_echo "$as_me: exit $exit_status"
2227 rm -f core *.core core.conftest.* &&
2228 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2231 for ac_signal in 1 2 13 15; do
2232 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2236 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2237 rm -f -r conftest* confdefs.h
2239 $as_echo "/* confdefs.h */" > confdefs.h
2241 # Predefined preprocessor variables.
2243 cat >>confdefs.h <<_ACEOF
2244 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2247 cat >>confdefs.h <<_ACEOF
2248 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2251 cat >>confdefs.h <<_ACEOF
2252 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 cat >>confdefs.h <<_ACEOF
2256 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2259 cat >>confdefs.h <<_ACEOF
2260 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2263 cat >>confdefs.h <<_ACEOF
2264 @%:@define PACKAGE_URL "$PACKAGE_URL"
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer an explicitly selected file to automatically selected ones.
2272 if test -n "$CONFIG_SITE"; then
2273 # We do not want a PATH search for config.site.
2274 case $CONFIG_SITE in @%:@((
2275 -*) ac_site_file1=./$CONFIG_SITE;;
2276 */*) ac_site_file1=$CONFIG_SITE;;
2277 *) ac_site_file1=./$CONFIG_SITE;;
2279 elif test "x$prefix" != xNONE; then
2280 ac_site_file1=$prefix/share/config.site
2281 ac_site_file2=$prefix/etc/config.site
2283 ac_site_file1=$ac_default_prefix/share/config.site
2284 ac_site_file2=$ac_default_prefix/etc/config.site
2286 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2288 test "x$ac_site_file" = xNONE && continue
2289 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2291 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2292 sed 's/^/| /' "$ac_site_file" >&5
2294 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2296 as_fn_error $? "failed to load site script $ac_site_file
2297 See \`config.log' for more details" "$LINENO" 5; }
2301 if test -r "$cache_file"; then
2302 # Some versions of bash will fail to source /dev/null (special files
2303 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2304 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2306 $as_echo "$as_me: loading cache $cache_file" >&6;}
2308 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2309 *) . "./$cache_file";;
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2314 $as_echo "$as_me: creating cache $cache_file" >&6;}
2318 # Check that the precious variables saved in the cache have kept the same
2320 ac_cache_corrupted=false
2321 for ac_var in $ac_precious_vars; do
2322 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2323 eval ac_new_set=\$ac_env_${ac_var}_set
2324 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2325 eval ac_new_val=\$ac_env_${ac_var}_value
2326 case $ac_old_set,$ac_new_set in
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2333 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334 ac_cache_corrupted=: ;;
2337 if test "x$ac_old_val" != "x$ac_new_val"; then
2338 # differences in whitespace do not lead to failure.
2339 ac_old_val_w=`echo x $ac_old_val`
2340 ac_new_val_w=`echo x $ac_new_val`
2341 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2343 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2344 ac_cache_corrupted=:
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2347 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2348 eval $ac_var=\$ac_old_val
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2351 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2353 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2356 # Pass precious variables to config.status.
2357 if test "$ac_new_set" = set; then
2359 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2360 *) ac_arg=$ac_var=$ac_new_val ;;
2362 case " $ac_configure_args " in
2363 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2364 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2368 if $ac_cache_corrupted; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2372 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2373 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2375 ## -------------------- ##
2376 ## Main body of script. ##
2377 ## -------------------- ##
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 # Save this value here, since automake will set cflags later
2388 cflags_set=${CFLAGS+set}
2390 # we rewrite this file
2391 if test "x$cross_compiling" != "xyes"; then
2392 rm -f glibconfig-sysdefs.h
2396 # The following version number definitions apply to GLib, GModule and GThread
2397 # as a whole, so if changes occoured in any of them, they are all
2398 # treated with the same interface and binary age.
2401 # GLIB_MICRO_VERSION += 1;
2402 # GLIB_INTERFACE_AGE += 1;
2403 # GLIB_BINARY_AGE += 1;
2404 # if any functions have been added, set GLIB_INTERFACE_AGE to 0.
2405 # if backwards compatibility has been broken,
2406 # set GLIB_BINARY_AGE _and_ GLIB_INTERFACE_AGE to 0.
2408 GLIB_MAJOR_VERSION=1
2409 GLIB_MINOR_VERSION=2
2410 GLIB_MICRO_VERSION=10
2411 GLIB_INTERFACE_AGE=10
2413 GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION
2422 # libtool versioning
2423 LT_RELEASE=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION
2424 LT_CURRENT=`expr $GLIB_MICRO_VERSION - $GLIB_INTERFACE_AGE`
2425 LT_REVISION=$GLIB_INTERFACE_AGE
2426 LT_AGE=`expr $GLIB_BINARY_AGE - $GLIB_INTERFACE_AGE`
2432 VERSION=$GLIB_VERSION
2435 am__api_version='1.11'
2438 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2439 if test -f "$ac_dir/install-sh"; then
2441 ac_install_sh="$ac_aux_dir/install-sh -c"
2443 elif test -f "$ac_dir/install.sh"; then
2445 ac_install_sh="$ac_aux_dir/install.sh -c"
2447 elif test -f "$ac_dir/shtool"; then
2449 ac_install_sh="$ac_aux_dir/shtool install -c"
2453 if test -z "$ac_aux_dir"; then
2454 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2457 # These three variables are undocumented and unsupported,
2458 # and are intended to be withdrawn in a future Autoconf release.
2459 # They can cause serious problems if a builder's source tree is in a directory
2460 # whose full name contains unusual characters.
2461 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2462 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2463 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2466 # Find a good install program. We prefer a C program (faster),
2467 # so one script is as good as another. But avoid the broken or
2468 # incompatible versions:
2469 # SysV /etc/install, /usr/sbin/install
2470 # SunOS /usr/etc/install
2471 # IRIX /sbin/install
2473 # AmigaOS /C/install, which installs bootblocks on floppy discs
2474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2477 # OS/2's system install, which has a completely different semantic
2478 # ./install, which can be erroneously created by make from ./install.sh.
2479 # Reject install programs that cannot install multiple files.
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2481 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2482 if test -z "$INSTALL"; then
2483 if ${ac_cv_path_install+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir=.
2491 # Account for people who put trailing slashes in PATH elements.
2492 case $as_dir/ in @%:@((
2493 ./ | .// | /[cC]/* | \
2494 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2495 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2498 # OSF1 and SCO ODT 3.0 have their own names for install.
2499 # Don't use installbsd from OSF since it installs stuff as root
2501 for ac_prog in ginstall scoinst install; do
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2504 if test $ac_prog = install &&
2505 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2506 # AIX install. It has an incompatible calling convention.
2508 elif test $ac_prog = install &&
2509 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2510 # program-specific install script used by HP pwplus--don't use.
2513 rm -rf conftest.one conftest.two conftest.dir
2514 echo one > conftest.one
2515 echo two > conftest.two
2517 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2518 test -s conftest.one && test -s conftest.two &&
2519 test -s conftest.dir/conftest.one &&
2520 test -s conftest.dir/conftest.two
2522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2535 rm -rf conftest.one conftest.two conftest.dir
2538 if test "${ac_cv_path_install+set}" = set; then
2539 INSTALL=$ac_cv_path_install
2541 # As a last resort, use the slow shell script. Don't cache a
2542 # value for INSTALL within a source directory, because that will
2543 # break other packages using the cache if that directory is
2544 # removed, or if the value is a relative name.
2545 INSTALL=$ac_install_sh
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2549 $as_echo "$INSTALL" >&6; }
2551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2552 # It thinks the first close brace ends the variable substitution.
2553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2557 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2560 $as_echo_n "checking whether build environment is sane... " >&6; }
2563 echo timestamp > conftest.file
2564 # Reject unsafe characters in $srcdir or the absolute working directory
2565 # name. Accept space and tab only in the latter.
2569 *[\\\"\#\$\&\'\`$am_lf]*)
2570 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2573 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2574 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2577 # Do `set' in a subshell so we don't clobber the current shell's
2578 # arguments. Must try -L first in case configure is actually a
2579 # symlink; some systems play weird games with the mod time of symlinks
2580 # (eg FreeBSD returns the mod time of the symlink's containing
2583 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2584 if test "$*" = "X"; then
2586 set X `ls -t "$srcdir/configure" conftest.file`
2589 if test "$*" != "X $srcdir/configure conftest.file" \
2590 && test "$*" != "X conftest.file $srcdir/configure"; then
2592 # If neither matched, then we have a broken ls. This can happen
2593 # if, for instance, CONFIG_SHELL is bash and it inherits a
2594 # broken ls alias from the environment. This has actually
2595 # happened. Such a system could not be considered "sane".
2596 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2597 alias in your environment" "$LINENO" 5
2600 test "$2" = conftest.file
2606 as_fn_error $? "newly created file is older than distributed files!
2607 Check your system clock" "$LINENO" 5
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610 $as_echo "yes" >&6; }
2611 test "$program_prefix" != NONE &&
2612 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2613 # Use a double $ so make ignores it.
2614 test "$program_suffix" != NONE &&
2615 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2616 # Double any \ or $.
2617 # By default was `s,x,x', remove it if useless.
2618 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2619 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2621 # expand $ac_aux_dir to an absolute path
2622 am_aux_dir=`cd $ac_aux_dir && pwd`
2624 if test x"${MISSING+set}" != xset; then
2627 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2629 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2632 # Use eval to expand $SHELL
2633 if eval "$MISSING --run true"; then
2634 am_missing_run="$MISSING --run "
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2638 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2641 if test x"${install_sh}" != xset; then
2644 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2646 install_sh="\${SHELL} $am_aux_dir/install-sh"
2650 # Installed binaries are usually stripped using `strip' when the user
2651 # run `make install-strip'. However `strip' might not be the right
2652 # tool to use in cross-compilation environments, therefore Automake
2653 # will honor the `STRIP' environment variable to overrule this program.
2654 if test "$cross_compiling" != no; then
2655 if test -n "$ac_tool_prefix"; then
2656 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2657 set dummy ${ac_tool_prefix}strip; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_STRIP+:} false; then :
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$STRIP"; then
2664 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir=.
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 STRIP=$ac_cv_prog_STRIP
2684 if test -n "$STRIP"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2686 $as_echo "$STRIP" >&6; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2694 if test -z "$ac_cv_prog_STRIP"; then
2696 # Extract the first word of "strip", so it can be a program name with args.
2697 set dummy strip; ac_word=$2
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2701 $as_echo_n "(cached) " >&6
2703 if test -n "$ac_ct_STRIP"; then
2704 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 ac_cv_prog_ac_ct_STRIP="strip"
2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2724 if test -n "$ac_ct_STRIP"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2726 $as_echo "$ac_ct_STRIP" >&6; }
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2732 if test "x$ac_ct_STRIP" = x; then
2735 case $cross_compiling:$ac_tool_warned in
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2739 ac_tool_warned=yes ;;
2744 STRIP="$ac_cv_prog_STRIP"
2748 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2751 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2752 if test -z "$MKDIR_P"; then
2753 if ${ac_cv_path_mkdir+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2760 test -z "$as_dir" && as_dir=.
2761 for ac_prog in mkdir gmkdir; do
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2764 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2765 'mkdir (GNU coreutils) '* | \
2766 'mkdir (coreutils) '* | \
2767 'mkdir (fileutils) '4.1*)
2768 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2778 test -d ./--version && rmdir ./--version
2779 if test "${ac_cv_path_mkdir+set}" = set; then
2780 MKDIR_P="$ac_cv_path_mkdir -p"
2782 # As a last resort, use the slow shell script. Don't cache a
2783 # value for MKDIR_P within a source directory, because that will
2784 # break other packages using the cache if that directory is
2785 # removed, or if the value is a relative name.
2786 MKDIR_P="$ac_install_sh -d"
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2790 $as_echo "$MKDIR_P" >&6; }
2794 [\\/$]* | ?:[\\/]*) ;;
2795 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2798 for ac_prog in gawk mawk nawk awk
2800 # Extract the first word of "$ac_prog", so it can be a program name with args.
2801 set dummy $ac_prog; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_AWK+:} false; then :
2805 $as_echo_n "(cached) " >&6
2807 if test -n "$AWK"; then
2808 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2817 ac_cv_prog_AWK="$ac_prog"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 if test -n "$AWK"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2830 $as_echo "$AWK" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2837 test -n "$AWK" && break
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2841 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2843 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2844 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2845 $as_echo_n "(cached) " >&6
2847 cat >conftest.make <<\_ACEOF
2850 @echo '@@@%%%=$(MAKE)=@@@%%%'
2852 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2855 eval ac_cv_prog_make_${ac_make}_set=yes;;
2857 eval ac_cv_prog_make_${ac_make}_set=no;;
2861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2863 $as_echo "yes" >&6; }
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867 $as_echo "no" >&6; }
2868 SET_MAKE="MAKE=${MAKE-make}"
2871 rm -rf .tst 2>/dev/null
2872 mkdir .tst 2>/dev/null
2873 if test -d .tst; then
2878 rmdir .tst 2>/dev/null
2880 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2881 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2882 # is not polluted with repeated "-I."
2883 am__isrc=' -I$(srcdir)'
2884 # test to see if srcdir already configured
2885 if test -f $srcdir/config.status; then
2886 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2890 # test whether we have cygpath
2891 if test -z "$CYGPATH_W"; then
2892 if (cygpath --version) >/dev/null 2>/dev/null; then
2893 CYGPATH_W='cygpath -w'
2900 # Define the identity of the package.
2905 # Some tools Automake needs.
2907 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2910 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2913 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2916 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2919 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2921 # We need awk for the "check" target. The system "awk" is bad on
2923 # Always define AMTAR for backward compatibility.
2925 AMTAR=${AMTAR-"${am_missing_run}tar"}
2927 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2934 # Specify a configuration file
2935 ac_config_headers="$ac_config_headers config.h"
2938 cat >>confdefs.h <<_ACEOF
2939 @%:@define GLIB_MAJOR_VERSION $GLIB_MAJOR_VERSION
2942 cat >>confdefs.h <<_ACEOF
2943 @%:@define GLIB_MINOR_VERSION $GLIB_MINOR_VERSION
2946 cat >>confdefs.h <<_ACEOF
2947 @%:@define GLIB_MICRO_VERSION $GLIB_MICRO_VERSION
2950 cat >>confdefs.h <<_ACEOF
2951 @%:@define GLIB_INTERFACE_AGE $GLIB_INTERFACE_AGE
2954 cat >>confdefs.h <<_ACEOF
2955 @%:@define GLIB_BINARY_AGE $GLIB_BINARY_AGE
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2962 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2968 macro_revision='1.3293'
2982 ltmain="$ac_aux_dir/ltmain.sh"
2984 # Make sure we can run config.sub.
2985 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2986 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2989 $as_echo_n "checking build system type... " >&6; }
2990 if ${ac_cv_build+:} false; then :
2991 $as_echo_n "(cached) " >&6
2993 ac_build_alias=$build_alias
2994 test "x$ac_build_alias" = x &&
2995 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2996 test "x$ac_build_alias" = x &&
2997 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2998 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2999 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3003 $as_echo "$ac_cv_build" >&6; }
3004 case $ac_cv_build in
3006 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3009 ac_save_IFS=$IFS; IFS='-'
3015 # Remember, the first character of IFS is used to create $*,
3016 # except with old shells:
3019 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3023 $as_echo_n "checking host system type... " >&6; }
3024 if ${ac_cv_host+:} false; then :
3025 $as_echo_n "(cached) " >&6
3027 if test "x$host_alias" = x; then
3028 ac_cv_host=$ac_cv_build
3030 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3031 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3036 $as_echo "$ac_cv_host" >&6; }
3039 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3042 ac_save_IFS=$IFS; IFS='-'
3048 # Remember, the first character of IFS is used to create $*,
3049 # except with old shells:
3052 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3055 # Backslashify metacharacters that are still active within
3056 # double-quoted strings.
3057 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3059 # Same as above, but do not quote variable references.
3060 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3062 # Sed substitution to delay expansion of an escaped shell variable in a
3063 # double_quote_subst'ed string.
3064 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3066 # Sed substitution to delay expansion of an escaped single quote.
3067 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3069 # Sed substitution to avoid accidental globbing in evaled expressions
3070 no_glob_subst='s/\*/\\\*/g'
3072 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3073 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3074 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3077 $as_echo_n "checking how to print strings... " >&6; }
3078 # Test print first, because it will be a builtin if present.
3079 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3080 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3082 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3085 # Use this function as a fallback that always works.
3086 func_fallback_echo ()
3088 eval 'cat <<_LTECHO_EOF
3092 ECHO='func_fallback_echo'
3095 # func_echo_all arg...
3096 # Invoke $ECHO with all args, space-separated.
3103 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3104 $as_echo "printf" >&6; } ;;
3105 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3106 $as_echo "print -r" >&6; } ;;
3107 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3108 $as_echo "cat" >&6; } ;;
3124 DEPDIR="${am__leading_dot}deps"
3126 ac_config_commands="$ac_config_commands depfiles"
3129 am_make=${MAKE-make}
3130 cat > confinc << 'END'
3132 @echo this is the am__doit target
3135 # If we don't find an include directive, just comment out the code.
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3137 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3141 # First try GNU make style include.
3142 echo "include confinc" > confmf
3143 # Ignore all kinds of additional output from `make'.
3144 case `$am_make -s -f confmf 2> /dev/null` in #(
3145 *the\ am__doit\ target*)
3151 # Now try BSD make style include.
3152 if test "$am__include" = "#"; then
3153 echo '.include "confinc"' > confmf
3154 case `$am_make -s -f confmf 2> /dev/null` in #(
3155 *the\ am__doit\ target*)
3156 am__include=.include
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3165 $as_echo "$_am_result" >&6; }
3166 rm -f confinc confmf
3168 @%:@ Check whether --enable-dependency-tracking was given.
3169 if test "${enable_dependency_tracking+set}" = set; then :
3170 enableval=$enable_dependency_tracking;
3173 if test "x$enable_dependency_tracking" != xno; then
3174 am_depcomp="$ac_aux_dir/depcomp"
3177 if test "x$enable_dependency_tracking" != xno; then
3187 ac_cpp='$CPP $CPPFLAGS'
3188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 if test -n "$ac_tool_prefix"; then
3192 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3193 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_prog_CC+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$CC"; then
3200 ac_cv_prog_CC="$CC" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test -n "$CC"; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3222 $as_echo "$CC" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3230 if test -z "$ac_cv_prog_CC"; then
3232 # Extract the first word of "gcc", so it can be a program name with args.
3233 set dummy gcc; ac_word=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 if test -n "$ac_ct_CC"; then
3240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 test -z "$as_dir" && as_dir=.
3247 for ac_exec_ext in '' $ac_executable_extensions; do
3248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249 ac_cv_prog_ac_ct_CC="gcc"
3250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3260 if test -n "$ac_ct_CC"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3262 $as_echo "$ac_ct_CC" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3268 if test "x$ac_ct_CC" = x; then
3271 case $cross_compiling:$ac_tool_warned in
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275 ac_tool_warned=yes ;;
3283 if test -z "$CC"; then
3284 if test -n "$ac_tool_prefix"; then
3285 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3286 set dummy ${ac_tool_prefix}cc; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if ${ac_cv_prog_CC+:} false; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC="$CC" # Let the user override the test.
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_CC="${ac_tool_prefix}cc"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3324 if test -z "$CC"; then
3325 # Extract the first word of "cc", so it can be a program name with args.
3326 set dummy cc; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_CC+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$CC"; then
3333 ac_cv_prog_CC="$CC" # Let the user override the test.
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3344 ac_prog_rejected=yes
3348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 if test $ac_prog_rejected = yes; then
3356 # We found a bogon in the path, so make sure we never use it.
3357 set dummy $ac_cv_prog_CC
3359 if test $@%:@ != 0; then
3360 # We chose a different compiler from the bogus one.
3361 # However, it has the same basename, so the bogon will be chosen
3362 # first if we set CC to just the basename; use the full file name.
3364 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3370 if test -n "$CC"; then
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3372 $as_echo "$CC" >&6; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3380 if test -z "$CC"; then
3381 if test -n "$ac_tool_prefix"; then
3382 for ac_prog in cl.exe
3384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if ${ac_cv_prog_CC+:} false; then :
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$CC"; then
3392 ac_cv_prog_CC="$CC" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 if test -n "$CC"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3414 $as_echo "$CC" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3421 test -n "$CC" && break
3424 if test -z "$CC"; then
3426 for ac_prog in cl.exe
3428 # Extract the first word of "$ac_prog", so it can be a program name with args.
3429 set dummy $ac_prog; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 if test -n "$ac_ct_CC"; then
3436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 test -z "$as_dir" && as_dir=.
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445 ac_cv_prog_ac_ct_CC="$ac_prog"
3446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3456 if test -n "$ac_ct_CC"; then
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3458 $as_echo "$ac_ct_CC" >&6; }
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3465 test -n "$ac_ct_CC" && break
3468 if test "x$ac_ct_CC" = x; then
3471 case $cross_compiling:$ac_tool_warned in
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3475 ac_tool_warned=yes ;;
3484 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error $? "no acceptable C compiler found in \$PATH
3487 See \`config.log' for more details" "$LINENO" 5; }
3489 # Provide some information about the compiler.
3490 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3493 for ac_option in --version -v -V -qversion; do
3494 { { ac_try="$ac_compiler $ac_option >&5"
3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497 *) ac_try_echo=$ac_try;;
3499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3500 $as_echo "$ac_try_echo"; } >&5
3501 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3503 if test -s conftest.err; then
3505 ... rest of stderr output deleted ...
3506 10q' conftest.err >conftest.er1
3507 cat conftest.er1 >&5
3509 rm -f conftest.er1 conftest.err
3510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3511 test $ac_status = 0; }
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3525 ac_clean_files_save=$ac_clean_files
3526 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3527 # Try to create an executable without -o first, disregard a.out.
3528 # It will help us diagnose broken compilers, and finding out an intuition
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3531 $as_echo_n "checking whether the C compiler works... " >&6; }
3532 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3534 # The possible output files:
3535 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3538 for ac_file in $ac_files
3541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3542 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3547 if { { ac_try="$ac_link_default"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553 $as_echo "$ac_try_echo"; } >&5
3554 (eval "$ac_link_default") 2>&5
3556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557 test $ac_status = 0; }; then :
3558 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3559 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3560 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3561 # so that the user can short-circuit this test for compilers unknown to
3563 for ac_file in $ac_files ''
3565 test -f "$ac_file" || continue
3567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3570 # We found the default executable, but exeext='' is most
3574 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3576 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578 # We set ac_cv_exeext here because the later test for it is not
3579 # safe: cross compilers may not add the suffix if given an `-o'
3580 # argument, so we may need to know it at that point already.
3581 # Even if this section looks crufty: it has the advantage of
3588 test "$ac_cv_exeext" = no && ac_cv_exeext=
3593 if test -z "$ac_file"; then :
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3596 $as_echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 as_fn_error 77 "C compiler cannot create executables
3602 See \`config.log' for more details" "$LINENO" 5; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3605 $as_echo "yes" >&6; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3608 $as_echo_n "checking for C compiler default output file name... " >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3610 $as_echo "$ac_file" >&6; }
3611 ac_exeext=$ac_cv_exeext
3613 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3614 ac_clean_files=$ac_clean_files_save
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3616 $as_echo_n "checking for suffix of executables... " >&6; }
3617 if { { ac_try="$ac_link"
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_link") 2>&5
3626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627 test $ac_status = 0; }; then :
3628 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3629 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3630 # work properly (i.e., refer to `conftest.exe'), while it won't with
3632 for ac_file in conftest.exe conftest conftest.*; do
3633 test -f "$ac_file" || continue
3635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3636 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3645 See \`config.log' for more details" "$LINENO" 5; }
3647 rm -f conftest conftest$ac_cv_exeext
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3649 $as_echo "$ac_cv_exeext" >&6; }
3651 rm -f conftest.$ac_ext
3652 EXEEXT=$ac_cv_exeext
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3656 @%:@include <stdio.h>
3660 FILE *f = fopen ("conftest.out", "w");
3661 return ferror (f) || fclose (f) != 0;
3667 ac_clean_files="$ac_clean_files conftest.out"
3668 # Check that the compiler produces executables we can run. If not, either
3669 # the compiler is broken, or we cross compile.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3671 $as_echo_n "checking whether we are cross compiling... " >&6; }
3672 if test "$cross_compiling" != yes; then
3673 { { ac_try="$ac_link"
3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676 *) ac_try_echo=$ac_try;;
3678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3679 $as_echo "$ac_try_echo"; } >&5
3680 (eval "$ac_link") 2>&5
3682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683 test $ac_status = 0; }
3684 if { ac_try='./conftest$ac_cv_exeext'
3685 { { case "(($ac_try" in
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_try") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }; }; then
3697 if test "$cross_compiling" = maybe; then
3700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error $? "cannot run C compiled programs.
3703 If you meant to cross compile, use \`--host'.
3704 See \`config.log' for more details" "$LINENO" 5; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3709 $as_echo "$cross_compiling" >&6; }
3711 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3712 ac_clean_files=$ac_clean_files_save
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3714 $as_echo_n "checking for suffix of object files... " >&6; }
3715 if ${ac_cv_objext+:} false; then :
3716 $as_echo_n "(cached) " >&6
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3729 rm -f conftest.o conftest.obj
3730 if { { ac_try="$ac_compile"
3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733 *) ac_try_echo=$ac_try;;
3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 $as_echo "$ac_try_echo"; } >&5
3737 (eval "$ac_compile") 2>&5
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }; then :
3741 for ac_file in conftest.o conftest.obj conftest.*; do
3742 test -f "$ac_file" || continue;
3744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3745 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3750 $as_echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.$ac_ext >&5
3753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3755 as_fn_error $? "cannot compute suffix of object files: cannot compile
3756 See \`config.log' for more details" "$LINENO" 5; }
3758 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3761 $as_echo "$ac_cv_objext" >&6; }
3762 OBJEXT=$ac_cv_objext
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3765 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3766 if ${ac_cv_c_compiler_gnu+:} false; then :
3767 $as_echo_n "(cached) " >&6
3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3783 if ac_fn_c_try_compile "$LINENO"; then :
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3793 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3794 if test $ac_compiler_gnu = yes; then
3799 ac_test_CFLAGS=${CFLAGS+set}
3800 ac_save_CFLAGS=$CFLAGS
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3802 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3803 if ${ac_cv_prog_cc_g+:} false; then :
3804 $as_echo_n "(cached) " >&6
3806 ac_save_c_werror_flag=$ac_c_werror_flag
3807 ac_c_werror_flag=yes
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3821 if ac_fn_c_try_compile "$LINENO"; then :
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3836 if ac_fn_c_try_compile "$LINENO"; then :
3839 ac_c_werror_flag=$ac_save_c_werror_flag
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3852 if ac_fn_c_try_compile "$LINENO"; then :
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3860 ac_c_werror_flag=$ac_save_c_werror_flag
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3863 $as_echo "$ac_cv_prog_cc_g" >&6; }
3864 if test "$ac_test_CFLAGS" = set; then
3865 CFLAGS=$ac_save_CFLAGS
3866 elif test $ac_cv_prog_cc_g = yes; then
3867 if test "$GCC" = yes; then
3873 if test "$GCC" = yes; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3880 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3881 if ${ac_cv_prog_cc_c89+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 ac_cv_prog_cc_c89=no
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 #include <sys/types.h>
3891 #include <sys/stat.h>
3892 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3893 struct buf { int x; };
3894 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3895 static char *e (p, i)
3901 static char *f (char * (*g) (char **, int), char **p, ...)
3906 s = g (p, va_arg (v,int));
3911 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3912 function prototypes and stuff, but not '\xHH' hex character constants.
3913 These don't provoke an error unfortunately, instead are silently treated
3914 as 'x'. The following induces an error, until -std is added to get
3915 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3916 array size at least. It's necessary to write '\x00'==0 to get something
3917 that's true only with -std. */
3918 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3920 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3921 inside strings and character constants. */
3923 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3925 int test (int i, double x);
3926 struct s1 {int (*f) (int a);};
3927 struct s2 {int (*f) (double a);};
3928 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3934 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3939 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3940 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3942 CC="$ac_save_CC $ac_arg"
3943 if ac_fn_c_try_compile "$LINENO"; then :
3944 ac_cv_prog_cc_c89=$ac_arg
3946 rm -f core conftest.err conftest.$ac_objext
3947 test "x$ac_cv_prog_cc_c89" != "xno" && break
3949 rm -f conftest.$ac_ext
3954 case "x$ac_cv_prog_cc_c89" in
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3957 $as_echo "none needed" >&6; } ;;
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3960 $as_echo "unsupported" >&6; } ;;
3962 CC="$CC $ac_cv_prog_cc_c89"
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3964 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3966 if test "x$ac_cv_prog_cc_c89" != xno; then :
3971 ac_cpp='$CPP $CPPFLAGS'
3972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3976 depcc="$CC" am_compiler_list=
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3979 $as_echo_n "checking dependency style of $depcc... " >&6; }
3980 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3981 $as_echo_n "(cached) " >&6
3983 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3984 # We make a subdir and do the tests there. Otherwise we can end up
3985 # making bogus files that we don't know about and never remove. For
3986 # instance it was reported that on HP-UX the gcc test will end up
3987 # making a dummy file named `D' -- because `-MD' means `put the output
3990 # Copy depcomp to subdir because otherwise we won't find it if we're
3991 # using a relative directory.
3992 cp "$am_depcomp" conftest.dir
3994 # We will build objects and dependencies in a subdirectory because
3995 # it helps to detect inapplicable dependency modes. For instance
3996 # both Tru64's cc and ICC support -MD to output dependencies as a
3997 # side effect of compilation, but ICC will put the dependencies in
3998 # the current directory while Tru64 will put them in the object
4002 am_cv_CC_dependencies_compiler_type=none
4003 if test "$am_compiler_list" = ""; then
4004 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4007 case " $depcc " in #(
4008 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4011 for depmode in $am_compiler_list; do
4012 # Setup a source with many dependencies, because some compilers
4013 # like to wrap large dependency lists on column 80 (with \), and
4014 # we should not choose a depcomp mode which is confused by this.
4016 # We need to recreate these files for each test, as the compiler may
4017 # overwrite some of them when testing with obscure command lines.
4018 # This happens at least with the AIX C compiler.
4020 for i in 1 2 3 4 5 6; do
4021 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4022 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4023 # Solaris 8's {/usr,}/bin/sh.
4024 touch sub/conftst$i.h
4026 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4028 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4029 # mode. It turns out that the SunPro C++ compiler does not properly
4030 # handle `-M -o', and we need to detect this. Also, some Intel
4031 # versions had trouble with output in subdirs
4032 am__obj=sub/conftest.${OBJEXT-o}
4033 am__minus_obj="-o $am__obj"
4036 # This depmode causes a compiler race in universal mode.
4037 test "$am__universal" = false || continue
4040 # after this tag, mechanisms are not by side-effect, so they'll
4041 # only be used when explicitly requested
4042 if test "x$enable_dependency_tracking" = xyes; then
4048 msvisualcpp | msvcmsys)
4049 # This compiler won't grok `-c -o', but also, the minuso test has
4050 # not run yet. These depmodes are late enough in the game, and
4051 # so weak that their functioning should not be impacted.
4052 am__obj=conftest.${OBJEXT-o}
4057 if depmode=$depmode \
4058 source=sub/conftest.c object=$am__obj \
4059 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4060 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4061 >/dev/null 2>conftest.err &&
4062 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4063 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4064 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4065 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4066 # icc doesn't choke on unknown options, it will just issue warnings
4067 # or remarks (even with -Werror). So we grep stderr for any message
4068 # that says an option was ignored or not supported.
4069 # When given -MP, icc 7.0 and 7.1 complain thusly:
4070 # icc: Command line warning: ignoring option '-M'; no argument required
4071 # The diagnosis changed in icc 8.0:
4072 # icc: Command line remark: option '-MP' not supported
4073 if (grep 'ignoring option' conftest.err ||
4074 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4075 am_cv_CC_dependencies_compiler_type=$depmode
4084 am_cv_CC_dependencies_compiler_type=none
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4089 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4090 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4093 test "x$enable_dependency_tracking" != xno \
4094 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4096 am__fastdepCC_FALSE='#'
4098 am__fastdepCC_TRUE='#'
4099 am__fastdepCC_FALSE=
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4104 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4105 if ${ac_cv_path_SED+:} false; then :
4106 $as_echo_n "(cached) " >&6
4108 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4109 for ac_i in 1 2 3 4 5 6 7; do
4110 ac_script="$ac_script$as_nl$ac_script"
4112 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4113 { ac_script=; unset ac_script;}
4114 if test -z "$SED"; then
4115 ac_path_SED_found=false
4116 # Loop through the user's path and test for each of PROGNAME-LIST
4117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 test -z "$as_dir" && as_dir=.
4122 for ac_prog in sed gsed; do
4123 for ac_exec_ext in '' $ac_executable_extensions; do
4124 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4125 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4126 # Check for GNU ac_path_SED and select it if it is found.
4127 # Check for GNU $ac_path_SED
4128 case `"$ac_path_SED" --version 2>&1` in
4130 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4133 $as_echo_n 0123456789 >"conftest.in"
4136 cat "conftest.in" "conftest.in" >"conftest.tmp"
4137 mv "conftest.tmp" "conftest.in"
4138 cp "conftest.in" "conftest.nl"
4139 $as_echo '' >> "conftest.nl"
4140 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4141 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4142 as_fn_arith $ac_count + 1 && ac_count=$as_val
4143 if test $ac_count -gt ${ac_path_SED_max-0}; then
4144 # Best one so far, save it but keep looking for a better one
4145 ac_cv_path_SED="$ac_path_SED"
4146 ac_path_SED_max=$ac_count
4148 # 10*(2^10) chars as input seems more than enough
4149 test $ac_count -gt 10 && break
4151 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4154 $ac_path_SED_found && break 3
4159 if test -z "$ac_cv_path_SED"; then
4160 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4168 $as_echo "$ac_cv_path_SED" >&6; }
4169 SED="$ac_cv_path_SED"
4172 test -z "$SED" && SED=sed
4173 Xsed="$SED -e 1s/^X//"
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4186 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4187 if ${ac_cv_path_GREP+:} false; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -z "$GREP"; then
4191 ac_path_GREP_found=false
4192 # Loop through the user's path and test for each of PROGNAME-LIST
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4197 test -z "$as_dir" && as_dir=.
4198 for ac_prog in grep ggrep; do
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4201 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4202 # Check for GNU ac_path_GREP and select it if it is found.
4203 # Check for GNU $ac_path_GREP
4204 case `"$ac_path_GREP" --version 2>&1` in
4206 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4209 $as_echo_n 0123456789 >"conftest.in"
4212 cat "conftest.in" "conftest.in" >"conftest.tmp"
4213 mv "conftest.tmp" "conftest.in"
4214 cp "conftest.in" "conftest.nl"
4215 $as_echo 'GREP' >> "conftest.nl"
4216 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218 as_fn_arith $ac_count + 1 && ac_count=$as_val
4219 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4220 # Best one so far, save it but keep looking for a better one
4221 ac_cv_path_GREP="$ac_path_GREP"
4222 ac_path_GREP_max=$ac_count
4224 # 10*(2^10) chars as input seems more than enough
4225 test $ac_count -gt 10 && break
4227 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4230 $ac_path_GREP_found && break 3
4235 if test -z "$ac_cv_path_GREP"; then
4236 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4239 ac_cv_path_GREP=$GREP
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4244 $as_echo "$ac_cv_path_GREP" >&6; }
4245 GREP="$ac_cv_path_GREP"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4249 $as_echo_n "checking for egrep... " >&6; }
4250 if ${ac_cv_path_EGREP+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4254 then ac_cv_path_EGREP="$GREP -E"
4256 if test -z "$EGREP"; then
4257 ac_path_EGREP_found=false
4258 # Loop through the user's path and test for each of PROGNAME-LIST
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4263 test -z "$as_dir" && as_dir=.
4264 for ac_prog in egrep; do
4265 for ac_exec_ext in '' $ac_executable_extensions; do
4266 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4267 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4268 # Check for GNU ac_path_EGREP and select it if it is found.
4269 # Check for GNU $ac_path_EGREP
4270 case `"$ac_path_EGREP" --version 2>&1` in
4272 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4275 $as_echo_n 0123456789 >"conftest.in"
4278 cat "conftest.in" "conftest.in" >"conftest.tmp"
4279 mv "conftest.tmp" "conftest.in"
4280 cp "conftest.in" "conftest.nl"
4281 $as_echo 'EGREP' >> "conftest.nl"
4282 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4283 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4284 as_fn_arith $ac_count + 1 && ac_count=$as_val
4285 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4286 # Best one so far, save it but keep looking for a better one
4287 ac_cv_path_EGREP="$ac_path_EGREP"
4288 ac_path_EGREP_max=$ac_count
4290 # 10*(2^10) chars as input seems more than enough
4291 test $ac_count -gt 10 && break
4293 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4296 $ac_path_EGREP_found && break 3
4301 if test -z "$ac_cv_path_EGREP"; then
4302 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4305 ac_cv_path_EGREP=$EGREP
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4311 $as_echo "$ac_cv_path_EGREP" >&6; }
4312 EGREP="$ac_cv_path_EGREP"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4316 $as_echo_n "checking for fgrep... " >&6; }
4317 if ${ac_cv_path_FGREP+:} false; then :
4318 $as_echo_n "(cached) " >&6
4320 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4321 then ac_cv_path_FGREP="$GREP -F"
4323 if test -z "$FGREP"; then
4324 ac_path_FGREP_found=false
4325 # Loop through the user's path and test for each of PROGNAME-LIST
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4330 test -z "$as_dir" && as_dir=.
4331 for ac_prog in fgrep; do
4332 for ac_exec_ext in '' $ac_executable_extensions; do
4333 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4334 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4335 # Check for GNU ac_path_FGREP and select it if it is found.
4336 # Check for GNU $ac_path_FGREP
4337 case `"$ac_path_FGREP" --version 2>&1` in
4339 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4342 $as_echo_n 0123456789 >"conftest.in"
4345 cat "conftest.in" "conftest.in" >"conftest.tmp"
4346 mv "conftest.tmp" "conftest.in"
4347 cp "conftest.in" "conftest.nl"
4348 $as_echo 'FGREP' >> "conftest.nl"
4349 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4351 as_fn_arith $ac_count + 1 && ac_count=$as_val
4352 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4353 # Best one so far, save it but keep looking for a better one
4354 ac_cv_path_FGREP="$ac_path_FGREP"
4355 ac_path_FGREP_max=$ac_count
4357 # 10*(2^10) chars as input seems more than enough
4358 test $ac_count -gt 10 && break
4360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4363 $ac_path_FGREP_found && break 3
4368 if test -z "$ac_cv_path_FGREP"; then
4369 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4372 ac_cv_path_FGREP=$FGREP
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4378 $as_echo "$ac_cv_path_FGREP" >&6; }
4379 FGREP="$ac_cv_path_FGREP"
4382 test -z "$GREP" && GREP=grep
4402 @%:@ Check whether --with-gnu-ld was given.
4403 if test "${with_gnu_ld+set}" = set; then :
4404 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4410 if test "$GCC" = yes; then
4411 # Check if gcc -print-prog-name=ld gives a path.
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4413 $as_echo_n "checking for ld used by $CC... " >&6; }
4416 # gcc leaves a trailing carriage return which upsets mingw
4417 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4419 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4422 # Accept absolute paths.
4424 re_direlt='/[^/][^/]*/\.\./'
4425 # Canonicalize the pathname of ld
4426 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4427 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4428 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4430 test -z "$LD" && LD="$ac_prog"
4433 # If it fails, then pretend we aren't using GCC.
4437 # If it is relative, then search for the first ld in PATH.
4441 elif test "$with_gnu_ld" = yes; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4443 $as_echo_n "checking for GNU ld... " >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4446 $as_echo_n "checking for non-GNU ld... " >&6; }
4448 if ${lt_cv_path_LD+:} false; then :
4449 $as_echo_n "(cached) " >&6
4451 if test -z "$LD"; then
4452 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4453 for ac_dir in $PATH; do
4455 test -z "$ac_dir" && ac_dir=.
4456 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4457 lt_cv_path_LD="$ac_dir/$ac_prog"
4458 # Check to see if the program is GNU ld. I'd rather use --version,
4459 # but apparently some variants of GNU ld only accept -v.
4460 # Break only if it was the GNU/non-GNU ld that we prefer.
4461 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4462 *GNU* | *'with BFD'*)
4463 test "$with_gnu_ld" != no && break
4466 test "$with_gnu_ld" != yes && break
4473 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4478 if test -n "$LD"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4480 $as_echo "$LD" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4485 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4487 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4488 if ${lt_cv_prog_gnu_ld+:} false; then :
4489 $as_echo_n "(cached) " >&6
4491 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4492 case `$LD -v 2>&1 </dev/null` in
4493 *GNU* | *'with BFD'*)
4494 lt_cv_prog_gnu_ld=yes
4497 lt_cv_prog_gnu_ld=no
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4502 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4503 with_gnu_ld=$lt_cv_prog_gnu_ld
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4514 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4515 if ${lt_cv_path_NM+:} false; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -n "$NM"; then
4519 # Let the user override the test.
4522 lt_nm_to_check="${ac_tool_prefix}nm"
4523 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4524 lt_nm_to_check="$lt_nm_to_check nm"
4526 for lt_tmp_nm in $lt_nm_to_check; do
4527 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4528 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4530 test -z "$ac_dir" && ac_dir=.
4531 tmp_nm="$ac_dir/$lt_tmp_nm"
4532 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4533 # Check to see if the nm accepts a BSD-compat flag.
4534 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4535 # nm: unknown option "B" ignored
4536 # Tru64's nm complains that /dev/null is an invalid object file
4537 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4538 */dev/null* | *'Invalid file or object type'*)
4539 lt_cv_path_NM="$tmp_nm -B"
4543 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4545 lt_cv_path_NM="$tmp_nm -p"
4549 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4550 continue # so that we can try to find one that supports BSD flags
4559 : ${lt_cv_path_NM=no}
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4563 $as_echo "$lt_cv_path_NM" >&6; }
4564 if test "$lt_cv_path_NM" != "no"; then
4567 # Didn't find any BSD compatible name lister, look for dumpbin.
4568 if test -n "$DUMPBIN"; then :
4569 # Let the user override the test.
4571 if test -n "$ac_tool_prefix"; then
4572 for ac_prog in dumpbin "link -dump"
4574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_DUMPBIN+:} false; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -n "$DUMPBIN"; then
4582 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 DUMPBIN=$ac_cv_prog_DUMPBIN
4602 if test -n "$DUMPBIN"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4604 $as_echo "$DUMPBIN" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611 test -n "$DUMPBIN" && break
4614 if test -z "$DUMPBIN"; then
4615 ac_ct_DUMPBIN=$DUMPBIN
4616 for ac_prog in dumpbin "link -dump"
4618 # Extract the first word of "$ac_prog", so it can be a program name with args.
4619 set dummy $ac_prog; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4623 $as_echo_n "(cached) " >&6
4625 if test -n "$ac_ct_DUMPBIN"; then
4626 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4635 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4646 if test -n "$ac_ct_DUMPBIN"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4648 $as_echo "$ac_ct_DUMPBIN" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4655 test -n "$ac_ct_DUMPBIN" && break
4658 if test "x$ac_ct_DUMPBIN" = x; then
4661 case $cross_compiling:$ac_tool_warned in
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4665 ac_tool_warned=yes ;;
4667 DUMPBIN=$ac_ct_DUMPBIN
4671 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4673 DUMPBIN="$DUMPBIN -symbols"
4681 if test "$DUMPBIN" != ":"; then
4685 test -z "$NM" && NM=nm
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4693 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4694 if ${lt_cv_nm_interface+:} false; then :
4695 $as_echo_n "(cached) " >&6
4697 lt_cv_nm_interface="BSD nm"
4698 echo "int some_variable = 0;" > conftest.$ac_ext
4699 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4700 (eval "$ac_compile" 2>conftest.err)
4701 cat conftest.err >&5
4702 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4703 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4704 cat conftest.err >&5
4705 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4706 cat conftest.out >&5
4707 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4708 lt_cv_nm_interface="MS dumpbin"
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4713 $as_echo "$lt_cv_nm_interface" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4716 $as_echo_n "checking whether ln -s works... " >&6; }
4718 if test "$LN_S" = "ln -s"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4720 $as_echo "yes" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4723 $as_echo "no, using $LN_S" >&6; }
4726 # find the maximum length of command line arguments
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4728 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4729 if ${lt_cv_sys_max_cmd_len+:} false; then :
4730 $as_echo_n "(cached) " >&6
4737 # On DJGPP, this test can blow up pretty badly due to problems in libc
4738 # (any single argument exceeding 2000 bytes causes a buffer overrun
4739 # during glob expansion). Even if it were fixed, the result of this
4740 # check would be larger than it should be.
4741 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4745 # Under GNU Hurd, this test is not required because there is
4746 # no limit to the length of command line arguments.
4747 # Libtool will interpret -1 as no limit whatsoever
4748 lt_cv_sys_max_cmd_len=-1;
4751 cygwin* | mingw* | cegcc*)
4752 # On Win9x/ME, this test blows up -- it succeeds, but takes
4753 # about 5 minutes as the teststring grows exponentially.
4754 # Worse, since 9x/ME are not pre-emptively multitasking,
4755 # you end up with a "frozen" computer, even though with patience
4756 # the test eventually succeeds (with a max line length of 256k).
4757 # Instead, let's just punt: use the minimum linelength reported by
4758 # all of the supported platforms: 8192 (on NT/2K/XP).
4759 lt_cv_sys_max_cmd_len=8192;
4763 # On MiNT this can take a long time and run out of memory.
4764 lt_cv_sys_max_cmd_len=8192;
4768 # On AmigaOS with pdksh, this test takes hours, literally.
4769 # So we just punt and use a minimum line length of 8192.
4770 lt_cv_sys_max_cmd_len=8192;
4773 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4774 # This has been around since 386BSD, at least. Likely further.
4775 if test -x /sbin/sysctl; then
4776 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4777 elif test -x /usr/sbin/sysctl; then
4778 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4780 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4782 # And add a safety zone
4783 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4788 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4789 lt_cv_sys_max_cmd_len=196608
4793 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4794 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4795 # nice to cause kernel panics so lets avoid the loop below.
4796 # First set a reasonable default.
4797 lt_cv_sys_max_cmd_len=16384
4799 if test -x /sbin/sysconfig; then
4800 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4801 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4806 lt_cv_sys_max_cmd_len=102400
4808 sysv5* | sco5v6* | sysv4.2uw2*)
4809 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4810 if test -n "$kargmax"; then
4811 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4813 lt_cv_sys_max_cmd_len=32768
4817 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4818 if test -n "$lt_cv_sys_max_cmd_len"; then
4819 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4820 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4822 # Make teststring a little bigger before we do anything with it.
4823 # a 1K string should be a reasonable start.
4824 for i in 1 2 3 4 5 6 7 8 ; do
4825 teststring=$teststring$teststring
4827 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4828 # If test is not a shell built-in, we'll probably end up computing a
4829 # maximum length that is only half of the actual maximum length, but
4831 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4832 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4833 test $i != 17 # 1/2 MB should be enough
4836 teststring=$teststring$teststring
4838 # Only check the string length outside the loop.
4839 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4841 # Add a significant safety factor because C++ compilers can tack on
4842 # massive amounts of additional arguments before passing them to the
4843 # linker. It appears as though 1/2 is a usable value.
4844 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4851 if test -n $lt_cv_sys_max_cmd_len ; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4853 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4856 $as_echo "none" >&6; }
4858 max_cmd_len=$lt_cv_sys_max_cmd_len
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4870 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4871 # Try some XSI features
4874 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4876 && eval 'test $(( 1 + 1 )) -eq 2 \
4877 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4880 $as_echo "$xsi_shell" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4884 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4886 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4888 && lt_shell_append=yes
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4890 $as_echo "$lt_shell_append" >&6; }
4893 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4903 # test EBCDIC or ASCII
4904 case `echo X|tr X '\101'` in
4905 A) # ASCII based system
4906 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4907 lt_SP2NL='tr \040 \012'
4908 lt_NL2SP='tr \015\012 \040\040'
4910 *) # EBCDIC based system
4911 lt_SP2NL='tr \100 \n'
4912 lt_NL2SP='tr \r\n \100\100'
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4925 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4926 if ${lt_cv_to_host_file_cmd+:} false; then :
4927 $as_echo_n "(cached) " >&6
4932 *-*-mingw* ) # actually msys
4933 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4936 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4938 * ) # otherwise, assume *nix
4939 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4945 *-*-mingw* ) # actually msys
4946 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4949 lt_cv_to_host_file_cmd=func_convert_file_noop
4951 * ) # otherwise, assume *nix
4952 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4956 * ) # unhandled hosts (and "normal" native builds)
4957 lt_cv_to_host_file_cmd=func_convert_file_noop
4963 to_host_file_cmd=$lt_cv_to_host_file_cmd
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4965 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4972 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4973 if ${lt_cv_to_tool_file_cmd+:} false; then :
4974 $as_echo_n "(cached) " >&6
4976 #assume ordinary cross tools, or native build.
4977 lt_cv_to_tool_file_cmd=func_convert_file_noop
4981 *-*-mingw* ) # actually msys
4982 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4990 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4992 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4999 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5000 if ${lt_cv_ld_reload_flag+:} false; then :
5001 $as_echo_n "(cached) " >&6
5003 lt_cv_ld_reload_flag='-r'
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5006 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5007 reload_flag=$lt_cv_ld_reload_flag
5008 case $reload_flag in
5010 *) reload_flag=" $reload_flag" ;;
5012 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5014 cygwin* | mingw* | pw32* | cegcc*)
5015 if test "$GCC" != yes; then
5020 if test "$GCC" = yes; then
5021 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5023 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5036 if test -n "$ac_tool_prefix"; then
5037 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5038 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_OBJDUMP+:} false; then :
5042 $as_echo_n "(cached) " >&6
5044 if test -n "$OBJDUMP"; then
5045 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5054 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 OBJDUMP=$ac_cv_prog_OBJDUMP
5065 if test -n "$OBJDUMP"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5067 $as_echo "$OBJDUMP" >&6; }
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5075 if test -z "$ac_cv_prog_OBJDUMP"; then
5076 ac_ct_OBJDUMP=$OBJDUMP
5077 # Extract the first word of "objdump", so it can be a program name with args.
5078 set dummy objdump; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5082 $as_echo_n "(cached) " >&6
5084 if test -n "$ac_ct_OBJDUMP"; then
5085 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5105 if test -n "$ac_ct_OBJDUMP"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5107 $as_echo "$ac_ct_OBJDUMP" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5113 if test "x$ac_ct_OBJDUMP" = x; then
5116 case $cross_compiling:$ac_tool_warned in
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned=yes ;;
5122 OBJDUMP=$ac_ct_OBJDUMP
5125 OBJDUMP="$ac_cv_prog_OBJDUMP"
5128 test -z "$OBJDUMP" && OBJDUMP=objdump
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5139 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5140 if ${lt_cv_deplibs_check_method+:} false; then :
5141 $as_echo_n "(cached) " >&6
5143 lt_cv_file_magic_cmd='$MAGIC_CMD'
5144 lt_cv_file_magic_test_file=
5145 lt_cv_deplibs_check_method='unknown'
5146 # Need to set the preceding variable on all platforms that support
5147 # interlibrary dependencies.
5148 # 'none' -- dependencies not supported.
5149 # `unknown' -- same as none, but documents that we really don't know.
5150 # 'pass_all' -- all dependencies passed with no checks.
5151 # 'test_compile' -- check by making test program.
5152 # 'file_magic [[regex]]' -- check by looking for files in library path
5153 # which responds to the $file_magic_cmd with a given extended regex.
5154 # If you have `file' or equivalent on your system and you're not sure
5155 # whether `pass_all' will *always* work, you probably want this one.
5159 lt_cv_deplibs_check_method=pass_all
5163 lt_cv_deplibs_check_method=pass_all
5167 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5168 lt_cv_file_magic_cmd='/usr/bin/file -L'
5169 lt_cv_file_magic_test_file=/shlib/libc.so
5173 # func_win32_libid is a shell function defined in ltmain.sh
5174 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5175 lt_cv_file_magic_cmd='func_win32_libid'
5179 # Base MSYS/MinGW do not provide the 'file' command needed by
5180 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5181 # unless we find 'file', for example because we are cross-compiling.
5182 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5183 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5184 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5185 lt_cv_file_magic_cmd='func_win32_libid'
5187 # Keep this pattern in sync with the one in func_win32_libid.
5188 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5189 lt_cv_file_magic_cmd='$OBJDUMP -f'
5194 # use the weaker test based on 'objdump'. See mingw*.
5195 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5196 lt_cv_file_magic_cmd='$OBJDUMP -f'
5199 darwin* | rhapsody*)
5200 lt_cv_deplibs_check_method=pass_all
5203 freebsd* | dragonfly*)
5204 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5207 # Not sure whether the presence of OpenBSD here was a mistake.
5208 # Let's accept both of them until this is cleared up.
5209 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5210 lt_cv_file_magic_cmd=/usr/bin/file
5211 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5215 lt_cv_deplibs_check_method=pass_all
5220 lt_cv_deplibs_check_method=pass_all
5224 lt_cv_deplibs_check_method=pass_all
5227 hpux10.20* | hpux11*)
5228 lt_cv_file_magic_cmd=/usr/bin/file
5231 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5232 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5235 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]'
5236 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5240 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5246 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5247 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5250 irix5* | irix6* | nonstopux*)
5252 *-32|*"-32 ") libmagic=32-bit;;
5253 *-n32|*"-n32 ") libmagic=N32;;
5254 *-64|*"-64 ") libmagic=64-bit;;
5255 *) libmagic=never-match;;
5257 lt_cv_deplibs_check_method=pass_all
5260 # This must be Linux ELF.
5261 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5262 lt_cv_deplibs_check_method=pass_all
5266 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5267 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5274 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5275 lt_cv_file_magic_cmd=/usr/bin/file
5276 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5280 lt_cv_deplibs_check_method=pass_all
5284 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5285 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5287 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5291 osf3* | osf4* | osf5*)
5292 lt_cv_deplibs_check_method=pass_all
5296 lt_cv_deplibs_check_method=pass_all
5300 lt_cv_deplibs_check_method=pass_all
5303 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5304 lt_cv_deplibs_check_method=pass_all
5308 case $host_vendor in
5310 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]'
5311 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5314 lt_cv_deplibs_check_method=pass_all
5317 lt_cv_file_magic_cmd='/bin/file'
5318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5321 lt_cv_file_magic_cmd='/bin/file'
5322 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5323 lt_cv_file_magic_test_file=/lib/libc.so
5326 lt_cv_deplibs_check_method=pass_all
5329 lt_cv_deplibs_check_method=pass_all
5335 lt_cv_deplibs_check_method=pass_all
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5341 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5345 if test "$build" = "$host"; then
5348 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5351 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5357 file_magic_cmd=$lt_cv_file_magic_cmd
5358 deplibs_check_method=$lt_cv_deplibs_check_method
5359 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5382 if test -n "$ac_tool_prefix"; then
5383 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5384 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_DLLTOOL+:} false; then :
5388 $as_echo_n "(cached) " >&6
5390 if test -n "$DLLTOOL"; then
5391 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5400 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 DLLTOOL=$ac_cv_prog_DLLTOOL
5411 if test -n "$DLLTOOL"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5413 $as_echo "$DLLTOOL" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5421 if test -z "$ac_cv_prog_DLLTOOL"; then
5422 ac_ct_DLLTOOL=$DLLTOOL
5423 # Extract the first word of "dlltool", so it can be a program name with args.
5424 set dummy dlltool; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5428 $as_echo_n "(cached) " >&6
5430 if test -n "$ac_ct_DLLTOOL"; then
5431 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5451 if test -n "$ac_ct_DLLTOOL"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5453 $as_echo "$ac_ct_DLLTOOL" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5459 if test "x$ac_ct_DLLTOOL" = x; then
5462 case $cross_compiling:$ac_tool_warned in
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5466 ac_tool_warned=yes ;;
5468 DLLTOOL=$ac_ct_DLLTOOL
5471 DLLTOOL="$ac_cv_prog_DLLTOOL"
5474 test -z "$DLLTOOL" && DLLTOOL=dlltool
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5486 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5487 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5488 $as_echo_n "(cached) " >&6
5490 lt_cv_sharedlib_from_linklib_cmd='unknown'
5493 cygwin* | mingw* | pw32* | cegcc*)
5494 # two different shell functions defined in ltmain.sh
5495 # decide which to use based on capabilities of $DLLTOOL
5496 case `$DLLTOOL --help 2>&1` in
5497 *--identify-strict*)
5498 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5501 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5506 # fallback: assume linklib IS sharedlib
5507 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5513 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5514 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5515 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5524 if test -n "$ac_tool_prefix"; then
5527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_AR+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$AR"; then
5535 ac_cv_prog_AR="$AR" # Let the user override the test.
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 if test -n "$AR"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5557 $as_echo "$AR" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5564 test -n "$AR" && break
5567 if test -z "$AR"; then
5571 # Extract the first word of "$ac_prog", so it can be a program name with args.
5572 set dummy $ac_prog; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$ac_ct_AR"; then
5579 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588 ac_cv_prog_ac_ct_AR="$ac_prog"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5599 if test -n "$ac_ct_AR"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5601 $as_echo "$ac_ct_AR" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 test -n "$ac_ct_AR" && break
5611 if test "x$ac_ct_AR" = x; then
5614 case $cross_compiling:$ac_tool_warned in
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5618 ac_tool_warned=yes ;;
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5638 $as_echo_n "checking for archiver @FILE support... " >&6; }
5639 if ${lt_cv_ar_at_file+:} false; then :
5640 $as_echo_n "(cached) " >&6
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5654 if ac_fn_c_try_compile "$LINENO"; then :
5655 echo conftest.$ac_objext > conftest.lst
5656 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5657 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5658 (eval $lt_ar_try) 2>&5
5660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5661 test $ac_status = 0; }
5662 if test "$ac_status" -eq 0; then
5663 # Ensure the archiver fails upon bogus file names.
5664 rm -f conftest.$ac_objext libconftest.a
5665 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5666 (eval $lt_ar_try) 2>&5
5668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5669 test $ac_status = 0; }
5670 if test "$ac_status" -ne 0; then
5674 rm -f conftest.* libconftest.a
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5681 $as_echo "$lt_cv_ar_at_file" >&6; }
5683 if test "x$lt_cv_ar_at_file" = xno; then
5686 archiver_list_spec=$lt_cv_ar_at_file
5695 if test -n "$ac_tool_prefix"; then
5696 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5697 set dummy ${ac_tool_prefix}strip; ac_word=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_STRIP+:} false; then :
5701 $as_echo_n "(cached) " >&6
5703 if test -n "$STRIP"; then
5704 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5713 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 STRIP=$ac_cv_prog_STRIP
5724 if test -n "$STRIP"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5726 $as_echo "$STRIP" >&6; }
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5734 if test -z "$ac_cv_prog_STRIP"; then
5736 # Extract the first word of "strip", so it can be a program name with args.
5737 set dummy strip; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5741 $as_echo_n "(cached) " >&6
5743 if test -n "$ac_ct_STRIP"; then
5744 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5753 ac_cv_prog_ac_ct_STRIP="strip"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5764 if test -n "$ac_ct_STRIP"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5766 $as_echo "$ac_ct_STRIP" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5772 if test "x$ac_ct_STRIP" = x; then
5775 case $cross_compiling:$ac_tool_warned in
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5779 ac_tool_warned=yes ;;
5784 STRIP="$ac_cv_prog_STRIP"
5787 test -z "$STRIP" && STRIP=:
5794 if test -n "$ac_tool_prefix"; then
5795 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5796 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_RANLIB+:} false; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$RANLIB"; then
5803 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 RANLIB=$ac_cv_prog_RANLIB
5823 if test -n "$RANLIB"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5825 $as_echo "$RANLIB" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 if test -z "$ac_cv_prog_RANLIB"; then
5834 ac_ct_RANLIB=$RANLIB
5835 # Extract the first word of "ranlib", so it can be a program name with args.
5836 set dummy ranlib; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -n "$ac_ct_RANLIB"; then
5843 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_ac_ct_RANLIB="ranlib"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5863 if test -n "$ac_ct_RANLIB"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5865 $as_echo "$ac_ct_RANLIB" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5871 if test "x$ac_ct_RANLIB" = x; then
5874 case $cross_compiling:$ac_tool_warned in
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878 ac_tool_warned=yes ;;
5880 RANLIB=$ac_ct_RANLIB
5883 RANLIB="$ac_cv_prog_RANLIB"
5886 test -z "$RANLIB" && RANLIB=:
5893 # Determine commands to create old-style static archives.
5894 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5895 old_postinstall_cmds='chmod 644 $oldlib'
5896 old_postuninstall_cmds=
5898 if test -n "$RANLIB"; then
5901 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5904 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5907 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5912 lock_old_archive_extraction=yes ;;
5914 lock_old_archive_extraction=no ;;
5955 # If no C compiler was specified, use CC.
5958 # If no C compiler flags were specified, use CFLAGS.
5959 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5961 # Allow CC to be a program name with arguments.
5965 # Check for command to grab the raw symbol name followed by C symbol from nm.
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5967 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5968 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5969 $as_echo_n "(cached) " >&6
5972 # These are sane defaults that work on at least a few old systems.
5973 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5975 # Character class describing NM global symbol codes.
5976 symcode='[BCDEGRST]'
5978 # Regexp to match symbols that can be accessed directly from C.
5979 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5981 # Define system-specific variables.
5986 cygwin* | mingw* | pw32* | cegcc*)
5987 symcode='[ABCDGISTW]'
5990 if test "$host_cpu" = ia64; then
5991 symcode='[ABCDEGRST]'
5995 symcode='[BCDEGRST]'
5998 symcode='[BCDEGQRST]'
6009 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6017 # If we're using GNU nm, then use its standard symbol codes.
6018 case `$NM -V 2>&1` in
6019 *GNU* | *'with BFD'*)
6020 symcode='[ABCDGIRSTW]' ;;
6023 # Transform an extracted symbol line into a proper C declaration.
6024 # Some systems (esp. on ia64) link data and code symbols differently,
6025 # so use this general approach.
6026 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6028 # Transform an extracted symbol line into symbol name and symbol address
6029 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6030 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'"
6032 # Handle CRLF in mingw tool chain
6036 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6040 # Try without a prefix underscore, then with it.
6041 for ac_symprfx in "" "_"; do
6043 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6044 symxfrm="\\1 $ac_symprfx\\2 \\2"
6046 # Write the raw and C identifiers.
6047 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6048 # Fake it for dumpbin and say T for any non-static function
6049 # and D for any global variable.
6050 # Also find C++ and __fastcall symbols from MSVC++,
6051 # which start with @ or ?.
6052 lt_cv_sys_global_symbol_pipe="$AWK '"\
6053 " {last_section=section; section=\$ 3};"\
6054 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6055 " \$ 0!~/External *\|/{next};"\
6056 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6057 " {if(hide[section]) next};"\
6058 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6059 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6060 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6061 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6062 " ' prfx=^$ac_symprfx"
6064 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6066 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6068 # Check to see that the pipe works correctly.
6072 cat > conftest.$ac_ext <<_LT_EOF
6077 void nm_test_func(void);
6078 void nm_test_func(void){}
6082 int main(){nm_test_var='a';nm_test_func();return(0);}
6085 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6086 (eval $ac_compile) 2>&5
6088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 test $ac_status = 0; }; then
6090 # Now try to grab the symbols.
6092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6093 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6096 test $ac_status = 0; } && test -s "$nlist"; then
6097 # Try sorting and uniquifying the output.
6098 if sort "$nlist" | uniq > "$nlist"T; then
6099 mv -f "$nlist"T "$nlist"
6104 # Make sure that we snagged all the symbols we need.
6105 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6106 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6107 cat <<_LT_EOF > conftest.$ac_ext
6108 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6109 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6110 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6111 relocations are performed -- see ld's documentation on pseudo-relocs. */
6112 # define LT@&t@_DLSYM_CONST
6113 #elif defined(__osf__)
6114 /* This system does not cope well with relocations in const data. */
6115 # define LT@&t@_DLSYM_CONST
6117 # define LT@&t@_DLSYM_CONST const
6125 # Now generate the symbol file.
6126 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6128 cat <<_LT_EOF >> conftest.$ac_ext
6130 /* The mapping between symbol names and symbols. */
6131 LT@&t@_DLSYM_CONST struct {
6135 lt__PROGRAM__LTX_preloaded_symbols[] =
6137 { "@PROGRAM@", (void *) 0 },
6139 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6140 cat <<\_LT_EOF >> conftest.$ac_ext
6144 /* This works around a problem in FreeBSD linker */
6145 #ifdef FREEBSD_WORKAROUND
6146 static const void *lt_preloaded_setup() {
6147 return lt__PROGRAM__LTX_preloaded_symbols;
6155 # Now try linking the two files.
6156 mv conftest.$ac_objext conftstm.$ac_objext
6157 lt_globsym_save_LIBS=$LIBS
6158 lt_globsym_save_CFLAGS=$CFLAGS
6159 LIBS="conftstm.$ac_objext"
6160 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6162 (eval $ac_link) 2>&5
6164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6165 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6168 LIBS=$lt_globsym_save_LIBS
6169 CFLAGS=$lt_globsym_save_CFLAGS
6171 echo "cannot find nm_test_func in $nlist" >&5
6174 echo "cannot find nm_test_var in $nlist" >&5
6177 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6180 echo "$progname: failed program was:" >&5
6181 cat conftest.$ac_ext >&5
6183 rm -rf conftest* conftst*
6185 # Do not use the global_symbol_pipe unless it works.
6186 if test "$pipe_works" = yes; then
6189 lt_cv_sys_global_symbol_pipe=
6195 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6196 lt_cv_sys_global_symbol_to_cdecl=
6198 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6200 $as_echo "failed" >&6; }
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6203 $as_echo "ok" >&6; }
6206 # Response file support.
6207 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6208 nm_file_list_spec='@'
6209 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6210 nm_file_list_spec='@'
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6240 $as_echo_n "checking for sysroot... " >&6; }
6242 @%:@ Check whether --with-sysroot was given.
6243 if test "${with_sysroot+set}" = set; then :
6244 withval=$with_sysroot;
6251 case ${with_sysroot} in #(
6253 if test "$GCC" = yes; then
6254 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6258 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6264 $as_echo "${with_sysroot}" >&6; }
6265 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6270 $as_echo "${lt_sysroot:-no}" >&6; }
6276 @%:@ Check whether --enable-libtool-lock was given.
6277 if test "${enable_libtool_lock+set}" = set; then :
6278 enableval=$enable_libtool_lock;
6281 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6283 # Some flags need to be propagated to the compiler or linker for good
6287 # Find out which ABI we are using.
6288 echo 'int i;' > conftest.$ac_ext
6289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6290 (eval $ac_compile) 2>&5
6292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6293 test $ac_status = 0; }; then
6294 case `/usr/bin/file conftest.$ac_objext` in
6306 # Find out which ABI we are using.
6307 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6309 (eval $ac_compile) 2>&5
6311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6312 test $ac_status = 0; }; then
6313 if test "$lt_cv_prog_gnu_ld" = yes; then
6314 case `/usr/bin/file conftest.$ac_objext` in
6316 LD="${LD-ld} -melf32bsmip"
6319 LD="${LD-ld} -melf32bmipn32"
6322 LD="${LD-ld} -melf64bmip"
6326 case `/usr/bin/file conftest.$ac_objext` in
6342 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6343 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6344 # Find out which ABI we are using.
6345 echo 'int i;' > conftest.$ac_ext
6346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6347 (eval $ac_compile) 2>&5
6349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6350 test $ac_status = 0; }; then
6351 case `/usr/bin/file conftest.o` in
6354 x86_64-*kfreebsd*-gnu)
6355 LD="${LD-ld} -m elf_i386_fbsd"
6358 LD="${LD-ld} -m elf_i386"
6360 ppc64-*linux*|powerpc64-*linux*)
6361 LD="${LD-ld} -m elf32ppclinux"
6364 LD="${LD-ld} -m elf_s390"
6367 LD="${LD-ld} -m elf32_sparc"
6373 x86_64-*kfreebsd*-gnu)
6374 LD="${LD-ld} -m elf_x86_64_fbsd"
6377 LD="${LD-ld} -m elf_x86_64"
6379 ppc*-*linux*|powerpc*-*linux*)
6380 LD="${LD-ld} -m elf64ppc"
6382 s390*-*linux*|s390*-*tpf*)
6383 LD="${LD-ld} -m elf64_s390"
6386 LD="${LD-ld} -m elf64_sparc"
6396 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6397 SAVE_CFLAGS="$CFLAGS"
6398 CFLAGS="$CFLAGS -belf"
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6400 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6401 if ${lt_cv_cc_needs_belf+:} false; then :
6402 $as_echo_n "(cached) " >&6
6405 ac_cpp='$CPP $CPPFLAGS'
6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6421 if ac_fn_c_try_link "$LINENO"; then :
6422 lt_cv_cc_needs_belf=yes
6424 lt_cv_cc_needs_belf=no
6426 rm -f core conftest.err conftest.$ac_objext \
6427 conftest$ac_exeext conftest.$ac_ext
6429 ac_cpp='$CPP $CPPFLAGS'
6430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6436 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6437 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6438 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6439 CFLAGS="$SAVE_CFLAGS"
6443 # Find out which ABI we are using.
6444 echo 'int i;' > conftest.$ac_ext
6445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6446 (eval $ac_compile) 2>&5
6448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6449 test $ac_status = 0; }; then
6450 case `/usr/bin/file conftest.o` in
6452 case $lt_cv_prog_gnu_ld in
6453 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6455 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6467 need_locks="$enable_libtool_lock"
6469 if test -n "$ac_tool_prefix"; then
6470 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6471 set dummy ${ac_tool_prefix}mt; 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_MANIFEST_TOOL+:} false; then :
6475 $as_echo_n "(cached) " >&6
6477 if test -n "$MANIFEST_TOOL"; then
6478 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # 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_MANIFEST_TOOL="${ac_tool_prefix}mt"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6498 if test -n "$MANIFEST_TOOL"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6500 $as_echo "$MANIFEST_TOOL" >&6; }
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6508 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6509 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6510 # Extract the first word of "mt", so it can be a program name with args.
6511 set dummy mt; 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_MANIFEST_TOOL+:} false; then :
6515 $as_echo_n "(cached) " >&6
6517 if test -n "$ac_ct_MANIFEST_TOOL"; then
6518 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # 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_MANIFEST_TOOL="mt"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6538 if test -n "$ac_ct_MANIFEST_TOOL"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6540 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6546 if test "x$ac_ct_MANIFEST_TOOL" = 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 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6558 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6561 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6563 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6564 if ${lt_cv_path_mainfest_tool+:} false; then :
6565 $as_echo_n "(cached) " >&6
6567 lt_cv_path_mainfest_tool=no
6568 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6569 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6570 cat conftest.err >&5
6571 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6572 lt_cv_path_mainfest_tool=yes
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6577 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6578 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6588 rhapsody* | darwin*)
6589 if test -n "$ac_tool_prefix"; then
6590 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6591 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6595 $as_echo_n "(cached) " >&6
6597 if test -n "$DSYMUTIL"; then
6598 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6618 if test -n "$DSYMUTIL"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6620 $as_echo "$DSYMUTIL" >&6; }
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6628 if test -z "$ac_cv_prog_DSYMUTIL"; then
6629 ac_ct_DSYMUTIL=$DSYMUTIL
6630 # Extract the first word of "dsymutil", so it can be a program name with args.
6631 set dummy dsymutil; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6635 $as_echo_n "(cached) " >&6
6637 if test -n "$ac_ct_DSYMUTIL"; then
6638 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6658 if test -n "$ac_ct_DSYMUTIL"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6660 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6666 if test "x$ac_ct_DSYMUTIL" = x; then
6669 case $cross_compiling:$ac_tool_warned in
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6673 ac_tool_warned=yes ;;
6675 DSYMUTIL=$ac_ct_DSYMUTIL
6678 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_NMEDIT+:} false; then :
6687 $as_echo_n "(cached) " >&6
6689 if test -n "$NMEDIT"; then
6690 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 NMEDIT=$ac_cv_prog_NMEDIT
6710 if test -n "$NMEDIT"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6712 $as_echo "$NMEDIT" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6720 if test -z "$ac_cv_prog_NMEDIT"; then
6721 ac_ct_NMEDIT=$NMEDIT
6722 # Extract the first word of "nmedit", so it can be a program name with args.
6723 set dummy nmedit; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6727 $as_echo_n "(cached) " >&6
6729 if test -n "$ac_ct_NMEDIT"; then
6730 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 test -z "$as_dir" && as_dir=.
6737 for ac_exec_ext in '' $ac_executable_extensions; do
6738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6750 if test -n "$ac_ct_NMEDIT"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6752 $as_echo "$ac_ct_NMEDIT" >&6; }
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6758 if test "x$ac_ct_NMEDIT" = x; then
6761 case $cross_compiling:$ac_tool_warned in
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765 ac_tool_warned=yes ;;
6767 NMEDIT=$ac_ct_NMEDIT
6770 NMEDIT="$ac_cv_prog_NMEDIT"
6773 if test -n "$ac_tool_prefix"; then
6774 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6775 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if ${ac_cv_prog_LIPO+:} false; then :
6779 $as_echo_n "(cached) " >&6
6781 if test -n "$LIPO"; then
6782 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir=.
6789 for ac_exec_ext in '' $ac_executable_extensions; do
6790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 LIPO=$ac_cv_prog_LIPO
6802 if test -n "$LIPO"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6804 $as_echo "$LIPO" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6812 if test -z "$ac_cv_prog_LIPO"; then
6814 # Extract the first word of "lipo", so it can be a program name with args.
6815 set dummy lipo; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6819 $as_echo_n "(cached) " >&6
6821 if test -n "$ac_ct_LIPO"; then
6822 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831 ac_cv_prog_ac_ct_LIPO="lipo"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6842 if test -n "$ac_ct_LIPO"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6844 $as_echo "$ac_ct_LIPO" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6850 if test "x$ac_ct_LIPO" = x; then
6853 case $cross_compiling:$ac_tool_warned in
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6857 ac_tool_warned=yes ;;
6862 LIPO="$ac_cv_prog_LIPO"
6865 if test -n "$ac_tool_prefix"; then
6866 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6867 set dummy ${ac_tool_prefix}otool; ac_word=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if ${ac_cv_prog_OTOOL+:} false; then :
6871 $as_echo_n "(cached) " >&6
6873 if test -n "$OTOOL"; then
6874 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 test -z "$as_dir" && as_dir=.
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 OTOOL=$ac_cv_prog_OTOOL
6894 if test -n "$OTOOL"; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6896 $as_echo "$OTOOL" >&6; }
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6904 if test -z "$ac_cv_prog_OTOOL"; then
6906 # Extract the first word of "otool", so it can be a program name with args.
6907 set dummy otool; ac_word=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6911 $as_echo_n "(cached) " >&6
6913 if test -n "$ac_ct_OTOOL"; then
6914 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir=.
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923 ac_cv_prog_ac_ct_OTOOL="otool"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6934 if test -n "$ac_ct_OTOOL"; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6936 $as_echo "$ac_ct_OTOOL" >&6; }
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6942 if test "x$ac_ct_OTOOL" = x; then
6945 case $cross_compiling:$ac_tool_warned in
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949 ac_tool_warned=yes ;;
6954 OTOOL="$ac_cv_prog_OTOOL"
6957 if test -n "$ac_tool_prefix"; then
6958 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6959 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_OTOOL64+:} false; then :
6963 $as_echo_n "(cached) " >&6
6965 if test -n "$OTOOL64"; then
6966 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir=.
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 OTOOL64=$ac_cv_prog_OTOOL64
6986 if test -n "$OTOOL64"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6988 $as_echo "$OTOOL64" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6996 if test -z "$ac_cv_prog_OTOOL64"; then
6997 ac_ct_OTOOL64=$OTOOL64
6998 # Extract the first word of "otool64", so it can be a program name with args.
6999 set dummy otool64; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7003 $as_echo_n "(cached) " >&6
7005 if test -n "$ac_ct_OTOOL64"; then
7006 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 test -z "$as_dir" && as_dir=.
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015 ac_cv_prog_ac_ct_OTOOL64="otool64"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7026 if test -n "$ac_ct_OTOOL64"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7028 $as_echo "$ac_ct_OTOOL64" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7034 if test "x$ac_ct_OTOOL64" = x; then
7037 case $cross_compiling:$ac_tool_warned in
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041 ac_tool_warned=yes ;;
7043 OTOOL64=$ac_ct_OTOOL64
7046 OTOOL64="$ac_cv_prog_OTOOL64"
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7076 $as_echo_n "checking for -single_module linker flag... " >&6; }
7077 if ${lt_cv_apple_cc_single_mod+:} false; then :
7078 $as_echo_n "(cached) " >&6
7080 lt_cv_apple_cc_single_mod=no
7081 if test -z "${LT_MULTI_MODULE}"; then
7082 # By default we will add the -single_module flag. You can override
7083 # by either setting the environment variable LT_MULTI_MODULE
7084 # non-empty at configure time, or by adding -multi_module to the
7086 rm -rf libconftest.dylib*
7087 echo "int foo(void){return 1;}" > conftest.c
7088 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7089 -dynamiclib -Wl,-single_module conftest.c" >&5
7090 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7091 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7093 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7094 lt_cv_apple_cc_single_mod=yes
7096 cat conftest.err >&5
7098 rm -rf libconftest.dylib*
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7103 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7105 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7106 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7107 $as_echo_n "(cached) " >&6
7109 lt_cv_ld_exported_symbols_list=no
7110 save_LDFLAGS=$LDFLAGS
7111 echo "_main" > conftest.sym
7112 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7124 if ac_fn_c_try_link "$LINENO"; then :
7125 lt_cv_ld_exported_symbols_list=yes
7127 lt_cv_ld_exported_symbols_list=no
7129 rm -f core conftest.err conftest.$ac_objext \
7130 conftest$ac_exeext conftest.$ac_ext
7131 LDFLAGS="$save_LDFLAGS"
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7135 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7137 $as_echo_n "checking for -force_load linker flag... " >&6; }
7138 if ${lt_cv_ld_force_load+:} false; then :
7139 $as_echo_n "(cached) " >&6
7141 lt_cv_ld_force_load=no
7142 cat > conftest.c << _LT_EOF
7143 int forced_loaded() { return 2;}
7145 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7146 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7147 echo "$AR cru libconftest.a conftest.o" >&5
7148 $AR cru libconftest.a conftest.o 2>&5
7149 echo "$RANLIB libconftest.a" >&5
7150 $RANLIB libconftest.a 2>&5
7151 cat > conftest.c << _LT_EOF
7152 int main() { return 0;}
7154 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7155 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7157 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7158 lt_cv_ld_force_load=yes
7160 cat conftest.err >&5
7162 rm -f conftest.err libconftest.a conftest conftest.c
7163 rm -rf conftest.dSYM
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7167 $as_echo "$lt_cv_ld_force_load" >&6; }
7169 rhapsody* | darwin1.[012])
7170 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7172 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7173 darwin*) # darwin 5.x on
7174 # if running on 10.5 or later, the deployment target defaults
7175 # to the OS version, if on x86, and 10.4, the deployment
7176 # target defaults to 10.4. Don't you love it?
7177 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7178 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7179 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7181 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7183 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7187 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7188 _lt_dar_single_mod='$single_module'
7190 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7191 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7193 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7195 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7196 _lt_dsymutil='~$DSYMUTIL $lib || :'
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7209 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7210 # On Suns, sometimes $CPP names a directory.
7211 if test -n "$CPP" && test -d "$CPP"; then
7214 if test -z "$CPP"; then
7215 if ${ac_cv_prog_CPP+:} false; then :
7216 $as_echo_n "(cached) " >&6
7218 # Double quotes because CPP needs to be expanded
7219 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7222 for ac_c_preproc_warn_flag in '' yes
7224 # Use a header file that comes with gcc, so configuring glibc
7225 # with a fresh cross-compiler works.
7226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7227 # <limits.h> exists even on freestanding compilers.
7228 # On the NeXT, cc -E runs the code through the compiler's parser,
7229 # not just through cpp. "Syntax error" is here to catch this case.
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7233 @%:@ include <limits.h>
7235 @%:@ include <assert.h>
7239 if ac_fn_c_try_cpp "$LINENO"; then :
7242 # Broken: fails on valid input.
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247 # OK, works on sane cases. Now check whether nonexistent headers
7248 # can be detected and how.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7251 @%:@include <ac_nonexistent.h>
7253 if ac_fn_c_try_cpp "$LINENO"; then :
7254 # Broken: success on invalid input.
7257 # Passes both tests.
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7265 rm -f conftest.i conftest.err conftest.$ac_ext
7266 if $ac_preproc_ok; then :
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7279 $as_echo "$CPP" >&6; }
7281 for ac_c_preproc_warn_flag in '' yes
7283 # Use a header file that comes with gcc, so configuring glibc
7284 # with a fresh cross-compiler works.
7285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7286 # <limits.h> exists even on freestanding compilers.
7287 # On the NeXT, cc -E runs the code through the compiler's parser,
7288 # not just through cpp. "Syntax error" is here to catch this case.
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7292 @%:@ include <limits.h>
7294 @%:@ include <assert.h>
7298 if ac_fn_c_try_cpp "$LINENO"; then :
7301 # Broken: fails on valid input.
7304 rm -f conftest.err conftest.i conftest.$ac_ext
7306 # OK, works on sane cases. Now check whether nonexistent headers
7307 # can be detected and how.
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7310 @%:@include <ac_nonexistent.h>
7312 if ac_fn_c_try_cpp "$LINENO"; then :
7313 # Broken: success on invalid input.
7316 # Passes both tests.
7320 rm -f conftest.err conftest.i conftest.$ac_ext
7323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7324 rm -f conftest.i conftest.err conftest.$ac_ext
7325 if $ac_preproc_ok; then :
7328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7330 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7331 See \`config.log' for more details" "$LINENO" 5; }
7335 ac_cpp='$CPP $CPPFLAGS'
7336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7342 $as_echo_n "checking for ANSI C header files... " >&6; }
7343 if ${ac_cv_header_stdc+:} false; then :
7344 $as_echo_n "(cached) " >&6
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7361 if ac_fn_c_try_compile "$LINENO"; then :
7362 ac_cv_header_stdc=yes
7364 ac_cv_header_stdc=no
7366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7368 if test $ac_cv_header_stdc = yes; then
7369 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376 $EGREP "memchr" >/dev/null 2>&1; then :
7379 ac_cv_header_stdc=no
7385 if test $ac_cv_header_stdc = yes; then
7386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 /* end confdefs.h. */
7392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7393 $EGREP "free" >/dev/null 2>&1; then :
7396 ac_cv_header_stdc=no
7402 if test $ac_cv_header_stdc = yes; then
7403 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7404 if test "$cross_compiling" = yes; then :
7407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408 /* end confdefs.h. */
7411 #if ((' ' & 0x0FF) == 0x020)
7412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7415 # define ISLOWER(c) \
7416 (('a' <= (c) && (c) <= 'i') \
7417 || ('j' <= (c) && (c) <= 'r') \
7418 || ('s' <= (c) && (c) <= 'z'))
7419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7427 for (i = 0; i < 256; i++)
7428 if (XOR (islower (i), ISLOWER (i))
7429 || toupper (i) != TOUPPER (i))
7434 if ac_fn_c_try_run "$LINENO"; then :
7437 ac_cv_header_stdc=no
7439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7440 conftest.$ac_objext conftest.beam conftest.$ac_ext
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7446 $as_echo "$ac_cv_header_stdc" >&6; }
7447 if test $ac_cv_header_stdc = yes; then
7449 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7455 inttypes.h stdint.h unistd.h
7457 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7458 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7461 cat >>confdefs.h <<_ACEOF
7462 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7470 for ac_header in dlfcn.h
7472 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7474 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7475 cat >>confdefs.h <<_ACEOF
7476 @%:@define HAVE_DLFCN_H 1
7497 @%:@ Check whether --enable-shared was given.
7498 if test "${enable_shared+set}" = set; then :
7499 enableval=$enable_shared; p=${PACKAGE-default}
7501 yes) enable_shared=yes ;;
7502 no) enable_shared=no ;;
7505 # Look at the argument we got. We use all the common list separators.
7506 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7507 for pkg in $enableval; do
7509 if test "X$pkg" = "X$p"; then
7528 @%:@ Check whether --enable-static was given.
7529 if test "${enable_static+set}" = set; then :
7530 enableval=$enable_static; p=${PACKAGE-default}
7532 yes) enable_static=yes ;;
7533 no) enable_static=no ;;
7536 # Look at the argument we got. We use all the common list separators.
7537 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7538 for pkg in $enableval; do
7540 if test "X$pkg" = "X$p"; then
7560 @%:@ Check whether --with-pic was given.
7561 if test "${with_pic+set}" = set; then :
7562 withval=$with_pic; pic_mode="$withval"
7568 test -z "$pic_mode" && pic_mode=default
7576 @%:@ Check whether --enable-fast-install was given.
7577 if test "${enable_fast_install+set}" = set; then :
7578 enableval=$enable_fast_install; p=${PACKAGE-default}
7580 yes) enable_fast_install=yes ;;
7581 no) enable_fast_install=no ;;
7583 enable_fast_install=no
7584 # Look at the argument we got. We use all the common list separators.
7585 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7586 for pkg in $enableval; do
7588 if test "X$pkg" = "X$p"; then
7589 enable_fast_install=yes
7596 enable_fast_install=yes
7609 # This can be used to rebuild libtool when needed
7610 LIBTOOL_DEPS="$ltmain"
7612 # Always use our own libtool.
7613 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7640 test -z "$LN_S" && LN_S="ln -s"
7655 if test -n "${ZSH_VERSION+set}" ; then
7656 setopt NO_GLOB_SUBST
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7660 $as_echo_n "checking for objdir... " >&6; }
7661 if ${lt_cv_objdir+:} false; then :
7662 $as_echo_n "(cached) " >&6
7664 rm -f .libs 2>/dev/null
7665 mkdir .libs 2>/dev/null
7666 if test -d .libs; then
7669 # MS-DOS does not allow filenames that begin with a dot.
7672 rmdir .libs 2>/dev/null
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7675 $as_echo "$lt_cv_objdir" >&6; }
7676 objdir=$lt_cv_objdir
7682 cat >>confdefs.h <<_ACEOF
7683 @%:@define LT_OBJDIR "$lt_cv_objdir/"
7691 # AIX sometimes has problems with the GCC collect2 program. For some
7692 # reason, if we set the COLLECT_NAMES environment variable, the problems
7693 # vanish in a puff of smoke.
7694 if test "X${COLLECT_NAMES+set}" != Xset; then
7696 export COLLECT_NAMES
7703 can_build_shared=yes
7705 # All known linkers require a `.a' archive for static linking (except MSVC,
7706 # which needs '.lib').
7709 with_gnu_ld="$lt_cv_prog_gnu_ld"
7712 old_CFLAGS="$CFLAGS"
7714 # Set sane defaults for various variables
7715 test -z "$CC" && CC=cc
7716 test -z "$LTCC" && LTCC=$CC
7717 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7718 test -z "$LD" && LD=ld
7719 test -z "$ac_objext" && ac_objext=o
7721 for cc_temp in $compiler""; do
7723 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7724 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7729 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7732 # Only perform the check for file, if the check method requires it
7733 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7734 case $deplibs_check_method in
7736 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7738 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7739 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7740 $as_echo_n "(cached) " >&6
7744 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7747 lt_save_MAGIC_CMD="$MAGIC_CMD"
7748 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7749 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7750 for ac_dir in $ac_dummy; do
7752 test -z "$ac_dir" && ac_dir=.
7753 if test -f $ac_dir/${ac_tool_prefix}file; then
7754 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7755 if test -n "$file_magic_test_file"; then
7756 case $deplibs_check_method in
7758 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7759 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7760 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7761 $EGREP "$file_magic_regex" > /dev/null; then
7766 *** Warning: the command libtool uses to detect shared libraries,
7767 *** $file_magic_cmd, produces output that libtool cannot recognize.
7768 *** The result is that libtool may fail to recognize shared libraries
7769 *** as such. This will affect the creation of libtool libraries that
7770 *** depend on shared libraries, but programs linked with such libtool
7771 *** libraries will work regardless of this problem. Nevertheless, you
7772 *** may want to report the problem to your system manager and/or to
7773 *** bug-libtool@gnu.org
7783 MAGIC_CMD="$lt_save_MAGIC_CMD"
7788 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7789 if test -n "$MAGIC_CMD"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7791 $as_echo "$MAGIC_CMD" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7801 if test -z "$lt_cv_path_MAGIC_CMD"; then
7802 if test -n "$ac_tool_prefix"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7804 $as_echo_n "checking for file... " >&6; }
7805 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7806 $as_echo_n "(cached) " >&6
7810 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7813 lt_save_MAGIC_CMD="$MAGIC_CMD"
7814 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7815 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7816 for ac_dir in $ac_dummy; do
7818 test -z "$ac_dir" && ac_dir=.
7819 if test -f $ac_dir/file; then
7820 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7821 if test -n "$file_magic_test_file"; then
7822 case $deplibs_check_method in
7824 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7825 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7826 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7827 $EGREP "$file_magic_regex" > /dev/null; then
7832 *** Warning: the command libtool uses to detect shared libraries,
7833 *** $file_magic_cmd, produces output that libtool cannot recognize.
7834 *** The result is that libtool may fail to recognize shared libraries
7835 *** as such. This will affect the creation of libtool libraries that
7836 *** depend on shared libraries, but programs linked with such libtool
7837 *** libraries will work regardless of this problem. Nevertheless, you
7838 *** may want to report the problem to your system manager and/or to
7839 *** bug-libtool@gnu.org
7849 MAGIC_CMD="$lt_save_MAGIC_CMD"
7854 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7855 if test -n "$MAGIC_CMD"; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7857 $as_echo "$MAGIC_CMD" >&6; }
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7860 $as_echo "no" >&6; }
7873 # Use C for the default configuration in the libtool script
7877 ac_cpp='$CPP $CPPFLAGS'
7878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7883 # Source file extension for C test sources.
7886 # Object file extension for compiled C test sources.
7890 # Code to be used in simple compile tests
7891 lt_simple_compile_test_code="int some_variable = 0;"
7893 # Code to be used in simple link tests
7894 lt_simple_link_test_code='int main(){return(0);}'
7902 # If no C compiler was specified, use CC.
7905 # If no C compiler flags were specified, use CFLAGS.
7906 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7908 # Allow CC to be a program name with arguments.
7911 # Save the default compiler, since it gets overwritten when the other
7912 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7913 compiler_DEFAULT=$CC
7915 # save warnings/boilerplate of simple test code
7916 ac_outfile=conftest.$ac_objext
7917 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7918 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7919 _lt_compiler_boilerplate=`cat conftest.err`
7922 ac_outfile=conftest.$ac_objext
7923 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7924 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7925 _lt_linker_boilerplate=`cat conftest.err`
7930 ## There is no encapsulation within the following macros, do not change
7931 ## the running order or otherwise move them around unless you know exactly
7932 ## what you are doing...
7933 if test -n "$compiler"; then
7935 lt_prog_compiler_no_builtin_flag=
7937 if test "$GCC" = yes; then
7938 case $cc_basename in
7940 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7942 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7946 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7947 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7948 $as_echo_n "(cached) " >&6
7950 lt_cv_prog_compiler_rtti_exceptions=no
7951 ac_outfile=conftest.$ac_objext
7952 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7953 lt_compiler_flag="-fno-rtti -fno-exceptions"
7954 # Insert the option either (1) after the last *FLAGS variable, or
7955 # (2) before a word containing "conftest.", or (3) at the end.
7956 # Note that $ac_compile itself does not contain backslashes and begins
7957 # with a dollar sign (not a hyphen), so the echo should work correctly.
7958 # The option is referenced via a variable to avoid confusing sed.
7959 lt_compile=`echo "$ac_compile" | $SED \
7960 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7962 -e 's:$: $lt_compiler_flag:'`
7963 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7964 (eval "$lt_compile" 2>conftest.err)
7966 cat conftest.err >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 if (exit $ac_status) && test -s "$ac_outfile"; then
7969 # The compiler can only warn and ignore the option if not recognized
7970 # So say no if there are warnings other than the usual output.
7971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7972 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7973 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7974 lt_cv_prog_compiler_rtti_exceptions=yes
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7981 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7983 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7984 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7996 lt_prog_compiler_wl=
7997 lt_prog_compiler_pic=
7998 lt_prog_compiler_static=
8001 if test "$GCC" = yes; then
8002 lt_prog_compiler_wl='-Wl,'
8003 lt_prog_compiler_static='-static'
8007 # All AIX code is PIC.
8008 if test "$host_cpu" = ia64; then
8009 # AIX 5 now supports IA64 processor
8010 lt_prog_compiler_static='-Bstatic'
8017 # see comment about AmigaOS4 .so support
8018 lt_prog_compiler_pic='-fPIC'
8021 # FIXME: we need at least 68020 code to build shared libraries, but
8022 # adding the `-m68020' flag to GCC prevents building anything better,
8024 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8029 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8030 # PIC is the default for these OSes.
8033 mingw* | cygwin* | pw32* | os2* | cegcc*)
8034 # This hack is so that the source file can tell whether it is being
8035 # built for inclusion in a dll (and should export symbols for example).
8036 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8037 # (--disable-auto-import) libraries
8038 lt_prog_compiler_pic='-DDLL_EXPORT'
8041 darwin* | rhapsody*)
8042 # PIC is the default on this platform
8043 # Common symbols not allowed in MH_DYLIB files
8044 lt_prog_compiler_pic='-fno-common'
8048 # PIC is the default for Haiku.
8049 # The "-static" flag exists, but is broken.
8050 lt_prog_compiler_static=
8054 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8055 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8056 # sets the default TLS model and affects inlining.
8062 lt_prog_compiler_pic='-fPIC'
8068 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8069 # Instead, we relocate shared libraries at runtime.
8073 # Just because we use GCC doesn't mean we suddenly get shared libraries
8074 # on systems that don't support them.
8075 lt_prog_compiler_can_build_shared=no
8080 # QNX uses GNU C++, but need to define -shared option too, otherwise
8082 lt_prog_compiler_pic='-fPIC -shared'
8086 if test -d /usr/nec; then
8087 lt_prog_compiler_pic=-Kconform_pic
8092 lt_prog_compiler_pic='-fPIC'
8096 case $cc_basename in
8097 nvcc*) # Cuda Compiler Driver 2.2
8098 lt_prog_compiler_wl='-Xlinker '
8099 lt_prog_compiler_pic='-Xcompiler -fPIC'
8103 # PORTME Check for flag to pass linker flags through the system compiler.
8106 lt_prog_compiler_wl='-Wl,'
8107 if test "$host_cpu" = ia64; then
8108 # AIX 5 now supports IA64 processor
8109 lt_prog_compiler_static='-Bstatic'
8111 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8115 mingw* | cygwin* | pw32* | os2* | cegcc*)
8116 # This hack is so that the source file can tell whether it is being
8117 # built for inclusion in a dll (and should export symbols for example).
8118 lt_prog_compiler_pic='-DDLL_EXPORT'
8121 hpux9* | hpux10* | hpux11*)
8122 lt_prog_compiler_wl='-Wl,'
8123 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8130 lt_prog_compiler_pic='+Z'
8133 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8134 lt_prog_compiler_static='${wl}-a ${wl}archive'
8137 irix5* | irix6* | nonstopux*)
8138 lt_prog_compiler_wl='-Wl,'
8139 # PIC (with -KPIC) is the default.
8140 lt_prog_compiler_static='-non_shared'
8143 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8144 case $cc_basename in
8145 # old Intel for x86_64 which still supported -KPIC.
8147 lt_prog_compiler_wl='-Wl,'
8148 lt_prog_compiler_pic='-KPIC'
8149 lt_prog_compiler_static='-static'
8151 # icc used to be incompatible with GCC.
8152 # ICC 10 doesn't accept -KPIC any more.
8154 lt_prog_compiler_wl='-Wl,'
8155 lt_prog_compiler_pic='-fPIC'
8156 lt_prog_compiler_static='-static'
8158 # Lahey Fortran 8.1.
8160 lt_prog_compiler_wl='-Wl,'
8161 lt_prog_compiler_pic='--shared'
8162 lt_prog_compiler_static='--static'
8165 # NAG Fortran compiler
8166 lt_prog_compiler_wl='-Wl,-Wl,,'
8167 lt_prog_compiler_pic='-PIC'
8168 lt_prog_compiler_static='-Bstatic'
8170 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8171 # Portland Group compilers (*not* the Pentium gcc compiler,
8172 # which looks to be a dead project)
8173 lt_prog_compiler_wl='-Wl,'
8174 lt_prog_compiler_pic='-fpic'
8175 lt_prog_compiler_static='-Bstatic'
8178 lt_prog_compiler_wl='-Wl,'
8179 # All Alpha code is PIC.
8180 lt_prog_compiler_static='-non_shared'
8182 xl* | bgxl* | bgf* | mpixl*)
8183 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8184 lt_prog_compiler_wl='-Wl,'
8185 lt_prog_compiler_pic='-qpic'
8186 lt_prog_compiler_static='-qstaticlink'
8189 case `$CC -V 2>&1 | sed 5q` in
8190 *Sun\ F* | *Sun*Fortran*)
8191 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8192 lt_prog_compiler_pic='-KPIC'
8193 lt_prog_compiler_static='-Bstatic'
8194 lt_prog_compiler_wl=''
8198 lt_prog_compiler_pic='-KPIC'
8199 lt_prog_compiler_static='-Bstatic'
8200 lt_prog_compiler_wl='-Wl,'
8208 lt_prog_compiler_pic='-KPIC'
8209 lt_prog_compiler_static='-Bstatic'
8213 # QNX uses GNU C++, but need to define -shared option too, otherwise
8215 lt_prog_compiler_pic='-fPIC -shared'
8218 osf3* | osf4* | osf5*)
8219 lt_prog_compiler_wl='-Wl,'
8220 # All OSF/1 code is PIC.
8221 lt_prog_compiler_static='-non_shared'
8225 lt_prog_compiler_static='-non_shared'
8229 lt_prog_compiler_pic='-KPIC'
8230 lt_prog_compiler_static='-Bstatic'
8231 case $cc_basename in
8232 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8233 lt_prog_compiler_wl='-Qoption ld ';;
8235 lt_prog_compiler_wl='-Wl,';;
8240 lt_prog_compiler_wl='-Qoption ld '
8241 lt_prog_compiler_pic='-PIC'
8242 lt_prog_compiler_static='-Bstatic'
8245 sysv4 | sysv4.2uw2* | sysv4.3*)
8246 lt_prog_compiler_wl='-Wl,'
8247 lt_prog_compiler_pic='-KPIC'
8248 lt_prog_compiler_static='-Bstatic'
8252 if test -d /usr/nec ;then
8253 lt_prog_compiler_pic='-Kconform_pic'
8254 lt_prog_compiler_static='-Bstatic'
8258 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8259 lt_prog_compiler_wl='-Wl,'
8260 lt_prog_compiler_pic='-KPIC'
8261 lt_prog_compiler_static='-Bstatic'
8265 lt_prog_compiler_wl='-Wl,'
8266 lt_prog_compiler_can_build_shared=no
8270 lt_prog_compiler_pic='-pic'
8271 lt_prog_compiler_static='-Bstatic'
8275 lt_prog_compiler_can_build_shared=no
8281 # For platforms which do not support PIC, -DPIC is meaningless:
8283 lt_prog_compiler_pic=
8286 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8291 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8292 if ${lt_cv_prog_compiler_pic+:} false; then :
8293 $as_echo_n "(cached) " >&6
8295 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8298 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8299 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8302 # Check to make sure the PIC flag actually works.
8304 if test -n "$lt_prog_compiler_pic"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8306 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8307 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8308 $as_echo_n "(cached) " >&6
8310 lt_cv_prog_compiler_pic_works=no
8311 ac_outfile=conftest.$ac_objext
8312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8313 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8314 # Insert the option either (1) after the last *FLAGS variable, or
8315 # (2) before a word containing "conftest.", or (3) at the end.
8316 # Note that $ac_compile itself does not contain backslashes and begins
8317 # with a dollar sign (not a hyphen), so the echo should work correctly.
8318 # The option is referenced via a variable to avoid confusing sed.
8319 lt_compile=`echo "$ac_compile" | $SED \
8320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8322 -e 's:$: $lt_compiler_flag:'`
8323 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8324 (eval "$lt_compile" 2>conftest.err)
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 if (exit $ac_status) && test -s "$ac_outfile"; then
8329 # The compiler can only warn and ignore the option if not recognized
8330 # So say no if there are warnings other than the usual output.
8331 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8332 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8333 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8334 lt_cv_prog_compiler_pic_works=yes
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8341 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8343 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8344 case $lt_prog_compiler_pic in
8346 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8349 lt_prog_compiler_pic=
8350 lt_prog_compiler_can_build_shared=no
8366 # Check to make sure the static flag actually works.
8368 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8370 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8371 if ${lt_cv_prog_compiler_static_works+:} false; then :
8372 $as_echo_n "(cached) " >&6
8374 lt_cv_prog_compiler_static_works=no
8375 save_LDFLAGS="$LDFLAGS"
8376 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8377 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8378 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8379 # The linker can only warn and ignore the option if not recognized
8380 # So say no if there are warnings
8381 if test -s conftest.err; then
8382 # Append any errors to the config.log.
8383 cat conftest.err 1>&5
8384 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8385 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8386 if diff conftest.exp conftest.er2 >/dev/null; then
8387 lt_cv_prog_compiler_static_works=yes
8390 lt_cv_prog_compiler_static_works=yes
8394 LDFLAGS="$save_LDFLAGS"
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8398 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8400 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8403 lt_prog_compiler_static=
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8413 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8414 if ${lt_cv_prog_compiler_c_o+:} false; then :
8415 $as_echo_n "(cached) " >&6
8417 lt_cv_prog_compiler_c_o=no
8418 $RM -r conftest 2>/dev/null
8422 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8424 lt_compiler_flag="-o out/conftest2.$ac_objext"
8425 # Insert the option either (1) after the last *FLAGS variable, or
8426 # (2) before a word containing "conftest.", or (3) at the end.
8427 # Note that $ac_compile itself does not contain backslashes and begins
8428 # with a dollar sign (not a hyphen), so the echo should work correctly.
8429 lt_compile=`echo "$ac_compile" | $SED \
8430 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8431 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8432 -e 's:$: $lt_compiler_flag:'`
8433 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8434 (eval "$lt_compile" 2>out/conftest.err)
8436 cat out/conftest.err >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8440 # The compiler can only warn and ignore the option if not recognized
8441 # So say no if there are warnings
8442 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8443 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8444 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8445 lt_cv_prog_compiler_c_o=yes
8450 # SGI C++ compiler will create directory out/ii_files/ for
8451 # template instantiation
8452 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8453 $RM out/* && rmdir out
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8460 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8468 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8469 if ${lt_cv_prog_compiler_c_o+:} false; then :
8470 $as_echo_n "(cached) " >&6
8472 lt_cv_prog_compiler_c_o=no
8473 $RM -r conftest 2>/dev/null
8477 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8479 lt_compiler_flag="-o out/conftest2.$ac_objext"
8480 # Insert the option either (1) after the last *FLAGS variable, or
8481 # (2) before a word containing "conftest.", or (3) at the end.
8482 # Note that $ac_compile itself does not contain backslashes and begins
8483 # with a dollar sign (not a hyphen), so the echo should work correctly.
8484 lt_compile=`echo "$ac_compile" | $SED \
8485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8487 -e 's:$: $lt_compiler_flag:'`
8488 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8489 (eval "$lt_compile" 2>out/conftest.err)
8491 cat out/conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8495 # The compiler can only warn and ignore the option if not recognized
8496 # So say no if there are warnings
8497 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8498 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8499 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8500 lt_cv_prog_compiler_c_o=yes
8505 # SGI C++ compiler will create directory out/ii_files/ for
8506 # template instantiation
8507 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8508 $RM out/* && rmdir out
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8515 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8520 hard_links="nottested"
8521 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8522 # do not overwrite the value of need_locks provided by the user
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8524 $as_echo_n "checking if we can lock with hard links... " >&6; }
8527 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8529 ln conftest.a conftest.b 2>&5 || hard_links=no
8530 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8532 $as_echo "$hard_links" >&6; }
8533 if test "$hard_links" = no; then
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8535 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8548 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8551 allow_undefined_flag=
8552 always_export_symbols=no
8554 archive_expsym_cmds=
8555 compiler_needs_object=no
8556 enable_shared_with_static_runtimes=no
8557 export_dynamic_flag_spec=
8558 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8559 hardcode_automatic=no
8561 hardcode_direct_absolute=no
8562 hardcode_libdir_flag_spec=
8563 hardcode_libdir_flag_spec_ld=
8564 hardcode_libdir_separator=
8566 hardcode_shlibpath_var=unsupported
8568 link_all_deplibs=unknown
8571 old_archive_from_new_cmds=
8572 old_archive_from_expsyms_cmds=
8573 thread_safe_flag_spec=
8574 whole_archive_flag_spec=
8575 # include_expsyms should be a list of space-separated symbols to be *always*
8576 # included in the symbol list
8578 # exclude_expsyms can be an extended regexp of symbols to exclude
8579 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8580 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8581 # as well as any symbol that contains `d'.
8582 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8583 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8584 # platforms (ab)use it in PIC code, but their linkers get confused if
8585 # the symbol is explicitly referenced. Since portable code cannot
8586 # rely on this symbol name, it's probably fine to never include it in
8587 # preloaded symbol tables.
8588 # Exclude shared library initialization/finalization symbols.
8589 extract_expsyms_cmds=
8592 cygwin* | mingw* | pw32* | cegcc*)
8593 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8594 # When not using gcc, we currently assume that we are using
8595 # Microsoft Visual C++.
8596 if test "$GCC" != yes; then
8601 # we just hope/assume this is gcc and not c89 (= MSVC++)
8611 # On some targets, GNU ld is compatible enough with the native linker
8612 # that we're better off using the native interface for both.
8613 lt_use_gnu_ld_interface=no
8614 if test "$with_gnu_ld" = yes; then
8617 # The AIX port of GNU ld has always aspired to compatibility
8618 # with the native linker. However, as the warning in the GNU ld
8619 # block says, versions before 2.19.5* couldn't really create working
8620 # shared libraries, regardless of the interface used.
8621 case `$LD -v 2>&1` in
8622 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8623 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8624 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8626 lt_use_gnu_ld_interface=yes
8631 lt_use_gnu_ld_interface=yes
8636 if test "$lt_use_gnu_ld_interface" = yes; then
8637 # If archive_cmds runs LD, not CC, wlarc should be empty
8640 # Set some defaults for GNU ld with shared library support. These
8641 # are reset later if shared libraries are not supported. Putting them
8642 # here allows them to be overridden if necessary.
8643 runpath_var=LD_RUN_PATH
8644 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8645 export_dynamic_flag_spec='${wl}--export-dynamic'
8646 # ancient GNU ld didn't support --whole-archive et. al.
8647 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8648 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8650 whole_archive_flag_spec=
8652 supports_anon_versioning=no
8653 case `$LD -v 2>&1` in
8654 *GNU\ gold*) supports_anon_versioning=yes ;;
8655 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8656 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8657 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8658 *\ 2.11.*) ;; # other 2.11 versions
8659 *) supports_anon_versioning=yes ;;
8662 # See if GNU ld supports shared libraries.
8665 # On AIX/PPC, the GNU linker is very broken
8666 if test "$host_cpu" != ia64; then
8670 *** Warning: the GNU linker, at least up to release 2.19, is reported
8671 *** to be unable to reliably create shared libraries on AIX.
8672 *** Therefore, libtool is disabling shared libraries support. If you
8673 *** really care for shared libraries, you may want to install binutils
8674 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8675 *** You will then need to restart the configuration process.
8684 # see comment about AmigaOS4 .so support
8685 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686 archive_expsym_cmds=''
8689 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)'
8690 hardcode_libdir_flag_spec='-L$libdir'
8691 hardcode_minus_L=yes
8697 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8698 allow_undefined_flag=unsupported
8699 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8700 # support --undefined. This deserves some investigation. FIXME
8701 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8707 cygwin* | mingw* | pw32* | cegcc*)
8708 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8709 # as there is no search path for DLLs.
8710 hardcode_libdir_flag_spec='-L$libdir'
8711 export_dynamic_flag_spec='${wl}--export-all-symbols'
8712 allow_undefined_flag=unsupported
8713 always_export_symbols=no
8714 enable_shared_with_static_runtimes=yes
8715 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'
8716 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8718 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8719 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8720 # If the export-symbols file already is a .def file (1st line
8721 # is EXPORTS), use it as is; otherwise, prepend...
8722 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8723 cp $export_symbols $output_objdir/$soname.def;
8725 echo EXPORTS > $output_objdir/$soname.def;
8726 cat $export_symbols >> $output_objdir/$soname.def;
8728 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8735 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8736 link_all_deplibs=yes
8741 hardcode_shlibpath_var=no
8742 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8743 export_dynamic_flag_spec='${wl}-E'
8744 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8745 # Instead, shared libraries are loaded at an image base (0x10000000 by
8746 # default) and relocated if they conflict, which is a slow very memory
8747 # consuming and fragmenting process. To avoid this, we pick a random,
8748 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8749 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8750 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8751 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'
8754 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8756 if test "$host_os" = linux-dietlibc; then
8757 case $cc_basename in
8758 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8761 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8762 && test "$tmp_diet" = no
8764 tmp_addflag=' $pic_flag'
8765 tmp_sharedflag='-shared'
8766 case $cc_basename,$host_cpu in
8767 pgcc*) # Portland Group C compiler
8768 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'
8769 tmp_addflag=' $pic_flag'
8771 pgf77* | pgf90* | pgf95* | pgfortran*)
8772 # Portland Group f77 and f90 compilers
8773 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'
8774 tmp_addflag=' $pic_flag -Mnomain' ;;
8775 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8776 tmp_addflag=' -i_dynamic' ;;
8777 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8778 tmp_addflag=' -i_dynamic -nofor_main' ;;
8779 ifc* | ifort*) # Intel Fortran compiler
8780 tmp_addflag=' -nofor_main' ;;
8781 lf95*) # Lahey Fortran 8.1
8782 whole_archive_flag_spec=
8783 tmp_sharedflag='--shared' ;;
8784 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8785 tmp_sharedflag='-qmkshrobj'
8787 nvcc*) # Cuda Compiler Driver 2.2
8788 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'
8789 compiler_needs_object=yes
8792 case `$CC -V 2>&1 | sed 5q` in
8793 *Sun\ C*) # Sun C 5.9
8794 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'
8795 compiler_needs_object=yes
8796 tmp_sharedflag='-G' ;;
8797 *Sun\ F*) # Sun Fortran 8.3
8798 tmp_sharedflag='-G' ;;
8800 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8802 if test "x$supports_anon_versioning" = xyes; then
8803 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8804 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8805 echo "local: *; };" >> $output_objdir/$libname.ver~
8806 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8809 case $cc_basename in
8810 xlf* | bgf* | bgxlf* | mpixlf*)
8811 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8812 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8813 hardcode_libdir_flag_spec=
8814 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8815 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8816 if test "x$supports_anon_versioning" = xyes; then
8817 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8818 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8819 echo "local: *; };" >> $output_objdir/$libname.ver~
8820 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8830 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8831 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8834 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8835 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8840 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8844 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8845 *** create shared libraries on Solaris systems. Therefore, libtool
8846 *** is disabling shared libraries support. We urge you to upgrade GNU
8847 *** binutils to release 2.9.1 or newer. Another option is to modify
8848 *** your PATH or compiler configuration so that the native linker is
8849 *** used, and then restart.
8852 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8853 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8854 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8860 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8861 case `$LD -v 2>&1` in
8862 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8866 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8867 *** reliably create shared libraries on SCO systems. Therefore, libtool
8868 *** is disabling shared libraries support. We urge you to upgrade GNU
8869 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8870 *** your PATH or compiler configuration so that the native linker is
8871 *** used, and then restart.
8876 # For security reasons, it is highly recommended that you always
8877 # use absolute paths for naming shared libraries, and exclude the
8878 # DT_RUNPATH tag from executables and libraries. But doing so
8879 # requires that you compile everything twice, which is a pain.
8880 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8881 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8882 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8892 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8895 hardcode_shlibpath_var=no
8899 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8900 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8908 if test "$ld_shlibs" = no; then
8910 hardcode_libdir_flag_spec=
8911 export_dynamic_flag_spec=
8912 whole_archive_flag_spec=
8915 # PORTME fill in a description of your system's linker (not GNU ld)
8918 allow_undefined_flag=unsupported
8919 always_export_symbols=yes
8920 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'
8921 # Note: this linker hardcodes the directories in LIBPATH if there
8922 # are no directories specified by -L.
8923 hardcode_minus_L=yes
8924 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8925 # Neither direct hardcoding nor static linking is supported with a
8927 hardcode_direct=unsupported
8932 if test "$host_cpu" = ia64; then
8933 # On IA64, the linker does run time linking by default, so we don't
8934 # have to do anything special.
8935 aix_use_runtimelinking=no
8936 exp_sym_flag='-Bexport'
8939 # If we're using GNU nm, then we don't want the "-C" option.
8940 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8941 # Also, AIX nm treats weak defined symbols like other global
8942 # defined symbols, whereas GNU nm marks them as "W".
8943 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8944 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'
8946 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'
8948 aix_use_runtimelinking=no
8950 # Test if we are trying to use run time linking or normal
8951 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8952 # need to do runtime linking.
8953 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8954 for ld_flag in $LDFLAGS; do
8955 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8956 aix_use_runtimelinking=yes
8963 exp_sym_flag='-bexport'
8964 no_entry_flag='-bnoentry'
8967 # When large executables or shared objects are built, AIX ld can
8968 # have problems creating the table of contents. If linking a library
8969 # or program results in "error TOC overflow" add -mminimal-toc to
8970 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8971 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8975 hardcode_direct_absolute=yes
8976 hardcode_libdir_separator=':'
8977 link_all_deplibs=yes
8978 file_list_spec='${wl}-f,'
8980 if test "$GCC" = yes; then
8981 case $host_os in aix4.[012]|aix4.[012].*)
8982 # We only want to do this on AIX 4.2 and lower, the check
8983 # below for broken collect2 doesn't work under 4.3+
8984 collect2name=`${CC} -print-prog-name=collect2`
8985 if test -f "$collect2name" &&
8986 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8988 # We have reworked collect2
8991 # We have old collect2
8992 hardcode_direct=unsupported
8993 # It fails to find uninstalled libraries when the uninstalled
8994 # path is not listed in the libpath. Setting hardcode_minus_L
8995 # to unsupported forces relinking
8996 hardcode_minus_L=yes
8997 hardcode_libdir_flag_spec='-L$libdir'
8998 hardcode_libdir_separator=
9002 shared_flag='-shared'
9003 if test "$aix_use_runtimelinking" = yes; then
9004 shared_flag="$shared_flag "'${wl}-G'
9008 if test "$host_cpu" = ia64; then
9009 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9010 # chokes on -Wl,-G. The following line is correct:
9013 if test "$aix_use_runtimelinking" = yes; then
9014 shared_flag='${wl}-G'
9016 shared_flag='${wl}-bM:SRE'
9021 export_dynamic_flag_spec='${wl}-bexpall'
9022 # It seems that -bexpall does not export symbols beginning with
9023 # underscore (_), so it is better to generate a list of symbols to export.
9024 always_export_symbols=yes
9025 if test "$aix_use_runtimelinking" = yes; then
9026 # Warning - without using the other runtime loading flags (-brtl),
9027 # -berok will link without error, but may produce a broken library.
9028 allow_undefined_flag='-berok'
9029 # Determine the default libpath from the value encoded in an
9031 if test "${lt_cv_aix_libpath+set}" = set; then
9032 aix_libpath=$lt_cv_aix_libpath
9034 if ${lt_cv_aix_libpath_+:} false; then :
9035 $as_echo_n "(cached) " >&6
9037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9038 /* end confdefs.h. */
9048 if ac_fn_c_try_link "$LINENO"; then :
9050 lt_aix_libpath_sed='
9051 /Import File Strings/,/^$/ {
9053 s/^0 *\([^ ]*\) *$/\1/
9057 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9058 # Check for a 64-bit object if we didn't find anything.
9059 if test -z "$lt_cv_aix_libpath_"; then
9060 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9063 rm -f core conftest.err conftest.$ac_objext \
9064 conftest$ac_exeext conftest.$ac_ext
9065 if test -z "$lt_cv_aix_libpath_"; then
9066 lt_cv_aix_libpath_="/usr/lib:/lib"
9071 aix_libpath=$lt_cv_aix_libpath_
9074 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9075 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"
9077 if test "$host_cpu" = ia64; then
9078 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9079 allow_undefined_flag="-z nodefs"
9080 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"
9082 # Determine the default libpath from the value encoded in an
9084 if test "${lt_cv_aix_libpath+set}" = set; then
9085 aix_libpath=$lt_cv_aix_libpath
9087 if ${lt_cv_aix_libpath_+:} false; then :
9088 $as_echo_n "(cached) " >&6
9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9101 if ac_fn_c_try_link "$LINENO"; then :
9103 lt_aix_libpath_sed='
9104 /Import File Strings/,/^$/ {
9106 s/^0 *\([^ ]*\) *$/\1/
9110 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9111 # Check for a 64-bit object if we didn't find anything.
9112 if test -z "$lt_cv_aix_libpath_"; then
9113 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9116 rm -f core conftest.err conftest.$ac_objext \
9117 conftest$ac_exeext conftest.$ac_ext
9118 if test -z "$lt_cv_aix_libpath_"; then
9119 lt_cv_aix_libpath_="/usr/lib:/lib"
9124 aix_libpath=$lt_cv_aix_libpath_
9127 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9128 # Warning - without using the other run time loading flags,
9129 # -berok will link without error, but may produce a broken library.
9130 no_undefined_flag=' ${wl}-bernotok'
9131 allow_undefined_flag=' ${wl}-berok'
9132 if test "$with_gnu_ld" = yes; then
9133 # We only use this code for GNU lds that support --whole-archive.
9134 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9136 # Exported symbols can be pulled into shared objects from archives
9137 whole_archive_flag_spec='$convenience'
9139 archive_cmds_need_lc=yes
9140 # This is similar to how AIX traditionally builds its shared libraries.
9141 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'
9149 # see comment about AmigaOS4 .so support
9150 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 archive_expsym_cmds=''
9154 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)'
9155 hardcode_libdir_flag_spec='-L$libdir'
9156 hardcode_minus_L=yes
9162 export_dynamic_flag_spec=-rdynamic
9165 cygwin* | mingw* | pw32* | cegcc*)
9166 # When not using gcc, we currently assume that we are using
9167 # Microsoft Visual C++.
9168 # hardcode_libdir_flag_spec is actually meaningless, as there is
9169 # no search path for DLLs.
9170 case $cc_basename in
9173 hardcode_libdir_flag_spec=' '
9174 allow_undefined_flag=unsupported
9175 always_export_symbols=yes
9177 # Tell ltmain to make .lib files, not .a files.
9179 # Tell ltmain to make .dll files, not .so files.
9181 # FIXME: Setting linknames here is a bad hack.
9182 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9183 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9184 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9186 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9188 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9190 # The linker will not automatically build a static lib if we build a DLL.
9191 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9192 enable_shared_with_static_runtimes=yes
9193 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9195 old_postinstall_cmds='chmod 644 $oldlib'
9196 postlink_cmds='lt_outputfile="@OUTPUT@"~
9197 lt_tool_outputfile="@TOOL_OUTPUT@"~
9198 case $lt_outputfile in
9201 lt_outputfile="$lt_outputfile.exe"
9202 lt_tool_outputfile="$lt_tool_outputfile.exe"
9205 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9206 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9207 $RM "$lt_outputfile.manifest";
9211 # Assume MSVC wrapper
9212 hardcode_libdir_flag_spec=' '
9213 allow_undefined_flag=unsupported
9214 # Tell ltmain to make .lib files, not .a files.
9216 # Tell ltmain to make .dll files, not .so files.
9218 # FIXME: Setting linknames here is a bad hack.
9219 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9220 # The linker will automatically build a .lib file if we build a DLL.
9221 old_archive_from_new_cmds='true'
9222 # FIXME: Should let the user specify the lib program.
9223 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9224 enable_shared_with_static_runtimes=yes
9229 darwin* | rhapsody*)
9232 archive_cmds_need_lc=no
9234 hardcode_automatic=yes
9235 hardcode_shlibpath_var=unsupported
9236 if test "$lt_cv_ld_force_load" = "yes"; then
9237 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\"`'
9239 whole_archive_flag_spec=''
9241 link_all_deplibs=yes
9242 allow_undefined_flag="$_lt_dar_allow_undefined"
9243 case $cc_basename in
9244 ifort*) _lt_dar_can_shared=yes ;;
9245 *) _lt_dar_can_shared=$GCC ;;
9247 if test "$_lt_dar_can_shared" = "yes"; then
9248 output_verbose_link_cmd=func_echo_all
9249 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9250 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9251 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}"
9252 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}"
9261 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262 hardcode_libdir_flag_spec='-L$libdir'
9263 hardcode_shlibpath_var=no
9270 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9271 # support. Future versions do this automatically, but an explicit c++rt0.o
9272 # does not break anything, and helps significantly (at the cost of a little
9275 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9276 hardcode_libdir_flag_spec='-R$libdir'
9278 hardcode_shlibpath_var=no
9281 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9283 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9285 hardcode_minus_L=yes
9286 hardcode_shlibpath_var=no
9289 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9290 freebsd* | dragonfly*)
9291 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9292 hardcode_libdir_flag_spec='-R$libdir'
9294 hardcode_shlibpath_var=no
9298 if test "$GCC" = yes; then
9299 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'
9301 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'
9303 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9304 hardcode_libdir_separator=:
9307 # hardcode_minus_L: Not really in the search PATH,
9308 # but as the default location of the library.
9309 hardcode_minus_L=yes
9310 export_dynamic_flag_spec='${wl}-E'
9314 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9315 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9319 if test "$with_gnu_ld" = no; then
9320 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9321 hardcode_libdir_flag_spec_ld='+b $libdir'
9322 hardcode_libdir_separator=:
9324 hardcode_direct_absolute=yes
9325 export_dynamic_flag_spec='${wl}-E'
9326 # hardcode_minus_L: Not really in the search PATH,
9327 # but as the default location of the library.
9328 hardcode_minus_L=yes
9333 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9336 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9339 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9342 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9355 # Older versions of the 11.00 compiler do not understand -b yet
9356 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9358 $as_echo_n "checking if $CC understands -b... " >&6; }
9359 if ${lt_cv_prog_compiler__b+:} false; then :
9360 $as_echo_n "(cached) " >&6
9362 lt_cv_prog_compiler__b=no
9363 save_LDFLAGS="$LDFLAGS"
9364 LDFLAGS="$LDFLAGS -b"
9365 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9366 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9367 # The linker can only warn and ignore the option if not recognized
9368 # So say no if there are warnings
9369 if test -s conftest.err; then
9370 # Append any errors to the config.log.
9371 cat conftest.err 1>&5
9372 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9373 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9374 if diff conftest.exp conftest.er2 >/dev/null; then
9375 lt_cv_prog_compiler__b=yes
9378 lt_cv_prog_compiler__b=yes
9382 LDFLAGS="$save_LDFLAGS"
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9386 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9388 if test x"$lt_cv_prog_compiler__b" = xyes; then
9389 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9391 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9397 if test "$with_gnu_ld" = no; then
9398 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9399 hardcode_libdir_separator=:
9404 hardcode_shlibpath_var=no
9408 hardcode_direct_absolute=yes
9409 export_dynamic_flag_spec='${wl}-E'
9411 # hardcode_minus_L: Not really in the search PATH,
9412 # but as the default location of the library.
9413 hardcode_minus_L=yes
9419 irix5* | irix6* | nonstopux*)
9420 if test "$GCC" = yes; then
9421 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'
9422 # Try to use the -exported_symbol ld option, if it does not
9423 # work, assume that -exports_file does not work either and
9424 # implicitly export all symbols.
9425 # This should be the same for all languages, so no per-tag cache variable.
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9427 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9428 if ${lt_cv_irix_exported_symbol+:} false; then :
9429 $as_echo_n "(cached) " >&6
9431 save_LDFLAGS="$LDFLAGS"
9432 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9435 int foo (void) { return 0; }
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 lt_cv_irix_exported_symbol=yes
9440 lt_cv_irix_exported_symbol=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 LDFLAGS="$save_LDFLAGS"
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9447 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9448 if test "$lt_cv_irix_exported_symbol" = yes; then
9449 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'
9452 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'
9453 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'
9455 archive_cmds_need_lc='no'
9456 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9457 hardcode_libdir_separator=:
9459 link_all_deplibs=yes
9463 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9464 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9466 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9468 hardcode_libdir_flag_spec='-R$libdir'
9470 hardcode_shlibpath_var=no
9474 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9476 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9477 hardcode_libdir_separator=:
9478 hardcode_shlibpath_var=no
9485 if test -f /usr/libexec/ld.so; then
9487 hardcode_shlibpath_var=no
9488 hardcode_direct_absolute=yes
9489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9490 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9491 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9492 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9493 export_dynamic_flag_spec='${wl}-E'
9496 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9497 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9498 hardcode_libdir_flag_spec='-R$libdir'
9501 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9502 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_minus_L=yes
9514 allow_undefined_flag=unsupported
9515 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'
9516 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9520 if test "$GCC" = yes; then
9521 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9522 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'
9524 allow_undefined_flag=' -expect_unresolved \*'
9525 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'
9527 archive_cmds_need_lc='no'
9528 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9529 hardcode_libdir_separator=:
9532 osf4* | osf5*) # as osf3* with the addition of -msym flag
9533 if test "$GCC" = yes; then
9534 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9535 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'
9536 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9538 allow_undefined_flag=' -expect_unresolved \*'
9539 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'
9540 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~
9541 $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'
9543 # Both c and cxx compiler support -rpath directly
9544 hardcode_libdir_flag_spec='-rpath $libdir'
9546 archive_cmds_need_lc='no'
9547 hardcode_libdir_separator=:
9551 no_undefined_flag=' -z defs'
9552 if test "$GCC" = yes; then
9554 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9556 $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'
9558 case `$CC -V 2>&1` in
9561 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9562 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9567 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9568 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9569 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9573 hardcode_libdir_flag_spec='-R$libdir'
9574 hardcode_shlibpath_var=no
9576 solaris2.[0-5] | solaris2.[0-5].*) ;;
9578 # The compiler driver will combine and reorder linker options,
9579 # but understands `-z linker_flag'. GCC discards it without `$wl',
9580 # but is careful enough not to reorder.
9581 # Supported since Solaris 2.6 (maybe 2.5.1?)
9582 if test "$GCC" = yes; then
9583 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9585 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9589 link_all_deplibs=yes
9593 if test "x$host_vendor" = xsequent; then
9594 # Use $CC to link under sequent, because it throws in some extra .o
9595 # files that make .init and .fini sections work.
9596 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9600 hardcode_libdir_flag_spec='-L$libdir'
9602 hardcode_minus_L=yes
9603 hardcode_shlibpath_var=no
9607 case $host_vendor in
9609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9610 hardcode_direct=yes # is this really true???
9613 ## LD is ld it makes a PLAMLIB
9614 ## CC just makes a GrossModule.
9615 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9616 reload_cmds='$CC -r -o $output$reload_objs'
9620 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9621 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9624 runpath_var='LD_RUN_PATH'
9625 hardcode_shlibpath_var=no
9629 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9630 hardcode_shlibpath_var=no
9631 export_dynamic_flag_spec='-Bexport'
9635 if test -d /usr/nec; then
9636 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637 hardcode_shlibpath_var=no
9638 runpath_var=LD_RUN_PATH
9639 hardcode_runpath_var=yes
9644 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9645 no_undefined_flag='${wl}-z,text'
9646 archive_cmds_need_lc=no
9647 hardcode_shlibpath_var=no
9648 runpath_var='LD_RUN_PATH'
9650 if test "$GCC" = yes; then
9651 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9652 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9655 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659 sysv5* | sco3.2v5* | sco5v6*)
9660 # Note: We can NOT use -z defs as we might desire, because we do not
9661 # link with -lc, and that would cause any symbols used from libc to
9662 # always be unresolved, which means just about no library would
9663 # ever link correctly. If we're not using GNU ld we use -z text
9664 # though, which does catch some bad symbols but isn't as heavy-handed
9666 no_undefined_flag='${wl}-z,text'
9667 allow_undefined_flag='${wl}-z,nodefs'
9668 archive_cmds_need_lc=no
9669 hardcode_shlibpath_var=no
9670 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9671 hardcode_libdir_separator=':'
9672 link_all_deplibs=yes
9673 export_dynamic_flag_spec='${wl}-Bexport'
9674 runpath_var='LD_RUN_PATH'
9676 if test "$GCC" = yes; then
9677 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9678 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9680 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_libdir_flag_spec='-L$libdir'
9688 hardcode_shlibpath_var=no
9696 if test x$host_vendor = xsni; then
9698 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9699 export_dynamic_flag_spec='${wl}-Blargedynsym'
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9706 $as_echo "$ld_shlibs" >&6; }
9707 test "$ld_shlibs" = no && can_build_shared=no
9709 with_gnu_ld=$with_gnu_ld
9726 # Do we need to explicitly link libc?
9728 case "x$archive_cmds_need_lc" in
9730 # Assume -lc should be added
9731 archive_cmds_need_lc=yes
9733 if test "$enable_shared" = yes && test "$GCC" = yes; then
9734 case $archive_cmds in
9736 # FIXME: we may have to deal with multi-command sequences.
9739 # Test whether the compiler implicitly links with -lc since on some
9740 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9741 # to ld, don't add -lc before -lgcc.
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9743 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9744 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9745 $as_echo_n "(cached) " >&6
9748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9751 (eval $ac_compile) 2>&5
9753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9754 test $ac_status = 0; } 2>conftest.err; then
9757 libobjs=conftest.$ac_objext
9759 wl=$lt_prog_compiler_wl
9760 pic_flag=$lt_prog_compiler_pic
9766 lt_save_allow_undefined_flag=$allow_undefined_flag
9767 allow_undefined_flag=
9768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9769 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9772 test $ac_status = 0; }
9774 lt_cv_archive_cmds_need_lc=no
9776 lt_cv_archive_cmds_need_lc=yes
9778 allow_undefined_flag=$lt_save_allow_undefined_flag
9780 cat conftest.err 1>&5
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9786 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9787 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9951 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9953 if test "$GCC" = yes; then
9955 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9956 *) lt_awk_arg="/^libraries:/" ;;
9959 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9960 *) lt_sed_strip_eq="s,=/,/,g" ;;
9962 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9963 case $lt_search_path_spec in
9965 # if the path contains ";" then we assume it to be the separator
9966 # otherwise default to the standard path separator (i.e. ":") - it is
9967 # assumed that no part of a normal pathname contains ";" but that should
9968 # okay in the real world where ";" in dirpaths is itself problematic.
9969 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9972 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9975 # Ok, now we have the path, separated by spaces, we can step through it
9976 # and add multilib dir if necessary.
9977 lt_tmp_lt_search_path_spec=
9978 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9979 for lt_sys_path in $lt_search_path_spec; do
9980 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9981 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9983 test -d "$lt_sys_path" && \
9984 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9987 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9988 BEGIN {RS=" "; FS="/|\n";} {
9991 for (lt_i = NF; lt_i > 0; lt_i--) {
9992 if ($lt_i != "" && $lt_i != ".") {
9993 if ($lt_i == "..") {
9996 if (lt_count == 0) {
9997 lt_foo="/" $lt_i lt_foo;
10004 if (lt_foo != "") { lt_freq[lt_foo]++; }
10005 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10007 # AWK program above erroneously prepends '/' to C:/dos/paths
10010 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10011 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10013 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10015 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10017 library_names_spec=
10018 libname_spec='lib$name'
10022 postuninstall_cmds=
10026 shlibpath_overrides_runpath=unknown
10028 dynamic_linker="$host_os ld.so"
10029 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10030 need_lib_prefix=unknown
10031 hardcode_into_libs=no
10033 # when you set need_version to no, make sure it does not cause -set_version
10034 # flags to be left without arguments
10035 need_version=unknown
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10041 shlibpath_var=LIBPATH
10043 # AIX 3 has no versioning support, so we append a major version to the name.
10044 soname_spec='${libname}${release}${shared_ext}$major'
10051 hardcode_into_libs=yes
10052 if test "$host_cpu" = ia64; then
10053 # AIX 5 supports IA64
10054 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10055 shlibpath_var=LD_LIBRARY_PATH
10057 # With GCC up to 2.95.x, collect2 would create an import file
10058 # for dependence libraries. The import file would start with
10059 # the line `#! .'. This would cause the generated library to
10060 # depend on `.', always an invalid library. This was fixed in
10061 # development snapshots of GCC prior to 3.0.
10063 aix4 | aix4.[01] | aix4.[01].*)
10064 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10066 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10069 can_build_shared=no
10073 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10074 # soname into executable. Probably we can add versioning support to
10075 # collect2, so additional links can be useful in future.
10076 if test "$aix_use_runtimelinking" = yes; then
10077 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10078 # instead of lib<name>.a to let people know that these are not
10079 # typical AIX shared libraries.
10080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10082 # We preserve .a as extension for shared libraries through AIX4.2
10083 # and later when we are not doing run time linking.
10084 library_names_spec='${libname}${release}.a $libname.a'
10085 soname_spec='${libname}${release}${shared_ext}$major'
10087 shlibpath_var=LIBPATH
10094 # Since July 2007 AmigaOS4 officially supports .so libraries.
10095 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099 library_names_spec='$libname.ixlibrary $libname.a'
10100 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10101 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'
10107 library_names_spec='${libname}${shared_ext}'
10108 dynamic_linker="$host_os ld.so"
10109 shlibpath_var=LIBRARY_PATH
10115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10116 soname_spec='${libname}${release}${shared_ext}$major'
10117 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10118 shlibpath_var=LD_LIBRARY_PATH
10119 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10120 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10121 # the default ld.so.conf also contains /usr/contrib/lib and
10122 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10123 # libtool to hard-code these into programs
10126 cygwin* | mingw* | pw32* | cegcc*)
10127 version_type=windows
10132 case $GCC,$cc_basename in
10135 library_names_spec='$libname.dll.a'
10136 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10137 postinstall_cmds='base_file=`basename \${file}`~
10138 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10139 dldir=$destdir/`dirname \$dlpath`~
10140 test -d \$dldir || mkdir -p \$dldir~
10141 $install_prog $dir/$dlname \$dldir/$dlname~
10142 chmod a+x \$dldir/$dlname~
10143 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10144 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10146 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10147 dlpath=$dir/\$dldll~
10149 shlibpath_overrides_runpath=yes
10153 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10154 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10156 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10159 # MinGW DLLs use traditional 'lib' prefix
10160 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163 # pw32 DLLs use 'pw' prefix rather than 'lib'
10164 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10167 dynamic_linker='Win32 ld.exe'
10172 libname_spec='$name'
10173 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10174 library_names_spec='${libname}.dll.lib'
10178 sys_lib_search_path_spec=
10181 for lt_path in $LIB
10184 # Let DOS variable expansion print the short 8.3 style file name.
10185 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10186 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10189 # Convert to MSYS style.
10190 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10193 # Convert to unix form, then to dos form, then back to unix form
10194 # but this time dos style (no spaces!) so that the unix form looks
10195 # like /cygdrive/c/PROGRA~1:/cygdr...
10196 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10197 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10198 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10201 sys_lib_search_path_spec="$LIB"
10202 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10203 # It is most probably a Windows format PATH.
10204 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10206 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10208 # FIXME: find the short name or the path components, as spaces are
10209 # common. (e.g. "Program Files" -> "PROGRA~1")
10213 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10214 postinstall_cmds='base_file=`basename \${file}`~
10215 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10216 dldir=$destdir/`dirname \$dlpath`~
10217 test -d \$dldir || mkdir -p \$dldir~
10218 $install_prog $dir/$dlname \$dldir/$dlname'
10219 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10220 dlpath=$dir/\$dldll~
10222 shlibpath_overrides_runpath=yes
10223 dynamic_linker='Win32 link.exe'
10227 # Assume MSVC wrapper
10228 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10229 dynamic_linker='Win32 ld.exe'
10232 # FIXME: first we should search . and the directory the executable is in
10236 darwin* | rhapsody*)
10237 dynamic_linker="$host_os dyld"
10238 version_type=darwin
10241 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10242 soname_spec='${libname}${release}${major}$shared_ext'
10243 shlibpath_overrides_runpath=yes
10244 shlibpath_var=DYLD_LIBRARY_PATH
10245 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10247 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10248 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10256 soname_spec='${libname}${release}${shared_ext}$major'
10257 shlibpath_var=LD_LIBRARY_PATH
10264 freebsd* | dragonfly*)
10265 # DragonFly does not have aout. When/if they implement a new
10266 # versioning mechanism, adjust this.
10267 if test -x /usr/bin/objformat; then
10268 objformat=`/usr/bin/objformat`
10271 freebsd[123]*) objformat=aout ;;
10272 *) objformat=elf ;;
10275 version_type=freebsd-$objformat
10276 case $version_type in
10278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10283 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10287 shlibpath_var=LD_LIBRARY_PATH
10290 shlibpath_overrides_runpath=yes
10292 freebsd3.[01]* | freebsdelf3.[01]*)
10293 shlibpath_overrides_runpath=yes
10294 hardcode_into_libs=yes
10296 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10297 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10298 shlibpath_overrides_runpath=no
10299 hardcode_into_libs=yes
10301 *) # from 4.6 on, and DragonFly
10302 shlibpath_overrides_runpath=yes
10303 hardcode_into_libs=yes
10312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10313 soname_spec='${libname}${release}${shared_ext}$major'
10314 shlibpath_var=LD_LIBRARY_PATH
10315 hardcode_into_libs=yes
10322 dynamic_linker="$host_os runtime_loader"
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10324 soname_spec='${libname}${release}${shared_ext}$major'
10325 shlibpath_var=LIBRARY_PATH
10326 shlibpath_overrides_runpath=yes
10327 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10328 hardcode_into_libs=yes
10331 hpux9* | hpux10* | hpux11*)
10332 # Give a soname corresponding to the major version so that dld.sl refuses to
10333 # link against other versions.
10340 hardcode_into_libs=yes
10341 dynamic_linker="$host_os dld.so"
10342 shlibpath_var=LD_LIBRARY_PATH
10343 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 if test "X$HPUX_IA64_MODE" = X32; then
10347 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10349 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10351 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10355 hardcode_into_libs=yes
10356 dynamic_linker="$host_os dld.sl"
10357 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10358 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360 soname_spec='${libname}${release}${shared_ext}$major'
10361 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10362 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10366 dynamic_linker="$host_os dld.sl"
10367 shlibpath_var=SHLIB_PATH
10368 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec='${libname}${release}${shared_ext}$major'
10373 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10374 postinstall_cmds='chmod 555 $lib'
10375 # or fails outright, so override atomically:
10376 install_override_mode=555
10383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10384 soname_spec='${libname}${release}${shared_ext}$major'
10385 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10386 shlibpath_var=LD_LIBRARY_PATH
10387 shlibpath_overrides_runpath=no
10388 hardcode_into_libs=yes
10391 irix5* | irix6* | nonstopux*)
10393 nonstopux*) version_type=nonstopux ;;
10395 if test "$lt_cv_prog_gnu_ld" = yes; then
10403 soname_spec='${libname}${release}${shared_ext}$major'
10404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10406 irix5* | nonstopux*)
10407 libsuff= shlibsuff=
10410 case $LD in # libtool.m4 will add one of these switches to LD
10411 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10412 libsuff= shlibsuff= libmagic=32-bit;;
10413 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10414 libsuff=32 shlibsuff=N32 libmagic=N32;;
10415 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10416 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10417 *) libsuff= shlibsuff= libmagic=never-match;;
10421 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10422 shlibpath_overrides_runpath=no
10423 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10424 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10425 hardcode_into_libs=yes
10428 # No shared lib support for Linux oldld, aout, or coff.
10429 linux*oldld* | linux*aout* | linux*coff*)
10433 # This must be Linux ELF.
10434 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10439 soname_spec='${libname}${release}${shared_ext}$major'
10440 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10441 shlibpath_var=LD_LIBRARY_PATH
10442 shlibpath_overrides_runpath=no
10444 # Some binutils ld are patched to set DT_RUNPATH
10445 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10446 $as_echo_n "(cached) " >&6
10448 lt_cv_shlibpath_overrides_runpath=no
10449 save_LDFLAGS=$LDFLAGS
10450 save_libdir=$libdir
10451 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10452 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10464 if ac_fn_c_try_link "$LINENO"; then :
10465 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10466 lt_cv_shlibpath_overrides_runpath=yes
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LDFLAGS=$save_LDFLAGS
10472 libdir=$save_libdir
10476 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10478 # This implies no fast_install, which is unacceptable.
10479 # Some rework will be needed to allow for fast_install
10480 # before this can be enabled.
10481 hardcode_into_libs=yes
10483 # Append ld.so.conf contents to the search path
10484 if test -f /etc/ld.so.conf; then
10485 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' ' '`
10486 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10489 # We used to test for /lib/ld.so.1 and disable shared libraries on
10490 # powerpc, because MkLinux only supported shared libraries with the
10491 # GNU dynamic linker. Since this was broken with cross compilers,
10492 # most powerpc-linux boxes support dynamic linking these days and
10493 # people can always --disable-shared, the test was removed, and we
10494 # assume the GNU/Linux dynamic linker is in use.
10495 dynamic_linker='GNU/Linux ld.so'
10502 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10504 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10505 dynamic_linker='NetBSD (a.out) ld.so'
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10508 soname_spec='${libname}${release}${shared_ext}$major'
10509 dynamic_linker='NetBSD ld.elf_so'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 shlibpath_overrides_runpath=yes
10513 hardcode_into_libs=yes
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 shlibpath_var=LD_LIBRARY_PATH
10520 shlibpath_overrides_runpath=yes
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec='${libname}${release}${shared_ext}$major'
10529 shlibpath_var=LD_LIBRARY_PATH
10530 shlibpath_overrides_runpath=no
10531 hardcode_into_libs=yes
10532 dynamic_linker='ldqnx.so'
10537 sys_lib_dlsearch_path_spec="/usr/lib"
10539 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10541 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10542 *) need_version=no ;;
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10545 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10546 shlibpath_var=LD_LIBRARY_PATH
10547 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10549 openbsd2.[89] | openbsd2.[89].*)
10550 shlibpath_overrides_runpath=no
10553 shlibpath_overrides_runpath=yes
10557 shlibpath_overrides_runpath=yes
10562 libname_spec='$name'
10565 library_names_spec='$libname${shared_ext} $libname.a'
10566 dynamic_linker='OS/2 ld.exe'
10567 shlibpath_var=LIBPATH
10570 osf3* | osf4* | osf5*)
10574 soname_spec='${libname}${release}${shared_ext}$major'
10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10578 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590 soname_spec='${libname}${release}${shared_ext}$major'
10591 shlibpath_var=LD_LIBRARY_PATH
10592 shlibpath_overrides_runpath=yes
10593 hardcode_into_libs=yes
10594 # ldd complains unless libraries are executable
10595 postinstall_cmds='chmod +x $lib'
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10601 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10602 shlibpath_var=LD_LIBRARY_PATH
10603 shlibpath_overrides_runpath=yes
10604 if test "$with_gnu_ld" = yes; then
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 soname_spec='${libname}${release}${shared_ext}$major'
10614 shlibpath_var=LD_LIBRARY_PATH
10615 case $host_vendor in
10617 shlibpath_overrides_runpath=no
10619 runpath_var=LD_RUN_PATH
10627 shlibpath_overrides_runpath=no
10628 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10634 if test -d /usr/nec ;then
10636 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10637 soname_spec='$libname${shared_ext}.$major'
10638 shlibpath_var=LD_LIBRARY_PATH
10642 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10643 version_type=freebsd-elf
10646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10647 soname_spec='${libname}${release}${shared_ext}$major'
10648 shlibpath_var=LD_LIBRARY_PATH
10649 shlibpath_overrides_runpath=yes
10650 hardcode_into_libs=yes
10651 if test "$with_gnu_ld" = yes; then
10652 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10654 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10657 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10661 sys_lib_dlsearch_path_spec='/usr/lib'
10665 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10670 shlibpath_var=LD_LIBRARY_PATH
10671 shlibpath_overrides_runpath=no
10672 hardcode_into_libs=yes
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678 soname_spec='${libname}${release}${shared_ext}$major'
10679 shlibpath_var=LD_LIBRARY_PATH
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10687 $as_echo "$dynamic_linker" >&6; }
10688 test "$dynamic_linker" = no && can_build_shared=no
10690 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10691 if test "$GCC" = yes; then
10692 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10695 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10696 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10698 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10699 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10794 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10796 if test -n "$hardcode_libdir_flag_spec" ||
10797 test -n "$runpath_var" ||
10798 test "X$hardcode_automatic" = "Xyes" ; then
10800 # We can hardcode non-existent directories.
10801 if test "$hardcode_direct" != no &&
10802 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10803 # have to relink, otherwise we might link with an installed library
10804 # when we should be linking with a yet-to-be-installed one
10805 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10806 test "$hardcode_minus_L" != no; then
10807 # Linking always hardcodes the temporary library directory.
10808 hardcode_action=relink
10810 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10811 hardcode_action=immediate
10814 # We cannot hardcode anything, or else we can only hardcode existing
10816 hardcode_action=unsupported
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10819 $as_echo "$hardcode_action" >&6; }
10821 if test "$hardcode_action" = relink ||
10822 test "$inherit_rpath" = yes; then
10823 # Fast installation is not supported
10824 enable_fast_install=no
10825 elif test "$shlibpath_overrides_runpath" = yes ||
10826 test "$enable_shared" = no; then
10827 # Fast installation is not necessary
10828 enable_fast_install=needless
10836 if test "x$enable_dlopen" != xyes; then
10837 enable_dlopen=unknown
10838 enable_dlopen_self=unknown
10839 enable_dlopen_self_static=unknown
10846 lt_cv_dlopen="load_add_on"
10848 lt_cv_dlopen_self=yes
10851 mingw* | pw32* | cegcc*)
10852 lt_cv_dlopen="LoadLibrary"
10857 lt_cv_dlopen="dlopen"
10862 # if libdl is installed we need to link against it
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10864 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10865 if ${ac_cv_lib_dl_dlopen+:} false; then :
10866 $as_echo_n "(cached) " >&6
10868 ac_check_lib_save_LIBS=$LIBS
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10873 /* Override any GCC internal prototype to avoid an error.
10874 Use char because int might match the return type of a GCC
10875 builtin and then its argument prototype would still apply. */
10888 if ac_fn_c_try_link "$LINENO"; then :
10889 ac_cv_lib_dl_dlopen=yes
10891 ac_cv_lib_dl_dlopen=no
10893 rm -f core conftest.err conftest.$ac_objext \
10894 conftest$ac_exeext conftest.$ac_ext
10895 LIBS=$ac_check_lib_save_LIBS
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10898 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10899 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10900 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10903 lt_cv_dlopen="dyld"
10905 lt_cv_dlopen_self=yes
10912 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10913 if test "x$ac_cv_func_shl_load" = xyes; then :
10914 lt_cv_dlopen="shl_load"
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10917 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10918 if ${ac_cv_lib_dld_shl_load+:} false; then :
10919 $as_echo_n "(cached) " >&6
10921 ac_check_lib_save_LIBS=$LIBS
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10936 return shl_load ();
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 ac_cv_lib_dld_shl_load=yes
10944 ac_cv_lib_dld_shl_load=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10951 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10952 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10953 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10955 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10956 if test "x$ac_cv_func_dlopen" = xyes; then :
10957 lt_cv_dlopen="dlopen"
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10960 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10961 if ${ac_cv_lib_dl_dlopen+:} false; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_lib_save_LIBS=$LIBS
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 ac_cv_lib_dl_dlopen=yes
10987 ac_cv_lib_dl_dlopen=no
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10994 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10995 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10996 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10999 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11000 if ${ac_cv_lib_svld_dlopen+:} false; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-lsvld $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_svld_dlopen=yes
11026 ac_cv_lib_svld_dlopen=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11033 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11034 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11035 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11038 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11039 if ${ac_cv_lib_dld_dld_link+:} false; then :
11040 $as_echo_n "(cached) " >&6
11042 ac_check_lib_save_LIBS=$LIBS
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11057 return dld_link ();
11062 if ac_fn_c_try_link "$LINENO"; then :
11063 ac_cv_lib_dld_dld_link=yes
11065 ac_cv_lib_dld_dld_link=no
11067 rm -f core conftest.err conftest.$ac_objext \
11068 conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11072 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11073 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11074 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11095 if test "x$lt_cv_dlopen" != xno; then
11101 case $lt_cv_dlopen in
11103 save_CPPFLAGS="$CPPFLAGS"
11104 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11106 save_LDFLAGS="$LDFLAGS"
11107 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11110 LIBS="$lt_cv_dlopen_libs $LIBS"
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11113 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11114 if ${lt_cv_dlopen_self+:} false; then :
11115 $as_echo_n "(cached) " >&6
11117 if test "$cross_compiling" = yes; then :
11118 lt_cv_dlopen_self=cross
11120 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11121 lt_status=$lt_dlunknown
11122 cat > conftest.$ac_ext <<_LT_EOF
11123 #line $LINENO "configure"
11124 #include "confdefs.h"
11133 # define LT_DLGLOBAL RTLD_GLOBAL
11136 # define LT_DLGLOBAL DL_GLOBAL
11138 # define LT_DLGLOBAL 0
11142 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11143 find out it does not work in some platform. */
11144 #ifndef LT_DLLAZY_OR_NOW
11146 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11149 # define LT_DLLAZY_OR_NOW DL_LAZY
11152 # define LT_DLLAZY_OR_NOW RTLD_NOW
11155 # define LT_DLLAZY_OR_NOW DL_NOW
11157 # define LT_DLLAZY_OR_NOW 0
11164 /* When -fvisbility=hidden is used, assume the code has been annotated
11165 correspondingly for the symbols needed. */
11166 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11167 int fnord () __attribute__((visibility("default")));
11170 int fnord () { return 42; }
11173 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11174 int status = $lt_dlunknown;
11178 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11181 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11182 else puts (dlerror ());
11184 /* dlclose (self); */
11192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11193 (eval $ac_link) 2>&5
11195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11196 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11197 (./conftest; exit; ) >&5 2>/dev/null
11199 case x$lt_status in
11200 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11201 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11202 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11205 # compilation failed
11206 lt_cv_dlopen_self=no
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11214 $as_echo "$lt_cv_dlopen_self" >&6; }
11216 if test "x$lt_cv_dlopen_self" = xyes; then
11217 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11219 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11220 if ${lt_cv_dlopen_self_static+:} false; then :
11221 $as_echo_n "(cached) " >&6
11223 if test "$cross_compiling" = yes; then :
11224 lt_cv_dlopen_self_static=cross
11226 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11227 lt_status=$lt_dlunknown
11228 cat > conftest.$ac_ext <<_LT_EOF
11229 #line $LINENO "configure"
11230 #include "confdefs.h"
11239 # define LT_DLGLOBAL RTLD_GLOBAL
11242 # define LT_DLGLOBAL DL_GLOBAL
11244 # define LT_DLGLOBAL 0
11248 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11249 find out it does not work in some platform. */
11250 #ifndef LT_DLLAZY_OR_NOW
11252 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11255 # define LT_DLLAZY_OR_NOW DL_LAZY
11258 # define LT_DLLAZY_OR_NOW RTLD_NOW
11261 # define LT_DLLAZY_OR_NOW DL_NOW
11263 # define LT_DLLAZY_OR_NOW 0
11270 /* When -fvisbility=hidden is used, assume the code has been annotated
11271 correspondingly for the symbols needed. */
11272 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11273 int fnord () __attribute__((visibility("default")));
11276 int fnord () { return 42; }
11279 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11280 int status = $lt_dlunknown;
11284 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11287 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11288 else puts (dlerror ());
11290 /* dlclose (self); */
11298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11299 (eval $ac_link) 2>&5
11301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11302 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11303 (./conftest; exit; ) >&5 2>/dev/null
11305 case x$lt_status in
11306 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11307 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11308 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11311 # compilation failed
11312 lt_cv_dlopen_self_static=no
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11320 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11323 CPPFLAGS="$save_CPPFLAGS"
11324 LDFLAGS="$save_LDFLAGS"
11329 case $lt_cv_dlopen_self in
11330 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11331 *) enable_dlopen_self=unknown ;;
11334 case $lt_cv_dlopen_self_static in
11335 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11336 *) enable_dlopen_self_static=unknown ;;
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11359 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11360 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11361 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11362 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11364 $as_echo "yes" >&6; }
11366 # FIXME - insert some real tests, host_os isn't really good enough
11369 if test -n "$STRIP" ; then
11370 striplib="$STRIP -x"
11371 old_striplib="$STRIP -S"
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11373 $as_echo "yes" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11376 $as_echo "no" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11381 $as_echo "no" >&6; }
11397 # Report which library types will actually be built
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11399 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11401 $as_echo "$can_build_shared" >&6; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11404 $as_echo_n "checking whether to build shared libraries... " >&6; }
11405 test "$can_build_shared" = "no" && enable_shared=no
11407 # On AIX, shared libraries and static libraries use the same namespace, and
11408 # are all built from PIC.
11411 test "$enable_shared" = yes && enable_static=no
11412 if test -n "$RANLIB"; then
11413 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11414 postinstall_cmds='$RANLIB $lib'
11419 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11420 test "$enable_shared" = yes && enable_static=no
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11425 $as_echo "$enable_shared" >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11428 $as_echo_n "checking whether to build static libraries... " >&6; }
11429 # Make sure either enable_shared or enable_static is yes.
11430 test "$enable_shared" = yes || enable_static=yes
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11432 $as_echo "$enable_static" >&6; }
11439 ac_cpp='$CPP $CPPFLAGS'
11440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11458 ac_config_commands="$ac_config_commands libtool"
11463 # Only expand once:
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11469 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11470 @%:@ Check whether --enable-maintainer-mode was given.
11471 if test "${enable_maintainer_mode+set}" = set; then :
11472 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11474 USE_MAINTAINER_MODE=no
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11478 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11479 if test $USE_MAINTAINER_MODE = yes; then
11480 MAINTAINER_MODE_TRUE=
11481 MAINTAINER_MODE_FALSE='#'
11483 MAINTAINER_MODE_TRUE='#'
11484 MAINTAINER_MODE_FALSE=
11487 MAINT=$MAINTAINER_MODE_TRUE
11491 if test `expr $GLIB_MINOR_VERSION \% 2` = 1 ; then
11494 debug_default=minimum
11497 @%:@ Check whether --enable-debug was given.
11498 if test "${enable_debug+set}" = set; then :
11499 enableval=$enable_debug;
11501 enable_debug=$debug_default
11504 @%:@ Check whether --enable-mem_check was given.
11505 if test "${enable_mem_check+set}" = set; then :
11506 enableval=$enable_mem_check;
11508 enable_mem_check=no
11511 @%:@ Check whether --enable-mem_profile was given.
11512 if test "${enable_mem_profile+set}" = set; then :
11513 enableval=$enable_mem_profile;
11515 enable_mem_profile=no
11518 @%:@ Check whether --enable-ansi was given.
11519 if test "${enable_ansi+set}" = set; then :
11520 enableval=$enable_ansi;
11525 @%:@ Check whether --enable-threads was given.
11526 if test "${enable_threads+set}" = set; then :
11527 enableval=$enable_threads;
11533 if test "x$enable_threads" != "xyes"; then
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable memory checking" >&5
11540 $as_echo_n "checking whether to enable memory checking... " >&6; }
11541 if test "x$enable_mem_check" = "xyes"; then
11542 $as_echo "@%:@define ENABLE_MEM_CHECK 1" >>confdefs.h
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11546 $as_echo "yes" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable memory profiling" >&5
11554 $as_echo_n "checking whether to enable memory profiling... " >&6; }
11555 if test "x$enable_mem_profile" = "xyes"; then
11556 $as_echo "@%:@define ENABLE_MEM_PROFILE 1" >>confdefs.h
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11560 $as_echo "yes" >&6; }
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11564 $as_echo "no" >&6; }
11569 if $mem_warn ; then
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11571 **********************************************************************
11572 You have specified --enable-mem-profile or --enable-mem-check.
11573 These options are not recommended; they have not been thoroughly
11574 tested, and may cause unwanted side-effects. If --enable-mem-check is
11575 specified, NO MEMORY WILL BE FREED, EVER.
11577 References to better memory debugging tools can be found at:
11579 http://people.redhat.com/otaylor/memprof/memtools.html
11581 **********************************************************************" >&5
11582 $as_echo "$as_me: WARNING:
11583 **********************************************************************
11584 You have specified --enable-mem-profile or --enable-mem-check.
11585 These options are not recommended; they have not been thoroughly
11586 tested, and may cause unwanted side-effects. If --enable-mem-check is
11587 specified, NO MEMORY WILL BE FREED, EVER.
11589 References to better memory debugging tools can be found at:
11591 http://people.redhat.com/otaylor/memprof/memtools.html
11593 **********************************************************************" >&2;}
11596 if test "x$enable_debug" = "xyes"; then
11597 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
11598 GLIB_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
11600 if test "x$enable_debug" = "xno"; then
11601 GLIB_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
11605 cat >>confdefs.h <<_ACEOF
11606 @%:@define G_COMPILED_WITH_DEBUGGING "${enable_debug}"
11610 # Checks for programs.
11612 ac_cpp='$CPP $CPPFLAGS'
11613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11616 if test -n "$ac_tool_prefix"; then
11617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11618 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11620 $as_echo_n "checking for $ac_word... " >&6; }
11621 if ${ac_cv_prog_CC+:} false; then :
11622 $as_echo_n "(cached) " >&6
11624 if test -n "$CC"; then
11625 ac_cv_prog_CC="$CC" # Let the user override the test.
11627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11628 for as_dir in $PATH
11631 test -z "$as_dir" && as_dir=.
11632 for ac_exec_ext in '' $ac_executable_extensions; do
11633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11634 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11645 if test -n "$CC"; then
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11647 $as_echo "$CC" >&6; }
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11650 $as_echo "no" >&6; }
11655 if test -z "$ac_cv_prog_CC"; then
11657 # Extract the first word of "gcc", so it can be a program name with args.
11658 set dummy gcc; ac_word=$2
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11660 $as_echo_n "checking for $ac_word... " >&6; }
11661 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11662 $as_echo_n "(cached) " >&6
11664 if test -n "$ac_ct_CC"; then
11665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
11671 test -z "$as_dir" && as_dir=.
11672 for ac_exec_ext in '' $ac_executable_extensions; do
11673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11674 ac_cv_prog_ac_ct_CC="gcc"
11675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11685 if test -n "$ac_ct_CC"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11687 $as_echo "$ac_ct_CC" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11693 if test "x$ac_ct_CC" = x; then
11696 case $cross_compiling:$ac_tool_warned in
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11700 ac_tool_warned=yes ;;
11705 CC="$ac_cv_prog_CC"
11708 if test -z "$CC"; then
11709 if test -n "$ac_tool_prefix"; then
11710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11711 set dummy ${ac_tool_prefix}cc; ac_word=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if ${ac_cv_prog_CC+:} false; then :
11715 $as_echo_n "(cached) " >&6
11717 if test -n "$CC"; then
11718 ac_cv_prog_CC="$CC" # Let the user override the test.
11720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11721 for as_dir in $PATH
11724 test -z "$as_dir" && as_dir=.
11725 for ac_exec_ext in '' $ac_executable_extensions; do
11726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11727 ac_cv_prog_CC="${ac_tool_prefix}cc"
11728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11738 if test -n "$CC"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11740 $as_echo "$CC" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11749 if test -z "$CC"; then
11750 # Extract the first word of "cc", so it can be a program name with args.
11751 set dummy cc; ac_word=$2
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753 $as_echo_n "checking for $ac_word... " >&6; }
11754 if ${ac_cv_prog_CC+:} false; then :
11755 $as_echo_n "(cached) " >&6
11757 if test -n "$CC"; then
11758 ac_cv_prog_CC="$CC" # Let the user override the test.
11760 ac_prog_rejected=no
11761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11762 for as_dir in $PATH
11765 test -z "$as_dir" && as_dir=.
11766 for ac_exec_ext in '' $ac_executable_extensions; do
11767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11768 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11769 ac_prog_rejected=yes
11773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11780 if test $ac_prog_rejected = yes; then
11781 # We found a bogon in the path, so make sure we never use it.
11782 set dummy $ac_cv_prog_CC
11784 if test $@%:@ != 0; then
11785 # We chose a different compiler from the bogus one.
11786 # However, it has the same basename, so the bogon will be chosen
11787 # first if we set CC to just the basename; use the full file name.
11789 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11795 if test -n "$CC"; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11797 $as_echo "$CC" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11805 if test -z "$CC"; then
11806 if test -n "$ac_tool_prefix"; then
11807 for ac_prog in cl.exe
11809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11812 $as_echo_n "checking for $ac_word... " >&6; }
11813 if ${ac_cv_prog_CC+:} false; then :
11814 $as_echo_n "(cached) " >&6
11816 if test -n "$CC"; then
11817 ac_cv_prog_CC="$CC" # Let the user override the test.
11819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11820 for as_dir in $PATH
11823 test -z "$as_dir" && as_dir=.
11824 for ac_exec_ext in '' $ac_executable_extensions; do
11825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11826 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11837 if test -n "$CC"; then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11839 $as_echo "$CC" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11846 test -n "$CC" && break
11849 if test -z "$CC"; then
11851 for ac_prog in cl.exe
11853 # Extract the first word of "$ac_prog", so it can be a program name with args.
11854 set dummy $ac_prog; ac_word=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11856 $as_echo_n "checking for $ac_word... " >&6; }
11857 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11858 $as_echo_n "(cached) " >&6
11860 if test -n "$ac_ct_CC"; then
11861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11864 for as_dir in $PATH
11867 test -z "$as_dir" && as_dir=.
11868 for ac_exec_ext in '' $ac_executable_extensions; do
11869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11870 ac_cv_prog_ac_ct_CC="$ac_prog"
11871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11880 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11881 if test -n "$ac_ct_CC"; then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11883 $as_echo "$ac_ct_CC" >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11886 $as_echo "no" >&6; }
11890 test -n "$ac_ct_CC" && break
11893 if test "x$ac_ct_CC" = x; then
11896 case $cross_compiling:$ac_tool_warned in
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11900 ac_tool_warned=yes ;;
11909 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11911 as_fn_error $? "no acceptable C compiler found in \$PATH
11912 See \`config.log' for more details" "$LINENO" 5; }
11914 # Provide some information about the compiler.
11915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11918 for ac_option in --version -v -V -qversion; do
11919 { { ac_try="$ac_compiler $ac_option >&5"
11920 case "(($ac_try" in
11921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11922 *) ac_try_echo=$ac_try;;
11924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11925 $as_echo "$ac_try_echo"; } >&5
11926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11928 if test -s conftest.err; then
11930 ... rest of stderr output deleted ...
11931 10q' conftest.err >conftest.er1
11932 cat conftest.er1 >&5
11934 rm -f conftest.er1 conftest.err
11935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11936 test $ac_status = 0; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11940 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11941 if ${ac_cv_c_compiler_gnu+:} false; then :
11942 $as_echo_n "(cached) " >&6
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11958 if ac_fn_c_try_compile "$LINENO"; then :
11959 ac_compiler_gnu=yes
11963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11964 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11968 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11969 if test $ac_compiler_gnu = yes; then
11974 ac_test_CFLAGS=${CFLAGS+set}
11975 ac_save_CFLAGS=$CFLAGS
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11977 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11978 if ${ac_cv_prog_cc_g+:} false; then :
11979 $as_echo_n "(cached) " >&6
11981 ac_save_c_werror_flag=$ac_c_werror_flag
11982 ac_c_werror_flag=yes
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11996 if ac_fn_c_try_compile "$LINENO"; then :
11997 ac_cv_prog_cc_g=yes
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12011 if ac_fn_c_try_compile "$LINENO"; then :
12014 ac_c_werror_flag=$ac_save_c_werror_flag
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12027 if ac_fn_c_try_compile "$LINENO"; then :
12028 ac_cv_prog_cc_g=yes
12030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12035 ac_c_werror_flag=$ac_save_c_werror_flag
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12038 $as_echo "$ac_cv_prog_cc_g" >&6; }
12039 if test "$ac_test_CFLAGS" = set; then
12040 CFLAGS=$ac_save_CFLAGS
12041 elif test $ac_cv_prog_cc_g = yes; then
12042 if test "$GCC" = yes; then
12048 if test "$GCC" = yes; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12055 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12056 if ${ac_cv_prog_cc_c89+:} false; then :
12057 $as_echo_n "(cached) " >&6
12059 ac_cv_prog_cc_c89=no
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12063 #include <stdarg.h>
12065 #include <sys/types.h>
12066 #include <sys/stat.h>
12067 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12068 struct buf { int x; };
12069 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12070 static char *e (p, i)
12076 static char *f (char * (*g) (char **, int), char **p, ...)
12081 s = g (p, va_arg (v,int));
12086 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12087 function prototypes and stuff, but not '\xHH' hex character constants.
12088 These don't provoke an error unfortunately, instead are silently treated
12089 as 'x'. The following induces an error, until -std is added to get
12090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12091 array size at least. It's necessary to write '\x00'==0 to get something
12092 that's true only with -std. */
12093 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12095 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12096 inside strings and character constants. */
12098 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12100 int test (int i, double x);
12101 struct s1 {int (*f) (int a);};
12102 struct s2 {int (*f) (double a);};
12103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12109 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12114 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12115 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12117 CC="$ac_save_CC $ac_arg"
12118 if ac_fn_c_try_compile "$LINENO"; then :
12119 ac_cv_prog_cc_c89=$ac_arg
12121 rm -f core conftest.err conftest.$ac_objext
12122 test "x$ac_cv_prog_cc_c89" != "xno" && break
12124 rm -f conftest.$ac_ext
12129 case "x$ac_cv_prog_cc_c89" in
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12132 $as_echo "none needed" >&6; } ;;
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12135 $as_echo "unsupported" >&6; } ;;
12137 CC="$CC $ac_cv_prog_cc_c89"
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12139 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12141 if test "x$ac_cv_prog_cc_c89" != xno; then :
12146 ac_cpp='$CPP $CPPFLAGS'
12147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12151 depcc="$CC" am_compiler_list=
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12154 $as_echo_n "checking dependency style of $depcc... " >&6; }
12155 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12156 $as_echo_n "(cached) " >&6
12158 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12159 # We make a subdir and do the tests there. Otherwise we can end up
12160 # making bogus files that we don't know about and never remove. For
12161 # instance it was reported that on HP-UX the gcc test will end up
12162 # making a dummy file named `D' -- because `-MD' means `put the output
12165 # Copy depcomp to subdir because otherwise we won't find it if we're
12166 # using a relative directory.
12167 cp "$am_depcomp" conftest.dir
12169 # We will build objects and dependencies in a subdirectory because
12170 # it helps to detect inapplicable dependency modes. For instance
12171 # both Tru64's cc and ICC support -MD to output dependencies as a
12172 # side effect of compilation, but ICC will put the dependencies in
12173 # the current directory while Tru64 will put them in the object
12177 am_cv_CC_dependencies_compiler_type=none
12178 if test "$am_compiler_list" = ""; then
12179 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12181 am__universal=false
12182 case " $depcc " in #(
12183 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12186 for depmode in $am_compiler_list; do
12187 # Setup a source with many dependencies, because some compilers
12188 # like to wrap large dependency lists on column 80 (with \), and
12189 # we should not choose a depcomp mode which is confused by this.
12191 # We need to recreate these files for each test, as the compiler may
12192 # overwrite some of them when testing with obscure command lines.
12193 # This happens at least with the AIX C compiler.
12195 for i in 1 2 3 4 5 6; do
12196 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12197 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12198 # Solaris 8's {/usr,}/bin/sh.
12199 touch sub/conftst$i.h
12201 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12203 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12204 # mode. It turns out that the SunPro C++ compiler does not properly
12205 # handle `-M -o', and we need to detect this. Also, some Intel
12206 # versions had trouble with output in subdirs
12207 am__obj=sub/conftest.${OBJEXT-o}
12208 am__minus_obj="-o $am__obj"
12211 # This depmode causes a compiler race in universal mode.
12212 test "$am__universal" = false || continue
12215 # after this tag, mechanisms are not by side-effect, so they'll
12216 # only be used when explicitly requested
12217 if test "x$enable_dependency_tracking" = xyes; then
12223 msvisualcpp | msvcmsys)
12224 # This compiler won't grok `-c -o', but also, the minuso test has
12225 # not run yet. These depmodes are late enough in the game, and
12226 # so weak that their functioning should not be impacted.
12227 am__obj=conftest.${OBJEXT-o}
12232 if depmode=$depmode \
12233 source=sub/conftest.c object=$am__obj \
12234 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12235 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12236 >/dev/null 2>conftest.err &&
12237 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12238 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12239 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12240 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12241 # icc doesn't choke on unknown options, it will just issue warnings
12242 # or remarks (even with -Werror). So we grep stderr for any message
12243 # that says an option was ignored or not supported.
12244 # When given -MP, icc 7.0 and 7.1 complain thusly:
12245 # icc: Command line warning: ignoring option '-M'; no argument required
12246 # The diagnosis changed in icc 8.0:
12247 # icc: Command line remark: option '-MP' not supported
12248 if (grep 'ignoring option' conftest.err ||
12249 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12250 am_cv_CC_dependencies_compiler_type=$depmode
12257 rm -rf conftest.dir
12259 am_cv_CC_dependencies_compiler_type=none
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12264 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12265 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12268 test "x$enable_dependency_tracking" != xno \
12269 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12270 am__fastdepCC_TRUE=
12271 am__fastdepCC_FALSE='#'
12273 am__fastdepCC_TRUE='#'
12274 am__fastdepCC_FALSE=
12279 ac_cpp='$CPP $CPPFLAGS'
12280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12283 if test -n "$ac_tool_prefix"; then
12284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12287 $as_echo_n "checking for $ac_word... " >&6; }
12288 if ${ac_cv_prog_CC+:} false; then :
12289 $as_echo_n "(cached) " >&6
12291 if test -n "$CC"; then
12292 ac_cv_prog_CC="$CC" # Let the user override the test.
12294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12295 for as_dir in $PATH
12298 test -z "$as_dir" && as_dir=.
12299 for ac_exec_ext in '' $ac_executable_extensions; do
12300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12312 if test -n "$CC"; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12314 $as_echo "$CC" >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317 $as_echo "no" >&6; }
12322 if test -z "$ac_cv_prog_CC"; then
12324 # Extract the first word of "gcc", so it can be a program name with args.
12325 set dummy gcc; ac_word=$2
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12327 $as_echo_n "checking for $ac_word... " >&6; }
12328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12329 $as_echo_n "(cached) " >&6
12331 if test -n "$ac_ct_CC"; then
12332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12335 for as_dir in $PATH
12338 test -z "$as_dir" && as_dir=.
12339 for ac_exec_ext in '' $ac_executable_extensions; do
12340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12341 ac_cv_prog_ac_ct_CC="gcc"
12342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12352 if test -n "$ac_ct_CC"; then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12354 $as_echo "$ac_ct_CC" >&6; }
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357 $as_echo "no" >&6; }
12360 if test "x$ac_ct_CC" = x; then
12363 case $cross_compiling:$ac_tool_warned in
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12367 ac_tool_warned=yes ;;
12372 CC="$ac_cv_prog_CC"
12375 if test -z "$CC"; then
12376 if test -n "$ac_tool_prefix"; then
12377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12378 set dummy ${ac_tool_prefix}cc; ac_word=$2
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12380 $as_echo_n "checking for $ac_word... " >&6; }
12381 if ${ac_cv_prog_CC+:} false; then :
12382 $as_echo_n "(cached) " >&6
12384 if test -n "$CC"; then
12385 ac_cv_prog_CC="$CC" # Let the user override the test.
12387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12388 for as_dir in $PATH
12391 test -z "$as_dir" && as_dir=.
12392 for ac_exec_ext in '' $ac_executable_extensions; do
12393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12394 ac_cv_prog_CC="${ac_tool_prefix}cc"
12395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12405 if test -n "$CC"; then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12407 $as_echo "$CC" >&6; }
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12410 $as_echo "no" >&6; }
12416 if test -z "$CC"; then
12417 # Extract the first word of "cc", so it can be a program name with args.
12418 set dummy cc; ac_word=$2
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12420 $as_echo_n "checking for $ac_word... " >&6; }
12421 if ${ac_cv_prog_CC+:} false; then :
12422 $as_echo_n "(cached) " >&6
12424 if test -n "$CC"; then
12425 ac_cv_prog_CC="$CC" # Let the user override the test.
12427 ac_prog_rejected=no
12428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12429 for as_dir in $PATH
12432 test -z "$as_dir" && as_dir=.
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12436 ac_prog_rejected=yes
12440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12447 if test $ac_prog_rejected = yes; then
12448 # We found a bogon in the path, so make sure we never use it.
12449 set dummy $ac_cv_prog_CC
12451 if test $@%:@ != 0; then
12452 # We chose a different compiler from the bogus one.
12453 # However, it has the same basename, so the bogon will be chosen
12454 # first if we set CC to just the basename; use the full file name.
12456 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12462 if test -n "$CC"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12464 $as_echo "$CC" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12472 if test -z "$CC"; then
12473 if test -n "$ac_tool_prefix"; then
12474 for ac_prog in cl.exe
12476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12479 $as_echo_n "checking for $ac_word... " >&6; }
12480 if ${ac_cv_prog_CC+:} false; then :
12481 $as_echo_n "(cached) " >&6
12483 if test -n "$CC"; then
12484 ac_cv_prog_CC="$CC" # Let the user override the test.
12486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12487 for as_dir in $PATH
12490 test -z "$as_dir" && as_dir=.
12491 for ac_exec_ext in '' $ac_executable_extensions; do
12492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12493 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12504 if test -n "$CC"; then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12506 $as_echo "$CC" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12509 $as_echo "no" >&6; }
12513 test -n "$CC" && break
12516 if test -z "$CC"; then
12518 for ac_prog in cl.exe
12520 # Extract the first word of "$ac_prog", so it can be a program name with args.
12521 set dummy $ac_prog; ac_word=$2
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12523 $as_echo_n "checking for $ac_word... " >&6; }
12524 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12525 $as_echo_n "(cached) " >&6
12527 if test -n "$ac_ct_CC"; then
12528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12531 for as_dir in $PATH
12534 test -z "$as_dir" && as_dir=.
12535 for ac_exec_ext in '' $ac_executable_extensions; do
12536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12537 ac_cv_prog_ac_ct_CC="$ac_prog"
12538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12548 if test -n "$ac_ct_CC"; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12550 $as_echo "$ac_ct_CC" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12557 test -n "$ac_ct_CC" && break
12560 if test "x$ac_ct_CC" = x; then
12563 case $cross_compiling:$ac_tool_warned in
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12567 ac_tool_warned=yes ;;
12576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12578 as_fn_error $? "no acceptable C compiler found in \$PATH
12579 See \`config.log' for more details" "$LINENO" 5; }
12581 # Provide some information about the compiler.
12582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12585 for ac_option in --version -v -V -qversion; do
12586 { { ac_try="$ac_compiler $ac_option >&5"
12587 case "(($ac_try" in
12588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589 *) ac_try_echo=$ac_try;;
12591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12592 $as_echo "$ac_try_echo"; } >&5
12593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12595 if test -s conftest.err; then
12597 ... rest of stderr output deleted ...
12598 10q' conftest.err >conftest.er1
12599 cat conftest.er1 >&5
12601 rm -f conftest.er1 conftest.err
12602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12603 test $ac_status = 0; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12608 if ${ac_cv_c_compiler_gnu+:} false; then :
12609 $as_echo_n "(cached) " >&6
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12625 if ac_fn_c_try_compile "$LINENO"; then :
12626 ac_compiler_gnu=yes
12630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12636 if test $ac_compiler_gnu = yes; then
12641 ac_test_CFLAGS=${CFLAGS+set}
12642 ac_save_CFLAGS=$CFLAGS
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12645 if ${ac_cv_prog_cc_g+:} false; then :
12646 $as_echo_n "(cached) " >&6
12648 ac_save_c_werror_flag=$ac_c_werror_flag
12649 ac_c_werror_flag=yes
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12663 if ac_fn_c_try_compile "$LINENO"; then :
12664 ac_cv_prog_cc_g=yes
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12678 if ac_fn_c_try_compile "$LINENO"; then :
12681 ac_c_werror_flag=$ac_save_c_werror_flag
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12694 if ac_fn_c_try_compile "$LINENO"; then :
12695 ac_cv_prog_cc_g=yes
12697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12702 ac_c_werror_flag=$ac_save_c_werror_flag
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12705 $as_echo "$ac_cv_prog_cc_g" >&6; }
12706 if test "$ac_test_CFLAGS" = set; then
12707 CFLAGS=$ac_save_CFLAGS
12708 elif test $ac_cv_prog_cc_g = yes; then
12709 if test "$GCC" = yes; then
12715 if test "$GCC" = yes; then
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12723 if ${ac_cv_prog_cc_c89+:} false; then :
12724 $as_echo_n "(cached) " >&6
12726 ac_cv_prog_cc_c89=no
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12730 #include <stdarg.h>
12732 #include <sys/types.h>
12733 #include <sys/stat.h>
12734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12735 struct buf { int x; };
12736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12737 static char *e (p, i)
12743 static char *f (char * (*g) (char **, int), char **p, ...)
12748 s = g (p, va_arg (v,int));
12753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12754 function prototypes and stuff, but not '\xHH' hex character constants.
12755 These don't provoke an error unfortunately, instead are silently treated
12756 as 'x'. The following induces an error, until -std is added to get
12757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12758 array size at least. It's necessary to write '\x00'==0 to get something
12759 that's true only with -std. */
12760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12763 inside strings and character constants. */
12765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12767 int test (int i, double x);
12768 struct s1 {int (*f) (int a);};
12769 struct s2 {int (*f) (double a);};
12770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12776 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12782 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12784 CC="$ac_save_CC $ac_arg"
12785 if ac_fn_c_try_compile "$LINENO"; then :
12786 ac_cv_prog_cc_c89=$ac_arg
12788 rm -f core conftest.err conftest.$ac_objext
12789 test "x$ac_cv_prog_cc_c89" != "xno" && break
12791 rm -f conftest.$ac_ext
12796 case "x$ac_cv_prog_cc_c89" in
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12799 $as_echo "none needed" >&6; } ;;
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12802 $as_echo "unsupported" >&6; } ;;
12804 CC="$CC $ac_cv_prog_cc_c89"
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12808 if test "x$ac_cv_prog_cc_c89" != xno; then :
12813 ac_cpp='$CPP $CPPFLAGS'
12814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12818 depcc="$CC" am_compiler_list=
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12821 $as_echo_n "checking dependency style of $depcc... " >&6; }
12822 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12823 $as_echo_n "(cached) " >&6
12825 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12826 # We make a subdir and do the tests there. Otherwise we can end up
12827 # making bogus files that we don't know about and never remove. For
12828 # instance it was reported that on HP-UX the gcc test will end up
12829 # making a dummy file named `D' -- because `-MD' means `put the output
12832 # Copy depcomp to subdir because otherwise we won't find it if we're
12833 # using a relative directory.
12834 cp "$am_depcomp" conftest.dir
12836 # We will build objects and dependencies in a subdirectory because
12837 # it helps to detect inapplicable dependency modes. For instance
12838 # both Tru64's cc and ICC support -MD to output dependencies as a
12839 # side effect of compilation, but ICC will put the dependencies in
12840 # the current directory while Tru64 will put them in the object
12844 am_cv_CC_dependencies_compiler_type=none
12845 if test "$am_compiler_list" = ""; then
12846 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12848 am__universal=false
12849 case " $depcc " in #(
12850 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12853 for depmode in $am_compiler_list; do
12854 # Setup a source with many dependencies, because some compilers
12855 # like to wrap large dependency lists on column 80 (with \), and
12856 # we should not choose a depcomp mode which is confused by this.
12858 # We need to recreate these files for each test, as the compiler may
12859 # overwrite some of them when testing with obscure command lines.
12860 # This happens at least with the AIX C compiler.
12862 for i in 1 2 3 4 5 6; do
12863 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12864 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12865 # Solaris 8's {/usr,}/bin/sh.
12866 touch sub/conftst$i.h
12868 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12870 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12871 # mode. It turns out that the SunPro C++ compiler does not properly
12872 # handle `-M -o', and we need to detect this. Also, some Intel
12873 # versions had trouble with output in subdirs
12874 am__obj=sub/conftest.${OBJEXT-o}
12875 am__minus_obj="-o $am__obj"
12878 # This depmode causes a compiler race in universal mode.
12879 test "$am__universal" = false || continue
12882 # after this tag, mechanisms are not by side-effect, so they'll
12883 # only be used when explicitly requested
12884 if test "x$enable_dependency_tracking" = xyes; then
12890 msvisualcpp | msvcmsys)
12891 # This compiler won't grok `-c -o', but also, the minuso test has
12892 # not run yet. These depmodes are late enough in the game, and
12893 # so weak that their functioning should not be impacted.
12894 am__obj=conftest.${OBJEXT-o}
12899 if depmode=$depmode \
12900 source=sub/conftest.c object=$am__obj \
12901 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12902 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12903 >/dev/null 2>conftest.err &&
12904 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12905 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12906 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12907 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12908 # icc doesn't choke on unknown options, it will just issue warnings
12909 # or remarks (even with -Werror). So we grep stderr for any message
12910 # that says an option was ignored or not supported.
12911 # When given -MP, icc 7.0 and 7.1 complain thusly:
12912 # icc: Command line warning: ignoring option '-M'; no argument required
12913 # The diagnosis changed in icc 8.0:
12914 # icc: Command line remark: option '-MP' not supported
12915 if (grep 'ignoring option' conftest.err ||
12916 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12917 am_cv_CC_dependencies_compiler_type=$depmode
12924 rm -rf conftest.dir
12926 am_cv_CC_dependencies_compiler_type=none
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12931 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12932 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12935 test "x$enable_dependency_tracking" != xno \
12936 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12937 am__fastdepCC_TRUE=
12938 am__fastdepCC_FALSE='#'
12940 am__fastdepCC_TRUE='#'
12941 am__fastdepCC_FALSE=
12946 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
12950 if test "x$GCC" = "xyes"; then
12951 case " $CFLAGS " in
12952 *[\ \ ]-Wall[\ \ ]*) ;;
12953 *) CFLAGS="$CFLAGS -Wall" ;;
12956 if test "x$enable_ansi" = "xyes"; then
12957 case " $CFLAGS " in
12958 *[\ \ ]-ansi[\ \ ]*) ;;
12959 *) CFLAGS="$CFLAGS -ansi" ;;
12962 case " $CFLAGS " in
12963 *[\ \ ]-pedantic[\ \ ]*) ;;
12964 *) CFLAGS="$CFLAGS -pedantic" ;;
12969 # Checks for header files.
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12971 $as_echo_n "checking for ANSI C header files... " >&6; }
12972 if ${ac_cv_header_stdc+:} false; then :
12973 $as_echo_n "(cached) " >&6
12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12977 #include <stdlib.h>
12978 #include <stdarg.h>
12979 #include <string.h>
12990 if ac_fn_c_try_compile "$LINENO"; then :
12991 ac_cv_header_stdc=yes
12993 ac_cv_header_stdc=no
12995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12997 if test $ac_cv_header_stdc = yes; then
12998 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13001 #include <string.h>
13004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13005 $EGREP "memchr" >/dev/null 2>&1; then :
13008 ac_cv_header_stdc=no
13014 if test $ac_cv_header_stdc = yes; then
13015 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13018 #include <stdlib.h>
13021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13022 $EGREP "free" >/dev/null 2>&1; then :
13025 ac_cv_header_stdc=no
13031 if test $ac_cv_header_stdc = yes; then
13032 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13033 if test "$cross_compiling" = yes; then :
13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13039 #include <stdlib.h>
13040 #if ((' ' & 0x0FF) == 0x020)
13041 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13042 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13044 # define ISLOWER(c) \
13045 (('a' <= (c) && (c) <= 'i') \
13046 || ('j' <= (c) && (c) <= 'r') \
13047 || ('s' <= (c) && (c) <= 'z'))
13048 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13051 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13056 for (i = 0; i < 256; i++)
13057 if (XOR (islower (i), ISLOWER (i))
13058 || toupper (i) != TOUPPER (i))
13063 if ac_fn_c_try_run "$LINENO"; then :
13066 ac_cv_header_stdc=no
13068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13069 conftest.$ac_objext conftest.beam conftest.$ac_ext
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13075 $as_echo "$ac_cv_header_stdc" >&6; }
13076 if test $ac_cv_header_stdc = yes; then
13078 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
13083 # Checks for library functions.
13084 for ac_func in vprintf
13086 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
13087 if test "x$ac_cv_func_vprintf" = xyes; then :
13088 cat >>confdefs.h <<_ACEOF
13089 @%:@define HAVE_VPRINTF 1
13092 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
13093 if test "x$ac_cv_func__doprnt" = xyes; then :
13095 $as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
13104 for ac_func in atexit on_exit
13106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13109 cat >>confdefs.h <<_ACEOF
13110 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13117 # The cast to long int works around a bug in the HP C Compiler
13118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13120 # This bug is HP SR number 8606223364.
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13122 $as_echo_n "checking size of char... " >&6; }
13123 if ${ac_cv_sizeof_char+:} false; then :
13124 $as_echo_n "(cached) " >&6
13126 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13129 if test "$ac_cv_type_char" = yes; then
13130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13132 as_fn_error 77 "cannot compute sizeof (char)
13133 See \`config.log' for more details" "$LINENO" 5; }
13135 ac_cv_sizeof_char=0
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13141 $as_echo "$ac_cv_sizeof_char" >&6; }
13145 cat >>confdefs.h <<_ACEOF
13146 @%:@define SIZEOF_CHAR $ac_cv_sizeof_char
13150 # The cast to long int works around a bug in the HP C Compiler
13151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13153 # This bug is HP SR number 8606223364.
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13155 $as_echo_n "checking size of short... " >&6; }
13156 if ${ac_cv_sizeof_short+:} false; then :
13157 $as_echo_n "(cached) " >&6
13159 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13162 if test "$ac_cv_type_short" = yes; then
13163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13165 as_fn_error 77 "cannot compute sizeof (short)
13166 See \`config.log' for more details" "$LINENO" 5; }
13168 ac_cv_sizeof_short=0
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13174 $as_echo "$ac_cv_sizeof_short" >&6; }
13178 cat >>confdefs.h <<_ACEOF
13179 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
13183 # The cast to long int works around a bug in the HP C Compiler
13184 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13185 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13186 # This bug is HP SR number 8606223364.
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13188 $as_echo_n "checking size of long... " >&6; }
13189 if ${ac_cv_sizeof_long+:} false; then :
13190 $as_echo_n "(cached) " >&6
13192 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13195 if test "$ac_cv_type_long" = yes; then
13196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13198 as_fn_error 77 "cannot compute sizeof (long)
13199 See \`config.log' for more details" "$LINENO" 5; }
13201 ac_cv_sizeof_long=0
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13207 $as_echo "$ac_cv_sizeof_long" >&6; }
13211 cat >>confdefs.h <<_ACEOF
13212 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
13216 # The cast to long int works around a bug in the HP C Compiler
13217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13219 # This bug is HP SR number 8606223364.
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13221 $as_echo_n "checking size of int... " >&6; }
13222 if ${ac_cv_sizeof_int+:} false; then :
13223 $as_echo_n "(cached) " >&6
13225 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13228 if test "$ac_cv_type_int" = yes; then
13229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13231 as_fn_error 77 "cannot compute sizeof (int)
13232 See \`config.log' for more details" "$LINENO" 5; }
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13240 $as_echo "$ac_cv_sizeof_int" >&6; }
13244 cat >>confdefs.h <<_ACEOF
13245 @%:@define SIZEOF_INT $ac_cv_sizeof_int
13249 # The cast to long int works around a bug in the HP C Compiler
13250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13252 # This bug is HP SR number 8606223364.
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13254 $as_echo_n "checking size of void *... " >&6; }
13255 if ${ac_cv_sizeof_void_p+:} false; then :
13256 $as_echo_n "(cached) " >&6
13258 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13261 if test "$ac_cv_type_void_p" = yes; then
13262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13264 as_fn_error 77 "cannot compute sizeof (void *)
13265 See \`config.log' for more details" "$LINENO" 5; }
13267 ac_cv_sizeof_void_p=0
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13273 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13277 cat >>confdefs.h <<_ACEOF
13278 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13282 # The cast to long int works around a bug in the HP C Compiler
13283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13285 # This bug is HP SR number 8606223364.
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13287 $as_echo_n "checking size of long long... " >&6; }
13288 if ${ac_cv_sizeof_long_long+:} false; then :
13289 $as_echo_n "(cached) " >&6
13291 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
13294 if test "$ac_cv_type_long_long" = yes; then
13295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13297 as_fn_error 77 "cannot compute sizeof (long long)
13298 See \`config.log' for more details" "$LINENO" 5; }
13300 ac_cv_sizeof_long_long=0
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13306 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13310 cat >>confdefs.h <<_ACEOF
13311 @%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13317 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13318 if ${ac_cv_c_const+:} false; then :
13319 $as_echo_n "(cached) " >&6
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13327 /* FIXME: Include the comments suggested by Paul. */
13328 #ifndef __cplusplus
13329 /* Ultrix mips cc rejects this. */
13330 typedef int charset[2];
13332 /* SunOS 4.1.1 cc rejects this. */
13333 char const *const *pcpcc;
13335 /* NEC SVR4.0.2 mips cc rejects this. */
13336 struct point {int x, y;};
13337 static struct point const zero = {0,0};
13338 /* AIX XL C 1.02.0.0 rejects this.
13339 It does not let you subtract one const X* pointer from another in
13340 an arm of an if-expression whose if-part is not a constant
13342 const char *g = "string";
13343 pcpcc = &g + (g ? g-g : 0);
13344 /* HPUX 7.0 cc rejects these. */
13346 ppc = (char**) pcpcc;
13347 pcpcc = (char const *const *) ppc;
13348 { /* SCO 3.2v4 cc rejects this. */
13350 char const *s = 0 ? (char *) 0 : (char const *) 0;
13355 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13356 int x[] = {25, 17};
13357 const int *foo = &x[0];
13360 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13361 typedef const int *iptr;
13365 { /* AIX XL C 1.02.0.0 rejects this saying
13366 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13367 struct s { int j; const int *ap[3]; };
13368 struct s *b; b->j = 5;
13370 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13371 const int foo = 10;
13372 if (!foo) return 0;
13374 return !cs[0] && !zero.x;
13381 if ac_fn_c_try_compile "$LINENO"; then :
13386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13389 $as_echo "$ac_cv_c_const" >&6; }
13390 if test $ac_cv_c_const = no; then
13392 $as_echo "@%:@define const /**/" >>confdefs.h
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline" >&5
13398 $as_echo_n "checking for __inline... " >&6; }
13399 if ${glib_cv_has__inline+:} false; then :
13400 $as_echo_n "(cached) " >&6
13403 if test "$cross_compiling" = yes; then :
13404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13406 as_fn_error $? "cannot run test program while cross compiling
13407 See \`config.log' for more details" "$LINENO" 5; }
13409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13412 __inline int foo () { return 0; }
13413 int main () { return foo (); }
13416 if ac_fn_c_try_run "$LINENO"; then :
13417 glib_cv_has__inline=yes
13420 glib_cv_has__inline=no
13423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13424 conftest.$ac_objext conftest.beam conftest.$ac_ext
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_has__inline" >&5
13431 $as_echo "$glib_cv_has__inline" >&6; }
13432 case x$glib_cv_has__inline in
13433 xyes) $as_echo "@%:@define G_HAVE___INLINE 1" >>confdefs.h
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline__" >&5
13437 $as_echo_n "checking for __inline__... " >&6; }
13438 if ${glib_cv_has__inline__+:} false; then :
13439 $as_echo_n "(cached) " >&6
13442 if test "$cross_compiling" = yes; then :
13443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13445 as_fn_error $? "cannot run test program while cross compiling
13446 See \`config.log' for more details" "$LINENO" 5; }
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13451 __inline__ int foo () { return 0; }
13452 int main () { return foo (); }
13455 if ac_fn_c_try_run "$LINENO"; then :
13456 glib_cv_has__inline__=yes
13459 glib_cv_has__inline__=no
13462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13463 conftest.$ac_objext conftest.beam conftest.$ac_ext
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_has__inline__" >&5
13470 $as_echo "$glib_cv_has__inline__" >&6; }
13471 case x$glib_cv_has__inline__ in
13472 xyes) $as_echo "@%:@define G_HAVE___INLINE__ 1" >>confdefs.h
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13476 $as_echo_n "checking for inline... " >&6; }
13477 if ${glib_cv_hasinline+:} false; then :
13478 $as_echo_n "(cached) " >&6
13481 if test "$cross_compiling" = yes; then :
13482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13484 as_fn_error $? "cannot run test program while cross compiling
13485 See \`config.log' for more details" "$LINENO" 5; }
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13490 inline int foo () { return 0; }
13491 int main () { return foo (); }
13494 if ac_fn_c_try_run "$LINENO"; then :
13495 glib_cv_hasinline=yes
13498 glib_cv_hasinline=no
13501 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13502 conftest.$ac_objext conftest.beam conftest.$ac_ext
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_hasinline" >&5
13509 $as_echo "$glib_cv_hasinline" >&6; }
13510 case x$glib_cv_hasinline in
13511 xyes) $as_echo "@%:@define G_HAVE_INLINE 1" >>confdefs.h
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13516 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13517 if ${ac_cv_c_bigendian+:} false; then :
13518 $as_echo_n "(cached) " >&6
13520 ac_cv_c_bigendian=unknown
13521 # See if we're dealing with a universal compiler.
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13524 #ifndef __APPLE_CC__
13525 not a universal capable compiler
13530 if ac_fn_c_try_compile "$LINENO"; then :
13532 # Check for potential -arch flags. It is not universal unless
13533 # there are at least two -arch flags with different values.
13536 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13537 if test -n "$ac_prev"; then
13539 i?86 | x86_64 | ppc | ppc64)
13540 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13543 ac_cv_c_bigendian=universal
13549 elif test "x$ac_word" = "x-arch"; then
13554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13555 if test $ac_cv_c_bigendian = unknown; then
13556 # See if sys/param.h defines the BYTE_ORDER macro.
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13559 #include <sys/types.h>
13560 #include <sys/param.h>
13565 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13566 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13568 bogus endian macros
13575 if ac_fn_c_try_compile "$LINENO"; then :
13576 # It does; now see whether it defined to BIG_ENDIAN or not.
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13579 #include <sys/types.h>
13580 #include <sys/param.h>
13585 #if BYTE_ORDER != BIG_ENDIAN
13593 if ac_fn_c_try_compile "$LINENO"; then :
13594 ac_cv_c_bigendian=yes
13596 ac_cv_c_bigendian=no
13598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13602 if test $ac_cv_c_bigendian = unknown; then
13603 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13606 #include <limits.h>
13611 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13612 bogus endian macros
13619 if ac_fn_c_try_compile "$LINENO"; then :
13620 # It does; now see whether it defined to _BIG_ENDIAN or not.
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 #include <limits.h>
13628 #ifndef _BIG_ENDIAN
13636 if ac_fn_c_try_compile "$LINENO"; then :
13637 ac_cv_c_bigendian=yes
13639 ac_cv_c_bigendian=no
13641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13645 if test $ac_cv_c_bigendian = unknown; then
13646 # Compile a test program.
13647 if test "$cross_compiling" = yes; then :
13648 # Try to guess by grepping values from an object file.
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13651 short int ascii_mm[] =
13652 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13653 short int ascii_ii[] =
13654 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13655 int use_ascii (int i) {
13656 return ascii_mm[i] + ascii_ii[i];
13658 short int ebcdic_ii[] =
13659 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13660 short int ebcdic_mm[] =
13661 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13662 int use_ebcdic (int i) {
13663 return ebcdic_mm[i] + ebcdic_ii[i];
13670 return use_ascii (foo) == use_ebcdic (foo);
13675 if ac_fn_c_try_compile "$LINENO"; then :
13676 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13677 ac_cv_c_bigendian=yes
13679 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13680 if test "$ac_cv_c_bigendian" = unknown; then
13681 ac_cv_c_bigendian=no
13683 # finding both strings is unlikely to happen, but who knows?
13684 ac_cv_c_bigendian=unknown
13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 $ac_includes_default
13697 /* Are we little or big endian? From Harbison&Steele. */
13701 char c[sizeof (long int)];
13704 return u.c[sizeof (long int) - 1] == 1;
13710 if ac_fn_c_try_run "$LINENO"; then :
13711 ac_cv_c_bigendian=no
13713 ac_cv_c_bigendian=yes
13715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13716 conftest.$ac_objext conftest.beam conftest.$ac_ext
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13722 $as_echo "$ac_cv_c_bigendian" >&6; }
13723 case $ac_cv_c_bigendian in #(
13725 $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
13731 $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13735 as_fn_error $? "unknown endianness
13736 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13740 for ac_header in float.h
13742 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
13743 if test "x$ac_cv_header_float_h" = xyes; then :
13744 cat >>confdefs.h <<_ACEOF
13745 @%:@define HAVE_FLOAT_H 1
13747 $as_echo "@%:@define HAVE_FLOAT_H 1" >>confdefs.h
13753 for ac_header in limits.h
13755 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
13756 if test "x$ac_cv_header_limits_h" = xyes; then :
13757 cat >>confdefs.h <<_ACEOF
13758 @%:@define HAVE_LIMITS_H 1
13760 $as_echo "@%:@define HAVE_LIMITS_H 1" >>confdefs.h
13766 for ac_header in pwd.h
13768 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
13769 if test "x$ac_cv_header_pwd_h" = xyes; then :
13770 cat >>confdefs.h <<_ACEOF
13771 @%:@define HAVE_PWD_H 1
13773 $as_echo "@%:@define HAVE_PWD_H 1" >>confdefs.h
13779 for ac_header in sys/param.h
13781 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
13782 if test "x$ac_cv_header_sys_param_h" = xyes; then :
13783 cat >>confdefs.h <<_ACEOF
13784 @%:@define HAVE_SYS_PARAM_H 1
13786 $as_echo "@%:@define HAVE_SYS_PARAM_H 1" >>confdefs.h
13792 for ac_header in sys/poll.h
13794 ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
13796 cat >>confdefs.h <<_ACEOF
13797 @%:@define HAVE_SYS_POLL_H 1
13799 $as_echo "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h
13805 for ac_header in sys/select.h
13807 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
13808 if test "x$ac_cv_header_sys_select_h" = xyes; then :
13809 cat >>confdefs.h <<_ACEOF
13810 @%:@define HAVE_SYS_SELECT_H 1
13812 $as_echo "@%:@define HAVE_SYS_SELECT_H 1" >>confdefs.h
13818 for ac_header in sys/time.h
13820 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13821 if test "x$ac_cv_header_sys_time_h" = xyes; then :
13822 cat >>confdefs.h <<_ACEOF
13823 @%:@define HAVE_SYS_TIME_H 1
13825 $as_echo "@%:@define HAVE_SYS_TIME_H 1" >>confdefs.h
13831 for ac_header in sys/times.h
13833 ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
13834 if test "x$ac_cv_header_sys_times_h" = xyes; then :
13835 cat >>confdefs.h <<_ACEOF
13836 @%:@define HAVE_SYS_TIMES_H 1
13838 $as_echo "@%:@define HAVE_SYS_TIMES_H 1" >>confdefs.h
13844 for ac_header in unistd.h
13846 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13847 if test "x$ac_cv_header_unistd_h" = xyes; then :
13848 cat >>confdefs.h <<_ACEOF
13849 @%:@define HAVE_UNISTD_H 1
13851 $as_echo "@%:@define HAVE_UNISTD_H 1" >>confdefs.h
13857 for ac_header in values.h
13859 ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default"
13860 if test "x$ac_cv_header_values_h" = xyes; then :
13861 cat >>confdefs.h <<_ACEOF
13862 @%:@define HAVE_VALUES_H 1
13864 $as_echo "@%:@define HAVE_VALUES_H 1" >>confdefs.h
13871 # Check for some functions
13872 for ac_func in lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll
13874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13876 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13877 cat >>confdefs.h <<_ACEOF
13878 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13885 # Check for sys_errlist
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_errlist" >&5
13887 $as_echo_n "checking for sys_errlist... " >&6; }
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13895 extern char *sys_errlist[];
13896 extern int sys_nerr;
13897 sys_errlist[sys_nerr-1][0] = 0;
13903 if ac_fn_c_try_link "$LINENO"; then :
13908 rm -f core conftest.err conftest.$ac_objext \
13909 conftest$ac_exeext conftest.$ac_ext
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13911 $as_echo "$glib_ok" >&6; }
13912 if test $glib_ok = no; then
13913 $as_echo "@%:@define NO_SYS_ERRLIST 1" >>confdefs.h
13917 # Check for sys_siglist
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_siglist" >&5
13919 $as_echo_n "checking for sys_siglist... " >&6; }
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13927 extern char *sys_siglist[];
13928 exit (sys_siglist[0]);
13934 if ac_fn_c_try_link "$LINENO"; then :
13939 rm -f core conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13942 $as_echo "$glib_ok" >&6; }
13943 if test $glib_ok = no; then
13944 $as_echo "@%:@define NO_SYS_SIGLIST 1" >>confdefs.h
13948 # Check for sys_siglist decl (see Tue Jan 19 00:44:24 1999 in changelog)
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_siglist declaration" >&5
13950 $as_echo_n "checking for sys_siglist declaration... " >&6; }
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 #include <signal.h>
13958 strlen (sys_siglist[0]);
13964 if ac_fn_c_try_compile "$LINENO"; then :
13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13971 $as_echo "$glib_ok" >&6; }
13972 if test $glib_ok = no; then
13973 $as_echo "@%:@define NO_SYS_SIGLIST_DECL 1" >>confdefs.h
13977 # Check if <sys/select.h> needs to be included for fd_set
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fd_set" >&5
13979 $as_echo_n "checking for fd_set... " >&6; }
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13982 #include <sys/types.h>
13986 fd_set readMask, writeMask;
13991 if ac_fn_c_try_compile "$LINENO"; then :
13996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13997 if test $gtk_ok = yes; then
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/types.h" >&5
13999 $as_echo "yes, found in sys/types.h" >&6; }
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14003 #include <sys/select.h>
14006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14007 $EGREP "fd_mask" >/dev/null 2>&1; then :
14012 if test $gtk_ok = yes; then
14013 $as_echo "@%:@define HAVE_SYS_SELECT_H 1" >>confdefs.h
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/select.h" >&5
14016 $as_echo "yes, found in sys/select.h" >&6; }
14018 $as_echo "@%:@define NO_FD_SET 1" >>confdefs.h
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14021 $as_echo "no" >&6; }
14025 # These are used only in GDK (gdki18n.h)
14026 # This stuff is here only so that we can define these
14027 # things in glibconfig.h. If gtk+ started using an installed
14028 # gdkconfig.h file, then the definitions would belong there.
14030 # Check for wchar.h
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar.h" >&5
14033 $as_echo_n "checking for wchar.h... " >&6; }
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14038 if ac_fn_c_try_cpp "$LINENO"; then :
14043 rm -f conftest.err conftest.i conftest.$ac_ext
14044 if test $glib_wchar_h = yes; then
14045 $as_echo "@%:@define HAVE_WCHAR_H 1" >>confdefs.h
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_wchar_h" >&5
14049 $as_echo "$glib_wchar_h" >&6; }
14051 # Check for wctype.h (for iswalnum)
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype.h" >&5
14054 $as_echo_n "checking for wctype.h... " >&6; }
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 #include <wctype.h>
14059 if ac_fn_c_try_cpp "$LINENO"; then :
14064 rm -f conftest.err conftest.i conftest.$ac_ext
14065 if test $glib_wctype_h = yes; then
14066 $as_echo "@%:@define HAVE_WCTYPE_H 1" >>confdefs.h
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_wctype_h" >&5
14070 $as_echo "$glib_wctype_h" >&6; }
14073 # in Solaris 2.5, `iswalnum' is in -lw
14074 ac_fn_c_check_func "$LINENO" "iswalnum" "ac_cv_func_iswalnum"
14075 if test "x$ac_cv_func_iswalnum" = xyes; then :
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iswalnum in -lw" >&5
14079 $as_echo_n "checking for iswalnum in -lw... " >&6; }
14080 if ${ac_cv_lib_w_iswalnum+:} false; then :
14081 $as_echo_n "(cached) " >&6
14083 ac_check_lib_save_LIBS=$LIBS
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14098 return iswalnum ();
14103 if ac_fn_c_try_link "$LINENO"; then :
14104 ac_cv_lib_w_iswalnum=yes
14106 ac_cv_lib_w_iswalnum=no
14108 rm -f core conftest.err conftest.$ac_objext \
14109 conftest$ac_exeext conftest.$ac_ext
14110 LIBS=$ac_check_lib_save_LIBS
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_iswalnum" >&5
14113 $as_echo "$ac_cv_lib_w_iswalnum" >&6; }
14114 if test "x$ac_cv_lib_w_iswalnum" = xyes; then :
14115 cat >>confdefs.h <<_ACEOF
14116 @%:@define HAVE_LIBW 1
14126 # The following is necessary for Linux libc-5.4.38
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iswalnum() and friends are properly defined" >&5
14128 $as_echo_n "checking if iswalnum() and friends are properly defined... " >&6; }
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 #include <stdlib.h>
14136 #if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
14137 # ifdef HAVE_WCTYPE_H
14138 # include <wctype.h>
14140 # ifdef HAVE_WCHAR_H
14141 # include <wchar.h>
14145 # define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
14147 iswalnum((wchar_t) 0);
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 glib_working_wctype=yes
14156 glib_working_wctype=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14162 if test $glib_working_wctype = no; then
14163 $as_echo "@%:@define HAVE_BROKEN_WCTYPE 1" >>confdefs.h
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_working_wctype" >&5
14167 $as_echo "$glib_working_wctype" >&6; }
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realloc (NULL,) will work" >&5
14170 $as_echo_n "checking whether realloc (NULL,) will work... " >&6; }
14171 if ${glib_cv_sane_realloc+:} false; then :
14172 $as_echo_n "(cached) " >&6
14175 if test "$cross_compiling" = yes; then :
14176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14178 as_fn_error $? "cannot run test program while cross compiling
14179 See \`config.log' for more details" "$LINENO" 5; }
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 #include <stdlib.h>
14186 return realloc (0, sizeof (int)) == 0;
14189 if ac_fn_c_try_run "$LINENO"; then :
14190 glib_cv_sane_realloc=yes
14193 glib_cv_sane_realloc=no
14196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14197 conftest.$ac_objext conftest.beam conftest.$ac_ext
14203 if test "x$glib_cv_sane_realloc" = "xyes"; then
14204 $as_echo "@%:@define REALLOC_0_WORKS 1" >>confdefs.h
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sane_realloc" >&5
14208 $as_echo "$glib_cv_sane_realloc" >&6; }
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5
14212 $as_echo_n "checking for an implementation of va_copy()... " >&6; }
14213 if ${glib_cv_va_copy+:} false; then :
14214 $as_echo_n "(cached) " >&6
14217 if test "$cross_compiling" = yes; then :
14218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14220 as_fn_error $? "cannot run test program while cross compiling
14221 See \`config.log' for more details" "$LINENO" 5; }
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14226 #include <stdarg.h>
14227 void f (int i, ...) {
14228 va_list args1, args2;
14229 va_start (args1, i);
14230 va_copy (args2, args1);
14231 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14233 va_end (args1); va_end (args2);
14240 if ac_fn_c_try_run "$LINENO"; then :
14241 glib_cv_va_copy=yes
14247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14248 conftest.$ac_objext conftest.beam conftest.$ac_ext
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_va_copy" >&5
14255 $as_echo "$glib_cv_va_copy" >&6; }
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5
14257 $as_echo_n "checking for an implementation of __va_copy()... " >&6; }
14258 if ${glib_cv___va_copy+:} false; then :
14259 $as_echo_n "(cached) " >&6
14262 if test "$cross_compiling" = yes; then :
14263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14265 as_fn_error $? "cannot run test program while cross compiling
14266 See \`config.log' for more details" "$LINENO" 5; }
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14271 #include <stdarg.h>
14272 void f (int i, ...) {
14273 va_list args1, args2;
14274 va_start (args1, i);
14275 __va_copy (args2, args1);
14276 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14278 va_end (args1); va_end (args2);
14285 if ac_fn_c_try_run "$LINENO"; then :
14286 glib_cv___va_copy=yes
14289 glib_cv___va_copy=no
14292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14293 conftest.$ac_objext conftest.beam conftest.$ac_ext
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv___va_copy" >&5
14300 $as_echo "$glib_cv___va_copy" >&6; }
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists can be copied by value" >&5
14302 $as_echo_n "checking whether va_lists can be copied by value... " >&6; }
14303 if ${glib_cv_va_val_copy+:} false; then :
14304 $as_echo_n "(cached) " >&6
14307 if test "$cross_compiling" = yes; then :
14308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14310 as_fn_error $? "cannot run test program while cross compiling
14311 See \`config.log' for more details" "$LINENO" 5; }
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14316 #include <stdarg.h>
14317 void f (int i, ...) {
14318 va_list args1, args2;
14319 va_start (args1, i);
14321 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14323 va_end (args1); va_end (args2);
14330 if ac_fn_c_try_run "$LINENO"; then :
14331 glib_cv_va_val_copy=yes
14334 glib_cv_va_val_copy=no
14337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14338 conftest.$ac_objext conftest.beam conftest.$ac_ext
14344 if test "x$glib_cv_va_copy" = "xyes"; then
14345 $as_echo "@%:@define G_VA_COPY va_copy" >>confdefs.h
14348 if test "x$glib_cv___va_copy" = "xyes"; then
14349 $as_echo "@%:@define G_VA_COPY __va_copy" >>confdefs.h
14353 if test "x$glib_cv_va_val_copy" = "xno"; then
14354 $as_echo "@%:@define G_VA_COPY_AS_ARRAY 1" >>confdefs.h
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_va_val_copy" >&5
14358 $as_echo "$glib_cv_va_val_copy" >&6; }
14363 G_MODULE_NEED_USCORE=0
14364 G_MODULE_BROKEN_RTLD_GLOBAL=0
14365 G_MODULE_HAVE_DLERROR=0
14366 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14367 if test "x$ac_cv_func_dlopen" = xyes; then :
14368 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
14369 if test "x$ac_cv_func_dlsym" = xyes; then :
14370 G_MODULE_IMPL=G_MODULE_IMPL_DL
14375 if test -z "$G_MODULE_IMPL"; then
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14377 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14378 if ${ac_cv_lib_dl_dlopen+:} false; then :
14379 $as_echo_n "(cached) " >&6
14381 ac_check_lib_save_LIBS=$LIBS
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14386 /* Override any GCC internal prototype to avoid an error.
14387 Use char because int might match the return type of a GCC
14388 builtin and then its argument prototype would still apply. */
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 ac_cv_lib_dl_dlopen=yes
14404 ac_cv_lib_dl_dlopen=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_check_lib_save_LIBS
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14411 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14412 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
14414 $as_echo_n "checking for dlsym in -ldl... " >&6; }
14415 if ${ac_cv_lib_dl_dlsym+:} false; then :
14416 $as_echo_n "(cached) " >&6
14418 ac_check_lib_save_LIBS=$LIBS
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14423 /* Override any GCC internal prototype to avoid an error.
14424 Use char because int might match the return type of a GCC
14425 builtin and then its argument prototype would still apply. */
14438 if ac_fn_c_try_link "$LINENO"; then :
14439 ac_cv_lib_dl_dlsym=yes
14441 ac_cv_lib_dl_dlsym=no
14443 rm -f core conftest.err conftest.$ac_objext \
14444 conftest$ac_exeext conftest.$ac_ext
14445 LIBS=$ac_check_lib_save_LIBS
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
14448 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
14449 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
14452 G_MODULE_IMPL=G_MODULE_IMPL_DL
14459 if test -z "$G_MODULE_IMPL"; then
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to export all symbols" >&5
14461 $as_echo_n "checking how to export all symbols... " >&6; }
14462 SAVED_LDFLAGS=$LDFLAGS
14463 LDFLAGS="$LDFLAGS -Wl,-E"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 G_MODULE_LDFLAGS="-Wl,-E"
14479 LDFLAGS="$SAVED_LDFLAGS -bexpall"
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 G_MODULE_LDFLAGS="-bexpall"
14494 G_MODULE_LDFLAGS="none"
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14503 LDFLAGS=$SAVED_LDFLAGS
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_MODULE_LDFLAGS" >&5
14505 $as_echo "$G_MODULE_LDFLAGS" >&6; }
14506 if test "x$G_MODULE_LDFLAGS" = "xnone"; then
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14510 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14511 if ${ac_cv_lib_dld_shl_load+:} false; then :
14512 $as_echo_n "(cached) " >&6
14514 ac_check_lib_save_LIBS=$LIBS
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply. */
14529 return shl_load ();
14534 if ac_fn_c_try_link "$LINENO"; then :
14535 ac_cv_lib_dld_shl_load=yes
14537 ac_cv_lib_dld_shl_load=no
14539 rm -f core conftest.err conftest.$ac_objext \
14540 conftest$ac_exeext conftest.$ac_ext
14541 LIBS=$ac_check_lib_save_LIBS
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14544 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14545 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14546 G_MODULE_LIBS=-ldld
14547 G_MODULE_IMPL=G_MODULE_IMPL_DLD
14552 if test "$G_MODULE_IMPL" = "G_MODULE_IMPL_DL"; then
14555 G_MODULE_LDFLAGS='-rdynamic'
14559 LDFLAGS_orig="$LDFLAGS"
14560 LIBS="$LIBS $G_MODULE_LIBS"
14561 LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTLD_GLOBAL brokenness" >&5
14563 $as_echo_n "checking for RTLD_GLOBAL brokenness... " >&6; }
14564 if ${glib_cv_rtldglobal_broken+:} false; then :
14565 $as_echo_n "(cached) " >&6
14568 if test "$cross_compiling" = yes; then :
14569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14571 as_fn_error $? "cannot run test program while cross compiling
14572 See \`config.log' for more details" "$LINENO" 5; }
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14578 #ifndef RTLD_GLOBAL
14579 #define RTLD_GLOBAL 0
14582 #define RTLD_LAZY 0
14584 int pthread_create;
14586 void *handle, *global, *local;
14587 global = &pthread_create;
14588 handle = dlopen ("libpthread.so", RTLD_GLOBAL | RTLD_LAZY);
14589 if (!handle) return 0;
14590 local = dlsym (handle, "pthread_create");
14591 return global == local;
14594 if ac_fn_c_try_run "$LINENO"; then :
14595 glib_cv_rtldglobal_broken=no
14597 glib_cv_rtldglobal_broken=yes
14599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14600 conftest.$ac_objext conftest.beam conftest.$ac_ext
14603 rm -f plugin.c plugin.o plugin.lo
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_rtldglobal_broken" >&5
14607 $as_echo "$glib_cv_rtldglobal_broken" >&6; }
14608 if test "x$glib_cv_rtldglobal_broken" = "xyes"; then
14609 G_MODULE_BROKEN_RTLD_GLOBAL=1
14611 G_MODULE_BROKEN_RTLD_GLOBAL=0
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preceeding underscore in symbols" >&5
14614 $as_echo_n "checking for preceeding underscore in symbols... " >&6; }
14615 if ${glib_cv_uscore+:} false; then :
14616 $as_echo_n "(cached) " >&6
14619 if test "$cross_compiling" = yes; then :
14620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14622 as_fn_error $? "cannot run test program while cross compiling
14623 See \`config.log' for more details" "$LINENO" 5; }
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14629 int glib_underscore_test (void) { return 42; }
14631 void *f1 = (void*)0, *f2 = (void*)0, *handle;
14632 handle = dlopen ((void*)0, 0);
14634 f1 = dlsym (handle, "glib_underscore_test");
14635 f2 = dlsym (handle, "_glib_underscore_test");
14636 } return (!f2 || f1);
14639 if ac_fn_c_try_run "$LINENO"; then :
14644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14645 conftest.$ac_objext conftest.beam conftest.$ac_ext
14648 rm -f plugin.c plugin.o plugin.lo
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_uscore" >&5
14653 $as_echo "$glib_cv_uscore" >&6; }
14654 if test "x$glib_cv_uscore" = "xyes"; then
14655 G_MODULE_NEED_USCORE=1
14657 G_MODULE_NEED_USCORE=0
14660 LDFLAGS="$LDFLAGS_orig"
14661 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
14662 if test "x$ac_cv_func_dlerror" = xyes; then :
14663 G_MODULE_HAVE_DLERROR=1
14665 G_MODULE_HAVE_DLERROR=0
14670 if test -z "$G_MODULE_IMPL"; then
14684 @%:@ Check whether --with-threads was given.
14685 if test "${with_threads+set}" = set; then :
14686 withval=$with_threads; if test "x$with_threads" = x; then
14689 want_threads=$with_threads
14695 if test "x$enable_threads" = "xno"; then
14698 if test "x$want_threads" = "xnone"; then
14703 THREAD_NO_IMPLEMENTATION="You do not have any known thread system on your
14704 computer. glib will not be thread safe on your computer."
14706 FLAG_DOES_NOT_WORK="I can't find the MACRO, that enables thread safety on your
14707 platform (normally it's "_REENTRANT"). I'll not use any flag on
14708 compilation now, but then your programs might not work.
14709 Please provide information on how it is done on your system."
14711 LIBS_NOT_FOUND_1="I can't find the libraries for the thread implementation
14714 LIBS_NOT_FOUND_2=". Please choose another thread implementation or
14715 provide information on your thread implementation.
14716 You can also run 'configure --disable-threads'
14717 to compile without thread support."
14719 FUNC_NO_GETPWUID_R="the 'g_get_(user_name|real_name|home_dir|tmp_dir)'
14720 functions will not be MT-safe during their first call because
14721 there is no working 'getpwuid_r' on your system."
14723 FUNC_NO_LOCALTIME_R="the 'g_date_set_time' function will not be MT-safe
14724 because there is no 'localtime_r' on your system."
14728 if test "x$want_threads" = xyes || test "x$want_threads" = xsolaris; then
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cond_init in -lthread" >&5
14732 $as_echo_n "checking for cond_init in -lthread... " >&6; }
14733 if ${ac_cv_lib_thread_cond_init+:} false; then :
14734 $as_echo_n "(cached) " >&6
14736 ac_check_lib_save_LIBS=$LIBS
14737 LIBS="-lthread $LIBS"
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14751 return cond_init ();
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_lib_thread_cond_init=yes
14759 ac_cv_lib_thread_cond_init=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 LIBS=$ac_check_lib_save_LIBS
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_cond_init" >&5
14766 $as_echo "$ac_cv_lib_thread_cond_init" >&6; }
14767 if test "x$ac_cv_lib_thread_cond_init" = xyes; then :
14768 have_threads=solaris
14774 if test "x$want_threads" = xyes || test "x$want_threads" = xposix; then
14775 if test "x$have_threads" = xnone; then
14776 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14777 if test "x$ac_cv_header_pthread_h" = xyes; then :
14784 if test "x$want_threads" = xyes || test "x$want_threads" = xnspr; then
14785 if test "x$have_threads" = xnone; then
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRP_NewNakedCondVar in -lnspr21" >&5
14787 $as_echo_n "checking for PRP_NewNakedCondVar in -lnspr21... " >&6; }
14788 if ${ac_cv_lib_nspr21_PRP_NewNakedCondVar+:} false; then :
14789 $as_echo_n "(cached) " >&6
14791 ac_check_lib_save_LIBS=$LIBS
14792 LIBS="-lnspr21 $LIBS"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14802 char PRP_NewNakedCondVar ();
14806 return PRP_NewNakedCondVar ();
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 ac_cv_lib_nspr21_PRP_NewNakedCondVar=yes
14814 ac_cv_lib_nspr21_PRP_NewNakedCondVar=no
14816 rm -f core conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14818 LIBS=$ac_check_lib_save_LIBS
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&5
14821 $as_echo "$ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&6; }
14822 if test "x$ac_cv_lib_nspr21_PRP_NewNakedCondVar" = xyes; then :
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread implementation" >&5
14830 $as_echo_n "checking for thread implementation... " >&6; }
14832 if test "x$have_threads" = xnone && test "x$want_threads" != xno; then
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none available" >&5
14834 $as_echo "none available" >&6; }
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $THREAD_NO_IMPLEMENTATION" >&5
14836 $as_echo "$as_me: WARNING: $THREAD_NO_IMPLEMENTATION" >&2;}
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_threads" >&5
14839 $as_echo "$have_threads" >&6; }
14847 mutex_has_default=no
14848 case $have_threads in
14850 G_THREAD_LIBS=error
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
14852 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
14853 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
14854 $as_echo_n "(cached) " >&6
14856 ac_check_lib_save_LIBS=$LIBS
14857 LIBS="-lpthread $LIBS"
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14867 char pthread_attr_init ();
14871 return pthread_attr_init ();
14876 if ac_fn_c_try_link "$LINENO"; then :
14877 ac_cv_lib_pthread_pthread_attr_init=yes
14879 ac_cv_lib_pthread_pthread_attr_init=no
14881 rm -f core conftest.err conftest.$ac_objext \
14882 conftest$ac_exeext conftest.$ac_ext
14883 LIBS=$ac_check_lib_save_LIBS
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
14886 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
14887 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then :
14888 G_THREAD_LIBS="-lpthread"
14891 if test "x$G_THREAD_LIBS" = xerror; then
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5
14893 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; }
14894 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then :
14895 $as_echo_n "(cached) " >&6
14897 ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-lpthreads $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14908 char pthread_attr_init ();
14912 return pthread_attr_init ();
14917 if ac_fn_c_try_link "$LINENO"; then :
14918 ac_cv_lib_pthreads_pthread_attr_init=yes
14920 ac_cv_lib_pthreads_pthread_attr_init=no
14922 rm -f core conftest.err conftest.$ac_objext \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_lib_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
14927 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; }
14928 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then :
14929 G_THREAD_LIBS="-lpthreads"
14933 if test "x$G_THREAD_LIBS" = xerror; then
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lthread" >&5
14935 $as_echo_n "checking for pthread_attr_init in -lthread... " >&6; }
14936 if ${ac_cv_lib_thread_pthread_attr_init+:} false; then :
14937 $as_echo_n "(cached) " >&6
14939 ac_check_lib_save_LIBS=$LIBS
14940 LIBS="-lthread $LIBS"
14941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14944 /* Override any GCC internal prototype to avoid an error.
14945 Use char because int might match the return type of a GCC
14946 builtin and then its argument prototype would still apply. */
14950 char pthread_attr_init ();
14954 return pthread_attr_init ();
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_lib_thread_pthread_attr_init=yes
14962 ac_cv_lib_thread_pthread_attr_init=no
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14966 LIBS=$ac_check_lib_save_LIBS
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_pthread_attr_init" >&5
14969 $as_echo "$ac_cv_lib_thread_pthread_attr_init" >&6; }
14970 if test "x$ac_cv_lib_thread_pthread_attr_init" = xyes; then :
14971 G_THREAD_LIBS="-lthread"
14975 if test "x$G_THREAD_LIBS" = xerror; then
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5
14977 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; }
14978 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then :
14979 $as_echo_n "(cached) " >&6
14981 ac_check_lib_save_LIBS=$LIBS
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14986 /* Override any GCC internal prototype to avoid an error.
14987 Use char because int might match the return type of a GCC
14988 builtin and then its argument prototype would still apply. */
14992 char pthread_attr_init ();
14996 return pthread_attr_init ();
15001 if ac_fn_c_try_link "$LINENO"; then :
15002 ac_cv_lib_c_r_pthread_attr_init=yes
15004 ac_cv_lib_c_r_pthread_attr_init=no
15006 rm -f core conftest.err conftest.$ac_objext \
15007 conftest$ac_exeext conftest.$ac_ext
15008 LIBS=$ac_check_lib_save_LIBS
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
15011 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; }
15012 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then :
15013 G_THREAD_LIBS="-lc_r"
15017 if test "x$G_THREAD_LIBS" = xerror; then
15018 ac_fn_c_check_func "$LINENO" "pthread_attr_init" "ac_cv_func_pthread_attr_init"
15019 if test "x$ac_cv_func_pthread_attr_init" = xyes; then :
15024 if test "x$G_THREAD_LIBS" = xerror; then
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __d10_pthread_attr_init in -lthread" >&5
15026 $as_echo_n "checking for __d10_pthread_attr_init in -lthread... " >&6; }
15027 if ${ac_cv_lib_thread___d10_pthread_attr_init+:} false; then :
15028 $as_echo_n "(cached) " >&6
15030 ac_check_lib_save_LIBS=$LIBS
15031 LIBS="-lthread $LIBS"
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15035 /* Override any GCC internal prototype to avoid an error.
15036 Use char because int might match the return type of a GCC
15037 builtin and then its argument prototype would still apply. */
15041 char __d10_pthread_attr_init ();
15045 return __d10_pthread_attr_init ();
15050 if ac_fn_c_try_link "$LINENO"; then :
15051 ac_cv_lib_thread___d10_pthread_attr_init=yes
15053 ac_cv_lib_thread___d10_pthread_attr_init=no
15055 rm -f core conftest.err conftest.$ac_objext \
15056 conftest$ac_exeext conftest.$ac_ext
15057 LIBS=$ac_check_lib_save_LIBS
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread___d10_pthread_attr_init" >&5
15060 $as_echo "$ac_cv_lib_thread___d10_pthread_attr_init" >&6; }
15061 if test "x$ac_cv_lib_thread___d10_pthread_attr_init" = xyes; then :
15062 G_THREAD_LIBS="-lthread"
15063 G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE"
15067 if test "x$G_THREAD_LIBS" = xerror; then
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_attr_init_system in -lpthread" >&5
15069 $as_echo_n "checking for __pthread_attr_init_system in -lpthread... " >&6; }
15070 if ${ac_cv_lib_pthread___pthread_attr_init_system+:} false; then :
15071 $as_echo_n "(cached) " >&6
15073 ac_check_lib_save_LIBS=$LIBS
15074 LIBS="-lpthread $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15084 char __pthread_attr_init_system ();
15088 return __pthread_attr_init_system ();
15093 if ac_fn_c_try_link "$LINENO"; then :
15094 ac_cv_lib_pthread___pthread_attr_init_system=yes
15096 ac_cv_lib_pthread___pthread_attr_init_system=no
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_lib_save_LIBS
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_attr_init_system" >&5
15103 $as_echo "$ac_cv_lib_pthread___pthread_attr_init_system" >&6; }
15104 if test "x$ac_cv_lib_pthread___pthread_attr_init_system" = xyes; then :
15105 G_THREAD_LIBS="-lpthread"
15109 mutex_has_default=yes
15110 mutex_default_type='pthread_mutex_t'
15111 mutex_default_init='PTHREAD_MUTEX_INITIALIZER'
15112 mutex_header_file='pthread.h'
15113 g_threads_impl="POSIX"
15116 G_THREAD_LIBS=error
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cond_init in -lthread" >&5
15118 $as_echo_n "checking for cond_init in -lthread... " >&6; }
15119 if ${ac_cv_lib_thread_cond_init+:} false; then :
15120 $as_echo_n "(cached) " >&6
15122 ac_check_lib_save_LIBS=$LIBS
15123 LIBS="-lthread $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15137 return cond_init ();
15142 if ac_fn_c_try_link "$LINENO"; then :
15143 ac_cv_lib_thread_cond_init=yes
15145 ac_cv_lib_thread_cond_init=no
15147 rm -f core conftest.err conftest.$ac_objext \
15148 conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_lib_save_LIBS
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_cond_init" >&5
15152 $as_echo "$ac_cv_lib_thread_cond_init" >&6; }
15153 if test "x$ac_cv_lib_thread_cond_init" = xyes; then :
15154 G_THREAD_LIBS="-lthread"
15157 mutex_has_default=yes
15158 mutex_default_type='mutex_t'
15159 mutex_default_init="DEFAULTMUTEX"
15160 mutex_header_file='thread.h'
15161 g_threads_impl="SOLARIS"
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRP_NewNakedCondVar in -lnspr21" >&5
15165 $as_echo_n "checking for PRP_NewNakedCondVar in -lnspr21... " >&6; }
15166 if ${ac_cv_lib_nspr21_PRP_NewNakedCondVar+:} false; then :
15167 $as_echo_n "(cached) " >&6
15169 ac_check_lib_save_LIBS=$LIBS
15170 LIBS="-lnspr21 $LIBS"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15180 char PRP_NewNakedCondVar ();
15184 return PRP_NewNakedCondVar ();
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 ac_cv_lib_nspr21_PRP_NewNakedCondVar=yes
15192 ac_cv_lib_nspr21_PRP_NewNakedCondVar=no
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15196 LIBS=$ac_check_lib_save_LIBS
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&5
15199 $as_echo "$ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&6; }
15200 if test "x$ac_cv_lib_nspr21_PRP_NewNakedCondVar" = xyes; then :
15201 G_THREAD_LIBS="-lnspr21"
15204 g_threads_impl="NSPR"
15207 g_threads_impl="NONE"
15210 g_threads_impl="NONE"
15211 G_THREAD_LIBS=error
15215 if test "x$G_THREAD_LIBS" = xerror; then
15216 as_fn_error $? "$LIBS_NOT_FOUND_1$have_threads$LIBS_NOT_FOUND_2" "$LINENO" 5
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking necessary linker options" >&5
15220 $as_echo_n "checking necessary linker options... " >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_THREAD_LIBS" >&5
15222 $as_echo "$G_THREAD_LIBS" >&6; }
15225 if test x"$have_threads" != xnone; then
15226 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
15230 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
15231 if test x"$GCC" = xyes; then
15232 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads"
15236 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
15238 # FreeBSD 2.2.x shiped with gcc 2.7.2.x, which doesn't support
15243 # if we are not finding the ctime_r function, then we probably are
15244 # not using the proper multithread flag
15245 # Note: Digital UNIX 4.0d #defines ctime_r to _Pctime_r for gcc.
15246 old_CPPFLAGS=$CPPFLAGS
15247 CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15254 $EGREP "[^a-zA-Z_](_P)?ctime_r[^a-zA-Z_]" >/dev/null 2>&1; then :
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FLAG_DOES_NOT_WORK" >&5
15259 $as_echo "$as_me: WARNING: $FLAG_DOES_NOT_WORK" >&2;}
15263 CPPFLAGS=$old_CPPFLAGS
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking necessary compiler options" >&5
15266 $as_echo_n "checking necessary compiler options... " >&6; }
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_THREAD_CFLAGS" >&5
15269 $as_echo "$G_THREAD_CFLAGS" >&6; }
15275 if test x"$have_threads" != xnone; then
15276 glib_save_LIBS="$LIBS"
15277 glib_save_CFLAGS="$CFLAGS"
15278 # we are not doing the following for now, as this might require glib
15279 # to always be linked with the thread libs on some platforms.
15280 # LIBS="$LIBS $G_THREAD_LIBS"
15281 CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
15282 for ac_func in localtime_r rand_r
15284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15287 cat >>confdefs.h <<_ACEOF
15288 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15294 if test "$ac_cv_header_pwd_h" = "yes"; then
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r" >&5
15296 $as_echo_n "checking for getpwuid_r... " >&6; }
15297 if ${ac_cv_func_getpwuid_r+:} false; then :
15298 $as_echo_n "(cached) " >&6
15300 if test "$cross_compiling" = yes; then :
15301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15303 as_fn_error $? "cannot run test program while cross compiling
15304 See \`config.log' for more details" "$LINENO" 5; }
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15309 int main () { char buffer[10000], *pointer;
15310 char getpwuid_r (long, void*, void*,
15314 error = getpwuid_r (0, &buffer, &buffer,
15315 sizeof (buffer), &pointer);
15316 return errno == ENOSYS || error == ENOSYS;}
15318 if ac_fn_c_try_run "$LINENO"; then :
15319 ac_cv_func_getpwuid_r=yes
15321 ac_cv_func_getpwuid_r=no
15323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15324 conftest.$ac_objext conftest.beam conftest.$ac_ext
15329 if test "$ac_cv_func_getpwuid_r" = yes; then
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15331 $as_echo "yes" >&6; }
15332 $as_echo "@%:@define HAVE_GETPWUID_R 1" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15336 $as_echo "no" >&6; }
15338 if test "$ac_cv_func_getpwuid_r" = "yes"; then
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpwuid_r is posix like" >&5
15340 $as_echo_n "checking whether getpwuid_r is posix like... " >&6; }
15341 # The signature for the POSIX version is:
15342 # int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **)
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15344 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15345 if ${ac_cv_func_getpwuid_r_posix+:} false; then :
15346 $as_echo_n "(cached) " >&6
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15351 #include <sys/types.h>
15352 #include <stdlib.h>
15356 getpwuid_r((uid_t)0, NULL, NULL, (size_t)0, NULL);
15361 if ac_fn_c_try_compile "$LINENO"; then :
15362 ac_cv_func_getpwuid_r_posix=yes
15364 ac_cv_func_getpwuid_r_posix=no
15366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpwuid_r_posix" >&5
15370 $as_echo "$ac_cv_func_getpwuid_r_posix" >&6; }
15371 if test "x$ac_cv_func_getpwuid_r_posix" = "xyes"; then
15372 $as_echo "@%:@define HAVE_GETPWUID_R_POSIX 1" >>confdefs.h
15377 if test x"$have_threads" = xposix; then
15378 LIBS="$LIBS $G_THREAD_LIBS"
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15380 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15381 # PCThreads has pthread_getspecific(pthread_key_t, void **);
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15383 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15384 if ${glib_cv_sys_pthread_getspecific_posix+:} false; then :
15385 $as_echo_n "(cached) " >&6
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15389 #include <pthread.h>
15393 pthread_getspecific(0,NULL);
15398 if ac_fn_c_try_compile "$LINENO"; then :
15399 glib_cv_sys_pthread_getspecific_posix=no
15401 glib_cv_sys_pthread_getspecific_posix=yes
15403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_getspecific_posix" >&5
15407 $as_echo "$glib_cv_sys_pthread_getspecific_posix" >&6; }
15408 if test "x$glib_cv_sys_pthread_getspecific_posix" = "xyes"; then
15409 $as_echo "@%:@define HAVE_PTHREAD_GETSPECIFIC_POSIX 1" >>confdefs.h
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_mutex_trylock is posix like" >&5
15413 $as_echo_n "checking whether pthread_mutex_trylock is posix like... " >&6; }
15414 # DCE Threads return 1 as success, posix 0. what a mess.
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_mutex_trylock is posix like" >&5
15416 $as_echo_n "checking whether pthread_mutex_trylock is posix like... " >&6; }
15417 if ${glib_cv_sys_pthread_mutex_trylock_posix+:} false; then :
15418 $as_echo_n "(cached) " >&6
15420 if test "$cross_compiling" = yes; then :
15421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15423 as_fn_error $? "cannot run test program while cross compiling
15424 See \`config.log' for more details" "$LINENO" 5; }
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15428 #include <pthread.h>
15429 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
15431 return !pthread_mutex_trylock (&mutex); }
15433 if ac_fn_c_try_run "$LINENO"; then :
15434 glib_cv_sys_pthread_mutex_trylock_posix=no
15436 glib_cv_sys_pthread_mutex_trylock_posix=yes
15438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15439 conftest.$ac_objext conftest.beam conftest.$ac_ext
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_mutex_trylock_posix" >&5
15445 $as_echo "$glib_cv_sys_pthread_mutex_trylock_posix" >&6; }
15446 if test "x$glib_cv_sys_pthread_mutex_trylock_posix=no" = "xyes"; then
15447 $as_echo "@%:@define HAVE_PTHREAD_MUTEX_TRYLOCK_POSIX 1" >>confdefs.h
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_cond_timedwait is posix like" >&5
15451 $as_echo_n "checking whether pthread_cond_timedwait is posix like... " >&6; }
15452 # DCE Threads return -1 as failure, posix ETIMEDOUT.
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_cond_timedwait is posix like" >&5
15454 $as_echo_n "checking whether pthread_cond_timedwait is posix like... " >&6; }
15455 if ${glib_cv_sys_pthread_cond_timedwait_posix+:} false; then :
15456 $as_echo_n "(cached) " >&6
15458 if test "$cross_compiling" = yes; then :
15459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15461 as_fn_error $? "cannot run test program while cross compiling
15462 See \`config.log' for more details" "$LINENO" 5; }
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15466 #include <pthread.h>
15468 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
15469 pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
15470 struct timeval tval;
15471 struct timespec tspec;
15472 gettimeofday (&tval, NULL);
15473 tspec.tv_sec = tval.tv_sec;
15475 return pthread_cond_timedwait (&cond,&mutex,&tspec) != -1;}
15477 if ac_fn_c_try_run "$LINENO"; then :
15478 glib_cv_sys_pthread_cond_timedwait_posix=no
15480 glib_cv_sys_pthread_cond_timedwait_posix=yes
15482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15483 conftest.$ac_objext conftest.beam conftest.$ac_ext
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_cond_timedwait_posix" >&5
15489 $as_echo "$glib_cv_sys_pthread_cond_timedwait_posix" >&6; }
15490 if test "x$glib_cv_sys_pthread_cond_timedwait_posix" = "xyes"; then
15491 $as_echo "@%:@define HAVE_PTHREAD_COND_TIMEDWAIT_POSIX 1" >>confdefs.h
15495 LIBS="$glib_save_LIBS"
15496 CFLAGS="$glib_save_CFLAGS"
15499 if test "x$enable_threads" = "xyes"; then
15500 if test "$ac_cv_func_getpwuid_r" != "yes"; then
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FUNC_NO_GETPWUID_R" >&5
15502 $as_echo "$as_me: WARNING: $FUNC_NO_GETPWUID_R" >&2;}
15504 if test "$ac_cv_func_localtime_r" != "yes"; then
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FUNC_NO_LOCALTIME_R" >&5
15506 $as_echo "$as_me: WARNING: $FUNC_NO_LOCALTIME_R" >&2;}
15510 cat >>confdefs.h <<_ACEOF
15511 @%:@define G_THREAD_SOURCE "gthread-$have_threads.c"
15517 CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
15520 case "$mutex_has_default" in
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of $mutex_default_type" >&5
15523 $as_echo_n "checking size of $mutex_default_type... " >&6; }
15524 if ${glib_cv_sizeof_gmutex+:} false; then :
15525 $as_echo_n "(cached) " >&6
15527 if test "$cross_compiling" = yes; then :
15528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15530 as_fn_error $? "cannot run test program while cross compiling
15531 See \`config.log' for more details" "$LINENO" 5; }
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15536 #include <$mutex_header_file>
15539 FILE *f=fopen("conftestval", "w");
15541 fprintf(f, "%d\n", sizeof($mutex_default_type));
15545 if ac_fn_c_try_run "$LINENO"; then :
15546 glib_cv_sizeof_gmutex=`cat conftestval`
15548 glib_cv_sizeof_gmutex=0
15550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15551 conftest.$ac_objext conftest.beam conftest.$ac_ext
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sizeof_gmutex" >&5
15556 $as_echo "$glib_cv_sizeof_gmutex" >&6; }
15557 cat >>confdefs.h <<_ACEOF
15558 @%:@define GLIB_SIZEOF_GMUTEX $glib_cv_sizeof_gmutex
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking byte contents of $mutex_default_type" >&5
15563 $as_echo_n "checking byte contents of $mutex_default_type... " >&6; }
15564 if ${glib_cv_byte_contents_gmutex+:} false; then :
15565 $as_echo_n "(cached) " >&6
15567 if test "$cross_compiling" = yes; then :
15568 glib_cv_byte_contents_gmutex=0
15570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h. */
15573 #include <$mutex_header_file>
15576 static $mutex_default_type tv = $mutex_default_init;
15577 char *p = (char*) &tv;
15579 FILE *f=fopen("conftestval", "w");
15581 for (i = 0; i < $glib_cv_sizeof_gmutex; i++)
15582 fprintf(f, "%s%d", i?",":"", *(p++));
15587 if ac_fn_c_try_run "$LINENO"; then :
15588 glib_cv_byte_contents_gmutex=`cat conftestval`
15590 glib_cv_byte_contents_gmutex=0
15592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15593 conftest.$ac_objext conftest.beam conftest.$ac_ext
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_byte_contents_gmutex" >&5
15598 $as_echo "$glib_cv_byte_contents_gmutex" >&6; }
15599 cat >>confdefs.h <<_ACEOF
15600 @%:@define GLIB_BYTE_CONTENTS_GMUTEX $glib_cv_byte_contents_gmutex
15613 if test "x$cross_compiling" != "xyes"; then
15614 glib_sysdefso="glibconfig-sysdefs.h"
15615 glib_sysdef_msg=`echo POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 | sed 's/:[^ ]*//g'`
15616 if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system definitions for $glib_sysdef_msg" >&5
15622 $as_echo_n "checking system definitions for $glib_sysdef_msg... " >&6; }
15623 cat >confrun.c <<_______EOF
15625 #include <sys/types.h>
15626 #include <sys/poll.h>
15627 int main (int c, char **v) {
15628 FILE *f = fopen ("$glib_sysdefso", "a");
15631 for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do
15632 glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'`
15633 glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'`
15634 echo "#ifdef $glib_sysdef" >>confrun.c
15635 echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_sysdef);" >>confrun.c
15636 echo "#else" >>confrun.c
15637 if test $glib_sysdef != $glib_default; then
15638 echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_default);" >>confrun.c
15640 echo " fprintf (f, \"#define GLIB_SYSDEF_%s${glib_nl}\", \"$glib_sysdef\");" >>confrun.c
15642 echo "#endif" >>confrun.c
15644 echo "return 0; }" >>confrun.c
15645 if test "$cross_compiling" = yes; then :
15646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15648 as_fn_error $? "cannot run test program while cross compiling
15649 See \`config.log' for more details" "$LINENO" 5; }
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15655 if ac_fn_c_try_run "$LINENO"; then :
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15657 $as_echo "done" >&6; }
15659 for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do
15660 glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'`
15661 glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'`
15662 if test $glib_sysdef != $glib_default; then
15663 glib_default=" =$glib_default"
15667 echo "#define GLIB_SYSDEF_$glib_sysdef$glib_default" >>$glib_sysdefso
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
15670 $as_echo "failed" >&6; }
15672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15673 conftest.$ac_objext conftest.beam conftest.$ac_ext
15682 ac_config_commands="$ac_config_commands default-1"
15685 ac_config_files="$ac_config_files glib.spec Makefile glib-config gmodule/gmoduleconf.h gmodule/Makefile gthread/Makefile docs/Makefile docs/glib-config.1 tests/Makefile glib.pc gmodule.pc gthread.pc"
15687 ac_config_commands="$ac_config_commands default"
15689 cat >confcache <<\_ACEOF
15690 # This file is a shell script that caches the results of configure
15691 # tests run on this system so they can be shared between configure
15692 # scripts and configure runs, see configure's option --config-cache.
15693 # It is not useful on other systems. If it contains results you don't
15694 # want to keep, you may remove or edit it.
15696 # config.status only pays attention to the cache file if you give it
15697 # the --recheck option to rerun configure.
15699 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15700 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15701 # following values.
15705 # The following way of writing the cache mishandles newlines in values,
15706 # but we know of no workaround that is simple, portable, and efficient.
15707 # So, we kill variables containing newlines.
15708 # Ultrix sh set writes to stderr and can't be redirected directly,
15709 # and sets the high bit in the cache file unless we assign to the vars.
15711 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15712 eval ac_val=\$$ac_var
15716 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15717 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15720 _ | IFS | as_nl) ;; #(
15721 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15722 *) { eval $ac_var=; unset $ac_var;} ;;
15728 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15729 *${as_nl}ac_space=\ *)
15730 # `set' does not quote correctly, so add quotes: double-quote
15731 # substitution turns \\\\ into \\, and sed turns \\ into \.
15734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15737 # `set' quotes correctly as required by POSIX, so do not add quotes.
15738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15747 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15749 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15751 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15752 if test -w "$cache_file"; then
15753 if test "x$cache_file" != "x/dev/null"; then
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15755 $as_echo "$as_me: updating cache $cache_file" >&6;}
15756 if test ! -f "$cache_file" || test -h "$cache_file"; then
15757 cat confcache >"$cache_file"
15759 case $cache_file in #(
15761 mv -f confcache "$cache_file"$$ &&
15762 mv -f "$cache_file"$$ "$cache_file" ;; #(
15764 mv -f confcache "$cache_file" ;;
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15770 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15775 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15776 # Let make expand exec_prefix.
15777 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15779 DEFS=-DHAVE_CONFIG_H
15784 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15785 # 1. Remove the extension, and $U if already installed.
15786 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15787 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15788 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15789 # will be set to the directory where LIBOBJS objects are built.
15790 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15791 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15793 LIB@&t@OBJS=$ac_libobjs
15795 LTLIBOBJS=$ac_ltlibobjs
15798 if test -n "$EXEEXT"; then
15800 am__EXEEXT_FALSE='#'
15802 am__EXEEXT_TRUE='#'
15806 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15807 as_fn_error $? "conditional \"AMDEP\" was never defined.
15808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15810 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15811 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15814 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15815 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15818 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15819 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15823 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15828 : "${CONFIG_STATUS=./config.status}"
15830 ac_clean_files_save=$ac_clean_files
15831 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15833 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15837 # Generated by $as_me.
15838 # Run this file to recreate the current configuration.
15839 # Compiler output produced by configure, useful for debugging
15840 # configure, is in config.log if it exists.
15843 ac_cs_recheck=false
15846 SHELL=\${CONFIG_SHELL-$SHELL}
15849 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15850 ## -------------------- ##
15851 ## M4sh Initialization. ##
15852 ## -------------------- ##
15854 # Be more Bourne compatible
15855 DUALCASE=1; export DUALCASE # for MKS sh
15856 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15859 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15860 # is contrary to our usage. Disable this feature.
15861 alias -g '${1+"$@"}'='"$@"'
15862 setopt NO_GLOB_SUBST
15864 case `(set -o) 2>/dev/null` in @%:@(
15866 set -o posix ;; @%:@(
15876 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15877 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15880 # Prefer a ksh shell builtin over an external printf program on Solaris,
15881 # but without wasting forks for bash or zsh.
15882 if test -z "$BASH_VERSION$ZSH_VERSION" \
15883 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15884 as_echo='print -r --'
15885 as_echo_n='print -rn --'
15886 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15887 as_echo='printf %s\n'
15888 as_echo_n='printf %s'
15890 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15891 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15892 as_echo_n='/usr/ucb/echo -n'
15894 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15895 as_echo_n_body='eval
15899 expr "X$arg" : "X\\(.*\\)$as_nl";
15900 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15902 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15904 export as_echo_n_body
15905 as_echo_n='sh -c $as_echo_n_body as_echo'
15907 export as_echo_body
15908 as_echo='sh -c $as_echo_body as_echo'
15911 # The user is always right.
15912 if test "${PATH_SEPARATOR+set}" != set; then
15914 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15915 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15922 # We need space, tab and new line, in precisely that order. Quoting is
15923 # there to prevent editors from complaining about space-tab.
15924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15925 # splitting by setting IFS to empty value.)
15928 # Find who we are. Look in the path if we contain no directory separator.
15931 *[\\/]* ) as_myself=$0 ;;
15932 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15933 for as_dir in $PATH
15936 test -z "$as_dir" && as_dir=.
15937 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15943 # We did not find ourselves, most probably we were run as `sh COMMAND'
15944 # in which case we are not to be found in the path.
15945 if test "x$as_myself" = x; then
15948 if test ! -f "$as_myself"; then
15949 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15953 # Unset variables that we do not need and which cause bugs (e.g. in
15954 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15955 # suppresses any "Segmentation fault" message there. '((' could
15956 # trigger a bug in pdksh 5.2.14.
15957 for as_var in BASH_ENV ENV MAIL MAILPATH
15958 do eval test x\${$as_var+set} = xset \
15959 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15972 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15975 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15976 @%:@ ----------------------------------------
15977 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15978 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15979 @%:@ script with STATUS, using 1 if that was 0.
15982 as_status=$1; test $as_status -eq 0 && as_status=1
15984 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15985 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15987 $as_echo "$as_me: error: $2" >&2
15988 as_fn_exit $as_status
15992 @%:@ as_fn_set_status STATUS
15993 @%:@ -----------------------
15994 @%:@ Set @S|@? to STATUS, without forking.
15995 as_fn_set_status ()
15998 } @%:@ as_fn_set_status
16000 @%:@ as_fn_exit STATUS
16001 @%:@ -----------------
16002 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16006 as_fn_set_status $1
16010 @%:@ as_fn_unset VAR
16011 @%:@ ---------------
16012 @%:@ Portably unset VAR.
16015 { eval $1=; unset $1;}
16017 as_unset=as_fn_unset
16018 @%:@ as_fn_append VAR VALUE
16019 @%:@ ----------------------
16020 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
16021 @%:@ advantage of any shell optimizations that allow amortized linear growth over
16022 @%:@ repeated appends, instead of the typical quadratic growth present in naive
16023 @%:@ implementations.
16024 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16025 eval 'as_fn_append ()
16036 @%:@ as_fn_arith ARG...
16037 @%:@ ------------------
16038 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
16039 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
16040 @%:@ must be portable across @S|@(()) and expr.
16041 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16042 eval 'as_fn_arith ()
16049 as_val=`expr "$@" || test $? -eq 1`
16054 if expr a : '\(a\)' >/dev/null 2>&1 &&
16055 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16061 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16062 as_basename=basename
16067 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16073 as_me=`$as_basename -- "$0" ||
16074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16075 X"$0" : 'X\(//\)$' \| \
16076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16078 sed '/^.*\/\([^/][^/]*\)\/*$/{
16092 # Avoid depending upon Character Ranges.
16093 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16094 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16095 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16096 as_cr_digits='0123456789'
16097 as_cr_alnum=$as_cr_Letters$as_cr_digits
16099 ECHO_C= ECHO_N= ECHO_T=
16100 case `echo -n x` in @%:@(((((
16102 case `echo 'xy\c'` in
16103 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16105 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16112 rm -f conf$$ conf$$.exe conf$$.file
16113 if test -d conf$$.dir; then
16114 rm -f conf$$.dir/conf$$.file
16117 mkdir conf$$.dir 2>/dev/null
16119 if (echo >conf$$.file) 2>/dev/null; then
16120 if ln -s conf$$.file conf$$ 2>/dev/null; then
16122 # ... but there are two gotchas:
16123 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16124 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16125 # In both cases, we have to default to `cp -p'.
16126 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16128 elif ln conf$$.file conf$$ 2>/dev/null; then
16136 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16137 rmdir conf$$.dir 2>/dev/null
16142 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
16147 -*) as_dir=./$as_dir;;
16149 test -d "$as_dir" || eval $as_mkdir_p || {
16153 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16154 *) as_qdir=$as_dir;;
16156 as_dirs="'$as_qdir' $as_dirs"
16157 as_dir=`$as_dirname -- "$as_dir" ||
16158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16159 X"$as_dir" : 'X\(//\)[^/]' \| \
16160 X"$as_dir" : 'X\(//\)$' \| \
16161 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16162 $as_echo X"$as_dir" |
16163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16167 /^X\(\/\/\)[^/].*/{
16180 test -d "$as_dir" && break
16182 test -z "$as_dirs" || eval "mkdir $as_dirs"
16183 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16186 } @%:@ as_fn_mkdir_p
16187 if mkdir -p . 2>/dev/null; then
16188 as_mkdir_p='mkdir -p "$as_dir"'
16190 test -d ./-p && rmdir ./-p
16194 if test -x / >/dev/null 2>&1; then
16195 as_test_x='test -x'
16197 if ls -dL / >/dev/null 2>&1; then
16204 if test -d "$1"; then
16210 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
16211 ???[sx]*):;;*)false;;esac;fi
16215 as_executable_p=$as_test_x
16217 # Sed expression to map a string onto a valid CPP name.
16218 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16220 # Sed expression to map a string onto a valid variable name.
16221 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16225 ## ----------------------------------- ##
16226 ## Main body of $CONFIG_STATUS script. ##
16227 ## ----------------------------------- ##
16229 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16232 # Save the log message, to keep $0 and so on meaningful, and to
16233 # report actual input values of CONFIG_FILES etc. instead of their
16234 # values after options handling.
16236 This file was extended by $as_me, which was
16237 generated by GNU Autoconf 2.68. Invocation command line was
16239 CONFIG_FILES = $CONFIG_FILES
16240 CONFIG_HEADERS = $CONFIG_HEADERS
16241 CONFIG_LINKS = $CONFIG_LINKS
16242 CONFIG_COMMANDS = $CONFIG_COMMANDS
16245 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16250 case $ac_config_files in *"
16251 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16254 case $ac_config_headers in *"
16255 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16260 # Files that config.status was made for.
16261 config_files="$ac_config_files"
16262 config_headers="$ac_config_headers"
16263 config_commands="$ac_config_commands"
16267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16269 \`$as_me' instantiates files and other configuration actions
16270 from templates according to the current configuration. Unless the files
16271 and actions are specified as TAGs, all are instantiated by default.
16273 Usage: $0 [OPTION]... [TAG]...
16275 -h, --help print this help, then exit
16276 -V, --version print version number and configuration settings, then exit
16277 --config print configuration, then exit
16278 -q, --quiet, --silent
16279 do not print progress messages
16280 -d, --debug don't remove temporary files
16281 --recheck update $as_me by reconfiguring in the same conditions
16282 --file=FILE[:TEMPLATE]
16283 instantiate the configuration file FILE
16284 --header=FILE[:TEMPLATE]
16285 instantiate the configuration header FILE
16287 Configuration files:
16290 Configuration headers:
16293 Configuration commands:
16296 Report bugs to the package provider."
16299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16300 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16303 configured by $0, generated by GNU Autoconf 2.68,
16304 with options \\"\$ac_cs_config\\"
16306 Copyright (C) 2010 Free Software Foundation, Inc.
16307 This config.status script is free software; the Free Software Foundation
16308 gives unlimited permission to copy, distribute and modify it."
16315 test -n "\$AWK" || AWK=awk
16318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16319 # The default lists apply if the user does not specify any file.
16325 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16326 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16330 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16342 # Handling of the options.
16343 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16345 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16346 $as_echo "$ac_cs_version"; exit ;;
16347 --config | --confi | --conf | --con | --co | --c )
16348 $as_echo "$ac_cs_config"; exit ;;
16349 --debug | --debu | --deb | --de | --d | -d )
16351 --file | --fil | --fi | --f )
16354 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16355 '') as_fn_error $? "missing file argument" ;;
16357 as_fn_append CONFIG_FILES " '$ac_optarg'"
16358 ac_need_defaults=false;;
16359 --header | --heade | --head | --hea )
16362 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16364 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16365 ac_need_defaults=false;;
16367 # Conflict between --help and --header
16368 as_fn_error $? "ambiguous option: \`$1'
16369 Try \`$0 --help' for more information.";;
16370 --help | --hel | -h )
16371 $as_echo "$ac_cs_usage"; exit ;;
16372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16373 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16376 # This is an error.
16377 -*) as_fn_error $? "unrecognized option: \`$1'
16378 Try \`$0 --help' for more information." ;;
16380 *) as_fn_append ac_config_targets " $1"
16381 ac_need_defaults=false ;;
16387 ac_configure_extra_args=
16389 if $ac_cs_silent; then
16391 ac_configure_extra_args="$ac_configure_extra_args --silent"
16395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16396 if \$ac_cs_recheck; then
16397 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16399 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16400 CONFIG_SHELL='$SHELL'
16401 export CONFIG_SHELL
16406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16410 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16411 @%:@@%:@ Running $as_me. @%:@@%:@
16417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16421 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16424 # The HP-UX ksh and POSIX shell print the target directory to stdout
16425 # if CDPATH is set.
16426 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16428 sed_quote_subst='$sed_quote_subst'
16429 double_quote_subst='$double_quote_subst'
16430 delay_variable_subst='$delay_variable_subst'
16431 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16432 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16433 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16434 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16435 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16436 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16437 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16438 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16439 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16440 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16441 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16442 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16443 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16444 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16445 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16446 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16447 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16448 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16449 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16450 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16451 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16452 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16453 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16454 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16455 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16456 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16457 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16458 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16459 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16460 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16461 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16462 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16463 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16464 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16465 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16466 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16467 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16468 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16469 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16470 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16471 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16472 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16473 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16474 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16475 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16476 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16477 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16478 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16479 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16480 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16481 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16482 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16483 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16484 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16485 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16486 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"`'
16487 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16488 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16489 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16490 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16491 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16492 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16493 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16494 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16495 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16496 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16497 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16498 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16499 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16500 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16501 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16502 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16503 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16504 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16505 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16506 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16507 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16508 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16509 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16510 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16511 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16512 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16513 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16514 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16515 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16516 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16517 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16518 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16519 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16520 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16521 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16522 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16523 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16524 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16525 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16526 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16527 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16528 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16529 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16530 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16531 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16532 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16533 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16534 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16535 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16536 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16537 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16538 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16539 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16540 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16541 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16542 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16543 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16544 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16545 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16546 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16547 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16548 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16549 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16550 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16551 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16552 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16553 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16554 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16555 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16556 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16557 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16558 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16559 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16560 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16563 LTCFLAGS='$LTCFLAGS'
16564 compiler='$compiler_DEFAULT'
16566 # A function that is used when there is no print builtin or printf.
16567 func_fallback_echo ()
16569 eval 'cat <<_LTECHO_EOF
16574 # Quote evaled strings.
16588 deplibs_check_method \
16593 sharedlib_from_linklib_cmd \
16596 archiver_list_spec \
16602 lt_cv_sys_global_symbol_pipe \
16603 lt_cv_sys_global_symbol_to_cdecl \
16604 lt_cv_sys_global_symbol_to_c_name_address \
16605 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16606 nm_file_list_spec \
16607 lt_prog_compiler_no_builtin_flag \
16608 lt_prog_compiler_pic \
16609 lt_prog_compiler_wl \
16610 lt_prog_compiler_static \
16611 lt_cv_prog_compiler_c_o \
16620 export_dynamic_flag_spec \
16621 whole_archive_flag_spec \
16622 compiler_needs_object \
16624 allow_undefined_flag \
16625 no_undefined_flag \
16626 hardcode_libdir_flag_spec \
16627 hardcode_libdir_flag_spec_ld \
16628 hardcode_libdir_separator \
16632 variables_saved_for_relink \
16634 library_names_spec \
16636 install_override_mode \
16640 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16641 *[\\\\\\\`\\"\\\$]*)
16642 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16645 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16650 # Double-quote double-evaled strings.
16651 for var in reload_cmds \
16652 old_postinstall_cmds \
16653 old_postuninstall_cmds \
16655 extract_expsyms_cmds \
16656 old_archive_from_new_cmds \
16657 old_archive_from_expsyms_cmds \
16659 archive_expsym_cmds \
16661 module_expsym_cmds \
16662 export_symbols_cmds \
16666 postuninstall_cmds \
16668 sys_lib_search_path_spec \
16669 sys_lib_dlsearch_path_spec; do
16670 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16671 *[\\\\\\\`\\"\\\$]*)
16672 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16675 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16680 ac_aux_dir='$ac_aux_dir'
16681 xsi_shell='$xsi_shell'
16682 lt_shell_append='$lt_shell_append'
16684 # See if we are running on zsh, and set the options which allow our
16685 # commands through without removal of \ escapes INIT.
16686 if test -n "\${ZSH_VERSION+set}" ; then
16687 setopt NO_GLOB_SUBST
16693 TIMESTAMP='$TIMESTAMP'
16701 # Note that if two cases are the same, case goes with the first one.
16702 # Note also that this is inside an AC_OUTPUT_COMMAND. We do not depend
16703 # on variable expansion in case labels. Look at the generated config.status
16707 x$ac_cv_header_float_h)
16709 glib_mf=FLT_MIN glib_Mf=FLT_MAX
16710 glib_md=DBL_MIN glib_Md=DBL_MAX
16712 x$ac_cv_header_values_h)
16714 glib_mf=MINFLOAT glib_Mf=MAXFLOAT
16715 glib_md=MINDOUBLE glib_Md=MAXDOUBLE
16720 x$ac_cv_header_limits_h)
16722 glib_ms=SHRT_MIN glib_Ms=SHRT_MAX
16723 glib_mi=INT_MIN glib_Mi=INT_MAX
16724 glib_ml=LONG_MIN glib_Ml=LONG_MAX
16726 x$ac_cv_header_values_h)
16728 glib_ms=MINSHORT glib_Ms=MAXSHORT
16729 glib_mi=MININT glib_Mi=MAXINT
16730 glib_ml=MINLONG glib_Ml=MAXLONG
16734 if test x$ac_cv_header_sys_poll_h = xyes ; then
16735 glib_sys_poll_h=yes
16739 $ac_cv_sizeof_short) gint16=short;;
16740 $ac_cv_sizeof_int) gint16=int;;
16743 $ac_cv_sizeof_short) gint32=short;;
16744 $ac_cv_sizeof_int) gint32=int;;
16745 $ac_cv_sizeof_long) gint32=long;;
16751 glib_warning_guard=
16752 gint64_constant='(val)'
16754 $ac_cv_sizeof_long)
16757 glib_warning_guard=
16758 gint64_constant='(val##L)'
16760 $ac_cv_sizeof_long_long)
16762 glib_extension='G_GNUC_EXTENSION '
16763 glib_warning_guard="
16764 #if defined (__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
16765 # define G_GNUC_EXTENSION __extension__
16767 # define G_GNUC_EXTENSION
16771 gint64_constant='(G_GNUC_EXTENSION (val##LL))'
16775 gintbits=`expr $ac_cv_sizeof_int \* 8`
16776 glongbits=`expr $ac_cv_sizeof_long \* 8`
16779 case $ac_cv_sizeof_void_p in
16780 $ac_cv_sizeof_int) glib_gpi_cast='' glib_gpui_cast='' ;;
16781 $ac_cv_sizeof_long) glib_gpi_cast='(glong)' glib_gpui_cast='(gulong)' ;;
16782 *) glib_unknown_void_p=yes ;;
16787 x$ac_cv_func_atexit)
16789 #ifdef NeXT /* @#%@! NeXTStep */
16790 # define g_ATEXIT(proc) (!atexit (proc))
16792 # define g_ATEXIT(proc) (atexit (proc))
16795 x$ac_cv_func_on_exit)
16797 #define g_ATEXIT(proc) (on_exit ((void (*)(int, void*))(proc), NULL))"
16802 x$ac_cv_func_memmove)
16804 #define g_memmove(d,s,n) G_STMT_START { memmove ((d), (s), (n)); } G_STMT_END'
16808 /* We make the assumption that if memmove isn't available, then
16809 * bcopy will do the job. This isn't safe everywhere. (bcopy can't
16810 * necessarily handle overlapping copies) */
16811 #define g_memmove(d,s,n) G_STMT_START { bcopy ((s), (d), (n)); } G_STMT_END"
16816 #define GLIB_MAJOR_VERSION $GLIB_MAJOR_VERSION
16817 #define GLIB_MINOR_VERSION $GLIB_MINOR_VERSION
16818 #define GLIB_MICRO_VERSION $GLIB_MICRO_VERSION
16822 x$glib_cv_va_copy) glib_vacopy='#define G_VA_COPY va_copy' ;;
16823 x$glib_cv___va_copy) glib_vacopy='#define G_VA_COPY __va_copy' ;;
16827 if test x$glib_cv_va_val_copy = xno; then
16828 glib_vacopy="\$glib_vacopy
16829 #define G_VA_COPY_AS_ARRAY 1"
16832 if test x$glib_cv_hasinline = xyes; then
16833 glib_inline='#define G_HAVE_INLINE 1'
16835 if test x$glib_cv_has__inline = xyes; then
16836 glib_inline="\$glib_inline
16837 #define G_HAVE___INLINE 1"
16839 if test x$glib_cv_has__inline__ = xyes; then
16840 glib_inline="\$glib_inline
16841 #define G_HAVE___INLINE__ 1"
16845 x$ac_cv_c_bigendian)
16846 g_byte_order=G_BIG_ENDIAN
16851 g_byte_order=G_LITTLE_ENDIAN
16857 if test x$glib_wchar_h = xyes; then
16859 #define G_HAVE_WCHAR_H 1'
16861 if test x$glib_wctype_h = xyes; then
16863 #define G_HAVE_WCTYPE_H 1"
16865 if test x$glib_working_wctype = xno; then
16867 #define G_HAVE_BROKEN_WCTYPE 1"
16870 case x$enable_threads in
16871 xyes) g_enable_threads_def="#define";;
16872 *) g_enable_threads_def="#undef ";;
16875 g_threads_impl_def=$g_threads_impl
16877 g_mutex_has_default="$mutex_has_default"
16878 g_mutex_sizeof="$glib_cv_sizeof_gmutex"
16879 g_mutex_contents="$glib_cv_byte_contents_gmutex"
16884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16886 # Handling of arguments.
16887 for ac_config_target in $ac_config_targets
16889 case $ac_config_target in
16890 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16891 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16892 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16893 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16894 "glib.spec") CONFIG_FILES="$CONFIG_FILES glib.spec" ;;
16895 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16896 "glib-config") CONFIG_FILES="$CONFIG_FILES glib-config" ;;
16897 "gmodule/gmoduleconf.h") CONFIG_FILES="$CONFIG_FILES gmodule/gmoduleconf.h" ;;
16898 "gmodule/Makefile") CONFIG_FILES="$CONFIG_FILES gmodule/Makefile" ;;
16899 "gthread/Makefile") CONFIG_FILES="$CONFIG_FILES gthread/Makefile" ;;
16900 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16901 "docs/glib-config.1") CONFIG_FILES="$CONFIG_FILES docs/glib-config.1" ;;
16902 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16903 "glib.pc") CONFIG_FILES="$CONFIG_FILES glib.pc" ;;
16904 "gmodule.pc") CONFIG_FILES="$CONFIG_FILES gmodule.pc" ;;
16905 "gthread.pc") CONFIG_FILES="$CONFIG_FILES gthread.pc" ;;
16906 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
16908 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16913 # If the user did not use the arguments to specify the items to instantiate,
16914 # then the envvar interface is used. Set only those that are not.
16915 # We use the long form for the default assignment because of an extremely
16916 # bizarre bug on SunOS 4.1.3.
16917 if $ac_need_defaults; then
16918 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16919 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16920 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16923 # Have a temporary directory for convenience. Make it in the build tree
16924 # simply because there is no reason against having it here, and in addition,
16925 # creating and moving files from /tmp can sometimes cause problems.
16926 # Hook for its removal unless debugging.
16927 # Note that there is a small window in which the directory will not be cleaned:
16928 # after its creation but before its name has been assigned to `$tmp'.
16932 trap 'exit_status=$?
16933 : "${ac_tmp:=$tmp}"
16934 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16936 trap 'as_fn_exit 1' 1 2 13 15
16938 # Create a (secure) tmp directory for tmp files.
16941 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16945 tmp=./conf$$-$RANDOM
16946 (umask 077 && mkdir "$tmp")
16947 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16950 # Set up the scripts for CONFIG_FILES section.
16951 # No need to generate them if there are no CONFIG_FILES.
16952 # This happens for instance with `./config.status config.h'.
16953 if test -n "$CONFIG_FILES"; then
16956 ac_cr=`echo X | tr X '\015'`
16957 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16958 # But we know of no other shell where ac_cr would be empty at this
16959 # point, so we can use a bashism as a fallback.
16960 if test "x$ac_cr" = x; then
16961 eval ac_cr=\$\'\\r\'
16963 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16964 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16967 ac_cs_awk_cr=$ac_cr
16970 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16975 echo "cat >conf$$subs.awk <<_ACEOF" &&
16976 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16978 } >conf$$subs.sh ||
16979 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16980 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16982 for ac_last_try in false false false false false :; do
16983 . ./conf$$subs.sh ||
16984 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16986 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16987 if test $ac_delim_n = $ac_delim_num; then
16989 elif $ac_last_try; then
16990 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16992 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16995 rm -f conf$$subs.sh
16997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16998 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17002 s/^/S["/; s/!.*/"]=/
17012 s/\(.\{148\}\)..*/\1/
17014 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17026 s/\(.\{148\}\)..*/\1/
17028 s/["\\]/\\&/g; s/^/"/; s/$/"/
17032 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17037 ' <conf$$subs.awk | sed '
17042 ' >>$CONFIG_STATUS || ac_write_fail=1
17043 rm -f conf$$subs.awk
17044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17046 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17047 for (key in S) S_is_set[key] = 1
17053 nfields = split(line, field, "@")
17055 len = length(field[1])
17056 for (i = 2; i < nfields; i++) {
17058 keylen = length(key)
17059 if (S_is_set[key]) {
17061 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17062 len += length(value) + length(field[++i])
17073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17074 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17075 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17078 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17079 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17082 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17083 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17084 # trailing colons and then remove the whole line if VPATH becomes empty
17085 # (actually we leave an empty line to preserve line numbers).
17086 if test "x$srcdir" = x.; then
17087 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17106 fi # test -n "$CONFIG_FILES"
17108 # Set up the scripts for CONFIG_HEADERS section.
17109 # No need to generate them if there are no CONFIG_HEADERS.
17110 # This happens for instance with `./config.status Makefile'.
17111 if test -n "$CONFIG_HEADERS"; then
17112 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17116 # Transform confdefs.h into an awk script `defines.awk', embedded as
17117 # here-document in config.status, that substitutes the proper values into
17118 # config.h.in to produce config.h.
17120 # Create a delimiter string that does not exist in confdefs.h, to ease
17121 # handling of long lines.
17123 for ac_last_try in false false :; do
17124 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17125 if test -z "$ac_tt"; then
17127 elif $ac_last_try; then
17128 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17130 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17134 # For the awk script, D is an array of macro values keyed by name,
17135 # likewise P contains macro parameters if any. Preserve backslash
17136 # newline sequences.
17138 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17140 s/.\{148\}/&'"$ac_delim"'/g
17143 s/^[ ]*#[ ]*define[ ][ ]*/ /
17150 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17152 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17156 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17157 D["\1"]=" \3\\\\\\n"\\/p
17159 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17164 s/.\{148\}/&'"$ac_delim"'/g
17169 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17172 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17174 ' <confdefs.h | sed '
17175 s/'"$ac_delim"'/"\\\
17176 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17179 for (key in D) D_is_set[key] = 1
17182 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17184 split(line, arg, " ")
17185 if (arg[1] == "#") {
17189 defundef = substr(arg[1], 2)
17192 split(mac1, mac2, "(") #)
17194 prefix = substr(line, 1, index(line, defundef) - 1)
17195 if (D_is_set[macro]) {
17196 # Preserve the white space surrounding the "#".
17197 print prefix "define", macro P[macro] D[macro]
17200 # Replace #undef with comments. This is necessary, for example,
17201 # in the case of _POSIX_SOURCE, which is predefined and required
17202 # on some systems where configure will not decide to define it.
17203 if (defundef == "undef") {
17204 print "/*", prefix defundef, macro, "*/"
17212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17213 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17214 fi # test -n "$CONFIG_HEADERS"
17217 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17222 :[FHLC]) ac_mode=$ac_tag; continue;;
17224 case $ac_mode$ac_tag in
17226 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17227 :[FH]-) ac_tag=-:-;;
17228 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17245 -) ac_f="$ac_tmp/stdin";;
17246 *) # Look for the file first in the build tree, then in the source tree
17247 # (if the path is not absolute). The absolute path cannot be DOS-style,
17248 # because $ac_f cannot contain `:'.
17252 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17254 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17256 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17257 as_fn_append ac_file_inputs " '$ac_f'"
17260 # Let's still pretend it is `configure' which instantiates (i.e., don't
17261 # use $as_me), people would be surprised to read:
17262 # /* config.h. Generated by config.status. */
17263 configure_input='Generated from '`
17264 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17266 if test x"$ac_file" != x-; then
17267 configure_input="$ac_file. $configure_input"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17269 $as_echo "$as_me: creating $ac_file" >&6;}
17271 # Neutralize special characters interpreted by sed in replacement strings.
17272 case $configure_input in #(
17273 *\&* | *\|* | *\\* )
17274 ac_sed_conf_input=`$as_echo "$configure_input" |
17275 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17276 *) ac_sed_conf_input=$configure_input;;
17280 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17281 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17286 ac_dir=`$as_dirname -- "$ac_file" ||
17287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17288 X"$ac_file" : 'X\(//\)[^/]' \| \
17289 X"$ac_file" : 'X\(//\)$' \| \
17290 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17291 $as_echo X"$ac_file" |
17292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17296 /^X\(\/\/\)[^/].*/{
17309 as_dir="$ac_dir"; as_fn_mkdir_p
17313 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17315 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17316 # A ".." for each directory in $ac_dir_suffix.
17317 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17318 case $ac_top_builddir_sub in
17319 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17320 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17323 ac_abs_top_builddir=$ac_pwd
17324 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17325 # for backward compatibility:
17326 ac_top_builddir=$ac_top_build_prefix
17329 .) # We are building in place.
17331 ac_top_srcdir=$ac_top_builddir_sub
17332 ac_abs_top_srcdir=$ac_pwd ;;
17333 [\\/]* | ?:[\\/]* ) # Absolute name.
17334 ac_srcdir=$srcdir$ac_dir_suffix;
17335 ac_top_srcdir=$srcdir
17336 ac_abs_top_srcdir=$srcdir ;;
17337 *) # Relative name.
17338 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17339 ac_top_srcdir=$ac_top_build_prefix$srcdir
17340 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17342 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17352 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17353 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17355 ac_MKDIR_P=$MKDIR_P
17357 [\\/$]* | ?:[\\/]* ) ;;
17358 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17363 # If the template does not know about datarootdir, expand it.
17364 # FIXME: This hack should be removed a few years after 2.60.
17365 ac_datarootdir_hack=; ac_datarootdir_seen=
17376 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17377 *datarootdir*) ac_datarootdir_seen=yes;;
17378 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17380 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17383 ac_datarootdir_hack='
17384 s&@datadir@&$datadir&g
17385 s&@docdir@&$docdir&g
17386 s&@infodir@&$infodir&g
17387 s&@localedir@&$localedir&g
17388 s&@mandir@&$mandir&g
17389 s&\\\${datarootdir}&$datarootdir&g' ;;
17393 # Neutralize VPATH when `$srcdir' = `.'.
17394 # Shell code in configure.ac might set extrasub.
17395 # FIXME: do we really want to maintain this feature?
17396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17397 ac_sed_extra="$ac_vpsub
17400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17403 s|@configure_input@|$ac_sed_conf_input|;t t
17404 s&@top_builddir@&$ac_top_builddir_sub&;t t
17405 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17406 s&@srcdir@&$ac_srcdir&;t t
17407 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17408 s&@top_srcdir@&$ac_top_srcdir&;t t
17409 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17410 s&@builddir@&$ac_builddir&;t t
17411 s&@abs_builddir@&$ac_abs_builddir&;t t
17412 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17413 s&@INSTALL@&$ac_INSTALL&;t t
17414 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17415 $ac_datarootdir_hack
17417 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17418 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17420 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17421 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17422 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17423 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17425 which seems to be undefined. Please make sure it is defined" >&5
17426 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17427 which seems to be undefined. Please make sure it is defined" >&2;}
17429 rm -f "$ac_tmp/stdin"
17431 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17432 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17434 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17440 if test x"$ac_file" != x-; then
17442 $as_echo "/* $configure_input */" \
17443 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17444 } >"$ac_tmp/config.h" \
17445 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17446 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17448 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17451 mv "$ac_tmp/config.h" "$ac_file" \
17452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17455 $as_echo "/* $configure_input */" \
17456 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17457 || as_fn_error $? "could not create -" "$LINENO" 5
17459 # Compute "$ac_file"'s index in $config_headers.
17462 for _am_header in $config_headers :; do
17463 case $_am_header in
17464 $_am_arg | $_am_arg:* )
17467 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17470 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17471 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17472 X"$_am_arg" : 'X\(//\)[^/]' \| \
17473 X"$_am_arg" : 'X\(//\)$' \| \
17474 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17475 $as_echo X"$_am_arg" |
17476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17480 /^X\(\/\/\)[^/].*/{
17492 s/.*/./; q'`/stamp-h$_am_stamp_count
17495 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17496 $as_echo "$as_me: executing $ac_file commands" >&6;}
17501 case $ac_file$ac_mode in
17502 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17503 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17504 # are listed without --file. Let's play safe and only enable the eval
17505 # if we detect the quoting.
17506 case $CONFIG_FILES in
17507 *\'*) eval set x "$CONFIG_FILES" ;;
17508 *) set x $CONFIG_FILES ;;
17513 # Strip MF so we end up with the name of the file.
17514 mf=`echo "$mf" | sed -e 's/:.*$//'`
17515 # Check whether this is an Automake generated Makefile or not.
17516 # We used to match only the files named `Makefile.in', but
17517 # some people rename them; so instead we look at the file content.
17518 # Grep'ing the first line is not enough: some people post-process
17519 # each Makefile.in and add a new line on top of each file to say so.
17520 # Grep'ing the whole file is not good either: AIX grep has a line
17521 # limit of 2048, but all sed's we know have understand at least 4000.
17522 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17523 dirpart=`$as_dirname -- "$mf" ||
17524 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17525 X"$mf" : 'X\(//\)[^/]' \| \
17526 X"$mf" : 'X\(//\)$' \| \
17527 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17533 /^X\(\/\/\)[^/].*/{
17549 # Extract the definition of DEPDIR, am__include, and am__quote
17550 # from the Makefile without running `make'.
17551 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17552 test -z "$DEPDIR" && continue
17553 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17554 test -z "am__include" && continue
17555 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17556 # When using ansi2knr, U may be empty or an underscore; expand it
17557 U=`sed -n 's/^U = //p' < "$mf"`
17558 # Find all dependency output files, they are included files with
17559 # $(DEPDIR) in their names. We invoke sed twice because it is the
17560 # simplest approach to changing $(DEPDIR) to its actual value in the
17562 for file in `sed -n "
17563 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17564 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17565 # Make sure the directory exists.
17566 test -f "$dirpart/$file" && continue
17567 fdir=`$as_dirname -- "$file" ||
17568 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17569 X"$file" : 'X\(//\)[^/]' \| \
17570 X"$file" : 'X\(//\)$' \| \
17571 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17572 $as_echo X"$file" |
17573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17577 /^X\(\/\/\)[^/].*/{
17590 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17591 # echo "creating $dirpart/$file"
17592 echo '# dummy' > "$dirpart/$file"
17599 # See if we are running on zsh, and set the options which allow our
17600 # commands through without removal of \ escapes.
17601 if test -n "${ZSH_VERSION+set}" ; then
17602 setopt NO_GLOB_SUBST
17605 cfgfile="${ofile}T"
17606 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17609 cat <<_LT_EOF >> "$cfgfile"
17612 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17613 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17614 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17615 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17617 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17618 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17620 # Written by Gordon Matzigkeit, 1996
17622 # This file is part of GNU Libtool.
17624 # GNU Libtool is free software; you can redistribute it and/or
17625 # modify it under the terms of the GNU General Public License as
17626 # published by the Free Software Foundation; either version 2 of
17627 # the License, or (at your option) any later version.
17629 # As a special exception to the GNU General Public License,
17630 # if you distribute this file as part of a program or library that
17631 # is built using GNU Libtool, you may include this file under the
17632 # same distribution terms that you use for the rest of that program.
17634 # GNU Libtool is distributed in the hope that it will be useful,
17635 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17636 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17637 # GNU General Public License for more details.
17639 # You should have received a copy of the GNU General Public License
17640 # along with GNU Libtool; see the file COPYING. If not, a copy
17641 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17642 # obtained by writing to the Free Software Foundation, Inc.,
17643 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17646 # The names of the tagged configurations supported by this script.
17649 # ### BEGIN LIBTOOL CONFIG
17651 # Which release of libtool.m4 was used?
17652 macro_version=$macro_version
17653 macro_revision=$macro_revision
17655 # Whether or not to build shared libraries.
17656 build_libtool_libs=$enable_shared
17658 # Whether or not to build static libraries.
17659 build_old_libs=$enable_static
17661 # What type of objects to build.
17664 # Whether or not to optimize for fast installation.
17665 fast_install=$enable_fast_install
17667 # Shell to use when invoking shell scripts.
17670 # An echo program that protects backslashes.
17674 host_alias=$host_alias
17678 # The build system.
17679 build_alias=$build_alias
17683 # A sed program that does not truncate output.
17686 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17687 Xsed="\$SED -e 1s/^X//"
17689 # A grep program that handles long lines.
17695 # A literal string matcher.
17698 # A BSD- or MS-compatible name lister.
17701 # Whether we need soft or hard links.
17704 # What is the maximum length of a command?
17705 max_cmd_len=$max_cmd_len
17707 # Object file suffix (normally "o").
17710 # Executable file suffix (normally "").
17713 # whether the shell understands "unset".
17716 # turn spaces into newlines.
17719 # turn newlines into spaces.
17722 # convert \$build file names to \$host format.
17723 to_host_file_cmd=$lt_cv_to_host_file_cmd
17725 # convert \$build files to toolchain format.
17726 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17728 # An object symbol dumper.
17729 OBJDUMP=$lt_OBJDUMP
17731 # Method to check whether dependent libraries are shared objects.
17732 deplibs_check_method=$lt_deplibs_check_method
17734 # Command to use when deplibs_check_method = "file_magic".
17735 file_magic_cmd=$lt_file_magic_cmd
17737 # How to find potential files when deplibs_check_method = "file_magic".
17738 file_magic_glob=$lt_file_magic_glob
17740 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17741 want_nocaseglob=$lt_want_nocaseglob
17743 # DLL creation program.
17744 DLLTOOL=$lt_DLLTOOL
17746 # Command to associate shared and link libraries.
17747 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17752 # Flags to create an archive.
17753 AR_FLAGS=$lt_AR_FLAGS
17755 # How to feed a file listing to the archiver.
17756 archiver_list_spec=$lt_archiver_list_spec
17758 # A symbol stripping program.
17761 # Commands used to install an old-style archive.
17763 old_postinstall_cmds=$lt_old_postinstall_cmds
17764 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17766 # Whether to use a lock for old archive extraction.
17767 lock_old_archive_extraction=$lock_old_archive_extraction
17772 # LTCC compiler flags.
17773 LTCFLAGS=$lt_CFLAGS
17775 # Take the output of nm and produce a listing of raw symbols and C names.
17776 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17778 # Transform the output of nm in a proper C declaration.
17779 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17781 # Transform the output of nm in a C name address pair.
17782 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17784 # Transform the output of nm in a C name address pair when lib prefix is needed.
17785 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17787 # Specify filename containing input files for \$NM.
17788 nm_file_list_spec=$lt_nm_file_list_spec
17790 # The root where to search for dependent libraries,and in which our libraries should be installed.
17791 lt_sysroot=$lt_sysroot
17793 # The name of the directory that contains temporary libtool files.
17796 # Used to examine libraries when file_magic_cmd begins with "file".
17797 MAGIC_CMD=$MAGIC_CMD
17799 # Must we lock files when doing compilation?
17800 need_locks=$lt_need_locks
17803 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17805 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17806 DSYMUTIL=$lt_DSYMUTIL
17808 # Tool to change global to local symbols on Mac OS X.
17811 # Tool to manipulate fat objects and archives on Mac OS X.
17814 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17817 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17818 OTOOL64=$lt_OTOOL64
17820 # Old archive suffix (normally "a").
17823 # Shared library suffix (normally ".so").
17824 shrext_cmds=$lt_shrext_cmds
17826 # The commands to extract the exported symbol list from a shared archive.
17827 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17829 # Variables whose values should be saved in libtool wrapper scripts and
17830 # restored at link time.
17831 variables_saved_for_relink=$lt_variables_saved_for_relink
17833 # Do we need the "lib" prefix for modules?
17834 need_lib_prefix=$need_lib_prefix
17836 # Do we need a version for libraries?
17837 need_version=$need_version
17839 # Library versioning type.
17840 version_type=$version_type
17842 # Shared library runtime path variable.
17843 runpath_var=$runpath_var
17845 # Shared library path variable.
17846 shlibpath_var=$shlibpath_var
17848 # Is shlibpath searched before the hard-coded library search path?
17849 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17851 # Format of library name prefix.
17852 libname_spec=$lt_libname_spec
17854 # List of archive names. First name is the real one, the rest are links.
17855 # The last name is the one that the linker finds with -lNAME
17856 library_names_spec=$lt_library_names_spec
17858 # The coded name of the library, if different from the real name.
17859 soname_spec=$lt_soname_spec
17861 # Permission mode override for installation of shared libraries.
17862 install_override_mode=$lt_install_override_mode
17864 # Command to use after installation of a shared archive.
17865 postinstall_cmds=$lt_postinstall_cmds
17867 # Command to use after uninstallation of a shared archive.
17868 postuninstall_cmds=$lt_postuninstall_cmds
17870 # Commands used to finish a libtool library installation in a directory.
17871 finish_cmds=$lt_finish_cmds
17873 # As "finish_cmds", except a single script fragment to be evaled but
17875 finish_eval=$lt_finish_eval
17877 # Whether we should hardcode library paths into libraries.
17878 hardcode_into_libs=$hardcode_into_libs
17880 # Compile-time system search path for libraries.
17881 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17883 # Run-time system search path for libraries.
17884 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17886 # Whether dlopen is supported.
17887 dlopen_support=$enable_dlopen
17889 # Whether dlopen of programs is supported.
17890 dlopen_self=$enable_dlopen_self
17892 # Whether dlopen of statically linked programs is supported.
17893 dlopen_self_static=$enable_dlopen_self_static
17895 # Commands to strip libraries.
17896 old_striplib=$lt_old_striplib
17897 striplib=$lt_striplib
17900 # The linker used to build libraries.
17903 # How to create reloadable object files.
17904 reload_flag=$lt_reload_flag
17905 reload_cmds=$lt_reload_cmds
17907 # Commands used to build an old-style archive.
17908 old_archive_cmds=$lt_old_archive_cmds
17910 # A language specific compiler.
17913 # Is the compiler the GNU compiler?
17916 # Compiler flag to turn off builtin functions.
17917 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17919 # Additional compiler flags for building library objects.
17920 pic_flag=$lt_lt_prog_compiler_pic
17922 # How to pass a linker flag through the compiler.
17923 wl=$lt_lt_prog_compiler_wl
17925 # Compiler flag to prevent dynamic linking.
17926 link_static_flag=$lt_lt_prog_compiler_static
17928 # Does compiler simultaneously support -c and -o options?
17929 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17931 # Whether or not to add -lc for building shared libraries.
17932 build_libtool_need_lc=$archive_cmds_need_lc
17934 # Whether or not to disallow shared libs when runtime libs are static.
17935 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17937 # Compiler flag to allow reflexive dlopens.
17938 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17940 # Compiler flag to generate shared objects directly from archives.
17941 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17943 # Whether the compiler copes with passing no objects directly.
17944 compiler_needs_object=$lt_compiler_needs_object
17946 # Create an old-style archive from a shared archive.
17947 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17949 # Create a temporary old-style archive to link instead of a shared archive.
17950 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17952 # Commands used to build a shared archive.
17953 archive_cmds=$lt_archive_cmds
17954 archive_expsym_cmds=$lt_archive_expsym_cmds
17956 # Commands used to build a loadable module if different from building
17957 # a shared archive.
17958 module_cmds=$lt_module_cmds
17959 module_expsym_cmds=$lt_module_expsym_cmds
17961 # Whether we are building with GNU ld or not.
17962 with_gnu_ld=$lt_with_gnu_ld
17964 # Flag that allows shared libraries with undefined symbols to be built.
17965 allow_undefined_flag=$lt_allow_undefined_flag
17967 # Flag that enforces no undefined symbols.
17968 no_undefined_flag=$lt_no_undefined_flag
17970 # Flag to hardcode \$libdir into a binary during linking.
17971 # This must work even if \$libdir does not exist
17972 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17974 # If ld is used when linking, flag to hardcode \$libdir into a binary
17975 # during linking. This must work even if \$libdir does not exist.
17976 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17978 # Whether we need a single "-rpath" flag with a separated argument.
17979 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17981 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17982 # DIR into the resulting binary.
17983 hardcode_direct=$hardcode_direct
17985 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17986 # DIR into the resulting binary and the resulting library dependency is
17987 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17988 # library is relocated.
17989 hardcode_direct_absolute=$hardcode_direct_absolute
17991 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17992 # into the resulting binary.
17993 hardcode_minus_L=$hardcode_minus_L
17995 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17996 # into the resulting binary.
17997 hardcode_shlibpath_var=$hardcode_shlibpath_var
17999 # Set to "yes" if building a shared library automatically hardcodes DIR
18000 # into the library and all subsequent libraries and executables linked
18002 hardcode_automatic=$hardcode_automatic
18004 # Set to yes if linker adds runtime paths of dependent libraries
18005 # to runtime path list.
18006 inherit_rpath=$inherit_rpath
18008 # Whether libtool must link a program against all its dependency libraries.
18009 link_all_deplibs=$link_all_deplibs
18011 # Set to "yes" if exported symbols are required.
18012 always_export_symbols=$always_export_symbols
18014 # The commands to list exported symbols.
18015 export_symbols_cmds=$lt_export_symbols_cmds
18017 # Symbols that should not be listed in the preloaded symbols.
18018 exclude_expsyms=$lt_exclude_expsyms
18020 # Symbols that must always be exported.
18021 include_expsyms=$lt_include_expsyms
18023 # Commands necessary for linking programs (against libraries) with templates.
18024 prelink_cmds=$lt_prelink_cmds
18026 # Commands necessary for finishing linking programs.
18027 postlink_cmds=$lt_postlink_cmds
18029 # Specify filename containing input files.
18030 file_list_spec=$lt_file_list_spec
18032 # How to hardcode a shared library path into an executable.
18033 hardcode_action=$hardcode_action
18035 # ### END LIBTOOL CONFIG
18041 cat <<\_LT_EOF >> "$cfgfile"
18042 # AIX sometimes has problems with the GCC collect2 program. For some
18043 # reason, if we set the COLLECT_NAMES environment variable, the problems
18044 # vanish in a puff of smoke.
18045 if test "X${COLLECT_NAMES+set}" != Xset; then
18047 export COLLECT_NAMES
18054 ltmain="$ac_aux_dir/ltmain.sh"
18057 # We use sed instead of cat because bash on DJGPP gets confused if
18058 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18059 # text mode, it properly converts lines to CR/LF. This bash problem
18060 # is reportedly fixed, but why not run on old versions too?
18061 sed '$q' "$ltmain" >> "$cfgfile" \
18062 || (rm -f "$cfgfile"; exit 1)
18064 if test x"$xsi_shell" = xyes; then
18065 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18069 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18070 \ * ) func_dirname_result="${3}" ;;\
18072 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18073 && mv -f "$cfgfile.tmp" "$cfgfile" \
18074 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18075 test 0 -eq $? || _lt_function_replace_fail=:
18078 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18081 \ func_basename_result="${1##*/}"\
18082 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18083 && mv -f "$cfgfile.tmp" "$cfgfile" \
18084 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18085 test 0 -eq $? || _lt_function_replace_fail=:
18088 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18089 func_dirname_and_basename ()\
18092 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18093 \ * ) func_dirname_result="${3}" ;;\
18095 \ func_basename_result="${1##*/}"\
18096 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18097 && mv -f "$cfgfile.tmp" "$cfgfile" \
18098 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18099 test 0 -eq $? || _lt_function_replace_fail=:
18102 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18105 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18106 \ # positional parameters, so assign one to ordinary parameter first.\
18107 \ func_stripname_result=${3}\
18108 \ func_stripname_result=${func_stripname_result#"${1}"}\
18109 \ func_stripname_result=${func_stripname_result%"${2}"}\
18110 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18111 && mv -f "$cfgfile.tmp" "$cfgfile" \
18112 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18113 test 0 -eq $? || _lt_function_replace_fail=:
18116 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18117 func_split_long_opt ()\
18119 \ func_split_long_opt_name=${1%%=*}\
18120 \ func_split_long_opt_arg=${1#*=}\
18121 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18122 && mv -f "$cfgfile.tmp" "$cfgfile" \
18123 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18124 test 0 -eq $? || _lt_function_replace_fail=:
18127 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18128 func_split_short_opt ()\
18130 \ func_split_short_opt_arg=${1#??}\
18131 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18132 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18133 && mv -f "$cfgfile.tmp" "$cfgfile" \
18134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18135 test 0 -eq $? || _lt_function_replace_fail=:
18138 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18142 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18143 \ *) func_lo2o_result=${1} ;;\
18145 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18146 && mv -f "$cfgfile.tmp" "$cfgfile" \
18147 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18148 test 0 -eq $? || _lt_function_replace_fail=:
18151 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18154 func_xform_result=${1%.*}.lo\
18155 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18156 && mv -f "$cfgfile.tmp" "$cfgfile" \
18157 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18158 test 0 -eq $? || _lt_function_replace_fail=:
18161 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18164 func_arith_result=$(( $* ))\
18165 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18166 && mv -f "$cfgfile.tmp" "$cfgfile" \
18167 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18168 test 0 -eq $? || _lt_function_replace_fail=:
18171 sed -e '/^func_len ()$/,/^} # func_len /c\
18174 func_len_result=${#1}\
18175 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18176 && mv -f "$cfgfile.tmp" "$cfgfile" \
18177 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18178 test 0 -eq $? || _lt_function_replace_fail=:
18182 if test x"$lt_shell_append" = xyes; then
18183 sed -e '/^func_append ()$/,/^} # func_append /c\
18186 eval "${1}+=\\${2}"\
18187 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18188 && mv -f "$cfgfile.tmp" "$cfgfile" \
18189 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18190 test 0 -eq $? || _lt_function_replace_fail=:
18193 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18194 func_append_quoted ()\
18196 \ func_quote_for_eval "${2}"\
18197 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18198 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18199 && mv -f "$cfgfile.tmp" "$cfgfile" \
18200 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18201 test 0 -eq $? || _lt_function_replace_fail=:
18204 # Save a `func_append' function call where possible by direct use of '+='
18205 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18206 && mv -f "$cfgfile.tmp" "$cfgfile" \
18207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18208 test 0 -eq $? || _lt_function_replace_fail=:
18210 # Save a `func_append' function call even when '+=' is not available
18211 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18212 && mv -f "$cfgfile.tmp" "$cfgfile" \
18213 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18214 test 0 -eq $? || _lt_function_replace_fail=:
18217 if test x"$_lt_function_replace_fail" = x":"; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18219 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18223 mv -f "$cfgfile" "$ofile" ||
18224 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18230 ## Generate `glibconfig.h' in two cases
18231 ## 1. `config.status' is run either explicitly, or via configure.
18232 ## Esp. not when it is run in `Makefile' to generate makefiles and
18234 ## 2. CONFIG_OTHER is set explicitly
18236 ## Case 1 is difficult. We know that `automake' sets one of
18237 ## CONFIG_FILES or CONFIG_HEADERS to empty. This heuristic works
18238 ## only when AM_CONFIG_HEADER is set, however.
18240 if test -n "${CONFIG_FILES}" && test -n "${CONFIG_HEADERS}"; then
18241 # Both CONFIG_FILES and CONFIG_HEADERS are non-empty ==> Case 1
18242 CONFIG_OTHER=${CONFIG_OTHER:-glibconfig.h}
18244 case "$CONFIG_OTHER" in
18246 echo creating glibconfig.h
18247 outfile=glibconfig.h-tmp
18248 cat > $outfile <<\_______EOF
18251 * This is a generated file. Please modify `configure.in'
18254 #ifndef GLIBCONFIG_H
18255 #define GLIBCONFIG_H
18259 if test x$glib_limits_h = xyes; then
18260 echo '#include <limits.h>' >> $outfile
18262 if test x$glib_float_h = xyes; then
18263 echo '#include <float.h>' >> $outfile
18265 if test x$glib_values_h = xyes; then
18266 echo '#include <values.h>' >> $outfile
18268 if test x$g_mutex_header_file != x; then
18269 echo '#include <'"$g_mutex_header_file"'>' >> $outfile
18271 if test x$glib_sys_poll_h = xyes; then
18272 echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile
18275 cat >> $outfile <<_______EOF
18279 #endif /* __cplusplus */
18281 #define G_MINFLOAT $glib_mf
18282 #define G_MAXFLOAT $glib_Mf
18283 #define G_MINDOUBLE $glib_md
18284 #define G_MAXDOUBLE $glib_Md
18285 #define G_MINSHORT $glib_ms
18286 #define G_MAXSHORT $glib_Ms
18287 #define G_MININT $glib_mi
18288 #define G_MAXINT $glib_Mi
18289 #define G_MINLONG $glib_ml
18290 #define G_MAXLONG $glib_Ml
18295 ### this should always be true in a modern C/C++ compiler
18296 cat >>$outfile <<_______EOF
18297 typedef signed char gint8;
18298 typedef unsigned char guint8;
18302 if test -n "$gint16"; then
18303 cat >>$outfile <<_______EOF
18304 typedef signed $gint16 gint16;
18305 typedef unsigned $gint16 guint16;
18310 if test -n "$gint32"; then
18311 cat >>$outfile <<_______EOF
18312 typedef signed $gint32 gint32;
18313 typedef unsigned $gint32 guint32;
18318 if test -n "$gint64"; then
18319 cat >>$outfile <<_______EOF
18320 ${glib_warning_guard}#define G_HAVE_GINT64 1
18322 ${glib_extension}typedef signed $gint64 gint64;
18323 ${glib_extension}typedef unsigned $gint64 guint64;
18325 #define G_GINT64_CONSTANT(val) $gint64_constant
18330 if test -z "$glib_unknown_void_p"; then
18331 cat >>$outfile <<_______EOF
18333 #define GPOINTER_TO_INT(p) ((gint) ${glib_gpi_cast} (p))
18334 #define GPOINTER_TO_UINT(p) ((guint) ${glib_gpui_cast} (p))
18336 #define GINT_TO_POINTER(i) ((gpointer) ${glib_gpi_cast} (i))
18337 #define GUINT_TO_POINTER(u) ((gpointer) ${glib_gpui_cast} (u))
18340 echo '#error SIZEOF_VOID_P unknown - This should never happen' >>$outfile
18345 cat >>$outfile <<_______EOF
18353 #define G_HAVE_INLINE 1
18354 #else /* !__cplusplus */
18356 #endif /* !__cplusplus */
18360 if test x$g_mutex_has_default = xyes; then
18361 cat >>$outfile <<_______EOF
18362 $g_enable_threads_def G_THREADS_ENABLED
18363 #define G_THREADS_IMPL_$g_threads_impl_def
18364 typedef struct _GStaticMutex GStaticMutex;
18365 struct _GStaticMutex
18367 struct _GMutex *runtime_mutex;
18369 char pad[$g_mutex_sizeof];
18370 double dummy_double;
18371 void *dummy_pointer;
18375 #define G_STATIC_MUTEX_INIT { NULL, { { $g_mutex_contents} } }
18376 #define g_static_mutex_get_mutex(mutex) \
18377 (g_thread_use_default_impl ? ((GMutex*) &((mutex)->aligned_pad_u)) : \
18378 g_static_mutex_get_mutex_impl (&((mutex)->runtime_mutex)))
18381 cat >>$outfile <<_______EOF
18382 $g_enable_threads_def G_THREADS_ENABLED
18383 #define G_THREADS_IMPL_$g_threads_impl_def
18384 typedef struct _GMutex* GStaticMutex;
18385 #define G_STATIC_MUTEX_INIT NULL
18386 #define g_static_mutex_get_mutex(mutex) (g_static_mutex_get_mutex_impl (mutex))
18391 g_bit_sizes="16 32"
18392 if test -n "$gint64"; then
18393 g_bit_sizes="$g_bit_sizes 64"
18395 for bits in $g_bit_sizes; do
18396 cat >>$outfile <<_______EOF
18397 #define GINT${bits}_TO_${g_bs_native}(val) ((gint${bits}) (val))
18398 #define GUINT${bits}_TO_${g_bs_native}(val) ((guint${bits}) (val))
18399 #define GINT${bits}_TO_${g_bs_alien}(val) ((gint${bits}) GUINT${bits}_SWAP_LE_BE (val))
18400 #define GUINT${bits}_TO_${g_bs_alien}(val) (GUINT${bits}_SWAP_LE_BE (val))
18404 cat >>$outfile <<_______EOF
18405 #define GLONG_TO_LE(val) ((glong) GINT${glongbits}_TO_LE (val))
18406 #define GULONG_TO_LE(val) ((gulong) GUINT${glongbits}_TO_LE (val))
18407 #define GLONG_TO_BE(val) ((glong) GINT${glongbits}_TO_BE (val))
18408 #define GULONG_TO_BE(val) ((gulong) GUINT${glongbits}_TO_BE (val))
18409 #define GINT_TO_LE(val) ((gint) GINT${gintbits}_TO_LE (val))
18410 #define GUINT_TO_LE(val) ((guint) GUINT${gintbits}_TO_LE (val))
18411 #define GINT_TO_BE(val) ((gint) GINT${gintbits}_TO_BE (val))
18412 #define GUINT_TO_BE(val) ((guint) GUINT${gintbits}_TO_BE (val))
18413 #define G_BYTE_ORDER $g_byte_order
18417 if test -r glibconfig-sysdefs.h; then
18418 cat glibconfig-sysdefs.h >>$outfile
18422 cat >>$outfile <<_______EOF
18429 #endif /* __cplusplus */
18431 #endif /* GLIBCONFIG_H */
18435 if cmp -s $outfile glibconfig.h; then
18436 echo glibconfig.h is unchanged
18439 mv $outfile glibconfig.h
18443 "default":C) case "$CONFIG_FILES" in
18444 *glib-config*)chmod +x glib-config;;
18453 ac_clean_files=$ac_clean_files_save
18455 test $ac_write_fail = 0 ||
18456 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18459 # configure is writing to config.log, and then calls config.status.
18460 # config.status does its own redirection, appending to config.log.
18461 # Unfortunately, on DOS this fails, as config.log is still kept open
18462 # by configure, so config.status won't be able to write to it; its
18463 # output is simply discarded. So we exec the FD to /dev/null,
18464 # effectively closing config.log, so it can be properly (re)opened and
18465 # appended to by config.status. When coming back to configure, we
18466 # need to make the FD available again.
18467 if test "$no_create" != yes; then
18469 ac_config_status_args=
18470 test "$silent" = yes &&
18471 ac_config_status_args="$ac_config_status_args --quiet"
18473 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18475 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18476 # would make configure fail if this is the last instruction.
18477 $ac_cs_success || as_fn_exit 1
18479 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18481 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}