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`
7929 if test -n "$compiler"; then
7931 lt_prog_compiler_no_builtin_flag=
7933 if test "$GCC" = yes; then
7934 case $cc_basename in
7936 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7938 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7942 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7943 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7944 $as_echo_n "(cached) " >&6
7946 lt_cv_prog_compiler_rtti_exceptions=no
7947 ac_outfile=conftest.$ac_objext
7948 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7949 lt_compiler_flag="-fno-rtti -fno-exceptions"
7950 # Insert the option either (1) after the last *FLAGS variable, or
7951 # (2) before a word containing "conftest.", or (3) at the end.
7952 # Note that $ac_compile itself does not contain backslashes and begins
7953 # with a dollar sign (not a hyphen), so the echo should work correctly.
7954 # The option is referenced via a variable to avoid confusing sed.
7955 lt_compile=`echo "$ac_compile" | $SED \
7956 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7958 -e 's:$: $lt_compiler_flag:'`
7959 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7960 (eval "$lt_compile" 2>conftest.err)
7962 cat conftest.err >&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 if (exit $ac_status) && test -s "$ac_outfile"; then
7965 # The compiler can only warn and ignore the option if not recognized
7966 # So say no if there are warnings other than the usual output.
7967 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7968 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7969 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7970 lt_cv_prog_compiler_rtti_exceptions=yes
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7977 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7979 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7980 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7992 lt_prog_compiler_wl=
7993 lt_prog_compiler_pic=
7994 lt_prog_compiler_static=
7997 if test "$GCC" = yes; then
7998 lt_prog_compiler_wl='-Wl,'
7999 lt_prog_compiler_static='-static'
8003 # All AIX code is PIC.
8004 if test "$host_cpu" = ia64; then
8005 # AIX 5 now supports IA64 processor
8006 lt_prog_compiler_static='-Bstatic'
8013 # see comment about AmigaOS4 .so support
8014 lt_prog_compiler_pic='-fPIC'
8017 # FIXME: we need at least 68020 code to build shared libraries, but
8018 # adding the `-m68020' flag to GCC prevents building anything better,
8020 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8025 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8026 # PIC is the default for these OSes.
8029 mingw* | cygwin* | pw32* | os2* | cegcc*)
8030 # This hack is so that the source file can tell whether it is being
8031 # built for inclusion in a dll (and should export symbols for example).
8032 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8033 # (--disable-auto-import) libraries
8034 lt_prog_compiler_pic='-DDLL_EXPORT'
8037 darwin* | rhapsody*)
8038 # PIC is the default on this platform
8039 # Common symbols not allowed in MH_DYLIB files
8040 lt_prog_compiler_pic='-fno-common'
8044 # PIC is the default for Haiku.
8045 # The "-static" flag exists, but is broken.
8046 lt_prog_compiler_static=
8050 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8051 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8052 # sets the default TLS model and affects inlining.
8058 lt_prog_compiler_pic='-fPIC'
8064 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8065 # Instead, we relocate shared libraries at runtime.
8069 # Just because we use GCC doesn't mean we suddenly get shared libraries
8070 # on systems that don't support them.
8071 lt_prog_compiler_can_build_shared=no
8076 # QNX uses GNU C++, but need to define -shared option too, otherwise
8078 lt_prog_compiler_pic='-fPIC -shared'
8082 if test -d /usr/nec; then
8083 lt_prog_compiler_pic=-Kconform_pic
8088 lt_prog_compiler_pic='-fPIC'
8092 case $cc_basename in
8093 nvcc*) # Cuda Compiler Driver 2.2
8094 lt_prog_compiler_wl='-Xlinker '
8095 lt_prog_compiler_pic='-Xcompiler -fPIC'
8099 # PORTME Check for flag to pass linker flags through the system compiler.
8102 lt_prog_compiler_wl='-Wl,'
8103 if test "$host_cpu" = ia64; then
8104 # AIX 5 now supports IA64 processor
8105 lt_prog_compiler_static='-Bstatic'
8107 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8111 mingw* | cygwin* | pw32* | os2* | cegcc*)
8112 # This hack is so that the source file can tell whether it is being
8113 # built for inclusion in a dll (and should export symbols for example).
8114 lt_prog_compiler_pic='-DDLL_EXPORT'
8117 hpux9* | hpux10* | hpux11*)
8118 lt_prog_compiler_wl='-Wl,'
8119 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8126 lt_prog_compiler_pic='+Z'
8129 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8130 lt_prog_compiler_static='${wl}-a ${wl}archive'
8133 irix5* | irix6* | nonstopux*)
8134 lt_prog_compiler_wl='-Wl,'
8135 # PIC (with -KPIC) is the default.
8136 lt_prog_compiler_static='-non_shared'
8139 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8140 case $cc_basename in
8141 # old Intel for x86_64 which still supported -KPIC.
8143 lt_prog_compiler_wl='-Wl,'
8144 lt_prog_compiler_pic='-KPIC'
8145 lt_prog_compiler_static='-static'
8147 # icc used to be incompatible with GCC.
8148 # ICC 10 doesn't accept -KPIC any more.
8150 lt_prog_compiler_wl='-Wl,'
8151 lt_prog_compiler_pic='-fPIC'
8152 lt_prog_compiler_static='-static'
8154 # Lahey Fortran 8.1.
8156 lt_prog_compiler_wl='-Wl,'
8157 lt_prog_compiler_pic='--shared'
8158 lt_prog_compiler_static='--static'
8161 # NAG Fortran compiler
8162 lt_prog_compiler_wl='-Wl,-Wl,,'
8163 lt_prog_compiler_pic='-PIC'
8164 lt_prog_compiler_static='-Bstatic'
8166 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8167 # Portland Group compilers (*not* the Pentium gcc compiler,
8168 # which looks to be a dead project)
8169 lt_prog_compiler_wl='-Wl,'
8170 lt_prog_compiler_pic='-fpic'
8171 lt_prog_compiler_static='-Bstatic'
8174 lt_prog_compiler_wl='-Wl,'
8175 # All Alpha code is PIC.
8176 lt_prog_compiler_static='-non_shared'
8178 xl* | bgxl* | bgf* | mpixl*)
8179 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8180 lt_prog_compiler_wl='-Wl,'
8181 lt_prog_compiler_pic='-qpic'
8182 lt_prog_compiler_static='-qstaticlink'
8185 case `$CC -V 2>&1 | sed 5q` in
8186 *Sun\ F* | *Sun*Fortran*)
8187 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8188 lt_prog_compiler_pic='-KPIC'
8189 lt_prog_compiler_static='-Bstatic'
8190 lt_prog_compiler_wl=''
8194 lt_prog_compiler_pic='-KPIC'
8195 lt_prog_compiler_static='-Bstatic'
8196 lt_prog_compiler_wl='-Wl,'
8204 lt_prog_compiler_pic='-KPIC'
8205 lt_prog_compiler_static='-Bstatic'
8209 # QNX uses GNU C++, but need to define -shared option too, otherwise
8211 lt_prog_compiler_pic='-fPIC -shared'
8214 osf3* | osf4* | osf5*)
8215 lt_prog_compiler_wl='-Wl,'
8216 # All OSF/1 code is PIC.
8217 lt_prog_compiler_static='-non_shared'
8221 lt_prog_compiler_static='-non_shared'
8225 lt_prog_compiler_pic='-KPIC'
8226 lt_prog_compiler_static='-Bstatic'
8227 case $cc_basename in
8228 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8229 lt_prog_compiler_wl='-Qoption ld ';;
8231 lt_prog_compiler_wl='-Wl,';;
8236 lt_prog_compiler_wl='-Qoption ld '
8237 lt_prog_compiler_pic='-PIC'
8238 lt_prog_compiler_static='-Bstatic'
8241 sysv4 | sysv4.2uw2* | sysv4.3*)
8242 lt_prog_compiler_wl='-Wl,'
8243 lt_prog_compiler_pic='-KPIC'
8244 lt_prog_compiler_static='-Bstatic'
8248 if test -d /usr/nec ;then
8249 lt_prog_compiler_pic='-Kconform_pic'
8250 lt_prog_compiler_static='-Bstatic'
8254 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8255 lt_prog_compiler_wl='-Wl,'
8256 lt_prog_compiler_pic='-KPIC'
8257 lt_prog_compiler_static='-Bstatic'
8261 lt_prog_compiler_wl='-Wl,'
8262 lt_prog_compiler_can_build_shared=no
8266 lt_prog_compiler_pic='-pic'
8267 lt_prog_compiler_static='-Bstatic'
8271 lt_prog_compiler_can_build_shared=no
8277 # For platforms which do not support PIC, -DPIC is meaningless:
8279 lt_prog_compiler_pic=
8282 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8287 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8288 if ${lt_cv_prog_compiler_pic+:} false; then :
8289 $as_echo_n "(cached) " >&6
8291 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8294 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8295 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8298 # Check to make sure the PIC flag actually works.
8300 if test -n "$lt_prog_compiler_pic"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8302 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8303 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8304 $as_echo_n "(cached) " >&6
8306 lt_cv_prog_compiler_pic_works=no
8307 ac_outfile=conftest.$ac_objext
8308 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8309 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8310 # Insert the option either (1) after the last *FLAGS variable, or
8311 # (2) before a word containing "conftest.", or (3) at the end.
8312 # Note that $ac_compile itself does not contain backslashes and begins
8313 # with a dollar sign (not a hyphen), so the echo should work correctly.
8314 # The option is referenced via a variable to avoid confusing sed.
8315 lt_compile=`echo "$ac_compile" | $SED \
8316 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8317 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8318 -e 's:$: $lt_compiler_flag:'`
8319 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8320 (eval "$lt_compile" 2>conftest.err)
8322 cat conftest.err >&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 if (exit $ac_status) && test -s "$ac_outfile"; then
8325 # The compiler can only warn and ignore the option if not recognized
8326 # So say no if there are warnings other than the usual output.
8327 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8328 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8329 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8330 lt_cv_prog_compiler_pic_works=yes
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8337 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8339 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8340 case $lt_prog_compiler_pic in
8342 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8345 lt_prog_compiler_pic=
8346 lt_prog_compiler_can_build_shared=no
8362 # Check to make sure the static flag actually works.
8364 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8366 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8367 if ${lt_cv_prog_compiler_static_works+:} false; then :
8368 $as_echo_n "(cached) " >&6
8370 lt_cv_prog_compiler_static_works=no
8371 save_LDFLAGS="$LDFLAGS"
8372 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8373 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8374 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8375 # The linker can only warn and ignore the option if not recognized
8376 # So say no if there are warnings
8377 if test -s conftest.err; then
8378 # Append any errors to the config.log.
8379 cat conftest.err 1>&5
8380 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8381 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8382 if diff conftest.exp conftest.er2 >/dev/null; then
8383 lt_cv_prog_compiler_static_works=yes
8386 lt_cv_prog_compiler_static_works=yes
8390 LDFLAGS="$save_LDFLAGS"
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8394 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8396 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8399 lt_prog_compiler_static=
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8409 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8410 if ${lt_cv_prog_compiler_c_o+:} false; then :
8411 $as_echo_n "(cached) " >&6
8413 lt_cv_prog_compiler_c_o=no
8414 $RM -r conftest 2>/dev/null
8418 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8420 lt_compiler_flag="-o out/conftest2.$ac_objext"
8421 # Insert the option either (1) after the last *FLAGS variable, or
8422 # (2) before a word containing "conftest.", or (3) at the end.
8423 # Note that $ac_compile itself does not contain backslashes and begins
8424 # with a dollar sign (not a hyphen), so the echo should work correctly.
8425 lt_compile=`echo "$ac_compile" | $SED \
8426 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8427 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8428 -e 's:$: $lt_compiler_flag:'`
8429 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8430 (eval "$lt_compile" 2>out/conftest.err)
8432 cat out/conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8436 # The compiler can only warn and ignore the option if not recognized
8437 # So say no if there are warnings
8438 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8439 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8440 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8441 lt_cv_prog_compiler_c_o=yes
8446 # SGI C++ compiler will create directory out/ii_files/ for
8447 # template instantiation
8448 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8449 $RM out/* && rmdir out
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8456 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8464 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8465 if ${lt_cv_prog_compiler_c_o+:} false; then :
8466 $as_echo_n "(cached) " >&6
8468 lt_cv_prog_compiler_c_o=no
8469 $RM -r conftest 2>/dev/null
8473 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8475 lt_compiler_flag="-o out/conftest2.$ac_objext"
8476 # Insert the option either (1) after the last *FLAGS variable, or
8477 # (2) before a word containing "conftest.", or (3) at the end.
8478 # Note that $ac_compile itself does not contain backslashes and begins
8479 # with a dollar sign (not a hyphen), so the echo should work correctly.
8480 lt_compile=`echo "$ac_compile" | $SED \
8481 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8483 -e 's:$: $lt_compiler_flag:'`
8484 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8485 (eval "$lt_compile" 2>out/conftest.err)
8487 cat out/conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8491 # The compiler can only warn and ignore the option if not recognized
8492 # So say no if there are warnings
8493 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8494 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8495 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8496 lt_cv_prog_compiler_c_o=yes
8501 # SGI C++ compiler will create directory out/ii_files/ for
8502 # template instantiation
8503 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8504 $RM out/* && rmdir out
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8511 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8516 hard_links="nottested"
8517 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8518 # do not overwrite the value of need_locks provided by the user
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8520 $as_echo_n "checking if we can lock with hard links... " >&6; }
8523 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8525 ln conftest.a conftest.b 2>&5 || hard_links=no
8526 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8528 $as_echo "$hard_links" >&6; }
8529 if test "$hard_links" = no; then
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8531 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8544 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8547 allow_undefined_flag=
8548 always_export_symbols=no
8550 archive_expsym_cmds=
8551 compiler_needs_object=no
8552 enable_shared_with_static_runtimes=no
8553 export_dynamic_flag_spec=
8554 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8555 hardcode_automatic=no
8557 hardcode_direct_absolute=no
8558 hardcode_libdir_flag_spec=
8559 hardcode_libdir_flag_spec_ld=
8560 hardcode_libdir_separator=
8562 hardcode_shlibpath_var=unsupported
8564 link_all_deplibs=unknown
8567 old_archive_from_new_cmds=
8568 old_archive_from_expsyms_cmds=
8569 thread_safe_flag_spec=
8570 whole_archive_flag_spec=
8571 # include_expsyms should be a list of space-separated symbols to be *always*
8572 # included in the symbol list
8574 # exclude_expsyms can be an extended regexp of symbols to exclude
8575 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8576 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8577 # as well as any symbol that contains `d'.
8578 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8579 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8580 # platforms (ab)use it in PIC code, but their linkers get confused if
8581 # the symbol is explicitly referenced. Since portable code cannot
8582 # rely on this symbol name, it's probably fine to never include it in
8583 # preloaded symbol tables.
8584 # Exclude shared library initialization/finalization symbols.
8585 extract_expsyms_cmds=
8588 cygwin* | mingw* | pw32* | cegcc*)
8589 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8590 # When not using gcc, we currently assume that we are using
8591 # Microsoft Visual C++.
8592 if test "$GCC" != yes; then
8597 # we just hope/assume this is gcc and not c89 (= MSVC++)
8607 # On some targets, GNU ld is compatible enough with the native linker
8608 # that we're better off using the native interface for both.
8609 lt_use_gnu_ld_interface=no
8610 if test "$with_gnu_ld" = yes; then
8613 # The AIX port of GNU ld has always aspired to compatibility
8614 # with the native linker. However, as the warning in the GNU ld
8615 # block says, versions before 2.19.5* couldn't really create working
8616 # shared libraries, regardless of the interface used.
8617 case `$LD -v 2>&1` in
8618 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8619 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8620 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8622 lt_use_gnu_ld_interface=yes
8627 lt_use_gnu_ld_interface=yes
8632 if test "$lt_use_gnu_ld_interface" = yes; then
8633 # If archive_cmds runs LD, not CC, wlarc should be empty
8636 # Set some defaults for GNU ld with shared library support. These
8637 # are reset later if shared libraries are not supported. Putting them
8638 # here allows them to be overridden if necessary.
8639 runpath_var=LD_RUN_PATH
8640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8641 export_dynamic_flag_spec='${wl}--export-dynamic'
8642 # ancient GNU ld didn't support --whole-archive et. al.
8643 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8644 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8646 whole_archive_flag_spec=
8648 supports_anon_versioning=no
8649 case `$LD -v 2>&1` in
8650 *GNU\ gold*) supports_anon_versioning=yes ;;
8651 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8652 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8653 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8654 *\ 2.11.*) ;; # other 2.11 versions
8655 *) supports_anon_versioning=yes ;;
8658 # See if GNU ld supports shared libraries.
8661 # On AIX/PPC, the GNU linker is very broken
8662 if test "$host_cpu" != ia64; then
8666 *** Warning: the GNU linker, at least up to release 2.19, is reported
8667 *** to be unable to reliably create shared libraries on AIX.
8668 *** Therefore, libtool is disabling shared libraries support. If you
8669 *** really care for shared libraries, you may want to install binutils
8670 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8671 *** You will then need to restart the configuration process.
8680 # see comment about AmigaOS4 .so support
8681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8682 archive_expsym_cmds=''
8685 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)'
8686 hardcode_libdir_flag_spec='-L$libdir'
8687 hardcode_minus_L=yes
8693 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8694 allow_undefined_flag=unsupported
8695 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8696 # support --undefined. This deserves some investigation. FIXME
8697 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8703 cygwin* | mingw* | pw32* | cegcc*)
8704 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8705 # as there is no search path for DLLs.
8706 hardcode_libdir_flag_spec='-L$libdir'
8707 export_dynamic_flag_spec='${wl}--export-all-symbols'
8708 allow_undefined_flag=unsupported
8709 always_export_symbols=no
8710 enable_shared_with_static_runtimes=yes
8711 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'
8712 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8714 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8715 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8716 # If the export-symbols file already is a .def file (1st line
8717 # is EXPORTS), use it as is; otherwise, prepend...
8718 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8719 cp $export_symbols $output_objdir/$soname.def;
8721 echo EXPORTS > $output_objdir/$soname.def;
8722 cat $export_symbols >> $output_objdir/$soname.def;
8724 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8731 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8732 link_all_deplibs=yes
8737 hardcode_shlibpath_var=no
8738 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8739 export_dynamic_flag_spec='${wl}-E'
8740 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8741 # Instead, shared libraries are loaded at an image base (0x10000000 by
8742 # default) and relocated if they conflict, which is a slow very memory
8743 # consuming and fragmenting process. To avoid this, we pick a random,
8744 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8745 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8746 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8747 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'
8750 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8752 if test "$host_os" = linux-dietlibc; then
8753 case $cc_basename in
8754 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8757 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8758 && test "$tmp_diet" = no
8760 tmp_addflag=' $pic_flag'
8761 tmp_sharedflag='-shared'
8762 case $cc_basename,$host_cpu in
8763 pgcc*) # Portland Group C compiler
8764 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'
8765 tmp_addflag=' $pic_flag'
8767 pgf77* | pgf90* | pgf95* | pgfortran*)
8768 # Portland Group f77 and f90 compilers
8769 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'
8770 tmp_addflag=' $pic_flag -Mnomain' ;;
8771 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8772 tmp_addflag=' -i_dynamic' ;;
8773 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8774 tmp_addflag=' -i_dynamic -nofor_main' ;;
8775 ifc* | ifort*) # Intel Fortran compiler
8776 tmp_addflag=' -nofor_main' ;;
8777 lf95*) # Lahey Fortran 8.1
8778 whole_archive_flag_spec=
8779 tmp_sharedflag='--shared' ;;
8780 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8781 tmp_sharedflag='-qmkshrobj'
8783 nvcc*) # Cuda Compiler Driver 2.2
8784 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'
8785 compiler_needs_object=yes
8788 case `$CC -V 2>&1 | sed 5q` in
8789 *Sun\ C*) # Sun C 5.9
8790 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'
8791 compiler_needs_object=yes
8792 tmp_sharedflag='-G' ;;
8793 *Sun\ F*) # Sun Fortran 8.3
8794 tmp_sharedflag='-G' ;;
8796 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8798 if test "x$supports_anon_versioning" = xyes; then
8799 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8800 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8801 echo "local: *; };" >> $output_objdir/$libname.ver~
8802 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8805 case $cc_basename in
8806 xlf* | bgf* | bgxlf* | mpixlf*)
8807 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8808 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8809 hardcode_libdir_flag_spec=
8810 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8811 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8812 if test "x$supports_anon_versioning" = xyes; then
8813 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8814 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8815 echo "local: *; };" >> $output_objdir/$libname.ver~
8816 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8826 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8827 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8830 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8831 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8836 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8840 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8841 *** create shared libraries on Solaris systems. Therefore, libtool
8842 *** is disabling shared libraries support. We urge you to upgrade GNU
8843 *** binutils to release 2.9.1 or newer. Another option is to modify
8844 *** your PATH or compiler configuration so that the native linker is
8845 *** used, and then restart.
8848 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8849 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8850 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8856 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8857 case `$LD -v 2>&1` in
8858 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8862 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8863 *** reliably create shared libraries on SCO systems. Therefore, libtool
8864 *** is disabling shared libraries support. We urge you to upgrade GNU
8865 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8866 *** your PATH or compiler configuration so that the native linker is
8867 *** used, and then restart.
8872 # For security reasons, it is highly recommended that you always
8873 # use absolute paths for naming shared libraries, and exclude the
8874 # DT_RUNPATH tag from executables and libraries. But doing so
8875 # requires that you compile everything twice, which is a pain.
8876 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8877 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8878 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8879 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8888 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8891 hardcode_shlibpath_var=no
8895 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8896 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8897 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8904 if test "$ld_shlibs" = no; then
8906 hardcode_libdir_flag_spec=
8907 export_dynamic_flag_spec=
8908 whole_archive_flag_spec=
8911 # PORTME fill in a description of your system's linker (not GNU ld)
8914 allow_undefined_flag=unsupported
8915 always_export_symbols=yes
8916 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'
8917 # Note: this linker hardcodes the directories in LIBPATH if there
8918 # are no directories specified by -L.
8919 hardcode_minus_L=yes
8920 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8921 # Neither direct hardcoding nor static linking is supported with a
8923 hardcode_direct=unsupported
8928 if test "$host_cpu" = ia64; then
8929 # On IA64, the linker does run time linking by default, so we don't
8930 # have to do anything special.
8931 aix_use_runtimelinking=no
8932 exp_sym_flag='-Bexport'
8935 # If we're using GNU nm, then we don't want the "-C" option.
8936 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8937 # Also, AIX nm treats weak defined symbols like other global
8938 # defined symbols, whereas GNU nm marks them as "W".
8939 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8940 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'
8942 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'
8944 aix_use_runtimelinking=no
8946 # Test if we are trying to use run time linking or normal
8947 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8948 # need to do runtime linking.
8949 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8950 for ld_flag in $LDFLAGS; do
8951 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8952 aix_use_runtimelinking=yes
8959 exp_sym_flag='-bexport'
8960 no_entry_flag='-bnoentry'
8963 # When large executables or shared objects are built, AIX ld can
8964 # have problems creating the table of contents. If linking a library
8965 # or program results in "error TOC overflow" add -mminimal-toc to
8966 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8967 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8971 hardcode_direct_absolute=yes
8972 hardcode_libdir_separator=':'
8973 link_all_deplibs=yes
8974 file_list_spec='${wl}-f,'
8976 if test "$GCC" = yes; then
8977 case $host_os in aix4.[012]|aix4.[012].*)
8978 # We only want to do this on AIX 4.2 and lower, the check
8979 # below for broken collect2 doesn't work under 4.3+
8980 collect2name=`${CC} -print-prog-name=collect2`
8981 if test -f "$collect2name" &&
8982 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8984 # We have reworked collect2
8987 # We have old collect2
8988 hardcode_direct=unsupported
8989 # It fails to find uninstalled libraries when the uninstalled
8990 # path is not listed in the libpath. Setting hardcode_minus_L
8991 # to unsupported forces relinking
8992 hardcode_minus_L=yes
8993 hardcode_libdir_flag_spec='-L$libdir'
8994 hardcode_libdir_separator=
8998 shared_flag='-shared'
8999 if test "$aix_use_runtimelinking" = yes; then
9000 shared_flag="$shared_flag "'${wl}-G'
9004 if test "$host_cpu" = ia64; then
9005 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9006 # chokes on -Wl,-G. The following line is correct:
9009 if test "$aix_use_runtimelinking" = yes; then
9010 shared_flag='${wl}-G'
9012 shared_flag='${wl}-bM:SRE'
9017 export_dynamic_flag_spec='${wl}-bexpall'
9018 # It seems that -bexpall does not export symbols beginning with
9019 # underscore (_), so it is better to generate a list of symbols to export.
9020 always_export_symbols=yes
9021 if test "$aix_use_runtimelinking" = yes; then
9022 # Warning - without using the other runtime loading flags (-brtl),
9023 # -berok will link without error, but may produce a broken library.
9024 allow_undefined_flag='-berok'
9025 # Determine the default libpath from the value encoded in an
9027 if test "${lt_cv_aix_libpath+set}" = set; then
9028 aix_libpath=$lt_cv_aix_libpath
9030 if ${lt_cv_aix_libpath_+:} false; then :
9031 $as_echo_n "(cached) " >&6
9033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9044 if ac_fn_c_try_link "$LINENO"; then :
9046 lt_aix_libpath_sed='
9047 /Import File Strings/,/^$/ {
9049 s/^0 *\([^ ]*\) *$/\1/
9053 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9054 # Check for a 64-bit object if we didn't find anything.
9055 if test -z "$lt_cv_aix_libpath_"; then
9056 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9059 rm -f core conftest.err conftest.$ac_objext \
9060 conftest$ac_exeext conftest.$ac_ext
9061 if test -z "$lt_cv_aix_libpath_"; then
9062 lt_cv_aix_libpath_="/usr/lib:/lib"
9067 aix_libpath=$lt_cv_aix_libpath_
9070 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9071 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"
9073 if test "$host_cpu" = ia64; then
9074 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9075 allow_undefined_flag="-z nodefs"
9076 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"
9078 # Determine the default libpath from the value encoded in an
9080 if test "${lt_cv_aix_libpath+set}" = set; then
9081 aix_libpath=$lt_cv_aix_libpath
9083 if ${lt_cv_aix_libpath_+:} false; then :
9084 $as_echo_n "(cached) " >&6
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9097 if ac_fn_c_try_link "$LINENO"; then :
9099 lt_aix_libpath_sed='
9100 /Import File Strings/,/^$/ {
9102 s/^0 *\([^ ]*\) *$/\1/
9106 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9107 # Check for a 64-bit object if we didn't find anything.
9108 if test -z "$lt_cv_aix_libpath_"; then
9109 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9112 rm -f core conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9114 if test -z "$lt_cv_aix_libpath_"; then
9115 lt_cv_aix_libpath_="/usr/lib:/lib"
9120 aix_libpath=$lt_cv_aix_libpath_
9123 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9124 # Warning - without using the other run time loading flags,
9125 # -berok will link without error, but may produce a broken library.
9126 no_undefined_flag=' ${wl}-bernotok'
9127 allow_undefined_flag=' ${wl}-berok'
9128 if test "$with_gnu_ld" = yes; then
9129 # We only use this code for GNU lds that support --whole-archive.
9130 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9132 # Exported symbols can be pulled into shared objects from archives
9133 whole_archive_flag_spec='$convenience'
9135 archive_cmds_need_lc=yes
9136 # This is similar to how AIX traditionally builds its shared libraries.
9137 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'
9145 # see comment about AmigaOS4 .so support
9146 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9147 archive_expsym_cmds=''
9150 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)'
9151 hardcode_libdir_flag_spec='-L$libdir'
9152 hardcode_minus_L=yes
9158 export_dynamic_flag_spec=-rdynamic
9161 cygwin* | mingw* | pw32* | cegcc*)
9162 # When not using gcc, we currently assume that we are using
9163 # Microsoft Visual C++.
9164 # hardcode_libdir_flag_spec is actually meaningless, as there is
9165 # no search path for DLLs.
9166 case $cc_basename in
9169 hardcode_libdir_flag_spec=' '
9170 allow_undefined_flag=unsupported
9171 always_export_symbols=yes
9173 # Tell ltmain to make .lib files, not .a files.
9175 # Tell ltmain to make .dll files, not .so files.
9177 # FIXME: Setting linknames here is a bad hack.
9178 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9179 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9180 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9182 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9184 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9186 # The linker will not automatically build a static lib if we build a DLL.
9187 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9188 enable_shared_with_static_runtimes=yes
9189 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9191 old_postinstall_cmds='chmod 644 $oldlib'
9192 postlink_cmds='lt_outputfile="@OUTPUT@"~
9193 lt_tool_outputfile="@TOOL_OUTPUT@"~
9194 case $lt_outputfile in
9197 lt_outputfile="$lt_outputfile.exe"
9198 lt_tool_outputfile="$lt_tool_outputfile.exe"
9201 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9202 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9203 $RM "$lt_outputfile.manifest";
9207 # Assume MSVC wrapper
9208 hardcode_libdir_flag_spec=' '
9209 allow_undefined_flag=unsupported
9210 # Tell ltmain to make .lib files, not .a files.
9212 # Tell ltmain to make .dll files, not .so files.
9214 # FIXME: Setting linknames here is a bad hack.
9215 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9216 # The linker will automatically build a .lib file if we build a DLL.
9217 old_archive_from_new_cmds='true'
9218 # FIXME: Should let the user specify the lib program.
9219 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9220 enable_shared_with_static_runtimes=yes
9225 darwin* | rhapsody*)
9228 archive_cmds_need_lc=no
9230 hardcode_automatic=yes
9231 hardcode_shlibpath_var=unsupported
9232 if test "$lt_cv_ld_force_load" = "yes"; then
9233 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\"`'
9235 whole_archive_flag_spec=''
9237 link_all_deplibs=yes
9238 allow_undefined_flag="$_lt_dar_allow_undefined"
9239 case $cc_basename in
9240 ifort*) _lt_dar_can_shared=yes ;;
9241 *) _lt_dar_can_shared=$GCC ;;
9243 if test "$_lt_dar_can_shared" = "yes"; then
9244 output_verbose_link_cmd=func_echo_all
9245 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9246 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9247 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}"
9248 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}"
9257 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9258 hardcode_libdir_flag_spec='-L$libdir'
9259 hardcode_shlibpath_var=no
9266 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9267 # support. Future versions do this automatically, but an explicit c++rt0.o
9268 # does not break anything, and helps significantly (at the cost of a little
9271 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9272 hardcode_libdir_flag_spec='-R$libdir'
9274 hardcode_shlibpath_var=no
9277 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9279 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9281 hardcode_minus_L=yes
9282 hardcode_shlibpath_var=no
9285 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9286 freebsd* | dragonfly*)
9287 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9288 hardcode_libdir_flag_spec='-R$libdir'
9290 hardcode_shlibpath_var=no
9294 if test "$GCC" = yes; then
9295 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'
9297 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'
9299 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9300 hardcode_libdir_separator=:
9303 # hardcode_minus_L: Not really in the search PATH,
9304 # but as the default location of the library.
9305 hardcode_minus_L=yes
9306 export_dynamic_flag_spec='${wl}-E'
9310 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9311 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9313 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9315 if test "$with_gnu_ld" = no; then
9316 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9317 hardcode_libdir_flag_spec_ld='+b $libdir'
9318 hardcode_libdir_separator=:
9320 hardcode_direct_absolute=yes
9321 export_dynamic_flag_spec='${wl}-E'
9322 # hardcode_minus_L: Not really in the search PATH,
9323 # but as the default location of the library.
9324 hardcode_minus_L=yes
9329 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9332 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9335 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9338 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9344 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9351 # Older versions of the 11.00 compiler do not understand -b yet
9352 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9354 $as_echo_n "checking if $CC understands -b... " >&6; }
9355 if ${lt_cv_prog_compiler__b+:} false; then :
9356 $as_echo_n "(cached) " >&6
9358 lt_cv_prog_compiler__b=no
9359 save_LDFLAGS="$LDFLAGS"
9360 LDFLAGS="$LDFLAGS -b"
9361 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9362 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9363 # The linker can only warn and ignore the option if not recognized
9364 # So say no if there are warnings
9365 if test -s conftest.err; then
9366 # Append any errors to the config.log.
9367 cat conftest.err 1>&5
9368 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9369 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9370 if diff conftest.exp conftest.er2 >/dev/null; then
9371 lt_cv_prog_compiler__b=yes
9374 lt_cv_prog_compiler__b=yes
9378 LDFLAGS="$save_LDFLAGS"
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9382 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9384 if test x"$lt_cv_prog_compiler__b" = xyes; then
9385 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9387 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9393 if test "$with_gnu_ld" = no; then
9394 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9395 hardcode_libdir_separator=:
9400 hardcode_shlibpath_var=no
9404 hardcode_direct_absolute=yes
9405 export_dynamic_flag_spec='${wl}-E'
9407 # hardcode_minus_L: Not really in the search PATH,
9408 # but as the default location of the library.
9409 hardcode_minus_L=yes
9415 irix5* | irix6* | nonstopux*)
9416 if test "$GCC" = yes; then
9417 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'
9418 # Try to use the -exported_symbol ld option, if it does not
9419 # work, assume that -exports_file does not work either and
9420 # implicitly export all symbols.
9421 # This should be the same for all languages, so no per-tag cache variable.
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9423 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9424 if ${lt_cv_irix_exported_symbol+:} false; then :
9425 $as_echo_n "(cached) " >&6
9427 save_LDFLAGS="$LDFLAGS"
9428 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9431 int foo (void) { return 0; }
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 lt_cv_irix_exported_symbol=yes
9436 lt_cv_irix_exported_symbol=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 LDFLAGS="$save_LDFLAGS"
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9443 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9444 if test "$lt_cv_irix_exported_symbol" = yes; then
9445 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'
9448 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'
9449 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'
9451 archive_cmds_need_lc='no'
9452 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9453 hardcode_libdir_separator=:
9455 link_all_deplibs=yes
9459 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9460 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9462 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9464 hardcode_libdir_flag_spec='-R$libdir'
9466 hardcode_shlibpath_var=no
9470 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9472 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9473 hardcode_libdir_separator=:
9474 hardcode_shlibpath_var=no
9481 if test -f /usr/libexec/ld.so; then
9483 hardcode_shlibpath_var=no
9484 hardcode_direct_absolute=yes
9485 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9486 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9487 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9488 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9489 export_dynamic_flag_spec='${wl}-E'
9492 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9493 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9494 hardcode_libdir_flag_spec='-R$libdir'
9497 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9498 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9508 hardcode_libdir_flag_spec='-L$libdir'
9509 hardcode_minus_L=yes
9510 allow_undefined_flag=unsupported
9511 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'
9512 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9516 if test "$GCC" = yes; then
9517 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9518 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'
9520 allow_undefined_flag=' -expect_unresolved \*'
9521 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'
9523 archive_cmds_need_lc='no'
9524 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9525 hardcode_libdir_separator=:
9528 osf4* | osf5*) # as osf3* with the addition of -msym flag
9529 if test "$GCC" = yes; then
9530 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9531 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'
9532 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9534 allow_undefined_flag=' -expect_unresolved \*'
9535 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'
9536 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~
9537 $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'
9539 # Both c and cxx compiler support -rpath directly
9540 hardcode_libdir_flag_spec='-rpath $libdir'
9542 archive_cmds_need_lc='no'
9543 hardcode_libdir_separator=:
9547 no_undefined_flag=' -z defs'
9548 if test "$GCC" = yes; then
9550 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9551 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9552 $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'
9554 case `$CC -V 2>&1` in
9557 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9558 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9559 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9563 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9564 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9565 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9569 hardcode_libdir_flag_spec='-R$libdir'
9570 hardcode_shlibpath_var=no
9572 solaris2.[0-5] | solaris2.[0-5].*) ;;
9574 # The compiler driver will combine and reorder linker options,
9575 # but understands `-z linker_flag'. GCC discards it without `$wl',
9576 # but is careful enough not to reorder.
9577 # Supported since Solaris 2.6 (maybe 2.5.1?)
9578 if test "$GCC" = yes; then
9579 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9581 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9585 link_all_deplibs=yes
9589 if test "x$host_vendor" = xsequent; then
9590 # Use $CC to link under sequent, because it throws in some extra .o
9591 # files that make .init and .fini sections work.
9592 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9594 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9596 hardcode_libdir_flag_spec='-L$libdir'
9598 hardcode_minus_L=yes
9599 hardcode_shlibpath_var=no
9603 case $host_vendor in
9605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9606 hardcode_direct=yes # is this really true???
9609 ## LD is ld it makes a PLAMLIB
9610 ## CC just makes a GrossModule.
9611 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9612 reload_cmds='$CC -r -o $output$reload_objs'
9616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9620 runpath_var='LD_RUN_PATH'
9621 hardcode_shlibpath_var=no
9625 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9626 hardcode_shlibpath_var=no
9627 export_dynamic_flag_spec='-Bexport'
9631 if test -d /usr/nec; then
9632 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9633 hardcode_shlibpath_var=no
9634 runpath_var=LD_RUN_PATH
9635 hardcode_runpath_var=yes
9640 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9641 no_undefined_flag='${wl}-z,text'
9642 archive_cmds_need_lc=no
9643 hardcode_shlibpath_var=no
9644 runpath_var='LD_RUN_PATH'
9646 if test "$GCC" = yes; then
9647 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9650 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9651 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9655 sysv5* | sco3.2v5* | sco5v6*)
9656 # Note: We can NOT use -z defs as we might desire, because we do not
9657 # link with -lc, and that would cause any symbols used from libc to
9658 # always be unresolved, which means just about no library would
9659 # ever link correctly. If we're not using GNU ld we use -z text
9660 # though, which does catch some bad symbols but isn't as heavy-handed
9662 no_undefined_flag='${wl}-z,text'
9663 allow_undefined_flag='${wl}-z,nodefs'
9664 archive_cmds_need_lc=no
9665 hardcode_shlibpath_var=no
9666 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9667 hardcode_libdir_separator=':'
9668 link_all_deplibs=yes
9669 export_dynamic_flag_spec='${wl}-Bexport'
9670 runpath_var='LD_RUN_PATH'
9672 if test "$GCC" = yes; then
9673 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9674 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9677 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9682 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_libdir_flag_spec='-L$libdir'
9684 hardcode_shlibpath_var=no
9692 if test x$host_vendor = xsni; then
9694 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9695 export_dynamic_flag_spec='${wl}-Blargedynsym'
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9702 $as_echo "$ld_shlibs" >&6; }
9703 test "$ld_shlibs" = no && can_build_shared=no
9705 with_gnu_ld=$with_gnu_ld
9722 # Do we need to explicitly link libc?
9724 case "x$archive_cmds_need_lc" in
9726 # Assume -lc should be added
9727 archive_cmds_need_lc=yes
9729 if test "$enable_shared" = yes && test "$GCC" = yes; then
9730 case $archive_cmds in
9732 # FIXME: we may have to deal with multi-command sequences.
9735 # Test whether the compiler implicitly links with -lc since on some
9736 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9737 # to ld, don't add -lc before -lgcc.
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9739 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9740 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9741 $as_echo_n "(cached) " >&6
9744 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9746 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9747 (eval $ac_compile) 2>&5
9749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9750 test $ac_status = 0; } 2>conftest.err; then
9753 libobjs=conftest.$ac_objext
9755 wl=$lt_prog_compiler_wl
9756 pic_flag=$lt_prog_compiler_pic
9762 lt_save_allow_undefined_flag=$allow_undefined_flag
9763 allow_undefined_flag=
9764 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9765 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9768 test $ac_status = 0; }
9770 lt_cv_archive_cmds_need_lc=no
9772 lt_cv_archive_cmds_need_lc=yes
9774 allow_undefined_flag=$lt_save_allow_undefined_flag
9776 cat conftest.err 1>&5
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9782 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9783 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9947 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9949 if test "$GCC" = yes; then
9951 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9952 *) lt_awk_arg="/^libraries:/" ;;
9955 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9956 *) lt_sed_strip_eq="s,=/,/,g" ;;
9958 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9959 case $lt_search_path_spec in
9961 # if the path contains ";" then we assume it to be the separator
9962 # otherwise default to the standard path separator (i.e. ":") - it is
9963 # assumed that no part of a normal pathname contains ";" but that should
9964 # okay in the real world where ";" in dirpaths is itself problematic.
9965 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9968 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9971 # Ok, now we have the path, separated by spaces, we can step through it
9972 # and add multilib dir if necessary.
9973 lt_tmp_lt_search_path_spec=
9974 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9975 for lt_sys_path in $lt_search_path_spec; do
9976 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9977 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9979 test -d "$lt_sys_path" && \
9980 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9983 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9984 BEGIN {RS=" "; FS="/|\n";} {
9987 for (lt_i = NF; lt_i > 0; lt_i--) {
9988 if ($lt_i != "" && $lt_i != ".") {
9989 if ($lt_i == "..") {
9992 if (lt_count == 0) {
9993 lt_foo="/" $lt_i lt_foo;
10000 if (lt_foo != "") { lt_freq[lt_foo]++; }
10001 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10003 # AWK program above erroneously prepends '/' to C:/dos/paths
10006 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10007 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10009 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10011 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10013 library_names_spec=
10014 libname_spec='lib$name'
10018 postuninstall_cmds=
10022 shlibpath_overrides_runpath=unknown
10024 dynamic_linker="$host_os ld.so"
10025 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10026 need_lib_prefix=unknown
10027 hardcode_into_libs=no
10029 # when you set need_version to no, make sure it does not cause -set_version
10030 # flags to be left without arguments
10031 need_version=unknown
10036 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10037 shlibpath_var=LIBPATH
10039 # AIX 3 has no versioning support, so we append a major version to the name.
10040 soname_spec='${libname}${release}${shared_ext}$major'
10047 hardcode_into_libs=yes
10048 if test "$host_cpu" = ia64; then
10049 # AIX 5 supports IA64
10050 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10051 shlibpath_var=LD_LIBRARY_PATH
10053 # With GCC up to 2.95.x, collect2 would create an import file
10054 # for dependence libraries. The import file would start with
10055 # the line `#! .'. This would cause the generated library to
10056 # depend on `.', always an invalid library. This was fixed in
10057 # development snapshots of GCC prior to 3.0.
10059 aix4 | aix4.[01] | aix4.[01].*)
10060 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10062 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10065 can_build_shared=no
10069 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10070 # soname into executable. Probably we can add versioning support to
10071 # collect2, so additional links can be useful in future.
10072 if test "$aix_use_runtimelinking" = yes; then
10073 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10074 # instead of lib<name>.a to let people know that these are not
10075 # typical AIX shared libraries.
10076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10078 # We preserve .a as extension for shared libraries through AIX4.2
10079 # and later when we are not doing run time linking.
10080 library_names_spec='${libname}${release}.a $libname.a'
10081 soname_spec='${libname}${release}${shared_ext}$major'
10083 shlibpath_var=LIBPATH
10090 # Since July 2007 AmigaOS4 officially supports .so libraries.
10091 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10095 library_names_spec='$libname.ixlibrary $libname.a'
10096 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10097 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'
10103 library_names_spec='${libname}${shared_ext}'
10104 dynamic_linker="$host_os ld.so"
10105 shlibpath_var=LIBRARY_PATH
10111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10112 soname_spec='${libname}${release}${shared_ext}$major'
10113 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10114 shlibpath_var=LD_LIBRARY_PATH
10115 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10116 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10117 # the default ld.so.conf also contains /usr/contrib/lib and
10118 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10119 # libtool to hard-code these into programs
10122 cygwin* | mingw* | pw32* | cegcc*)
10123 version_type=windows
10128 case $GCC,$cc_basename in
10131 library_names_spec='$libname.dll.a'
10132 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10133 postinstall_cmds='base_file=`basename \${file}`~
10134 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10135 dldir=$destdir/`dirname \$dlpath`~
10136 test -d \$dldir || mkdir -p \$dldir~
10137 $install_prog $dir/$dlname \$dldir/$dlname~
10138 chmod a+x \$dldir/$dlname~
10139 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10140 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10142 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10143 dlpath=$dir/\$dldll~
10145 shlibpath_overrides_runpath=yes
10149 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10150 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10152 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10155 # MinGW DLLs use traditional 'lib' prefix
10156 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10159 # pw32 DLLs use 'pw' prefix rather than 'lib'
10160 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163 dynamic_linker='Win32 ld.exe'
10168 libname_spec='$name'
10169 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10170 library_names_spec='${libname}.dll.lib'
10174 sys_lib_search_path_spec=
10177 for lt_path in $LIB
10180 # Let DOS variable expansion print the short 8.3 style file name.
10181 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10182 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10185 # Convert to MSYS style.
10186 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10189 # Convert to unix form, then to dos form, then back to unix form
10190 # but this time dos style (no spaces!) so that the unix form looks
10191 # like /cygdrive/c/PROGRA~1:/cygdr...
10192 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10193 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10194 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10197 sys_lib_search_path_spec="$LIB"
10198 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10199 # It is most probably a Windows format PATH.
10200 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10202 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10204 # FIXME: find the short name or the path components, as spaces are
10205 # common. (e.g. "Program Files" -> "PROGRA~1")
10209 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10210 postinstall_cmds='base_file=`basename \${file}`~
10211 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10212 dldir=$destdir/`dirname \$dlpath`~
10213 test -d \$dldir || mkdir -p \$dldir~
10214 $install_prog $dir/$dlname \$dldir/$dlname'
10215 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10216 dlpath=$dir/\$dldll~
10218 shlibpath_overrides_runpath=yes
10219 dynamic_linker='Win32 link.exe'
10223 # Assume MSVC wrapper
10224 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10225 dynamic_linker='Win32 ld.exe'
10228 # FIXME: first we should search . and the directory the executable is in
10232 darwin* | rhapsody*)
10233 dynamic_linker="$host_os dyld"
10234 version_type=darwin
10237 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10238 soname_spec='${libname}${release}${major}$shared_ext'
10239 shlibpath_overrides_runpath=yes
10240 shlibpath_var=DYLD_LIBRARY_PATH
10241 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10243 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10244 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10252 soname_spec='${libname}${release}${shared_ext}$major'
10253 shlibpath_var=LD_LIBRARY_PATH
10260 freebsd* | dragonfly*)
10261 # DragonFly does not have aout. When/if they implement a new
10262 # versioning mechanism, adjust this.
10263 if test -x /usr/bin/objformat; then
10264 objformat=`/usr/bin/objformat`
10267 freebsd[123]*) objformat=aout ;;
10268 *) objformat=elf ;;
10271 version_type=freebsd-$objformat
10272 case $version_type in
10274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10279 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10283 shlibpath_var=LD_LIBRARY_PATH
10286 shlibpath_overrides_runpath=yes
10288 freebsd3.[01]* | freebsdelf3.[01]*)
10289 shlibpath_overrides_runpath=yes
10290 hardcode_into_libs=yes
10292 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10293 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10294 shlibpath_overrides_runpath=no
10295 hardcode_into_libs=yes
10297 *) # from 4.6 on, and DragonFly
10298 shlibpath_overrides_runpath=yes
10299 hardcode_into_libs=yes
10308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10309 soname_spec='${libname}${release}${shared_ext}$major'
10310 shlibpath_var=LD_LIBRARY_PATH
10311 hardcode_into_libs=yes
10318 dynamic_linker="$host_os runtime_loader"
10319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10320 soname_spec='${libname}${release}${shared_ext}$major'
10321 shlibpath_var=LIBRARY_PATH
10322 shlibpath_overrides_runpath=yes
10323 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10324 hardcode_into_libs=yes
10327 hpux9* | hpux10* | hpux11*)
10328 # Give a soname corresponding to the major version so that dld.sl refuses to
10329 # link against other versions.
10336 hardcode_into_libs=yes
10337 dynamic_linker="$host_os dld.so"
10338 shlibpath_var=LD_LIBRARY_PATH
10339 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10341 soname_spec='${libname}${release}${shared_ext}$major'
10342 if test "X$HPUX_IA64_MODE" = X32; then
10343 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10345 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10347 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10351 hardcode_into_libs=yes
10352 dynamic_linker="$host_os dld.sl"
10353 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10354 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356 soname_spec='${libname}${release}${shared_ext}$major'
10357 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10358 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10362 dynamic_linker="$host_os dld.sl"
10363 shlibpath_var=SHLIB_PATH
10364 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10366 soname_spec='${libname}${release}${shared_ext}$major'
10369 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10370 postinstall_cmds='chmod 555 $lib'
10371 # or fails outright, so override atomically:
10372 install_override_mode=555
10379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10380 soname_spec='${libname}${release}${shared_ext}$major'
10381 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10382 shlibpath_var=LD_LIBRARY_PATH
10383 shlibpath_overrides_runpath=no
10384 hardcode_into_libs=yes
10387 irix5* | irix6* | nonstopux*)
10389 nonstopux*) version_type=nonstopux ;;
10391 if test "$lt_cv_prog_gnu_ld" = yes; then
10399 soname_spec='${libname}${release}${shared_ext}$major'
10400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10402 irix5* | nonstopux*)
10403 libsuff= shlibsuff=
10406 case $LD in # libtool.m4 will add one of these switches to LD
10407 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10408 libsuff= shlibsuff= libmagic=32-bit;;
10409 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10410 libsuff=32 shlibsuff=N32 libmagic=N32;;
10411 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10412 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10413 *) libsuff= shlibsuff= libmagic=never-match;;
10417 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10418 shlibpath_overrides_runpath=no
10419 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10420 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10421 hardcode_into_libs=yes
10424 # No shared lib support for Linux oldld, aout, or coff.
10425 linux*oldld* | linux*aout* | linux*coff*)
10429 # This must be Linux ELF.
10430 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10435 soname_spec='${libname}${release}${shared_ext}$major'
10436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10437 shlibpath_var=LD_LIBRARY_PATH
10438 shlibpath_overrides_runpath=no
10440 # Some binutils ld are patched to set DT_RUNPATH
10441 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10442 $as_echo_n "(cached) " >&6
10444 lt_cv_shlibpath_overrides_runpath=no
10445 save_LDFLAGS=$LDFLAGS
10446 save_libdir=$libdir
10447 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10448 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10462 lt_cv_shlibpath_overrides_runpath=yes
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 LDFLAGS=$save_LDFLAGS
10468 libdir=$save_libdir
10472 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10474 # This implies no fast_install, which is unacceptable.
10475 # Some rework will be needed to allow for fast_install
10476 # before this can be enabled.
10477 hardcode_into_libs=yes
10479 # Append ld.so.conf contents to the search path
10480 if test -f /etc/ld.so.conf; then
10481 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' ' '`
10482 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10485 # We used to test for /lib/ld.so.1 and disable shared libraries on
10486 # powerpc, because MkLinux only supported shared libraries with the
10487 # GNU dynamic linker. Since this was broken with cross compilers,
10488 # most powerpc-linux boxes support dynamic linking these days and
10489 # people can always --disable-shared, the test was removed, and we
10490 # assume the GNU/Linux dynamic linker is in use.
10491 dynamic_linker='GNU/Linux ld.so'
10498 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10500 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10501 dynamic_linker='NetBSD (a.out) ld.so'
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10504 soname_spec='${libname}${release}${shared_ext}$major'
10505 dynamic_linker='NetBSD ld.elf_so'
10507 shlibpath_var=LD_LIBRARY_PATH
10508 shlibpath_overrides_runpath=yes
10509 hardcode_into_libs=yes
10514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515 shlibpath_var=LD_LIBRARY_PATH
10516 shlibpath_overrides_runpath=yes
10523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10524 soname_spec='${libname}${release}${shared_ext}$major'
10525 shlibpath_var=LD_LIBRARY_PATH
10526 shlibpath_overrides_runpath=no
10527 hardcode_into_libs=yes
10528 dynamic_linker='ldqnx.so'
10533 sys_lib_dlsearch_path_spec="/usr/lib"
10535 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10537 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10538 *) need_version=no ;;
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10541 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10542 shlibpath_var=LD_LIBRARY_PATH
10543 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10545 openbsd2.[89] | openbsd2.[89].*)
10546 shlibpath_overrides_runpath=no
10549 shlibpath_overrides_runpath=yes
10553 shlibpath_overrides_runpath=yes
10558 libname_spec='$name'
10561 library_names_spec='$libname${shared_ext} $libname.a'
10562 dynamic_linker='OS/2 ld.exe'
10563 shlibpath_var=LIBPATH
10566 osf3* | osf4* | osf5*)
10570 soname_spec='${libname}${release}${shared_ext}$major'
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572 shlibpath_var=LD_LIBRARY_PATH
10573 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10574 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586 soname_spec='${libname}${release}${shared_ext}$major'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 shlibpath_overrides_runpath=yes
10589 hardcode_into_libs=yes
10590 # ldd complains unless libraries are executable
10591 postinstall_cmds='chmod +x $lib'
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10597 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10598 shlibpath_var=LD_LIBRARY_PATH
10599 shlibpath_overrides_runpath=yes
10600 if test "$with_gnu_ld" = yes; then
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 shlibpath_var=LD_LIBRARY_PATH
10611 case $host_vendor in
10613 shlibpath_overrides_runpath=no
10615 runpath_var=LD_RUN_PATH
10623 shlibpath_overrides_runpath=no
10624 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10630 if test -d /usr/nec ;then
10632 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10633 soname_spec='$libname${shared_ext}.$major'
10634 shlibpath_var=LD_LIBRARY_PATH
10638 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10639 version_type=freebsd-elf
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10643 soname_spec='${libname}${release}${shared_ext}$major'
10644 shlibpath_var=LD_LIBRARY_PATH
10645 shlibpath_overrides_runpath=yes
10646 hardcode_into_libs=yes
10647 if test "$with_gnu_ld" = yes; then
10648 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10650 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10653 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10657 sys_lib_dlsearch_path_spec='/usr/lib'
10661 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10666 shlibpath_var=LD_LIBRARY_PATH
10667 shlibpath_overrides_runpath=no
10668 hardcode_into_libs=yes
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LD_LIBRARY_PATH
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10683 $as_echo "$dynamic_linker" >&6; }
10684 test "$dynamic_linker" = no && can_build_shared=no
10686 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10687 if test "$GCC" = yes; then
10688 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10691 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10692 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10694 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10695 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10790 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10792 if test -n "$hardcode_libdir_flag_spec" ||
10793 test -n "$runpath_var" ||
10794 test "X$hardcode_automatic" = "Xyes" ; then
10796 # We can hardcode non-existent directories.
10797 if test "$hardcode_direct" != no &&
10798 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10799 # have to relink, otherwise we might link with an installed library
10800 # when we should be linking with a yet-to-be-installed one
10801 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10802 test "$hardcode_minus_L" != no; then
10803 # Linking always hardcodes the temporary library directory.
10804 hardcode_action=relink
10806 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10807 hardcode_action=immediate
10810 # We cannot hardcode anything, or else we can only hardcode existing
10812 hardcode_action=unsupported
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10815 $as_echo "$hardcode_action" >&6; }
10817 if test "$hardcode_action" = relink ||
10818 test "$inherit_rpath" = yes; then
10819 # Fast installation is not supported
10820 enable_fast_install=no
10821 elif test "$shlibpath_overrides_runpath" = yes ||
10822 test "$enable_shared" = no; then
10823 # Fast installation is not necessary
10824 enable_fast_install=needless
10832 if test "x$enable_dlopen" != xyes; then
10833 enable_dlopen=unknown
10834 enable_dlopen_self=unknown
10835 enable_dlopen_self_static=unknown
10842 lt_cv_dlopen="load_add_on"
10844 lt_cv_dlopen_self=yes
10847 mingw* | pw32* | cegcc*)
10848 lt_cv_dlopen="LoadLibrary"
10853 lt_cv_dlopen="dlopen"
10858 # if libdl is installed we need to link against it
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10860 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10861 if ${ac_cv_lib_dl_dlopen+:} false; then :
10862 $as_echo_n "(cached) " >&6
10864 ac_check_lib_save_LIBS=$LIBS
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 ac_cv_lib_dl_dlopen=yes
10887 ac_cv_lib_dl_dlopen=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10894 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10895 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10896 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10899 lt_cv_dlopen="dyld"
10901 lt_cv_dlopen_self=yes
10908 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10909 if test "x$ac_cv_func_shl_load" = xyes; then :
10910 lt_cv_dlopen="shl_load"
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10913 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10914 if ${ac_cv_lib_dld_shl_load+:} false; then :
10915 $as_echo_n "(cached) " >&6
10917 ac_check_lib_save_LIBS=$LIBS
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10922 /* Override any GCC internal prototype to avoid an error.
10923 Use char because int might match the return type of a GCC
10924 builtin and then its argument prototype would still apply. */
10932 return shl_load ();
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 ac_cv_lib_dld_shl_load=yes
10940 ac_cv_lib_dld_shl_load=no
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_lib_save_LIBS
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10947 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10948 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10949 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10951 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10952 if test "x$ac_cv_func_dlopen" = xyes; then :
10953 lt_cv_dlopen="dlopen"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10956 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10957 if ${ac_cv_lib_dl_dlopen+:} false; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_lib_save_LIBS=$LIBS
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10980 if ac_fn_c_try_link "$LINENO"; then :
10981 ac_cv_lib_dl_dlopen=yes
10983 ac_cv_lib_dl_dlopen=no
10985 rm -f core conftest.err conftest.$ac_objext \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10990 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10991 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10992 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10995 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10996 if ${ac_cv_lib_svld_dlopen+:} false; then :
10997 $as_echo_n "(cached) " >&6
10999 ac_check_lib_save_LIBS=$LIBS
11000 LIBS="-lsvld $LIBS"
11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11004 /* Override any GCC internal prototype to avoid an error.
11005 Use char because int might match the return type of a GCC
11006 builtin and then its argument prototype would still apply. */
11019 if ac_fn_c_try_link "$LINENO"; then :
11020 ac_cv_lib_svld_dlopen=yes
11022 ac_cv_lib_svld_dlopen=no
11024 rm -f core conftest.err conftest.$ac_objext \
11025 conftest$ac_exeext conftest.$ac_ext
11026 LIBS=$ac_check_lib_save_LIBS
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11029 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11030 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11031 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11034 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11035 if ${ac_cv_lib_dld_dld_link+:} false; then :
11036 $as_echo_n "(cached) " >&6
11038 ac_check_lib_save_LIBS=$LIBS
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11053 return dld_link ();
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 ac_cv_lib_dld_dld_link=yes
11061 ac_cv_lib_dld_dld_link=no
11063 rm -f core conftest.err conftest.$ac_objext \
11064 conftest$ac_exeext conftest.$ac_ext
11065 LIBS=$ac_check_lib_save_LIBS
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11068 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11069 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11070 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11091 if test "x$lt_cv_dlopen" != xno; then
11097 case $lt_cv_dlopen in
11099 save_CPPFLAGS="$CPPFLAGS"
11100 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11102 save_LDFLAGS="$LDFLAGS"
11103 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11106 LIBS="$lt_cv_dlopen_libs $LIBS"
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11109 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11110 if ${lt_cv_dlopen_self+:} false; then :
11111 $as_echo_n "(cached) " >&6
11113 if test "$cross_compiling" = yes; then :
11114 lt_cv_dlopen_self=cross
11116 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11117 lt_status=$lt_dlunknown
11118 cat > conftest.$ac_ext <<_LT_EOF
11119 #line $LINENO "configure"
11120 #include "confdefs.h"
11129 # define LT_DLGLOBAL RTLD_GLOBAL
11132 # define LT_DLGLOBAL DL_GLOBAL
11134 # define LT_DLGLOBAL 0
11138 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11139 find out it does not work in some platform. */
11140 #ifndef LT_DLLAZY_OR_NOW
11142 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11145 # define LT_DLLAZY_OR_NOW DL_LAZY
11148 # define LT_DLLAZY_OR_NOW RTLD_NOW
11151 # define LT_DLLAZY_OR_NOW DL_NOW
11153 # define LT_DLLAZY_OR_NOW 0
11160 /* When -fvisbility=hidden is used, assume the code has been annotated
11161 correspondingly for the symbols needed. */
11162 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11163 int fnord () __attribute__((visibility("default")));
11166 int fnord () { return 42; }
11169 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11170 int status = $lt_dlunknown;
11174 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11177 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11178 else puts (dlerror ());
11180 /* dlclose (self); */
11188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11189 (eval $ac_link) 2>&5
11191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11192 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11193 (./conftest; exit; ) >&5 2>/dev/null
11195 case x$lt_status in
11196 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11197 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11198 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11201 # compilation failed
11202 lt_cv_dlopen_self=no
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11210 $as_echo "$lt_cv_dlopen_self" >&6; }
11212 if test "x$lt_cv_dlopen_self" = xyes; then
11213 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11215 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11216 if ${lt_cv_dlopen_self_static+:} false; then :
11217 $as_echo_n "(cached) " >&6
11219 if test "$cross_compiling" = yes; then :
11220 lt_cv_dlopen_self_static=cross
11222 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11223 lt_status=$lt_dlunknown
11224 cat > conftest.$ac_ext <<_LT_EOF
11225 #line $LINENO "configure"
11226 #include "confdefs.h"
11235 # define LT_DLGLOBAL RTLD_GLOBAL
11238 # define LT_DLGLOBAL DL_GLOBAL
11240 # define LT_DLGLOBAL 0
11244 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11245 find out it does not work in some platform. */
11246 #ifndef LT_DLLAZY_OR_NOW
11248 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11251 # define LT_DLLAZY_OR_NOW DL_LAZY
11254 # define LT_DLLAZY_OR_NOW RTLD_NOW
11257 # define LT_DLLAZY_OR_NOW DL_NOW
11259 # define LT_DLLAZY_OR_NOW 0
11266 /* When -fvisbility=hidden is used, assume the code has been annotated
11267 correspondingly for the symbols needed. */
11268 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11269 int fnord () __attribute__((visibility("default")));
11272 int fnord () { return 42; }
11275 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11276 int status = $lt_dlunknown;
11280 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11283 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11284 else puts (dlerror ());
11286 /* dlclose (self); */
11294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11295 (eval $ac_link) 2>&5
11297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11298 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11299 (./conftest; exit; ) >&5 2>/dev/null
11301 case x$lt_status in
11302 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11303 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11304 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11307 # compilation failed
11308 lt_cv_dlopen_self_static=no
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11316 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11319 CPPFLAGS="$save_CPPFLAGS"
11320 LDFLAGS="$save_LDFLAGS"
11325 case $lt_cv_dlopen_self in
11326 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11327 *) enable_dlopen_self=unknown ;;
11330 case $lt_cv_dlopen_self_static in
11331 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11332 *) enable_dlopen_self_static=unknown ;;
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11355 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11356 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11357 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11358 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11360 $as_echo "yes" >&6; }
11362 # FIXME - insert some real tests, host_os isn't really good enough
11365 if test -n "$STRIP" ; then
11366 striplib="$STRIP -x"
11367 old_striplib="$STRIP -S"
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11369 $as_echo "yes" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11377 $as_echo "no" >&6; }
11393 # Report which library types will actually be built
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11395 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11397 $as_echo "$can_build_shared" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11400 $as_echo_n "checking whether to build shared libraries... " >&6; }
11401 test "$can_build_shared" = "no" && enable_shared=no
11403 # On AIX, shared libraries and static libraries use the same namespace, and
11404 # are all built from PIC.
11407 test "$enable_shared" = yes && enable_static=no
11408 if test -n "$RANLIB"; then
11409 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11410 postinstall_cmds='$RANLIB $lib'
11415 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11416 test "$enable_shared" = yes && enable_static=no
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11421 $as_echo "$enable_shared" >&6; }
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11424 $as_echo_n "checking whether to build static libraries... " >&6; }
11425 # Make sure either enable_shared or enable_static is yes.
11426 test "$enable_shared" = yes || enable_static=yes
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11428 $as_echo "$enable_static" >&6; }
11435 ac_cpp='$CPP $CPPFLAGS'
11436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11454 ac_config_commands="$ac_config_commands libtool"
11459 # Only expand once:
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11465 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11466 @%:@ Check whether --enable-maintainer-mode was given.
11467 if test "${enable_maintainer_mode+set}" = set; then :
11468 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11470 USE_MAINTAINER_MODE=no
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11474 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11475 if test $USE_MAINTAINER_MODE = yes; then
11476 MAINTAINER_MODE_TRUE=
11477 MAINTAINER_MODE_FALSE='#'
11479 MAINTAINER_MODE_TRUE='#'
11480 MAINTAINER_MODE_FALSE=
11483 MAINT=$MAINTAINER_MODE_TRUE
11487 if test `expr $GLIB_MINOR_VERSION \% 2` = 1 ; then
11490 debug_default=minimum
11493 @%:@ Check whether --enable-debug was given.
11494 if test "${enable_debug+set}" = set; then :
11495 enableval=$enable_debug;
11497 enable_debug=$debug_default
11500 @%:@ Check whether --enable-mem_check was given.
11501 if test "${enable_mem_check+set}" = set; then :
11502 enableval=$enable_mem_check;
11504 enable_mem_check=no
11507 @%:@ Check whether --enable-mem_profile was given.
11508 if test "${enable_mem_profile+set}" = set; then :
11509 enableval=$enable_mem_profile;
11511 enable_mem_profile=no
11514 @%:@ Check whether --enable-ansi was given.
11515 if test "${enable_ansi+set}" = set; then :
11516 enableval=$enable_ansi;
11521 @%:@ Check whether --enable-threads was given.
11522 if test "${enable_threads+set}" = set; then :
11523 enableval=$enable_threads;
11529 if test "x$enable_threads" != "xyes"; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable memory checking" >&5
11536 $as_echo_n "checking whether to enable memory checking... " >&6; }
11537 if test "x$enable_mem_check" = "xyes"; then
11538 $as_echo "@%:@define ENABLE_MEM_CHECK 1" >>confdefs.h
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11542 $as_echo "yes" >&6; }
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11546 $as_echo "no" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable memory profiling" >&5
11550 $as_echo_n "checking whether to enable memory profiling... " >&6; }
11551 if test "x$enable_mem_profile" = "xyes"; then
11552 $as_echo "@%:@define ENABLE_MEM_PROFILE 1" >>confdefs.h
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11556 $as_echo "yes" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11560 $as_echo "no" >&6; }
11565 if $mem_warn ; then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11567 **********************************************************************
11568 You have specified --enable-mem-profile or --enable-mem-check.
11569 These options are not recommended; they have not been thoroughly
11570 tested, and may cause unwanted side-effects. If --enable-mem-check is
11571 specified, NO MEMORY WILL BE FREED, EVER.
11573 References to better memory debugging tools can be found at:
11575 http://people.redhat.com/otaylor/memprof/memtools.html
11577 **********************************************************************" >&5
11578 $as_echo "$as_me: WARNING:
11579 **********************************************************************
11580 You have specified --enable-mem-profile or --enable-mem-check.
11581 These options are not recommended; they have not been thoroughly
11582 tested, and may cause unwanted side-effects. If --enable-mem-check is
11583 specified, NO MEMORY WILL BE FREED, EVER.
11585 References to better memory debugging tools can be found at:
11587 http://people.redhat.com/otaylor/memprof/memtools.html
11589 **********************************************************************" >&2;}
11592 if test "x$enable_debug" = "xyes"; then
11593 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
11594 GLIB_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
11596 if test "x$enable_debug" = "xno"; then
11597 GLIB_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
11601 cat >>confdefs.h <<_ACEOF
11602 @%:@define G_COMPILED_WITH_DEBUGGING "${enable_debug}"
11606 # Checks for programs.
11608 ac_cpp='$CPP $CPPFLAGS'
11609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11612 if test -n "$ac_tool_prefix"; then
11613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11614 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11616 $as_echo_n "checking for $ac_word... " >&6; }
11617 if ${ac_cv_prog_CC+:} false; then :
11618 $as_echo_n "(cached) " >&6
11620 if test -n "$CC"; then
11621 ac_cv_prog_CC="$CC" # Let the user override the test.
11623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11624 for as_dir in $PATH
11627 test -z "$as_dir" && as_dir=.
11628 for ac_exec_ext in '' $ac_executable_extensions; do
11629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11630 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11641 if test -n "$CC"; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11643 $as_echo "$CC" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11646 $as_echo "no" >&6; }
11651 if test -z "$ac_cv_prog_CC"; then
11653 # Extract the first word of "gcc", so it can be a program name with args.
11654 set dummy gcc; ac_word=$2
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11656 $as_echo_n "checking for $ac_word... " >&6; }
11657 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11658 $as_echo_n "(cached) " >&6
11660 if test -n "$ac_ct_CC"; then
11661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11664 for as_dir in $PATH
11667 test -z "$as_dir" && as_dir=.
11668 for ac_exec_ext in '' $ac_executable_extensions; do
11669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11670 ac_cv_prog_ac_ct_CC="gcc"
11671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11681 if test -n "$ac_ct_CC"; then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11683 $as_echo "$ac_ct_CC" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11686 $as_echo "no" >&6; }
11689 if test "x$ac_ct_CC" = x; then
11692 case $cross_compiling:$ac_tool_warned in
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11696 ac_tool_warned=yes ;;
11701 CC="$ac_cv_prog_CC"
11704 if test -z "$CC"; then
11705 if test -n "$ac_tool_prefix"; then
11706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11707 set dummy ${ac_tool_prefix}cc; ac_word=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11709 $as_echo_n "checking for $ac_word... " >&6; }
11710 if ${ac_cv_prog_CC+:} false; then :
11711 $as_echo_n "(cached) " >&6
11713 if test -n "$CC"; then
11714 ac_cv_prog_CC="$CC" # Let the user override the test.
11716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11720 test -z "$as_dir" && as_dir=.
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11723 ac_cv_prog_CC="${ac_tool_prefix}cc"
11724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11734 if test -n "$CC"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11736 $as_echo "$CC" >&6; }
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739 $as_echo "no" >&6; }
11745 if test -z "$CC"; then
11746 # Extract the first word of "cc", so it can be a program name with args.
11747 set dummy cc; ac_word=$2
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11749 $as_echo_n "checking for $ac_word... " >&6; }
11750 if ${ac_cv_prog_CC+:} false; then :
11751 $as_echo_n "(cached) " >&6
11753 if test -n "$CC"; then
11754 ac_cv_prog_CC="$CC" # Let the user override the test.
11756 ac_prog_rejected=no
11757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11758 for as_dir in $PATH
11761 test -z "$as_dir" && as_dir=.
11762 for ac_exec_ext in '' $ac_executable_extensions; do
11763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11765 ac_prog_rejected=yes
11769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11776 if test $ac_prog_rejected = yes; then
11777 # We found a bogon in the path, so make sure we never use it.
11778 set dummy $ac_cv_prog_CC
11780 if test $@%:@ != 0; then
11781 # We chose a different compiler from the bogus one.
11782 # However, it has the same basename, so the bogon will be chosen
11783 # first if we set CC to just the basename; use the full file name.
11785 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11791 if test -n "$CC"; then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11793 $as_echo "$CC" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11796 $as_echo "no" >&6; }
11801 if test -z "$CC"; then
11802 if test -n "$ac_tool_prefix"; then
11803 for ac_prog in cl.exe
11805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11808 $as_echo_n "checking for $ac_word... " >&6; }
11809 if ${ac_cv_prog_CC+:} false; then :
11810 $as_echo_n "(cached) " >&6
11812 if test -n "$CC"; then
11813 ac_cv_prog_CC="$CC" # Let the user override the test.
11815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11816 for as_dir in $PATH
11819 test -z "$as_dir" && as_dir=.
11820 for ac_exec_ext in '' $ac_executable_extensions; do
11821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11822 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 if test -n "$CC"; then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11835 $as_echo "$CC" >&6; }
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11838 $as_echo "no" >&6; }
11842 test -n "$CC" && break
11845 if test -z "$CC"; then
11847 for ac_prog in cl.exe
11849 # Extract the first word of "$ac_prog", so it can be a program name with args.
11850 set dummy $ac_prog; ac_word=$2
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11852 $as_echo_n "checking for $ac_word... " >&6; }
11853 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11854 $as_echo_n "(cached) " >&6
11856 if test -n "$ac_ct_CC"; then
11857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11860 for as_dir in $PATH
11863 test -z "$as_dir" && as_dir=.
11864 for ac_exec_ext in '' $ac_executable_extensions; do
11865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11866 ac_cv_prog_ac_ct_CC="$ac_prog"
11867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11877 if test -n "$ac_ct_CC"; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11879 $as_echo "$ac_ct_CC" >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11882 $as_echo "no" >&6; }
11886 test -n "$ac_ct_CC" && break
11889 if test "x$ac_ct_CC" = x; then
11892 case $cross_compiling:$ac_tool_warned in
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11896 ac_tool_warned=yes ;;
11905 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11907 as_fn_error $? "no acceptable C compiler found in \$PATH
11908 See \`config.log' for more details" "$LINENO" 5; }
11910 # Provide some information about the compiler.
11911 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11914 for ac_option in --version -v -V -qversion; do
11915 { { ac_try="$ac_compiler $ac_option >&5"
11916 case "(($ac_try" in
11917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11918 *) ac_try_echo=$ac_try;;
11920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11921 $as_echo "$ac_try_echo"; } >&5
11922 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11924 if test -s conftest.err; then
11926 ... rest of stderr output deleted ...
11927 10q' conftest.err >conftest.er1
11928 cat conftest.er1 >&5
11930 rm -f conftest.er1 conftest.err
11931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11932 test $ac_status = 0; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11936 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11937 if ${ac_cv_c_compiler_gnu+:} false; then :
11938 $as_echo_n "(cached) " >&6
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11954 if ac_fn_c_try_compile "$LINENO"; then :
11955 ac_compiler_gnu=yes
11959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11960 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11964 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11965 if test $ac_compiler_gnu = yes; then
11970 ac_test_CFLAGS=${CFLAGS+set}
11971 ac_save_CFLAGS=$CFLAGS
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11973 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11974 if ${ac_cv_prog_cc_g+:} false; then :
11975 $as_echo_n "(cached) " >&6
11977 ac_save_c_werror_flag=$ac_c_werror_flag
11978 ac_c_werror_flag=yes
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11992 if ac_fn_c_try_compile "$LINENO"; then :
11993 ac_cv_prog_cc_g=yes
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
12007 if ac_fn_c_try_compile "$LINENO"; then :
12010 ac_c_werror_flag=$ac_save_c_werror_flag
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12023 if ac_fn_c_try_compile "$LINENO"; then :
12024 ac_cv_prog_cc_g=yes
12026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12031 ac_c_werror_flag=$ac_save_c_werror_flag
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12034 $as_echo "$ac_cv_prog_cc_g" >&6; }
12035 if test "$ac_test_CFLAGS" = set; then
12036 CFLAGS=$ac_save_CFLAGS
12037 elif test $ac_cv_prog_cc_g = yes; then
12038 if test "$GCC" = yes; then
12044 if test "$GCC" = yes; then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12051 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12052 if ${ac_cv_prog_cc_c89+:} false; then :
12053 $as_echo_n "(cached) " >&6
12055 ac_cv_prog_cc_c89=no
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12059 #include <stdarg.h>
12061 #include <sys/types.h>
12062 #include <sys/stat.h>
12063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12064 struct buf { int x; };
12065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12066 static char *e (p, i)
12072 static char *f (char * (*g) (char **, int), char **p, ...)
12077 s = g (p, va_arg (v,int));
12082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12083 function prototypes and stuff, but not '\xHH' hex character constants.
12084 These don't provoke an error unfortunately, instead are silently treated
12085 as 'x'. The following induces an error, until -std is added to get
12086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12087 array size at least. It's necessary to write '\x00'==0 to get something
12088 that's true only with -std. */
12089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12092 inside strings and character constants. */
12094 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12096 int test (int i, double x);
12097 struct s1 {int (*f) (int a);};
12098 struct s2 {int (*f) (double a);};
12099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12113 CC="$ac_save_CC $ac_arg"
12114 if ac_fn_c_try_compile "$LINENO"; then :
12115 ac_cv_prog_cc_c89=$ac_arg
12117 rm -f core conftest.err conftest.$ac_objext
12118 test "x$ac_cv_prog_cc_c89" != "xno" && break
12120 rm -f conftest.$ac_ext
12125 case "x$ac_cv_prog_cc_c89" in
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12128 $as_echo "none needed" >&6; } ;;
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12131 $as_echo "unsupported" >&6; } ;;
12133 CC="$CC $ac_cv_prog_cc_c89"
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12135 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12137 if test "x$ac_cv_prog_cc_c89" != xno; then :
12142 ac_cpp='$CPP $CPPFLAGS'
12143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12147 depcc="$CC" am_compiler_list=
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12150 $as_echo_n "checking dependency style of $depcc... " >&6; }
12151 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12152 $as_echo_n "(cached) " >&6
12154 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12155 # We make a subdir and do the tests there. Otherwise we can end up
12156 # making bogus files that we don't know about and never remove. For
12157 # instance it was reported that on HP-UX the gcc test will end up
12158 # making a dummy file named `D' -- because `-MD' means `put the output
12161 # Copy depcomp to subdir because otherwise we won't find it if we're
12162 # using a relative directory.
12163 cp "$am_depcomp" conftest.dir
12165 # We will build objects and dependencies in a subdirectory because
12166 # it helps to detect inapplicable dependency modes. For instance
12167 # both Tru64's cc and ICC support -MD to output dependencies as a
12168 # side effect of compilation, but ICC will put the dependencies in
12169 # the current directory while Tru64 will put them in the object
12173 am_cv_CC_dependencies_compiler_type=none
12174 if test "$am_compiler_list" = ""; then
12175 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12177 am__universal=false
12178 case " $depcc " in #(
12179 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12182 for depmode in $am_compiler_list; do
12183 # Setup a source with many dependencies, because some compilers
12184 # like to wrap large dependency lists on column 80 (with \), and
12185 # we should not choose a depcomp mode which is confused by this.
12187 # We need to recreate these files for each test, as the compiler may
12188 # overwrite some of them when testing with obscure command lines.
12189 # This happens at least with the AIX C compiler.
12191 for i in 1 2 3 4 5 6; do
12192 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12193 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12194 # Solaris 8's {/usr,}/bin/sh.
12195 touch sub/conftst$i.h
12197 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12199 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12200 # mode. It turns out that the SunPro C++ compiler does not properly
12201 # handle `-M -o', and we need to detect this. Also, some Intel
12202 # versions had trouble with output in subdirs
12203 am__obj=sub/conftest.${OBJEXT-o}
12204 am__minus_obj="-o $am__obj"
12207 # This depmode causes a compiler race in universal mode.
12208 test "$am__universal" = false || continue
12211 # after this tag, mechanisms are not by side-effect, so they'll
12212 # only be used when explicitly requested
12213 if test "x$enable_dependency_tracking" = xyes; then
12219 msvisualcpp | msvcmsys)
12220 # This compiler won't grok `-c -o', but also, the minuso test has
12221 # not run yet. These depmodes are late enough in the game, and
12222 # so weak that their functioning should not be impacted.
12223 am__obj=conftest.${OBJEXT-o}
12228 if depmode=$depmode \
12229 source=sub/conftest.c object=$am__obj \
12230 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12231 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12232 >/dev/null 2>conftest.err &&
12233 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12234 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12235 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12236 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12237 # icc doesn't choke on unknown options, it will just issue warnings
12238 # or remarks (even with -Werror). So we grep stderr for any message
12239 # that says an option was ignored or not supported.
12240 # When given -MP, icc 7.0 and 7.1 complain thusly:
12241 # icc: Command line warning: ignoring option '-M'; no argument required
12242 # The diagnosis changed in icc 8.0:
12243 # icc: Command line remark: option '-MP' not supported
12244 if (grep 'ignoring option' conftest.err ||
12245 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12246 am_cv_CC_dependencies_compiler_type=$depmode
12253 rm -rf conftest.dir
12255 am_cv_CC_dependencies_compiler_type=none
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12260 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12261 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12264 test "x$enable_dependency_tracking" != xno \
12265 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12266 am__fastdepCC_TRUE=
12267 am__fastdepCC_FALSE='#'
12269 am__fastdepCC_TRUE='#'
12270 am__fastdepCC_FALSE=
12275 ac_cpp='$CPP $CPPFLAGS'
12276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12279 if test -n "$ac_tool_prefix"; then
12280 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12281 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12283 $as_echo_n "checking for $ac_word... " >&6; }
12284 if ${ac_cv_prog_CC+:} false; then :
12285 $as_echo_n "(cached) " >&6
12287 if test -n "$CC"; then
12288 ac_cv_prog_CC="$CC" # Let the user override the test.
12290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291 for as_dir in $PATH
12294 test -z "$as_dir" && as_dir=.
12295 for ac_exec_ext in '' $ac_executable_extensions; do
12296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12297 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12308 if test -n "$CC"; then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12310 $as_echo "$CC" >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12313 $as_echo "no" >&6; }
12318 if test -z "$ac_cv_prog_CC"; then
12320 # Extract the first word of "gcc", so it can be a program name with args.
12321 set dummy gcc; ac_word=$2
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12323 $as_echo_n "checking for $ac_word... " >&6; }
12324 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12325 $as_echo_n "(cached) " >&6
12327 if test -n "$ac_ct_CC"; then
12328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $PATH
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_prog_ac_ct_CC="gcc"
12338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12348 if test -n "$ac_ct_CC"; then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12350 $as_echo "$ac_ct_CC" >&6; }
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353 $as_echo "no" >&6; }
12356 if test "x$ac_ct_CC" = x; then
12359 case $cross_compiling:$ac_tool_warned in
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12363 ac_tool_warned=yes ;;
12368 CC="$ac_cv_prog_CC"
12371 if test -z "$CC"; then
12372 if test -n "$ac_tool_prefix"; then
12373 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12374 set dummy ${ac_tool_prefix}cc; ac_word=$2
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12376 $as_echo_n "checking for $ac_word... " >&6; }
12377 if ${ac_cv_prog_CC+:} false; then :
12378 $as_echo_n "(cached) " >&6
12380 if test -n "$CC"; then
12381 ac_cv_prog_CC="$CC" # Let the user override the test.
12383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12384 for as_dir in $PATH
12387 test -z "$as_dir" && as_dir=.
12388 for ac_exec_ext in '' $ac_executable_extensions; do
12389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12390 ac_cv_prog_CC="${ac_tool_prefix}cc"
12391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12401 if test -n "$CC"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12403 $as_echo "$CC" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12412 if test -z "$CC"; then
12413 # Extract the first word of "cc", so it can be a program name with args.
12414 set dummy cc; ac_word=$2
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12416 $as_echo_n "checking for $ac_word... " >&6; }
12417 if ${ac_cv_prog_CC+:} false; then :
12418 $as_echo_n "(cached) " >&6
12420 if test -n "$CC"; then
12421 ac_cv_prog_CC="$CC" # Let the user override the test.
12423 ac_prog_rejected=no
12424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12425 for as_dir in $PATH
12428 test -z "$as_dir" && as_dir=.
12429 for ac_exec_ext in '' $ac_executable_extensions; do
12430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12431 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12432 ac_prog_rejected=yes
12436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12443 if test $ac_prog_rejected = yes; then
12444 # We found a bogon in the path, so make sure we never use it.
12445 set dummy $ac_cv_prog_CC
12447 if test $@%:@ != 0; then
12448 # We chose a different compiler from the bogus one.
12449 # However, it has the same basename, so the bogon will be chosen
12450 # first if we set CC to just the basename; use the full file name.
12452 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12458 if test -n "$CC"; then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12460 $as_echo "$CC" >&6; }
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12463 $as_echo "no" >&6; }
12468 if test -z "$CC"; then
12469 if test -n "$ac_tool_prefix"; then
12470 for ac_prog in cl.exe
12472 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12475 $as_echo_n "checking for $ac_word... " >&6; }
12476 if ${ac_cv_prog_CC+:} false; then :
12477 $as_echo_n "(cached) " >&6
12479 if test -n "$CC"; then
12480 ac_cv_prog_CC="$CC" # Let the user override the test.
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12486 test -z "$as_dir" && as_dir=.
12487 for ac_exec_ext in '' $ac_executable_extensions; do
12488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12500 if test -n "$CC"; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12502 $as_echo "$CC" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12509 test -n "$CC" && break
12512 if test -z "$CC"; then
12514 for ac_prog in cl.exe
12516 # Extract the first word of "$ac_prog", so it can be a program name with args.
12517 set dummy $ac_prog; ac_word=$2
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12519 $as_echo_n "checking for $ac_word... " >&6; }
12520 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12521 $as_echo_n "(cached) " >&6
12523 if test -n "$ac_ct_CC"; then
12524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12527 for as_dir in $PATH
12530 test -z "$as_dir" && as_dir=.
12531 for ac_exec_ext in '' $ac_executable_extensions; do
12532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12533 ac_cv_prog_ac_ct_CC="$ac_prog"
12534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12544 if test -n "$ac_ct_CC"; then
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12546 $as_echo "$ac_ct_CC" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549 $as_echo "no" >&6; }
12553 test -n "$ac_ct_CC" && break
12556 if test "x$ac_ct_CC" = x; then
12559 case $cross_compiling:$ac_tool_warned in
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12563 ac_tool_warned=yes ;;
12572 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12574 as_fn_error $? "no acceptable C compiler found in \$PATH
12575 See \`config.log' for more details" "$LINENO" 5; }
12577 # Provide some information about the compiler.
12578 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12581 for ac_option in --version -v -V -qversion; do
12582 { { ac_try="$ac_compiler $ac_option >&5"
12583 case "(($ac_try" in
12584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585 *) ac_try_echo=$ac_try;;
12587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12588 $as_echo "$ac_try_echo"; } >&5
12589 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12591 if test -s conftest.err; then
12593 ... rest of stderr output deleted ...
12594 10q' conftest.err >conftest.er1
12595 cat conftest.er1 >&5
12597 rm -f conftest.er1 conftest.err
12598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12599 test $ac_status = 0; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12603 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12604 if ${ac_cv_c_compiler_gnu+:} false; then :
12605 $as_echo_n "(cached) " >&6
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12621 if ac_fn_c_try_compile "$LINENO"; then :
12622 ac_compiler_gnu=yes
12626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12627 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12631 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12632 if test $ac_compiler_gnu = yes; then
12637 ac_test_CFLAGS=${CFLAGS+set}
12638 ac_save_CFLAGS=$CFLAGS
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12640 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12641 if ${ac_cv_prog_cc_g+:} false; then :
12642 $as_echo_n "(cached) " >&6
12644 ac_save_c_werror_flag=$ac_c_werror_flag
12645 ac_c_werror_flag=yes
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12659 if ac_fn_c_try_compile "$LINENO"; then :
12660 ac_cv_prog_cc_g=yes
12663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h. */
12674 if ac_fn_c_try_compile "$LINENO"; then :
12677 ac_c_werror_flag=$ac_save_c_werror_flag
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12690 if ac_fn_c_try_compile "$LINENO"; then :
12691 ac_cv_prog_cc_g=yes
12693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12698 ac_c_werror_flag=$ac_save_c_werror_flag
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12701 $as_echo "$ac_cv_prog_cc_g" >&6; }
12702 if test "$ac_test_CFLAGS" = set; then
12703 CFLAGS=$ac_save_CFLAGS
12704 elif test $ac_cv_prog_cc_g = yes; then
12705 if test "$GCC" = yes; then
12711 if test "$GCC" = yes; then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12718 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12719 if ${ac_cv_prog_cc_c89+:} false; then :
12720 $as_echo_n "(cached) " >&6
12722 ac_cv_prog_cc_c89=no
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12726 #include <stdarg.h>
12728 #include <sys/types.h>
12729 #include <sys/stat.h>
12730 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12731 struct buf { int x; };
12732 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12733 static char *e (p, i)
12739 static char *f (char * (*g) (char **, int), char **p, ...)
12744 s = g (p, va_arg (v,int));
12749 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12750 function prototypes and stuff, but not '\xHH' hex character constants.
12751 These don't provoke an error unfortunately, instead are silently treated
12752 as 'x'. The following induces an error, until -std is added to get
12753 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12754 array size at least. It's necessary to write '\x00'==0 to get something
12755 that's true only with -std. */
12756 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12758 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12759 inside strings and character constants. */
12761 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12763 int test (int i, double x);
12764 struct s1 {int (*f) (int a);};
12765 struct s2 {int (*f) (double a);};
12766 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12772 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12777 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12778 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12780 CC="$ac_save_CC $ac_arg"
12781 if ac_fn_c_try_compile "$LINENO"; then :
12782 ac_cv_prog_cc_c89=$ac_arg
12784 rm -f core conftest.err conftest.$ac_objext
12785 test "x$ac_cv_prog_cc_c89" != "xno" && break
12787 rm -f conftest.$ac_ext
12792 case "x$ac_cv_prog_cc_c89" in
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12795 $as_echo "none needed" >&6; } ;;
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12798 $as_echo "unsupported" >&6; } ;;
12800 CC="$CC $ac_cv_prog_cc_c89"
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12802 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12804 if test "x$ac_cv_prog_cc_c89" != xno; then :
12809 ac_cpp='$CPP $CPPFLAGS'
12810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12814 depcc="$CC" am_compiler_list=
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12817 $as_echo_n "checking dependency style of $depcc... " >&6; }
12818 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12819 $as_echo_n "(cached) " >&6
12821 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12822 # We make a subdir and do the tests there. Otherwise we can end up
12823 # making bogus files that we don't know about and never remove. For
12824 # instance it was reported that on HP-UX the gcc test will end up
12825 # making a dummy file named `D' -- because `-MD' means `put the output
12828 # Copy depcomp to subdir because otherwise we won't find it if we're
12829 # using a relative directory.
12830 cp "$am_depcomp" conftest.dir
12832 # We will build objects and dependencies in a subdirectory because
12833 # it helps to detect inapplicable dependency modes. For instance
12834 # both Tru64's cc and ICC support -MD to output dependencies as a
12835 # side effect of compilation, but ICC will put the dependencies in
12836 # the current directory while Tru64 will put them in the object
12840 am_cv_CC_dependencies_compiler_type=none
12841 if test "$am_compiler_list" = ""; then
12842 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12844 am__universal=false
12845 case " $depcc " in #(
12846 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12849 for depmode in $am_compiler_list; do
12850 # Setup a source with many dependencies, because some compilers
12851 # like to wrap large dependency lists on column 80 (with \), and
12852 # we should not choose a depcomp mode which is confused by this.
12854 # We need to recreate these files for each test, as the compiler may
12855 # overwrite some of them when testing with obscure command lines.
12856 # This happens at least with the AIX C compiler.
12858 for i in 1 2 3 4 5 6; do
12859 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12860 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12861 # Solaris 8's {/usr,}/bin/sh.
12862 touch sub/conftst$i.h
12864 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12866 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12867 # mode. It turns out that the SunPro C++ compiler does not properly
12868 # handle `-M -o', and we need to detect this. Also, some Intel
12869 # versions had trouble with output in subdirs
12870 am__obj=sub/conftest.${OBJEXT-o}
12871 am__minus_obj="-o $am__obj"
12874 # This depmode causes a compiler race in universal mode.
12875 test "$am__universal" = false || continue
12878 # after this tag, mechanisms are not by side-effect, so they'll
12879 # only be used when explicitly requested
12880 if test "x$enable_dependency_tracking" = xyes; then
12886 msvisualcpp | msvcmsys)
12887 # This compiler won't grok `-c -o', but also, the minuso test has
12888 # not run yet. These depmodes are late enough in the game, and
12889 # so weak that their functioning should not be impacted.
12890 am__obj=conftest.${OBJEXT-o}
12895 if depmode=$depmode \
12896 source=sub/conftest.c object=$am__obj \
12897 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12898 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12899 >/dev/null 2>conftest.err &&
12900 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12901 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12902 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12903 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12904 # icc doesn't choke on unknown options, it will just issue warnings
12905 # or remarks (even with -Werror). So we grep stderr for any message
12906 # that says an option was ignored or not supported.
12907 # When given -MP, icc 7.0 and 7.1 complain thusly:
12908 # icc: Command line warning: ignoring option '-M'; no argument required
12909 # The diagnosis changed in icc 8.0:
12910 # icc: Command line remark: option '-MP' not supported
12911 if (grep 'ignoring option' conftest.err ||
12912 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12913 am_cv_CC_dependencies_compiler_type=$depmode
12920 rm -rf conftest.dir
12922 am_cv_CC_dependencies_compiler_type=none
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12927 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12928 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12931 test "x$enable_dependency_tracking" != xno \
12932 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12933 am__fastdepCC_TRUE=
12934 am__fastdepCC_FALSE='#'
12936 am__fastdepCC_TRUE='#'
12937 am__fastdepCC_FALSE=
12942 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
12946 if test "x$GCC" = "xyes"; then
12947 case " $CFLAGS " in
12948 *[\ \ ]-Wall[\ \ ]*) ;;
12949 *) CFLAGS="$CFLAGS -Wall" ;;
12952 if test "x$enable_ansi" = "xyes"; then
12953 case " $CFLAGS " in
12954 *[\ \ ]-ansi[\ \ ]*) ;;
12955 *) CFLAGS="$CFLAGS -ansi" ;;
12958 case " $CFLAGS " in
12959 *[\ \ ]-pedantic[\ \ ]*) ;;
12960 *) CFLAGS="$CFLAGS -pedantic" ;;
12965 # Checks for header files.
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12967 $as_echo_n "checking for ANSI C header files... " >&6; }
12968 if ${ac_cv_header_stdc+:} false; then :
12969 $as_echo_n "(cached) " >&6
12971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12972 /* end confdefs.h. */
12973 #include <stdlib.h>
12974 #include <stdarg.h>
12975 #include <string.h>
12986 if ac_fn_c_try_compile "$LINENO"; then :
12987 ac_cv_header_stdc=yes
12989 ac_cv_header_stdc=no
12991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12993 if test $ac_cv_header_stdc = yes; then
12994 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12997 #include <string.h>
13000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13001 $EGREP "memchr" >/dev/null 2>&1; then :
13004 ac_cv_header_stdc=no
13010 if test $ac_cv_header_stdc = yes; then
13011 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13014 #include <stdlib.h>
13017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13018 $EGREP "free" >/dev/null 2>&1; then :
13021 ac_cv_header_stdc=no
13027 if test $ac_cv_header_stdc = yes; then
13028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13029 if test "$cross_compiling" = yes; then :
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13035 #include <stdlib.h>
13036 #if ((' ' & 0x0FF) == 0x020)
13037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13040 # define ISLOWER(c) \
13041 (('a' <= (c) && (c) <= 'i') \
13042 || ('j' <= (c) && (c) <= 'r') \
13043 || ('s' <= (c) && (c) <= 'z'))
13044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13052 for (i = 0; i < 256; i++)
13053 if (XOR (islower (i), ISLOWER (i))
13054 || toupper (i) != TOUPPER (i))
13059 if ac_fn_c_try_run "$LINENO"; then :
13062 ac_cv_header_stdc=no
13064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13065 conftest.$ac_objext conftest.beam conftest.$ac_ext
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13071 $as_echo "$ac_cv_header_stdc" >&6; }
13072 if test $ac_cv_header_stdc = yes; then
13074 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
13079 # Checks for library functions.
13080 for ac_func in vprintf
13082 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
13083 if test "x$ac_cv_func_vprintf" = xyes; then :
13084 cat >>confdefs.h <<_ACEOF
13085 @%:@define HAVE_VPRINTF 1
13088 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
13089 if test "x$ac_cv_func__doprnt" = xyes; then :
13091 $as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
13100 for ac_func in atexit on_exit
13102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13104 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13105 cat >>confdefs.h <<_ACEOF
13106 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13113 # The cast to long int works around a bug in the HP C Compiler
13114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13116 # This bug is HP SR number 8606223364.
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13118 $as_echo_n "checking size of char... " >&6; }
13119 if ${ac_cv_sizeof_char+:} false; then :
13120 $as_echo_n "(cached) " >&6
13122 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13125 if test "$ac_cv_type_char" = yes; then
13126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13128 as_fn_error 77 "cannot compute sizeof (char)
13129 See \`config.log' for more details" "$LINENO" 5; }
13131 ac_cv_sizeof_char=0
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13137 $as_echo "$ac_cv_sizeof_char" >&6; }
13141 cat >>confdefs.h <<_ACEOF
13142 @%:@define SIZEOF_CHAR $ac_cv_sizeof_char
13146 # The cast to long int works around a bug in the HP C Compiler
13147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13149 # This bug is HP SR number 8606223364.
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13151 $as_echo_n "checking size of short... " >&6; }
13152 if ${ac_cv_sizeof_short+:} false; then :
13153 $as_echo_n "(cached) " >&6
13155 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13158 if test "$ac_cv_type_short" = yes; then
13159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13161 as_fn_error 77 "cannot compute sizeof (short)
13162 See \`config.log' for more details" "$LINENO" 5; }
13164 ac_cv_sizeof_short=0
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13170 $as_echo "$ac_cv_sizeof_short" >&6; }
13174 cat >>confdefs.h <<_ACEOF
13175 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
13179 # The cast to long int works around a bug in the HP C Compiler
13180 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13181 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13182 # This bug is HP SR number 8606223364.
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13184 $as_echo_n "checking size of long... " >&6; }
13185 if ${ac_cv_sizeof_long+:} false; then :
13186 $as_echo_n "(cached) " >&6
13188 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13191 if test "$ac_cv_type_long" = yes; then
13192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13194 as_fn_error 77 "cannot compute sizeof (long)
13195 See \`config.log' for more details" "$LINENO" 5; }
13197 ac_cv_sizeof_long=0
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13203 $as_echo "$ac_cv_sizeof_long" >&6; }
13207 cat >>confdefs.h <<_ACEOF
13208 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
13212 # The cast to long int works around a bug in the HP C Compiler
13213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13215 # This bug is HP SR number 8606223364.
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13217 $as_echo_n "checking size of int... " >&6; }
13218 if ${ac_cv_sizeof_int+:} false; then :
13219 $as_echo_n "(cached) " >&6
13221 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13224 if test "$ac_cv_type_int" = yes; then
13225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13227 as_fn_error 77 "cannot compute sizeof (int)
13228 See \`config.log' for more details" "$LINENO" 5; }
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13236 $as_echo "$ac_cv_sizeof_int" >&6; }
13240 cat >>confdefs.h <<_ACEOF
13241 @%:@define SIZEOF_INT $ac_cv_sizeof_int
13245 # The cast to long int works around a bug in the HP C Compiler
13246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13248 # This bug is HP SR number 8606223364.
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13250 $as_echo_n "checking size of void *... " >&6; }
13251 if ${ac_cv_sizeof_void_p+:} false; then :
13252 $as_echo_n "(cached) " >&6
13254 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13257 if test "$ac_cv_type_void_p" = yes; then
13258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13260 as_fn_error 77 "cannot compute sizeof (void *)
13261 See \`config.log' for more details" "$LINENO" 5; }
13263 ac_cv_sizeof_void_p=0
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13269 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13273 cat >>confdefs.h <<_ACEOF
13274 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13278 # The cast to long int works around a bug in the HP C Compiler
13279 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13280 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13281 # This bug is HP SR number 8606223364.
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13283 $as_echo_n "checking size of long long... " >&6; }
13284 if ${ac_cv_sizeof_long_long+:} false; then :
13285 $as_echo_n "(cached) " >&6
13287 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
13290 if test "$ac_cv_type_long_long" = yes; then
13291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13293 as_fn_error 77 "cannot compute sizeof (long long)
13294 See \`config.log' for more details" "$LINENO" 5; }
13296 ac_cv_sizeof_long_long=0
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13302 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13306 cat >>confdefs.h <<_ACEOF
13307 @%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13313 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13314 if ${ac_cv_c_const+:} false; then :
13315 $as_echo_n "(cached) " >&6
13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13323 /* FIXME: Include the comments suggested by Paul. */
13324 #ifndef __cplusplus
13325 /* Ultrix mips cc rejects this. */
13326 typedef int charset[2];
13328 /* SunOS 4.1.1 cc rejects this. */
13329 char const *const *pcpcc;
13331 /* NEC SVR4.0.2 mips cc rejects this. */
13332 struct point {int x, y;};
13333 static struct point const zero = {0,0};
13334 /* AIX XL C 1.02.0.0 rejects this.
13335 It does not let you subtract one const X* pointer from another in
13336 an arm of an if-expression whose if-part is not a constant
13338 const char *g = "string";
13339 pcpcc = &g + (g ? g-g : 0);
13340 /* HPUX 7.0 cc rejects these. */
13342 ppc = (char**) pcpcc;
13343 pcpcc = (char const *const *) ppc;
13344 { /* SCO 3.2v4 cc rejects this. */
13346 char const *s = 0 ? (char *) 0 : (char const *) 0;
13351 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13352 int x[] = {25, 17};
13353 const int *foo = &x[0];
13356 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13357 typedef const int *iptr;
13361 { /* AIX XL C 1.02.0.0 rejects this saying
13362 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13363 struct s { int j; const int *ap[3]; };
13364 struct s *b; b->j = 5;
13366 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13367 const int foo = 10;
13368 if (!foo) return 0;
13370 return !cs[0] && !zero.x;
13377 if ac_fn_c_try_compile "$LINENO"; then :
13382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13385 $as_echo "$ac_cv_c_const" >&6; }
13386 if test $ac_cv_c_const = no; then
13388 $as_echo "@%:@define const /**/" >>confdefs.h
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline" >&5
13394 $as_echo_n "checking for __inline... " >&6; }
13395 if ${glib_cv_has__inline+:} false; then :
13396 $as_echo_n "(cached) " >&6
13399 if test "$cross_compiling" = yes; then :
13400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13402 as_fn_error $? "cannot run test program while cross compiling
13403 See \`config.log' for more details" "$LINENO" 5; }
13405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13406 /* end confdefs.h. */
13408 __inline int foo () { return 0; }
13409 int main () { return foo (); }
13412 if ac_fn_c_try_run "$LINENO"; then :
13413 glib_cv_has__inline=yes
13416 glib_cv_has__inline=no
13419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13420 conftest.$ac_objext conftest.beam conftest.$ac_ext
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_has__inline" >&5
13427 $as_echo "$glib_cv_has__inline" >&6; }
13428 case x$glib_cv_has__inline in
13429 xyes) $as_echo "@%:@define G_HAVE___INLINE 1" >>confdefs.h
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline__" >&5
13433 $as_echo_n "checking for __inline__... " >&6; }
13434 if ${glib_cv_has__inline__+:} false; then :
13435 $as_echo_n "(cached) " >&6
13438 if test "$cross_compiling" = yes; then :
13439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13441 as_fn_error $? "cannot run test program while cross compiling
13442 See \`config.log' for more details" "$LINENO" 5; }
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13447 __inline__ int foo () { return 0; }
13448 int main () { return foo (); }
13451 if ac_fn_c_try_run "$LINENO"; then :
13452 glib_cv_has__inline__=yes
13455 glib_cv_has__inline__=no
13458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13459 conftest.$ac_objext conftest.beam conftest.$ac_ext
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_has__inline__" >&5
13466 $as_echo "$glib_cv_has__inline__" >&6; }
13467 case x$glib_cv_has__inline__ in
13468 xyes) $as_echo "@%:@define G_HAVE___INLINE__ 1" >>confdefs.h
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13472 $as_echo_n "checking for inline... " >&6; }
13473 if ${glib_cv_hasinline+:} false; then :
13474 $as_echo_n "(cached) " >&6
13477 if test "$cross_compiling" = yes; then :
13478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13480 as_fn_error $? "cannot run test program while cross compiling
13481 See \`config.log' for more details" "$LINENO" 5; }
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13486 inline int foo () { return 0; }
13487 int main () { return foo (); }
13490 if ac_fn_c_try_run "$LINENO"; then :
13491 glib_cv_hasinline=yes
13494 glib_cv_hasinline=no
13497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13498 conftest.$ac_objext conftest.beam conftest.$ac_ext
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_hasinline" >&5
13505 $as_echo "$glib_cv_hasinline" >&6; }
13506 case x$glib_cv_hasinline in
13507 xyes) $as_echo "@%:@define G_HAVE_INLINE 1" >>confdefs.h
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13512 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13513 if ${ac_cv_c_bigendian+:} false; then :
13514 $as_echo_n "(cached) " >&6
13516 ac_cv_c_bigendian=unknown
13517 # See if we're dealing with a universal compiler.
13518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13520 #ifndef __APPLE_CC__
13521 not a universal capable compiler
13526 if ac_fn_c_try_compile "$LINENO"; then :
13528 # Check for potential -arch flags. It is not universal unless
13529 # there are at least two -arch flags with different values.
13532 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13533 if test -n "$ac_prev"; then
13535 i?86 | x86_64 | ppc | ppc64)
13536 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13539 ac_cv_c_bigendian=universal
13545 elif test "x$ac_word" = "x-arch"; then
13550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13551 if test $ac_cv_c_bigendian = unknown; then
13552 # See if sys/param.h defines the BYTE_ORDER macro.
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 #include <sys/types.h>
13556 #include <sys/param.h>
13561 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13562 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13564 bogus endian macros
13571 if ac_fn_c_try_compile "$LINENO"; then :
13572 # It does; now see whether it defined to BIG_ENDIAN or not.
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 #include <sys/types.h>
13576 #include <sys/param.h>
13581 #if BYTE_ORDER != BIG_ENDIAN
13589 if ac_fn_c_try_compile "$LINENO"; then :
13590 ac_cv_c_bigendian=yes
13592 ac_cv_c_bigendian=no
13594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13598 if test $ac_cv_c_bigendian = unknown; then
13599 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13602 #include <limits.h>
13607 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13608 bogus endian macros
13615 if ac_fn_c_try_compile "$LINENO"; then :
13616 # It does; now see whether it defined to _BIG_ENDIAN or not.
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <limits.h>
13624 #ifndef _BIG_ENDIAN
13632 if ac_fn_c_try_compile "$LINENO"; then :
13633 ac_cv_c_bigendian=yes
13635 ac_cv_c_bigendian=no
13637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13641 if test $ac_cv_c_bigendian = unknown; then
13642 # Compile a test program.
13643 if test "$cross_compiling" = yes; then :
13644 # Try to guess by grepping values from an object file.
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 short int ascii_mm[] =
13648 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13649 short int ascii_ii[] =
13650 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13651 int use_ascii (int i) {
13652 return ascii_mm[i] + ascii_ii[i];
13654 short int ebcdic_ii[] =
13655 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13656 short int ebcdic_mm[] =
13657 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13658 int use_ebcdic (int i) {
13659 return ebcdic_mm[i] + ebcdic_ii[i];
13666 return use_ascii (foo) == use_ebcdic (foo);
13671 if ac_fn_c_try_compile "$LINENO"; then :
13672 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13673 ac_cv_c_bigendian=yes
13675 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13676 if test "$ac_cv_c_bigendian" = unknown; then
13677 ac_cv_c_bigendian=no
13679 # finding both strings is unlikely to happen, but who knows?
13680 ac_cv_c_bigendian=unknown
13684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13688 $ac_includes_default
13693 /* Are we little or big endian? From Harbison&Steele. */
13697 char c[sizeof (long int)];
13700 return u.c[sizeof (long int) - 1] == 1;
13706 if ac_fn_c_try_run "$LINENO"; then :
13707 ac_cv_c_bigendian=no
13709 ac_cv_c_bigendian=yes
13711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13712 conftest.$ac_objext conftest.beam conftest.$ac_ext
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13718 $as_echo "$ac_cv_c_bigendian" >&6; }
13719 case $ac_cv_c_bigendian in #(
13721 $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
13727 $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13731 as_fn_error $? "unknown endianness
13732 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13736 for ac_header in float.h
13738 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
13739 if test "x$ac_cv_header_float_h" = xyes; then :
13740 cat >>confdefs.h <<_ACEOF
13741 @%:@define HAVE_FLOAT_H 1
13743 $as_echo "@%:@define HAVE_FLOAT_H 1" >>confdefs.h
13749 for ac_header in limits.h
13751 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
13752 if test "x$ac_cv_header_limits_h" = xyes; then :
13753 cat >>confdefs.h <<_ACEOF
13754 @%:@define HAVE_LIMITS_H 1
13756 $as_echo "@%:@define HAVE_LIMITS_H 1" >>confdefs.h
13762 for ac_header in pwd.h
13764 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
13765 if test "x$ac_cv_header_pwd_h" = xyes; then :
13766 cat >>confdefs.h <<_ACEOF
13767 @%:@define HAVE_PWD_H 1
13769 $as_echo "@%:@define HAVE_PWD_H 1" >>confdefs.h
13775 for ac_header in sys/param.h
13777 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
13778 if test "x$ac_cv_header_sys_param_h" = xyes; then :
13779 cat >>confdefs.h <<_ACEOF
13780 @%:@define HAVE_SYS_PARAM_H 1
13782 $as_echo "@%:@define HAVE_SYS_PARAM_H 1" >>confdefs.h
13788 for ac_header in sys/poll.h
13790 ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
13791 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
13792 cat >>confdefs.h <<_ACEOF
13793 @%:@define HAVE_SYS_POLL_H 1
13795 $as_echo "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h
13801 for ac_header in sys/select.h
13803 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
13804 if test "x$ac_cv_header_sys_select_h" = xyes; then :
13805 cat >>confdefs.h <<_ACEOF
13806 @%:@define HAVE_SYS_SELECT_H 1
13808 $as_echo "@%:@define HAVE_SYS_SELECT_H 1" >>confdefs.h
13814 for ac_header in sys/time.h
13816 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13817 if test "x$ac_cv_header_sys_time_h" = xyes; then :
13818 cat >>confdefs.h <<_ACEOF
13819 @%:@define HAVE_SYS_TIME_H 1
13821 $as_echo "@%:@define HAVE_SYS_TIME_H 1" >>confdefs.h
13827 for ac_header in sys/times.h
13829 ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
13830 if test "x$ac_cv_header_sys_times_h" = xyes; then :
13831 cat >>confdefs.h <<_ACEOF
13832 @%:@define HAVE_SYS_TIMES_H 1
13834 $as_echo "@%:@define HAVE_SYS_TIMES_H 1" >>confdefs.h
13840 for ac_header in unistd.h
13842 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13843 if test "x$ac_cv_header_unistd_h" = xyes; then :
13844 cat >>confdefs.h <<_ACEOF
13845 @%:@define HAVE_UNISTD_H 1
13847 $as_echo "@%:@define HAVE_UNISTD_H 1" >>confdefs.h
13853 for ac_header in values.h
13855 ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default"
13856 if test "x$ac_cv_header_values_h" = xyes; then :
13857 cat >>confdefs.h <<_ACEOF
13858 @%:@define HAVE_VALUES_H 1
13860 $as_echo "@%:@define HAVE_VALUES_H 1" >>confdefs.h
13867 # Check for some functions
13868 for ac_func in lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll
13870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13873 cat >>confdefs.h <<_ACEOF
13874 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13881 # Check for sys_errlist
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_errlist" >&5
13883 $as_echo_n "checking for sys_errlist... " >&6; }
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13891 extern char *sys_errlist[];
13892 extern int sys_nerr;
13893 sys_errlist[sys_nerr-1][0] = 0;
13899 if ac_fn_c_try_link "$LINENO"; then :
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13907 $as_echo "$glib_ok" >&6; }
13908 if test $glib_ok = no; then
13909 $as_echo "@%:@define NO_SYS_ERRLIST 1" >>confdefs.h
13913 # Check for sys_siglist
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_siglist" >&5
13915 $as_echo_n "checking for sys_siglist... " >&6; }
13916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13923 extern char *sys_siglist[];
13924 exit (sys_siglist[0]);
13930 if ac_fn_c_try_link "$LINENO"; then :
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13938 $as_echo "$glib_ok" >&6; }
13939 if test $glib_ok = no; then
13940 $as_echo "@%:@define NO_SYS_SIGLIST 1" >>confdefs.h
13944 # Check for sys_siglist decl (see Tue Jan 19 00:44:24 1999 in changelog)
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_siglist declaration" >&5
13946 $as_echo_n "checking for sys_siglist declaration... " >&6; }
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 #include <signal.h>
13954 strlen (sys_siglist[0]);
13960 if ac_fn_c_try_compile "$LINENO"; then :
13965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13967 $as_echo "$glib_ok" >&6; }
13968 if test $glib_ok = no; then
13969 $as_echo "@%:@define NO_SYS_SIGLIST_DECL 1" >>confdefs.h
13973 # Check if <sys/select.h> needs to be included for fd_set
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fd_set" >&5
13975 $as_echo_n "checking for fd_set... " >&6; }
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978 #include <sys/types.h>
13982 fd_set readMask, writeMask;
13987 if ac_fn_c_try_compile "$LINENO"; then :
13992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13993 if test $gtk_ok = yes; then
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/types.h" >&5
13995 $as_echo "yes, found in sys/types.h" >&6; }
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
13999 #include <sys/select.h>
14002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14003 $EGREP "fd_mask" >/dev/null 2>&1; then :
14008 if test $gtk_ok = yes; then
14009 $as_echo "@%:@define HAVE_SYS_SELECT_H 1" >>confdefs.h
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/select.h" >&5
14012 $as_echo "yes, found in sys/select.h" >&6; }
14014 $as_echo "@%:@define NO_FD_SET 1" >>confdefs.h
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14017 $as_echo "no" >&6; }
14021 # These are used only in GDK (gdki18n.h)
14022 # This stuff is here only so that we can define these
14023 # things in glibconfig.h. If gtk+ started using an installed
14024 # gdkconfig.h file, then the definitions would belong there.
14026 # Check for wchar.h
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar.h" >&5
14029 $as_echo_n "checking for wchar.h... " >&6; }
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14034 if ac_fn_c_try_cpp "$LINENO"; then :
14039 rm -f conftest.err conftest.i conftest.$ac_ext
14040 if test $glib_wchar_h = yes; then
14041 $as_echo "@%:@define HAVE_WCHAR_H 1" >>confdefs.h
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_wchar_h" >&5
14045 $as_echo "$glib_wchar_h" >&6; }
14047 # Check for wctype.h (for iswalnum)
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype.h" >&5
14050 $as_echo_n "checking for wctype.h... " >&6; }
14051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14053 #include <wctype.h>
14055 if ac_fn_c_try_cpp "$LINENO"; then :
14060 rm -f conftest.err conftest.i conftest.$ac_ext
14061 if test $glib_wctype_h = yes; then
14062 $as_echo "@%:@define HAVE_WCTYPE_H 1" >>confdefs.h
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_wctype_h" >&5
14066 $as_echo "$glib_wctype_h" >&6; }
14069 # in Solaris 2.5, `iswalnum' is in -lw
14070 ac_fn_c_check_func "$LINENO" "iswalnum" "ac_cv_func_iswalnum"
14071 if test "x$ac_cv_func_iswalnum" = xyes; then :
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iswalnum in -lw" >&5
14075 $as_echo_n "checking for iswalnum in -lw... " >&6; }
14076 if ${ac_cv_lib_w_iswalnum+:} false; then :
14077 $as_echo_n "(cached) " >&6
14079 ac_check_lib_save_LIBS=$LIBS
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14094 return iswalnum ();
14099 if ac_fn_c_try_link "$LINENO"; then :
14100 ac_cv_lib_w_iswalnum=yes
14102 ac_cv_lib_w_iswalnum=no
14104 rm -f core conftest.err conftest.$ac_objext \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_iswalnum" >&5
14109 $as_echo "$ac_cv_lib_w_iswalnum" >&6; }
14110 if test "x$ac_cv_lib_w_iswalnum" = xyes; then :
14111 cat >>confdefs.h <<_ACEOF
14112 @%:@define HAVE_LIBW 1
14122 # The following is necessary for Linux libc-5.4.38
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iswalnum() and friends are properly defined" >&5
14124 $as_echo_n "checking if iswalnum() and friends are properly defined... " >&6; }
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 #include <stdlib.h>
14132 #if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
14133 # ifdef HAVE_WCTYPE_H
14134 # include <wctype.h>
14136 # ifdef HAVE_WCHAR_H
14137 # include <wchar.h>
14141 # define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
14143 iswalnum((wchar_t) 0);
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 glib_working_wctype=yes
14152 glib_working_wctype=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14158 if test $glib_working_wctype = no; then
14159 $as_echo "@%:@define HAVE_BROKEN_WCTYPE 1" >>confdefs.h
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_working_wctype" >&5
14163 $as_echo "$glib_working_wctype" >&6; }
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realloc (NULL,) will work" >&5
14166 $as_echo_n "checking whether realloc (NULL,) will work... " >&6; }
14167 if ${glib_cv_sane_realloc+:} false; then :
14168 $as_echo_n "(cached) " >&6
14171 if test "$cross_compiling" = yes; then :
14172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14174 as_fn_error $? "cannot run test program while cross compiling
14175 See \`config.log' for more details" "$LINENO" 5; }
14177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14180 #include <stdlib.h>
14182 return realloc (0, sizeof (int)) == 0;
14185 if ac_fn_c_try_run "$LINENO"; then :
14186 glib_cv_sane_realloc=yes
14189 glib_cv_sane_realloc=no
14192 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14193 conftest.$ac_objext conftest.beam conftest.$ac_ext
14199 if test "x$glib_cv_sane_realloc" = "xyes"; then
14200 $as_echo "@%:@define REALLOC_0_WORKS 1" >>confdefs.h
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sane_realloc" >&5
14204 $as_echo "$glib_cv_sane_realloc" >&6; }
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5
14208 $as_echo_n "checking for an implementation of va_copy()... " >&6; }
14209 if ${glib_cv_va_copy+:} false; then :
14210 $as_echo_n "(cached) " >&6
14213 if test "$cross_compiling" = yes; then :
14214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14216 as_fn_error $? "cannot run test program while cross compiling
14217 See \`config.log' for more details" "$LINENO" 5; }
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14222 #include <stdarg.h>
14223 void f (int i, ...) {
14224 va_list args1, args2;
14225 va_start (args1, i);
14226 va_copy (args2, args1);
14227 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14229 va_end (args1); va_end (args2);
14236 if ac_fn_c_try_run "$LINENO"; then :
14237 glib_cv_va_copy=yes
14243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14244 conftest.$ac_objext conftest.beam conftest.$ac_ext
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_va_copy" >&5
14251 $as_echo "$glib_cv_va_copy" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5
14253 $as_echo_n "checking for an implementation of __va_copy()... " >&6; }
14254 if ${glib_cv___va_copy+:} false; then :
14255 $as_echo_n "(cached) " >&6
14258 if test "$cross_compiling" = yes; then :
14259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14261 as_fn_error $? "cannot run test program while cross compiling
14262 See \`config.log' for more details" "$LINENO" 5; }
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 #include <stdarg.h>
14268 void f (int i, ...) {
14269 va_list args1, args2;
14270 va_start (args1, i);
14271 __va_copy (args2, args1);
14272 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14274 va_end (args1); va_end (args2);
14281 if ac_fn_c_try_run "$LINENO"; then :
14282 glib_cv___va_copy=yes
14285 glib_cv___va_copy=no
14288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14289 conftest.$ac_objext conftest.beam conftest.$ac_ext
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv___va_copy" >&5
14296 $as_echo "$glib_cv___va_copy" >&6; }
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists can be copied by value" >&5
14298 $as_echo_n "checking whether va_lists can be copied by value... " >&6; }
14299 if ${glib_cv_va_val_copy+:} false; then :
14300 $as_echo_n "(cached) " >&6
14303 if test "$cross_compiling" = yes; then :
14304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14306 as_fn_error $? "cannot run test program while cross compiling
14307 See \`config.log' for more details" "$LINENO" 5; }
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 #include <stdarg.h>
14313 void f (int i, ...) {
14314 va_list args1, args2;
14315 va_start (args1, i);
14317 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14319 va_end (args1); va_end (args2);
14326 if ac_fn_c_try_run "$LINENO"; then :
14327 glib_cv_va_val_copy=yes
14330 glib_cv_va_val_copy=no
14333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14334 conftest.$ac_objext conftest.beam conftest.$ac_ext
14340 if test "x$glib_cv_va_copy" = "xyes"; then
14341 $as_echo "@%:@define G_VA_COPY va_copy" >>confdefs.h
14344 if test "x$glib_cv___va_copy" = "xyes"; then
14345 $as_echo "@%:@define G_VA_COPY __va_copy" >>confdefs.h
14349 if test "x$glib_cv_va_val_copy" = "xno"; then
14350 $as_echo "@%:@define G_VA_COPY_AS_ARRAY 1" >>confdefs.h
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_va_val_copy" >&5
14354 $as_echo "$glib_cv_va_val_copy" >&6; }
14359 G_MODULE_NEED_USCORE=0
14360 G_MODULE_BROKEN_RTLD_GLOBAL=0
14361 G_MODULE_HAVE_DLERROR=0
14362 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14363 if test "x$ac_cv_func_dlopen" = xyes; then :
14364 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
14365 if test "x$ac_cv_func_dlsym" = xyes; then :
14366 G_MODULE_IMPL=G_MODULE_IMPL_DL
14371 if test -z "$G_MODULE_IMPL"; then
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14373 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14374 if ${ac_cv_lib_dl_dlopen+:} false; then :
14375 $as_echo_n "(cached) " >&6
14377 ac_check_lib_save_LIBS=$LIBS
14379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14380 /* end confdefs.h. */
14382 /* Override any GCC internal prototype to avoid an error.
14383 Use char because int might match the return type of a GCC
14384 builtin and then its argument prototype would still apply. */
14397 if ac_fn_c_try_link "$LINENO"; then :
14398 ac_cv_lib_dl_dlopen=yes
14400 ac_cv_lib_dl_dlopen=no
14402 rm -f core conftest.err conftest.$ac_objext \
14403 conftest$ac_exeext conftest.$ac_ext
14404 LIBS=$ac_check_lib_save_LIBS
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14407 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14408 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
14410 $as_echo_n "checking for dlsym in -ldl... " >&6; }
14411 if ${ac_cv_lib_dl_dlsym+:} false; then :
14412 $as_echo_n "(cached) " >&6
14414 ac_check_lib_save_LIBS=$LIBS
14416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14419 /* Override any GCC internal prototype to avoid an error.
14420 Use char because int might match the return type of a GCC
14421 builtin and then its argument prototype would still apply. */
14434 if ac_fn_c_try_link "$LINENO"; then :
14435 ac_cv_lib_dl_dlsym=yes
14437 ac_cv_lib_dl_dlsym=no
14439 rm -f core conftest.err conftest.$ac_objext \
14440 conftest$ac_exeext conftest.$ac_ext
14441 LIBS=$ac_check_lib_save_LIBS
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
14444 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
14445 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
14448 G_MODULE_IMPL=G_MODULE_IMPL_DL
14455 if test -z "$G_MODULE_IMPL"; then
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to export all symbols" >&5
14457 $as_echo_n "checking how to export all symbols... " >&6; }
14458 SAVED_LDFLAGS=$LDFLAGS
14459 LDFLAGS="$LDFLAGS -Wl,-E"
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14471 if ac_fn_c_try_link "$LINENO"; then :
14472 G_MODULE_LDFLAGS="-Wl,-E"
14475 LDFLAGS="$SAVED_LDFLAGS -bexpall"
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 G_MODULE_LDFLAGS="-bexpall"
14490 G_MODULE_LDFLAGS="none"
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 LDFLAGS=$SAVED_LDFLAGS
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_MODULE_LDFLAGS" >&5
14501 $as_echo "$G_MODULE_LDFLAGS" >&6; }
14502 if test "x$G_MODULE_LDFLAGS" = "xnone"; then
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14506 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14507 if ${ac_cv_lib_dld_shl_load+:} false; then :
14508 $as_echo_n "(cached) " >&6
14510 ac_check_lib_save_LIBS=$LIBS
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14515 /* Override any GCC internal prototype to avoid an error.
14516 Use char because int might match the return type of a GCC
14517 builtin and then its argument prototype would still apply. */
14525 return shl_load ();
14530 if ac_fn_c_try_link "$LINENO"; then :
14531 ac_cv_lib_dld_shl_load=yes
14533 ac_cv_lib_dld_shl_load=no
14535 rm -f core conftest.err conftest.$ac_objext \
14536 conftest$ac_exeext conftest.$ac_ext
14537 LIBS=$ac_check_lib_save_LIBS
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14540 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14541 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14542 G_MODULE_LIBS=-ldld
14543 G_MODULE_IMPL=G_MODULE_IMPL_DLD
14548 if test "$G_MODULE_IMPL" = "G_MODULE_IMPL_DL"; then
14551 G_MODULE_LDFLAGS='-rdynamic'
14555 LDFLAGS_orig="$LDFLAGS"
14556 LIBS="$LIBS $G_MODULE_LIBS"
14557 LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTLD_GLOBAL brokenness" >&5
14559 $as_echo_n "checking for RTLD_GLOBAL brokenness... " >&6; }
14560 if ${glib_cv_rtldglobal_broken+:} false; then :
14561 $as_echo_n "(cached) " >&6
14564 if test "$cross_compiling" = yes; then :
14565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14567 as_fn_error $? "cannot run test program while cross compiling
14568 See \`config.log' for more details" "$LINENO" 5; }
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14574 #ifndef RTLD_GLOBAL
14575 #define RTLD_GLOBAL 0
14578 #define RTLD_LAZY 0
14580 int pthread_create;
14582 void *handle, *global, *local;
14583 global = &pthread_create;
14584 handle = dlopen ("libpthread.so", RTLD_GLOBAL | RTLD_LAZY);
14585 if (!handle) return 0;
14586 local = dlsym (handle, "pthread_create");
14587 return global == local;
14590 if ac_fn_c_try_run "$LINENO"; then :
14591 glib_cv_rtldglobal_broken=no
14593 glib_cv_rtldglobal_broken=yes
14595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14596 conftest.$ac_objext conftest.beam conftest.$ac_ext
14599 rm -f plugin.c plugin.o plugin.lo
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_rtldglobal_broken" >&5
14603 $as_echo "$glib_cv_rtldglobal_broken" >&6; }
14604 if test "x$glib_cv_rtldglobal_broken" = "xyes"; then
14605 G_MODULE_BROKEN_RTLD_GLOBAL=1
14607 G_MODULE_BROKEN_RTLD_GLOBAL=0
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preceeding underscore in symbols" >&5
14610 $as_echo_n "checking for preceeding underscore in symbols... " >&6; }
14611 if ${glib_cv_uscore+:} false; then :
14612 $as_echo_n "(cached) " >&6
14615 if test "$cross_compiling" = yes; then :
14616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14618 as_fn_error $? "cannot run test program while cross compiling
14619 See \`config.log' for more details" "$LINENO" 5; }
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14625 int glib_underscore_test (void) { return 42; }
14627 void *f1 = (void*)0, *f2 = (void*)0, *handle;
14628 handle = dlopen ((void*)0, 0);
14630 f1 = dlsym (handle, "glib_underscore_test");
14631 f2 = dlsym (handle, "_glib_underscore_test");
14632 } return (!f2 || f1);
14635 if ac_fn_c_try_run "$LINENO"; then :
14640 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14641 conftest.$ac_objext conftest.beam conftest.$ac_ext
14644 rm -f plugin.c plugin.o plugin.lo
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_uscore" >&5
14649 $as_echo "$glib_cv_uscore" >&6; }
14650 if test "x$glib_cv_uscore" = "xyes"; then
14651 G_MODULE_NEED_USCORE=1
14653 G_MODULE_NEED_USCORE=0
14656 LDFLAGS="$LDFLAGS_orig"
14657 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
14658 if test "x$ac_cv_func_dlerror" = xyes; then :
14659 G_MODULE_HAVE_DLERROR=1
14661 G_MODULE_HAVE_DLERROR=0
14666 if test -z "$G_MODULE_IMPL"; then
14680 @%:@ Check whether --with-threads was given.
14681 if test "${with_threads+set}" = set; then :
14682 withval=$with_threads; if test "x$with_threads" = x; then
14685 want_threads=$with_threads
14691 if test "x$enable_threads" = "xno"; then
14694 if test "x$want_threads" = "xnone"; then
14699 THREAD_NO_IMPLEMENTATION="You do not have any known thread system on your
14700 computer. glib will not be thread safe on your computer."
14702 FLAG_DOES_NOT_WORK="I can't find the MACRO, that enables thread safety on your
14703 platform (normally it's "_REENTRANT"). I'll not use any flag on
14704 compilation now, but then your programs might not work.
14705 Please provide information on how it is done on your system."
14707 LIBS_NOT_FOUND_1="I can't find the libraries for the thread implementation
14710 LIBS_NOT_FOUND_2=". Please choose another thread implementation or
14711 provide information on your thread implementation.
14712 You can also run 'configure --disable-threads'
14713 to compile without thread support."
14715 FUNC_NO_GETPWUID_R="the 'g_get_(user_name|real_name|home_dir|tmp_dir)'
14716 functions will not be MT-safe during their first call because
14717 there is no working 'getpwuid_r' on your system."
14719 FUNC_NO_LOCALTIME_R="the 'g_date_set_time' function will not be MT-safe
14720 because there is no 'localtime_r' on your system."
14724 if test "x$want_threads" = xyes || test "x$want_threads" = xsolaris; then
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cond_init in -lthread" >&5
14728 $as_echo_n "checking for cond_init in -lthread... " >&6; }
14729 if ${ac_cv_lib_thread_cond_init+:} false; then :
14730 $as_echo_n "(cached) " >&6
14732 ac_check_lib_save_LIBS=$LIBS
14733 LIBS="-lthread $LIBS"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14737 /* Override any GCC internal prototype to avoid an error.
14738 Use char because int might match the return type of a GCC
14739 builtin and then its argument prototype would still apply. */
14747 return cond_init ();
14752 if ac_fn_c_try_link "$LINENO"; then :
14753 ac_cv_lib_thread_cond_init=yes
14755 ac_cv_lib_thread_cond_init=no
14757 rm -f core conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_check_lib_save_LIBS
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_cond_init" >&5
14762 $as_echo "$ac_cv_lib_thread_cond_init" >&6; }
14763 if test "x$ac_cv_lib_thread_cond_init" = xyes; then :
14764 have_threads=solaris
14770 if test "x$want_threads" = xyes || test "x$want_threads" = xposix; then
14771 if test "x$have_threads" = xnone; then
14772 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14773 if test "x$ac_cv_header_pthread_h" = xyes; then :
14780 if test "x$want_threads" = xyes || test "x$want_threads" = xnspr; then
14781 if test "x$have_threads" = xnone; then
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRP_NewNakedCondVar in -lnspr21" >&5
14783 $as_echo_n "checking for PRP_NewNakedCondVar in -lnspr21... " >&6; }
14784 if ${ac_cv_lib_nspr21_PRP_NewNakedCondVar+:} false; then :
14785 $as_echo_n "(cached) " >&6
14787 ac_check_lib_save_LIBS=$LIBS
14788 LIBS="-lnspr21 $LIBS"
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14792 /* Override any GCC internal prototype to avoid an error.
14793 Use char because int might match the return type of a GCC
14794 builtin and then its argument prototype would still apply. */
14798 char PRP_NewNakedCondVar ();
14802 return PRP_NewNakedCondVar ();
14807 if ac_fn_c_try_link "$LINENO"; then :
14808 ac_cv_lib_nspr21_PRP_NewNakedCondVar=yes
14810 ac_cv_lib_nspr21_PRP_NewNakedCondVar=no
14812 rm -f core conftest.err conftest.$ac_objext \
14813 conftest$ac_exeext conftest.$ac_ext
14814 LIBS=$ac_check_lib_save_LIBS
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&5
14817 $as_echo "$ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&6; }
14818 if test "x$ac_cv_lib_nspr21_PRP_NewNakedCondVar" = xyes; then :
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread implementation" >&5
14826 $as_echo_n "checking for thread implementation... " >&6; }
14828 if test "x$have_threads" = xnone && test "x$want_threads" != xno; then
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none available" >&5
14830 $as_echo "none available" >&6; }
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $THREAD_NO_IMPLEMENTATION" >&5
14832 $as_echo "$as_me: WARNING: $THREAD_NO_IMPLEMENTATION" >&2;}
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_threads" >&5
14835 $as_echo "$have_threads" >&6; }
14843 mutex_has_default=no
14844 case $have_threads in
14846 G_THREAD_LIBS=error
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
14848 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
14849 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
14850 $as_echo_n "(cached) " >&6
14852 ac_check_lib_save_LIBS=$LIBS
14853 LIBS="-lpthread $LIBS"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14863 char pthread_attr_init ();
14867 return pthread_attr_init ();
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 ac_cv_lib_pthread_pthread_attr_init=yes
14875 ac_cv_lib_pthread_pthread_attr_init=no
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext conftest.$ac_ext
14879 LIBS=$ac_check_lib_save_LIBS
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
14882 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
14883 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then :
14884 G_THREAD_LIBS="-lpthread"
14887 if test "x$G_THREAD_LIBS" = xerror; then
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5
14889 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; }
14890 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then :
14891 $as_echo_n "(cached) " >&6
14893 ac_check_lib_save_LIBS=$LIBS
14894 LIBS="-lpthreads $LIBS"
14895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14898 /* Override any GCC internal prototype to avoid an error.
14899 Use char because int might match the return type of a GCC
14900 builtin and then its argument prototype would still apply. */
14904 char pthread_attr_init ();
14908 return pthread_attr_init ();
14913 if ac_fn_c_try_link "$LINENO"; then :
14914 ac_cv_lib_pthreads_pthread_attr_init=yes
14916 ac_cv_lib_pthreads_pthread_attr_init=no
14918 rm -f core conftest.err conftest.$ac_objext \
14919 conftest$ac_exeext conftest.$ac_ext
14920 LIBS=$ac_check_lib_save_LIBS
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
14923 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; }
14924 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then :
14925 G_THREAD_LIBS="-lpthreads"
14929 if test "x$G_THREAD_LIBS" = xerror; then
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lthread" >&5
14931 $as_echo_n "checking for pthread_attr_init in -lthread... " >&6; }
14932 if ${ac_cv_lib_thread_pthread_attr_init+:} false; then :
14933 $as_echo_n "(cached) " >&6
14935 ac_check_lib_save_LIBS=$LIBS
14936 LIBS="-lthread $LIBS"
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14940 /* Override any GCC internal prototype to avoid an error.
14941 Use char because int might match the return type of a GCC
14942 builtin and then its argument prototype would still apply. */
14946 char pthread_attr_init ();
14950 return pthread_attr_init ();
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_lib_thread_pthread_attr_init=yes
14958 ac_cv_lib_thread_pthread_attr_init=no
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14962 LIBS=$ac_check_lib_save_LIBS
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_pthread_attr_init" >&5
14965 $as_echo "$ac_cv_lib_thread_pthread_attr_init" >&6; }
14966 if test "x$ac_cv_lib_thread_pthread_attr_init" = xyes; then :
14967 G_THREAD_LIBS="-lthread"
14971 if test "x$G_THREAD_LIBS" = xerror; then
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5
14973 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; }
14974 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then :
14975 $as_echo_n "(cached) " >&6
14977 ac_check_lib_save_LIBS=$LIBS
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14982 /* Override any GCC internal prototype to avoid an error.
14983 Use char because int might match the return type of a GCC
14984 builtin and then its argument prototype would still apply. */
14988 char pthread_attr_init ();
14992 return pthread_attr_init ();
14997 if ac_fn_c_try_link "$LINENO"; then :
14998 ac_cv_lib_c_r_pthread_attr_init=yes
15000 ac_cv_lib_c_r_pthread_attr_init=no
15002 rm -f core conftest.err conftest.$ac_objext \
15003 conftest$ac_exeext conftest.$ac_ext
15004 LIBS=$ac_check_lib_save_LIBS
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
15007 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; }
15008 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then :
15009 G_THREAD_LIBS="-lc_r"
15013 if test "x$G_THREAD_LIBS" = xerror; then
15014 ac_fn_c_check_func "$LINENO" "pthread_attr_init" "ac_cv_func_pthread_attr_init"
15015 if test "x$ac_cv_func_pthread_attr_init" = xyes; then :
15020 if test "x$G_THREAD_LIBS" = xerror; then
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __d10_pthread_attr_init in -lthread" >&5
15022 $as_echo_n "checking for __d10_pthread_attr_init in -lthread... " >&6; }
15023 if ${ac_cv_lib_thread___d10_pthread_attr_init+:} false; then :
15024 $as_echo_n "(cached) " >&6
15026 ac_check_lib_save_LIBS=$LIBS
15027 LIBS="-lthread $LIBS"
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15031 /* Override any GCC internal prototype to avoid an error.
15032 Use char because int might match the return type of a GCC
15033 builtin and then its argument prototype would still apply. */
15037 char __d10_pthread_attr_init ();
15041 return __d10_pthread_attr_init ();
15046 if ac_fn_c_try_link "$LINENO"; then :
15047 ac_cv_lib_thread___d10_pthread_attr_init=yes
15049 ac_cv_lib_thread___d10_pthread_attr_init=no
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 LIBS=$ac_check_lib_save_LIBS
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread___d10_pthread_attr_init" >&5
15056 $as_echo "$ac_cv_lib_thread___d10_pthread_attr_init" >&6; }
15057 if test "x$ac_cv_lib_thread___d10_pthread_attr_init" = xyes; then :
15058 G_THREAD_LIBS="-lthread"
15059 G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE"
15063 if test "x$G_THREAD_LIBS" = xerror; then
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_attr_init_system in -lpthread" >&5
15065 $as_echo_n "checking for __pthread_attr_init_system in -lpthread... " >&6; }
15066 if ${ac_cv_lib_pthread___pthread_attr_init_system+:} false; then :
15067 $as_echo_n "(cached) " >&6
15069 ac_check_lib_save_LIBS=$LIBS
15070 LIBS="-lpthread $LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15074 /* Override any GCC internal prototype to avoid an error.
15075 Use char because int might match the return type of a GCC
15076 builtin and then its argument prototype would still apply. */
15080 char __pthread_attr_init_system ();
15084 return __pthread_attr_init_system ();
15089 if ac_fn_c_try_link "$LINENO"; then :
15090 ac_cv_lib_pthread___pthread_attr_init_system=yes
15092 ac_cv_lib_pthread___pthread_attr_init_system=no
15094 rm -f core conftest.err conftest.$ac_objext \
15095 conftest$ac_exeext conftest.$ac_ext
15096 LIBS=$ac_check_lib_save_LIBS
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_attr_init_system" >&5
15099 $as_echo "$ac_cv_lib_pthread___pthread_attr_init_system" >&6; }
15100 if test "x$ac_cv_lib_pthread___pthread_attr_init_system" = xyes; then :
15101 G_THREAD_LIBS="-lpthread"
15105 mutex_has_default=yes
15106 mutex_default_type='pthread_mutex_t'
15107 mutex_default_init='PTHREAD_MUTEX_INITIALIZER'
15108 mutex_header_file='pthread.h'
15109 g_threads_impl="POSIX"
15112 G_THREAD_LIBS=error
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cond_init in -lthread" >&5
15114 $as_echo_n "checking for cond_init in -lthread... " >&6; }
15115 if ${ac_cv_lib_thread_cond_init+:} false; then :
15116 $as_echo_n "(cached) " >&6
15118 ac_check_lib_save_LIBS=$LIBS
15119 LIBS="-lthread $LIBS"
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15133 return cond_init ();
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 ac_cv_lib_thread_cond_init=yes
15141 ac_cv_lib_thread_cond_init=no
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 LIBS=$ac_check_lib_save_LIBS
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_cond_init" >&5
15148 $as_echo "$ac_cv_lib_thread_cond_init" >&6; }
15149 if test "x$ac_cv_lib_thread_cond_init" = xyes; then :
15150 G_THREAD_LIBS="-lthread"
15153 mutex_has_default=yes
15154 mutex_default_type='mutex_t'
15155 mutex_default_init="DEFAULTMUTEX"
15156 mutex_header_file='thread.h'
15157 g_threads_impl="SOLARIS"
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRP_NewNakedCondVar in -lnspr21" >&5
15161 $as_echo_n "checking for PRP_NewNakedCondVar in -lnspr21... " >&6; }
15162 if ${ac_cv_lib_nspr21_PRP_NewNakedCondVar+:} false; then :
15163 $as_echo_n "(cached) " >&6
15165 ac_check_lib_save_LIBS=$LIBS
15166 LIBS="-lnspr21 $LIBS"
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15170 /* Override any GCC internal prototype to avoid an error.
15171 Use char because int might match the return type of a GCC
15172 builtin and then its argument prototype would still apply. */
15176 char PRP_NewNakedCondVar ();
15180 return PRP_NewNakedCondVar ();
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 ac_cv_lib_nspr21_PRP_NewNakedCondVar=yes
15188 ac_cv_lib_nspr21_PRP_NewNakedCondVar=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15192 LIBS=$ac_check_lib_save_LIBS
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&5
15195 $as_echo "$ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&6; }
15196 if test "x$ac_cv_lib_nspr21_PRP_NewNakedCondVar" = xyes; then :
15197 G_THREAD_LIBS="-lnspr21"
15200 g_threads_impl="NSPR"
15203 g_threads_impl="NONE"
15206 g_threads_impl="NONE"
15207 G_THREAD_LIBS=error
15211 if test "x$G_THREAD_LIBS" = xerror; then
15212 as_fn_error $? "$LIBS_NOT_FOUND_1$have_threads$LIBS_NOT_FOUND_2" "$LINENO" 5
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking necessary linker options" >&5
15216 $as_echo_n "checking necessary linker options... " >&6; }
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_THREAD_LIBS" >&5
15218 $as_echo "$G_THREAD_LIBS" >&6; }
15221 if test x"$have_threads" != xnone; then
15222 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
15226 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
15227 if test x"$GCC" = xyes; then
15228 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads"
15232 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
15234 # FreeBSD 2.2.x shiped with gcc 2.7.2.x, which doesn't support
15239 # if we are not finding the ctime_r function, then we probably are
15240 # not using the proper multithread flag
15241 # Note: Digital UNIX 4.0d #defines ctime_r to _Pctime_r for gcc.
15242 old_CPPFLAGS=$CPPFLAGS
15243 CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15250 $EGREP "[^a-zA-Z_](_P)?ctime_r[^a-zA-Z_]" >/dev/null 2>&1; then :
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FLAG_DOES_NOT_WORK" >&5
15255 $as_echo "$as_me: WARNING: $FLAG_DOES_NOT_WORK" >&2;}
15259 CPPFLAGS=$old_CPPFLAGS
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking necessary compiler options" >&5
15262 $as_echo_n "checking necessary compiler options... " >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_THREAD_CFLAGS" >&5
15265 $as_echo "$G_THREAD_CFLAGS" >&6; }
15271 if test x"$have_threads" != xnone; then
15272 glib_save_LIBS="$LIBS"
15273 glib_save_CFLAGS="$CFLAGS"
15274 # we are not doing the following for now, as this might require glib
15275 # to always be linked with the thread libs on some platforms.
15276 # LIBS="$LIBS $G_THREAD_LIBS"
15277 CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
15278 for ac_func in localtime_r rand_r
15280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15283 cat >>confdefs.h <<_ACEOF
15284 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15290 if test "$ac_cv_header_pwd_h" = "yes"; then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r" >&5
15292 $as_echo_n "checking for getpwuid_r... " >&6; }
15293 if ${ac_cv_func_getpwuid_r+:} false; then :
15294 $as_echo_n "(cached) " >&6
15296 if test "$cross_compiling" = yes; then :
15297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15299 as_fn_error $? "cannot run test program while cross compiling
15300 See \`config.log' for more details" "$LINENO" 5; }
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15305 int main () { char buffer[10000], *pointer;
15306 char getpwuid_r (long, void*, void*,
15310 error = getpwuid_r (0, &buffer, &buffer,
15311 sizeof (buffer), &pointer);
15312 return errno == ENOSYS || error == ENOSYS;}
15314 if ac_fn_c_try_run "$LINENO"; then :
15315 ac_cv_func_getpwuid_r=yes
15317 ac_cv_func_getpwuid_r=no
15319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15320 conftest.$ac_objext conftest.beam conftest.$ac_ext
15325 if test "$ac_cv_func_getpwuid_r" = yes; then
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15327 $as_echo "yes" >&6; }
15328 $as_echo "@%:@define HAVE_GETPWUID_R 1" >>confdefs.h
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15332 $as_echo "no" >&6; }
15334 if test "$ac_cv_func_getpwuid_r" = "yes"; then
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpwuid_r is posix like" >&5
15336 $as_echo_n "checking whether getpwuid_r is posix like... " >&6; }
15337 # The signature for the POSIX version is:
15338 # int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **)
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15340 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15341 if ${ac_cv_func_getpwuid_r_posix+:} false; then :
15342 $as_echo_n "(cached) " >&6
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15347 #include <sys/types.h>
15348 #include <stdlib.h>
15352 getpwuid_r((uid_t)0, NULL, NULL, (size_t)0, NULL);
15357 if ac_fn_c_try_compile "$LINENO"; then :
15358 ac_cv_func_getpwuid_r_posix=yes
15360 ac_cv_func_getpwuid_r_posix=no
15362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpwuid_r_posix" >&5
15366 $as_echo "$ac_cv_func_getpwuid_r_posix" >&6; }
15367 if test "x$ac_cv_func_getpwuid_r_posix" = "xyes"; then
15368 $as_echo "@%:@define HAVE_GETPWUID_R_POSIX 1" >>confdefs.h
15373 if test x"$have_threads" = xposix; then
15374 LIBS="$LIBS $G_THREAD_LIBS"
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15376 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15377 # PCThreads has pthread_getspecific(pthread_key_t, void **);
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15379 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15380 if ${glib_cv_sys_pthread_getspecific_posix+:} false; then :
15381 $as_echo_n "(cached) " >&6
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15385 #include <pthread.h>
15389 pthread_getspecific(0,NULL);
15394 if ac_fn_c_try_compile "$LINENO"; then :
15395 glib_cv_sys_pthread_getspecific_posix=no
15397 glib_cv_sys_pthread_getspecific_posix=yes
15399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_getspecific_posix" >&5
15403 $as_echo "$glib_cv_sys_pthread_getspecific_posix" >&6; }
15404 if test "x$glib_cv_sys_pthread_getspecific_posix" = "xyes"; then
15405 $as_echo "@%:@define HAVE_PTHREAD_GETSPECIFIC_POSIX 1" >>confdefs.h
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_mutex_trylock is posix like" >&5
15409 $as_echo_n "checking whether pthread_mutex_trylock is posix like... " >&6; }
15410 # DCE Threads return 1 as success, posix 0. what a mess.
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_mutex_trylock is posix like" >&5
15412 $as_echo_n "checking whether pthread_mutex_trylock is posix like... " >&6; }
15413 if ${glib_cv_sys_pthread_mutex_trylock_posix+:} false; then :
15414 $as_echo_n "(cached) " >&6
15416 if test "$cross_compiling" = yes; then :
15417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15419 as_fn_error $? "cannot run test program while cross compiling
15420 See \`config.log' for more details" "$LINENO" 5; }
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15424 #include <pthread.h>
15425 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
15427 return !pthread_mutex_trylock (&mutex); }
15429 if ac_fn_c_try_run "$LINENO"; then :
15430 glib_cv_sys_pthread_mutex_trylock_posix=no
15432 glib_cv_sys_pthread_mutex_trylock_posix=yes
15434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15435 conftest.$ac_objext conftest.beam conftest.$ac_ext
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_mutex_trylock_posix" >&5
15441 $as_echo "$glib_cv_sys_pthread_mutex_trylock_posix" >&6; }
15442 if test "x$glib_cv_sys_pthread_mutex_trylock_posix=no" = "xyes"; then
15443 $as_echo "@%:@define HAVE_PTHREAD_MUTEX_TRYLOCK_POSIX 1" >>confdefs.h
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_cond_timedwait is posix like" >&5
15447 $as_echo_n "checking whether pthread_cond_timedwait is posix like... " >&6; }
15448 # DCE Threads return -1 as failure, posix ETIMEDOUT.
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_cond_timedwait is posix like" >&5
15450 $as_echo_n "checking whether pthread_cond_timedwait is posix like... " >&6; }
15451 if ${glib_cv_sys_pthread_cond_timedwait_posix+:} false; then :
15452 $as_echo_n "(cached) " >&6
15454 if test "$cross_compiling" = yes; then :
15455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15457 as_fn_error $? "cannot run test program while cross compiling
15458 See \`config.log' for more details" "$LINENO" 5; }
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15462 #include <pthread.h>
15464 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
15465 pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
15466 struct timeval tval;
15467 struct timespec tspec;
15468 gettimeofday (&tval, NULL);
15469 tspec.tv_sec = tval.tv_sec;
15471 return pthread_cond_timedwait (&cond,&mutex,&tspec) != -1;}
15473 if ac_fn_c_try_run "$LINENO"; then :
15474 glib_cv_sys_pthread_cond_timedwait_posix=no
15476 glib_cv_sys_pthread_cond_timedwait_posix=yes
15478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15479 conftest.$ac_objext conftest.beam conftest.$ac_ext
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_cond_timedwait_posix" >&5
15485 $as_echo "$glib_cv_sys_pthread_cond_timedwait_posix" >&6; }
15486 if test "x$glib_cv_sys_pthread_cond_timedwait_posix" = "xyes"; then
15487 $as_echo "@%:@define HAVE_PTHREAD_COND_TIMEDWAIT_POSIX 1" >>confdefs.h
15491 LIBS="$glib_save_LIBS"
15492 CFLAGS="$glib_save_CFLAGS"
15495 if test "x$enable_threads" = "xyes"; then
15496 if test "$ac_cv_func_getpwuid_r" != "yes"; then
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FUNC_NO_GETPWUID_R" >&5
15498 $as_echo "$as_me: WARNING: $FUNC_NO_GETPWUID_R" >&2;}
15500 if test "$ac_cv_func_localtime_r" != "yes"; then
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FUNC_NO_LOCALTIME_R" >&5
15502 $as_echo "$as_me: WARNING: $FUNC_NO_LOCALTIME_R" >&2;}
15506 cat >>confdefs.h <<_ACEOF
15507 @%:@define G_THREAD_SOURCE "gthread-$have_threads.c"
15513 CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
15516 case "$mutex_has_default" in
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of $mutex_default_type" >&5
15519 $as_echo_n "checking size of $mutex_default_type... " >&6; }
15520 if ${glib_cv_sizeof_gmutex+:} false; then :
15521 $as_echo_n "(cached) " >&6
15523 if test "$cross_compiling" = yes; then :
15524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15526 as_fn_error $? "cannot run test program while cross compiling
15527 See \`config.log' for more details" "$LINENO" 5; }
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15532 #include <$mutex_header_file>
15535 FILE *f=fopen("conftestval", "w");
15537 fprintf(f, "%d\n", sizeof($mutex_default_type));
15541 if ac_fn_c_try_run "$LINENO"; then :
15542 glib_cv_sizeof_gmutex=`cat conftestval`
15544 glib_cv_sizeof_gmutex=0
15546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15547 conftest.$ac_objext conftest.beam conftest.$ac_ext
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sizeof_gmutex" >&5
15552 $as_echo "$glib_cv_sizeof_gmutex" >&6; }
15553 cat >>confdefs.h <<_ACEOF
15554 @%:@define GLIB_SIZEOF_GMUTEX $glib_cv_sizeof_gmutex
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking byte contents of $mutex_default_type" >&5
15559 $as_echo_n "checking byte contents of $mutex_default_type... " >&6; }
15560 if ${glib_cv_byte_contents_gmutex+:} false; then :
15561 $as_echo_n "(cached) " >&6
15563 if test "$cross_compiling" = yes; then :
15564 glib_cv_byte_contents_gmutex=0
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15569 #include <$mutex_header_file>
15572 static $mutex_default_type tv = $mutex_default_init;
15573 char *p = (char*) &tv;
15575 FILE *f=fopen("conftestval", "w");
15577 for (i = 0; i < $glib_cv_sizeof_gmutex; i++)
15578 fprintf(f, "%s%d", i?",":"", *(p++));
15583 if ac_fn_c_try_run "$LINENO"; then :
15584 glib_cv_byte_contents_gmutex=`cat conftestval`
15586 glib_cv_byte_contents_gmutex=0
15588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15589 conftest.$ac_objext conftest.beam conftest.$ac_ext
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_byte_contents_gmutex" >&5
15594 $as_echo "$glib_cv_byte_contents_gmutex" >&6; }
15595 cat >>confdefs.h <<_ACEOF
15596 @%:@define GLIB_BYTE_CONTENTS_GMUTEX $glib_cv_byte_contents_gmutex
15609 if test "x$cross_compiling" != "xyes"; then
15610 glib_sysdefso="glibconfig-sysdefs.h"
15611 glib_sysdef_msg=`echo POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 | sed 's/:[^ ]*//g'`
15612 if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system definitions for $glib_sysdef_msg" >&5
15618 $as_echo_n "checking system definitions for $glib_sysdef_msg... " >&6; }
15619 cat >confrun.c <<_______EOF
15621 #include <sys/types.h>
15622 #include <sys/poll.h>
15623 int main (int c, char **v) {
15624 FILE *f = fopen ("$glib_sysdefso", "a");
15627 for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do
15628 glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'`
15629 glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'`
15630 echo "#ifdef $glib_sysdef" >>confrun.c
15631 echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_sysdef);" >>confrun.c
15632 echo "#else" >>confrun.c
15633 if test $glib_sysdef != $glib_default; then
15634 echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_default);" >>confrun.c
15636 echo " fprintf (f, \"#define GLIB_SYSDEF_%s${glib_nl}\", \"$glib_sysdef\");" >>confrun.c
15638 echo "#endif" >>confrun.c
15640 echo "return 0; }" >>confrun.c
15641 if test "$cross_compiling" = yes; then :
15642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15644 as_fn_error $? "cannot run test program while cross compiling
15645 See \`config.log' for more details" "$LINENO" 5; }
15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15651 if ac_fn_c_try_run "$LINENO"; then :
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15653 $as_echo "done" >&6; }
15655 for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do
15656 glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'`
15657 glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'`
15658 if test $glib_sysdef != $glib_default; then
15659 glib_default=" =$glib_default"
15663 echo "#define GLIB_SYSDEF_$glib_sysdef$glib_default" >>$glib_sysdefso
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
15666 $as_echo "failed" >&6; }
15668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15669 conftest.$ac_objext conftest.beam conftest.$ac_ext
15678 ac_config_commands="$ac_config_commands default-1"
15681 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"
15683 ac_config_commands="$ac_config_commands default"
15685 cat >confcache <<\_ACEOF
15686 # This file is a shell script that caches the results of configure
15687 # tests run on this system so they can be shared between configure
15688 # scripts and configure runs, see configure's option --config-cache.
15689 # It is not useful on other systems. If it contains results you don't
15690 # want to keep, you may remove or edit it.
15692 # config.status only pays attention to the cache file if you give it
15693 # the --recheck option to rerun configure.
15695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15697 # following values.
15701 # The following way of writing the cache mishandles newlines in values,
15702 # but we know of no workaround that is simple, portable, and efficient.
15703 # So, we kill variables containing newlines.
15704 # Ultrix sh set writes to stderr and can't be redirected directly,
15705 # and sets the high bit in the cache file unless we assign to the vars.
15707 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15708 eval ac_val=\$$ac_var
15712 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15713 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15716 _ | IFS | as_nl) ;; #(
15717 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15718 *) { eval $ac_var=; unset $ac_var;} ;;
15724 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15725 *${as_nl}ac_space=\ *)
15726 # `set' does not quote correctly, so add quotes: double-quote
15727 # substitution turns \\\\ into \\, and sed turns \\ into \.
15730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15733 # `set' quotes correctly as required by POSIX, so do not add quotes.
15734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15743 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15745 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15747 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15748 if test -w "$cache_file"; then
15749 if test "x$cache_file" != "x/dev/null"; then
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15751 $as_echo "$as_me: updating cache $cache_file" >&6;}
15752 if test ! -f "$cache_file" || test -h "$cache_file"; then
15753 cat confcache >"$cache_file"
15755 case $cache_file in #(
15757 mv -f confcache "$cache_file"$$ &&
15758 mv -f "$cache_file"$$ "$cache_file" ;; #(
15760 mv -f confcache "$cache_file" ;;
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15766 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15771 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15772 # Let make expand exec_prefix.
15773 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15775 DEFS=-DHAVE_CONFIG_H
15780 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15781 # 1. Remove the extension, and $U if already installed.
15782 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15783 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15784 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15785 # will be set to the directory where LIBOBJS objects are built.
15786 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15787 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15789 LIB@&t@OBJS=$ac_libobjs
15791 LTLIBOBJS=$ac_ltlibobjs
15794 if test -n "$EXEEXT"; then
15796 am__EXEEXT_FALSE='#'
15798 am__EXEEXT_TRUE='#'
15802 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15803 as_fn_error $? "conditional \"AMDEP\" was never defined.
15804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15806 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15807 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15810 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15811 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15814 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15815 as_fn_error $? "conditional \"am__fastdepCC\" 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
15824 : "${CONFIG_STATUS=./config.status}"
15826 ac_clean_files_save=$ac_clean_files
15827 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15833 # Generated by $as_me.
15834 # Run this file to recreate the current configuration.
15835 # Compiler output produced by configure, useful for debugging
15836 # configure, is in config.log if it exists.
15839 ac_cs_recheck=false
15842 SHELL=\${CONFIG_SHELL-$SHELL}
15845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15846 ## -------------------- ##
15847 ## M4sh Initialization. ##
15848 ## -------------------- ##
15850 # Be more Bourne compatible
15851 DUALCASE=1; export DUALCASE # for MKS sh
15852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15855 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15856 # is contrary to our usage. Disable this feature.
15857 alias -g '${1+"$@"}'='"$@"'
15858 setopt NO_GLOB_SUBST
15860 case `(set -o) 2>/dev/null` in @%:@(
15862 set -o posix ;; @%:@(
15872 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15873 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15876 # Prefer a ksh shell builtin over an external printf program on Solaris,
15877 # but without wasting forks for bash or zsh.
15878 if test -z "$BASH_VERSION$ZSH_VERSION" \
15879 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15880 as_echo='print -r --'
15881 as_echo_n='print -rn --'
15882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15883 as_echo='printf %s\n'
15884 as_echo_n='printf %s'
15886 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15887 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15888 as_echo_n='/usr/ucb/echo -n'
15890 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15891 as_echo_n_body='eval
15895 expr "X$arg" : "X\\(.*\\)$as_nl";
15896 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15898 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15900 export as_echo_n_body
15901 as_echo_n='sh -c $as_echo_n_body as_echo'
15903 export as_echo_body
15904 as_echo='sh -c $as_echo_body as_echo'
15907 # The user is always right.
15908 if test "${PATH_SEPARATOR+set}" != set; then
15910 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15911 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15918 # We need space, tab and new line, in precisely that order. Quoting is
15919 # there to prevent editors from complaining about space-tab.
15920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15921 # splitting by setting IFS to empty value.)
15924 # Find who we are. Look in the path if we contain no directory separator.
15927 *[\\/]* ) as_myself=$0 ;;
15928 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15929 for as_dir in $PATH
15932 test -z "$as_dir" && as_dir=.
15933 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15939 # We did not find ourselves, most probably we were run as `sh COMMAND'
15940 # in which case we are not to be found in the path.
15941 if test "x$as_myself" = x; then
15944 if test ! -f "$as_myself"; then
15945 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15949 # Unset variables that we do not need and which cause bugs (e.g. in
15950 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15951 # suppresses any "Segmentation fault" message there. '((' could
15952 # trigger a bug in pdksh 5.2.14.
15953 for as_var in BASH_ENV ENV MAIL MAILPATH
15954 do eval test x\${$as_var+set} = xset \
15955 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15968 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15971 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15972 @%:@ ----------------------------------------
15973 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15974 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15975 @%:@ script with STATUS, using 1 if that was 0.
15978 as_status=$1; test $as_status -eq 0 && as_status=1
15980 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15981 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15983 $as_echo "$as_me: error: $2" >&2
15984 as_fn_exit $as_status
15988 @%:@ as_fn_set_status STATUS
15989 @%:@ -----------------------
15990 @%:@ Set @S|@? to STATUS, without forking.
15991 as_fn_set_status ()
15994 } @%:@ as_fn_set_status
15996 @%:@ as_fn_exit STATUS
15997 @%:@ -----------------
15998 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16002 as_fn_set_status $1
16006 @%:@ as_fn_unset VAR
16007 @%:@ ---------------
16008 @%:@ Portably unset VAR.
16011 { eval $1=; unset $1;}
16013 as_unset=as_fn_unset
16014 @%:@ as_fn_append VAR VALUE
16015 @%:@ ----------------------
16016 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
16017 @%:@ advantage of any shell optimizations that allow amortized linear growth over
16018 @%:@ repeated appends, instead of the typical quadratic growth present in naive
16019 @%:@ implementations.
16020 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16021 eval 'as_fn_append ()
16032 @%:@ as_fn_arith ARG...
16033 @%:@ ------------------
16034 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
16035 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
16036 @%:@ must be portable across @S|@(()) and expr.
16037 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16038 eval 'as_fn_arith ()
16045 as_val=`expr "$@" || test $? -eq 1`
16050 if expr a : '\(a\)' >/dev/null 2>&1 &&
16051 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16057 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16058 as_basename=basename
16063 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16069 as_me=`$as_basename -- "$0" ||
16070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16071 X"$0" : 'X\(//\)$' \| \
16072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16074 sed '/^.*\/\([^/][^/]*\)\/*$/{
16088 # Avoid depending upon Character Ranges.
16089 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16090 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16091 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16092 as_cr_digits='0123456789'
16093 as_cr_alnum=$as_cr_Letters$as_cr_digits
16095 ECHO_C= ECHO_N= ECHO_T=
16096 case `echo -n x` in @%:@(((((
16098 case `echo 'xy\c'` in
16099 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16101 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16108 rm -f conf$$ conf$$.exe conf$$.file
16109 if test -d conf$$.dir; then
16110 rm -f conf$$.dir/conf$$.file
16113 mkdir conf$$.dir 2>/dev/null
16115 if (echo >conf$$.file) 2>/dev/null; then
16116 if ln -s conf$$.file conf$$ 2>/dev/null; then
16118 # ... but there are two gotchas:
16119 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16120 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16121 # In both cases, we have to default to `cp -p'.
16122 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16124 elif ln conf$$.file conf$$ 2>/dev/null; then
16132 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16133 rmdir conf$$.dir 2>/dev/null
16138 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
16143 -*) as_dir=./$as_dir;;
16145 test -d "$as_dir" || eval $as_mkdir_p || {
16149 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16150 *) as_qdir=$as_dir;;
16152 as_dirs="'$as_qdir' $as_dirs"
16153 as_dir=`$as_dirname -- "$as_dir" ||
16154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16155 X"$as_dir" : 'X\(//\)[^/]' \| \
16156 X"$as_dir" : 'X\(//\)$' \| \
16157 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16158 $as_echo X"$as_dir" |
16159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16163 /^X\(\/\/\)[^/].*/{
16176 test -d "$as_dir" && break
16178 test -z "$as_dirs" || eval "mkdir $as_dirs"
16179 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16182 } @%:@ as_fn_mkdir_p
16183 if mkdir -p . 2>/dev/null; then
16184 as_mkdir_p='mkdir -p "$as_dir"'
16186 test -d ./-p && rmdir ./-p
16190 if test -x / >/dev/null 2>&1; then
16191 as_test_x='test -x'
16193 if ls -dL / >/dev/null 2>&1; then
16200 if test -d "$1"; then
16206 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
16207 ???[sx]*):;;*)false;;esac;fi
16211 as_executable_p=$as_test_x
16213 # Sed expression to map a string onto a valid CPP name.
16214 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16216 # Sed expression to map a string onto a valid variable name.
16217 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16221 ## ----------------------------------- ##
16222 ## Main body of $CONFIG_STATUS script. ##
16223 ## ----------------------------------- ##
16225 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16228 # Save the log message, to keep $0 and so on meaningful, and to
16229 # report actual input values of CONFIG_FILES etc. instead of their
16230 # values after options handling.
16232 This file was extended by $as_me, which was
16233 generated by GNU Autoconf 2.68. Invocation command line was
16235 CONFIG_FILES = $CONFIG_FILES
16236 CONFIG_HEADERS = $CONFIG_HEADERS
16237 CONFIG_LINKS = $CONFIG_LINKS
16238 CONFIG_COMMANDS = $CONFIG_COMMANDS
16241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16246 case $ac_config_files in *"
16247 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16250 case $ac_config_headers in *"
16251 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16256 # Files that config.status was made for.
16257 config_files="$ac_config_files"
16258 config_headers="$ac_config_headers"
16259 config_commands="$ac_config_commands"
16263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16265 \`$as_me' instantiates files and other configuration actions
16266 from templates according to the current configuration. Unless the files
16267 and actions are specified as TAGs, all are instantiated by default.
16269 Usage: $0 [OPTION]... [TAG]...
16271 -h, --help print this help, then exit
16272 -V, --version print version number and configuration settings, then exit
16273 --config print configuration, then exit
16274 -q, --quiet, --silent
16275 do not print progress messages
16276 -d, --debug don't remove temporary files
16277 --recheck update $as_me by reconfiguring in the same conditions
16278 --file=FILE[:TEMPLATE]
16279 instantiate the configuration file FILE
16280 --header=FILE[:TEMPLATE]
16281 instantiate the configuration header FILE
16283 Configuration files:
16286 Configuration headers:
16289 Configuration commands:
16292 Report bugs to the package provider."
16295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16296 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16299 configured by $0, generated by GNU Autoconf 2.68,
16300 with options \\"\$ac_cs_config\\"
16302 Copyright (C) 2010 Free Software Foundation, Inc.
16303 This config.status script is free software; the Free Software Foundation
16304 gives unlimited permission to copy, distribute and modify it."
16311 test -n "\$AWK" || AWK=awk
16314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16315 # The default lists apply if the user does not specify any file.
16321 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16322 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16326 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16338 # Handling of the options.
16339 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16341 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16342 $as_echo "$ac_cs_version"; exit ;;
16343 --config | --confi | --conf | --con | --co | --c )
16344 $as_echo "$ac_cs_config"; exit ;;
16345 --debug | --debu | --deb | --de | --d | -d )
16347 --file | --fil | --fi | --f )
16350 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16351 '') as_fn_error $? "missing file argument" ;;
16353 as_fn_append CONFIG_FILES " '$ac_optarg'"
16354 ac_need_defaults=false;;
16355 --header | --heade | --head | --hea )
16358 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16360 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16361 ac_need_defaults=false;;
16363 # Conflict between --help and --header
16364 as_fn_error $? "ambiguous option: \`$1'
16365 Try \`$0 --help' for more information.";;
16366 --help | --hel | -h )
16367 $as_echo "$ac_cs_usage"; exit ;;
16368 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16369 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16372 # This is an error.
16373 -*) as_fn_error $? "unrecognized option: \`$1'
16374 Try \`$0 --help' for more information." ;;
16376 *) as_fn_append ac_config_targets " $1"
16377 ac_need_defaults=false ;;
16383 ac_configure_extra_args=
16385 if $ac_cs_silent; then
16387 ac_configure_extra_args="$ac_configure_extra_args --silent"
16391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16392 if \$ac_cs_recheck; then
16393 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16395 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16396 CONFIG_SHELL='$SHELL'
16397 export CONFIG_SHELL
16402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16406 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16407 @%:@@%:@ Running $as_me. @%:@@%:@
16413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16417 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16420 # The HP-UX ksh and POSIX shell print the target directory to stdout
16421 # if CDPATH is set.
16422 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16424 sed_quote_subst='$sed_quote_subst'
16425 double_quote_subst='$double_quote_subst'
16426 delay_variable_subst='$delay_variable_subst'
16427 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16428 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16429 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16430 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16431 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16432 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16433 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16434 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16435 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16436 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16437 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16438 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16439 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16440 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16441 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16442 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16443 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16444 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16445 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16446 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16447 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16448 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16449 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16450 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16451 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16452 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16453 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16454 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16455 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16456 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16457 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16458 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16459 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16460 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16461 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16462 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16463 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16464 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16465 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16466 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16467 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16468 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16469 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16470 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16471 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16472 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16473 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16474 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16475 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16476 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16477 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16478 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16479 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16480 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16481 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16482 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"`'
16483 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16484 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16485 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16486 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16487 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16488 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16489 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16490 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16491 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16492 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16493 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16494 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16495 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16496 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16497 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16498 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16499 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16500 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16501 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16502 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16503 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16504 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16505 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16506 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16507 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16508 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16509 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16510 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16511 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16512 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16513 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16514 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16515 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16516 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16517 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16518 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16519 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16520 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16521 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16522 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16523 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16524 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16525 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16526 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16527 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16528 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16529 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16530 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16531 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16532 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16533 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16534 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16535 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16536 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16537 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16538 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16539 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16540 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16541 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16542 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16543 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16544 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16545 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16546 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16547 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16548 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16549 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16550 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16551 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16552 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16553 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16554 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16555 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16556 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16559 LTCFLAGS='$LTCFLAGS'
16560 compiler='$compiler_DEFAULT'
16562 # A function that is used when there is no print builtin or printf.
16563 func_fallback_echo ()
16565 eval 'cat <<_LTECHO_EOF
16570 # Quote evaled strings.
16584 deplibs_check_method \
16589 sharedlib_from_linklib_cmd \
16592 archiver_list_spec \
16598 lt_cv_sys_global_symbol_pipe \
16599 lt_cv_sys_global_symbol_to_cdecl \
16600 lt_cv_sys_global_symbol_to_c_name_address \
16601 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16602 nm_file_list_spec \
16603 lt_prog_compiler_no_builtin_flag \
16604 lt_prog_compiler_pic \
16605 lt_prog_compiler_wl \
16606 lt_prog_compiler_static \
16607 lt_cv_prog_compiler_c_o \
16616 export_dynamic_flag_spec \
16617 whole_archive_flag_spec \
16618 compiler_needs_object \
16620 allow_undefined_flag \
16621 no_undefined_flag \
16622 hardcode_libdir_flag_spec \
16623 hardcode_libdir_flag_spec_ld \
16624 hardcode_libdir_separator \
16628 variables_saved_for_relink \
16630 library_names_spec \
16632 install_override_mode \
16636 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16637 *[\\\\\\\`\\"\\\$]*)
16638 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16641 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16646 # Double-quote double-evaled strings.
16647 for var in reload_cmds \
16648 old_postinstall_cmds \
16649 old_postuninstall_cmds \
16651 extract_expsyms_cmds \
16652 old_archive_from_new_cmds \
16653 old_archive_from_expsyms_cmds \
16655 archive_expsym_cmds \
16657 module_expsym_cmds \
16658 export_symbols_cmds \
16662 postuninstall_cmds \
16664 sys_lib_search_path_spec \
16665 sys_lib_dlsearch_path_spec; do
16666 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16667 *[\\\\\\\`\\"\\\$]*)
16668 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16671 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16676 ac_aux_dir='$ac_aux_dir'
16677 xsi_shell='$xsi_shell'
16678 lt_shell_append='$lt_shell_append'
16680 # See if we are running on zsh, and set the options which allow our
16681 # commands through without removal of \ escapes INIT.
16682 if test -n "\${ZSH_VERSION+set}" ; then
16683 setopt NO_GLOB_SUBST
16689 TIMESTAMP='$TIMESTAMP'
16697 # Note that if two cases are the same, case goes with the first one.
16698 # Note also that this is inside an AC_OUTPUT_COMMAND. We do not depend
16699 # on variable expansion in case labels. Look at the generated config.status
16703 x$ac_cv_header_float_h)
16705 glib_mf=FLT_MIN glib_Mf=FLT_MAX
16706 glib_md=DBL_MIN glib_Md=DBL_MAX
16708 x$ac_cv_header_values_h)
16710 glib_mf=MINFLOAT glib_Mf=MAXFLOAT
16711 glib_md=MINDOUBLE glib_Md=MAXDOUBLE
16716 x$ac_cv_header_limits_h)
16718 glib_ms=SHRT_MIN glib_Ms=SHRT_MAX
16719 glib_mi=INT_MIN glib_Mi=INT_MAX
16720 glib_ml=LONG_MIN glib_Ml=LONG_MAX
16722 x$ac_cv_header_values_h)
16724 glib_ms=MINSHORT glib_Ms=MAXSHORT
16725 glib_mi=MININT glib_Mi=MAXINT
16726 glib_ml=MINLONG glib_Ml=MAXLONG
16730 if test x$ac_cv_header_sys_poll_h = xyes ; then
16731 glib_sys_poll_h=yes
16735 $ac_cv_sizeof_short) gint16=short;;
16736 $ac_cv_sizeof_int) gint16=int;;
16739 $ac_cv_sizeof_short) gint32=short;;
16740 $ac_cv_sizeof_int) gint32=int;;
16741 $ac_cv_sizeof_long) gint32=long;;
16747 glib_warning_guard=
16748 gint64_constant='(val)'
16750 $ac_cv_sizeof_long)
16753 glib_warning_guard=
16754 gint64_constant='(val##L)'
16756 $ac_cv_sizeof_long_long)
16758 glib_extension='G_GNUC_EXTENSION '
16759 glib_warning_guard="
16760 #if defined (__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
16761 # define G_GNUC_EXTENSION __extension__
16763 # define G_GNUC_EXTENSION
16767 gint64_constant='(G_GNUC_EXTENSION (val##LL))'
16771 gintbits=`expr $ac_cv_sizeof_int \* 8`
16772 glongbits=`expr $ac_cv_sizeof_long \* 8`
16775 case $ac_cv_sizeof_void_p in
16776 $ac_cv_sizeof_int) glib_gpi_cast='' glib_gpui_cast='' ;;
16777 $ac_cv_sizeof_long) glib_gpi_cast='(glong)' glib_gpui_cast='(gulong)' ;;
16778 *) glib_unknown_void_p=yes ;;
16783 x$ac_cv_func_atexit)
16785 #ifdef NeXT /* @#%@! NeXTStep */
16786 # define g_ATEXIT(proc) (!atexit (proc))
16788 # define g_ATEXIT(proc) (atexit (proc))
16791 x$ac_cv_func_on_exit)
16793 #define g_ATEXIT(proc) (on_exit ((void (*)(int, void*))(proc), NULL))"
16798 x$ac_cv_func_memmove)
16800 #define g_memmove(d,s,n) G_STMT_START { memmove ((d), (s), (n)); } G_STMT_END'
16804 /* We make the assumption that if memmove isn't available, then
16805 * bcopy will do the job. This isn't safe everywhere. (bcopy can't
16806 * necessarily handle overlapping copies) */
16807 #define g_memmove(d,s,n) G_STMT_START { bcopy ((s), (d), (n)); } G_STMT_END"
16812 #define GLIB_MAJOR_VERSION $GLIB_MAJOR_VERSION
16813 #define GLIB_MINOR_VERSION $GLIB_MINOR_VERSION
16814 #define GLIB_MICRO_VERSION $GLIB_MICRO_VERSION
16818 x$glib_cv_va_copy) glib_vacopy='#define G_VA_COPY va_copy' ;;
16819 x$glib_cv___va_copy) glib_vacopy='#define G_VA_COPY __va_copy' ;;
16823 if test x$glib_cv_va_val_copy = xno; then
16824 glib_vacopy="\$glib_vacopy
16825 #define G_VA_COPY_AS_ARRAY 1"
16828 if test x$glib_cv_hasinline = xyes; then
16829 glib_inline='#define G_HAVE_INLINE 1'
16831 if test x$glib_cv_has__inline = xyes; then
16832 glib_inline="\$glib_inline
16833 #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"
16841 x$ac_cv_c_bigendian)
16842 g_byte_order=G_BIG_ENDIAN
16847 g_byte_order=G_LITTLE_ENDIAN
16853 if test x$glib_wchar_h = xyes; then
16855 #define G_HAVE_WCHAR_H 1'
16857 if test x$glib_wctype_h = xyes; then
16859 #define G_HAVE_WCTYPE_H 1"
16861 if test x$glib_working_wctype = xno; then
16863 #define G_HAVE_BROKEN_WCTYPE 1"
16866 case x$enable_threads in
16867 xyes) g_enable_threads_def="#define";;
16868 *) g_enable_threads_def="#undef ";;
16871 g_threads_impl_def=$g_threads_impl
16873 g_mutex_has_default="$mutex_has_default"
16874 g_mutex_sizeof="$glib_cv_sizeof_gmutex"
16875 g_mutex_contents="$glib_cv_byte_contents_gmutex"
16880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16882 # Handling of arguments.
16883 for ac_config_target in $ac_config_targets
16885 case $ac_config_target in
16886 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16887 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16888 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16889 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16890 "glib.spec") CONFIG_FILES="$CONFIG_FILES glib.spec" ;;
16891 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16892 "glib-config") CONFIG_FILES="$CONFIG_FILES glib-config" ;;
16893 "gmodule/gmoduleconf.h") CONFIG_FILES="$CONFIG_FILES gmodule/gmoduleconf.h" ;;
16894 "gmodule/Makefile") CONFIG_FILES="$CONFIG_FILES gmodule/Makefile" ;;
16895 "gthread/Makefile") CONFIG_FILES="$CONFIG_FILES gthread/Makefile" ;;
16896 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16897 "docs/glib-config.1") CONFIG_FILES="$CONFIG_FILES docs/glib-config.1" ;;
16898 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16899 "glib.pc") CONFIG_FILES="$CONFIG_FILES glib.pc" ;;
16900 "gmodule.pc") CONFIG_FILES="$CONFIG_FILES gmodule.pc" ;;
16901 "gthread.pc") CONFIG_FILES="$CONFIG_FILES gthread.pc" ;;
16902 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
16904 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16909 # If the user did not use the arguments to specify the items to instantiate,
16910 # then the envvar interface is used. Set only those that are not.
16911 # We use the long form for the default assignment because of an extremely
16912 # bizarre bug on SunOS 4.1.3.
16913 if $ac_need_defaults; then
16914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16915 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16916 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16919 # Have a temporary directory for convenience. Make it in the build tree
16920 # simply because there is no reason against having it here, and in addition,
16921 # creating and moving files from /tmp can sometimes cause problems.
16922 # Hook for its removal unless debugging.
16923 # Note that there is a small window in which the directory will not be cleaned:
16924 # after its creation but before its name has been assigned to `$tmp'.
16928 trap 'exit_status=$?
16929 : "${ac_tmp:=$tmp}"
16930 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16932 trap 'as_fn_exit 1' 1 2 13 15
16934 # Create a (secure) tmp directory for tmp files.
16937 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16941 tmp=./conf$$-$RANDOM
16942 (umask 077 && mkdir "$tmp")
16943 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16946 # Set up the scripts for CONFIG_FILES section.
16947 # No need to generate them if there are no CONFIG_FILES.
16948 # This happens for instance with `./config.status config.h'.
16949 if test -n "$CONFIG_FILES"; then
16952 ac_cr=`echo X | tr X '\015'`
16953 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16954 # But we know of no other shell where ac_cr would be empty at this
16955 # point, so we can use a bashism as a fallback.
16956 if test "x$ac_cr" = x; then
16957 eval ac_cr=\$\'\\r\'
16959 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16960 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16963 ac_cs_awk_cr=$ac_cr
16966 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16971 echo "cat >conf$$subs.awk <<_ACEOF" &&
16972 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16974 } >conf$$subs.sh ||
16975 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16976 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16978 for ac_last_try in false false false false false :; do
16979 . ./conf$$subs.sh ||
16980 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16982 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16983 if test $ac_delim_n = $ac_delim_num; then
16985 elif $ac_last_try; then
16986 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16988 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16991 rm -f conf$$subs.sh
16993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16994 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16998 s/^/S["/; s/!.*/"]=/
17008 s/\(.\{148\}\)..*/\1/
17010 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17015 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17022 s/\(.\{148\}\)..*/\1/
17024 s/["\\]/\\&/g; s/^/"/; s/$/"/
17028 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17033 ' <conf$$subs.awk | sed '
17038 ' >>$CONFIG_STATUS || ac_write_fail=1
17039 rm -f conf$$subs.awk
17040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17042 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17043 for (key in S) S_is_set[key] = 1
17049 nfields = split(line, field, "@")
17051 len = length(field[1])
17052 for (i = 2; i < nfields; i++) {
17054 keylen = length(key)
17055 if (S_is_set[key]) {
17057 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17058 len += length(value) + length(field[++i])
17069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17070 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17071 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17074 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17075 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17078 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17079 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17080 # trailing colons and then remove the whole line if VPATH becomes empty
17081 # (actually we leave an empty line to preserve line numbers).
17082 if test "x$srcdir" = x.; then
17083 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17102 fi # test -n "$CONFIG_FILES"
17104 # Set up the scripts for CONFIG_HEADERS section.
17105 # No need to generate them if there are no CONFIG_HEADERS.
17106 # This happens for instance with `./config.status Makefile'.
17107 if test -n "$CONFIG_HEADERS"; then
17108 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17112 # Transform confdefs.h into an awk script `defines.awk', embedded as
17113 # here-document in config.status, that substitutes the proper values into
17114 # config.h.in to produce config.h.
17116 # Create a delimiter string that does not exist in confdefs.h, to ease
17117 # handling of long lines.
17119 for ac_last_try in false false :; do
17120 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17121 if test -z "$ac_tt"; then
17123 elif $ac_last_try; then
17124 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17126 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17130 # For the awk script, D is an array of macro values keyed by name,
17131 # likewise P contains macro parameters if any. Preserve backslash
17132 # newline sequences.
17134 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17136 s/.\{148\}/&'"$ac_delim"'/g
17139 s/^[ ]*#[ ]*define[ ][ ]*/ /
17146 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17148 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17152 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17153 D["\1"]=" \3\\\\\\n"\\/p
17155 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17160 s/.\{148\}/&'"$ac_delim"'/g
17165 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17168 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17170 ' <confdefs.h | sed '
17171 s/'"$ac_delim"'/"\\\
17172 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17175 for (key in D) D_is_set[key] = 1
17178 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17180 split(line, arg, " ")
17181 if (arg[1] == "#") {
17185 defundef = substr(arg[1], 2)
17188 split(mac1, mac2, "(") #)
17190 prefix = substr(line, 1, index(line, defundef) - 1)
17191 if (D_is_set[macro]) {
17192 # Preserve the white space surrounding the "#".
17193 print prefix "define", macro P[macro] D[macro]
17196 # Replace #undef with comments. This is necessary, for example,
17197 # in the case of _POSIX_SOURCE, which is predefined and required
17198 # on some systems where configure will not decide to define it.
17199 if (defundef == "undef") {
17200 print "/*", prefix defundef, macro, "*/"
17208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17209 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17210 fi # test -n "$CONFIG_HEADERS"
17213 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17218 :[FHLC]) ac_mode=$ac_tag; continue;;
17220 case $ac_mode$ac_tag in
17222 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17223 :[FH]-) ac_tag=-:-;;
17224 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17241 -) ac_f="$ac_tmp/stdin";;
17242 *) # Look for the file first in the build tree, then in the source tree
17243 # (if the path is not absolute). The absolute path cannot be DOS-style,
17244 # because $ac_f cannot contain `:'.
17248 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17250 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17252 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17253 as_fn_append ac_file_inputs " '$ac_f'"
17256 # Let's still pretend it is `configure' which instantiates (i.e., don't
17257 # use $as_me), people would be surprised to read:
17258 # /* config.h. Generated by config.status. */
17259 configure_input='Generated from '`
17260 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17262 if test x"$ac_file" != x-; then
17263 configure_input="$ac_file. $configure_input"
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17265 $as_echo "$as_me: creating $ac_file" >&6;}
17267 # Neutralize special characters interpreted by sed in replacement strings.
17268 case $configure_input in #(
17269 *\&* | *\|* | *\\* )
17270 ac_sed_conf_input=`$as_echo "$configure_input" |
17271 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17272 *) ac_sed_conf_input=$configure_input;;
17276 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17277 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17282 ac_dir=`$as_dirname -- "$ac_file" ||
17283 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17284 X"$ac_file" : 'X\(//\)[^/]' \| \
17285 X"$ac_file" : 'X\(//\)$' \| \
17286 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17287 $as_echo X"$ac_file" |
17288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17292 /^X\(\/\/\)[^/].*/{
17305 as_dir="$ac_dir"; as_fn_mkdir_p
17309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17311 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17312 # A ".." for each directory in $ac_dir_suffix.
17313 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17314 case $ac_top_builddir_sub in
17315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17319 ac_abs_top_builddir=$ac_pwd
17320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17321 # for backward compatibility:
17322 ac_top_builddir=$ac_top_build_prefix
17325 .) # We are building in place.
17327 ac_top_srcdir=$ac_top_builddir_sub
17328 ac_abs_top_srcdir=$ac_pwd ;;
17329 [\\/]* | ?:[\\/]* ) # Absolute name.
17330 ac_srcdir=$srcdir$ac_dir_suffix;
17331 ac_top_srcdir=$srcdir
17332 ac_abs_top_srcdir=$srcdir ;;
17333 *) # Relative name.
17334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17335 ac_top_srcdir=$ac_top_build_prefix$srcdir
17336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17348 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17349 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17351 ac_MKDIR_P=$MKDIR_P
17353 [\\/$]* | ?:[\\/]* ) ;;
17354 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17359 # If the template does not know about datarootdir, expand it.
17360 # FIXME: This hack should be removed a few years after 2.60.
17361 ac_datarootdir_hack=; ac_datarootdir_seen=
17372 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17373 *datarootdir*) ac_datarootdir_seen=yes;;
17374 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17376 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17379 ac_datarootdir_hack='
17380 s&@datadir@&$datadir&g
17381 s&@docdir@&$docdir&g
17382 s&@infodir@&$infodir&g
17383 s&@localedir@&$localedir&g
17384 s&@mandir@&$mandir&g
17385 s&\\\${datarootdir}&$datarootdir&g' ;;
17389 # Neutralize VPATH when `$srcdir' = `.'.
17390 # Shell code in configure.ac might set extrasub.
17391 # FIXME: do we really want to maintain this feature?
17392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17393 ac_sed_extra="$ac_vpsub
17396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17399 s|@configure_input@|$ac_sed_conf_input|;t t
17400 s&@top_builddir@&$ac_top_builddir_sub&;t t
17401 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17402 s&@srcdir@&$ac_srcdir&;t t
17403 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17404 s&@top_srcdir@&$ac_top_srcdir&;t t
17405 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17406 s&@builddir@&$ac_builddir&;t t
17407 s&@abs_builddir@&$ac_abs_builddir&;t t
17408 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17409 s&@INSTALL@&$ac_INSTALL&;t t
17410 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17411 $ac_datarootdir_hack
17413 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17414 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17416 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17417 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17418 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17419 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17421 which seems to be undefined. Please make sure it is defined" >&5
17422 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17423 which seems to be undefined. Please make sure it is defined" >&2;}
17425 rm -f "$ac_tmp/stdin"
17427 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17428 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17436 if test x"$ac_file" != x-; then
17438 $as_echo "/* $configure_input */" \
17439 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17440 } >"$ac_tmp/config.h" \
17441 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17442 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17444 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17447 mv "$ac_tmp/config.h" "$ac_file" \
17448 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17451 $as_echo "/* $configure_input */" \
17452 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17453 || as_fn_error $? "could not create -" "$LINENO" 5
17455 # Compute "$ac_file"'s index in $config_headers.
17458 for _am_header in $config_headers :; do
17459 case $_am_header in
17460 $_am_arg | $_am_arg:* )
17463 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17466 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17467 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17468 X"$_am_arg" : 'X\(//\)[^/]' \| \
17469 X"$_am_arg" : 'X\(//\)$' \| \
17470 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17471 $as_echo X"$_am_arg" |
17472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17476 /^X\(\/\/\)[^/].*/{
17488 s/.*/./; q'`/stamp-h$_am_stamp_count
17491 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17492 $as_echo "$as_me: executing $ac_file commands" >&6;}
17497 case $ac_file$ac_mode in
17498 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17499 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17500 # are listed without --file. Let's play safe and only enable the eval
17501 # if we detect the quoting.
17502 case $CONFIG_FILES in
17503 *\'*) eval set x "$CONFIG_FILES" ;;
17504 *) set x $CONFIG_FILES ;;
17509 # Strip MF so we end up with the name of the file.
17510 mf=`echo "$mf" | sed -e 's/:.*$//'`
17511 # Check whether this is an Automake generated Makefile or not.
17512 # We used to match only the files named `Makefile.in', but
17513 # some people rename them; so instead we look at the file content.
17514 # Grep'ing the first line is not enough: some people post-process
17515 # each Makefile.in and add a new line on top of each file to say so.
17516 # Grep'ing the whole file is not good either: AIX grep has a line
17517 # limit of 2048, but all sed's we know have understand at least 4000.
17518 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17519 dirpart=`$as_dirname -- "$mf" ||
17520 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17521 X"$mf" : 'X\(//\)[^/]' \| \
17522 X"$mf" : 'X\(//\)$' \| \
17523 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17529 /^X\(\/\/\)[^/].*/{
17545 # Extract the definition of DEPDIR, am__include, and am__quote
17546 # from the Makefile without running `make'.
17547 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17548 test -z "$DEPDIR" && continue
17549 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17550 test -z "am__include" && continue
17551 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17552 # When using ansi2knr, U may be empty or an underscore; expand it
17553 U=`sed -n 's/^U = //p' < "$mf"`
17554 # Find all dependency output files, they are included files with
17555 # $(DEPDIR) in their names. We invoke sed twice because it is the
17556 # simplest approach to changing $(DEPDIR) to its actual value in the
17558 for file in `sed -n "
17559 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17560 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17561 # Make sure the directory exists.
17562 test -f "$dirpart/$file" && continue
17563 fdir=`$as_dirname -- "$file" ||
17564 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17565 X"$file" : 'X\(//\)[^/]' \| \
17566 X"$file" : 'X\(//\)$' \| \
17567 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17568 $as_echo X"$file" |
17569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17573 /^X\(\/\/\)[^/].*/{
17586 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17587 # echo "creating $dirpart/$file"
17588 echo '# dummy' > "$dirpart/$file"
17595 # See if we are running on zsh, and set the options which allow our
17596 # commands through without removal of \ escapes.
17597 if test -n "${ZSH_VERSION+set}" ; then
17598 setopt NO_GLOB_SUBST
17601 cfgfile="${ofile}T"
17602 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17605 cat <<_LT_EOF >> "$cfgfile"
17608 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17609 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17610 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17611 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17613 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17614 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17616 # Written by Gordon Matzigkeit, 1996
17618 # This file is part of GNU Libtool.
17620 # GNU Libtool is free software; you can redistribute it and/or
17621 # modify it under the terms of the GNU General Public License as
17622 # published by the Free Software Foundation; either version 2 of
17623 # the License, or (at your option) any later version.
17625 # As a special exception to the GNU General Public License,
17626 # if you distribute this file as part of a program or library that
17627 # is built using GNU Libtool, you may include this file under the
17628 # same distribution terms that you use for the rest of that program.
17630 # GNU Libtool is distributed in the hope that it will be useful,
17631 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17632 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17633 # GNU General Public License for more details.
17635 # You should have received a copy of the GNU General Public License
17636 # along with GNU Libtool; see the file COPYING. If not, a copy
17637 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17638 # obtained by writing to the Free Software Foundation, Inc.,
17639 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17642 # The names of the tagged configurations supported by this script.
17645 # ### BEGIN LIBTOOL CONFIG
17647 # Which release of libtool.m4 was used?
17648 macro_version=$macro_version
17649 macro_revision=$macro_revision
17651 # Whether or not to build shared libraries.
17652 build_libtool_libs=$enable_shared
17654 # Whether or not to build static libraries.
17655 build_old_libs=$enable_static
17657 # What type of objects to build.
17660 # Whether or not to optimize for fast installation.
17661 fast_install=$enable_fast_install
17663 # Shell to use when invoking shell scripts.
17666 # An echo program that protects backslashes.
17670 host_alias=$host_alias
17674 # The build system.
17675 build_alias=$build_alias
17679 # A sed program that does not truncate output.
17682 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17683 Xsed="\$SED -e 1s/^X//"
17685 # A grep program that handles long lines.
17691 # A literal string matcher.
17694 # A BSD- or MS-compatible name lister.
17697 # Whether we need soft or hard links.
17700 # What is the maximum length of a command?
17701 max_cmd_len=$max_cmd_len
17703 # Object file suffix (normally "o").
17706 # Executable file suffix (normally "").
17709 # whether the shell understands "unset".
17712 # turn spaces into newlines.
17715 # turn newlines into spaces.
17718 # convert \$build file names to \$host format.
17719 to_host_file_cmd=$lt_cv_to_host_file_cmd
17721 # convert \$build files to toolchain format.
17722 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17724 # An object symbol dumper.
17725 OBJDUMP=$lt_OBJDUMP
17727 # Method to check whether dependent libraries are shared objects.
17728 deplibs_check_method=$lt_deplibs_check_method
17730 # Command to use when deplibs_check_method = "file_magic".
17731 file_magic_cmd=$lt_file_magic_cmd
17733 # How to find potential files when deplibs_check_method = "file_magic".
17734 file_magic_glob=$lt_file_magic_glob
17736 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17737 want_nocaseglob=$lt_want_nocaseglob
17739 # DLL creation program.
17740 DLLTOOL=$lt_DLLTOOL
17742 # Command to associate shared and link libraries.
17743 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17748 # Flags to create an archive.
17749 AR_FLAGS=$lt_AR_FLAGS
17751 # How to feed a file listing to the archiver.
17752 archiver_list_spec=$lt_archiver_list_spec
17754 # A symbol stripping program.
17757 # Commands used to install an old-style archive.
17759 old_postinstall_cmds=$lt_old_postinstall_cmds
17760 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17762 # Whether to use a lock for old archive extraction.
17763 lock_old_archive_extraction=$lock_old_archive_extraction
17768 # LTCC compiler flags.
17769 LTCFLAGS=$lt_CFLAGS
17771 # Take the output of nm and produce a listing of raw symbols and C names.
17772 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17774 # Transform the output of nm in a proper C declaration.
17775 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17777 # Transform the output of nm in a C name address pair.
17778 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17780 # Transform the output of nm in a C name address pair when lib prefix is needed.
17781 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17783 # Specify filename containing input files for \$NM.
17784 nm_file_list_spec=$lt_nm_file_list_spec
17786 # The root where to search for dependent libraries,and in which our libraries should be installed.
17787 lt_sysroot=$lt_sysroot
17789 # The name of the directory that contains temporary libtool files.
17792 # Used to examine libraries when file_magic_cmd begins with "file".
17793 MAGIC_CMD=$MAGIC_CMD
17795 # Must we lock files when doing compilation?
17796 need_locks=$lt_need_locks
17799 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17801 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17802 DSYMUTIL=$lt_DSYMUTIL
17804 # Tool to change global to local symbols on Mac OS X.
17807 # Tool to manipulate fat objects and archives on Mac OS X.
17810 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17813 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17814 OTOOL64=$lt_OTOOL64
17816 # Old archive suffix (normally "a").
17819 # Shared library suffix (normally ".so").
17820 shrext_cmds=$lt_shrext_cmds
17822 # The commands to extract the exported symbol list from a shared archive.
17823 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17825 # Variables whose values should be saved in libtool wrapper scripts and
17826 # restored at link time.
17827 variables_saved_for_relink=$lt_variables_saved_for_relink
17829 # Do we need the "lib" prefix for modules?
17830 need_lib_prefix=$need_lib_prefix
17832 # Do we need a version for libraries?
17833 need_version=$need_version
17835 # Library versioning type.
17836 version_type=$version_type
17838 # Shared library runtime path variable.
17839 runpath_var=$runpath_var
17841 # Shared library path variable.
17842 shlibpath_var=$shlibpath_var
17844 # Is shlibpath searched before the hard-coded library search path?
17845 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17847 # Format of library name prefix.
17848 libname_spec=$lt_libname_spec
17850 # List of archive names. First name is the real one, the rest are links.
17851 # The last name is the one that the linker finds with -lNAME
17852 library_names_spec=$lt_library_names_spec
17854 # The coded name of the library, if different from the real name.
17855 soname_spec=$lt_soname_spec
17857 # Permission mode override for installation of shared libraries.
17858 install_override_mode=$lt_install_override_mode
17860 # Command to use after installation of a shared archive.
17861 postinstall_cmds=$lt_postinstall_cmds
17863 # Command to use after uninstallation of a shared archive.
17864 postuninstall_cmds=$lt_postuninstall_cmds
17866 # Commands used to finish a libtool library installation in a directory.
17867 finish_cmds=$lt_finish_cmds
17869 # As "finish_cmds", except a single script fragment to be evaled but
17871 finish_eval=$lt_finish_eval
17873 # Whether we should hardcode library paths into libraries.
17874 hardcode_into_libs=$hardcode_into_libs
17876 # Compile-time system search path for libraries.
17877 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17879 # Run-time system search path for libraries.
17880 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17882 # Whether dlopen is supported.
17883 dlopen_support=$enable_dlopen
17885 # Whether dlopen of programs is supported.
17886 dlopen_self=$enable_dlopen_self
17888 # Whether dlopen of statically linked programs is supported.
17889 dlopen_self_static=$enable_dlopen_self_static
17891 # Commands to strip libraries.
17892 old_striplib=$lt_old_striplib
17893 striplib=$lt_striplib
17896 # The linker used to build libraries.
17899 # How to create reloadable object files.
17900 reload_flag=$lt_reload_flag
17901 reload_cmds=$lt_reload_cmds
17903 # Commands used to build an old-style archive.
17904 old_archive_cmds=$lt_old_archive_cmds
17906 # A language specific compiler.
17909 # Is the compiler the GNU compiler?
17912 # Compiler flag to turn off builtin functions.
17913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17915 # Additional compiler flags for building library objects.
17916 pic_flag=$lt_lt_prog_compiler_pic
17918 # How to pass a linker flag through the compiler.
17919 wl=$lt_lt_prog_compiler_wl
17921 # Compiler flag to prevent dynamic linking.
17922 link_static_flag=$lt_lt_prog_compiler_static
17924 # Does compiler simultaneously support -c and -o options?
17925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17927 # Whether or not to add -lc for building shared libraries.
17928 build_libtool_need_lc=$archive_cmds_need_lc
17930 # Whether or not to disallow shared libs when runtime libs are static.
17931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17933 # Compiler flag to allow reflexive dlopens.
17934 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17936 # Compiler flag to generate shared objects directly from archives.
17937 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17939 # Whether the compiler copes with passing no objects directly.
17940 compiler_needs_object=$lt_compiler_needs_object
17942 # Create an old-style archive from a shared archive.
17943 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17945 # Create a temporary old-style archive to link instead of a shared archive.
17946 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17948 # Commands used to build a shared archive.
17949 archive_cmds=$lt_archive_cmds
17950 archive_expsym_cmds=$lt_archive_expsym_cmds
17952 # Commands used to build a loadable module if different from building
17953 # a shared archive.
17954 module_cmds=$lt_module_cmds
17955 module_expsym_cmds=$lt_module_expsym_cmds
17957 # Whether we are building with GNU ld or not.
17958 with_gnu_ld=$lt_with_gnu_ld
17960 # Flag that allows shared libraries with undefined symbols to be built.
17961 allow_undefined_flag=$lt_allow_undefined_flag
17963 # Flag that enforces no undefined symbols.
17964 no_undefined_flag=$lt_no_undefined_flag
17966 # Flag to hardcode \$libdir into a binary during linking.
17967 # This must work even if \$libdir does not exist
17968 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17970 # If ld is used when linking, flag to hardcode \$libdir into a binary
17971 # during linking. This must work even if \$libdir does not exist.
17972 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17974 # Whether we need a single "-rpath" flag with a separated argument.
17975 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17977 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17978 # DIR into the resulting binary.
17979 hardcode_direct=$hardcode_direct
17981 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17982 # DIR into the resulting binary and the resulting library dependency is
17983 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17984 # library is relocated.
17985 hardcode_direct_absolute=$hardcode_direct_absolute
17987 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17988 # into the resulting binary.
17989 hardcode_minus_L=$hardcode_minus_L
17991 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17992 # into the resulting binary.
17993 hardcode_shlibpath_var=$hardcode_shlibpath_var
17995 # Set to "yes" if building a shared library automatically hardcodes DIR
17996 # into the library and all subsequent libraries and executables linked
17998 hardcode_automatic=$hardcode_automatic
18000 # Set to yes if linker adds runtime paths of dependent libraries
18001 # to runtime path list.
18002 inherit_rpath=$inherit_rpath
18004 # Whether libtool must link a program against all its dependency libraries.
18005 link_all_deplibs=$link_all_deplibs
18007 # Set to "yes" if exported symbols are required.
18008 always_export_symbols=$always_export_symbols
18010 # The commands to list exported symbols.
18011 export_symbols_cmds=$lt_export_symbols_cmds
18013 # Symbols that should not be listed in the preloaded symbols.
18014 exclude_expsyms=$lt_exclude_expsyms
18016 # Symbols that must always be exported.
18017 include_expsyms=$lt_include_expsyms
18019 # Commands necessary for linking programs (against libraries) with templates.
18020 prelink_cmds=$lt_prelink_cmds
18022 # Commands necessary for finishing linking programs.
18023 postlink_cmds=$lt_postlink_cmds
18025 # Specify filename containing input files.
18026 file_list_spec=$lt_file_list_spec
18028 # How to hardcode a shared library path into an executable.
18029 hardcode_action=$hardcode_action
18031 # ### END LIBTOOL CONFIG
18037 cat <<\_LT_EOF >> "$cfgfile"
18038 # AIX sometimes has problems with the GCC collect2 program. For some
18039 # reason, if we set the COLLECT_NAMES environment variable, the problems
18040 # vanish in a puff of smoke.
18041 if test "X${COLLECT_NAMES+set}" != Xset; then
18043 export COLLECT_NAMES
18050 ltmain="$ac_aux_dir/ltmain.sh"
18053 # We use sed instead of cat because bash on DJGPP gets confused if
18054 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18055 # text mode, it properly converts lines to CR/LF. This bash problem
18056 # is reportedly fixed, but why not run on old versions too?
18057 sed '$q' "$ltmain" >> "$cfgfile" \
18058 || (rm -f "$cfgfile"; exit 1)
18060 if test x"$xsi_shell" = xyes; then
18061 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18065 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18066 \ * ) func_dirname_result="${3}" ;;\
18068 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18069 && mv -f "$cfgfile.tmp" "$cfgfile" \
18070 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18071 test 0 -eq $? || _lt_function_replace_fail=:
18074 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18077 \ func_basename_result="${1##*/}"\
18078 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18079 && mv -f "$cfgfile.tmp" "$cfgfile" \
18080 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18081 test 0 -eq $? || _lt_function_replace_fail=:
18084 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18085 func_dirname_and_basename ()\
18088 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18089 \ * ) func_dirname_result="${3}" ;;\
18091 \ func_basename_result="${1##*/}"\
18092 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18093 && mv -f "$cfgfile.tmp" "$cfgfile" \
18094 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18095 test 0 -eq $? || _lt_function_replace_fail=:
18098 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18101 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18102 \ # positional parameters, so assign one to ordinary parameter first.\
18103 \ func_stripname_result=${3}\
18104 \ func_stripname_result=${func_stripname_result#"${1}"}\
18105 \ func_stripname_result=${func_stripname_result%"${2}"}\
18106 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18107 && mv -f "$cfgfile.tmp" "$cfgfile" \
18108 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18109 test 0 -eq $? || _lt_function_replace_fail=:
18112 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18113 func_split_long_opt ()\
18115 \ func_split_long_opt_name=${1%%=*}\
18116 \ func_split_long_opt_arg=${1#*=}\
18117 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18118 && mv -f "$cfgfile.tmp" "$cfgfile" \
18119 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18120 test 0 -eq $? || _lt_function_replace_fail=:
18123 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18124 func_split_short_opt ()\
18126 \ func_split_short_opt_arg=${1#??}\
18127 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18128 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18129 && mv -f "$cfgfile.tmp" "$cfgfile" \
18130 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18131 test 0 -eq $? || _lt_function_replace_fail=:
18134 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18138 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18139 \ *) func_lo2o_result=${1} ;;\
18141 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18142 && mv -f "$cfgfile.tmp" "$cfgfile" \
18143 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18144 test 0 -eq $? || _lt_function_replace_fail=:
18147 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18150 func_xform_result=${1%.*}.lo\
18151 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18152 && mv -f "$cfgfile.tmp" "$cfgfile" \
18153 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18154 test 0 -eq $? || _lt_function_replace_fail=:
18157 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18160 func_arith_result=$(( $* ))\
18161 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18162 && mv -f "$cfgfile.tmp" "$cfgfile" \
18163 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18164 test 0 -eq $? || _lt_function_replace_fail=:
18167 sed -e '/^func_len ()$/,/^} # func_len /c\
18170 func_len_result=${#1}\
18171 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18172 && mv -f "$cfgfile.tmp" "$cfgfile" \
18173 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18174 test 0 -eq $? || _lt_function_replace_fail=:
18178 if test x"$lt_shell_append" = xyes; then
18179 sed -e '/^func_append ()$/,/^} # func_append /c\
18182 eval "${1}+=\\${2}"\
18183 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18184 && mv -f "$cfgfile.tmp" "$cfgfile" \
18185 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18186 test 0 -eq $? || _lt_function_replace_fail=:
18189 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18190 func_append_quoted ()\
18192 \ func_quote_for_eval "${2}"\
18193 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18194 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18195 && mv -f "$cfgfile.tmp" "$cfgfile" \
18196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18197 test 0 -eq $? || _lt_function_replace_fail=:
18200 # Save a `func_append' function call where possible by direct use of '+='
18201 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18202 && mv -f "$cfgfile.tmp" "$cfgfile" \
18203 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18204 test 0 -eq $? || _lt_function_replace_fail=:
18206 # Save a `func_append' function call even when '+=' is not available
18207 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18208 && mv -f "$cfgfile.tmp" "$cfgfile" \
18209 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18210 test 0 -eq $? || _lt_function_replace_fail=:
18213 if test x"$_lt_function_replace_fail" = x":"; then
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18215 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18219 mv -f "$cfgfile" "$ofile" ||
18220 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18226 ## Generate `glibconfig.h' in two cases
18227 ## 1. `config.status' is run either explicitly, or via configure.
18228 ## Esp. not when it is run in `Makefile' to generate makefiles and
18230 ## 2. CONFIG_OTHER is set explicitly
18232 ## Case 1 is difficult. We know that `automake' sets one of
18233 ## CONFIG_FILES or CONFIG_HEADERS to empty. This heuristic works
18234 ## only when AM_CONFIG_HEADER is set, however.
18236 if test -n "${CONFIG_FILES}" && test -n "${CONFIG_HEADERS}"; then
18237 # Both CONFIG_FILES and CONFIG_HEADERS are non-empty ==> Case 1
18238 CONFIG_OTHER=${CONFIG_OTHER:-glibconfig.h}
18240 case "$CONFIG_OTHER" in
18242 echo creating glibconfig.h
18243 outfile=glibconfig.h-tmp
18244 cat > $outfile <<\_______EOF
18247 * This is a generated file. Please modify `configure.in'
18250 #ifndef GLIBCONFIG_H
18251 #define GLIBCONFIG_H
18255 if test x$glib_limits_h = xyes; then
18256 echo '#include <limits.h>' >> $outfile
18258 if test x$glib_float_h = xyes; then
18259 echo '#include <float.h>' >> $outfile
18261 if test x$glib_values_h = xyes; then
18262 echo '#include <values.h>' >> $outfile
18264 if test x$g_mutex_header_file != x; then
18265 echo '#include <'"$g_mutex_header_file"'>' >> $outfile
18267 if test x$glib_sys_poll_h = xyes; then
18268 echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile
18271 cat >> $outfile <<_______EOF
18275 #endif /* __cplusplus */
18277 #define G_MINFLOAT $glib_mf
18278 #define G_MAXFLOAT $glib_Mf
18279 #define G_MINDOUBLE $glib_md
18280 #define G_MAXDOUBLE $glib_Md
18281 #define G_MINSHORT $glib_ms
18282 #define G_MAXSHORT $glib_Ms
18283 #define G_MININT $glib_mi
18284 #define G_MAXINT $glib_Mi
18285 #define G_MINLONG $glib_ml
18286 #define G_MAXLONG $glib_Ml
18291 ### this should always be true in a modern C/C++ compiler
18292 cat >>$outfile <<_______EOF
18293 typedef signed char gint8;
18294 typedef unsigned char guint8;
18298 if test -n "$gint16"; then
18299 cat >>$outfile <<_______EOF
18300 typedef signed $gint16 gint16;
18301 typedef unsigned $gint16 guint16;
18306 if test -n "$gint32"; then
18307 cat >>$outfile <<_______EOF
18308 typedef signed $gint32 gint32;
18309 typedef unsigned $gint32 guint32;
18314 if test -n "$gint64"; then
18315 cat >>$outfile <<_______EOF
18316 ${glib_warning_guard}#define G_HAVE_GINT64 1
18318 ${glib_extension}typedef signed $gint64 gint64;
18319 ${glib_extension}typedef unsigned $gint64 guint64;
18321 #define G_GINT64_CONSTANT(val) $gint64_constant
18326 if test -z "$glib_unknown_void_p"; then
18327 cat >>$outfile <<_______EOF
18329 #define GPOINTER_TO_INT(p) ((gint) ${glib_gpi_cast} (p))
18330 #define GPOINTER_TO_UINT(p) ((guint) ${glib_gpui_cast} (p))
18332 #define GINT_TO_POINTER(i) ((gpointer) ${glib_gpi_cast} (i))
18333 #define GUINT_TO_POINTER(u) ((gpointer) ${glib_gpui_cast} (u))
18336 echo '#error SIZEOF_VOID_P unknown - This should never happen' >>$outfile
18341 cat >>$outfile <<_______EOF
18349 #define G_HAVE_INLINE 1
18350 #else /* !__cplusplus */
18352 #endif /* !__cplusplus */
18356 if test x$g_mutex_has_default = xyes; then
18357 cat >>$outfile <<_______EOF
18358 $g_enable_threads_def G_THREADS_ENABLED
18359 #define G_THREADS_IMPL_$g_threads_impl_def
18360 typedef struct _GStaticMutex GStaticMutex;
18361 struct _GStaticMutex
18363 struct _GMutex *runtime_mutex;
18365 char pad[$g_mutex_sizeof];
18366 double dummy_double;
18367 void *dummy_pointer;
18371 #define G_STATIC_MUTEX_INIT { NULL, { { $g_mutex_contents} } }
18372 #define g_static_mutex_get_mutex(mutex) \
18373 (g_thread_use_default_impl ? ((GMutex*) &((mutex)->aligned_pad_u)) : \
18374 g_static_mutex_get_mutex_impl (&((mutex)->runtime_mutex)))
18377 cat >>$outfile <<_______EOF
18378 $g_enable_threads_def G_THREADS_ENABLED
18379 #define G_THREADS_IMPL_$g_threads_impl_def
18380 typedef struct _GMutex* GStaticMutex;
18381 #define G_STATIC_MUTEX_INIT NULL
18382 #define g_static_mutex_get_mutex(mutex) (g_static_mutex_get_mutex_impl (mutex))
18387 g_bit_sizes="16 32"
18388 if test -n "$gint64"; then
18389 g_bit_sizes="$g_bit_sizes 64"
18391 for bits in $g_bit_sizes; do
18392 cat >>$outfile <<_______EOF
18393 #define GINT${bits}_TO_${g_bs_native}(val) ((gint${bits}) (val))
18394 #define GUINT${bits}_TO_${g_bs_native}(val) ((guint${bits}) (val))
18395 #define GINT${bits}_TO_${g_bs_alien}(val) ((gint${bits}) GUINT${bits}_SWAP_LE_BE (val))
18396 #define GUINT${bits}_TO_${g_bs_alien}(val) (GUINT${bits}_SWAP_LE_BE (val))
18400 cat >>$outfile <<_______EOF
18401 #define GLONG_TO_LE(val) ((glong) GINT${glongbits}_TO_LE (val))
18402 #define GULONG_TO_LE(val) ((gulong) GUINT${glongbits}_TO_LE (val))
18403 #define GLONG_TO_BE(val) ((glong) GINT${glongbits}_TO_BE (val))
18404 #define GULONG_TO_BE(val) ((gulong) GUINT${glongbits}_TO_BE (val))
18405 #define GINT_TO_LE(val) ((gint) GINT${gintbits}_TO_LE (val))
18406 #define GUINT_TO_LE(val) ((guint) GUINT${gintbits}_TO_LE (val))
18407 #define GINT_TO_BE(val) ((gint) GINT${gintbits}_TO_BE (val))
18408 #define GUINT_TO_BE(val) ((guint) GUINT${gintbits}_TO_BE (val))
18409 #define G_BYTE_ORDER $g_byte_order
18413 if test -r glibconfig-sysdefs.h; then
18414 cat glibconfig-sysdefs.h >>$outfile
18418 cat >>$outfile <<_______EOF
18425 #endif /* __cplusplus */
18427 #endif /* GLIBCONFIG_H */
18431 if cmp -s $outfile glibconfig.h; then
18432 echo glibconfig.h is unchanged
18435 mv $outfile glibconfig.h
18439 "default":C) case "$CONFIG_FILES" in
18440 *glib-config*)chmod +x glib-config;;
18449 ac_clean_files=$ac_clean_files_save
18451 test $ac_write_fail = 0 ||
18452 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18455 # configure is writing to config.log, and then calls config.status.
18456 # config.status does its own redirection, appending to config.log.
18457 # Unfortunately, on DOS this fails, as config.log is still kept open
18458 # by configure, so config.status won't be able to write to it; its
18459 # output is simply discarded. So we exec the FD to /dev/null,
18460 # effectively closing config.log, so it can be properly (re)opened and
18461 # appended to by config.status. When coming back to configure, we
18462 # need to make the FD available again.
18463 if test "$no_create" != yes; then
18465 ac_config_status_args=
18466 test "$silent" = yes &&
18467 ac_config_status_args="$ac_config_status_args --quiet"
18469 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18472 # would make configure fail if this is the last instruction.
18473 $ac_cs_success || as_fn_exit 1
18475 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18477 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}